1 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Q_unified): New variable.
4 (Q_unified_from): New variable.
5 (Fput_char_attribute): Add code for `->unified'.
6 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
9 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
11 * mule-charset.c (decode_ccs_conversion): New function.
12 (decode_defined_char): Use `decode_ccs_conversion'.
13 (decode_builtin_char): Likewise.
15 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 * char-ucs.h: Change some charset-ids of private coded-charsets.
19 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
22 (char_encode_as_entity_reference): Likewise.
23 (decode_coding_big5): Modify for `decode_defined_char' and
25 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
26 avoid compiler warning.
27 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
29 * mule-charset.c (decode_defined_char): Add new argument
30 `without_inheritance'.
31 (Fdecode_char): Add new optional argument `without_inheritance'.
32 (Fdecode_builtin_char): Modify for `Fdecode_char'.
34 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
35 (simplify_char_spec): Likewise.
37 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
40 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
41 (map_char_table): Likewise.
42 (Fdefine_char): Use `Fdecode_char' without inheritance.
43 (Ffind_char): Modify for `Fdecode_char'.
45 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
47 * char-ucs.h (decode_defined_char): Add new argument
48 `without_inheritance'.
49 (DECODE_CHAR): Likewise.
50 (MAKE_CHAR): Modify for `DECODE_CHAR'.
52 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
54 * chartab.c (Vchise_system_db_directory): New variable.
55 (vars_of_chartab): Add new variable `chise-system-db-directory'.
57 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * chartab.c: EXFUN `Fmount_char_attribute_table'.
60 (print_chartab_range): Don't define when `UTF2000' is defined.
61 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
64 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
67 and optional argument `rehash' is specified, call
68 `open_chise_data_source_maybe' before
69 `chise_ds_foreach_char_feature_name' is called.
71 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * chartab.c (char_attribute_list_reset_map_func): New function
74 when HAVE_LIBCHISE is defined.
75 (Fchar_attribute_list): Add new optional argument `rehash' when
76 HAVE_LIBCHISE is defined.
77 (open_chise_data_source_maybe): Use "chise-db" instead of
79 (char_attribute_system_db_file): Likewise.
80 (Fload_char_attribute_table): Use
81 `chise_feature_foreach_char_with_value' instead of
82 `chise_char_feature_value_iterate'.
84 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
86 * chartab.c (Vchise_db_directory): New variable.
87 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
89 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
91 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
92 instead of HAVE_CHISE to specify using with libchise.
94 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
96 * chartab.h: Don't use HAVE_CHISE_CLIENT.
98 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
99 defined or HAVE_LIBCHISE_LIBCHISE is defined.
100 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
102 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
103 HAVE_CHISE to specify using with libchise.
104 (syms_of_chartab): Don't define symbol `system-char-id' when
105 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
107 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
110 specify CHISE DB support.
111 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
112 of `char_attribute_system_db_file' to check feature DB file.
114 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
115 HAVE_CHISE_CLIENT to specify CHISE DB support.
117 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
118 specify CHISE DB support.
119 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
121 (Freset_char_attribute_table): Use `chise_feature_setup_db'
122 instead of `char_attribute_system_db_file' to check feature DB
125 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
127 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
130 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
133 (Fsave_charset_mapping_table): Don't use
134 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
136 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
137 (HAVE_LIBCHISE): New macro.
139 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
141 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
142 (Fsave_char_attribute_table): Don't use
143 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
145 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
147 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
149 (save_uint16_byte_table): Likewise.
150 (save_byte_table): Likewise.
151 (char_table_get_db): Use `chise_ds_load_char_feature_value'
152 instead of `chise_char_load_feature_value'.
153 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
155 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * chartab.h (struct Lisp_Char_Table): Delete member
158 `feature_table' if CHISE is defined.
160 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
161 (Fcopy_char_table): Likewise.
162 (char_table_open_db_maybe): Likewise.
163 (char_table_close_db_maybe): Likewise.
164 (char_table_get_db): Likewise.
165 (Fmount_char_attribute_table): Likewise.
166 (Fload_char_attribute_table): Likewise.
168 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * mule-charset.c (load_char_decoding_entry_maybe): Use
171 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
174 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
176 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
177 instead of `chise_open_data_source'.
178 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
181 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
184 instead of `chise_ds_open_feature_table'.
185 (char_table_close_db_maybe): Don't use `chise_ft_close'.
187 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
189 * mule-charset.c (Fsave_charset_mapping_table): Use
190 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
191 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
192 `chise_ccs_sync' instead of `chise_ccst_close'.
193 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
195 * chartab.c (open_chise_data_source_maybe): Modify for
196 `chise_open_data_source'.
197 (char_table_open_db_maybe): Modify for
198 `chise_ds_open_feature_table'.
200 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
202 * mule-charset.c (load_char_decoding_entry_maybe): Use
203 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
206 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
208 * mule-charset.c (Fsave_charset_mapping_table): Use
209 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
210 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
211 `chise_dt_put_char' and `chise_dt_close'.
212 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
213 `chise_ccs_decode' and `chise_ccst_close' instead of
214 `chise_ds_open_decoding_table', `chise_dt_get_char' and
217 * chartab.c (char_table_get_db): Use
218 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
219 (load_char_attribute_table_map_func): Modify for
220 `chise_char_feature_value_iterate'.
221 (Fload_char_attribute_table): Use
222 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
224 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
228 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
230 * chartab.c (put_char_table): Modify for inherited coded-charsets
233 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
235 * chartab.c (Fput_char_table_map_function): Fixed.
236 (word_boundary_p): Don't check charset in XEmacs CHISE.
238 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
240 * mule-charset.c (Fsave_charset_mapping_table): Use
241 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
242 instead of `chise_open_decoding_table'; refer
243 `default_chise_data_source'; use `chise_dt_close' instead of
244 `chise_close_decoding_table'.
245 (load_char_decoding_entry_maybe): Likewise.
247 * chartab.c (default_chise_data_source): New variable when `CHISE'
249 (Fcopy_char_table): `ct->ds' is deleted.
250 (open_chise_data_source_maybe): New function.
251 (Fclose_char_data_source): New function.
252 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
253 use `chise_ds_open_feature_table' instead of
254 `chise_open_feature_table'.
255 (char_table_close_db_maybe): Use `chise_ft_close' instead of
256 `chise_close_feature_table'; `cit->ds' is deleted.
257 (syms_of_chartab): Add new builtin function
258 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
260 * chartab.h (default_chise_data_source): New extern variable.
261 (open_chise_data_source_maybe): New prototype.
262 (struct Lisp_Char_Table): Delete `ds'.
264 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
266 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
269 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
271 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
272 not defined; add code for non-libchise setting.
273 (char_table_close_db_maybe): Likewise.
274 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
276 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
277 even if `CHISE' is not defined.
278 (Freset_char_attribute_table): Likewise.
279 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
280 `char_table_close_db_maybe' even if `CHISE' is not defined; use
282 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
283 `char_table_close_db_maybe' even if `CHISE' is not defined.
285 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
287 * chartab.c (char_table_open_db_maybe): New function.
288 (char_table_close_db_maybe): New function.
289 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
290 (Freset_char_attribute_table): Likewise.
291 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
292 `char_table_close_db_maybe'.
293 (Fload_char_attribute_table): Likewise.
295 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
297 * chartab.c: Don't include <chise.h> because it is included in
299 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
301 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
303 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
305 (Fclose_char_attribute_table): Close `ct->feature_table' and
306 `ct->ds' when `CHISE' is defined.
307 (Freset_char_attribute_table): Likewise.
308 (load_char_attribute_maybe): Use `cit->ds' and
309 `cit->feature_table' when `CHISE' is defined.
310 (Fload_char_attribute_table): Likewise.
312 * chartab.h: Include <chise.h> when `CHISE' is defined.
313 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
314 when `CHISE' is defined.
316 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
318 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
320 (char_table_description): Likewise.
321 (Fmake_char_table): Likewise.
322 (Fcopy_char_table): Likewise.
323 (Fmount_char_attribute_table): Likewise.
324 (Fclose_char_attribute_table): Likewise.
325 (Freset_char_attribute_table): Likewise.
326 (load_char_attribute_maybe): Likewise.
327 (Fload_char_attribute_table): Likewise.
329 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
332 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
334 * chartab.c (load_char_attribute_table_map_func): New function
335 when CHISE is defined.
336 (Qload_char_attribute_table_map_function): Don't define when CHISE
338 (Fload_char_attribute_table_map_function): Likewise.
339 (Fload_char_attribute_table): Use libchise when `CHISE' is
341 (syms_of_chartab): Don't define
342 `load-char-attribute-table-map-function' when CHISE is defined.
344 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
346 * chartab.c: Include <chise.h> when `CHISE' is defined.
347 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
349 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * mule-charset.c (charset_code_point): Fix problem when searching
352 in mother CCS fails with `defined_only' mode.
354 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
356 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
357 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
358 (put_char_composition): Likewise.
359 (Fput_char_attribute): Likewise.
360 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
362 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
364 * chartab.c (Q_ucs): Deleted.
365 (Fput_char_attribute): Don't refer `->ucs'.
366 (Fdefine_char): Likewise.
367 (Ffind_char): Likewise.
368 (syms_of_chartab): Delete `->ucs'.
370 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
372 * mule-charset.c (Qmap_cns11643_2): Renamed from
373 `Qchinese_cns11643_2'.
374 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
375 `chinese-cns11643-2'.
376 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
379 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
381 * mule-charset.c (Qmap_cns11643_1): Renamed from
382 `Qchinese_cns11643_1'.
383 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
384 `chinese-cns11643-1'.
385 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
388 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
390 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
391 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
393 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
396 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
398 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
399 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
401 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
404 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
406 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
407 (syms_of_mule_charset): Add new symbol `=big5' instead of
409 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
411 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
413 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
414 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
416 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
419 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
421 * mule-charset.c (Qmap_jis_x0212): Renamed from
422 `Qjapanese_jisx0212'.
423 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
425 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
428 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
430 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
431 `Qjapanese_jisx0208'.
432 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
433 of `japanese-jisx0208'.
434 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
437 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
439 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
440 `Qjapanese_jisx0208_1978'.
441 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
442 of `japanese-jisx0208-1978'.
443 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
446 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
448 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
449 only for XEmacs CHISE.
451 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
453 * char-ucs.h: Compact non-ISO-IR charset-ids.
454 (LEADING_BYTE_UCS): Changed to -177.
455 (LEADING_BYTE_CONTROL_1): Changed to -77.
456 (LEADING_BYTE_UCS_BMP): Changed to -176.
457 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
459 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * mule-charset.c (Qiso_ir): New variable.
462 (Fmake_charset): Recognise new property `iso-ir'.
463 (syms_of_mule_charset): Add new symbol `iso-ir'.
465 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
467 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
468 n to -n; charset-id of non ISO-IR sets are changed to positive
471 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
473 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
474 for &MCS-XXXXXXXX; values.
476 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
478 * mule.c (Vxemacs_chise_version): Renamed from
480 (vars_of_mule): Add new variable `xemacs-chise-version'; define
481 `utf-2000-version' as an alias for `xemacs-chise-version'.
483 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
485 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
486 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
489 * config.h.in (CHISE): New macro.
491 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
493 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
495 (Qmap_ucs): New variable.
496 (syms_of_mule_charset): Add new symbol `=ucs'.
497 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
499 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
500 (simplify_char_spec): Likewise.
502 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
504 * char-ucs.h (Qmap_ucs): New extern variable.
506 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
509 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
510 don't define it when UTF2000 is not defined.
511 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
512 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
513 when UTF2000 is not defined.
514 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
515 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
517 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
519 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
521 * mule-charset.c (Vcharset_ucs_gb): Deleted.
523 (syms_of_mule_charset): Delete `ucs-gb'.
524 (complex_vars_of_mule_charset): Likewise.
526 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
528 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
530 * mule-charset.c (Vcharset_ucs_cns): Deleted.
532 (syms_of_mule_charset): Delete `ucs-cns'.
533 (complex_vars_of_mule_charset): Likewise.
535 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
539 * mule-charset.c (Vcharset_ucs_jis): Deleted.
541 (syms_of_mule_charset): Delete `ucs-jis'.
542 (complex_vars_of_mule_charset): Likewise.
544 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
546 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
548 * mule-charset.c (Vcharset_ucs_ks): Deleted.
550 (syms_of_mule_charset): Delete `ucs-ks'.
551 (complex_vars_of_mule_charset): Likewise.
553 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
555 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
556 (Qideograph_daikanwa_2): Deleted.
557 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
558 (complex_vars_of_mule_charset): Likewise.
560 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
561 (LEADING_BYTE_DAIKANWA_1): Deleted.
562 (LEADING_BYTE_DAIKANWA_2): Deleted.
563 (MIN_CHAR_DAIKANWA): Deleted.
564 (MAX_CHAR_DAIKANWA): Deleted.
566 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
568 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
569 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
570 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
572 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
573 (Vcharset_ideograph_daikanwa): Deleted.
574 (Qideograph_hanziku_{1..12}): Deleted.
575 (Qideograph_daikanwa): Deleted.
576 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
577 Vcharset_ideograph_daikanwa.
578 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
579 `ideograph-hanziku-{1..12}'.
580 (complex_vars_of_mule_charset): Likewise.
582 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
584 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
586 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
587 (Qideograph_gt_pj_{1..11}): Deleted.
588 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
589 (complex_vars_of_mule_charset): Likewise.
591 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
593 * mule-charset.c (Vcharset_ucs_big5): Deleted.
594 (Vcharset_ideograph_gt): Deleted.
595 (Qucs_big5): Deleted.
596 (Qideograph_gt): Deleted.
597 (syms_of_mule_charset): Delete symbol `ucs-big5' and
599 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
602 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
603 (LEADING_BYTE_GT): Deleted.
604 (MIN_CHAR_GT): Deleted.
605 (MAX_CHAR_GT): Deleted.
607 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
609 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
611 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
613 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
614 (save_uint16_byte_table): Likewise.
615 (save_byte_table): Likewise; convert values by it.
616 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
617 for `ideographic-structure'.
618 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
619 as the filter for `ideographic-structure'.
621 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
623 * chartab.c (put_char_composition): New function.
624 (Fput_char_attribute): Use `put_char_composition'; use
625 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
627 * fns.c (simplify_char_spec): New function.
628 (char_ref_simplify_spec): New function.
629 (Fchar_refs_simplify_char_specs): New function.
630 (syms_of_fns): Add new builtin function
631 `char-refs-simplify-char-specs'.
633 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
635 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
636 (Qideograph_cbeta): Deleted.
637 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
638 (complex_vars_of_mule_charset): Likewise.
640 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
641 (MIN_CHAR_CBETA): Comment out.
642 (MAX_CHAR_CBETA): Likewise.
644 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
646 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
647 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
648 CHISE client feature.
650 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
652 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
654 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
656 * mule-charset.c (charset_lookup_description_1): Use
657 `NUM_LEADING_BYTES' in UTF-2000.
659 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
661 * char-ucs.h (GC_CHARSETP): Deleted.
663 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * char-ucs.h (MAX_CHAR_GT): Updated.
667 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
669 * text-coding.c: Sync with XEmacs 21.4.10.
671 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
673 * mule-charset.c (Vcharset_china3_jef): Deleted.
674 (Qchina3_jef): Deleted.
675 (syms_of_mule_charset): Don't define `china3-jef'.
676 (complex_vars_of_mule_charset): Likewise.
678 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
679 (MIN_CHAR_CHINA3_JEF): Comment out.
680 (MAX_CHAR_CHINA3_JEF): Comment out.
682 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
684 * mule-charset.c (Vcharset_ucs_gb): New variable.
685 (Qucs_gb): New variable.
686 (syms_of_mule_charset): Add new symbol `ucs-gb'.
687 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
689 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
691 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
693 * mule-charset.c (charset_code_point): if a coded-charset has a
694 final-byte, don't inherit the builtin range of the mother CCS.
696 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * mule-charset.c (charset_code_point): Fix problem about
701 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
703 * mule-charset.c (decode_builtin_char): Reorganized.
705 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * text-coding.c (char_encode_as_entity_reference): Modify for
708 `charset_code_point'.
709 (char_encode_shift_jis): Likewise.
710 (char_encode_big5): Likewise.
711 (char_encode_utf8): Likewise.
712 (char_encode_iso2022): Likewise.
714 * mule-charset.c (charset_code_point): Add new argument
716 (Fencode_char): Add new optional argument `defined_only'.
718 * chartab.c (put_char_table): Modify for `charset_code_point'.
720 * char-ucs.h (charset_code_point): Add new argument
722 (encode_char_1): Modify for `charset_code_point'.
724 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
726 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
727 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
729 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
732 (Qjis_x0208): Likewise.
733 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
734 XCHARSET_FINAL(charset).
735 (charset_code_point): Modify condition for final-byte based
737 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
738 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
739 in UTF-2000; specify `=jis-x0208' as the mother of
740 `japanese-jisx0208-1978', `japanese-jisx0208' and
741 `japanese-jisx0208-1990' in UTF-2000.
743 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
745 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
747 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
749 * text-coding.c (decode_coding_utf16): Support UTF-16.
750 (char_encode_utf16): Fixed.
752 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * text-coding.c (Qutf16): New variable in MULE.
755 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
756 (Fcoding_system_type): Add `utf-16' in MULE.
757 (struct detection_state): Add a structure for utf16 in MULE.
758 (detect_coding_type): Setup st->utf16.mask in MULE.
759 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
761 (reset_encoding_stream): Use `char_encode_utf16' and
762 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
763 (detect_coding_utf16): New function [incomplete].
764 (decode_coding_utf16): New function [support only UCS-2].
765 (char_encode_utf16): New function.
766 (char_finish_utf16): New function.
767 (syms_of_file_coding): Add new symbol `utf-16'; setup
768 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
770 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
772 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
773 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
775 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
777 * chartab.c (put_char_table): When a charset is specified as a
778 range in UTF-2000, don't support builtin characters.
780 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
782 * mule-charset.c (decode_defined_char): Don't refer external
783 database if Qunbound or Qnil are found.
784 (Fsave_charset_mapping_table): Don't define it if
785 HAVE_CHISE_CLIENT is not defined.
786 (Freset_charset_mapping_table): New function.
787 (load_char_decoding_entry_maybe): Store Qnil if a character is not
788 found in external database.
789 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
790 if HAVE_CHISE_CLIENT is not defined; add new builtin function
791 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
793 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
795 * text-coding.c (decode_coding_utf8): Check CCS is specified or
798 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
800 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
801 Q_lowercase, Q_uppercase in UTF-2000.
803 * chartab.c (get_char_table): Add special code for the standard
804 case table to use character attribute `->downcase' and
805 `->uppercase' for case operations in UTF-2000.
807 * casetab.c (Qflippedcase): New variable in UTF-2000.
808 (Q_lowercase): Likewise.
809 (Q_uppercase): Likewise.
810 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
811 and `->uppercase' in UTF-2000.
812 (complex_vars_of_casetab): Assign attribute name `downcase' to
813 downcase and CANON table of Vstandard_case_table in UTF-2000;
814 assign attribute name `flippedcase' to upcase and EQV table of
815 Vstandard_case_table in UTF-2000.
817 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
819 * text-coding.c (decode_add_er_char): Support isolated-chars.
820 (char_encode_as_entity_reference): Likewise.
822 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
824 * emacs.c (Vutf_2000_lisp_directory): New variable.
825 (Vconfigure_utf_2000_lisp_directory): Likewise.
826 (complex_vars_of_emacs): Add new variable
827 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
829 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
831 * char-ucs.h (DECODE_CHAR): Delete special code for
832 `chinese-big5-1' and `chinese-big5-2'.
834 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
836 (decode_defined_char): Support CONVERSION_BIG5_1 and
838 (decode_builtin_char): Likewise.
839 (charset_code_point): Likewise.
840 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
841 'conversion in UTF-2000.
842 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
843 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
844 `chinese-big5-2' as children of `chinese-big5'.
846 * char-ucs.h (CONVERSION_BIG5_1): New macro.
847 (CONVERSION_BIG5_2): New macro.
849 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
851 * text-coding.c (char_encode_big5): Support entity-reference.
853 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
855 * text-coding.c (char_encode_as_entity_reference): New function.
856 (char_encode_utf8): Use `char_encode_as_entity_reference'.
858 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
860 * text-coding.c (decode_coding_big5): Support entity-reference
863 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
865 * text-coding.c (allocate_coding_system): Initialize initial
866 charsets for CODESYS_UTF8.
867 (Fmake_coding_system): Accept charset-g0, charset-g1 and
868 charset-g2 for CODESYS_UTF8.
869 (decode_coding_utf8): Use charset-g0.
870 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
871 to force variants to map to UCS.
873 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
875 * text-coding.c (Qutf_8_mcs): New variable.
876 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
877 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
878 instead of `utf-8' in UTF-2000.
880 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
882 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
883 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
884 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
885 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
886 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
887 CONVERSION_96x96x96x96 are introduced.
888 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
889 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
890 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
892 * char-ucs.h (CONVERSION_94): New macro.
893 (CONVERSION_96): New macro.
894 (CONVERSION_94x94): New macro.
895 (CONVERSION_96x96): New macro.
896 (CONVERSION_94x94x94): New macro.
897 (CONVERSION_96x96x96): New macro.
898 (CONVERSION_94x94x94x60): New macro.
899 (CONVERSION_94x94x94x94): New macro.
900 (CONVERSION_96x96x96x96): New macro.
902 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
904 * chartab.c (Vcharacter_variant_table): Deleted.
905 (Fchar_variants): Use character-attribute `->ucs-variants' instead
906 of `Vcharacter_variant_table'.
907 (Fput_char_attribute): Likewise.
908 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
909 (complex_vars_of_chartab): Likewise.
911 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
913 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
915 * fns.c (Qideographic_structure): New variable.
916 (Qkeyword_char): New variable.
917 (ids_format_unit): New function.
918 (Fideographic_structure_to_ids): New function.
919 (syms_of_fns): Add new symbols `ideographic-structure' and
920 `:char'; add new builtin function `ideographic-structure-to-ids'.
922 * data.c (Fchar_ref_p): New function.
923 (syms_of_data): Add new builtin function `char-ref-p'.
925 * chartab.h: Add an EXFUN for `Ffind_char'.
927 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
929 * text-coding.c (Vcharacter_composition_table): Deleted.
930 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
933 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
935 (Vcharacter_composition_table): Deleted.
936 (Fget_composite_char): Use the implementation for external-DB
937 support in every UTF-2000.
938 (Fput_char_attribute): Likewise.
939 (char_attribute_system_db_file): Don't define if external-DB
940 feature is not available.
941 (Fsave_char_attribute_table): Likewise.
942 (Fmount_char_attribute_table): Likewise.
943 (Fclose_char_attribute_table): Likewise.
944 (Freset_char_attribute_table): Likewise.
945 (Fload_char_attribute_table): Likewise.
946 (syms_of_chartab): Don't define `save-char-attribute-table',
947 `mount-char-attribute-table', `reset-char-attribute-table',
948 `close-char-attribute-table' and `load-char-attribute-table' if
949 external-DB feature is not available.
950 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
952 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
954 * text-coding.c (Qcomposition): Add extern if external-DB feature
956 (Vcharacter_composition_table): Don't add extern if external-DB
957 feature is supported.
958 (COMPOSE_ADD_CHAR): Modify for new data-representation of
959 character composition rule if external-DB feature is supported.
961 * chartab.c (Vcharacter_composition_table): Don't define if
962 external-DB feature is supported.
963 (Qcomposition): New variable.
964 (Fget_composite_char): New implementation for external-DB support.
965 (Fput_char_attribute): Use `composition' property of each
966 character instead of `Vcharacter_composition_table' to store
967 character-composition rules if external-DB feature is supported.
968 (syms_of_chartab): Add new symbol `composition'.
969 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
970 external-DB feature is supported.
972 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
974 * chartab.c (Vchar_db_stingy_mode): New variable.
975 (load_char_attribute_maybe): Close database if
976 Vchar_db_stingy_mode is not NIL.
977 (Fload_char_attribute_table_map_function): Use
978 `get_char_id_table_0' instead of `get_char_id_table'.
979 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
981 * chartab.h (get_char_id_table_0): New inline function.
982 (get_char_id_table): Use `get_char_id_table_0'.
984 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
986 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
987 and `COMPOSE_ADD_CHAR'.
988 (decode_coding_iso2022): Use `decode_flush_er_chars'.
990 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
992 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
993 instead of `DECODE_ADD_UCS_CHAR'.
994 (COMPOSE_ADD_CHAR): Likewise.
996 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
998 * text-coding.c (decode_flush_er_chars): New inline function.
999 (decode_add_er_char): New function.
1000 (decode_coding_utf8): Use `decode_flush_er_chars' and
1001 `decode_add_er_char'.
1003 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1005 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1006 done before `decode_output_utf8_partial_char'.
1008 * mule-charset.c (complex_vars_of_mule_charset): Specify
1009 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1010 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1012 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1014 * mule-charset.c (decode_defined_char): New function; search
1016 (decode_builtin_char): Don't search mother if
1017 XCHARSET_MAX_CODE(charset) == 0.
1018 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1019 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1020 (Fdecode_char): Use `decode_defined_char' instead of
1021 `DECODE_DEFINED_CHAR'.
1022 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1023 mother of `Vcharset_ucs_jis'.
1025 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1026 instead of `DECODE_DEFINED_CHAR'.
1028 * char-ucs.h (decode_defined_char): Renamed from
1029 `DECODE_DEFINED_CHAR'; changed to normal function.
1030 (DECODE_CHAR): Use `decode_defined_char' instead of
1031 `DECODE_DEFINED_CHAR'.
1033 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1035 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1037 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1039 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1041 (Quse_entity_reference): New variable.
1045 (coding_system_description): Add description for
1046 `ccs_priority_list'.
1047 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1048 (allocate_coding_system): Initialize `ccs_priority_list' in
1050 (Fmake_coding_system): Add description about
1051 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1053 (Fcoding_system_property): Accept `disable-composition' and
1054 `use-entity-reference' in UTF-2000.
1055 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1057 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1058 (decode_coding_utf8): Decode entity-reference if
1059 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1060 (char_encode_utf8): Encode non-Unicode characters as
1061 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1063 (syms_of_file_coding): Add new symbols `use-entity-reference',
1065 (vars_of_file_coding): Add new variable
1066 `coded-charset-entity-reference-alist'.
1067 (complex_vars_of_file_coding): Declare `disable-composition' and
1068 `use-entity-reference' to be coding-system-properties in UTF-2000.
1070 * file-coding.h (struct Lisp_Coding_System): Add new member
1071 `use_entity_reference' and `ccs_priority_list'.
1072 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1073 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1074 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1076 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1078 * chartab.c (save_uint8_byte_table): Don't clear the table.
1079 (save_uint16_byte_table): Likewise.
1080 (save_byte_table): Likewise.
1081 (Fmount_char_attribute_table): New function.
1082 (syms_of_chartab): Add new builtin function
1083 `mount-char-attribute-table'.
1085 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1087 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1089 (load_char_decoding_entry_maybe): Open database as read-only mode.
1091 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1092 open database as "w+" mode.
1093 (load_char_attribute_maybe): Open database as read-only mode.
1094 (Fload_char_attribute_table): Likewise.
1096 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1098 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1099 (char_table_description): Delete member `db_file'.
1100 (Fmake_char_table): Don't refer `ct->db_file'.
1101 (Fcopy_char_table): Likewise.
1102 (Fsave_char_attribute_table): Likewise.
1103 (Fclose_char_attribute_table): Likewise.
1104 (Freset_char_attribute_table): Likewise.
1105 (load_char_attribute_maybe): Likewise.
1106 (Fload_char_attribute_table): Likewise.
1108 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1110 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1112 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1113 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1115 (load_char_attribute_maybe): Likewise.
1116 (Fload_char_attribute_table): Likewise.
1118 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1120 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1121 `ct->db_file' unconditionally.
1123 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1125 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1127 (char_table_description): Add description for `db_file' and `db'
1129 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1131 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1132 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1133 (Fclose_char_attribute_table): New function.
1134 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1135 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1137 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1138 (syms_of_chartab): Add new builtin function
1139 `Fclose_char_attribute_table'.
1141 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1143 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1145 (load_char_attribute_maybe): Change interface.
1146 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1148 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1150 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1152 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1155 instead of `DECODE_CHAR' for mother; don't use special code for
1156 chinese-big5 to use code space of chinese-big5-1 and
1158 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1159 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1161 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1162 (MAX_CHAR_BIG5_CDP): Revival.
1164 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1166 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1167 the XLFD registry-encoding name of `chinese-big5'.
1169 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1171 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1172 (Qchinese_big5_cdp): Deleted.
1173 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1174 (complex_vars_of_mule_charset): Delete coded-charset
1177 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1178 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1179 `CHARSET_ID_OFFSET - n' for private CCS.
1180 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1181 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1182 of `MIN_LEADING_BYTE'.
1183 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1184 `(CHARSET_ID_OFFSET - 97)'.
1185 (MIN_CHAR_BIG5_CDP): Deleted.
1186 (MAX_CHAR_BIG5_CDP): Deleted.
1188 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1190 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1192 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1194 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1195 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1198 * chartab.c (Vutf_2000_version): Moved to mule.c.
1199 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1201 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1203 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1204 when HAVE_CHISE_CLIENT is not defined.
1206 * mule.c (vars_of_mule): Provide feature `chise' when
1207 HAVE_CHISE_CLIENT is defined.
1209 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1211 * config.h.in (UTF2000): Add comment.
1212 (HAVE_CHISE_CLIENT): New macro.
1214 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1216 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1218 (Fput_char_attribute): Likewise.
1219 (char_attribute_system_db_file): Encode file-name of attribute.
1220 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1223 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1225 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1226 (Fsave_charset_mapping_table): Use
1227 `char_attribute_system_db_file'.
1228 (load_char_decoding_entry_maybe): Likewise.
1230 * chartab.h (Qsystem_char_id): New external variable.
1231 (char_attribute_system_db_file): New prototype.
1233 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1234 (char_attribute_system_db_file): New function.
1235 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1236 (Freset_char_attribute_table): Likewise.
1237 (load_char_attribute_maybe): Likewise.
1238 (Fload_char_attribute_table): Likewise.
1239 (syms_of_chartab): Add new symbol `system-char-id'.
1241 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1243 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1244 `XCHARSET_GRAPHIC(ccs)'.
1246 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1248 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1250 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * chartab.c (Q_ucs_variants): New variable.
1253 (syms_of_chartab): Add new symbol `->ucs-variants'.
1254 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1255 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1256 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1258 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1260 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1261 `HAVE_DATABASE' is defined.
1262 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1263 `HAVE_DATABASE' is defined.
1265 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1267 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1269 (Freset_char_attribute_table): New function.
1270 (syms_of_chartab): Add new builtin function
1271 `reset-char-attribute-table'.
1273 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1275 * chartab.c (load_char_attribute_maybe): Don't make directories.
1277 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1279 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1281 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1284 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1286 * mule-charset.c (Fsave_charset_mapping_table): Use
1287 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1289 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1290 instead of `XCHARSET_CHARS'.
1292 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1294 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1295 (XCHARSET_BYTE_SIZE): Likewise.
1297 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1299 (XCHARSET_BYTE_SIZE): Likewise.
1301 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1303 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1304 data-directory to store database.
1305 (Fsave_char_attribute_table): Likewise.
1306 (load_char_attribute_maybe): Likewise.
1307 (Fload_char_attribute_table): Likewise.
1309 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1311 * mule-charset.c (Fsave_charset_mapping_table): New function.
1312 (syms_of_mule_charset): Add new builtin function
1313 `save-charset-mapping-table'.
1315 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1317 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1318 (get_ccs_octet_table): New inline function.
1319 (put_ccs_octet_table): Likewise.
1320 (decoding_table_put_char): Use `get_ccs_octet_table' and
1321 `put_ccs_octet_table'.
1322 (decoding_table_remove_char): Use `decoding_table_put_char'.
1323 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1325 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1326 into encoding_table.
1327 (make_charset): Use Qunbound instead Qnil as initial value of
1330 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1332 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1333 element is Qunloaded.
1334 (map_over_uint16_byte_table): Likewise.
1335 (map_over_byte_table): Likewise.
1336 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1337 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1338 database support, load encoding-table of the specified
1339 coded-charset if it is not loaded yet.
1340 (save_uint8_byte_table): New function of UTF-2000 with external
1342 (save_uint16_byte_table): Likewise.
1343 (save_byte_table): Likewise.
1344 (Fput_char_attribute): Don't store value into external database
1345 even if the external database feature is supported in UTF-2000;
1346 set `attribute' as name of char-table if the external database
1347 feature is supported.
1348 (Fsave_char_attribute_table): New function in UTF-2000.
1349 (syms_of_chartab): Add new builtin function
1350 `save-char-attribute-table' in UTF-2000.
1352 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1354 * chartab.c (char_attribute_table_to_put): New variable in
1356 (Qput_char_table_map_function): Likewise.
1357 (value_to_put): Likewise.
1358 (Fput_char_table_map_function): New function in UTF-2000.
1359 (put_char_table): Use `Fmap_char_attribute' for
1360 CHARTAB_RANGE_CHARSET in UTF-2000.
1361 (Fput_char_attribute): Store symbol instead of string in
1362 `XCHAR_TABLE_NAME (table)'.
1363 (load_char_attribute_maybe): Likewise.
1364 (syms_of_chartab): Add new symbol/function
1365 `put-char-table-map-function'.
1367 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1369 * database.h: Add new EXFUN for `Fmap_database'.
1371 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1372 (syms_of_database): Likewise.
1374 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1376 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1377 (XCHAR_TABLE_UNLOADED): Likewise.
1379 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1380 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1381 HAVE_DATABASE is defined.
1382 (char_attribute_table_to_load): New variable of UTF-2000 with
1383 external database support.
1384 (Qload_char_attribute_table_map_function): Likewise.
1385 (Fload_char_attribute_table_map_function): New function of
1386 UTF-2000 with external database support.
1387 (Fload_char_attribute_table): New function of UTF-2000.
1388 (Fmap_char_attribute): Call Fload_char_attribute_table if
1389 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1390 (syms_of_chartab): Add new symbol and function
1391 `load-char-attribute-table-map-function' in UTF-2000 with external
1392 database support; add new function `load-char-attribute-table' in
1395 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1397 * chartab.h (load_char_attribute_maybe): New prototype for
1398 UTF-2000 with DATABASE support.
1399 (get_char_id_table): Use `load_char_attribute_maybe' if
1400 HAVE_DATABASE is defined.
1402 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1403 with DATABASE support.
1405 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1407 * chartab.c (Fput_char_attribute): Use S-expression as key of
1410 * chartab.h (get_char_id_table): Use S-expression as key of
1413 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1415 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1416 if an element is not loaded, load the corresponding attributes
1417 from an external database.
1418 (map_over_uint16_byte_table): Likewise.
1419 (map_over_byte_table): Likewise.
1420 (map_char_table): Modify for `map_over_uint8_byte_table',
1421 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1422 element is not loaded, load the corresponding attributes from an
1424 (Fput_char_attribute): Change initial values to Qunloaded.
1426 * chartab.h (get_char_id_table): If a character attribute is not
1427 loaded and the attribute value is not found in an external
1428 database, store Qunbound as the attribute value.
1430 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1432 * chartab.c (BT_UINT8_unloaded): New macro.
1433 (UINT8_VALUE_P): Accept Qunloaded.
1434 (UINT8_ENCODE): Likewise.
1435 (UINT8_DECODE): Likewise.
1436 (BT_UINT16_unloaded): New macro.
1437 (UINT16_VALUE_P): Accept Qunloaded.
1438 (UINT16_ENCODE): Likewise.
1439 (UINT16_DECODE): Likewise.
1440 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1442 (mark_char_table): Mark `ct->name' in UTF-2000.
1443 (char_table_description): Add `name' in UTF-2000.
1444 (Fmake_char_table): Initialize `ct->name'.
1445 (Fcopy_char_table): Copy `ct->name'.
1446 (Fput_char_attribute): Store value into an external database if
1447 HAVE_DATABASE is defined.
1449 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1451 (CHAR_TABLE_NAME): New macro in UTF-2000.
1452 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1453 (get_char_id_table): Try to read an external database if Qunloaded
1454 is stored in a table.
1456 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1459 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1461 * database.h: Add EXFUN definitions for Fopen_database,
1462 Fput_database, Fget_database and Fclose_database.
1464 * data.c (Qunloaded): New variable in UTF-2000.
1466 * lisp.h (Qunloaded): New variable in UTF-2000.
1468 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1470 * mule-charset.c (put_char_ccs_code_point): Modify for
1471 `decoding_table_remove_char' and `decoding_table_put_char'.
1472 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1474 * char-ucs.h (decoding_table_remove_char): Change arguments to
1475 hide decoding_table vector.
1476 (decoding_table_put_char): Likewise.
1478 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1480 * mule-charset.c (decoding_table_remove_char): Moved to
1482 (decoding_table_put_char): Likewise.
1484 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1485 from mule-charset.c].
1486 (decoding_table_remove_char): New inline function [moved from
1488 (decoding_table_put_char): Likewise.
1490 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1492 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1495 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * mule-charset.c (decode_builtin_char): Support mother charsets.
1499 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1501 * mule-charset.c (Q94x94x60): New variable.
1502 (charset_code_point): Support conversion `94x94x60'.
1503 (Fmake_charset): Likewise.
1504 (syms_of_mule_charset): Add new symbol `94x94x60'.
1506 * char-ucs.h (CONVERSION_94x94x60): New macro.
1508 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1510 * mule-charset.c (charset_code_point): Unify code about
1513 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1515 * mule-charset.c (charset_code_point): Merge code about builtin
1516 characters into code about mother charsets; don't use
1517 `range_charset_code_point'.
1518 (range_charset_code_point): Deleted.
1520 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1522 * mule-charset.c (Qcode_offset): New variable.
1523 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1524 `max-code'; accept new property `code-offset'.
1525 (syms_of_mule_charset): Add new symbol `code-offset'.
1527 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1529 * mule-charset.c (range_charset_code_point): Fixed.
1531 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1533 * mule-charset.c (decode_builtin_char): Change semantics of
1534 code-offset of coded-charset.
1535 (charset_code_point): Likewise.
1536 (range_charset_code_point): Likewise.
1537 (complex_vars_of_mule_charset): Modify for the change.
1539 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1541 * mule-charset.c (Fencode_char): Reverse arguments.
1543 * mule-charset.c (charset_code_point): Fixed.
1545 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1547 * mule-charset.c (Vcharset_mojikyo): Deleted.
1548 (Vcharset_mojikyo_2022_1): Deleted.
1549 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1550 (Qmin_code): New variable in UTF-2000.
1551 (Qmax_code): Likewise.
1552 (Qmother): Likewise.
1553 (Qconversion): Likewise.
1555 (Qmojikyo): Deleted.
1556 (Qmojikyo_2022_1): Deleted.
1557 (Qmojikyo_pj_{1..22}): Deleted.
1558 (mark_charset): Mark `cs->mother'.
1559 (charset_description): Add description for `mother'.
1560 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1561 new arguments `mother' and `conversion'; use
1562 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1563 (charset_code_point): Moved from char-ucs.h; support `mother'
1565 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1566 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1567 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1568 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1569 allow 2 as the value of `graphic' in UTF-2000; add new properties
1570 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1571 require `final' in UTF-2000; modify for `make_charset'.
1572 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1573 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1574 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1575 (Fencode_char): New function.
1576 (syms_of_mule_charset): Add new builtin function `encode-char' in
1577 UTF-2000; add new symbols `min-code', `max-code', `mother',
1578 `conversion' and `94x60'; delete symbols `mojikyo',
1579 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1580 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1581 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1582 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1584 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1585 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1587 * char-ucs.h (Vcharset_mojikyo): Deleted.
1588 (Vcharset_mojikyo_2022_1): Deleted.
1589 (LEADING_BYTE_MOJIKYO): Deleted.
1590 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1591 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1592 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1593 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1594 add new member `mother'; add new member `conversion'.
1595 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1596 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1597 (CHARSET_MOTHER): New macro.
1598 (CHARSET_CONVERSION): New macro.
1599 (CONVERSION_IDENTICAL): New macro.
1600 (CONVERSION_94x60): New macro.
1601 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1602 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1603 (XCHARSET_MOTHER): New macro.
1604 (XCHARSET_CONVERSION): New macro.
1605 (MIN_CHAR_MOJIKYO): Deleted.
1606 (MAX_CHAR_MOJIKYO): Deleted.
1607 (DECODE_MOJIKYO_2022): Deleted.
1608 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1609 (charset_code_point): Changed to non-inline function.
1610 (encode_char_1): Use `charset_code_point'.
1611 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1613 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1615 * lread.c (read_compiled_function): Fix prototype.
1616 (read_vector): Likewise.
1618 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1620 * lrecord.h (struct lrecord_header): Delete `older'.
1621 (set_lheader_implementation): Delete code for `older'.
1622 (set_lheader_older_implementation): Deleted.
1623 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1624 (OLDER_RECORD_P): Deleted.
1625 (OLDER_RECORD_HEADER_P): Deleted.
1626 (alloc_older_lcrecord): Deleted.
1627 (alloc_older_lcrecord_type): Deleted.
1629 * alloc.c (all_older_lcrecords): Deleted.
1630 (alloc_older_lcrecord): Deleted.
1631 (disksave_object_finalization_1): Delete code for older objects.
1632 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1633 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1635 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1637 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1638 instead of `make_older_vector'.
1639 (put_char_ccs_code_point): Likewise.
1640 (mark_charset): Mark `cs->decoding_table'.
1641 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1643 * lisp.h (make_older_vector): Deleted.
1644 (make_vector_newer): Deleted.
1646 * config.h.in (HAVE_GGC): Deleted.
1648 * alloc.c (make_older_vector): Deleted.
1649 (make_vector_newer_1): Deleted.
1650 (make_vector_newer): Deleted.
1652 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1654 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1655 (Qideograph_daikanwa_2): New variable.
1656 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1657 (complex_vars_of_mule_charset): Add new coded-charset
1658 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1659 `LEADING_BYTE_DAIKANWA'.
1661 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1662 (LEADING_BYTE_DAIKANWA_1): New macro.
1663 (LEADING_BYTE_DAIKANWA_2): New macro.
1664 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1666 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1668 * mule-charset.c (complex_vars_of_mule_charset): Change
1669 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1670 the second revised version.
1672 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1674 * mule-charset.c (Vcharset_ucs_smp): New variable.
1675 (Vcharset_ucs_sip): New variable.
1676 (Qucs_smp): New variable.
1677 (Qucs_sip): New variable.
1678 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1679 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1680 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1681 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1682 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1683 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1685 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1686 (LEADING_BYTE_UCS_SIP): New macro.
1687 (MIN_CHAR_SMP): New macro.
1688 (MAX_CHAR_SMP): New macro.
1689 (MIN_CHAR_SIP): New macro.
1690 (MAX_CHAR_SIP): New macro.
1692 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1694 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1697 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1699 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1700 value; don't store value into `encoding_table' of `Lisp_Charset'.
1701 (mark_charset): `encoding_table' was deleted.
1702 (charset_description): Likewise.
1703 (make_charset): Likewise.
1704 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1705 `put_char_ccs_code_point'.
1707 * chartab.h (Fput_char_attribute): New EXFUN.
1709 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1710 is unified with normal symbol space.
1711 (Fget_char_attribute): Likewise.
1712 (Fput_char_attribute): Likewise; behavior of
1713 `put_char_ccs_code_point' is changed.
1715 * char-ucs.h: Include "elhash.h".
1716 (Vchar_attribute_hash_table): New external variable.
1717 (struct Lisp_Charset): Delete `encoding_table'.
1718 (CHARSET_ENCODING_TABLE): New implementation; refer
1719 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1722 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1724 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1727 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1729 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1732 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1734 * chartab.c (uint8_byte_table_description): New constant.
1735 (uint8-byte-table): Use `uint8_byte_table_description'.
1736 (uint16_byte_table_description): New constant.
1737 (uint16-byte-table): Use `uint16_byte_table_description'.
1739 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1741 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1742 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1744 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1746 * mule-charset.c (Vcharset_ucs_ks): New variable.
1747 (Qucs_ks): New variable.
1748 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1749 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1751 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1753 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1755 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1756 (Fdecode_char): Likewise.
1758 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1760 (Fdefine_char): Modify for Fdecode_char.
1761 (Ffind_char): Likewise.
1763 * mule-charset.c (Fdecode_char): Add new optional argument
1765 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1767 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1769 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1770 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1771 (allocate_coding_system): Initialize initial-charsets of
1772 CODESYS_BIG5 in XEmacs UTF-2000.
1773 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1774 CODESYS_BIG5 in XEmacs UTF-2000.
1775 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1776 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1778 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1780 (Qideograph_hanziku_{1 .. 12}): Likewise.
1781 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1783 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1784 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1785 `ideograph-hanziku-{1 .. 12}'.
1787 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1788 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1789 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1790 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1791 (DECODE_DEFINED_CHAR): New inline function.
1792 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1794 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1796 * mule-charset.c (Vcharset_china3_jef): Renamed from
1797 `Vcharset_japanese_jef_china3'.
1798 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1799 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1800 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1801 (syms_of_mule_charset): Rename `china3-jef' from
1802 `japanese-jef-china3'.
1803 (complex_vars_of_mule_charset): Likewise; rename
1804 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1806 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1807 `LEADING_BYTE_JEF_CHINA3'.
1808 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1809 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1811 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1813 * mule-charset.c (encode_builtin_char_1): Comment out special code
1814 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1816 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1817 (MAX_CHAR_MOJIKYO_0): Comment out.
1818 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1819 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1820 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1821 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1823 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1825 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1826 (Qideograph_cbeta): New variable.
1827 (encode_builtin_char_1): Comment out special code for
1828 coded-charset `mojikyo' and `japanese-jef-china3'.
1829 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1830 (complex_vars_of_mule_charset): Add new coded-charset
1833 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1834 (MIN_CHAR_CBETA): New macro.
1835 (MAX_CHAR_CBETA): New macro.
1837 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1839 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1840 (LEADING_BYTE_JEF_CHINA3): New macro.
1841 (MIN_CHAR_JEF_CHINA3): New macro.
1842 (MAX_CHAR_JEF_CHINA3): Likewise.
1843 (DECODE_CHAR): Fixed.
1845 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1847 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1848 (Qjapanese_jef_china3): New variable.
1849 (encode_builtin_char_1): Support `japanese-jef-china3'.
1850 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1851 (complex_vars_of_mule_charset): Add new coded-charset
1852 `japanese-jef-china3'.
1854 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1856 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1857 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1858 94^4, 96^3, 96^4, 128^n and 256^n set.
1859 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1860 (map_char_table): Likewise.
1862 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1864 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1867 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1869 * chartab.h (get_char_id_table): New inline function.
1871 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1874 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1876 * chartab.h (decode_char_table_range): New prototype in XEmacs
1878 (put_char_id_table): New inline function in XEmacs UTF-2000.
1880 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1882 (decode_char_table_range): Delete static declaration in XEmacs
1885 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1887 * chartab.c (put_char_id_table): Use `put_char_table'.
1889 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1891 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1892 (map_over_uint16_byte_table): Likewise.
1893 (map_over_byte_table): Likewise.
1894 (map_char_table): Modify for `map_over_uint8_byte_table',
1895 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1898 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1900 * chartab.c (struct map_char_table_for_charset_arg): New
1902 (map_char_table_for_charset_fun): New function.
1903 (map_char_table): Use `map_char_table' for encoding_table of
1906 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1908 * chartab.c (map_char_table): Check a character is found in
1909 range->charset instead of non default value is defined in
1910 char-table when range is CHARTAB_RANGE_ROW.
1912 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1914 * chartab.c (map_char_id_table): Deleted.
1915 (Fmap_char_attribute): Use `map_char_table' instead of
1916 `map_char_id_table'.
1918 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1920 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1922 (update_syntax_table): Deleted in XEmacs UTF-2000.
1924 * syntax.c (find_defun_start): Use `syntax_table' instead of
1925 `mirror_syntax_table' in XEmacs UTF-2000.
1926 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1928 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1930 (Fmatching_paren): Likewise.
1931 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1933 (find_start_of_comment): Likewise.
1934 (find_end_of_comment): Likewise.
1935 (Fforward_comment): Likewise.
1936 (scan_lists): Likewise.
1937 (char_quoted): Likewise.
1938 (Fbackward_prefix_chars): Likewise.
1939 (scan_sexps_forward): Likewise.
1940 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1941 (update_syntax_table): Likewise.
1943 * search.c (skip_chars): Use `syntax_table' instead of
1944 `mirror_syntax_table' in XEmacs UTF-2000.
1945 (wordify): Likewise.
1946 (Freplace_match): Likewise.
1948 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1949 `mirror_syntax_table' in XEmacs UTF-2000.
1950 (WORDCHAR_P_UNSAFE): Likewise.
1951 (re_match_2_internal): Likewise.
1953 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1954 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1956 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1957 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1959 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1962 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1964 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1965 (char_table_description): Delete `mirror_table' in XEmacs
1967 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1969 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1970 (Fcopy_char_table): Likewise.
1971 (put_char_table): Don't call `update_syntax_table' in XEmacs
1974 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1975 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1976 (casify_region_internal): Likewise.
1978 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1980 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1981 `mirror_syntax_table' in XEmacs UTF-2000.
1983 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1984 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1985 (Fexpand_abbrev): Likewise.
1987 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1989 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1991 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1993 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1994 (map_over_uint16_byte_table): Likewise.
1995 (map_over_byte_table): Likewise.
1996 (get_char_id_table): Refer `cit->default_value'.
1997 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1998 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1999 of character-id ranges.
2000 (mark_char_table): Mark `ct->default_value'.
2001 (char_table_description): Add `default_value'.
2002 (fill_char_table): Use `default_value'.
2003 (decode_char_table_range): Decode `nil' as
2004 `CHARTAB_RANGE_DEFAULT'.
2005 (get_char_id_table): Refer `cit->default_value'.
2006 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2007 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2008 temporary hack; check value of char-table is bound or not.
2009 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2011 * chartab.h (struct Lisp_Char_Table): Add new member
2012 `default_value' in XEmacs UTF-2000.
2013 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2014 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2017 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2019 * chartab.h (Lisp_Char_ID_Table): Deleted.
2021 * chartab.c (char_table_description): Fix typo.
2022 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2023 `Lisp_Char_ID_Table'.
2025 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2027 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2030 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2033 * chartab.h (XCHAR_ID_TABLE): Deleted.
2034 (XSETCHAR_ID_TABLE): Deleted.
2035 (CHAR_ID_TABLE_P): Deleted.
2037 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2039 (Fget_composite_char): Likewise.
2040 (put_char_table): Likewise.
2041 (add_char_attribute_alist_mapper): Fixed.
2042 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2044 (Fget_char_attribute): Likewise.
2045 (Fget_char_attribute): Likewise.
2046 (Fmap_char_attribute): Likewise.
2048 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2050 (encode_char_1): Likewise.
2052 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2054 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2057 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2058 instead of `XCHAR_ID_TABLE'.
2059 (remove_char_ccs): Likewise.
2061 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2063 (Fget_composite_char): Likewise.
2064 (Fchar_variants): Likewise.
2065 (put_char_table): Likewise.
2066 (add_char_attribute_alist_mapper): Likewise.
2067 (Fchar_attribute_alist): Likewise.
2068 (Fget_char_attribute): Likewise.
2069 (Fput_char_attribute): Likewise.
2070 (Fmap_char_attribute): Likewise.
2071 (Fmap_char_attribute): Likewise.
2073 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2075 (encode_char_1): Likewise.
2077 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2079 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2080 `Lisp_Char_ID_Table'.
2081 (mark_char_id_table): Deleted.
2082 (print_char_id_table): Likewise.
2083 (char_id_table_equal): Likewise.
2084 (char_id_table_hash): Likewise.
2085 (char_id_table_description): Likewise.
2086 (char_id_table): Likewise.
2087 (make_char_id_table): Use `Fmake_char_table' and
2089 (get_char_id_table): Use `Lisp_Char_Table' instead of
2090 `Lisp_Char_ID_Table'.
2091 (put_char_id_table): Likewise.
2092 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2094 (Fremove_char_attribute): Likewise.
2095 (syms_of_chartab): Don't define type `char-id-table'.
2097 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2098 (char_id_table): Likewise.
2099 (GC_CHAR_ID_TABLE_P): Likewise.
2100 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2101 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2102 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2103 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2104 (get_char_id_table): Use `Lisp_Char_Table' instead of
2105 `Lisp_Char_ID_Table'.
2106 (put_char_id_table_0): Likewise.
2107 (put_char_id_table): Likewise.
2109 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2111 * chartab.h: Lisp_Byte_Table related codes are moved from
2114 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2116 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2118 * chartab.h: Don't include "chartab.h".
2119 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2120 (Lisp_Char_ID_Table): Likewise.
2121 (char_id_table): Likewise.
2122 (XCHAR_ID_TABLE): Likewise.
2123 (XSETCHAR_ID_TABLE): Likewise.
2124 (CHAR_ID_TABLE_P): Likewise.
2125 (GC_CHAR_ID_TABLE_P): Likewise.
2126 (get_char_id_table): Likewise.
2128 * char-ucs.h: Include "chartab.h".
2129 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2130 (Lisp_Char_ID_Table): Likewise.
2131 (char_id_table): Likewise.
2132 (XCHAR_ID_TABLE): Likewise.
2133 (XSETCHAR_ID_TABLE): Likewise.
2134 (CHAR_ID_TABLE_P): Likewise.
2135 (GC_CHAR_ID_TABLE_P): Likewise.
2136 (get_char_id_table): Likewise.
2138 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2140 * chartab.c (copy_uint8_byte_table): New function.
2141 (copy_uint16_byte_table): New function.
2142 (copy_byte_table): New function.
2143 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2145 (map_over_uint16_byte_table): Likewise.
2146 (map_over_byte_table): Likewise.
2147 (get_byte_table): Move prototype to chartab.h.
2148 (put_byte_table): Likewise.
2149 (put_char_id_table_0): Moved to chartab.h.
2150 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2151 (char_table_entry_equal): Likewise.
2152 (char_table_entry_hash): Likewise.
2153 (char_table_entry_description): Likewise.
2154 (char_table_entry): Likewise.
2155 (make_char_table_entry): Likewise.
2156 (copy_char_table_entry): Likewise.
2157 (get_non_ascii_char_table_value): Likewise.
2158 (map_over_charset_ascii): Likewise.
2159 (map_over_charset_control_1): Likewise.
2160 (map_over_charset_row): Likewise.
2161 (map_over_other_charset): Likewise.
2162 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2163 (print_char_table): Likewise.
2164 (char_table_equal): Likewise.
2165 (char_table_hash): Likewise.
2166 (char_table_description): Likewise.
2167 (fill_char_table): Likewise.
2168 (Fcopy_char_table): Likewise.
2169 (get_char_table): Likewise.
2170 (Fget_range_char_table): Likewise.
2171 (put_char_table): Likewise.
2172 (map_char_table): Likewise.
2173 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2176 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2178 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2179 `Vauto_fill_chars' in XEmacs UTF-2000.
2181 * chartab.h (get_byte_table): New prototype [moved from
2183 (put_byte_table): Likewise [moved from chartab.c].
2184 (put_char_id_table_0): New inline function [moved from chartab.c].
2185 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2186 (Lisp_Char_Table_Entry): Likewise.
2187 (char_table_entry): Likewise.
2188 (XCHAR_TABLE_ENTRY): Likewise.
2189 (XSETCHAR_TABLE_ENTRY): Likewise.
2190 (CHAR_TABLE_ENTRYP): Likewise.
2191 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2192 (NUM_ASCII_CHARS): Likewise.
2193 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2194 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2196 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2198 * chartab.c (get_char_id_table): Change interface.
2199 (put_char_id_table_0): New function.
2200 (put_char_id_table): Change interface; new implementation.
2201 (Fget_composite_char): Modify for interface change of
2202 `get_char_id_table'.
2203 (Fchar_variants): Likewise.
2204 (add_char_attribute_alist_mapper): Likewise.
2205 (Fchar_attribute_alist): Likewise.
2206 (Fget_char_attribute): Likewise.
2207 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2208 as same as character as the first argument like `put-char-table';
2209 modify for interface change of `put_char_id_table'.
2210 (Fremove_char_attribute): Modify for interface change of
2211 `put_char_id_table'.
2213 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2215 * text-coding.c: Sync up with XEmacs 21.2.41.
2216 (COMPOSE_ADD_CHAR): Modify for interface change of
2217 `get_char_id_table'.
2219 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2220 change of `put_char_id_table'.
2221 (remove_char_ccs): Likewise.
2223 * chartab.h (put_char_id_table): Change interface.
2225 * char-ucs.h (get_char_id_table): Change interface.
2226 (charset_code_point): Modify for interface change of
2227 `get_char_id_table'.
2228 (encode_char_1): Likewise.
2230 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2232 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2234 (map_over_uint16_byte_table): Likewise.
2235 (map_over_byte_table): Likewise.
2236 (map_char_id_table): Add new argument `range' like
2238 (Fmap_char_attribute): Add new argument `range' like
2241 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2243 * chartab.c (map_over_uint8_byte_table): Change interface of
2244 mapping function to use struct chartab_range instead of Emchar.
2245 (map_over_uint16_byte_table): Likewise.
2246 (map_over_byte_table): Likewise.
2247 (map_char_id_table): Likewise.
2248 (struct slow_map_char_id_table_arg): Deleted.
2249 (slow_map_char_id_table_fun): Deleted.
2250 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2251 function `slow_map_char_table_fun' instead of struct
2252 `slow_map_char_id_table_arg' and function
2253 `slow_map_char_id_table_fun'.
2255 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2257 * mule-charset.c: Move char-it-table related codes to chartab.c.
2258 (Vutf_2000_version): Moved to chartab.c.
2259 (Fdefine_char): Likewise.
2260 (Ffind_char): Likewise.
2261 (syms_of_mule_charset): Move types `uint8-byte-table',
2262 `uint16-byte-table', `byte-table' and `char-id-table' to
2263 chartab.c; move functions `char_attribute_list,
2264 `find_char_attribute_table, `char_attribute_alist,
2265 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2266 `map_char_attribute, `define_char, `find_char, `char_variants and
2267 `get_composite_char to chartab.c; move symbols `=>ucs',
2268 `->decomposition', `compat', `isolated', `initial', `medial',
2269 `final', `vertical', `noBreak', `fraction', `super', `sub',
2270 `circle', `square', `wide', `narrow', `small' and `font' to
2272 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2273 setting codes for `Vcharacter_composition_table' and
2274 `Vcharacter_variant_table' to chartab.c.
2275 (complex_vars_of_mule_charset): Move setting code for
2276 `Vchar_attribute_hash_table' to chartab.c.
2278 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2279 (make_char_id_table): New prototype.
2280 (put_char_id_table): Likewise.
2281 (Fget_char_attribute): Likewise.
2283 * chartab.c: Move char-id-table related code from mule-charset.c.
2284 (Vutf_2000_version): Moved from mule-charset.c.
2286 * char-ucs.h (Qucs): New external variable.
2287 (put_char_ccs_code_point): New prototype.
2288 (remove_char_ccs): Likewise.
2290 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2292 * mule-charset.c (Vcharset_ucs_jis): New variable.
2293 (Qucs_jis): Likewise.
2294 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2295 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2297 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2299 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2301 * mule-charset.c (map_over_uint8_byte_table): New function.
2302 (map_over_uint16_byte_table): Likewise.
2303 (map_over_byte_table): Likewise.
2304 (map_char_id_table): Likewise.
2305 (slow_map_char_id_table_fun): Likewise.
2306 (Fmap_char_attribute): Likewise.
2307 (syms_of_mule_charset): Add new function `map-char-attribute'.
2309 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2311 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2312 (syms_of_mule_charset): Add new function `find-char'.
2314 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2316 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2318 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2319 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2321 (complex_vars_of_mule_charset): Add new coded-charset
2322 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2323 `ideograph-gt-pj-*'.
2325 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2327 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2329 * mule-charset.c (encode_builtin_char_1): Purge codes about
2330 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2331 {MIN|MAX}_CHAR_HEBREW.
2332 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2333 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2335 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2336 (MAX_CHAR_GREEK): Purged.
2337 (MIN_CHAR_CYRILLIC): Purged.
2338 (MAX_CHAR_CYRILLIC): Purged.
2339 (MIN_CHAR_HEBREW): Commented out.
2340 (MAX_CHAR_HEBREW): Likewise.
2342 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2344 * mule-charset.c (Qto_ucs): New variable.
2345 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2346 (Fdefine_char): Likewise.
2347 (syms_of_mule_charset): Add new symbol `=>ucs'.
2349 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2351 * mule-charset.c (Fdecode_char): Fixed.
2353 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2355 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2356 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2359 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2361 * mule-charset.c (Vcharset_ucs_big5): New variable.
2362 (Qucs_big5): Likewise.
2363 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2364 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2366 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2368 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2370 * mule-charset.c (decode_builtin_char): Check Big5 code range
2371 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2373 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2375 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2376 (Qchinese_gb12345): Likewise.
2377 (Fdecode_builtin_char): Fixed.
2378 (syms_of_mule_charset): Add `chinese-gb12345'.
2379 (complex_vars_of_mule_charset): Add coded-charset
2382 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2383 (LEADING_BYTE_CHINESE_GB12345): New macro.
2385 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2387 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2388 and `latin-viscii-upper' for `latin-viscii'.
2390 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2392 * mule-charset.c (Fdecode_builtin_char): Comment out
2393 regularization code for ISO-IR GR representation.
2395 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2397 * mule-charset.c (decode_builtin_char): New function; renamed from
2398 `make_builtin_char'; return -1 instead of signal.
2399 (Fdecode_builtin_char): Use `decode_builtin_char'.
2401 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2402 `make_builtin_char'.
2403 (DECODE_CHAR): Use `decode_builtin_char' instead of
2404 `make_builtin_char'; use mapping table of `chinese-big5' for
2405 `chinese-big5-{1,2}'.
2407 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2409 * text-coding.c (char_encode_big5): New function.
2410 (char_finish_big5): Likewise.
2411 (reset_encoding_stream): Use `char_encode_big5' and
2412 `char_finish_big5' for CODESYS_BIG5.
2413 (mule_encode): Don't use `encode_coding_big5'.
2414 (encode_coding_big5): Deleted.
2416 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2419 0x81- in XEmacs UTF-2000.
2420 (detect_coding_big5): Likewise.
2422 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2424 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2425 generate character-id if the CCS property does not have
2426 corresponding predefined character.
2427 (make_builtin_char): Return -1 if corresponding predefined
2428 character is not found.
2429 (Fdecode_char): Return nil if corresponding character is not
2431 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2432 don't map to builtin ucs space.
2434 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2436 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2437 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2439 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2441 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2442 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2443 (Qideograph_gt): Likewise.
2444 (Qideograph_gt_pj_{1..11}): Likewise.
2445 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2446 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2447 `ideograph-gt-pj-11'.
2448 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2449 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2450 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2452 * char-ucs.h (LEADING_BYTE_GT): New macro.
2453 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2454 (MIN_CHAR_GT): Likewise.
2455 (MAX_CHAR_GT): Likewise.
2457 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2459 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2460 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2462 * doprnt.c (unsigned_int_converters): Add `c'.
2463 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2465 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2466 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2468 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2469 (MAX_CHAR_MOJIKYO_0): New macro.
2470 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2472 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2474 * mule-charset.c (Fdefine_char): Delete cemented out code.
2475 (encode_builtin_char_1): Modify for new allocation of builtin
2478 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2480 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2482 * mule-charset.c (Vcharset_ucs_cns): New variable.
2483 (Qucs_cns): New variable.
2484 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2485 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2487 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2489 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2491 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2493 * search.c (search_buffer): Make `charset_base_code' as
2494 character-id >> 6 to eliminate the corresponding last byte in
2495 UTF-8 representation [I'm not sure it is right thing].
2496 (boyer_moore): Likewise.
2498 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2500 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2501 representation in MULE.
2503 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2505 * text-coding.c (Fmake_coding_system): Use
2506 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2507 `EXTERNAL_PROPERTY_LIST_LOOP'.
2509 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2511 * text-coding.c (decode_output_utf8_partial_char): New function.
2512 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2514 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2516 * text-coding.c (decode_coding_utf8): Output original byte
2517 sequence if it is broken; change order of conditions.
2519 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2522 * mb-multibyte.h (BYTE_ASCII_P):
2523 Use bit ops for char-signedness safety.
2524 (BYTE_C0_P): Use bit ops for char-signedness safety.
2525 (BYTE_C1_P): Use bit ops for char-signedness safety.
2527 * character.h: (XCHAR_OR_CHAR_INT):
2528 Always use inline function.
2529 Remove redundant type checking assert() - XINT will abort quite
2532 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2534 * text-coding.c: (Fencode_shift_jis_char):
2535 (Fencode_big5_char):
2536 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2537 Replace 0 with '\0' when working with bytes.
2538 Replace initial "(" with "\(" in docstrings.
2540 (Fmake_coding_system):
2541 When type is ccl and value is vector, register it with a proper
2542 symbol. And checks whether the given ccl program is valid.
2543 (mule_decode): When calling ccl_driver, if src indicates
2544 NULL pointer, set an empty string instead.
2545 (mule_encode): Likewise.
2548 (detect_coding_sjis):
2549 (decode_coding_sjis):
2550 (detect_coding_big5):
2551 (decode_coding_big5):
2552 (detect_coding_ucs4):
2553 (decode_coding_ucs4):
2554 (detect_coding_utf8):
2555 (decode_coding_utf8):
2556 (detect_coding_iso2022):
2557 (decode_coding_iso2022):
2558 (decode_coding_no_conversion):
2560 Make all detecting and decoding functions take an Extbyte * arg.
2561 (text_encode_generic):
2562 (encode_coding_big5):
2563 (encode_coding_no_conversion):
2565 Make all encoding functions take a Bufbyte * arg.
2566 Use size_t instead of unsigned int for memory sizes.
2567 Only cast to unsigned char whenever dereferencing Extbyte *.
2569 (struct lrecord_description fcd_description_1): Use countof.
2570 (complex_vars_of_file_coding):
2571 Use countof instead of sizeof.
2572 Use CHECK_NATNUM instead of CHECK_INT.
2574 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * mule-charset.c (Fget_char_attribute): Add new optional argument
2578 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2579 (remove_char_ccs): Likewise.
2581 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2583 * text-coding.c (char_encode_shift_jis): New implementation in
2585 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2588 * mule-charset.c (Vcharset_chinese_big5): New variable in
2590 (Qchinese_big5): New variable in UTF-2000.
2591 (BIG5_SAME_ROW): New macro in UTF-2000.
2592 (make_builtin_char): Use builtin characters of
2593 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2594 characters of `Vcharset_chinese_big5'.
2595 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2596 (complex_vars_of_mule_charset): Add new coded-charset
2597 `chinese-big5' in UTF-2000.
2599 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2600 (Vcharset_chinese_big5): New external variable declaration.
2601 (Vcharset_japanese_jisx0208_1990): Likewise.
2603 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2605 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2607 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2609 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2611 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2612 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2613 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2616 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2618 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2620 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2622 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2625 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2628 for `CHARSET_BY_ATTRIBUTES'.
2629 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2630 `CHARSET_BY_ATTRIBUTES'.
2632 * text-coding.c (struct decoding_stream): Rename member `CH' to
2634 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2635 (decode_coding_sjis): Likewise.
2636 (decode_coding_big5): Likewise.
2637 (decode_coding_ucs4): Likewise.
2638 (decode_coding_utf8): Likewise.
2639 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2640 `CHARSET_BY_ATTRIBUTES'.
2641 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2642 `str->counter'; decode 3, 4 bytes sets.
2643 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2645 (decode_coding_no_conversion): Use `str->cpos' instead of
2648 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2649 (Qmojikyo_2022_1): New variable.
2650 (make_charset): Don't use `CHARSET_TYPE_*'.
2651 (range_charset_code_point): Support coded-charset
2653 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2654 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2655 `CHARSET_BY_ATTRIBUTES'.
2656 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2657 `CHARSET_BY_ATTRIBUTES'.
2658 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2659 (complex_vars_of_mule_charset): Add new coded-charset
2662 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2663 interface; changed to inline function.
2665 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2666 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2667 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2668 (CHARSET_TYPE_94): Deleted.
2669 (CHARSET_TYPE_94X94): Deleted.
2670 (CHARSET_TYPE_96): Deleted.
2671 (CHARSET_TYPE_96X96): Deleted.
2672 (CHARSET_TYPE_128): Deleted.
2673 (CHARSET_TYPE_128X128): Deleted.
2674 (CHARSET_TYPE_256): Deleted.
2675 (CHARSET_TYPE_256X256): Deleted.
2676 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2678 (DECODE_MOJIKYO_2022): New inline function.
2679 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2680 `Vcharset_mojikyo_2022_1'.
2682 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2684 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2686 (put_byte_table): Likewise.
2687 (char_id_table_equal): Use `get_byte_table' [new implementation].
2689 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2691 * mule-charset.c: Include <limits.h> in UTF-2000.
2692 (BT_UINT8_MIN): New macro in UTF-2000.
2693 (BT_UINT8_MAX): New macro in UTF-2000.
2694 (BT_UINT8_t): New macro in UTF-2000.
2695 (BT_UINT8_nil): New macro in UTF-2000.
2696 (BT_UINT8_unbound): New macro in UTF-2000.
2697 (INT_UINT8_P): New inline function in UTF-2000.
2698 (UINT8_VALUE_P): New inline function in UTF-2000.
2699 (UINT8_ENCODE): New inline function in UTF-2000.
2700 (UINT8_DECODE): New inline function in UTF-2000.
2701 (mark_uint8_byte_table): New function in UTF-2000.
2702 (print_uint8_byte_table): New function in UTF-2000.
2703 (uint8_byte_table_equal): New function in UTF-2000.
2704 (uint8_byte_table_hash): New function in UTF-2000.
2705 (make_uint8_byte_table): New function in UTF-2000.
2706 (uint8_byte_table_same_value_p): New function in UTF-2000.
2707 (BT_UINT16_MIN): New macro in UTF-2000.
2708 (BT_UINT16_MAX): New macro in UTF-2000.
2709 (BT_UINT16_t): New macro in UTF-2000.
2710 (BT_UINT16_nil): New macro in UTF-2000.
2711 (BT_UINT16_unbound): New macro in UTF-2000.
2712 (INT_UINT16_P): New inline function in UTF-2000.
2713 (UINT16_VALUE_P): New inline function in UTF-2000.
2714 (UINT16_ENCODE): New inline function in UTF-2000.
2715 (UINT16_DECODE): New inline function in UTF-2000.
2716 (UINT8_TO_UINT16): New inline function in UTF-2000.
2717 (mark_uint16_byte_table): New function in UTF-2000.
2718 (print_uint16_byte_table): New function in UTF-2000.
2719 (uint16_byte_table_equal): New function in UTF-2000.
2720 (uint16_byte_table_hash): New function in UTF-2000.
2721 (make_uint16_byte_table): New function in UTF-2000.
2722 (uint16_byte_table_same_value_p): New function in UTF-2000.
2723 (print_byte_table): New function in UTF-2000.
2724 (byte-table): Use `print_byte_table' as printer.
2725 (make_byte_table): Delete second argument `older'.
2726 (byte_table_same_value_p): New function in UTF-2000.
2727 (copy_byte_table): Deleted.
2728 (get_byte_table): New function in UTF-2000.
2729 (put_byte_table): New function in UTF-2000.
2730 (print_char_id_table): New function in UTF-2000.
2731 (char-id-table): Use `print_char_id_table' as printer.
2732 (make_char_id_table): Delete second argument `older'.
2733 (get_char_id_table): Use `get_byte_table [new implementation].
2734 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2736 (Ffind_char_attribute_table): New function in UTF-2000.
2737 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2738 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2739 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2740 (syms_of_mule_charset): Add new function
2741 `find-char-attribute-table' in UTF-2000.
2743 * lrecord.h (enum lrecord_type): Add
2744 `lrecord_type_uint16_byte_table' and
2745 `lrecord_type_uint8_byte_table'.
2747 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2748 (Lisp_Uint8_Byte_Table): New type.
2749 (XUINT8_BYTE_TABLE): New macro.
2750 (XSETUINT8_BYTE_TABLE): New macro.
2751 (UINT8_BYTE_TABLE_P): New macro.
2752 (GC_UINT8_BYTE_TABLE_P): New macro.
2753 (struct Lisp_Uint16_Byte_Table): New structure.
2754 (Lisp_Uint16_Byte_Table): New type.
2755 (XUINT16_BYTE_TABLE): New macro.
2756 (XSETUINT16_BYTE_TABLE): New macro.
2757 (UINT16_BYTE_TABLE_P): New macro.
2758 (GC_UINT16_BYTE_TABLE_P): New macro.
2760 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2762 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2763 (Vcharacter_ideographic_strokes_table): Deleted.
2764 (Vcharacter_total_strokes_table): Deleted.
2765 (Vcharacter_morohashi_daikanwa_table): Deleted.
2766 (Vcharacter_decomposition_table): Deleted.
2767 (Qname): Deleted because it is duplicated.
2768 (Qideographic_radical): Deleted.
2769 (Qideographic_strokes): Deleted.
2770 (Qtotal_strokes): Deleted.
2771 (Qmorohashi_daikanwa): Deleted.
2772 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2773 `ideographic-radical', `ideographic-strokes', `total-strokes',
2774 `morohashi-daikanwa' and `->decomposition'.
2775 (Fget_char_attribute): Likewise.
2776 (Fput_char_attribute): Likewise; use `make-vector' instead of
2777 `make_older_vector' for `->decomposition' value.
2778 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2779 `ideograph-daikanwa'.
2780 (syms_of_mule_charset): Delete builtin symbols `name',
2781 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2782 `morohashi-daikanwa'.
2783 (vars_of_mule_charset): Don't setup
2784 `Vcharacter_ideographic_radical_table',
2785 `Vcharacter_ideographic_strokes_table',
2786 `Vcharacter_total_strokes_table',
2787 `Vcharacter_morohashi_daikanwa_table' and
2788 `Vcharacter_decomposition_table'.
2790 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2792 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2793 `make_older_vector', `make_vector_newer_1' and
2794 `make_vector_newer'.
2796 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2797 `make_older_vector' and `make_vector_newer'.
2799 * config.h.in (HAVE_GGC): New macro.
2801 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2803 * mule-charset.c (struct char_attribute_list_closure): New
2804 structure in UTF-2000.
2805 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2806 (Fchar_attribute_list): Likewise.
2807 (Fset_charset_mapping_table): Use `make_vector_newer'.
2808 (Fdecode_builtin_char): New function in UTF-2000.
2809 (syms_of_mule_charset): Add new function `char-attribute-list' and
2810 `decode-builtin-char' in UTF-2000.
2812 * lisp.h (make_vector_newer): New prototype.
2814 * alloc.c (make_vector_newer_1): New function.
2815 (make_vector_newer): New function.
2817 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2819 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2822 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2824 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2825 (Vcharacter_attribute_table): Deleted.
2826 (Vcharacter_name_table): Deleted.
2827 (put_char_attribute): Deleted.
2828 (remove_char_attribute): Deleted.
2829 (struct char_attribute_alist_closure): New structure.
2830 (add_char_attribute_alist_mapper): New function.
2831 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2832 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2833 (Fget_char_attribute): Likewise.
2834 (Fput_char_attribute): Likewise.
2835 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2836 of `remove_char_attribute'.
2837 (Fdefine_char): Return character.
2838 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2839 and `Vcharacter_name_table'.
2840 (complex_vars_of_mule_charset): Likewise
2841 `Vchar_attribute_hash_table'.
2843 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2845 * character.h (CHARC_CHARSET): New macro.
2846 (CHARC_CHARSET_ID): New macro.
2847 (CHARC_CODE_POINT): New macro.
2848 (CHARC_COLUMNS): New macro.
2849 (CHARC_TO_CHAR): New inline function.
2850 (CHARC_EQ): New inline function.
2851 (CHARC_ASCII_EQ): New inline function.
2852 (CHARC_IS_SPACE): New inline function.
2853 (ASCII_TO_CHARC): New inline function.
2855 * char-ucs.h (encode_char_2): Deleted.
2856 (ENCODE_CHAR): Use `encode_char_1' again.
2857 (breakup_char_1): Likewise.
2858 (CHAR_TO_CHARC): New inline function.
2860 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2862 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2865 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2866 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2867 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2868 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2870 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2872 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2874 (x_output_display_block): Use `CHARC_CHARSET' and
2877 * redisplay-tty.c (tty_output_display_block): Use
2879 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2881 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2883 * insdel.c (find_charsets_in_charc_string): Use
2885 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2886 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2887 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2888 (convert_charc_string_into_malloced_string): Likewise.
2890 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2892 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2893 instead of <Emchar_dynarr *> for buf; use
2894 `convert_bufbyte_string_into_charc_dynarr' instead of
2895 `convert_bufbyte_string_into_emchar_dynarr'; use
2896 `find_charsets_in_charc_string' instead of
2897 `find_charsets_in_emchar_string'.
2900 - Include "character.h".
2901 (struct rune): New member `cglyph'; delete member `chr'.
2903 * redisplay.c (redisplay_text_width_charc_string): New function;
2904 delete `redisplay_text_width_emchar_string'.
2905 (rtw_charc_dynarr): New variable; renamed from
2906 `rtw_emchar_dynarr'.
2907 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2908 `rtw_emchar_dynarr'; use
2909 `convert_bufbyte_string_into_charc_dynarr' instead of
2910 `convert_bufbyte_string_into_emchar_dynarr'; use
2911 `redisplay_text_width_charc_string' instead of
2912 `redisplay_text_width_emchar_string'.
2913 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2914 instead of `rtw_emchar_dynarr'; use
2915 `convert_bufbyte_string_into_charc_dynarr' instead of
2916 `convert_bufbyte_string_into_emchar_dynarr'.
2917 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2918 `redisplay_text_width_charc_string' instead of
2919 `redisplay_text_width_emchar_string'.
2920 (create_text_block): Modify for <struct rune> change.
2921 (generate_formatted_string_db): Likewise.
2922 (create_string_text_block): Likewise.
2923 (pixel_to_glyph_translation): Likewise.
2925 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2926 instead of <const Emchar *>.
2927 (x_text_width): Likewise.
2928 (x_output_display_block): Use <Charc_dynarr *> instead
2929 <Emchar_dynarr *>; modify for <structure rune> change.
2930 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2933 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2934 <const Emchar *>; use `charc_string_displayed_columns' instead of
2935 `emchar_string_displayed_columns'.
2936 (tty_output_display_block): Use <Charc_dynarr *> instead of
2937 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2938 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2939 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2940 `tty_output_emchar_dynarr_dynarr'.
2941 (tty_output_charc_dynarr): New function; delete
2942 `tty_output_charc_dynarr'.
2944 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2945 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2946 <Emchar_dynarr *> for buf; use
2947 `convert_bufbyte_string_into_charc_dynarr' instead of
2948 `convert_bufbyte_string_into_emchar_dynarr'.
2950 * frame.c (title_string_charc_dynarr): New variable; renamed from
2951 `title_string_emchar_dynarr'.
2952 (generate_title_string): Use `title_string_charc_dynarr' instead
2953 of `title_string_emchar_dynarr'; use
2954 `convert_charc_string_into_malloced_string' instead of
2955 `convert_emchar_string_into_malloced_string'.
2956 (init_frame): Use `title_string_charc_dynarr' instead of
2957 `title_string_emchar_dynarr'.
2960 - Include "character.h".
2961 (struct console_methods): Use <const Charc *> instead of <const
2962 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2963 <Emchar_dynarr *> in output_string_method.
2965 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2968 * console-stream.c (stream_text_width): Use <const Charc *>
2969 instead of <const Emchar *>.
2971 * character.h (Charc_dynarr): New type.
2973 * char-ucs.h (structure Charc): New structure; define new type
2976 * char-lb.h (DECODE_CHAR): New inline function.
2977 (encode_char_1): New inline function.
2978 (ENCODE_CHAR): New macro.
2979 (structure Charc): New structure; define new type `Charc'.
2981 * char-1byte.h (Vcharset_control_1): New macro.
2982 (Vcharset_latin_iso8859_1): New macro.
2983 (DECODE_CHAR): New inline function.
2984 (encode_char_1): New inline function.
2985 (ENCODE_CHAR): New macro.
2986 (structure Charc): New structure; define new type `Charc'.
2988 * insdel.c (find_charsets_in_charc_string): New function; delete
2989 `find_charsets_in_emchar_string'.
2990 (charc_string_displayed_columns): New function; delete
2991 `emchar_string_displayed_columns'.
2992 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2993 `convert_bufbyte_string_into_emchar_dynarr'.
2994 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2995 `convert_charc_string_into_bufbyte_dynarr'.
2996 (convert_charc_string_into_malloced_string): New function; delete
2997 `convert_charc_string_into_malloced_string'.
2999 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3000 `find_charsets_in_emchar_string'.
3001 (charc_string_displayed_columns): New prototype; delete
3002 `emchar_string_displayed_columns'.
3003 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3004 `convert_charc_string_into_bufbyte_dynarr'.
3005 (convert_charc_string_into_malloced_string): New prototype; delete
3006 `convert_charc_string_into_malloced_string'.
3008 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3010 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3012 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3014 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3016 * char-ucs.h: Use <short> for <Charset_ID>.
3018 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3021 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3023 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3026 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3028 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3030 (Qmorohashi_daikanwa): New variable.
3031 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3032 for `morohashi-daikanwa' attribute.
3033 (Fget_char_attribute): Likewise.
3034 (Fput_char_attribute): Likewise.
3035 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3036 has the same value of `ideograph-daikanwa'.
3037 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3038 (vars_of_mule_charset): Setup
3039 `Vcharacter_morohashi_daikanwa_table'.
3041 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3043 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3045 (add_charset_to_list_mapper): Add `key' instead of
3046 `XCHARSET_NAME (value)' to return aliases.
3048 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3050 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3052 (Vcharacter_ideographic_strokes_table): New variable.
3053 (Qideographic_radical): New variable.
3054 (Qideographic_strokes): New variable.
3055 (Fchar_attribute_alist): Use
3056 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3057 attribute; use `Vcharacter_ideographic_strokes_table' for
3058 `ideographic-strokes' attribute.
3059 (Fget_char_attribute): Likewise.
3060 (Fput_char_attribute): Likewise.
3061 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3062 `ideographic-strokes'.
3063 (vars_of_mule_charset): Setup
3064 `Vcharacter_ideographic_radical_table' and
3065 `Vcharacter_ideographic_strokes_table'.
3067 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3069 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3070 (Qtotal_strokes): New variable.
3071 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3072 `total-strokes' attribute.
3073 (Fget_char_attribute): Likewise.
3074 (Fput_char_attribute): Likewise.
3075 (syms_of_mule_charset): Add new symbol `total-strokes'.
3076 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3078 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3080 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3081 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3083 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3084 `->decomposition' attribute.
3085 (Fput_char_attribute): Likewise.
3086 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3088 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3090 * mule-charset.c (decoding_table_check_elements): New function.
3091 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3093 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3095 * mule-charset.c (Fset_charset_mapping_table): Use
3096 `put_char_ccs_code_point'.
3098 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3100 * mule-charset.c (decoding_table_put_char): New inline function.
3101 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3103 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3105 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3106 (XCHARSET_BYTE_SIZE): New macro.
3107 (decoding_table_remove_char): New inline function.
3108 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3109 `decoding_table_remove_char'.
3110 (remove_char_ccs): Use `decoding_table_remove_char'.
3111 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3113 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3115 * mule-charset.c (Vcharacter_name_table): New variable.
3116 (Qname): New variable.
3117 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3119 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3120 `Vcharacter_name_table' for `name' attribute.
3121 (Fremove_char_attribute): Use function `remove_char_ccs'.
3122 (put_char_ccs_code_point): New function.
3123 (remove_char_ccs): New function.
3124 (syms_of_mule_charset): Add new symbol `name'.
3125 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3127 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3129 * mule-charset.c (make_byte_table): Add new argument `older'.
3130 (make_char_id_table): Likewise.
3131 (copy_char_id_table): Comment out because it is not used.
3132 (put_char_id_table): Modify for `make_byte_table'.
3133 (Fput_char_attribute): Make encoding_table as older object;
3134 inherit older bit of `Vcharacter_composition_table'.
3135 (mark_charset): Don't mark `cs->encoding_table'.
3136 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3137 normal object; make `Vcharacter_composition_table' as an older
3138 object; delete staticpro for `Vcharacter_composition_table'; make
3139 `Vcharacter_variant_table' as a normal object.
3141 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3142 (mark_object): Don't check older object in UTF-2000.
3144 * lrecord.h (struct lrecord_header): Add new member `older' in
3146 (set_lheader_implementation): Setup `SLI_header->older' in
3148 (set_lheader_older_implementation): New macro in UTF-2000.
3149 (OLDER_RECORD_P): New macro in UTF-2000.
3150 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3151 (alloc_older_lcrecord): New prototype in UTF-2000.
3152 (alloc_older_lcrecord_type): New macro in UTF-2000.
3154 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3156 * mule-charset.c (byte_table_description): Use
3157 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3158 (char_id_table_description): Delete bogus `, 1'.
3159 (Fget_char_attribute): Refer encoding_table of each coded-charset
3160 to get value of coded-charset attribute of a character.
3161 (Fput_char_attribute): Use `make_older_vector' instead of
3162 `make_vector'; use encoding_table of each coded-charset to store
3163 value of coded-charset attribute of a character.
3164 (Fremove_char_attribute): Use encoding_table of each coded-charset
3165 to store value of coded-charset attribute of a character.
3166 (mark_charset): Mark `cs->encoding_table'; don't mark
3167 `cs->decoding_table'.
3168 (charset_description): Add description of new member
3170 (make_charset): Initialize `encoding_table'.
3172 * char-ucs.h (struct Lisp_Charset): Add new member
3174 (CHARSET_ENCODING_TABLE): New macro.
3175 (XCHARSET_ENCODING_TABLE): New macro.
3176 (charset_code_point): New implementation.
3177 (encode_char_1): Likewise.
3179 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3180 (disksave_object_finalization_1): Call finalizers of
3181 `all_older_lcrecords' in UTF-2000.
3182 (make_older_vector): New function in UTF-2000.
3183 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3186 * lisp.h (make_older_vector): New prototype in UTF-2000.
3188 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3190 * lrecord.h (enum lrecord_type): Rename
3191 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3193 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3194 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3195 `get_char_code_table'.
3197 * mule-charset.c (mark_char_id_table): Renamed from
3198 `mark_char_code_table'.
3199 (char_id_table_equal): Renamed from `char_code_table_equal'.
3200 (char_id_table_hash): Renamed from `char_code_table_hash'.
3201 (make_char_id_table): Renamed from `make_char_code_table'.
3202 (copy_char_id_table): Renamed from `copy_char_code_table'.
3203 (get_char_id_table): Renamed from `get_char_code_table'.
3204 (put_char_id_table): Renamed from `put_char_code_table'.
3205 (to_char_id): Renamed from `to_char_code'.
3207 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3208 `Lisp_Char_Code_Table'.
3209 (char_id_table): Renamed from `char_code_table'.
3210 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3211 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3212 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3213 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3214 (get_char_id_table): Renamed from `get_char_code_table'.
3216 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3218 * lrecord.h (enum lrecord_type): Rename
3219 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3221 * mule-charset.c (mark_byte_table): Renamed from
3222 `mark_char_byte_table'.
3223 (byte_table_equal): Renamed from `char_byte_table_equal'.
3224 (byte_table_hash): Renamed from `byte_table_hash'.
3225 (make_byte_table): Renamed from `make_byte_table'.
3226 (copy_byte_table): Renamed from `copy_char_byte_table'.
3228 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3229 `Lisp_Char_Byte_Table'.
3230 (byte_table): Renamed from `char_byte_table'.
3231 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3232 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3233 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3234 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3236 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3238 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3239 (dfc_convert_to_internal_format): Likewise.
3241 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3242 * text-coding.c (Fcoding_system_alias_p): New function.
3243 * text-coding.c (Fcoding_system_aliasee): New function.
3244 * text-coding.c (append_suffix_to_symbol): New function.
3245 * text-coding.c (dangling_coding_system_alias_p): New function.
3246 * text-coding.c (Ffind_coding_system):
3247 * text-coding.c (Fcopy_coding_system):
3248 * text-coding.c (encode_coding_no_conversion):
3249 * text-coding.c (syms_of_file_coding):
3250 * text-coding.c (vars_of_file_coding):
3251 Rewrite coding system alias code.
3252 Allow nested aliases, like symbolic links.
3253 Allow redefinition of coding system aliases.
3254 Prevent existence of dangling coding system aliases.
3255 Eliminate convert_to_external_format.
3256 Eliminate convert_to_internal_format.
3258 * text-coding.c: Change enum eol_type to eol_type_t.
3260 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3262 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3263 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3265 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3266 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3268 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3270 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3271 `ideograph-daikanwa'.
3273 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3274 (Vcharset_ucs_bmp): Likewise.
3275 (Vcharset_mojikyo): Add new extern variable definition.
3276 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3277 (Vcharset_latin_iso8859_3): Likewise.
3278 (Vcharset_latin_iso8859_4): Likewise.
3279 (Vcharset_latin_iso8859_9): Likewise.
3280 (Vcharset_latin_viscii_lower): Likewise.
3281 (Vcharset_latin_viscii_upper): Likewise.
3282 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3283 `mojikyo' code-point is used to decode.
3284 (encode_char_2): New function [to convert `mojikyo' code-point to
3285 Mojikyo font encoding].
3286 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3287 (breakup_char_1): Likewise.
3288 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3290 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3292 * text-coding.c (Fmake_coding_system): Add document about
3293 `disable-composition' property.
3295 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3297 * text-coding.c (Qdisable_composition): New variable; delete
3299 (Fmake_coding_system): Add new property `disable-composite';
3300 delete property `composite'.
3301 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3302 instead of `!CODING_SYSTEM_COMPOSITE'.
3303 (syms_of_file_coding): Add new symbol `disable-composition';
3304 delete symbol `composite'.
3306 * file-coding.h (struct Lisp_Coding_System): Add
3307 `disable_composition'; delete `enable_composition'.
3308 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3309 `CODING_SYSTEM_COMPOSITE'.
3310 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3311 `XCODING_SYSTEM_COMPOSITE'.
3313 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3315 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3318 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3320 * text-coding.c (Qcomposite): New variable.
3321 (Fmake_coding_system): Add new property `composite'.
3322 (struct decoding_stream): Add `combined_char_count',
3323 `combined_chars' and `combining_table' in UTF-2000.
3324 (COMPOSE_FLUSH_CHARS): New macro.
3325 (COMPOSE_ADD_CHAR): New macro.
3326 (reset_decoding_stream): Reset `str->combined_char_count' and
3327 `str->combining_table' in UTF-2000.
3328 (decode_coding_iso2022): Modify for character-decomposition.
3329 (syms_of_file_coding): Add new symbol `composite'.
3331 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3333 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3334 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3335 of `Vcharacter_composition_table' if `->decomposition' property
3337 (Qlatin_tcvn5712): New variable.
3338 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3339 (complex_vars_of_mule_charset): Add new coded-charset
3342 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3344 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3346 * file-coding.h (struct Lisp_Coding_System): Add
3347 `enable_composition'.
3348 (CODING_SYSTEM_COMPOSITE): New macro.
3349 (XCODING_SYSTEM_COMPOSITE): New macro.
3351 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3353 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3355 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3357 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3358 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3360 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3362 * mule-charset.c (Vcharset_mojikyo): New variable.
3363 (Fdefine_char): Don't use coded-charset which does not have
3364 non-builtin character range to allocate character-id.
3365 (Qmojikyo): New variable.
3366 (syms_of_mule_charset): Add new symbol `mojikyo'.
3367 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3369 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3370 (LEADING_BYTE_MOJIKYO): New macro.
3371 (MIN_CHAR_MOJIKYO): New macro.
3372 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3373 (MAX_CHAR_MOJIKYO): New macro.
3375 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3377 * mule-charset.c (remove_char_attribute): Fixed.
3379 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3381 * mule-charset.c (remove_char_attribute): New function.
3382 (Fremove_char_attribute): New function.
3383 (encode_builtin_char_1): Comment out builtin-support for
3384 greek-iso8859-7 and cyrillic-iso8859-5.
3385 (Fdecode_char): Check `code' is an integer.
3386 (syms_of_mule_charset): Add `remove-char-attribute'.
3387 (MIN_CHAR_GREEK): Deleted.
3388 (MAX_CHAR_GREEK): Likewise.
3389 (MIN_CHAR_CYRILLIC): Likewise.
3390 (MAX_CHAR_CYRILLIC): Likewise.
3391 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3392 MAX_CHAR_GREEK for `greek-iso8859-7'.
3394 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3395 (MAX_CHAR_GREEK): Likewise.
3396 (MIN_CHAR_CYRILLIC): Likewise.
3397 (MAX_CHAR_CYRILLIC): Likewise.
3399 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3401 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3402 format is used without `ucs' property.
3403 (Fdecode_char): Fix problem with GR representation.
3404 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3405 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3407 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3409 * mule-charset.c (make_builtin_char): New function.
3410 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3411 (Fset_charset_mapping_table): Modify for new representation of
3413 (Fdecode_char): New function.
3414 (syms_of_mule_charset): Add new builtin function `decode-char' in
3417 * char-ucs.h (make_builtin_char): New prototype.
3418 (DECODE_CHAR): New inline function.
3419 (MAKE_CHAR): Use `DECODE_CHAR'.
3421 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3423 * text-coding.c (parse_charset_conversion_specs): Use
3424 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3426 (iso2022_designate): Likewise.
3428 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3429 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3431 * mule-charset.c (Vcharset_ucs): New variable.
3432 (print_charset): Change design; use `CHARSET_CHARS' and
3433 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3434 (make_charset): Change signature to specify `chars' and
3435 `dimension' instead of `type'.
3436 (range_charset_code_point): Modify for 256^n-set.
3437 (encode_builtin_char_1): Encode as `ucs' in default.
3438 (Fmake_charset): Modify for `make_charset'.
3439 (Fmake_reverse_direction_charset): Likewise.
3440 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3442 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3445 * char-ucs.h (Vcharset_ucs): New variable.
3446 (LEADING_BYTE_UCS): New macro.
3447 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3448 and `chars' to `unsigned short' from `unsigned int'.
3449 (CHARSET_TYPE): Deleted.
3450 (XCHARSET_TYPE): Deleted.
3452 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3454 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3456 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3457 (ENCODE_CHAR): New macro.
3459 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3461 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3462 to 0.14 (Kawachi-Katakami).
3464 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3466 * text-coding.c (char_encode_shift_jis): Modify for
3467 `charset_code_point'.
3468 (char_encode_iso2022): Likewise.
3470 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3471 (integer) instead of list of <Lisp_Object>s (integers) as the
3472 format of code-point of a coded-charset.
3473 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3474 (encode_builtin_char_1): New function; delete
3475 `split_builtin_char'.
3476 (charset_code_point): Return <int> instead of <Lisp_Object>.
3477 (Fsplit_char): Don't use `SPLIT_CHAR'.
3479 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3480 prototype for `split_builtin_char'.
3481 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3482 (charset_code_point): Likewise.
3483 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3484 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3486 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3488 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3489 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3491 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3493 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3495 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3496 (MAX_CHAR_OBS_94x94): Deleted.
3498 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3500 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3502 * char-ucs.h (MAX_CHAR_BMP): New macro.
3504 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3506 * text-coding.c: Sync with r21-2-24.
3508 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3510 * file-coding.c: Modify for UTF-2000.
3512 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3514 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3517 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3519 * mule-charset.c (split_builtin_char): Delete builtin support for
3520 `katakana-jisx0201'.
3521 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3522 BMP area in builtin representation.
3524 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3525 `Vcharset_katakana_jisx0201'.
3527 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3529 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3530 (Qisolated): New variable.
3531 (Qinitial): New variable.
3532 (Qmedial): New variable.
3533 (Qfinal): New variable.
3534 (Qvertical): New variable.
3535 (Qsmall): New variable.
3536 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3537 `Qvertical' and `Qsmall'.
3538 (Qmojikyo_pj_[1 .. 21]): New variable.
3539 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3540 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3541 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3544 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3546 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3547 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3548 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3550 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3552 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3553 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3555 (Qjapanese_jisx0208_1990): New variable.
3556 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3557 (complex_vars_of_mule_charset): Add new coded-charset
3558 `japanese-jisx0208-1990'.
3560 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3561 (MIN_CHAR_JIS_X0208_1990): New macro.
3562 (MAX_CHAR_JIS_X0208_1990): New macro.
3564 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3566 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3567 coded-charset is not found.
3569 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3571 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3572 (Fdefine_char): Use `Fmake_char'.
3574 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3576 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3577 (Vcharset_hiragana_jisx0208): Deleted.
3578 (Vcharset_katakana_jisx0208): Deleted.
3579 (Qideograph_daikanwa): New variable.
3580 (Qhiragana_jisx0208): Deleted.
3581 (Qkatakana_jisx0208): Deleted.
3582 (split_builtin_char): Split `ideograph-daikanwa'.
3583 (Fsplit_char): New implementation for UTF-2000.
3584 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3585 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3586 (complex_vars_of_mule_charset): Add new coded-charset
3587 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3588 `katakana-jisx0208'.
3590 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3591 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3592 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3593 (MIN_CHAR_DAIKANWA): New macro.
3594 (MAX_CHAR_DAIKANWA): New macro.
3596 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3598 * data.c (Fstring_to_number): Don't recognize floating point if
3601 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3603 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3605 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3607 * mule-charset.c (Qsquare): New variable.
3608 (to_char_code): Add `Qsquare'.
3609 (syms_of_mule_charset): Add new symbol `square'.
3611 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3613 * mule-charset.c (Qcircle): New variable.
3614 (to_char_code): Add `Qcircle'.
3615 (syms_of_mule_charset): Add new symbol `circle'.
3617 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3619 * mule-charset.c (Qfont): New variable.
3620 (to_char_code): Add `Qfont'.
3621 (syms_of_mule_charset): Add new symbol `font'.
3623 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3625 * mule-charset.c (Qsub): New variable.
3626 (to_char_code): Add `Qsub'.
3627 (syms_of_mule_charset): Add new symbol `sub'.
3629 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3631 * mule-charset.c (Fput_char_attribute): Convert each element of
3632 VALUE to GL position if ATTRIBUTE is a GR-set,
3634 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3636 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3637 coded-charset is a GR-set.
3639 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3641 * mule-charset.c (Fput_char_attribute): Check each element of
3642 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3644 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3646 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3648 (Qethiopic_ucs): New variable in UTF-2000.
3649 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3650 (complex_vars_of_mule_charset): Add new coded-charset
3651 `ethiopic-ucs' in UTF-2000.
3653 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3654 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3656 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3658 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3660 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3662 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3665 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3667 * mule-charset.c (Vcharacter_variant_table): New variable.
3668 (Q_ucs): New variable.
3669 (Fchar_variants): New function.
3670 (Fput_char_attribute): Register `->ucs' value to
3671 `Vcharacter_variant_table'.
3672 (syms_of_mule_charset): Add new function `char-variants' and new
3674 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3676 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3678 * mule-charset.c (get_char_code_table): Allow negative character
3680 (put_char_code_table): Likewise.
3681 (Vcharacter_composition_table): New variable.
3682 (Q_decomposition): New variable.
3683 (Qwide): New variable.
3684 (Qnarrow): New variable.
3685 (Qcompat): New variable.
3686 (QnoBreak): New variable.
3687 (Qsuper): New variable.
3688 (Qfraction): New variable.
3689 (to_char_code): New function.
3690 (Fget_composite_char): New function.
3691 (Fput_char_attribute): Register `->decomposition' value to
3692 `Vcharacter_composition_table'.
3693 (syms_of_mule_charset): Add new function `get-composite-char', new
3694 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3695 `super' and `fraction'.
3696 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3698 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3700 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3701 character; copy the return value.
3703 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3705 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3707 * mule-charset.c (range_charset_code_point): Must use make_int.
3708 (split_builtin_char): New function.
3710 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3712 * mule-charset.c (char_byte_table): Change name from
3713 "char-code-table" to "char-byte-table".
3714 (mark_char_code_table): New function.
3715 (char_code_table_equal): New function.
3716 (char_code_table_hash): New function.
3717 (char_code_table_description): New constant.
3718 (char_code_table): New type.
3719 (make_char_code_table): New function.
3720 (copy_char_code_table): New function.
3721 (get_char_code_table): Modify for `char_code_table' type.
3722 (put_char_code_table): Likewise.
3723 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3726 * char-ucs.h (char_code_table): New type.
3727 (XCHAR_CODE_TABLE): New macro.
3728 (XSETCHAR_CODE_TABLE): New macro.
3729 (CHAR_CODE_TABLE_P): New macro.
3730 (GC_CHAR_CODE_TABLE_P): New macro.
3731 (struct Lisp_Char_Code_Table): New structure.
3733 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3735 * mule-charset.c (Fmake_charset): Setup byte_offset for
3738 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3740 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3743 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3745 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3748 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3750 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3751 charset, it is regarded as a charset.
3752 (put_char_attribute): New function in UTF-2000.
3753 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3754 charset, mapping-table of the charset is modified.
3755 (Fdefine_char): New function in UTF-2000.
3756 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3757 `Fput_char_attribute'.
3758 (syms_of_mule_charset): Add new function `define-char' and new
3759 symbol `ucs' in UTF-2000.
3760 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3762 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3764 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3765 non-UTF-2000 configuration.
3767 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3769 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3770 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3772 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3774 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3775 (Fset_charset_mapping_table): Likewise.
3777 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3778 (CHARSET_ENCODING_TABLE): Delete.
3779 (XCHARSET_ENCODING_TABLE): Delete.
3780 (charset_code_point): New interface.
3782 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3784 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3785 instead of `charset_get_byte1' and `charset_get_byte2'.
3787 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3788 (charset_get_byte2): Deleted.
3790 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3792 * char-ucs.h (SPLIT_CHAR): New inline function.
3793 (breakup_char_1): Use `SPLIT_CHAR'.
3795 * mule-charset.c (range_charset_code_point): New function.
3796 (charset_code_point): New function.
3798 * char-ucs.h (range_charset_code_point): New interface.
3799 (breakup_char_1): Use `range_charset_code_point'.
3801 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3803 * mule-charset.c (Fmake_charset): Delete unused local variable
3806 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3807 (breakup_char_1): Find a charset and code-point in
3808 `Vcharacter_attribute_table'.
3810 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3812 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3815 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3817 * mule-charset.c (Vcharacter_attribute_table): New variable.
3818 (Fchar_attribute_alist): New function.
3819 (Fget_char_attribute): New function.
3820 (Fput_char_attribute): New function.
3821 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3823 (syms_of_mule_charset): Add new function `char-attribute-alist',
3824 `get-char-attribute' and `put-char-attribute'.
3825 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3827 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3829 * mule-charset.c (Fmake_charset): Just use
3830 `get_unallocated_leading_byte'.
3832 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3833 sets; don't use final-byte based number for private sets.
3835 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3837 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3840 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3842 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3845 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3847 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3848 of `CHAR_LEADING_BYTE' in UTF-2000.
3850 * insdel.c (find_charsets_in_bufbyte_string): Use
3851 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3852 (find_charsets_in_emchar_string): Likewise.
3854 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3855 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3857 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3858 (CHAR_CHARSET_ID): New macro.
3860 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3862 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3863 charset-id - MIN_LEADING_BYTE.
3864 (put_char_table): Likewise.
3866 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3868 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3869 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3870 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3871 (CHARSET_ID_OFFSET): New macro.
3872 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3873 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3874 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3875 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3877 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3879 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3880 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3881 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3882 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3883 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3885 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3887 * mule-charset.c (next_allocated_leading_byte): New variable in
3889 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3890 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3891 (get_unallocated_leading_byte): Simply use
3892 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3893 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3896 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3897 (MAX_LEADING_BYTE_PRIVATE): New macro.
3898 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3899 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3901 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3903 * mule-charset.c (Fmake_charset): Allocate final-byte based
3904 charset-id for 94-set, 96-set and 94x94-set.
3906 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3908 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3910 (Fmake_charset): Likewise.
3911 (complex_vars_of_mule_charset): Modify the font registry of
3912 `ucs-bmp' not to match `Ethiopic-Unicode'.
3914 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3916 * mule-charset.c (complex_vars_of_mule_charset): Add font
3917 registory of `ucs-bmp'.
3919 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3921 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3922 coded-charsets in `default-coded-charset-priority-list' when
3923 breaking up a character.
3925 * mule-charset.c (Vcharset_latin_viscii): New variable.
3926 (Qlatin_viscii): New variable.
3927 (make_charset): Don't use `decoding_table'.
3928 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3930 (Fset_charset_mapping_table): New implementation.
3931 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3932 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3933 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3934 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3935 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3936 charset `latin_viscii'.
3938 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3939 (CHARSET_TYPE_94X94): Change to 1 from 2.
3940 (CHARSET_TYPE_96): Change to 2 from 1.
3941 (CHARSET_TYPE_128): New macro.
3942 (CHARSET_TYPE_128X128): Change to 5 from 4.
3943 (CHARSET_TYPE_256): New macro.
3944 (CHARSET_TYPE_256X256): Change to 7 from 5.
3945 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3947 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3949 * text-coding.c (char_encode_shift_jis): Refer
3950 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3951 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3953 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3954 (char_byte_table_equal): New function in UTF-2000.
3955 (char_byte_table_hash): New function in UTF-2000.
3956 (char_byte_table_description): New constant in UTF-2000.
3957 (char_byte_table): New type in UTF-2000.
3958 (make_char_byte_table): New function in UTF-2000.
3959 (copy_char_byte_table): New function in UTF-2000.
3960 (make_char_code_table): New macro in UTF-2000.
3961 (get_char_code_table): New function in UTF-2000.
3962 (put_char_code_table): New function in UTF-2000.
3963 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3964 (charset_description): Add setting in UTF-2000.
3965 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3966 `CHARSET_TO_BYTE1_TABLE(cs)'.
3967 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3968 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3969 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3970 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3971 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3972 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3973 `CHARSET_TO_BYTE2_TABLE(cs)'.
3975 * char-ucs.h (char_byte_table): New type.
3976 (XCHAR_BYTE_TABLE): New macro.
3977 (XSETCHAR_BYTE_TABLE): New macro.
3978 (CHAR_BYTE_TABLE_P): New macro.
3979 (GC_CHAR_BYTE_TABLE_P): New macro.
3980 (struct Lisp_Char_Byte_Table): New structure.
3981 (get_char_code_table): New interface.
3982 (Emchar_to_byte_table): Deleted.
3983 (get_byte_from_character_table): Deleted.
3984 (struct Lisp_Charset): Add `encoding_table'; delete
3985 `to_byte1_table' and `to_byte2_table'.
3986 (CHARSET_ENCODING_TABLE): New macro.
3987 (CHARSET_TO_BYTE1_TABLE): Deleted.
3988 (CHARSET_TO_BYTE2_TABLE): Deleted.
3989 (XCHARSET_ENCODING_TABLE): New macro.
3990 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3991 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3993 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3995 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3996 `vietnamese-viscii-*'.
3998 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4000 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4001 (Qvietnamese_viscii_upper): New variable.
4002 (Fdefine_charset_alias): New function.
4003 (syms_of_mule_charset): Add new function `define-charset-alias'.
4004 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4005 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4008 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4010 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4011 (MAX_CHAR_OBS_94x94): New macro.
4012 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4015 * mule-charset.c (put_byte_from_character_table): Change unit size
4017 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4019 (Fmake_reverse_direction_charset): Modify dummy argument of
4020 `make_charset' for non-UTF-2000 environment.
4022 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4024 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4026 * mule-charset.c (destroy_byte_from_character_table): New macro.
4027 (latin_jisx0201_to_ucs): Deleted.
4028 (latin_iso8859_2_to_ucs): Deleted.
4029 (latin_iso8859_3_to_ucs): Deleted.
4030 (latin_iso8859_4_to_ucs): Deleted.
4031 (latin_iso8859_9_to_ucs): Deleted.
4032 (latin_viscii_lower_to_ucs): Deleted.
4033 (latin_viscii_upper_to_ucs): Deleted.
4034 (mark_charset): Mark `cs->decoding_table'.
4035 (Fcharset_mapping_table): Fix DOC-string.
4036 (Fset_charset_mapping_table): New function.
4037 (syms_of_mule_charset): Add nwe function
4038 `set-charset-mapping-table'.
4039 (complex_vars_of_mule_charset): Don't setup and use
4042 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4044 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4047 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4049 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4050 (Vcharset_katakana_jisx0208): New variable.
4051 (Qhiragana_jisx0208): New variable.
4052 (Qkatakana_jisx0208): New variable.
4053 (make_charset): Add new argument `byte_offset'.
4054 (charset_get_byte1): Modify for new coded-charset definition; use
4055 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4056 `XCHARSET_BYTE_OFFSET'.
4057 (Fmake_charset): Modify for `make_charset'.
4058 (Fmake_reverse_direction_charset): Likewise.
4059 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4060 `katakana-jisx0208'.
4061 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4062 `.' in font registry of charset `katakana-jisx0201',
4063 `latin-jisx0201', `vietnamese-viscii-lower' and
4064 `vietnamese-viscii-upper'; modify DOC-string of charset
4065 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4066 registry of charset `japanese-jisx0208' not to use font for JIS
4067 X0208:1990; add new charset `hiragana-jisx0208' and
4068 `katakana-jisx0208'.
4070 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4071 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4072 (struct Lisp_Charset): Add `byte_offset'.
4073 (CHARSET_BYTE_OFFSET): New macro.
4074 (XCHARSET_UCS_MIN): New macro.
4075 (XCHARSET_UCS_MAX): New macro.
4076 (XCHARSET_CODE_OFFSET): New macro.
4077 (XCHARSET_BYTE_OFFSET): New macro.
4078 (MIN_CHAR_HIRAGANA): New macro.
4079 (MAX_CHAR_HIRAGANA): New macro.
4080 (MIN_CHAR_KATAKANA): New macro.
4081 (MAX_CHAR_KATAKANA): New macro.
4082 (MAKE_CHAR): Modify for new coded-charset definition; use
4083 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4084 `XCHARSET_BYTE_OFFSET'.
4086 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4088 * mule-charset.c (CHAR96): Deleted.
4089 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4091 (latin_iso8859_2_to_ucs): Likewise.
4092 (latin_iso8859_3_to_ucs): Likewise.
4093 (latin_iso8859_4_to_ucs): Likewise.
4094 (latin_iso8859_9_to_ucs): Likewise.
4095 (latin_viscii_lower_to_ucs): Likewise.
4096 (latin_viscii_upper_to_ucs): Likewise.
4097 (latin_tcvn5712_to_ucs): Commented out.
4098 (make_charset): Change type of argument `decoding_table' from
4099 <Emchar*> to <Lisp_Object> [vector of characters].
4100 (Fmake_charset): Modify for `make_charset'.
4101 (Fmake_reverse_direction_charset): Likewise.
4102 (Fcharset_mapping_table): New function in UTF-2000.
4103 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4105 (complex_vars_of_mule_charset): Modify for type change of
4106 `*_to_ucs'; modify for `make_charset'.
4108 * char-ucs.h (struct Lisp_Charset): Change type of
4109 `decoding_table' from <Emchar*> to <Lisp_Object>.
4110 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4112 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4114 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4115 error with non-UTF-2000-Mule.
4117 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4119 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4121 (Vcharset_chinese_cns11643_4): Likewise.
4122 (Vcharset_chinese_cns11643_5): Likewise.
4123 (Vcharset_chinese_cns11643_6): Likewise.
4124 (Vcharset_chinese_cns11643_7): Likewise.
4125 (Qchinese_cns11643_3): Likewise.
4126 (Qchinese_cns11643_4): Likewise.
4127 (Qchinese_cns11643_5): Likewise.
4128 (Qchinese_cns11643_6): Likewise.
4129 (Qchinese_cns11643_7): Likewise.
4130 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4131 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4132 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4133 (complex_vars_of_mule_charset): Likewise.
4135 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4137 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4139 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4140 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4142 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4144 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4146 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4147 (breakup_char_1): Likewise.
4149 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4150 one of them includes the specified character.
4152 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4154 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4156 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4158 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4160 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4162 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4163 definition for non-UTF-2000 Mule.
4164 (latin_iso8859_3_to_ucs): Likewise.
4165 (latin_iso8859_4_to_ucs): Likewise.
4166 (latin_iso8859_9_to_ucs): Likewise.
4167 (latin_jisx0201_to_ucs): Likewise.
4168 (MIN_CHAR_THAI): Likewise.
4169 (MAX_CHAR_THAI): Likewise.
4170 (MIN_CHAR_GREEK): Likewise.
4171 (MAX_CHAR_GREEK): Likewise.
4172 (MIN_CHAR_HEBREW): Likewise.
4173 (MAX_CHAR_HEBREW): Likewise.
4174 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4175 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4176 (MIN_CHAR_CYRILLIC): Likewise.
4177 (MAX_CHAR_CYRILLIC): Likewise.
4179 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4181 * char-ucs.h (breakup_char_1): Use
4182 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4183 thai-tis620 and katakana-jisx0201 area.
4185 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4187 * char-ucs.h (breakup_char_1): Use
4188 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4191 * text-coding.c (reset_encoding_stream): Fixed.
4192 (char_encode_ucs4): Delete `& 255'.
4194 * char-ucs.h (breakup_char_1): Use
4195 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4197 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4199 * file-coding.c (Fmake_coding_system): Don't set up
4200 `codesys->fixed.size'.
4201 (encode_coding_no_conversion): Don't refer
4202 `str->codesys->fixed.size'.
4204 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4206 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4207 (latin_a_char_to_byte1): Deleted.
4208 (latin_a_char_to_byte2): Deleted.
4210 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4212 * mule-charset.c (make_charset): Add new argument `ucs_min',
4213 `ucs_max' and `code_offset'.
4214 (charset_get_byte1): New implementation [delete specific charset
4215 depended implementations].
4216 (Fmake_charset): Modify for `make_charset'.
4217 (Fmake_reverse_direction_charset): Likewise.
4218 (complex_vars_of_mule_charset): Likewise.
4220 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4222 (CHARSET_UCS_MIN): New macro.
4223 (CHARSET_UCS_MAX): New macro.
4224 (CHARSET_CODE_OFFSET): New macro.
4225 (MAKE_CHAR): Delete charset depended definitions [except
4228 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4230 * char-ucs.h (breakup_char_1): Use
4231 `Vdefault_coded_charset_priority_list' for C0-Controls,
4232 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4234 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4236 * char-ucs.h (charset_get_byte1): New function.
4237 (XCHARSET_GET_BYTE1): Deleted.
4238 (charset_get_byte2): New function.
4239 (XCHARSET_GET_BYTE2): Deleted.
4240 (Vdefault_coded_charset_priority_list): New external variable.
4241 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4242 `Vdefault_preferred_coded_charset_list'.
4244 * mule-charset.c (charset_get_byte1): New function.
4245 (charset_get_byte2): New function.
4246 (Vdefault_coded_charset_priority_list): New variable.
4247 (vars_of_mule_charset): Add new variable
4248 `default-coded-charset-priority-list'.
4250 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4252 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4253 (XCHARSET_GET_BYTE2): New inline function.
4254 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4255 `XCHARSET_GET_BYTE2'.
4257 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4259 * mule-charset.c (make_charset): Initialize
4260 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4261 NULL if table is not defined.
4263 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4265 * text-coding.c (char_encode_shift_jis): Use
4266 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4267 `ucs_to_latin_jisx0201'.
4269 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4270 (ucs_to_latin_iso8859_2): Deleted.
4271 (ucs_to_latin_iso8859_3): Deleted.
4272 (ucs_to_latin_iso8859_4): Deleted.
4273 (ucs_to_latin_iso8859_9): Deleted.
4274 (ucs_to_latin_viscii_lower): Deleted.
4275 (ucs_to_latin_viscii_upper): Deleted.
4276 (ucs_to_latin_tcvn5712): Deleted.
4277 (make_charset): Add new argument `decoding_table'; set up
4278 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4279 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4280 `decoding_table' is defined in UTF-2000.
4281 (Fmake_charset): Modify for `make_charset'.
4282 (Fmake_reverse_direction_charset): Likewise.
4283 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4284 and `GENERATE_96_SET'.
4286 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4287 (ucs_to_latin_jisx0201): Deleted.
4288 (latin_iso8859_2_to_ucs): Deleted.
4289 (ucs_to_latin_iso8859_2): Deleted.
4290 (latin_iso8859_3_to_ucs): Deleted.
4291 (ucs_to_latin_iso8859_3): Deleted.
4292 (latin_iso8859_4_to_ucs): Deleted.
4293 (ucs_to_latin_iso8859_4): Deleted.
4294 (latin_iso8859_9_to_ucs): Deleted.
4295 (ucs_to_latin_iso8859_9): Deleted.
4296 (latin_viscii_lower_to_ucs): Deleted.
4297 (ucs_to_latin_viscii_lower): Deleted.
4298 (latin_viscii_upper_to_ucs): Deleted.
4299 (ucs_to_latin_viscii_upper): Deleted.
4300 (struct Lisp_Charset): Renamed `encoding_table' to
4301 `to_byte1_table'; add `to_byte2_table'.
4302 (CHARSET_DECODING_TABLE): New macro.
4303 (CHARSET_TO_BYTE1_TABLE): New macro.
4304 (CHARSET_TO_BYTE2_TABLE): New macro.
4305 (XCHARSET_DECODING_TABLE): New macro.
4306 (XCHARSET_TO_BYTE1_TABLE): New macro.
4307 (XCHARSET_TO_BYTE2_TABLE): New macro.
4308 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4310 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4311 don't use `ucs_to_*' tables.
4313 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4315 * text-coding.c (Fmake_coding_system): Don't set up
4316 `codesys->fixed.size'.
4317 (encode_coding_no_conversion): Use `if' instead of `switch'.
4319 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4321 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4323 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4324 (Fmake_charset): Modify for `make_charset'.
4325 (Fmake_reverse_direction_charset): Likewise.
4326 (complex_vars_of_mule_charset): Likewise.
4328 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4330 * text-coding.c (char_encode_shift_jis): Use table
4331 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4333 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4335 * text-coding.c (text_encode_generic): Use `if' instead of
4337 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4340 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4342 * text-coding.c (encode_coding_sjis): Deleted.
4343 (char_encode_shift_jis): New function.
4344 (char_finish_shift_jis): New function.
4345 (reset_encoding_stream): Set up `encode_char' and `finish' for
4346 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4347 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4348 (char_encode_utf8): Treat `eol_type'.
4350 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4352 * file-coding.c (decode_coding_iso2022): Use
4353 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4355 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4357 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4360 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4362 * char-lb.h (CHAR_COLUMNS): New macro.
4364 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4366 * text-coding.c (char_encode_ucs4): New function.
4367 (char_finish_ucs4): New function.
4368 (encode_coding_ucs4): Deleted.
4369 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4370 (text_encode_generic): Delete local variable `charset' and `half'.
4371 (ucs_to_mule_table): Deleted.
4372 (mule_to_ucs_table): Deleted.
4373 (Fset_ucs_char): Deleted.
4374 (ucs_to_char): Deleted.
4375 (Fucs_char): Deleted.
4376 (Fset_char_ucs): Deleted.
4377 (Fchar_ucs): Deleted.
4378 (decode_ucs4): Deleted.
4379 (mule_char_to_ucs4): Deleted.
4380 (encode_ucs4): Deleted.
4381 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4382 (decode_coding_utf8): Likewise.
4383 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4384 (char_encode_iso2022): Fixed.
4385 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4386 `Fset_char_ucs' and `Fchar_ucs'.
4387 (complex_vars_of_file_coding): Don't initialize
4388 `ucs_to_mule_table'.
4390 * objects-tty.c (tty_initialize_font_instance): Don't use
4393 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4396 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4397 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4399 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4400 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4401 (emchar_string_displayed_columns): Likewise.
4403 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4404 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4405 (string_column_at_point): Likewise.
4406 (Fmove_to_column): Likewise.
4408 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4409 `encoding_table' and `decoding_table'.
4410 (CHARSET_REP_BYTES): Deleted.
4411 (XCHARSET_REP_BYTES): Deleted.
4412 (XCHARSET_COLUMNS): Deleted.
4413 (CHAR_COLUMNS): New macro.
4414 (lookup_composite_char): Deleted unconditionally.
4415 (composite_char_string): Likewise.
4417 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4419 * char-ucs.h (Emchar_to_byte_table): New type.
4420 (get_byte_from_character_table): New function interface.
4421 (Vcharset_latin_jisx0201): New variable.
4422 (latin_jisx0201_to_ucs): New variable.
4423 (ucs_to_latin_jisx0201): New variable.
4424 (Vcharset_latin_iso8859_2): New variable.
4425 (latin_iso8859_2_to_ucs): New variable.
4426 (ucs_to_latin_iso8859_2): New variable.
4427 (Vcharset_latin_iso8859_3): New variable.
4428 (latin_iso8859_3_to_ucs): New variable.
4429 (ucs_to_latin_iso8859_3): New variable.
4430 (Vcharset_latin_iso8859_4): New variable.
4431 (latin_iso8859_4_to_ucs): New variable.
4432 (ucs_to_latin_iso8859_4): New variable.
4433 (Vcharset_latin_iso8859_9): New variable.
4434 (latin_iso8859_9_to_ucs): New variable.
4435 (ucs_to_latin_iso8859_9): New variable.
4436 (Vcharset_latin_viscii_lower): New variable.
4437 (latin_viscii_lower_to_ucs): New variable.
4438 (ucs_to_latin_viscii_lower): New variable.
4439 (Vcharset_latin_viscii_upper): New variable.
4440 (latin_viscii_upper_to_ucs): New variable.
4441 (ucs_to_latin_viscii_upper): New variable.
4442 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4443 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4444 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4445 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4446 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4447 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4448 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4449 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4450 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4451 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4453 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4454 (Vcharset_latin_viscii_upper): New variable.
4455 (make_byte_from_character_table): New function.
4456 (put_byte_from_character_table): New function.
4457 (get_byte_from_character_table): New function.
4458 (CHAR96): New macro.
4459 (ucs_to_latin_jisx0201): New variable.
4460 (latin_jisx0201_to_ucs): New variable.
4461 (ucs_to_latin_iso8859_2): New variable.
4462 (latin_iso8859_2_to_ucs): New variable.
4463 (ucs_to_latin_iso8859_3): New variable.
4464 (latin_iso8859_3_to_ucs): New variable.
4465 (ucs_to_latin_iso8859_4): New variable.
4466 (latin_iso8859_4_to_ucs): New variable.
4467 (ucs_to_latin_iso8859_9): New variable.
4468 (latin_iso8859_9_to_ucs): New variable.
4469 (ucs_to_latin_viscii_lower): New variable.
4470 (latin_viscii_lower_to_ucs): New variable.
4471 (ucs_to_latin_viscii_upper): New variable.
4472 (latin_viscii_upper_to_ucs): New variable.
4473 (ucs_to_latin_tcvn5712): New variable.
4474 (latin_tcvn5712_to_ucs): New variable.
4475 (Qlatin_viscii_lower): New variable.
4476 (Qlatin_viscii_upper): New variable.
4477 (syms_of_mule_charset): Set up new symbol
4478 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4479 (complex_vars_of_mule_charset): Set up new charset
4480 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4481 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4482 `ucs_to_<CHARSET>' tables.
4484 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4486 * text-coding.c: New file.
4488 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4490 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4492 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4493 (MAKE_CHAR): Modify for `ucs-bmp'.
4494 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4495 non-MULE characters of BMP.
4497 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4499 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4502 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4505 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4506 - Include character.h for `CHAR_ASCII_P'.
4508 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4510 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4511 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4513 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4514 (BYTE_C0_P): Likewise.
4515 (BYTE_C1_P): Likewise.
4516 (Lstream_get_emchar_1): Likewise.
4517 (Lstream_fput_emchar): Likewise.
4518 (Lstream_funget_emchar): Likewise.
4519 (copy_internal_to_external): Likewise.
4520 (copy_external_to_internal): Likewise.
4522 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4523 (BYTE_C0_P): Likewise.
4524 (BYTE_C1_P): Likewise.
4525 (Lstream_get_emchar_1): Likewise.
4526 (Lstream_fput_emchar): Likewise.
4527 (Lstream_funget_emchar): Likewise.
4528 (copy_internal_to_external): Likewise.
4529 (copy_external_to_internal): Likewise.
4531 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4532 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4534 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4535 (BYTE_ASCII_P): Moved to mb-1byte.h.
4537 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4539 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4541 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4542 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4543 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4544 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4545 (VALIDATE_CHARPTR_FORWARD): Likewise.
4546 (simple_charptr_emchar): Moved to mb-multibyte.h.
4547 (simple_set_charptr_emchar): Likewise.
4548 (simple_charptr_copy_char): Likewise.
4549 (non_ascii_charptr_emchar): Likewise.
4550 (non_ascii_set_charptr_emchar): Likewise.
4551 (non_ascii_charptr_copy_char): Likewise.
4552 (charptr_emchar): Moved to mb-*byte.h.
4553 (set_charptr_emchar): Likewise.
4554 (charptr_copy_char): Likewise.
4556 * mb-1byte.h, mb-multibyte.h: New files.
4558 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4560 * mb-utf-8.h (MULTIBYTE): New macro.
4561 (MAX_EMCHAR_LEN): Moved from buffer.h.
4562 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4564 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4566 * mb-lb.h, multibyte.h: New files.
4568 * char-1byte.h (Charset_ID): Moved from buffer.h.
4569 (MIN_LEADING_BYTE): Likewise.
4570 (LEADING_BYTE_ASCII): Likewise.
4571 (NUM_LEADING_BYTES): Likewise.
4572 (CHARSETP): Likewise.
4573 (CHARSET_BY_LEADING_BYTE): Likewise.
4574 (XCHARSET_LEADING_BYTE): Likewise.
4575 (XCHARSET_GRAPHIC): Likewise.
4576 (XCHARSET_COLUMNS): Likewise.
4577 (XCHARSET_DIMENSION): Likewise.
4578 (CHAR_CHARSET): Likewise.
4579 (CHAR_LEADING_BYTE): Likewise.
4580 (BREAKUP_CHAR): Likewise.
4581 (Vcharset_ascii): Likewise.
4583 * buffer.h: Include multibyte.h unconditionally.
4584 (VALID_CHARPTR_P): Moved to multibyte.h.
4585 (ASSERT_VALID_CHARPTR): Likewise.
4586 (REAL_INC_CHARPTR): Likewise.
4587 (REAL_INC_CHARBYTIND): Likewise.
4588 (REAL_DEC_CHARPTR): Likewise.
4589 (INC_CHARPTR): Likewise.
4590 (INC_CHARBYTIND): Likewise.
4591 (DEC_CHARPTR): Likewise.
4592 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4593 (VALIDATE_CHARPTR_FORWARD): Likewise.
4594 (charptr_n_addr): Likewise.
4595 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4596 (simple_charptr_emchar): Moved to multibyte.h.
4597 (simple_set_charptr_emchar): Likewise.
4598 (simple_charptr_copy_char): Likewise.
4599 (non_ascii_charptr_emchar): Likewise.
4600 (non_ascii_set_charptr_emchar): Likewise.
4601 (non_ascii_charptr_copy_char): Likewise.
4602 (charptr_emchar): Likewise.
4603 (set_charptr_emchar): Likewise.
4604 (charptr_copy_char): Likewise.
4605 (charptr_emchar_n): Likewise.
4606 (Charset_ID): Moved to char-1byte.h.
4607 (Vcharset_ascii): Likewise.
4608 (CHAR_CHARSET): Likewise.
4609 (CHAR_LEADING_BYTE): Likewise.
4610 (LEADING_BYTE_ASCII): Likewise.
4611 (NUM_LEADING_BYTES): Likewise.
4612 (MIN_LEADING_BYTE): Likewise.
4613 (CHARSETP): Likewise.
4614 (CHARSET_BY_LEADING_BYTE): Likewise.
4615 (XCHARSET_LEADING_BYTE): Likewise.
4616 (XCHARSET_GRAPHIC): Likewise.
4617 (XCHARSET_COLUMNS): Likewise.
4618 (XCHARSET_DIMENSION): Likewise.
4619 (BREAKUP_CHAR): Likewise.
4621 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4623 * character.h: Add document about interface for characters.
4625 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4626 (MAKE_CHAR): Delete comment about
4627 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4628 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4629 (BREAKUP_CHAR): Modify name of arguments.
4630 (CHAR_CHARSET): Modify name of argument.
4632 * buffer.h: Delete document about Emchar accessors.
4634 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4636 * character.h (CHAR_INTP): Moved from buffer.h
4637 (CHAR_OR_CHAR_INTP): Likewise.
4638 (XCHAR_OR_CHAR_INT): Likewise.
4639 (CHECK_CHAR_COERCE_INT): Likewise.
4641 * buffer.h (CHAR_INTP): Moved to character.h
4642 (CHAR_OR_CHAR_INTP): Likewise.
4643 (XCHAR_OR_CHAR_INT): Likewise.
4644 (CHECK_CHAR_COERCE_INT): Likewise.
4646 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4649 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4650 - Include char-1byte.h, char-lb.h or char-ucs.h.
4652 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4654 * buffer.h: Include character unconditionally.
4655 (valid_char_p): Moved to char-*.h.
4656 (non_ascii_valid_char_p): Moved to char-lb.h.
4658 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4660 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4662 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4663 in UTF-2000 because it is not ported yet and not to use
4664 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4665 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4666 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4668 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4669 (CHAR_ASCII_P): Moved from character.h.
4671 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4672 (CHAR_ASCII_P): Likewise.
4673 (CHAR_FIELD1_MASK): Deleted.
4674 (CHAR_FIELD2_MASK): Deleted.
4675 (CHAR_FIELD3_MASK): Deleted.
4676 (MAX_CHAR_BASIC_LATIN): New macro.
4677 (CHAR_FIELD1): Deleted.
4678 (CHAR_FIELD2_INTERNAL): Deleted.
4679 (CHAR_FIELD3_INTERNAL): Deleted.
4680 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4681 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4682 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4683 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4684 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4685 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4686 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4687 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4688 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4689 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4690 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4691 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4692 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4693 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4694 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4695 (MIN_CHAR_COMPOSITION): Deleted.
4696 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4697 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4699 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4701 * buffer.h: Include mb-utf-8.h in UTF-2000.
4703 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4705 * mb-utf-8.h: New file.
4707 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4709 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4712 * mule-charset.h, buffer.h (Charset_ID): New type.
4714 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4716 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4717 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4718 instead of `MULE_CHAR_PRIVATE_OFFSET',
4719 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4720 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4721 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4723 * character.h (Vcharset_japanese_jisx0212): New variable
4726 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4728 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4729 (charset_by_attributes): Delete array about direction.
4730 (latin_a_char_to_charset): New variable in UTF-2000.
4731 (latin_a_char_to_byte1): New variable in UTF-2000.
4732 (latin_a_char_to_byte2): New variable in UTF-2000.
4733 (Qucs_bmp): New variable.
4734 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4736 (next_allocated_2_byte_leading_byte): Likewise.
4737 (non_ascii_set_charptr_emchar): Likewise.
4738 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4739 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4740 `charset_by_attributes'.
4741 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4742 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4743 and `CHARSET_BY_LEADING_BYTE'.
4744 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4745 `utf-2000-version' to `vars_of_mule_charset'.
4746 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4747 define `leading-code-private-11' in UTF-2000; move setting of
4748 `utf-2000-version' from `syms_of_mule_charset'.
4749 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4752 * character.h (Charset_ID): New type.
4753 (LEADING_BYTE_UCS_BMP): New macro.
4754 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4755 (CHARSET_ID_OFFSET_94): New macro.
4756 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4757 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4758 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4760 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4761 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4762 (CHARSET_ID_OFFSET_96): New macro.
4763 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4764 CHARSET_ID_OFFSET_96 and final-byte.
4765 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4766 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4767 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4768 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4769 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4770 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4771 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4772 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4773 (LEADING_BYTE_THAI_TIS620): Likewise.
4774 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4775 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4776 (CHARSET_ID_OFFSET_94x94): New macro.
4777 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4778 CHARSET_ID_OFFSET_94x94 and final-byte.
4779 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4780 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4781 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4782 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4783 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4784 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4785 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4786 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4787 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4788 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4789 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4790 (CHARSET_TYPE_128X128): New macro.
4791 (CHARSET_TYPE_256X256): New macro.
4792 (XCHARSET_PRIVATE_P): Delete unconditionally.
4793 (charset_by_attributes): Delete array about direction.
4794 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4795 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4796 (MIN_CHAR_94): New macro.
4797 (MAX_CHAR_94): New macro.
4798 (MIN_CHAR_96): New macro.
4799 (MAX_CHAR_96): New macro.
4800 (MIN_CHAR_94x94): New macro.
4801 (MAX_CHAR_94x94): New macro.
4802 (MIN_CHAR_96x96): New macro.
4803 (MAX_CHAR_96x96): New macro.
4804 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4805 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4806 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4808 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4809 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4810 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4811 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4812 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4813 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4814 `XCHARSET_LEADING_BYTE' to make code-point.
4815 (latin_a_char_to_charset): New variable.
4816 (latin_a_char_to_byte1): New variable.
4817 (latin_a_char_to_byte2): New variable.
4818 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4819 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4820 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4822 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4823 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4824 (find_charsets_in_emchar_string): Likewise.
4825 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4827 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4829 (decode_coding_iso2022): Likewise.
4831 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4834 * redisplay.c (redisplay_text_width_emchar_string): Use
4835 `Charset_ID' instead of `unsigned char'.
4836 (redisplay_frame_text_width_string): Likewise.
4838 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4841 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4842 instead of `unsigned char'.
4843 (face_cachel_charset_font_metric_info): Likewise.
4845 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4846 (get_non_ascii_char_table_value): Likewise.
4847 (get_char_table): Likewise.
4848 (put_char_table): Likewise.
4849 (map_over_other_charset): Likewise.
4850 (map_char_table): Likewise.
4852 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4853 instead of `unsigned char'.
4855 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4857 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4858 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4860 * mule-charset.c (leading_code_private_11): Don't define in
4863 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4864 in UTF-2000 because it is not ported yet and not to use
4865 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4867 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4869 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4871 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4873 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4876 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4877 of unsigned char to store leading-byte.
4879 * chartab.c (get_non_ascii_char_table_value): Don't use
4880 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4882 * file-coding.c (encode_coding_big5): Delete bogus implementation
4885 * character.h (LEADING_BYTE_*): Delete definition for
4887 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4888 (LEADING_BYTE_PREFIX_P): Deleted.
4889 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4890 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4891 (BUFBYTE_LEADING_BYTE_P): Deleted.
4892 (CHARSET_PRIVATE_P): Deleted unconditionally.
4893 (rep_bytes_by_first_byte): Deleted unconditionally.
4894 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4895 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4896 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4897 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4898 (CHAR_FIELD2): Deleted.
4899 (CHAR_FIELD3): Deleted.
4900 (MAKE_CHAR): Delete definition for non-UTF-2000.
4901 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4902 (breakup_char_1): New implementation.
4903 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4904 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4906 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4908 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4911 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4913 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4914 (CHARSET_PRIVATE_P): Likewise.
4915 (XCHARSET_PRIVATE_P): Likewise.
4916 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4918 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4920 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4922 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4924 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4925 (NUM_LEADING_BYTES): Changed from 128 to 256.
4926 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4927 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4929 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4931 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4933 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4934 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4935 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4936 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4937 (Qchinese_cns11643_3): New variable in UTF2000.
4938 (Qchinese_cns11643_4): New variable in UTF2000.
4939 (Qchinese_cns11643_5): New variable in UTF2000.
4940 (Qchinese_cns11643_6): New variable in UTF2000.
4941 (Qchinese_cns11643_7): New variable in UTF2000.
4942 (syms_of_mule_charset): Define `chinese-cns11643-3',
4943 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4944 and `chinese-cns11643-7' in UTF2000.
4945 (vars_of_mule_charset): Initialize
4946 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4948 (complex_vars_of_mule_charset): Setup charset
4949 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4950 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4952 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4954 * mule-charset.c: Move setting for `leading-code-private-11' from
4955 `syms_of_mule_charset' to `vars_of_mule_charset'.
4957 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4959 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4960 and `NUM_LEADING_BYTES' in assert.
4962 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4964 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4966 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4967 `NUM_LEADING_BYTES' instead of 128.
4969 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4971 * mule-charset.h (charset_by_leading_byte): Use
4972 `NUM_LEADING_BYTES' instead of 128.
4973 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4975 * mule-charset.c (charset_by_leading_byte): Use
4976 `NUM_LEADING_BYTES' instead of 128.
4977 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4979 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4982 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4984 * mule-charset.c (syms_of_mule_charset): Update to
4987 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4989 * file-coding.c (encode_coding_sjis): New implementation for
4990 UTF2000. (decode_coding_sjis): Ditto.
4992 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4994 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4995 Don't define in UTF2000.
4997 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5000 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5001 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5004 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5006 * config.h.in (CHAR_IS_UCS4): New macro.
5008 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5009 conventional MULE representation.
5010 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5012 * mule-charset.h: Reverted to original.
5014 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5015 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5016 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5018 * character.h: New file.
5020 * file-coding.c (Fmake_coding_system): Set 1 to
5021 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5023 (encode_coding_no_conversion): New implementation for UTF2000.
5025 * file-coding.h (struct Lisp_Coding_System): Add new member
5028 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5030 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5031 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5032 (encode_coding_iso2022): New implementation for UTF2000.
5034 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5036 * mule-canna.c (c2mu): New implementation for UTF2000.
5039 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5041 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5043 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5045 * file-coding.c (reset_encoding_stream): Set 0 to
5046 `str->iso2022.current_char_boundary' in UTF2000.
5047 (encode_utf8): Don't define in UTF2000.
5048 (encode_coding_utf8): New implementation for UTF-8 representation
5050 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5052 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5054 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5056 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5058 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5060 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5062 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5063 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5064 as UTF-8 in UTF2000.
5065 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5066 (non_ascii_valid_char_p): Don't define in UTF2000.
5067 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5068 (Lstream_get_emchar_1): Likewise.
5069 (utf-2000-version): New variable in UTF2000.
5071 * lread.c (read_escape): Add new reader `u'.
5073 * insdel.c (three_to_one_table): Don't define in UTF2000.
5074 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5075 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5077 (bytind_to_bufpos_func): Likewise.
5078 (buffer_mule_signal_inserted_region): Likewise.
5079 (vars_of_insdel): Don't initialize `three_to_one_table'.
5080 (init_buffer_text): Use `buf->text->mule_size' instead of
5081 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5084 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5085 UTF-8 representation in UTF2000.
5086 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5087 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5088 (decode_coding_iso2022): Don't define local variable `lb' in
5089 UTF2000; don't use LEADING_BYTE in UTF2000; use
5090 `DECODE_ADD_UCS_CHAR' in UTF2000.
5091 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5093 * config.h.in (UTF2000): New macro.
5095 * buffer.h (struct buffer_text): Add new member `mule_size' and
5096 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5097 (valid_char_p): Return always 1 in UTF2000.
5098 (MAX_EMCHAR_LEN): 6 in UTF2000.
5099 (three_to_one_table): Don't define in UTF2000.
5100 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5102 (real_bytind_to_bufpos): Likewise.
5104 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5106 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5108 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5109 representation change.
5110 (Vutf_2000_version): New variable.
5111 (leading_code_private_11): New variable.
5112 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5113 `leading-code-private-11'.
5115 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5116 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5117 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5118 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5119 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5120 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5121 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5122 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5123 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5124 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5125 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5126 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5127 (MIN_CHAR_GREEK): New macro.
5128 (MAX_CHAR_GREEK): New macro.
5129 (MIN_CHAR_CYRILLIC): New macro.
5130 (MAX_CHAR_CYRILLIC): New macro.
5131 (MIN_CHAR_HEBREW): New macro.
5132 (MAX_CHAR_HEBREW): New macro.
5133 (MIN_CHAR_THAI): New macro.
5134 (MAX_CHAR_THAI): New macro.
5135 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5136 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5137 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5138 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5139 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5140 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5141 (CHAR_FIELD2): New inline function.
5142 (CHAR_FIELD3): New inline function.
5143 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5144 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5145 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5146 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5147 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5148 (MIN_CHAR_COMPOSITION): Likewise.
5149 (CHAR_LEADING_BYTE): Modified for character representation change.
5150 (MAKE_CHAR): Likewise.
5152 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5153 (Vcharset_greek_iso8859_7): Likewise.
5154 (Vcharset_cyrillic_iso8859_5): Likewise.
5155 (Vcharset_hebrew_iso8859_8): Likewise.
5156 (Vcharset_thai_tis620): Likewise.
5157 (Vcharset_katakana_jisx0201): Likewise.
5159 2003-09-03 Vin Shelton <acs@xemacs.org>
5161 * XEmacs 21.4.14 is released
5163 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5165 * config.h.in (REGEX_MALLOC): Make it configure'able.
5167 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5169 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5171 * sysdll.c (dll_init):
5172 * sysdll.c (dll_open):
5173 * sysdll.c (dll_close):
5174 * sysdll.c (dll_function):
5175 * sysdll.c (dll_variable):
5176 * sysdll.c (dll_error):
5177 Add support for loading bundles using Darwin/MacOSX
5180 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5182 * process.c (start-process-internal): Document coding systems.
5184 2003-07-30 Jerry James <james@xemacs.org>
5186 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5188 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5190 * event-msw.c (mswindows_enqueue_mouse_button_event):
5191 * event-msw.c (mswindows_wnd_proc):
5192 enqueue button event when scrollwheel event isn't handled by
5193 mswindows_handle_mousewheel_event, such as when the scrollbars
5196 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5198 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5200 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5202 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5204 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5206 * regex.c (re_match_2_internal): Fix matching degenerate word
5209 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5211 * XEmacs 21.4.13 is released
5213 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5215 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5216 * lisp.h (<inttypes.h>):
5217 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5220 2003-03-15 Martin Buchholz <martin@xemacs.org>
5222 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5223 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5224 Result: "temacs can only be run in -batch mode."
5225 Fix: Check xemacs executable candidate for directory-ness.
5227 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5229 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5230 they conflict with <sys/types.h>.
5232 2003-02-14 Martin Buchholz <martin@xemacs.org>
5234 * database.c: Berkeley DB wants __STDC__ to be defined.
5236 2003-02-13 Martin Buchholz <martin@xemacs.org>
5238 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5240 2003-02-01 Martin Buchholz <martin@xemacs.org>
5242 * process-unix.c (unix_send_process): Fix C++ compile error.
5244 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5246 * Added .dylib as an acceptable shared library file extension
5247 * to support MacOSX.
5249 2003-02-01 Martin Buchholz <martin@xemacs.org>
5251 * EmacsFrameP.h (EmacsFramePart):
5252 Kludge to allow compiling with Motif1, but linking with Motif2.
5254 2003-01-28 Martin Buchholz <martin@xemacs.org>
5256 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5259 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5261 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5263 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5265 * sysdll.c: Included lisp.h to define needed alloca_array.
5267 2003-02-13 Martin Buchholz <martin@xemacs.org>
5269 Make XEmacs redisplay 10 times faster.
5270 If, that is, you're using a slow X connection and MoveOpaque.
5271 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5272 Use compress_motion = TRUE.
5273 * EmacsFrame.c (emacsFrameClassRec):
5274 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5275 * EmacsManager.c (emacsManagerClassRec):
5276 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5278 2003-01-30 Vin Shelton <acs@xemacs.org>
5280 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5282 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5284 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5285 Patch by Martin Buchholz.
5287 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5289 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5290 Thanks to icc for warning and Martin Buchholz for reporting.
5292 2003-01-29 Vin Shelton <acs@xemacs.org>
5294 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5296 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5297 remember to multiply by the element size.
5299 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5301 * XEmacs 21.4.12 "Portable Code" is released.
5303 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5305 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5306 * s/cygwin.sc: new linker file.
5308 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5310 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5312 * redisplay-x.c (x_output_string): Use X11-specified types.
5313 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5314 * emacs.c (__free_hook): Use typeof with Intel compiler.
5315 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5317 2003-01-08 Andy Piper <andy@xemacs.org>
5319 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5320 reserve size during unexec().
5322 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5324 * process-unix.c (unix_create_process): Don't let outchannel block.
5326 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5328 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5329 Needed for IsBadReadPtr().
5331 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5333 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5335 2002-12-14 Ben Wing <ben@xemacs.org>
5337 * callint.c: Declaration error.
5339 * dumper.c (pdump_load): Warning fix.
5340 * process.c: GCPRO error.
5341 * glyphs.c (unmap_subwindow):
5342 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5343 * event-stream.c (maybe_kbd_translate): Wrong argument to
5344 character_to_event().
5346 * alloc.c (garbage_collect_1):
5348 * emacs.c (debug_can_access_memory):
5349 * emacs.c (fatal_error_signal):
5350 * emacs.c (mswindows_handle_hardware_exceptions):
5353 * emacs.c (assert_failed):
5354 * emacs.c (syms_of_emacs):
5357 * print.c (std_handle_out_va):
5358 * print.c (write_string_to_stdio_stream):
5359 * print.c (write_fmt_string):
5360 * print.c (printing_badness):
5361 * print.c (printing_major_badness):
5362 * print.c (print_internal):
5363 * print.c (debug_print_no_newline):
5364 * print.c (debug_backtrace):
5365 Be more defensive in handling bad values when printing. Add code
5366 from trunk involving inhibit_non_essential_printing_operations.
5367 When going down or in debug_print(), don't do external conversion
5368 and such and try really, really hard when printing to avoid core
5369 dumping. Add force-debugging-signal, debug_break().
5371 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5373 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5374 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5376 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5378 * database.c: Fix open_database. Berkeley DB API has changed in
5379 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5381 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5383 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5385 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5387 * event-Xt.c (Xt_timeout):
5388 (Xt_timeout_callback):
5389 (emacs_Xt_add_timeout):
5390 (emacs_Xt_remove_timeout):
5391 (Xt_timeout_to_emacs_event):
5392 Turn completed_timeouts from a stack into a queue. Fixes
5393 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5395 2002-11-07 Wolfram Gloger <wg@malloc.de>
5397 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5398 * emacs.c (main): Assert that mmap'd allocation is disabled.
5400 2002-10-14 Andy Piper <andy@xemacs.org>
5402 * glyphs-widget.c (layout_query_geometry): add in fiddle
5403 factor. Include border text in width layout calculation.
5404 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5406 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5408 * XEmacs 21.4.10 "Military Intelligence" is released.
5410 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5412 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5413 using the NAS private array SoundFileInfo that no longer exists in
5414 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5415 and earlier. This is broken for some versions between 1.5a and
5418 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5420 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5422 * emacs.c (shut_down_emacs): Improve crash message.
5424 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5426 * file-coding.c (determine_real_coding_system): Check for coding
5427 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5428 shebangs and Python PEP 263.
5430 2002-10-08 Andy Piper <andy@xemacs.org>
5432 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5433 if static sizes haven't been set.
5435 2002-08-30 Mike Alexander <mta@arbortext.com>
5437 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5440 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5442 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5444 2002-09-20 Mike Sperber <mike@xemacs.org>
5446 (This partially gets back my patch from 2002-07-20 without the
5448 * callproc.c (child_setup): Remove Ben's comment noting confusion
5449 over the file descriptors >= 3: close_process_descs() doesn't
5450 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5451 * process-unix.c (unix_create_process): Call
5452 begin_dont_check_for_quit to inhibit unwanted interaction (and
5453 thus breaking of X event synchronicity) in the child.
5455 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5457 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5460 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5462 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5463 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5464 the xemacs process did not exit, but looped infinitely here. This
5467 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5469 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5470 (find_context): Improve comments.
5472 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5473 (re_match_2): An XCHAR_TABLE operation was missing.
5475 Many of the following changes were inspired by Andy Piper's (now
5476 obsolete) patch to make syntax-table text property lookup optional.
5480 * syntax.h (top level): Document semantics of syntax flags.
5481 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5482 * syntax.c, syntax.h (top level): Document syntax cache better in
5485 [Instrument syntax caching (temporary change)]
5487 * syntax.h (enum syntax_cache_statistics_functions, struct
5488 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5489 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5490 * syntax.c (scan_words, Fforward_comment, scan_lists,
5491 Fbackward_prefix_characters):
5492 * font-lock.c (find_context):
5493 Use them to instrument syntax caching.
5494 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5495 syntax_cache_statistics_function_names): New type and variables.
5496 * syntax.c (update_syntax_cache): Update and report statistics.
5498 [Major syntax cache optimizations]
5500 syntax.c (lookup_syntax_properties): Default off.
5502 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5503 * syntax.c (update_syntax_cache):
5504 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5506 [Minor syntax cache optimizations and code clarifications]
5508 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5509 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5510 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5511 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5512 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5513 (Code clarification.)
5515 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5516 scan_lists): Compute code from syncode, use Boolean macros instead
5517 of redundant masking operations. (Code clarification; any decent
5518 compiler can do this optimization.)
5520 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5523 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5524 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5525 use F*_single_property_change instead of F*_extent_change.
5526 Currently F*_single_property_change is _much_ less efficient.
5528 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5529 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5530 syntax_cache.object properly, don't leave Qt or Qnil.
5531 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5532 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5533 tests for Qt or Qnil.
5535 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5537 * redisplay.c (point_in_line_start_cache):
5538 * extents.c (print_extent_1):
5541 * extents.c (Fset_extent_property): Document `syntax-table' property.
5543 * extents.h (Fnext_single_property_change): EXFUN it.
5545 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5547 * search.c (clear_unused_search_regs): New static function.
5551 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5552 Minor clarifications in comments.
5554 * regex.c (re_match_2_internal): Ensure no stale submatches.
5556 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5558 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5560 2002-08-29 Jerry James <james@xemacs.org>
5562 * lisp.h: structrures -> structures.
5564 2002-06-03 Andy Piper <andy@xemacs.org>
5566 * frame.c (frame_conversion_internal): add conversion appropriate
5567 for setting frame dimensions in pixels.
5569 * console.h (struct console_methods): add device-specific widget
5572 * emacs.c (main_1): initialize glyph vars.
5574 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5575 (handle_focus_event_2): new function. Allow focus to
5576 be set to a particular window and widget.
5577 (enqueue_focus_event): new function. Create a
5578 synthetic focus event.
5579 (emacs_Xt_handle_magic_event): call
5580 handle_focus_event_2.
5582 * frame.c (Fset_frame_pixel_height): new function. Allow
5583 pixel-based sizing. Does the right thing on character-oriented
5585 (Fset_frame_pixel_width): ditto.
5586 (Fset_frame_pixel_size): ditto.
5587 (syms_of_frame): declare.
5589 * general-slots.h: add :vertically-justify and
5590 :horizontally-justify.
5592 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5593 (mswindows_widget_border_width): new function.
5594 (mswindows_combo_box_instantiate): set border widths.
5595 (console_type_create_glyphs_mswindows): declare.
5598 (check_valid_justification): allow vertical and horizontal
5600 (widget_border_width): new function. Call device methods.
5601 (widget_instance_border_width): ditto.
5602 (logical_unit_height): new function. Determine the height of a
5603 logical-unit. Logical units are intended to provide grid-like
5604 layout for subcontrols in a layout. If the layout is
5605 :vertically-justify top then subcontrols will be positioned on
5606 logical-unit boundaries, thus allowing adjacent subcontrols to
5608 (widget_logical_unit_height): ditto for widgets.
5609 (redisplay_widget): misc cleanup.
5610 (widget_spacing): new function. Call device specific
5611 methods. Intended to be the default gap between adjacent widgets.
5612 (widget_query_geometry): use new spacing functions to determine
5613 appropriate geometry.
5614 (initialize_widget_image_instance): initialize horizontal and
5615 vertical justification.
5616 (widget_instantiate): use logica-units where appropriate for
5617 sizing large widgets.
5618 (button_query_geometry): use widget_instance_border_width.
5619 (tree_view_query_geometry): ditto.
5620 (tab_control_query_geometry): ditto.
5621 (edit_field_query_geometry): new function.
5622 (layout_update): pick up :justify, :horizontally-justify and
5623 :vertically-justify none of which worked previously. :justify is
5624 used as a fallback for both horizontal and vertical justification.
5625 (layout_query_geometry): use logical units to size appropriately.
5626 (layout_layout): ditto.
5627 (Fwidget_logical_to_character_width): new function. Allow users to
5628 convert from logical units to characters so that frame sizes can
5629 be set appropriately.
5630 (Fwidget_logical_to_character_height): ditto.
5631 (syms_of_glyphs_widget): declare.
5632 (image_instantiator_edit_fields): add edit_field_query_geometry.
5633 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5634 :horizontally-justify.
5635 (specifier_vars_of_glyphs_widget): new function. Declare
5636 Vwidget_border_width which is not yet used.
5638 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5639 (x_widget_border_width): new function.
5640 (x_widget_instantiate): create a sensible name for widgets.
5641 (console_type_create_glyphs_x): declare x_widget_border_width.
5643 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5644 (struct Lisp_Image_Instance): add :vertically-justify and
5645 :horizontally-justify.
5646 (LAYOUT_JUSTIFY_TOP): new.
5647 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5648 (ROUND_UP): new macro. Round argument up to next integral
5651 * redisplay-output.c (redisplay_output_layout): misc formatting.
5653 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5655 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5657 * XEmacs 21.4.9 "Informed Management" is released.
5659 2002-08-19 Andy Piper <andy@xemacs.org>
5661 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5664 * realpath.c (xrealpath): normalize drive spec also so that dir
5665 sep chars are not mixed on cygwin.
5667 2002-08-06 Jerry James <james@xemacs.org>
5669 * window.c (Fsplit_window): Count only half of the divider width
5670 against the left window when splitting horizontally.
5672 2002-06-24 Andy Piper <andy@xemacs.org>
5674 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5675 toolbar was cleared.
5677 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5678 function. Split out from mswindows_output_frame_toolbars.
5679 (mswindows_output_frame_toolbars): move clear pieces to
5680 mswindows_output_frame_toolbars.
5682 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5683 out from gtk_output_frame_toolbars.
5684 (gtk_output_frame_toolbars): move clear pieces to
5685 gtk_clear_frame_toolbars.
5687 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5688 the frame is cleared. How this ever worked before is a mystery.
5689 (x_output_frame_toolbars): Only output toolbars.
5690 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5692 * gutter.c (update_gutter_geometry):
5693 Mark frame layout changed.
5694 (update_frame_gutter_geometry, update_frame_gutters):
5695 Respect frame_layout_changed.
5697 * console.h (struct console_methods): add
5698 clear_frame_toolbars_method.
5700 * redisplay.c (redisplay_frame): call
5701 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5703 * toolbar.h: declare update_frame_toolbars_geometry.
5705 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5706 out from update_frame_toolbars. Call clear_frame_toolbars.
5707 (update_frame_toolbars): only output, do not change geometry.
5709 * redisplay.c: add frame_layout_changed.
5711 * redisplay.h: add frame_layout_changed.
5712 (CLASS_RESET_CHANGED_FLAGS): set it.
5713 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5714 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5715 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5717 * device.h (struct device): add frame_layout_changed.
5718 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5720 * frame.h (struct frame): add frame_layout_changed.
5721 (MARK_FRAME_LAYOUT_CHANGED): new.
5723 2002-06-30 Mike Alexander <mta@arbortext.com>
5725 * event-msw.c (mswindows_need_event): Don't wait for a new message
5726 if the queue is not empty. Suggested by Paul Moore.
5728 2002-06-12 Andy Piper <andy@xemacs.org>
5730 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5731 for printing on accurately.
5733 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5735 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5736 WM_ACTIVATE message. Make sure that the frame is visible if the
5737 window is visible. This seemss to fix the problem where XEmacs
5738 appears to freeze after switching desktops with certain virtual
5740 (debug_output_mswin_message): Added code to output message
5741 parameters for WM_WINDOWPOSCHANGED,
5742 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5744 2002-05-25 Andy Piper <andy@xemacs.org>
5746 * select-x.c (vars_of_select_x): Fix docstring of
5747 x-selection-strict-motif-ownership
5749 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5751 * keymap.c (get_keymap):
5752 Add comment about do_autoload GCPROs own args.
5754 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5756 * bytecode.c (execute_optimized_program): check_opcode ifdef
5757 ERROR_CHECK_BYTE_CODE.
5759 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5761 Thanks to Ben Wing and Michael Sperber.
5763 * eval.c (Fcommand_execute):
5766 (Fmacroexpand_internal):
5767 (function_argcount):
5768 callint.c (Fcall_interactively):
5769 Add comment about do_autoload GCPROs own args.
5771 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5773 * eval.c (Ffuncall): Extra braces to placate GCC.
5775 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5777 * backtrace.h (grow_specpdl):
5779 * EmacsFrame.c (EmacsFrameSetValues):
5780 * eval.c (grow_specpdl):
5781 * ExternalShell.c (hack_event_masks_1):
5782 * glyphs-x.c (convert_EImage_to_XImage):
5783 (x_finalize_image_instance):
5784 * ralloc.c (page_size):
5786 * xgccache.c (gc_cache_hash):
5787 Fix unsigned comparison warnings.
5789 2002-07-29 Jerry James <james@xemacs.org>
5791 * lread.c (locate_file): Any nonnegative return value indicates
5792 success if MODE is nonnegative.
5794 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5796 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5799 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5801 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5803 * dumper.c (pdump_get_indirect_count):
5804 (pdump_scan_by_alignment):
5805 (pdump_dump_root_struct_ptrs):
5806 (pdump_dump_rtables):
5807 (pdump_dump_root_objects):
5809 * nas.c (WaveOpenDataForReading):
5810 * fns.c (print_bit_vector):
5811 * font-lock.c (SINGLE_SYNTAX_STYLE):
5812 * glyphs.c (check_for_ignored_expose):
5813 (find_matching_subwindow):
5815 * imgproc.c (get_histogram):
5816 * redisplay.c (point_in_line_start_cache):
5817 * redisplay-output.c (redisplay_unmap_subwindows):
5818 * symbols.c (defsymbol_massage_name_1):
5819 (defkeyword_massage_name):
5820 (deferror_massage_name_and_message):
5821 * redisplay-x.c (x_output_string):
5822 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5823 * frame.h (struct frame):
5824 * filelock.c (current_lock_owner):
5825 * doprnt.c (emacs_doprnt_1):
5826 * lisp.h (struct Lisp_Bit_Vector):
5830 2002-02-13 Ben Wing <ben@xemacs.org>
5832 * event-stream.c (reset_key_echo):
5833 * event-stream.c (reset_this_command_keys):
5834 * event-stream.c (execute_command_event):
5835 If console is dead as a result of C-x 5 0, then post-command stuff
5836 needs to be careful and do only non-console-specific stuff.
5838 2002-07-01 Mike Sperber <mike@xemacs.org>
5840 * process-unix.c (unix_send_process): Mark coding_outstream as
5841 non-open upon SIGPIPE.
5843 * event-stream.c (Fnext_event): Reorder switch cases to something
5846 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5848 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5849 Don't bogusly reinitialize ascii_character property.
5851 2002-07-08 Mike Sperber <mike@xemacs.org>
5853 * process.c (Fstart_process_internal): Do error checking before we
5854 fork off the child, so the child can't muck with the state of the
5857 2002-07-08 Mike Sperber <mike@xemacs.org>
5859 * ralloc.c (init_ralloc): Allocate properly for pdump.
5861 2002-06-12 Andy Piper <andy@xemacs.org>
5863 * glyphs.c (query_string_geometry): check the string.
5865 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5868 2002-06-17 Jerry James <james@xemacs.org>
5870 * sysdll.c: Remove RTLD_GLOBAL initialization.
5871 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5873 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5875 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5877 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5879 * sysdep.c (sys_rename): Make sys_rename work for the case where
5880 Windows rename sets errno to EACCES if target file exists.
5882 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5884 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5885 Fix detection of metric units to work on Win95
5887 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5889 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5891 2002-04-25 Andy Piper <andy@xemacs.org>
5893 * redisplay.c (create_text_block): Remove extra comment trailer.
5895 2002-04-24 Andy Piper <andy@xemacs.org>
5897 * redisplay.c (create_text_block): Don't actually add propagation
5898 data if the line ends after we have added a glyph.
5900 2002-04-22 Andy Piper <andy@xemacs.org>
5902 * extents.c (extent_fragment_update): check for glyphs we have
5903 previously displayed.
5904 * extents.c (print_extent_1): warning removal.
5905 * extents.h: change prototype.
5906 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5907 widths correctly for wide glyphs.
5908 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5909 * redisplay.c (prop_type): add PROP_GLYPH.
5910 * redisplay.c (struct prop_block): add glyph type
5911 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5912 to the propagation data.
5913 * redisplay.c (create_text_block): if there is a glyph in the
5914 propagation data use it to salt extent_fragment_update.
5915 * redisplay.c (create_string_text_block): ditto.
5917 2002-04-13 Nix <nix@esperi.demon.co.uk>
5919 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5920 * redisplay-output.c (compare_runes): Compare them.
5921 * redisplay.c: Update copyright date.
5922 * redisplay.c (pos_data): Add need_baseline_computation field.
5923 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5924 need_baseline_computation; zero yoffset. Set max_pixmap_height
5925 for all pixmaps, not just automatically positioned ones.
5926 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5927 * redisplay.c (calculate_baseline): New, compute textual baseline.
5928 * redisplay.c (add_glyph_rune): Call them.
5929 * redisplay.c (create_text_block): Likewise.
5930 * redisplay.c (create_overlay_glyph_block): Likewise.
5931 * redisplay.c (add_margin_runes): Likewise.
5932 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5934 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5935 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5936 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5937 * redisplay-msw.c (mswindows_output_string): Likewise.
5938 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5939 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5940 * redisplay-x.c (x_output_display_block): Likewise.
5942 2002-03-28 Ben Wing <ben@xemacs.org>
5944 * redisplay.c: Fixed bug in redisplay
5945 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5946 and down of the lines, since they're bigger than the line
5947 size. (It was seen most obviously when there's a horizontal scroll
5948 bar, e.g. do C-h a glyph or something like that.) The problem was
5949 that the glyph-contrib-p setting on glyphs was ignored even if it
5950 was set properly, which it wasn't until now.
5952 2002-04-24 Andy Piper <andy@xemacs.org>
5954 * lisp.h (Dynarr_end): Fix definition.
5956 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5958 * redisplay.c (mark_redisplay): Remove call to
5959 update_frame_window_mirror.
5961 2001-11-15 Andy Piper <andy@xemacs.org>
5963 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5966 2002-02-13 Andy Piper <andy@xemacs.org>
5968 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5969 we did in fact enqueue the XM_MAPFRAME event.
5971 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5973 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5974 to fix problem switching between virtual desktops under virtuawin
5975 virtual window manager.
5977 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5979 * event-msw.c: Typo fix.
5980 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5981 magic XM_MAPFRAME event has been sent.
5983 2001-11-23 Andy Piper <andy@xemacs.org>
5985 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5987 2001-11-21 Andy Piper <andy@xemacs.org>
5989 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5990 mouse events outside the frame.
5992 2002-03-20 Andy Piper <andy@xemacs.org>
5994 * menubar-msw.c (mswindows_popup_menu): warning removal.
5995 * dialog-msw.c (dialog_popped_down): ditto.
5997 2001-12-11 Andy Piper <andy@xemacs.org>
5999 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6000 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6002 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6003 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6004 * menubar-msw.c (mswindows_popup_menu): ditto.
6006 2001-10-29 Andy Piper <andy@xemacs.org>
6008 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6011 2002-01-03 Andy Piper <andy@xemacs.org>
6013 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6017 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6019 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6020 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6021 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6022 Detect and handle case where machine is set up for metric units
6024 2002-04-02 Andy Piper <andy@xemacs.org>
6026 * dired-msw.c (mswindows_get_files):
6027 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6028 completely handled by XEmacs. Suggested by Thomas Vogler
6029 <mail@thomas-vogler.de>.
6031 2001-11-14 Andy Piper <andy@xemacs.org>
6033 * nt.c (REG_ROOT): change registry key to XEmacs.
6035 2002-04-27 Andy Piper <andy@xemacs.org>
6037 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6039 2002-04-26 Andy Piper <andy@xemacs.org>
6041 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6044 2002-03-14 Mike Alexander <mta@arbortext.com>
6046 * event-msw.c (mswindows_unwait_process): New, remove process from
6048 * process-nt.c (nt_finalize_process_data): Call
6049 mswindows_unwait_process
6050 * console-msw.h: Declare mswindows_unwait_process
6052 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6054 * editfns.c (Fdecode_time):
6055 (Fformat_time_string):
6056 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6057 (make_time): Warning elimination (change arg name).
6059 2001-11-24 Andy Piper <andy@xemacs.org>
6061 * window.c (Fsplit_window): Doc return type.
6063 2002-04-01 Andy Piper <andy@xemacs.org>
6065 * emacs.c (Fkill_emacs): Only output message box in interactive
6068 2002-04-26 Andy Piper <andy@xemacs.org>
6070 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6073 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6075 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6078 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6080 * XEmacs 21.4.8 "Honest Recruiter" is released.
6082 2002-05-07 Nix <nix@esperi.demon.co.uk>
6084 Supersedes 2002-04-17 patch.
6086 * process.h (PROCESS_LIVE_P): Use the process status as
6087 evidence of health, not the state of the input stream.
6088 (PROCESS_READABLE_P): Say if the process is readable
6089 from. (It may be dead nonetheless.)
6090 (CHECK_READABLE_PROCESS): Test for that condition.
6092 * process.c (create_process): Use PROCESS_READABLE_P.
6093 (read_process_output, set_process_filter): Likewise.
6095 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6096 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6098 This code is #if 0'd, this is not the time to add new functions:
6100 * process.c (Fprocess_readable_p): Report readability status.
6101 * process.c (Qprocess_readable_p): New, associated symbol...
6102 * process.c (syms_of_process): ... initialize it.
6104 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6106 * XEmacs 21.4.7 "Economic Science" is released.
6108 2002-04-17 Nix <nix@esperi.demon.co.uk>
6110 * process.h (PROCESS_LIVE_P): Use the process status as
6111 evidence of health, not the state of the input stream.
6113 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6115 * sysdep.c (sys_siglist): change "signum" to "signal"
6117 2001-04-21 Martin Buchholz <martin@xemacs.org>
6119 * s/darwin.h: New file.
6120 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6122 2002-04-23 Andreas Jaeger <aj@suse.de>
6124 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6125 which use lib64 for 64-bit libs.
6126 (START_FILES): Likewise.
6128 2002-02-11 Mike Sperber <mike@xemacs.org>
6131 (x_IO_error_handler):
6132 (x_init_device): Temporarily keep device in static variable
6133 `device_being_initialized' so we can recover gracefully from
6134 internal XOpenDevice failure. (XOpenDevice is documented to
6135 return NULL on failure, but sometimes calls the IO error handler
6138 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6140 * dired.c (Ffile_name_all_completions): Change documentation --
6141 remove reference to completion-ignored-extensions.
6142 * dired.c (vars_of_dired): Change documentation for
6143 completion-ignored-extensions -- remove reference to
6144 file-name-all-completions.
6146 2002-03-06 Jerry James <james@xemacs.org>
6148 * emodules.c (emodules_load): Fix multiple loading of same module.
6150 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6151 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6152 RTLD_LAZY to avoid incorrect symbol binding when using nested
6153 shared libraries on Solaris.
6155 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6157 * fileio.c (Ffind_file_name_handler): Improve docstring.
6159 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6161 * fns.c (Fmapconcat): Improve docstring.
6163 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6165 * device-gtk.c: Add prototype for
6166 emacs_gtk_selection_clear_event_handle.
6167 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6168 selection. Setup signal handler for "selection_clear_event"
6169 (emacs_gtk_selection_clear_event_handle).
6171 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6172 other applications owning the clipboard (based on
6173 x_handle_selection_clear).
6175 2001-12-23 William M. Perry <wmperry@gnu.org>
6177 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6179 2002-01-04 Martin Buchholz <martin@xemacs.org>
6181 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6183 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6185 * XEmacs 21.4.6 "Common Lisp" is released.
6187 2001-12-16 Torsten Duwe <duwe@caldera.de>
6189 * search.c (Freplace_match): Add missing sub-expression functionality.
6191 * buffer.c (decode_buffer): Add a check for pointer type to
6192 decode_buffer, before gcc's CSE optimization reorders a
6193 dereference in front of the allow_string test.
6195 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6197 * window.c (window_loop): Fix bug that sometimes prevented
6198 window_loop() from iterating across multiple devices. Also, at
6199 Ben's request, changed infloop-detecting code to abort() instead
6200 of silently terminating window_loop().
6202 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6204 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6205 * editfns.c (make_time): New function.
6206 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6207 * lisp.h (make_time): Prototype and comment it.
6208 * dired.c (wasteful_word_to_lisp): Deprecate.
6209 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6211 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6213 * fileio.c (auto_save_1): Use current coding system, not
6216 2001-11-13 Ben Wing <ben@xemacs.org>
6219 * window.c (window_truncation_on):
6220 * window.c (syms_of_window):
6221 truncate-partial-width-windows should respect the buffer being
6222 displayed, like other redisplay vars.
6224 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6226 * event-stream.c (Fread_key_sequence): save current buffer.
6228 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6230 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6232 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6234 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6236 2001-10-26 Mike Alexander <mta@arbortext.com>
6238 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6240 2001-10-25 Andy Piper <andy@xemacs.org>
6243 * dialog-msw.c (handle_directory_proc): new function.
6244 (handle_directory_dialog_box): new fucntion.
6245 (handle_file_dialog_box): use new directory dialog support.
6246 (mswindows_make_dialog_box_internal): ditto.
6247 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6249 (mswindows_find_frame): make global.
6250 * fileio.c (Fexpand_file_name): build fix.
6251 * general-slots.h: add Qdirectory.
6252 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6254 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6255 cygwin not leaving win32 paths unchanged.
6256 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6257 cygwin runtime to do path conversion.
6258 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6259 (syms_of_win32): add new function.
6260 * window.c (window_loop): build fix.
6262 2001-10-15 Andy Piper <andy@xemacs.org>
6264 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6266 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6268 * XEmacs 21.4.5 "Civil Service" is released.
6270 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6272 * glyphs-x.c: Force buffer-tab highlight update when moving the
6273 buffer, avoiding an ugly black border, used for keyboard focus
6274 indication, on a widget that can never have keyboard focus, the
6277 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6279 * process-unix.c (unix_open_multicast_group): Remove too much
6280 conversion between host and network byte order.
6282 2001-09-10 Nix <nix@esperi.demon.co.uk>
6284 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6285 before replacing them.
6287 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6290 * src/window.c (undedicate_windows): Use it.
6291 * src/window.h: Add prototype.
6293 2001-09-17 Ben Wing <ben@xemacs.org>
6295 * fileio.c (normalize_filename):
6296 * fileio.c (Fexpand_file_name):
6297 Fix various C++ compile errors in Andy's recent code.
6299 * callint.c (Fcall_interactively):
6300 * editfns.c (Ftemp_directory):
6301 * editfns.c (Fuser_full_name):
6302 * emacs.c (argmatch):
6303 * lread.c (locate_file_map_suffixes):
6304 * redisplay-x.c (x_ring_bell):
6305 Fix sign-compare warnings.
6307 2001-09-08 Andy Piper <andy@xemacs.org>
6309 * fileio.c (normalize_filename): copied from nt.c
6310 * (Ffile_name_directory): enable win32 paths under cygwin.
6311 * (Ffile_name_nondirectory): ditto.
6312 * (directory_file_name): ditto.
6313 * (Fexpand_file_name): ditto.
6314 * (Ffile_truename): ditto.
6315 * (Fsubstitute_in_file_name): ditto.
6316 * (Ffile_name_absolute_p): ditto.
6317 * (Ffile_readable_p): ditto.
6319 2001-09-08 Andy Piper <andy@xemacs.org>
6321 * device-msw.c (mswindows_finish_init_device): remove dde
6323 * device-msw.c (mswindows_init_dde): factor out from
6324 mswindows_finish_init_device()
6325 * device-msw.c (init_mswindows_very_early): new function
6326 initialize but don't enable dde.
6327 * emacs.c (main_1): call init_mswindows_very_early.
6329 * event-msw.c (mswindows_dde_callback): only execute when we are
6331 * symsinit.h: declare init_mswindows_very_early.
6333 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6335 [sjt: This has been in 21.5 for months with no complaints.]
6337 * console.h (struct console_methods): Added flags member.
6338 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6339 (CONMETH_IMPL_FLAG):
6340 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6341 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6343 * device.c (window_system_pixelated_geometry): Use the above macros.
6345 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6346 implememntation flag.
6347 * device.h (DEVICE_DISPLAY_P): Use it.
6349 * frame.c (delete_frame_internal): Use the above macro.
6351 * redisplay.c (redisplay_device): Use it.
6352 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6353 (redisplay_frame): Ditto.
6355 * device-msw.c (mswindows_device_implementation_flags): Removed.
6356 (msprinter_device_implementation_flags): Removed.
6357 (console_type_create_device_mswindows): Removed references to
6358 implementation_flags methods, set implementation flags here.
6359 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6361 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6362 (console_type_create_device_gtk): Removed method declaration.
6363 Added commented out statement which semantically matches the
6364 commented out statement in the above removed method.
6366 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6368 The attached patch fixes a few warnings.
6370 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6371 * src/frame-gtk.c: guard against GNOME calls in GTK only
6372 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6373 * src/select-gtk.c: prototype lisp_to_time
6375 2001-06-08 Ben Wing <ben@xemacs.org>
6377 ------ gc-in-window-procedure fixes ------
6380 * alloc.c (struct post_gc_action):
6381 * alloc.c (register_post_gc_action):
6382 * alloc.c (run_post_gc_actions):
6383 * alloc.c (garbage_collect_1):
6384 Create "post-gc actions", to avoid those dreaded "GC during window
6385 procedure" problems.
6388 Abort, clean and simple, when GC in window procedure. We want
6389 to flush these puppies out.
6392 * glyphs-msw.c (finalize_destroy_window):
6393 * glyphs-msw.c (mswindows_finalize_image_instance):
6394 Use a post-gc action when destroying subwindows.
6397 Declare register_post_gc_action().
6400 * scrollbar-msw.c (unshow_that_mofo):
6401 Use a post-gc action when unshowing scrollbar windows, if in gc.
6403 * redisplay.c (mark_redisplay):
6404 Add comment about the utter evilness of what's going down here.
6406 ------ cygwin setitimer fixes ------
6408 * Makefile.in.in (sheap_objs):
6409 * Makefile.in.in (profile_objs):
6410 * Makefile.in.in (objs):
6411 Compile profile.c only when HAVE_SETITIMER.
6413 * nt.c (mswindows_sigset):
6414 * nt.c (mswindows_sighold):
6415 * nt.c (mswindows_sigrelse):
6416 * nt.c (mswindows_sigpause):
6417 * nt.c (mswindows_raise):
6418 * nt.c (close_file_data):
6422 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6425 * profile.c (Fstart_profiling):
6426 * profile.c (Fstop_profiling):
6427 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6428 instead of just plain setitimer().
6431 * signal.c (set_one_shot_timer):
6433 Define qxe_setitimer() as an encapsulation around setitimer() --
6434 call setitimer() directly unless Cygwin or MS Win, in which case
6435 we use our simulated version in win32.c.
6438 * systime.h (struct itimerval):
6439 * systime.h (ITIMER_REAL):
6440 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6441 comment about "qxe" and the policy regarding encapsulation.
6444 * win32.c (setitimer_helper_proc):
6445 * win32.c (setitimer_helper_period):
6446 * win32.c (setitimer_helper):
6447 * win32.c (mswindows_setitimer):
6448 Move setitimer() emulation here, so Cygwin can use it.
6449 Rename a couple of functions and variables to be longer and more
6450 descriptive. In setitimer_helper_proc(), send the signal
6451 using either mswindows_raise() or (on Cygwin) kill(). If for
6452 some reason we are still getting lockups, we'll change the kill()
6453 to directly invoke the signal handlers.
6455 ------ windows shell fixes ------
6459 Comments about how these two files must die.
6461 * callproc.c (init_callproc):
6462 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6463 not just COMSPEC. (more correct and closer to FSF.) Don't
6464 force a value for SHELL into the environment. (Comments added
6465 to explain why not.)
6467 * nt.c (init_user_info):
6468 Don't shove a fabricated SHELL into the environment. See above.
6470 2001-06-01 Ben Wing <ben@xemacs.org>
6472 * Makefile.in.in (ldflags):
6473 eliminate that pesky "defaulting to 00401000" warning.
6477 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6479 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6480 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6482 2001-04-24 Jerry James <james@xemacs.org>
6484 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6487 2001-06-01 Ben Wing <ben@xemacs.org>
6489 * event-msw.c (debug_mswin_messages):
6490 conditionalize the messages that were causing compile errors.
6491 (if only macros could generate #ifdef statements ...)
6493 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6495 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6497 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6499 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6501 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6503 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6504 * process-unix.c (unix_canonicalize_host_name):
6505 sysdep.c (init_system_name):
6506 Use it to conditionally support IPv6 canonicalization.
6508 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6511 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6513 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6515 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6516 attempt is made to scroll when no scroll bar is available.
6518 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6520 * input-method-motif.c (XIM_delete_frame): New callback.
6521 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6522 got deleted from 21.4.3.)
6524 2001-06-01 Ben Wing <ben@xemacs.org>
6526 * nt.c (mswindows_utime):
6527 * nt.c (close_file_data):
6528 fix off-by-one-indirection error.
6530 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6532 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6533 because set_file_times() now takes Lisp_Object path, instead of
6535 * nt.c: Include buffer.h.
6536 * nt.c (convert_from_time_t): New.
6537 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6538 not set mtime correctly.
6539 * nt.h: Declare mswindows_utime().
6540 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6541 path, instead of char*.
6542 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6544 2001-05-30 Ben Wing <ben@xemacs.org>
6548 (Stephen, just take all event-msw.c patches. This includes
6549 the "iconify" fix below.)
6552 * event-msw.c (mswindows_dequeue_dispatch_event):
6553 * event-msw.c (assert):
6554 * event-msw.c (emacs_mswindows_quit_p):
6555 * event-msw.c (debug_mswin_messages):
6556 * event-msw.c (debug_output_mswin_message):
6557 * event-msw.c (vars_of_event_mswindows):
6558 Fix yet more problems with C-g handling.
6559 Implement debug-mswindows-events.
6561 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6563 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6565 2001-05-23 Ben Wing <ben@xemacs.org>
6567 * event-msw.c (winsock_writer):
6568 * event-msw.c (winsock_closer):
6569 prior kludgy code was clobbering the buffer, thinking it was
6570 "unused" space to store an unneeded return value; instead, use
6571 the variable we've already got staring us in the face.
6573 2001-05-17 Andy Piper <andy@xemacs.org>
6575 * sysfile.h: don't assume that file attributes are boolean
6577 2001-05-23 Ben Wing <ben@xemacs.org>
6579 * device-msw.c (msprinter_init_device):
6580 signal an error rather than crash with an unavailable network
6581 printer (from Mike Alexander).
6584 * event-msw.c (struct winsock_stream):
6585 * event-msw.c (winsock_writer):
6586 * event-msw.c (winsock_closer):
6587 * event-msw.c (make_winsock_stream_1):
6588 cleanup headers. fix (hopefully) an error with data corruption
6589 when sending to a network connection.
6591 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6592 to handle the ~user prefix by (a) always assuming we're referencing
6593 ourselves and not even verifying the user -- hence any file with
6594 a tilde as its first char is invalid! (b) if there wasn't a slash
6595 following the filename, the pointer was set *past* the end of
6596 file and we started reading from uninitialized memory. Now we
6597 simply treat these as files, always.
6599 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6601 2001-05-19 Ben Wing <ben@xemacs.org>
6603 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6606 * process-nt.c (vars_of_process_nt):
6607 remove unused mswindows-quote-process-args. rec for 21.4.
6609 2001-05-12 Ben Wing <ben@xemacs.org>
6611 * event-msw.c (mswindows_dde_callback):
6612 * event-msw.c (mswindows_wnd_proc):
6613 eliminate cygwin warnings.
6615 2001-05-06 Ben Wing <ben@xemacs.org>
6619 * device-msw.c (print_dialog_worker):
6620 * device-msw.c (mswindows_handle_print_dialog_box):
6621 * device-msw.c (syms_of_device_mswindows):
6622 * dialog-msw.c (mswindows_make_dialog_box_internal):
6624 implement printing the selection when it's selected.
6626 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6628 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6630 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6632 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6633 EMACS_INT is signed.
6635 2001-04-15 Michael Lausch <mla@1012surf.net>
6637 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6638 gtk_widget_request_size() to give scrollbar >0 width for
6641 2001-05-30 William M. Perry <wmperry@gnu.org>
6643 * event-gtk.c: Check for buttons as modifier keys.
6645 2001-05-25 Craig Lanning <CraigL@Knology.net>
6648 Properly find MinGW's <process.h> inside Cygwin's restructured
6649 include directories. Don't try to include <cygwin/version.h>
6650 since we are dropping support for MinGW in versions of Cygwin
6653 Drop support for MinGW in versions of Cygwin before b21.
6655 Properly find MinGW's <process.h> inside Cygwin's restructured
6656 include directories.
6658 Drop support for MinGW in versions of Cygwin before b21.
6660 Even though a.out.h is no longer detected by configure, allow
6661 MinGW to use it until we figure out how to do the job with Win32.
6663 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6665 * syntax.c (find_start_of_comment):
6666 Fix `unbalanced parentheses' bug when dealing with mixed comment
6667 styles in c++/java/etc. mode
6669 2001-05-29 Mike Alexander <mta@arbortext.com>
6671 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6672 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6674 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6676 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6678 2001-03-31 Mike Sperber <mike@xemacs.org>
6680 * search.c (Freplace_match): Support FSF-style specification of
6681 match subexpression when applied to a buffer.
6683 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6685 * event-stream.c (is_scrollbar_event): add missing semicolon
6687 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6689 * Makefile.in.in: Use TAR macro instead of hardcoding
6690 tar. Allows use of GNU tar instead of system tar
6692 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6694 * event-stream.c (is_scrollbar_event): add missing semicolon
6696 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6698 * XEmacs 21.4.3 "Academic Rigor" is released.
6700 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6702 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6704 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6706 * buffer.c (Vcase_fold_search): Remove obsolete
6707 comment about non ASCII case-fold-search. This
6708 bug has been fixed by case-table changes.
6710 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6712 * event-msw.c: Restore include of events-mod.h.
6714 2001-04-22 zhaoway <zw@debian.org>
6716 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6719 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6721 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6723 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6725 * mule-charset.c (Fmake_charset): Add missing else.
6727 2001-04-23 Ben Wing <ben@xemacs.org>
6729 * event-msw.c (FAKE_MOD_QUIT):
6730 * event-msw.c (mswindows_dequeue_dispatch_event):
6731 * event-msw.c (mswindows_wnd_proc):
6732 * event-msw.c (emacs_mswindows_quit_p):
6733 Get critical quit working.
6735 2001-05-05 Ben Wing <ben@xemacs.org>
6739 * device-msw.c (mswindows_get_default_margin):
6740 * frame-msw.c (mswindows_size_frame_internal):
6741 * frame-msw.c (msprinter_init_frame_1):
6742 * frame-msw.c (vars_of_frame_mswindows):
6743 Change top/bottom margin defaults to 0.5 inches.
6745 2001-05-01 Martin Buchholz <martin@xemacs.org>
6747 Fix link error with gcc 3.0 on Linux.
6748 * terminfo.c (UP): Remove.
6749 * terminfo.c (BC): Remove.
6750 * terminfo.c (PC): Remove.
6751 They weren't used, and in any case, these symbols should be
6752 defined in the *library*.
6754 2001-05-03 Martin Buchholz <martin@xemacs.org>
6756 * s/aix4.h: Fix crash with xlc -O3.
6757 Improve comment explaining how -O3 works.
6759 2001-04-15 Ben Wing <ben@xemacs.org>
6762 * event-stream.c (Fnext_event):
6763 * event-stream.c (is_scrollbar_event):
6764 * event-stream.c (execute_command_event):
6765 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6766 crash' problem. His fix introduces other problems. We filter
6767 out scrollbar events specifically, making them somewhat invisible
6768 to command-building, and not appearing in `this-command-keys'.
6769 More work is still needed (see comments in event-stream.c), but
6770 this fixes all the major problems.
6772 2001-04-20 Ben Wing <ben@xemacs.org>
6774 * .cvsignore: Added stuff for Windows.
6776 2001-04-28 Ben Wing <ben@xemacs.org>
6778 * buffer.c (Ferase_buffer):
6779 * editfns.c (buffer_insert1):
6780 * editfns.c (Finsert_before_markers):
6781 * editfns.c (Finsert_string):
6782 * editfns.c (Finsert_char):
6783 * editfns.c (Fdelete_region):
6784 * editfns.c (Fwiden):
6785 * editfns.c (Fnarrow_to_region):
6786 remove bogus lines setting zmacs_region_stays to 0.
6788 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6790 * process-unix.c (unix_open_network_stream): If connect() fails
6791 invalidate file descriptor after closing it.
6793 2001-03-08 Mike Alexander <mta@arbortext.com>
6795 * event-msw.c (mswindows_need_event_in_modal_loop):
6796 Don't dispatch a message if we didn't get one.
6797 (mswindows_need_event):
6798 Terminate the correct process when one exits instead of the first
6799 one on Vprocess_list and look for process termination when in
6800 mswindows_protect_modal_loop.
6802 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6804 * XEmacs 21.4.1 "Copyleft" is released.
6806 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6808 * input-method-motif.c (XIM_delete_frame): New callback.
6809 (XIM_init_frame): Register it.
6811 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6813 * XEmacs 21.4.0 "Solid Vapor" is released.
6815 2001-04-15 Ben Wing <ben@xemacs.org>
6817 * cmdloop.c (call_command_loop):
6818 Fix braino in bit-rotting code.
6820 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6822 * extents.c (Fset_extent_endpoints): Force creation of extent info
6823 in buffer_or_string.
6825 * extents.c (process_extents_for_insertion_mapper): Correctly
6826 check for open-open zero-length extents.
6828 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6830 * lisp.h: New typedefs Memory_count, Element_count.
6833 Sign-compare warning elimination: several unsigned -> signed.
6834 Based on work by Ben Wing <ben@xemacs.org>.
6836 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6838 * XEmacs 21.2.47 "Zephir" is released.
6840 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6842 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6844 2001-04-03 Mike Sperber <mike@xemacs.org>
6846 * search.c: Revert previous patch due because of release.
6848 2001-03-30 Ben Wing <ben@xemacs.org>
6851 Add missing killpg prototype.
6854 Add a comment about fixing problems when a new entry is added
6857 * frame-msw.c (mswindows_init_frame_1):
6858 Fix compile warnings.
6860 * menubar.c (vars_of_menubar):
6861 Provide `menu-accelerator-support' to indicate that we properly
6862 support %_ in menu specifications, so that package code can
6863 conditionalize on this (and remove %_ from menu specifications
6868 * scrollbar-msw.c (can_scroll):
6870 Fix handling of mouse wheel under Windows to follow standards --
6871 now scrolls window under pointer, not selected window.
6873 2001-03-31 Mike Sperber <mike@xemacs.org>
6875 * search.c (Freplace_match): Support FSF-style specification of
6876 match subexpression when applied to a buffer.
6878 2001-03-15 Martin Buchholz <martin@xemacs.org>
6880 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6881 function to modify KEYMAP, so map over a copy of the hash table.
6883 2001-03-21 Martin Buchholz <martin@xemacs.org>
6885 * XEmacs 21.2.46 "Urania" is released.
6887 2001-03-20 Dan Holmsand <dan@eyebee.com>
6889 * realpath.c (xrealpath): Make file-truename work with symlinks to
6890 /cygdrive paths on cygwin. Always lowercase drive-letters on
6892 (cygwin_readlink): Don't try to find canonical filename unless
6895 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6897 * ChangeLog: Log GTK merge.
6903 Revert gratuitous whitespace changes from GTK merge.
6905 * emacs.c: Document end of complex #ifdef @ l. 1495.
6908 2001-03-12 Andy Piper <andy@xemacs.org>
6910 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6911 have to do likewise.
6913 2001-03-12 Andy Piper <andy@xemacs.org>
6915 * sysdep.c: we only support mingw now.
6917 2001-03-09 Andy Piper <andy@xemacs.org>
6919 * unexcw.c (copy_executable_and_dump_data_section): making approx
6920 overrun a warning only.
6922 2001-03-10 William M. Perry <wmperry@aventail.com>
6924 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6925 satisfy Stephen's identical-after-cpp plea.
6927 2001-03-02 Ben Wing <ben@xemacs.org>
6930 * cmds.c (Fforward_char):
6934 Augment documentation of the most common motion commands to make
6935 note of the shifted-motion support.
6937 2001-03-02 Ben Wing <ben@xemacs.org>
6939 * nt.c (mswindows_fstat):
6940 * nt.c (mswindows_stat):
6941 * search.c (boyer_moore):
6942 Fix compile warnings under Windows.
6944 * sysdep.c (sys_readdir):
6945 Fix buggy filename-conversion code under Mule.
6947 2001-03-09 William M. Perry <wmperry@aventail.com>
6969 * redisplay-output.c:
6975 The Great GTK Merge.
6982 * emacs-widget-accessors.c:
6996 * native-gtk-toolbar.c:
7007 The Great GTK Merge: new files.
7009 2001-02-26 Ben Wing <ben@xemacs.org>
7011 Reapplied Lstream change.
7013 2001-02-26 Ben Wing <ben@xemacs.org>
7015 Undid the last change, since it is more controversial than I
7016 thought. It should be back in at some point soon.
7018 2001-02-25 Ben Wing <ben@xemacs.org>
7021 * callproc.c (Fold_call_process_internal):
7022 * event-msw.c (ntpipe_slurp_reader):
7023 * event-msw.c (ntpipe_shove_writer):
7024 * event-msw.c (winsock_reader):
7025 * event-msw.c (winsock_writer):
7027 * file-coding.c (detect_eol_type):
7028 * file-coding.c (detect_coding_type):
7029 * file-coding.c (determine_real_coding_system):
7030 * file-coding.c (Fdetect_coding_region):
7031 * file-coding.c (decoding_reader):
7032 * file-coding.c (decoding_writer):
7033 * file-coding.c (mule_decode):
7034 * file-coding.c (Fdecode_coding_region):
7035 * file-coding.c (encoding_reader):
7036 * file-coding.c (encoding_writer):
7037 * file-coding.c (mule_encode):
7038 * file-coding.c (Fencode_coding_region):
7039 * file-coding.c (detect_coding_sjis):
7040 * file-coding.c (decode_coding_sjis):
7041 * file-coding.c (encode_coding_sjis):
7042 * file-coding.c (detect_coding_big5):
7043 * file-coding.c (decode_coding_big5):
7044 * file-coding.c (encode_coding_big5):
7045 * file-coding.c (detect_coding_ucs4):
7046 * file-coding.c (decode_coding_ucs4):
7047 * file-coding.c (encode_coding_ucs4):
7048 * file-coding.c (detect_coding_utf8):
7049 * file-coding.c (decode_coding_utf8):
7050 * file-coding.c (encode_coding_utf8):
7051 * file-coding.c (detect_coding_iso2022):
7052 * file-coding.c (decode_coding_iso2022):
7053 * file-coding.c (encode_coding_iso2022):
7054 * file-coding.c (decode_coding_no_conversion):
7055 * file-coding.c (encode_coding_no_conversion):
7056 * glyphs-x.c (write_lisp_string_to_temp_file):
7057 * gpmevent.c (tty_get_foreign_selection):
7060 * lstream.c (Lstream_flush_out):
7061 * lstream.c (Lstream_adding):
7062 * lstream.c (Lstream_write_1):
7063 * lstream.c (Lstream_write):
7064 * lstream.c (Lstream_raw_read):
7065 * lstream.c (Lstream_read_more):
7066 * lstream.c (Lstream_read):
7067 * lstream.c (Lstream_unread):
7068 * lstream.c (Lstream_fputc):
7069 * lstream.c (stdio_reader):
7070 * lstream.c (stdio_writer):
7071 * lstream.c (filedesc_reader):
7072 * lstream.c (filedesc_writer):
7073 * lstream.c (lisp_string_reader):
7074 * lstream.c (struct fixed_buffer_stream):
7075 * lstream.c (make_fixed_buffer_input_stream):
7076 * lstream.c (make_fixed_buffer_output_stream):
7077 * lstream.c (fixed_buffer_reader):
7078 * lstream.c (fixed_buffer_writer):
7079 * lstream.c (struct resizing_buffer_stream):
7080 * lstream.c (resizing_buffer_writer):
7081 * lstream.c (dynarr_writer):
7082 * lstream.c (lisp_buffer_reader):
7083 * lstream.c (lisp_buffer_writer):
7085 * lstream.h (lstream_implementation):
7086 * lstream.h (struct lstream):
7088 * process-nt.c (nt_send_process):
7089 * process-unix.c (unix_send_process):
7091 Correct Lstream lossage due to mixing of signed and unsigned
7092 quantities. All Lstream uses of size_t and ssize_t are now a
7093 single signed data type Lstream_data_count. This fixes problems
7094 under Windows with sending large quantities of data to a process,
7095 and may well fix other subtle bugs.
7097 2001-02-23 Martin Buchholz <martin@xemacs.org>
7099 * XEmacs 21.2.45 "Thelxepeia" is released.
7101 2001-02-21 Martin Buchholz <martin@xemacs.org>
7103 * lisp-union.h (XSETINT):
7106 Reverse previous change of 2001-02-06.
7108 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7110 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7112 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7113 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7114 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7115 * regex.c (POS_AS_IN_BUFFER): removed
7116 * regex.c (re_search_2):
7117 * regex.c (re_match_2):
7118 Don't use an offset of 1 when calculating buffer positions, since
7119 `BI_BUF_BEGV' does it already.
7121 2001-02-18 Wim Dumon <wim@easics.be>
7123 * insdel.c (prepare_to_modify_buffer): Also check for
7124 supersession when clash-detection is enabled.
7126 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7128 * regex.c (re_match_2_internal):
7129 Convert temp characters from 'const unsigned char' to 're_char'.
7130 Fix crashing bug with extended characters under mule.
7131 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7132 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7133 font-lock, pdump, and new syntax-table code.
7134 * syntax.c (find_start_of_comment):
7135 (find_end_of_comment):
7137 Fix crashing bugs involving moving beyond end of buffer.
7138 * syntax.c (find_start_of_comment):
7139 Fixed logic to allow proper detection of cases where the same
7140 character is used to end both a two-char comment start and a
7141 two-char comment end sequence. Fixes `(forward-comment -1)'.
7142 * syntax.c (find_start_of_comment):
7143 Return position just past last comment-end character for all cases
7144 (previously was only done for two-char comment-end sequences).
7145 * syntax.c (forward-comment):
7146 Take value returned from `find_end_of_comment', rather than
7148 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7149 Properly deal with BUFFERP (syntax_cache.object)
7151 2001-02-17 Martin Buchholz <martin@xemacs.org>
7153 * alloc.c (Fgarbage_collect):
7154 * alloc.c (make_bit_vector_from_byte_vector):
7155 -Wsign-compare-correctness.
7157 2001-02-16 Martin Buchholz <martin@xemacs.org>
7159 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7160 (XSETCHAR): Likewise.
7161 (XSETOBJ): Likewise.
7163 2001-02-15 Martin Buchholz <martin@xemacs.org>
7165 * mule-canna.c (canna-func-delete_previous):
7166 Rename to canna-func-delete-previous.
7168 2001-02-14 Martin Buchholz <martin@xemacs.org>
7170 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7172 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7174 * font-lock.c (find_context): Fix C++ compile errors introduced by
7177 2001-02-13 Martin Buchholz <martin@xemacs.org>
7179 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7180 pragma, but earlier ones barf on the same pragma.
7182 2001-02-06 Mike Sperber <mike@xemacs.org>
7184 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7185 `configure-mule-lisp-directory'.
7187 2001-02-12 Martin Buchholz <martin@xemacs.org>
7189 Make sure dump-id.c is compiled in the same way as other .c's.
7190 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7191 * dump-id.h: Remove.
7192 * emacs.c: Move dump-id.h into dumper.h.
7193 * dumper.h: Move dump-id.h into dumper.h.
7195 Use standard .c.o rule for building dump-id.o.
7196 Remove preprocessor flags from link command.
7197 Add dump-id.o to ${otherobjs} if PDUMP.
7199 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7201 Port FSF 20.7 syntax table improvements.
7205 Fixups for new syntax table stuff.
7206 * dired.c: Include syntax.c.
7207 (Fdirectory_files): Initialize regex_match_object and
7209 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7210 and Fget_char_property.
7212 Use ported FSF 20.7 syntax table improvements.
7217 2001-02-09 Martin Buchholz <martin@xemacs.org>
7219 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7220 Unixware's enum boolean from sys/types.h.
7222 2001-02-10 Martin Buchholz <martin@xemacs.org>
7224 Fix support for building with latest Purify.
7225 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7226 (PURIFY_FLAGS): Likewise.
7228 2001-02-09 Martin Buchholz <martin@xemacs.org>
7230 * fileio.c (lisp_string_set_file_times): New.
7231 * fileio.c (Fcopy_file): Use it.
7233 (copy-file filename non-ascii-filename t t)
7234 ==> No such file or directory, non-ascii-filename
7236 2001-02-10 Martin Buchholz <martin@xemacs.org>
7238 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7239 USHRT_MAX seems clearer than ~0 anyways.
7241 2001-02-09 Martin Buchholz <martin@xemacs.org>
7243 dumper improvements. Inspired by Olivier.
7244 * dumper.c (pdump_max_align): New.
7245 * dumper.c (pdump_add_entry): Use pdump_max_align.
7246 * dumper.c (pdump_get_entry_list): Likewise.
7247 * dumper.c (pdump_scan_by_alignment): Likewise.
7248 Don't iterate through unnecessary alignments.
7249 * dumper.c (pdump_file_get): No need to align result of malloc().
7250 * dumper.c (pdump_mallocadr): Remove.
7251 The result of malloc() is guaranteed to be maximally aligned.
7252 * dumper.c: s/elmt/elt/g;
7253 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7254 * dumper.c (pdump_alert_undump_object): Likewise.
7255 * dumper.c (pdump_align_table):
7256 Don't support alignments > 64.
7257 Store ALIGNOF's, not shift counts, in table.
7259 2001-02-09 Martin Buchholz <martin@xemacs.org>
7261 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7262 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7263 * systime.h: Use HAVE_UTIME.
7264 * sysdep.c (struct utimbuf): Remove.
7265 * sysdep.c (set_file_times): Prefer utime() to utimes().
7266 * config.h.in (HAVE_UTIME): New.
7267 * config.h.in (HAVE_UTIME_H): Remove.
7268 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7270 2001-02-09 Martin Buchholz <martin@xemacs.org>
7272 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7274 2001-02-08 Martin Buchholz <martin@xemacs.org>
7276 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7278 2001-02-08 Martin Buchholz <martin@xemacs.org>
7280 * XEmacs 21.2.44 "Thalia" is released.
7282 2001-02-06 Martin Buchholz <martin@xemacs.org>
7284 Fixes crashes in kill-emacs on some systems.
7285 * process-unix.c (unix_kill_child_process):
7286 It's OK for kill() to fail with ESRCH.
7288 2001-02-07 Martin Buchholz <martin@xemacs.org>
7290 Contortions to make .gdbinit tricks work on most systems.
7291 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7292 * alloc.c (dbg_valmask): Make non-const.
7293 * alloc.c (dbg_typemask): Make non-const.
7294 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7295 * alloc.c (dbg_valbits): Make non-const.
7296 * alloc.c (dbg_gctypebits): Make non-const.
7297 * .gdbinit (decode_object): Make it work with AIX cc.
7299 2001-02-06 Martin Buchholz <martin@xemacs.org>
7301 * elhash.c (make_general_lisp_hash_table):
7302 Use simpler and more efficient calloc to clear entries.
7304 2001-02-07 Martin Buchholz <martin@xemacs.org>
7306 * window.c (window_scroll): Work around an AIX C compiler bug.
7307 Fixes 'scroll-up' does nothing problem with xlC.
7309 2001-02-05 Martin Buchholz <martin@xemacs.org>
7311 * .gdbinit: Remove obsolete comment.
7313 2001-01-31 Mike Alexander <mta@arbortext.com>
7315 * select.c (Fown_selection_internal): Set owned_p for device
7318 2001-02-01 Martin Buchholz <martin@xemacs.org>
7321 "not" cannot be used as a macro name as it is an operator in C++
7322 * config.h.in: Stop #defining `not'.
7323 * chartab.c (check_category_char): not ==> not_p
7324 * chartab.h: Likewise.
7325 * regex.c (re_match_2_internal): Likewise.
7327 2001-02-02 Martin Buchholz <martin@xemacs.org>
7329 * lisp-disunion.h: Fix up comments.
7331 2001-01-31 Martin Buchholz <martin@xemacs.org>
7333 * keymap.c (define_key_check_and_coerce_keysym):
7335 Support mouse-6 and mouse-7 bindings in the obvious way.
7337 2001-02-01 Martin Buchholz <martin@xemacs.org>
7339 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7341 2001-01-30 Martin Buchholz <martin@xemacs.org>
7343 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7344 Previous patch missed DEFVAR_INT_MAGIC.
7345 Make sure future DEFVAR_foo use correct types.
7346 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7347 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7348 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7349 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7350 * (DEFVAR_INT): Likewise.
7351 * redisplay.c (vertical_clip): Should be of type Fixnum.
7352 * redisplay.c (horizontal_clip): Likewise.
7353 * lisp.h (dump_add_opaque_int): New.
7354 (dump_add_opaque_fixnum): New.
7356 2001-01-29 Andy Piper <andy@xemacs.org>
7358 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7359 since they can be eval'ed
7361 2001-01-29 Martin Buchholz <martin@xemacs.org>
7363 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7364 Oops, XEmacs redefines `class'. Use `typename' instead.
7366 2001-01-28 Martin Buchholz <martin@xemacs.org>
7368 * dumper.c: Fix C++ compile errors.
7370 2001-01-29 Martin Buchholz <martin@xemacs.org>
7372 * tparam.c: Use correct prototypes.
7374 2001-01-28 Martin Buchholz <martin@xemacs.org>
7376 * sysproc.h: #include util.h for NetBSD's openpty.
7378 2001-01-27 Martin Buchholz <martin@xemacs.org>
7380 More 64-bit correctness.
7381 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7382 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7384 This finally finishes the 64-bit SGI port.
7385 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7386 * symbols.c: Fix up comments and type casts.
7387 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7388 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7389 * symeval.h (Fixnum): New type.
7390 * symeval.h (symbol_value_type): Fix up comment.
7406 * mule-canna.c: A million DEFVAR_INTs here...
7407 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7420 s/int/Fixnum/g in DEFVAR_INT declarations.
7422 2001-01-26 Martin Buchholz <martin@xemacs.org>
7424 Port pdump to SGI alignment-sensitive environment.
7425 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7426 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7428 Define and use aligned reading and writing macros.
7429 Use buffered stdio instead of posix i/o for faster dumping.
7430 Eliminate kludgy 256 byte space for header.
7431 Read and write from dump file using structs for alignment safety.
7432 * dumper.c (pdump_align_stream): New.
7433 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7434 * dumper.c (PDUMP_READ_ALIGNED): New.
7435 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7436 * dumper.c (pdump_static_Lisp_Object): New struct.
7437 * dumper.c (pdump_static_pointer): New struct.
7438 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7439 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7440 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7441 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7443 * dumper.c (pdump_backtrace):
7444 * dumper.c (pdump_get_indirect_count):
7445 * dumper.c (pdump_register_object):
7446 * dumper.c (pdump_register_struct):
7447 * dumper.c (pdump_reloc_one):
7448 * dumper.c (pdump_scan_by_alignment):
7449 * dumper.c (pdump_dump_from_root_struct_ptrs):
7450 * dumper.c (pdump_dump_opaques):
7451 * dumper.c (pdump_dump_rtables):
7452 * dumper.c (pdump_dump_from_root_objects):
7454 * dumper.c (pdump_load_finish):
7455 Use aligned reading and writing.
7457 * dumper.c (pdump_free): Make static.
7458 * dumper.c (pdump_hFile): Likewise.
7459 * dumper.c (pdump_hMap): Likewise.
7461 2001-01-26 Martin Buchholz <martin@xemacs.org>
7463 * XEmacs 21.2.43 "Terspichore" is released.
7465 2001-01-25 Martin Buchholz <martin@xemacs.org>
7467 Type fiddling for window_config.saved_windows_count
7468 * window.c (struct window_config):
7469 Make saved_windows_count member unsigned.
7470 * window.c (sizeof_window_config_for_n_windows):
7471 Make parameter unsigned.
7472 * window.c (mark_window_config):
7473 * window.c (window_config_equal):
7474 * window.c (free_window_configuration):
7475 * window.c (Fset_window_configuration):
7476 * window.c (count_windows):
7477 * window.c (Fcurrent_window_configuration):
7478 * window.c (reinit_vars_of_window):
7479 Update all callers and users.
7481 2001-01-25 Martin Buchholz <martin@xemacs.org>
7483 Alignment correctness for flexible arrays.
7484 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7485 Make alignment-correct. Add interesting comments.
7486 * alloc.c (size_vector):
7487 * alloc.c (make_vector_internal):
7488 * alloc.c (make_bit_vector_internal):
7489 * alloc.c (sweep_bit_vectors_1):
7490 * fns.c (size_bit_vector):
7491 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7492 * window.c (sizeof_window_config_for_n_windows):
7493 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7495 2001-01-24 Martin Buchholz <martin@xemacs.org>
7497 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7499 2001-01-23 Andy Piper <andy@xemacs.org>
7501 * select.c (Fown_selection_internal): pass owned_p
7503 * select-msw.c (mswindows_own_selection): New Signature.
7505 * console.h (struct console_methods): add owned_p to
7508 * select-x.c (x_own_selection): pass owned_p
7509 (hack_motif_clipboard_selection): use owned_p
7510 (vars_of_select_x): new variable -
7511 x_selection_strict_motif_ownership.
7513 2001-01-23 Martin Buchholz <martin@xemacs.org>
7515 * specifier.h (specifier_data_offset): Remove pointless parens.
7516 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7518 2001-01-24 Martin Buchholz <martin@xemacs.org>
7520 Make Lisp_Object sizeof methods be alignment-correct.
7521 pdump must restore objects to the same alignment as the C compiler
7522 assumes. It really matters on SGIs.
7523 * lstream.c (aligned_sizeof_lstream): New.
7524 (sizeof_lstream): Use aligned_sizeof_lstream.
7525 (Lstream_new): Likewise.
7526 * opaque.c (aligned_sizeof_opaque): New.
7527 (sizeof_opaque): Use aligned_sizeof_opaque.
7528 (make_opaque): Likewise.
7529 * specifier.c (aligned_sizeof_specifier): New.
7530 (sizeof_specifier): Use aligned_sizeof_specifier.
7531 (make_specifier_internal): Likewise.
7533 2001-01-23 Martin Buchholz <martin@xemacs.org>
7535 * lstream.h (struct lstream): Use max_align_t for trailing data.
7536 * specifier.h (struct Lisp_Specifier): Likewise.
7538 2001-01-22 Martin Buchholz <martin@xemacs.org>
7540 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7541 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7542 (CCL_SUSPEND): Likewise.
7543 (CCL_INVALID_CMD): Likewise.
7544 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7545 (ccl_driver): Likewise.
7546 (CCL_WRITE_CHAR): Macro hygiene.
7547 (CCL_WRITE_STRING): Macro hygiene.
7549 2001-01-22 Martin Buchholz <martin@xemacs.org>
7551 Port "portable" dumper to SunOS 4 and HP-UX.
7552 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7553 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7554 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7556 2001-01-22 Martin Buchholz <martin@xemacs.org>
7558 * lisp.h (ALIGNOF): A better definition for C++.
7560 2001-01-20 Martin Buchholz <martin@xemacs.org>
7563 Fix printf warnings: int format, long int arg.
7564 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7565 (PUSH_FAILURE_POINT): Use correct printf formats.
7566 (POP_FAILURE_POINT): Use correct printf formats.
7567 Use do {...} while (0)
7569 2001-01-20 Martin Buchholz <martin@xemacs.org>
7571 * XEmacs 21.2.42 "Poseidon" is released.
7573 2001-01-20 Martin Buchholz <martin@xemacs.org>
7575 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7577 2001-01-19 Martin Buchholz <martin@xemacs.org>
7579 De-kludgify FIXED_TYPE free list frobbing.
7580 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7581 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7582 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7583 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7584 * alloc.c (LRECORD_FREE_P): New.
7585 * alloc.c (MARK_LRECORD_AS_FREE): New.
7586 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7587 * alloc.c (STRUCT_FREE_P): Deleted.
7588 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7589 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7590 * alloc.c (STRING_CHARS_FREE_P): New.
7591 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7592 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7593 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7594 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7595 * alloc.c (resize_string): Use new definitions.
7596 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7597 * alloc.c (verify_string_chars_integrity): Use new definitions.
7598 * alloc.c (compact_string_chars): Use new definitions.
7599 * alloc.c: Update monster comments.
7600 * lrecord.h (lrecord_type): Add some new lrecord types for
7603 2001-01-18 Martin Buchholz <martin@xemacs.org>
7605 Improve alignment hackery.
7606 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7607 (max_align_t): Moved from opaque.h - general purpose.
7608 (ALIGN_PTR): Use size_t, not long.
7609 * opaque.h (max_align_t): Move to lisp.h.
7611 2001-01-18 Norbert Koch <nk@LF.net>
7613 * gui.h: Fix and add prototypes to fix build problems.
7615 2001-01-18 Martin Buchholz <martin@xemacs.org>
7617 temacs is going away, so `dump-temacs' is now a bad name.
7618 * .dbxrc (dump-temacs): Rename to `dmp'.
7619 * .gdbinit (dump-temacs): Rename to `dmp'.
7621 2001-01-17 Andy Piper <andy@xemacs.org>
7623 * glyphs.c (print_image_instance): comment to make martin happy.
7625 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7628 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7630 (mswindows_tab_control_redisplay): warning suppression.
7632 * glyphs-widget.c (widget_update): re-write to cope with updated
7634 (widget_instantiate): use new gui_item functions.
7635 (tab_control_update): deleted.
7636 (progress_gauge_update): deleted.
7637 (image_instantiator_progress_guage): take out update reference.
7638 (image_instantiator_tree_view): ditto.
7639 (image_instantiator_tab_control): ditto.
7641 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7643 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7644 return whether anything was changed.
7645 (update_gui_item_keywords): as it sounds.
7647 * gui.h: declare widget_gui_parse_item_keywords.
7649 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7650 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7652 2001-01-17 Martin Buchholz <martin@xemacs.org>
7654 * XEmacs 21.2.41 "Polyhymnia" is released.
7656 2001-01-16 Didier Verna <didier@xemacs.org>
7658 * glyphs.c (image_instantiate): don't use fallbacks when
7659 instantiating a face's background pixmap by inheritance.
7661 2001-01-14 Mike Sperber <mike@xemacs.org>
7663 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7664 Conditionalize accordingly.
7666 2001-01-16 Martin Buchholz <martin@xemacs.org>
7668 * dumper.c (pdump_file_get): Fix a compiler warning.
7670 2001-01-15 Martin Buchholz <martin@xemacs.org>
7672 Make Purify happy when pdumping.
7673 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7674 iniitalizing all bits of new lisp object memory.
7675 * symbols.c (Fmake_local_variable): Likewise.
7676 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7677 * symbols.c (Fdefvaralias): Likewise.
7678 * mule-charset.c (vars_of_mule_charset): Likewise.
7680 2001-01-15 Martin Buchholz <martin@xemacs.org>
7681 Add the `-nd' flag when running pre-dump operations under the debugger.
7682 * .dbxrc (run-temacs): Add `-nd'.
7683 * .dbxrc (update-elc): Likewise.
7684 * .dbxrc (dump-temacs): Likewise.
7685 * .gdbinit (run-temacs): Likewise.
7686 * .gdbinit (check-temacs): Likewise.
7687 * .gdbinit (update-elc): Likewise.
7688 * .gdbinit (dump-temacs): Likewise.
7690 2001-01-14 Martin Buchholz <martin@xemacs.org>
7692 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7693 export OBJECT_MODE=64
7694 configure --pdump --use-union-type=no
7695 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7696 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7698 * miscplay.c (sndcnv8U_2mono):
7699 Avoid two uses of `++' in the same expression.
7700 Suppresses a GCC warning.
7702 2001-01-13 Martin Buchholz <martin@xemacs.org>
7704 Make sure future compilers don't miscompile alloc.c.
7706 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7707 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7709 2001-01-12 Martin Buchholz <martin@xemacs.org>
7711 * dumper.c: A little post-pdump-rename comment fixup.
7713 2001-01-09 Jerry James <james@eecs.ku.edu>
7715 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7717 2001-01-13 Martin Buchholz <martin@xemacs.org>
7719 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7723 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7726 replace_symbol pdump_wire_lists pdump_weak_object_chains
7727 replace_symbol pdump_wire_list dump_add_weak_object_chain
7729 replace_symbol pdump_wires pdump_root_objects
7730 replace_symbol pdump_wire dump_add_root_object
7732 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7733 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7735 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7736 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7737 replace_symbol dumpstructinfo pdump_root_struct_ptr
7738 replace_symbol dumpstruct dump_add_root_struct_ptr
7740 replace_symbol dumpopaque dump_add_opaque
7741 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7742 replace_symbol dumpopaqueinfos pdump_opaques
7743 replace_symbol dumpopaqueinfo pdump_opaque
7745 replace_symbol nb_structdump nb_root_struct_ptrs
7746 replace_symbol nb_opaquedump nb_opaques
7748 replace_symbol align_table pdump_align_table
7749 replace_symbol dump_header pdump_header
7751 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7752 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7755 2001-01-12 Martin Buchholz <martin@xemacs.org>
7757 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7758 optimizing bytecount_to_charcount().
7760 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7763 (HAVE_DLFCN_H): Removed.
7764 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7766 2001-01-06 Martin Buchholz <martin@xemacs.org>
7768 Portable dumper maintainability improvements.
7769 * alloc.c (staticpro):
7770 * alloc.c (staticpro_nodump):
7771 * alloc.c (garbage_collect_1):
7772 * alloc.c (reinit_alloc_once_early):
7773 * alloc.c (init_alloc_once_early):
7774 * alloc.c: Move dumper functions to alloc.c.
7775 * dumper.c (pdump_backtrace):
7776 * dumper.c (pdump_dump_structs):
7777 * dumper.c (pdump_dump_opaques):
7778 * dumper.c (pdump_dump_rtables):
7779 * dumper.c (pdump_dump_wired):
7781 * dumper.c (pdump_load_check):
7782 * dumper.c (pdump_load_finish):
7783 * dumper.c (pdump_file_unmap):
7784 * dumper.c (pdump_file_get):
7785 * dumper.c (pdump_resource_free):
7786 * dumper.c (pdump_resource_get):
7787 * dumper.c (pdump_file_free):
7788 * dumper.c (pdump_file_try):
7789 * dumper.c (pdump_load):
7790 Remove fixed size limits on staticpro(), staticpro_nodump(),
7791 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7792 Remove custom code for dumping lrecord_implementations_table - use
7794 Remove (most of the) custom code for dumping staticpros - dump it
7795 like any other dynarr.
7797 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7798 * dumper.c: Moved functions from alloc.c.
7799 * alloc.c (dumpstruct): Moved to dumper.c.
7800 * alloc.c (dumpopaque): Likewise.
7801 * alloc.c (pdump_wire): Likewise.
7802 * alloc.c (pdump_wire_list): Likewise.
7804 * lisp.h (Dynarr_sizeof): New.
7805 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7806 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7807 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7809 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7810 * lisp.h (dumpopaque): ditto.
7811 * lisp.h (pdump_wire): ditto.
7812 * lisp.h (pdump_wire_list): ditto.
7814 2001-01-09 Martin Buchholz <martin@xemacs.org>
7816 * make-src-depend (PrintPatternDeps):
7817 Use `sort' to make output independent of perl version.
7819 2001-01-08 Martin Buchholz <martin@xemacs.org>
7822 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7823 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7825 2001-01-03 Didier Verna <didier@xemacs.org>
7827 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7828 that `focus_frame' is alive before thinking of calling
7829 `redisplay_redraw_cursor' on it.
7831 2001-01-08 Martin Buchholz <martin@xemacs.org>
7833 * XEmacs 21.2.40 is released.
7835 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7837 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7839 2001-01-06 Martin Buchholz <martin@xemacs.org>
7841 * alloc.c (dbg_valmask): Make const.
7842 * alloc.c (dbg_typemask): Make const.
7843 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7844 * alloc.c (dbg_valbits): Make const.
7845 * alloc.c (dbg_gctypebits): Make const.
7847 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7849 * redisplay-x.c (x_bevel_area):
7850 redisplay.h (struct rune):
7851 Typo fixes in comments.
7853 2001-01-05 Andy Piper <andy@xemacs.org>
7855 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7858 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7860 2001-01-05 Martin Buchholz <martin@xemacs.org>
7862 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7864 * mule-ccl.c (stack_idx_of_map_multiple):
7865 Non const global data must not be initialized!
7866 Found by MIYASHITA Hisashi.
7868 2001-01-02 Andy Piper <andy@xemacs.org>
7870 * frame.c (change_frame_size): make sure frame size is always
7873 * glyphs.c (image_instance_layout): minor code reuse.
7875 * window.c (Fcurrent_window_configuration): revert previous
7878 2001-01-02 Martin Buchholz <martin@xemacs.org>
7881 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7883 2000-12-31 Andy Piper <andy@xemacs.org>
7885 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7886 when widget gets unmapped.
7888 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7889 function. Make sure widgets losing focus don't just drop it.
7890 (handle_focus_event_1): record the widget with focus.
7892 2000-12-31 Andy Piper <andy@xemacs.org>
7894 * window.c (allocate_window): use
7895 make_image_instance_cache_hash_table.
7896 (make_dummy_parent): ditto.
7897 (Fset_window_configuration): ditto.
7899 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7901 * glyphs.c (process_image_string_instantiator): use
7903 (get_image_instantiator_governing_domain): ditto.
7904 (normalize_image_instantiator): ditto.
7905 (instantiate_image_instantiator): ditto.
7906 (make_image_instance_1): ditto.
7907 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7908 (instantiator_eq_equal): new function for use with instance hash
7910 (instantiator_eq_hash): ditto.
7911 (make_image_instance_cache_hash_table): create a suitable hash
7912 table for storing image instances.
7914 * elhash.h (hash_table_weakness): new internal weakness type
7915 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7916 declare new functions.
7918 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7919 another weakness type for glyphs.
7920 (make_standard_lisp_hash_table): new function split out from
7921 make_general_lisp_hash_table.
7922 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7923 (hash_table_instantiate): ditto.
7924 (Fmake_hash_table): ditto.
7926 2000-12-31 Martin Buchholz <martin@xemacs.org>
7928 * XEmacs 21.2.39 is released.
7930 2000-12-29 Andy Piper <andy@xemacs.org>
7932 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7934 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7935 the frame has changed so that we pick up geometry changes such as
7938 2000-12-28 Andy Piper <andy@xemacs.org>
7940 * lastfile.c (my_ebss): make a char array so we can pad the
7941 bss. Fixes cygwin unexec.
7943 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7945 2000-12-26 Andy Piper <andy@xemacs.org>
7947 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7948 comments and try and be more precise about a non-/SIGIO world.
7949 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7952 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7953 we don't normalize to zero width or height.
7955 2000-12-24 Andy Piper <andy@xemacs.org>
7957 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7959 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7961 * s/sco5.h: SCO 5 has pty support.
7963 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7965 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7966 input-method-xlib.c contains whole contents of input-method-xfs.c,
7967 so we can use input-method-xlib.c's code for USE_XFONTSET
7969 * input-method-xfs.c: removed.
7971 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7973 * file-coding.h (enum coding_category_type): reorder enumerators to
7974 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7975 (now one greater than largest real coding_category_type enumerator).
7976 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7977 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7978 Fcoding_category_list, Fset_coding_priority_list,
7979 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7980 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7982 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7984 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7985 * redisplay-output.c (redisplay_output_window): Clear top of window
7986 when face is changed.
7987 * redisplay-x.c (x_redraw_exposed_window): Call
7988 redisplay_clear_top_of_window.
7989 * redisplay.h: Publish redisplay_clear_top_of_window.
7991 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7993 * buffer.c (Fkill_buffer): Map over all devices.
7994 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7995 (list_windows): New function.
7996 (list_all_windows): Ditto.
7997 (Freplace_buffer_in_windows): Use them.
7999 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8001 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8002 (Fopen_database): Use `db_create' instead of `db_open'.
8003 (syms_of_database): Initialize Qqueue.
8005 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8007 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8008 buffer_local_face_property.
8009 * buffer.h (struct buffer): New member buffer_local_face_property.
8010 * window.c (Fset_window_buffer): Mark window's face as changed
8011 when buffer has buffer local face.
8012 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8013 * objects.c (color_after_change): Set buffer_local_face_property
8014 when locale of face specifier is buffer.
8015 * objects.c (font_after_change): Ditto.
8016 * objects.c (face_boolean_after_change): Ditto.
8017 * glyphs.c (image_after_change): Ditto.
8019 2000-12-09 Dan Holmsand <dan@eyebee.com>
8021 * nt.c (mswindows_fstat): Report file permissions, volume serial
8022 number, etc. Code adapted from FSF Emacs 20.7.
8024 2000-12-09 Dan Holmsand <dan@eyebee.com>
8026 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8027 of stat when we don't have symbolic links, to make sure
8028 mswindows_stat is called on mswindows.
8030 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8032 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8034 2000-12-12 Martin Buchholz <martin@xemacs.org>
8036 * doprnt.c (emacs_doprnt_1): More printing fixes.
8037 Make printing of numbers compatible with libc and FSF Emacs.
8038 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8039 Use the system printf to do most of the hard work of formatting,
8040 instead of doprnt_1().
8041 Calculate memory to allocate for format string.
8042 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8043 (doprnt_1): Cleaner code and documentation.
8045 2000-12-01 Jerry James <james@eecs.ukans.edu>
8047 * Makefile.in.in: Use the loop variable to install headers.
8049 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8051 * window.c (Fsplit_window): Don't invalidate face cache.
8053 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8055 * minibuf.c (Fall_completions): Undo the previous change
8056 which removed checking elements start with space.
8058 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8060 * mule-canna.c: Didier suppression.
8062 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8064 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8065 (warning suppression). Add English comment translations.
8067 2000-12-05 Martin Buchholz <martin@xemacs.org>
8069 * unexelfsgi.c (unexec): Better test for mmap failure.
8071 2000-12-05 Martin Buchholz <martin@xemacs.org>
8073 * XEmacs 21.2.38 is released.
8075 2000-12-05 Martin Buchholz <martin@xemacs.org>
8077 * redisplay.c (bar-cursor): Make a user variable.
8079 * symsinit.h: Add init_postgresql_from_environment.
8081 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8083 * regex.c: Convert to clean C.
8085 2000-12-05 Dan Holmsand <dan@eyebee.com>
8088 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8090 (sys_readlink): renamed to system_readlink to avoid conflict with
8091 the other sys_readlink.
8093 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8095 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8097 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8099 * postgresql.c (init_postgresql_from_environment): new function.
8100 (vars_of_postgresql): Move code initializing Lisp variables out and
8101 into init_postgresql_from_environment.
8102 emacs.c (main_1): Call init_postgresql_from_environment if and only
8103 if running a dumped XEmacs.
8105 2000-08-31 Dan Holmsand <dan@eyebee.com>
8107 * buffer.c: Make find-file-compare-truenames default to true on
8110 * realpath.c (win32_abs_start):
8112 (win32_readlink): New functions.
8113 (xrealpath): Return really real filenames on windows.
8115 * fileio.c (Ffile_truename): Make file-truename work on windows.
8117 2000-11-29 Didier Verna <didier@xemacs.org>
8119 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8120 * faces.c (update_face_cachel_data): use it.
8121 * faces.c (add_face_cachel): use it. Complete background pixmap
8122 frobbing in face cache if `update_face_cachel_data' has not done so.
8124 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8126 * search.c (string_match_1): Don't set last_thing_searched
8129 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8131 * buffer.c: Include casetab.h
8132 (common_init_complex_vars_of_buffer): Use new case-table object.
8133 * buffer.h: Include casetab.h
8134 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8135 (DOWNCASE_TABLE_OF): Ditto.
8136 * bufslots.h: Remove char-tables and add case-table.
8137 * casetab.c: Include casetab.h
8138 (CASE_TABLE_P): Removed.
8139 (mark_case_table): New function.
8140 (allocate_case_table): New function.
8141 (Fcase_table_p): Use new case-table.
8142 (case_table_char): New function.
8143 (Fget_case_table): Ditto.
8144 (Fput_case_table): Ditto.
8145 (Fput_case_table_pair): Ditto.
8146 (Fcopy_case_table): Ditto.
8147 (Fcurrent_case_table): Return case-table.
8148 (Fstandard_case_table): Return case-table.
8149 (Fset_case_table): Fix doc-string.
8150 (set_case_table): Use case-table
8151 (syms_of_casetab): DEFSUBR new functions.
8152 (complex_vars_of_casetab): Set up standard case-table.
8153 * casetab.h: New file.
8154 * editfns.c: Include casetab.h
8155 (Fcompare_buffer_substrings): Use case-table.
8156 * inline.c: Include casetab.h
8157 * lisp.h: Remove bogus extern.
8158 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8159 * search.c: Include casetab.h
8160 (TRANSLATE_ASCII): Removed.
8161 (TRANSLATE): Unconditionally translate character.
8162 (looking_at_1): Use case-table.
8163 (string_match_1): Ditto.
8164 (fast_string_match): Ditto.
8165 (search_command): Ditto.
8166 (search_buffer): Separate boyer_moore. Check whether
8167 boyer_moore is possible.
8168 (simple_search): New function.
8169 (boyer_moore): Separated from search_buffer. Translate char.
8171 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8173 * regex.c (RE_TR_ASCII): Removed.
8174 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8175 (PATFETCH): Call PATFETCH_RAW.
8176 (PATFETCH_RAW): Fetch Emchar.
8177 (PATUNFETCH): Decrement charptr.
8178 (GET_BUFFER_SPACE): Rename b to buf_end.
8180 (BUF_PUSH_2): Ditto.
8181 (BUF_PUSH_3): Ditto.
8182 (EXTEND_BUFFER): Ditto.
8183 (SET_LIST_BIT): Ditto.
8184 (regex_compile): Ditto. Translate non ASCII char.
8185 (compile_range): Ditto.
8186 (re_search_2): Ditto.
8187 (re_match_2_internal): Compare Emchar.
8188 (bcmp_translate): Ditto.
8190 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8192 * lisp.h (basic char/int typedefs): comment improvement.
8194 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8196 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8197 unstomp inhibit_site_lisp. Improve comments.
8199 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8201 * mule-charset.c (Fcharset_property): improve type checking, comments.
8203 2000-11-28 Andy Piper <andy@xemacs.org>
8205 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8206 clipped display for windows in the gutter also.
8207 (redisplay_display_boxes_in_window_p): change semantics of return
8208 codes to be more intuitive.
8210 * gutter.h: declare display_boxes_in_gutter_p.
8212 * gutter.c (display_boxes_in_gutter_p): new function for
8215 2000-11-22 Andy Piper <andy@xemacs.org>
8217 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8220 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8222 * callproc.c (Fold_call_process_internal):
8223 * gpm.c (Freceive_gpm_event):
8224 (tty_get_foreign_selection): Might be just warning supression.
8225 * fileio.c (Fwrite_region_internal):
8226 (Fset_visited_file_modtime):
8227 * keymap.c (event_matches_key_specifier_p):
8228 Initialize GCPROed variable.
8230 * menubar-x.c (command_builder_find_menu_accelerator):
8231 Initialize before use.
8233 2000-11-23 Andy Piper <andy@xemacs.org>
8235 * unexcw.c (unexec): make the resulting executable executable.
8237 2000-11-21 Martin Buchholz <martin@xemacs.org>
8239 * doc.c (get_doc_string):
8240 Use size_t, not int, for result of XSTRING_LENGTH.
8242 * cmds.c (Fdelete_char):
8243 * cmds.c (Fpoint_at_eol):
8244 * cmds.c (Fself_insert_command):
8245 Use EMACS_INT, not int, for result of XINT.
8246 Someday, someone will want to insert more than 2**31 identical characters.
8248 * cmds.c (Fdelete_char):
8249 * cmds.c (Fdelete_backward_char):
8250 * syntax.c (Fforward_word):
8251 * syntax.c (Fforward_comment):
8252 Make COUNT argument optional, for consistency with forward-char et al.
8254 2000-11-22 Martin Buchholz <martin@xemacs.org>
8257 * print.c (long_to_string):
8258 Return a useful value: the pointer at end of data written.
8261 Use `static const char * const' for constant strings.
8262 (union printf_arg): Delete `i', `ui' members.
8265 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8266 Do all printf-ing via the `l' specifier.
8267 Use EMACS_INT instead of int.
8270 2000-11-20 Didier Verna <didier@xemacs.org>
8272 * faces.c (update_face_cachel_data): don't frob the background
8273 pixmap when the window is being created. The face is needed but
8276 2000-11-20 Andy Piper <andy@xemacs.org>
8278 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8279 messing with a debug environment.
8281 2000-11-20 Martin Buchholz <martin@xemacs.org>
8283 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8285 2000-11-20 Martin Buchholz <martin@xemacs.org>
8287 * casetab.c (Fcase_table_p): Fix compile error and crash.
8289 2000-11-18 Philip Aston <philipa@mail.com>
8291 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8293 2000-11-18 Martin Buchholz <martin@xemacs.org>
8295 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8296 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8298 2000-11-17 Martin Buchholz <martin@xemacs.org>
8300 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8301 * unexelf.c: Use HAVE_ELF_H.
8302 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8303 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8304 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8305 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8307 So this is an unexelfsgi.c from a different line of development.
8309 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8311 * regex.c (RE_TR_ASCII): New function.
8312 (RE_TRANSLATE): Call it.
8314 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8316 * buffer.h (TRT_TABLE_OF): Remove assert.
8317 (IN_TRT_TABLE_DOMAIN): Removed.
8319 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8321 * free-hook.c (log_gcpro):
8322 (show_gcprohist): Add support for GCPRO5.
8324 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8326 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8328 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8330 * symeval.h: Declare flush_all_buffer_local_cache.
8332 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8333 (flush_buffer_local_cache): Added.
8334 (flush_all_buffer_local_cache): Added.
8336 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8338 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8339 (pdump_dump_data): Ditto.
8340 (pdump_reloc_one): Ditto.
8341 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8345 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8347 * buffer.c: Remove if 0'ed entry.
8348 * buffer.h: Rewrite TRT to use char-table.
8349 * bufslots.h: Remove mirror tables.
8350 * casetab.c: Remove mirror tables.
8351 (CASE_TABLE_P): New macro.
8352 (Fcase_table_p): Element of a case table is string or char-table.
8353 (make_mirror_trt_table): Removed.
8354 (set_case_table): Setup char-table from strings for backward
8356 * dired.c (Fdirectory_files):
8357 * dired-msw.c: (mswindows_get_files):
8358 * lisp.h: Change prototype of re_pattern_buffer.
8359 * regex.c: (RE_TRANSLATE): New macro.
8360 (TRANSLATE_P): Ditto.
8361 Change translate to type RE_TRANSLATE_TYPE.
8362 * regex.h: Define RE_TRANSLATE_TYPE
8363 * search.c (TRANSLATE): New macro.
8364 (TRANSLATE_ASCII): New macro.
8365 Translate table is changed to Lisp_Object.
8366 (signal_failure): Inhibit return.
8368 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8375 Do UNGCPRO before return.
8377 2000-11-14 Martin Buchholz <martin@xemacs.org>
8379 * XEmacs 21.2.37 is released.
8381 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8383 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8384 Add comments about discarded return value.
8386 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8389 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8391 2000-10-27 Andy Piper <andy@xemacs.org>
8393 * gutter.c (Fset_default_gutter_position): default left and right
8395 (calculate_gutter_size): calculate resonable heuristic for left
8396 and right gutter sizes.
8397 (specifier_vars_of_gutter): change left and right gutter sizes to
8399 (calculate_gutter_size_from_display_lines): new function.
8400 (output_gutter): check for resizing on left and right gutters.
8401 (clear_gutter): don't special case top and left gutters.
8402 (specifier_vars_of_gutter): use new signature for
8403 set_specifier_caching.
8405 * glyphs-x.c (x_redisplay_widget): spelling fix.
8406 * glyphs.c (specifier_vars_of_glyphs):
8407 * menubar.c (specifier_vars_of_menubar):
8408 * redisplay.c (specifier_vars_of_redisplay):
8409 * toolbar.c (specifier_vars_of_toolbar):
8410 * window.c (specifier_vars_of_window):
8411 * scrollbar.c (specifier_vars_of_scrollbar):
8412 (complex_vars_of_scrollbar): use new signature for
8413 set_specifier_caching.
8415 * specifier.c (set_specifier_caching): include recompute flag.
8416 (recompute_one_cached_specifier_in_window): always recompute if
8418 (recompute_one_cached_specifier_in_frame): ditto.
8420 * specifier.h (struct specifier_caching): add recompute flag.
8422 2000-10-24 Andy Piper <andy@xemacs.org>
8424 * unexcw.c (copy_executable_and_dump_data_section): add new
8425 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8428 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8430 * console-x.h (x_device): New member modifier_release_time.
8431 * event-Xt.c (x_handle_sticky_modifiers):
8432 Bound interval modifier keys are sticky.
8433 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8434 * events.h: extern it.
8436 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8438 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8440 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8442 * event-stream.c (execute_command_event): Preserve current_events
8443 and the like when event is misc-user-event.
8444 Inhibit quit during the call to maybe_echo_keys.
8446 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8448 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8449 symlink when buffer is killed.
8450 (inhibit_clash_detection): New variable.
8452 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8454 * console.c (Fset_input_method): Trigger redisplay on tty.
8456 2000-11-07 Martin Buchholz <martin@xemacs.org>
8458 * process.c (Fprocess_status): Revert to previous behavior:
8459 (process-status "nosuchprocess") ==> nil
8461 2000-11-06 Martin Buchholz <martin@xemacs.org>
8463 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8464 Work around another GCC 2.95.2 optimizer bug.
8466 2000-11-02 Martin Buchholz <martin@xemacs.org>
8468 * process.c (Fget_process): Use LIST_LOOP_2.
8469 (kill_buffer_processes): Use LIST_LOOP_2.
8471 * minibuf.c (Fall_completions):
8472 Delete old non-functional code for FSF fourth argument.
8474 * frame.c (frame_matches_frame_spec):
8475 Renamed from `frame_matches_frametype'. Update all callers.
8476 (device_matches_device_spec):
8477 Renamed from 'device_matches_console_spec'. Update all callers.
8479 * doc.c (Fsubstitute_command_keys):
8480 Remove buffer overflow crash. Small code cleanups.
8482 * casetab.c (check_case_table): Simpler code.
8484 * window.c (Freplace_buffer_in_windows):
8485 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8486 (and similar implementation) as Fdelete_windows_on.
8489 * alloc.c (Fmake_list):
8490 * alloc.c (make_vector):
8491 * alloc.c (Fmake_vector):
8492 * alloc.c (make_bit_vector):
8493 * alloc.c (Fmake_bit_vector):
8494 * alloc.c (Fbit_vector):
8495 * alloc.c (Fmake_string):
8496 * alloc.c (Fpurecopy):
8497 * alloc.c (Fmemory_limit):
8499 * buffer.c (Fget_buffer):
8500 * buffer.c (Fkill_buffer):
8501 * buffer.c (complex_vars_of_buffer):
8502 * bytecode.c (Fcompiled_function_stack_depth):
8503 * callint.c (Fprefix_numeric_value):
8505 * event-stream.c (Fread_key_sequence):
8507 * casetab.c (Fcase_table_p):
8508 * casetab.c (check_case_table):
8509 * casetab.c (Fset_case_table):
8510 * casetab.c (Fset_standard_case_table):
8512 * chartab.c (Fchar_table_type):
8513 * chartab.c (Freset_char_table):
8514 * chartab.c (Fget_char_table):
8515 * chartab.c (Fget_range_char_table):
8516 * chartab.c (Fput_char_table):
8517 * chartab.c (Fmap_char_table):
8518 * chartab.c (Fcategory_table_p):
8519 * chartab.c (Fcheck_category_at):
8520 * chartab.c (Fchar_in_category_p):
8521 * chartab.c (Fcategory_table):
8522 * chartab.c (Fcopy_category_table):
8523 * chartab.c (Fset_category_table):
8524 * chartab.c (Fcategory_designator_p):
8525 * chartab.c (Fcategory_table_value_p):
8526 * cmds.c (Fdelete_char):
8527 * cmds.c (Fdelete_backward_char):
8528 * cmds.c (Fself_insert_command):
8529 * cmds.c (Fself_insert_internal):
8530 * console.c (Fvalid_console_type_p):
8531 * console.c (Fcdfw_console):
8532 * console.c (Fconsole_type):
8533 * console.c (Fconsole_name):
8534 * console.c (Fconsole_device_list):
8535 * console.c (Fconsole_on_window_system_p):
8539 * data.c (Fsubr_interactive):
8540 * data.c (Fchar_to_int):
8541 * data.c (Fint_to_char):
8544 * data.c (Fnumber_to_string):
8545 * data.c (Fstring_to_number):
8547 * database.c (mark_database):
8548 * database.c (finalize_database):
8549 * database.c (Fdatabase_live_p):
8550 * database.c (Fdatabasep):
8551 * device-x.c (Fx_get_resource):
8552 * device.c (Fdfw_device):
8554 * dired.c (Ffile_name_completion):
8555 * dired.c (Ffile_name_all_completions):
8556 * dired.c (Fuser_name_completion):
8557 * dired.c (Fuser_name_completion_1):
8558 * dired.c (Fuser_name_all_completions):
8559 * doc.c (Fdocumentation):
8560 * doc.c (Fdocumentation_property):
8561 * doc.c (Fsubstitute_command_keys):
8563 * editfns.c (Fchar_to_string):
8564 * editfns.c (Fstring_to_char):
8565 * editfns.c (Ftemp_directory):
8566 * editfns.c (Finsert_char):
8567 * editfns.c (Fbuffer_substring_no_properties):
8568 * editfns.c (Fnarrow_to_region):
8569 * editfns.c (Fchar_equal):
8570 * editfns.c (Fchar_Equal):
8571 * editfns.c (Ftranspose_regions):
8572 * emacs.c (Fdump_emacs):
8574 * eval.c (Fcommand_execute):
8575 * eval.c (Fautoload):
8576 * eval.c (Fbacktrace):
8577 * eval.c (Fbacktrace_frame):
8579 * events.c (Fcopy_event):
8580 * events.c (Fcharacter_to_event):
8581 * events.c (Fevent_button):
8582 * events.c (Fevent_process):
8584 * extents.c (Fnext_extent_change):
8585 * extents.c (Fextent_property):
8587 * faces.c (Fmake_face):
8589 * file-coding.c (Fencode_shift_jis_char):
8590 * file-coding.c (Fencode_big5_char):
8591 * fileio.c (Ffile_name_directory):
8592 * fileio.c (Ffile_name_nondirectory):
8593 * fileio.c (Ffile_name_as_directory):
8594 * fileio.c (Fdirectory_file_name):
8595 * fileio.c (Ffile_truename):
8596 * fileio.c (Fsubstitute_in_file_name):
8597 * fileio.c (Ffile_modes):
8598 * fileio.c (Fset_file_modes):
8599 * fileio.c (Fset_default_file_modes):
8600 * fileio.c (Fverify_visited_file_modtime):
8601 * floatfns.c (Facos):
8602 * floatfns.c (Fasin):
8603 * floatfns.c (Fatan):
8604 * floatfns.c (Fcos):
8605 * floatfns.c (Fsin):
8606 * floatfns.c (Ftan):
8607 * floatfns.c (Fbessel_j0):
8608 * floatfns.c (Fbessel_j1):
8609 * floatfns.c (Fbessel_jn):
8610 * floatfns.c (Fbessel_y0):
8611 * floatfns.c (Fbessel_y1):
8612 * floatfns.c (Fbessel_yn):
8613 * floatfns.c (Ferf):
8614 * floatfns.c (Ferfc):
8615 * floatfns.c (Flog_gamma):
8616 * floatfns.c (Fexp):
8617 * floatfns.c (Fexpt):
8618 * floatfns.c (Flog):
8619 * floatfns.c (Flog10):
8620 * floatfns.c (Fsqrt):
8621 * floatfns.c (Fcube_root):
8622 * floatfns.c (Facosh):
8623 * floatfns.c (Fasinh):
8624 * floatfns.c (Fatanh):
8625 * floatfns.c (Fcosh):
8626 * floatfns.c (Fsinh):
8627 * floatfns.c (Ftanh):
8628 * floatfns.c (Fabs):
8629 * floatfns.c (Ffloat):
8630 * floatfns.c (Flogb):
8631 * floatfns.c (Fceiling):
8632 * floatfns.c (Ffloor):
8633 * floatfns.c (Fround):
8634 * floatfns.c (Ftruncate):
8635 * floatfns.c (Ffceiling):
8636 * floatfns.c (Fffloor):
8637 * floatfns.c (Ffround):
8638 * floatfns.c (Fftruncate):
8639 * fns.c (Fstring_equal):
8640 * fns.c (Fstring_lessp):
8645 * fns.c (Fsubstring):
8647 * fns.c (Fold_assoc):
8648 * fns.c (assoc_no_quit):
8650 * fns.c (Fold_assq):
8651 * fns.c (assq_no_quit):
8653 * fns.c (Fold_rassoc):
8655 * fns.c (Fold_rassq):
8656 * fns.c (rassq_no_quit):
8657 * fns.c (Fremassoc):
8658 * fns.c (remassoc_no_quit):
8660 * fns.c (remassq_no_quit):
8661 * fns.c (Fremrassoc):
8662 * fns.c (Fremrassq):
8663 * fns.c (remrassq_no_quit):
8665 * fns.c (Fplist_get):
8666 * fns.c (Fplist_put):
8667 * fns.c (Fplist_remprop):
8668 * fns.c (Fplist_member):
8669 * fns.c (Flax_plist_get):
8670 * fns.c (Flax_plist_put):
8671 * fns.c (Flax_plist_remprop):
8672 * fns.c (Flax_plist_member):
8674 * fns.c (Fold_equal):
8676 * fns.c (Fbase64_encode_region):
8677 * fns.c (Fbase64_encode_string):
8678 * fns.c (Fbase64_decode_region):
8680 * frame.c (frame_matches_frame_spec):
8681 * frame.c (device_matches_device_spec):
8682 * frame.c (next_frame):
8683 * frame.c (previous_frame):
8684 * frame.c (Fnext_frame):
8685 * frame.c (Fprevious_frame):
8686 * frame.c (Fframe_property):
8687 * frame.c (Fset_frame_height):
8688 * frame.c (Fset_frame_size):
8692 * glyphs.c (decode_error_behavior_flag):
8693 * glyphs.c (Fmake_image_instance):
8694 * indent.c (Findent_to):
8695 * intl.c (Fignore_defer_gettext):
8696 * keymap.c (Fkeymapp):
8697 * keymap.c (Flookup_key):
8699 * lread.c (Fload_internal):
8700 * lread.c (Feval_buffer):
8701 * lread.c (Feval_region):
8702 * macros.c (Fexecute_kbd_macro):
8703 * marker.c (set_marker_internal):
8704 * marker.c (Fset_marker):
8705 * marker.c (set_marker_restricted):
8706 * marker.c (Fcopy_marker):
8707 * marker.c (noseeum_copy_marker):
8709 * menubar.c (Fpopup_menu):
8711 * mule-charset.c (Fcharset_name):
8712 * mule-charset.c (Fchar_charset):
8713 * mule-charset.c (Fchar_octet):
8714 * mule-charset.c (Fsplit_char):
8715 * mule-wnnfns.c (Fwnn_open):
8716 * mule-wnnfns.c (Fwnn_dict_comment):
8717 * mule-wnnfns.c (Fwnn_quit_henkan):
8718 * mule-wnnfns.c (Fwnn_word_toroku):
8719 * mule-wnnfns.c (Fwnn_word_sakujo):
8720 * mule-wnnfns.c (Fwnn_word_use):
8721 * mule-wnnfns.c (Fwnn_hindo_set):
8723 * objects.c (Fmake_color_instance):
8724 * objects.c (Fmake_font_instance):
8725 * print.c (Fwrite_char):
8727 * process.c (mark_process):
8728 * process.c (print_process):
8729 * process.c (get_process_from_usid):
8730 * process.c (Fprocessp):
8731 * process.c (Fprocess_live_p):
8732 * process.c (Fget_process):
8733 * process.c (Fget_buffer_process):
8734 * process.c (get_process):
8735 * process.c (Fprocess_id):
8736 * process.c (Fprocess_name):
8737 * process.c (Fprocess_command):
8738 * process.c (init_process_io_handles):
8739 * process.c (start_process_unwind):
8740 * process.c (Fstart_process_internal):
8741 * process.c (Fopen_multicast_group_internal):
8742 * process.c (Fset_process_window_size):
8743 * process.c (read_process_output):
8744 * process.c (send_process):
8745 * process.c (Fprocess_tty_name):
8746 * process.c (Fset_process_buffer):
8747 * process.c (Fprocess_buffer):
8748 * process.c (Fprocess_mark):
8749 * process.c (set_process_filter):
8750 * process.c (Fset_process_filter):
8751 * process.c (Fprocess_filter):
8752 * process.c (Fprocess_send_region):
8753 * process.c (Fprocess_send_string):
8754 * process.c (exec_sentinel):
8755 * process.c (Fset_process_sentinel):
8756 * process.c (Fprocess_sentinel):
8757 * process.c (status_notify):
8758 * process.c (Fprocess_status):
8759 * process.c (Fprocess_exit_status):
8760 * process.c (process_send_signal):
8761 * process.c (Fprocess_send_eof):
8762 * process.c (deactivate_process):
8763 * process.c (remove_process):
8764 * process.c (Fdelete_process):
8765 * process.c (kill_buffer_processes):
8766 * process.c (Fprocess_kill_without_query):
8767 * process.c (Fprocess_kill_without_query_p):
8769 * rangetab.c (Fget_range_table):
8770 * rangetab.c (Fput_range_table):
8771 * rangetab.c (Fremove_range_table):
8772 * rangetab.c (Fclear_range_table):
8774 * search.c (Fskip_chars_forward):
8775 * search.c (Fskip_chars_backward):
8776 * search.c (Fskip_syntax_forward):
8777 * search.c (Fskip_syntax_backward):
8778 * search.c (search_command):
8779 * search.c (Freplace_match):
8780 * search.c (Fregexp_quote):
8781 * select.c (Fown_selection_internal):
8782 * select.c (Fselection_owner_p):
8783 * select.c (Fselection_exists_p):
8784 * select.c (Fget_selection_internal):
8787 * symbols.c (Fintern):
8788 * symbols.c (Fintern_soft):
8789 * symbols.c (Funintern):
8790 * symbols.c (Fapropos_internal):
8791 * symbols.c (Fset_default):
8793 * syntax.c (Fsyntax_table_p):
8794 * syntax.c (Fcopy_syntax_table):
8795 * syntax.c (Fset_syntax_table):
8796 * syntax.c (Fchar_syntax):
8797 * syntax.c (syntax_match):
8798 * syntax.c (Fmatching_paren):
8799 * syntax.c (Fforward_word):
8800 * syntax.c (scan_lists):
8801 * syntax.c (Fscan_lists):
8802 * syntax.c (Fscan_sexps):
8803 * syntax.c (Fparse_partial_sexp):
8804 * toolbar.c (Fcheck_toolbar_button_syntax):
8807 * window.c (Fwindowp):
8808 * window.c (Fwindow_live_p):
8809 * window.c (Fwindow_point):
8810 * window.c (Fdelete_window):
8811 * window.c (Fnext_window):
8812 * window.c (Fprevious_window):
8813 * window.c (Fother_window):
8814 * window.c (window_loop):
8815 * window.c (Fget_lru_window):
8816 * window.c (Fsplit_window):
8817 * window.c (Fenlarge_window):
8818 * window.c (Fenlarge_window_pixels):
8819 * window.c (Fshrink_window):
8820 * window.c (Fshrink_window_pixels):
8821 * window.c (change_window_height):
8822 * window.c (Fwindow_configuration_p):
8823 * window.c (Fcurrent_window_configuration):
8825 * casefiddle.c (casify_object):
8826 * casefiddle.c (Fupcase):
8827 * casefiddle.c (Fdowncase):
8828 * casefiddle.c (Fcapitalize):
8829 * casefiddle.c (Fupcase_initials):
8830 * casefiddle.c (casify_region_internal):
8831 * casefiddle.c (casify_region):
8832 * casefiddle.c (Fupcase_region):
8833 * casefiddle.c (Fdowncase_region):
8834 * casefiddle.c (Fcapitalize_region):
8835 * casefiddle.c (Fupcase_initials_region):
8836 * casefiddle.c (Fupcase_word):
8837 * casefiddle.c (Fdowncase_word):
8838 * casefiddle.c (Fcapitalize_word):
8839 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8840 Replace 0 with '\0' when working with bytes.
8841 Replace initial "(" with "\(" in docstrings.
8843 2000-11-01 Martin Buchholz <martin@xemacs.org>
8845 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8847 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8849 2000-10-31 Martin Buchholz <martin@xemacs.org>
8851 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8853 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8855 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8858 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8860 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8861 (inhibit_auto_save_session): New variable.
8862 (vars_of_fileio): Declare and initialize them.
8863 * fileio.c (Fdo_auto_save): Don't create session file if
8864 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8866 2000-10-31 Martin Buchholz <martin@xemacs.org>
8868 * sgiplay.c (play_internal): C++ compilability.
8869 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8870 * callproc.c (Fold_call_process_internal):
8871 Remove unused vars `env', `first'.
8872 * scrollbar.c (update_scrollbar_instance):
8873 #### unused var `current_window'.
8874 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8875 etc. within #ifdef NOT_YET.
8876 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8877 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8878 * specifier.c (specifier_instance):
8879 #### unused var `tag'.
8880 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8882 2000-10-27 Martin Buchholz <martin@xemacs.org>
8885 * fns.c (list_sort):
8886 * fns.c (Ffillarray):
8887 * fns.c (bytecode_nconc2):
8890 * fns.c (Fmapconcat):
8891 Be pedantically 64-bit correct. For the time when someone will
8892 want to have a list with length > 2**32.
8894 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8895 Work around MIPSpro compiler bug.
8897 * process-unix.c (unix_kill_child_process): Add snarky comment.
8898 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8900 * config.h.in: Oops, _getpt ==> _getpty
8902 2000-10-26 Martin Buchholz <martin@xemacs.org>
8906 Use void*, not char*, as return type of alloca().
8908 * alloc.c (free_marker): Side effect inside assert expression!
8910 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8912 * mule-charset.c (Fset_charset_ccl_program): To check
8913 if the given ccl program is valid, use setup_ccl_program()
8914 instead of CHECK_VECTOR().
8915 (Fmake_charset): Likewise.
8917 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8919 * faces.c (get_extent_fragment_face_cache_index):
8920 Fix cachel.merged_faces memory leak.
8922 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8924 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8925 Reset MSB of octets obtained by DECODE_SJIS
8926 because of the incompatibility with Emacs.
8927 (ccl_driver)<CCL_ENCODE_SJIS>:
8928 Set MSB of octets before passing them to
8929 ENCODE_SJIS because of the incompatibility
8932 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8934 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8935 (DECLARE_LRECORD): Undo the last change.
8936 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8938 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8940 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8941 the implementation to lrecord_implementations_table.
8943 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8945 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8946 initial value of `lrecord_type_##c_name' and
8947 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8948 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8949 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8950 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8951 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8953 2000-10-17 Martin Buchholz <martin@xemacs.org>
8955 * miscplay.c (sndcnv8S_2mono):
8956 (sndcnv2monounsigned):
8957 (sndcnvULaw_2linear):
8959 Remove implementation-defined behavior.
8961 2000-10-12 Martin Buchholz <martin@xemacs.org>
8963 * input-method-xlib.c: Warning suppression.
8965 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8967 * mule-ccl.c: Sync up with Emacs 21.0.90.
8968 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8970 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8972 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8973 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8974 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8975 leading char belongs to official 2-dimensional charset.
8976 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8977 write the given character as is. Otherwise,
8978 if it is a multibyte char, convert it by
8979 non_ascii_set_charptr_emchar, then write it.
8980 (CCL_WRITE_STRING): Likewise.
8981 (ccl_get_compiled_code): New function.
8982 (setup_ccl_program): When ccl_prog is invalid,
8984 (Fregister_code_conversion_map): New function.
8985 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8987 * mule-ccl.h: Sync up with Emacs 21.0.90.
8988 (Fregister_ccl_program): export it.
8990 * redisplay-msw.c (separate_textual_runs):
8991 If ccl program is not valid, don't do ccl conversion.
8993 * redisplay-x.c (separate_textual_runs): Ditto.
8995 * file-coding.c (Fmake_coding_system):
8996 When type is ccl and value is vector, register it
8997 with a proper symbol. And checks whether the
8998 given ccl program is valid.
8999 (mule_decode): When calling ccl_driver, if src indicates
9000 NULL pointer, set an empty string instead.
9001 (mule_encode): Likewise.
9003 2000-10-11 Martin Buchholz <martin@xemacs.org>
9005 The following large batch of changes gets us back to a state of
9006 C++ compilability. Extbyte is now a char, which means that
9007 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9009 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9011 * sound.c (Fplay_sound): Type correctness.
9013 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9014 (x_get_window_property): Type correctness.
9015 (receive_incremental_selection): unsigned char ==> Extbyte
9016 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9017 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9018 (Fx_store_cutbuffer_internal): Type correctness.
9020 * process-unix.c (try_to_initialize_subtty): Type correctness.
9022 * objects-x.c (x_print_color_instance): Type correctness.
9023 (x_print_font_instance): Type correctness.
9024 (x_list_fonts): SExtbyte ==> Extbyte.
9025 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9026 (x_find_charset_font): SExtbyte ==> Extbyte.
9027 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9028 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9029 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9032 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9033 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9034 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9035 (BYTE_C0_P): Use bit ops for char-signedness safety.
9036 (BYTE_C1_P): Use bit ops for char-signedness safety.
9037 (CHARSET_BY_LEADING_BYTE):
9038 (CHARSET_BY_ATTRIBUTES):
9039 Always use inline function.
9040 Use type_checking_assert.
9043 * mule-charset.c (non_ascii_charptr_copy_char):
9044 Modify to work with both ASCII and non-ASCII characters.
9045 Improve docs and variable names.
9046 Replace over-clever fall-through switch with a simple loop.
9047 (Lstream_get_emchar_1):
9048 Replace over-clever fall-through switch with a simple loop.
9050 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9051 Warning suppression.
9053 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9054 the return value of Lstream_getc, which could be EOF as well.
9056 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9058 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9059 APIs can be used on Extbytes without casts. Risky!
9063 * input-method-xlib.c (XIM_init_device):
9064 Use Xlib.h instead of IntrinsicP.h.
9065 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9066 which will break in X11R7.
9067 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9068 to call XRegisterIMInstantiateCallback with correct types.
9070 * gui-x.c (button_item_to_widget_value): Type correctness.
9072 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9074 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9075 (xbm_instantiate_1): Type correctness.
9076 (BUILD_GLYPH_INST): Type correctness.
9078 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9081 (decode_coding_sjis):
9082 (decode_coding_big5):
9083 (decode_coding_ucs4):
9084 (decode_coding_utf8):
9085 (decode_coding_iso2022):
9086 (decode_coding_no_conversion):
9087 Make all decoding functions take an Extbyte * arg.
9088 (encode_coding_sjis):
9089 (encode_coding_big5):
9090 (encode_coding_ucs4):
9091 (encode_coding_utf8):
9092 (encode_coding_iso2022):
9093 (encode_coding_no_conversion):
9094 Make all encoding functions take a Bufbyte * arg.
9095 Use size_t instead of unsigned int for memory sizes.
9096 Only cast to unsigned char whenever dereferencing Extbyte *.
9098 * doc.c (unparesseuxify_doc_string): Type correctness.
9100 * console-x.c (split_up_display_spec):
9101 Rewrite without using details of internal string representation.
9102 (x_semi_canonicalize_device_connection): Type correctness.
9105 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9106 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9107 (HAVE_XFREE386): Removed.
9109 * buffer.h (DEC_CHARPTR): `const' correctness.
9110 (bufbyte_strcmp): New.
9111 (bufbyte_memcmp): New.
9113 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9115 * buffer.h (XCHAR_OR_CHAR_INT):
9116 Always use inline function.
9117 Remove redundant type checking assert() - XINT will abort quite nicely.
9119 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9121 * search.c (Freplace_match): Set newtext to an empty string.
9123 2000-10-10 Martin Buchholz <martin@xemacs.org>
9125 * s/decosf1-3.h: Remove #include of stropts.h
9126 * s/ptx.h: Remove #include of stropts.h
9127 * s/usg5-4.h: Remove #include of stropts.h
9130 Use stropts.h, not sys/stropts.h.
9131 Use strtio.h, not sys/strtio.h.
9133 2000-10-04 Martin Buchholz <martin@xemacs.org>
9135 * XEmacs 21.2.36 is released.
9137 2000-09-21 Andy Piper <andy@xemacs.org>
9139 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9140 changes still involve copying the widget tree.
9141 (update_widget_face): make sure a change is register in the widget
9142 tree. Call update_tab_widget_face appropriately.
9143 (update_tab_widget_face): ditto.
9144 (x_tab_control_redisplay): make sure non-structural changes still
9145 involve copying the widget tree.
9147 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9149 * lread.c (locate_file): Check the path element is non-nil.
9151 2000-10-02 Martin Buchholz <martin@xemacs.org>
9153 * lisp.h: Warning suppression for SCO compilers.
9155 * redisplay-tty.c (reset_tty_modes): Fix crash.
9156 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9158 2000-09-27 Martin Buchholz <martin@xemacs.org>
9160 Big signal/process handling overhaul. Bugs fixed:
9161 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9162 M-x comint-kill-subjob should work for both values nil and t of
9163 process-connection-type. It was broken on most platforms.
9164 Testing on Irix and Cygwin still needed. Other plaforms tested.
9165 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9166 * process-unix.c: Signal/Process handling overhaul.
9167 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9168 (allocate_pty): Use all available modern methods of allocating
9169 ptys, falling back to old style BSD allocation as a last resort.
9170 Use allegedly more secure Unix98 pty allocation by default.
9171 (allocate_pty_the_old_fashioned_way): New. the last resort.
9172 (unix_create_process): Push ptem, ldterm, ttcompat where
9173 available. Autoconfiscate.
9174 (try_to_initialize_subtty): New.
9175 (unix_kill_child_process): Proper signal handling for ptys on most
9176 platforms, using special knowledge of AIX, BSD, etc...
9177 (unix_create_process): Always disconnect_controlling_terminal() for
9178 subprocesses, whether using ptys or not.
9179 * process.h: Remove old getpt-dependent PTY code.
9180 * process.c (Fprocess_send_signal): New, obvious generic function.
9181 (decode_signal): New.
9182 (Finterrupt_process):
9186 (Fcontinue_process):
9187 (Fsignal_process): Use decode_signal.
9188 (process_send_signal):
9189 Many docstring corrections.
9190 Allow any signal to be sent to a process object.
9191 * config.h.in: Add symbols for big signal/process overhaul.
9192 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9193 * sysproc.h: Include process-related headers, where available:
9194 sys/stropts.h sys/strtio.h pty.h libutil.h
9202 Remove old S&M pty stuff.
9203 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9204 * systty.h: Simplify cpp hackery, improve comments.
9205 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9207 * editfns.c (Fformat_time_string):
9208 Be a little more paranoid with the return value of ctime.
9210 * fileio.c (check_executable):
9212 Use symbolic constants X_OK, W_OK.
9214 * console-x.c (split_up_display_spec): Fix a warning.
9216 2000-10-02 Martin Buchholz <martin@xemacs.org>
9218 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9219 * ntproc.c (sys_spawnve): make_string ==> build_string
9220 Small clarity improvements.
9222 2000-09-30 Martin Buchholz <martin@xemacs.org>
9224 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9226 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9228 * config.h.in (HAVE_STRCASECMP): Remove.
9230 2000-09-29 Martin Buchholz <martin@xemacs.org>
9232 * redisplay-output.c (redisplay_output_pixmap):
9233 Cleaner and possibly more 64-bit correct code.
9235 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9237 * dumper.c (pdump_load_finish): move restoration of
9238 `noninteractive1' to emacs.c (main_1).
9239 * emacs.c (main_1): protect LISP-visible command-line flags
9242 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9244 * Makefile.in.in (versionclean): Use EXE_TARGET and
9245 DUMP_TARGET instead of literal program names.
9247 2000-09-20 Martin Buchholz <martin@xemacs.org>
9249 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9251 2000-09-19 Martin Buchholz <martin@xemacs.org>
9253 * *: Spelling mega-patch
9255 2000-09-19 Martin Buchholz <martin@xemacs.org>
9257 * fns.c (bad_bad_turtle):
9258 Delete "Eek!" comment, since we fixed the bug to which it refers.
9260 2000-09-16 Martin Buchholz <martin@xemacs.org>
9262 * alloca.c: Replace REGISTER with register.
9264 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9266 * file-coding.c (ucs_to_char): Use countof.
9268 2000-09-16 Martin Buchholz <martin@xemacs.org>
9270 * file-coding.c: (ucs_to_char):
9271 (complex_vars_of_file_coding):
9272 Use countof instead of sizeof.
9273 Use CHECK_NATNUM instead of CHECK_INT.
9275 * sysdep.c (strcasecmp): Remove.
9276 * device-x.c (ascii_strcasecmp): New.
9277 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9278 Avoid using non-standard non-portable strcasecmp.
9280 2000-09-16 Martin Buchholz <martin@xemacs.org>
9282 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9283 * font-lock.c: remove reference to emacsfns.h.
9284 * search.c: small doc improvement.
9285 * event-Xt.c: correct file names in comments.
9286 * console-x.h Correct file names in comments.
9287 * frame.c: Correct file names in comments.
9288 * event-stream.c: remove Energize from comments.
9290 2000-09-15 Martin Buchholz <martin@xemacs.org>
9292 * symeval.h (DEFERROR_STANDARD):
9295 (DEFSYMBOL_NO_DUMP):
9296 (DEFSYMBOL_MULTIWORD_PREDICATE):
9297 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9299 The construct &##name is not sensible C.
9300 Fixes compilation errors with Unixware native compiler.
9302 2000-09-14 Martin Buchholz <martin@xemacs.org>
9304 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9305 (next_frame_internal): Removed. We now just have next_frame.
9307 Write a simpler and cleaner one-pass algorithm.
9308 Remove called_from_delete_device arg and #ifdefed-out code.
9310 Renamed from prev_frame. Update callers.
9311 Cleaned up to have an analogous implementation to next_frame.
9312 (other_visible_frames_internal): Remove the
9313 called_from_delete_device bogus arg, and hence, remove this
9314 function. Just use other_visible_frames().
9316 * window.c (Fnext_window):
9318 Since next_frame() is guaranteed to return a frame, remove check
9319 for nil inserted in previous patch.
9322 Make code look more like Fnext_window.
9324 Respect the `console' arg when iterating through windows.
9325 Fixes bug: (get-buffer-window buffer t device) not respecting
9327 This function needs more work, as others have pointed out.
9329 * frame.h: Rename prev_frame to previous_frame.
9330 device_matches_console_spec no longer takes a `frame' arg.
9335 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9336 From "Golubev I. N." <gin@mo.msk.ru>.
9338 * make-src-depend: Fix typo.
9340 2000-09-13 Martin Buchholz <martin@xemacs.org>
9342 * window.c (Fnext_window):
9343 next_frame() might return nil, not a frame.
9345 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9347 * frame.c (next_frame_internal):
9348 We've passed a frame if we've passed its device.
9350 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9351 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9353 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9355 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9356 Allow option to suppress accelerators in menu/dialog items.
9357 (populate_or_checksum_helper): Pass dialog title through above.
9359 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9361 * event-msw.c (mswindows_key_to_emacs_keysym):
9362 Add "pause" key, fix "menu" key.
9364 2000-09-09 Martin Buchholz <martin@xemacs.org>
9366 * eval.c (reinit_vars_of_eval):
9367 Increase max_lisp_eval_depth to 1000,
9368 required for thai-xtis.el to byte-compile under some circumstances.
9370 2000-09-04 Martin Buchholz <martin@xemacs.org>
9372 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9375 2000-09-01 Martin Buchholz <martin@xemacs.org>
9377 * make-src-depend: Make the generated Makefiles smaller.
9379 * s/hpux.h (SETUP_SLAVE_PTY):
9380 Provide a %d in the format string for the errno argument.
9382 * editfns.c (Ftemp_directory):
9384 Avoid buffer overrun on very long file name.
9386 * input-method-xlib.c (XIM_init_device):
9387 6th parameter of XRegisterIMInstantiateCallback has different
9388 pointer types on different OSes, so simply cast to (void *).
9390 * unexhp9k800.c: Warning fixes. Fiddly changes.
9392 * sysdll.c (dll_open):
9393 shl_load will hang hard if passed a NULL filename.
9394 Simply return NULL for compatibility with dlopen.
9395 * sysdll.c: Conform to XEmacs coding standards.
9397 * sysdep.c (get_pty_max_bytes):
9398 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9400 2000-08-31 Martin Buchholz <martin@xemacs.org>
9402 * tooltalk.c: Add #include <syssignal.h>
9404 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9406 * s/hpux.h: Don't use undefined function sigunblock().
9408 2000-08-31 Martin Buchholz <martin@xemacs.org>
9410 * config.h.in: Add HAVE_BALLOON_HELP.
9411 * emacs.c: Use HAVE_BALLOON_HELP.
9412 * Makefile.in.in (x_objs):
9413 Make Balloon Help conditional on finding shape.h.
9415 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9417 * syntax.c (regex_emacs_buffer_p): New variable.
9418 * syntax.h (regex_emacs_buffer_p): extern.
9419 * search.c (looking_at_1):
9421 (fast_string_match):
9422 (search_buffer): Set regex_emacs_buffer_p.
9423 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9424 when before_dot, at_dot, after_dot.
9426 2000-08-23 Andy Piper <andy@xemacs.org>
9428 * gui-x.c (popup_selection_callback): Only set action_occurred
9429 when we really have an image instance.
9430 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9432 2000-08-23 Andy Piper <andy@xemacs.org>
9434 * gui-msw.c (mswindows_handle_gui_wm_command): set
9436 * gui-x.c (popup_selection_callback): ditto.
9438 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9439 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9440 (struct Lisp_Image_Instance): add action_occurred flag.
9442 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9443 (image_instance_changed): ditto.
9444 (reset_frame_subwindow_instance_cache): only unmap windows - do
9445 not remove them from the cache also.
9447 * glyphs-widget.c (tab_control_update): better debug.
9448 (progress_gauge_update): ditto.
9449 (layout_update): ditto.
9450 (layout_instantiate): ditto.
9451 (tab_control_order_only_changed): cope with null pending items.
9453 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9454 debug. Force selection of an item when an action occurred. Cope
9455 with null pending_items.
9456 (mswindows_progress_gauge_redisplay): better debug.
9457 * glyphs-x.c (x_tab_control_redisplay): ditto.
9459 * redisplay.c (redisplay_frame): reset the frame cache if the
9462 * window.c (Fset_window_configuration): potentially re-enable
9464 (window_unmap_subwindows): need to finalize instances here since
9465 it is only used in mark_window_as_deleted.
9467 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9469 * nas.c (SndOpenDataForReading):
9470 nas.c (WaveOpenDataForReading):
9471 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9472 Somehow escaped from the 2000-08-14 patch.
9474 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9476 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9477 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9479 2000-08-21 Andy Piper <andy@xemacs.org>
9481 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9482 window if it is not already displayed.
9484 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9485 it is not already displayed.
9487 * window.c (Fset_window_configuration): don't reset the frame
9490 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9491 instances from the frame cache if we are actually finalizing them.
9492 (reset_frame_subwindow_instance_cache): reset frame cache only
9493 after unmapping everything.
9494 (map_subwindow): set displayed flag after mapping.
9496 2000-08-21 Martin Buchholz <martin@xemacs.org>
9498 * data.c (indirect_function):
9499 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9501 * eval.c (function_argcount):
9502 Use original function when signaling errors.
9504 2000-08-18 Andy Piper <andy@xemacs.org>
9506 * frame.c (delete_frame_internal): use new
9507 free_frame_subwindow_instances name.
9509 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9510 (add_tab_item): make return type correct.
9511 (mswindows_tab_control_instantiate): assert index of tab.
9512 (mswindows_tab_control_redisplay): Re-code to use
9513 gui_item_equal_sans_selected and gui_item_list_find_selected.
9515 * glyphs-widget.c (tab_control_update): Correct comment.
9517 * window.c (window_unmap_subwindows): use new
9518 unmap_subwindow_instance_cache_mapper.
9519 (window_unmap_subwindows_cache_mapper): deleted.
9520 (Fset_window_configuration): comparisons should now be with
9521 EQ. Preserve the subwindow instance cache across configuration
9523 (allocate_window): ditto.
9524 (make_dummy_parent): ditto.
9526 * glyphs.c (free_frame_subwindow_instances): rename from
9527 free_frame_subwindow_instance_cache. finalize all instances rather
9528 than just those in the display cache.
9529 (finalize_all_subwindow_instances): walk windows unmapping and
9530 finalizing subwindows.
9531 (unmap_subwindow_instance_cache_mapper): moved from
9532 window.c. Allow finalization as well as unmapping.
9534 * gui.c (gui_item_list_find_selected): new function.
9536 * gui.h (gui_item_list_find_selected): declare.
9538 * glyphs-x.c (x_tab_control_redisplay): pick tab
9539 explicitly. Re-code to use gui_item_equal_sans_selected and
9540 gui_item_list_find_selected.
9542 * glyphs-x.h: add lwlib-utils.h
9544 * buffer.c (Frecord_buffer): undo previous change.
9546 2000-08-09 Vin Shelton <acs@xemacs.org>
9548 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9549 possible. Create temporary files more securely. The patch was
9550 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9551 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9552 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9555 2000-08-07 Ben Wing <ben@xemacs.org>
9557 * getloadavg.c: remove duplicate (and windows-breaking)
9558 includes of fcntl.h and sys/file.h.
9560 * nt.c: remove duplicate getloadavg() definition.
9562 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9565 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9567 * eval.c (function_argcount): If function needs to be autoloaded
9568 actually use the loaded definition.
9571 2000-08-05 Ben Wing <ben@xemacs.org>
9573 * getloadavg.c: add prototype for getloadavg(). remove
9574 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9575 of the code). remove duplicate header includes.
9577 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9579 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9580 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9581 useful load average.
9583 * alloc.c (reinit_alloc_once_early): removed references to
9584 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9585 the lisp vars are the only things referencing the malloc_sbrk_*
9586 vars, and they were already if 0'd out. these vars only exist
9587 in the older malloc.c, which is basically unused, and they're
9588 only for informational purposes.
9590 * m\*.h: removed useless VIRT_ADDR_VARIES.
9592 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9594 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9596 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9597 color if the image is a mono pixmap.
9599 2000-07-30 Ben Wing <ben@xemacs.org>
9601 * Makefile.in.in (release):
9604 * buffer.c (directory_is_current_directory):
9605 * dired-msw.c (mswindows_get_files):
9607 * dired.c (Fdirectory_files):
9608 * dired.c (file_name_completion_stat):
9609 * dired.c (Ffile_attributes):
9610 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9611 preprocessor tricks, to avoid problems on some machines
9614 * callproc.c (egetenv): GC docs.
9617 * console-msw.h (struct mswindows_dialog_id):
9618 * lrecord.h (lrecord_type):
9619 New object for use with MSW dialogs.
9621 * console.h (struct console_methods):
9622 New enable/disable frame methods, for proper modal dialogs.
9624 * device-msw.c (msprinter_default_printer): Fix to follow
9625 proper Mule conventions.
9628 * device-msw.c (signal_open_printer_error):
9629 * device-msw.c (msprinter_init_device):
9630 * device-msw.c (ensure_not_printing):
9631 * device-msw.c (plist_get_margin):
9632 * device-msw.c (Fmsprinter_select_settings):
9633 * device-msw.c (finalize_devmode):
9634 * device-msw.c (Fmsprinter_settings_despecialize):
9635 * device-msw.c (signal_enum_priner_error):
9636 * extents.c (decode_extent):
9637 * extents.c (decode_map_extents_flags):
9638 * extents.c (decode_extent_at_flag):
9639 * extents.c (Fextent_at):
9640 * extents.c (Fextents_at):
9641 * extents.c (symbol_to_glyph_layout):
9642 [[[[2]]]] Use structured errors.
9645 * dialog-msw.c (mswindows_is_dialog_msg):
9646 * dialog-msw.c (mark_mswindows_dialog_id):
9647 * dialog-msw.c (dialog_proc):
9648 * dialog-msw.c (handle_question_dialog_box):
9649 * dialog-msw.c (syms_of_dialog_mswindows):
9650 Define new object to clean up marking; use it as a dialog identifier.
9651 Call new delete-dialog-box-hook.
9653 * dialog-x.c (dbox_selection_callback):
9654 * dialog-x.c (dbox_descriptor_to_widget_value):
9655 * dialog-x.c (x_make_dialog_box_internal):
9656 Call new delete-dialog-box-hook.
9660 * dialog.c (syms_of_dialog):
9661 * dialog.c (vars_of_dialog):
9662 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9665 * eval.c (signal_call_debugger):
9666 when noninteractive, output stack traces on the console instead
9667 of in a (never-seen) buffer.
9669 * eval.c (signal_type_error):
9670 * eval.c (invalid_argument_2):
9672 new funs for use w/structured errors.
9675 * event-Xt.c (x_to_emacs_keysym):
9676 * event-Xt.c (describe_event):
9677 * event-Xt.c (emacs_Xt_event_handler):
9678 * event-Xt.c (vars_of_event_Xt):
9680 * event-msw.c (mswindows_wnd_proc):
9681 * event-msw.c (vars_of_event_mswindows):
9682 rename {x,mswindows}-debug-events to debug-{}-events for
9683 consistency with other debug-foo variables.
9686 document next-event more clearly.
9688 * fileio.c (Ffile_name_directory):
9689 * fileio.c (Ffile_name_nondirectory):
9690 * fileio.c (Funhandled_file_name_directory):
9691 * fileio.c (file_name_as_directory):
9692 * fileio.c (Ffile_name_as_directory):
9693 * fileio.c (directory_file_name):
9694 * fileio.c (Fdirectory_file_name):
9695 * fileio.c (Fmake_temp_name):
9696 * fileio.c (Ffile_truename):
9697 * fileio.c (Fsubstitute_in_file_name):
9698 * fileio.c (expand_and_dir_to_file):
9699 * fileio.c (barf_or_query_if_file_exists):
9700 * fileio.c (check_executable):
9701 * fileio.c (Ffile_exists_p):
9702 * fileio.c (Ffile_writable_p):
9703 * fileio.c (Ffile_directory_p):
9704 * fileio.c (Ffile_regular_p):
9705 * fileio.c (Ffile_modes):
9706 * fileio.c (Ffile_newer_than_file_p):
9707 * fileio.c (Fverify_visited_file_modtime):
9708 * fileio.c (Fset_visited_file_modtime):
9709 * fileio.c (auto_save_1):
9714 * frame-msw.c (mswindows_init_frame_1):
9715 * frame-msw.c (mswindows_enable_frame):
9716 * frame-msw.c (error_frame_unsizable):
9717 * frame-msw.c (msprinter_init_frame_1):
9718 * frame-msw.c (msprinter_init_frame_3):
9719 * frame-msw.c (console_type_create_frame_mswindows):
9721 implement new enable/disable frame methods.
9724 * frame-x.c (x_enable_frame):
9725 * frame-x.c (console_type_create_frame_x):
9726 implement new enable/disable frame methods.
9729 * frame.c (Fdisable_frame):
9730 * frame.c (syms_of_frame):
9731 * frame.h (struct frame):
9732 implement new enable/disable frame methods/functions.
9737 * glyphs-msw.c (mswindows_widget_instantiate):
9738 comment that initial-focus should be implemented.
9741 * glyphs-widget.c (check_valid_instantiator):
9742 * glyphs-widget.c (check_valid_orientation):
9743 * glyphs-widget.c (check_valid_tab_orientation):
9744 * glyphs-widget.c (check_valid_justification):
9745 * glyphs-widget.c (check_valid_border):
9746 * glyphs-widget.c (check_valid_callback):
9747 * glyphs-widget.c (check_valid_int_or_function):
9748 * glyphs-widget.c (check_valid_string_or_vector):
9749 * glyphs-widget.c (check_valid_item_list_1):
9750 * glyphs-widget.c (widget_validate):
9751 * glyphs-widget.c (combo_box_validate):
9752 * glyphs-widget.c (widget_instantiate):
9753 * glyphs-widget.c (syms_of_glyphs_widget):
9754 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9755 * glyphs-widget.c (image_instantiator_combo_box):
9756 * glyphs-widget.c (image_instantiator_scrollbar):
9757 * glyphs-widget.c (image_instantiator_tab_control):
9758 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9760 support (unimplemented) keyword initial-focus.
9761 reindent long macros.
9763 * glyphs-x.c (x_redisplay_widget):
9764 * glyphs-x.c (x_button_instantiate):
9765 * glyphs-x.c (x_button_redisplay):
9766 * glyphs-x.c (x_progress_gauge_instantiate):
9767 * glyphs-x.c (x_edit_field_instantiate):
9768 * glyphs-x.c (x_combo_box_instantiate):
9769 * glyphs-x.c (x_tab_control_instantiate):
9770 * glyphs-x.c (x_label_instantiate):
9772 * gui-x.c (button_item_to_widget_value):
9773 * gui-x.c (gui_items_to_widget_values_1):
9774 * gui-x.c (gui_item_children_to_widget_values):
9775 * gui-x.c (gui_items_to_widget_values):
9777 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9778 add new flag to gui-parsing routines to indicate whether
9779 accelerator specs should be supported.
9781 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9783 * glyphs.h (struct Lisp_Image_Instance):
9784 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9785 add initial-focus flag.
9788 * gui.c (syms_of_gui):
9789 * gui.c (vars_of_gui):
9790 clean up menu-no-selection-hook.
9793 support delete-dialog-box-hook.
9795 * lread.c (Fload_internal):
9796 * lread.c (locate_file_in_directory_mapper):
9800 * lrecord.h (struct toolbar_button):
9801 * lrecord.h (syms_of_toolbar):
9802 document how to create a new object.
9804 * menubar-msw.c (mswindows_char_is_accelerator):
9805 may be called on frames w/o menus.
9807 * menubar.c (vars_of_menubar):
9808 clean up :filter docs.
9815 * process-nt.c (validate_signal_number):
9816 * process-nt.c (signal_cannot_launch):
9817 * process-nt.c (nt_create_process):
9818 * process-nt.c (nt_send_process):
9819 * process-nt.c (nt_kill_child_process):
9820 * process-nt.c (nt_open_network_stream):
9821 * process-nt.c (syms_of_process_nt):
9823 delete quote-handling. call new lisp code that does it better.
9825 * process-unix.c (connect_to_file_descriptor):
9826 * process-unix.c (allocate_pty):
9827 * process-unix.c (unix_send_process):
9828 * process-unix.c (unix_kill_child_process):
9829 * process-unix.c (unix_open_network_stream):
9830 * process-unix.c (unix_open_multicast_group):
9834 * process.c (Fstart_process_internal):
9835 (2). need to canonicalize process path even if absolute.
9837 * select-msw.c (symbol_to_ms_cf):
9838 * select-msw.c (ms_cf_to_symbol):
9839 * select-msw.c (cf_is_autofreed):
9840 * select-msw.c (mswindows_destroy_selection):
9842 * select.c (syms_of_select):
9844 support dibv5, fix bugs. (from Mike Alexander)
9846 * select.c (Fget_selection_internal):
9847 * select.c (select_convert_out):
9850 * sysdep.c (xemacs_stat):
9855 but keep original stat() here because we provide encapsulation
9859 * sysfile.h (fstat):
9860 remove stat garbage.
9864 don't include tchar.h. it's inappropriate because it makes
9865 compile-time distinctions when we want runtime distinctions.
9866 (we provide our own tchar replacements)
9869 use default object printer for toolbar-button.
9872 make sure we don't encapsulate.
9874 * window.c (vars_of_window):
9875 emphasize that temp-buffer-show-hook is obsolete.
9877 2000-08-05 Martin Buchholz <martin@xemacs.org>
9879 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9880 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9882 * events.c (Fevent_timestamp_lessp):
9883 Not 64-bit clean. Use EMACS_INT, not int.
9885 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9887 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9888 unsigned int and changed the last enum to
9889 lrecord_type_last_built_in_type.
9890 (lrecord_implementations_table): changed prototype to know how
9891 long the array is supposed to be.
9892 (lrecord_type_count): new unsigned int to keep track of the
9893 current number of lisp lrecord types.
9894 (DEFINE_EXTERNAL_LRECORD):
9895 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9896 dynamic-modules to declare new lisp types. They are the same
9897 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9898 int for each new type, and increment lrecord_type_count by 1.
9900 * alloc.c (lrecord_implementations_table): Changed to reference
9901 lrecord_type_last_built_in_type for the size of the array.
9902 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9904 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9906 * glyphs.h (check_valid_item_list): Renamed from
9907 check_valid_item_list_1.
9909 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9911 * select.c (Qselect_coerce): New.
9912 * select.c (Vselection_coercion_alist): New.
9913 * select.c (syms_of_select): Declare.
9914 * select.c (get-selection-internal): Use it.
9915 Use the new select-coerce functionality.
9917 * select.c (select_coerce): New.
9918 * select.h (select_coerce): Declare.
9919 New function to coerce one type of data into another.
9921 2000-08-03 Martin Buchholz <martin@xemacs.org>
9923 * callproc.c (Fcall_process_internal):
9924 (Fcall_process_internal):
9925 * process-unix.c (unix_create_process):
9926 Save and restore the value of errno, so that error messages are accurate.
9928 2000-08-01 Martin Buchholz <martin@xemacs.org>
9930 * elhash.c (print_hash_table):
9931 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9932 Prettify docstrings and indentation.
9934 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9936 * window.c (Fwindow_pixel_edges): Subtract frame border and
9939 2000-07-31 Andy Piper <andy@xemacs.org>
9941 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9942 will acknowledge the change.
9944 * glyphs.h: declare tab_control_order_only_changed.
9946 * glyphs-x.c (x_tab_control_redisplay): use
9947 tab_control_order_only_changed.
9949 * glyphs-widget.c (tab_control_order_only_changed): new function.
9951 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9952 tab_control_order_only_changed.
9954 * gui.c (gui_item_equal_sans_selected): new function.
9955 (gui_item_equal): use it.
9957 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9958 :properties in favor of :items..
9960 * glyphs-widget.c (check_valid_item_list): rename from
9961 check_valid_item_list_1.
9962 (check_valid_item_list_1): renamed.
9963 (combo_box_validate): deprecate :properties in favor of :items.
9964 (widget_instantiate): ditto.
9965 (tab_control_update): ditto.
9966 (image_instantiator_combo_box): ditto.
9967 (image_instantiator_tree_view): ditto.
9968 (image_instantiator_tab_control): ditto.
9969 (layout_post_instantiate): remove dead code.
9971 * print.c (debug_print_no_newline): only write to debugger if in
9974 * elhash.c (Fmake_hash_table): update doc string.
9976 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9977 messages whilst in GC. This at least stops XEmacs crashing but has
9978 the potential for wierd behaviour.
9980 2000-07-31 Martin Buchholz <martin@xemacs.org>
9983 Make existence of s&m files optional.
9985 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9986 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9987 * s/gnu.h: Remove HAVE_GETLOADAVG.
9988 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9989 * s/sol2.h: Remove HAVE_GETLOADAVG.
9990 * lisp.h: Remove getloadavg() declaration.
9992 Include <sys/loadavg.h> if available.
9993 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9994 * config.h.in: Group together getloadavg()-related macros.
9995 Use only configure-time tests to detect getloadavg().
9997 2000-07-30 Martin Buchholz <martin@xemacs.org>
9999 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10001 2000-07-25 Andy Piper <andy@xemacs.org>
10003 * syswindows.h: add tchar.h for native builds.
10005 * frame.c (syms_of_frame): remove set-glyph-image.
10007 * general-slots.h: add Qset_glyph_image.
10009 * glyphs-widget.c (layout_update): add domain arg to
10011 (syms_of_glyphs_widget): remove set-glyph-image.
10013 2000-07-23 Ben Wing <ben@xemacs.org>
10015 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10018 2000-07-22 Andy Piper <andy@xemacs.org>
10020 * symsinit.h: add syms_of_win32().
10022 * gui-msw.c (syms_of_gui_mswindows): remove
10023 Fmswindows_shell_execute.
10024 (Fmswindows_shell_execute): moved to win32.c.
10026 * emacs.c (main_1): add syms_of_win32 ().
10028 * win32.c (init_potentially_nonexistent_functions): rewrite in
10029 compiler-friendly terms.
10030 (Fmswindows_shell_execute): move here from gui-msw.c.
10031 (syms_of_win32): new.
10033 * device-msw.c (Fmswindows_printer_list): clean up args to
10035 Don't include tchar under cygwin or mingw.
10036 (msprinter_default_printer): make cygwin-friendly.
10038 2000-07-21 Andy Piper <andy@xemacs.org>
10040 * glyphs-widget.c (image_instantiator_tree_view): use tab
10041 control's update function.
10042 (layout_property): new function. Retrieve items.
10044 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10045 function. Re-populate the tree view from the pending items.
10047 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10048 is designated the parent if the domain is an image instance. This
10049 is needed so that dirtiness can be cascade up the hierarchy and
10050 thus for layout children to be redisplayed correctly.
10051 (allocate_image_instance): rename glyph -> parent.
10053 * redisplay.h: change redisplay_output_layout signature.
10055 * redisplay-msw.c (mswindows_output_display_block): use domain
10058 * redisplay-x.c (x_output_display_block): use domain arg.
10060 2000-07-10 Andy Piper <andy@xemacs.org>
10062 * window.c (Fset_window_configuration): add comment.
10064 * redisplay-output.c (compare_runes):
10065 (redisplay_output_subwindow): redisplay rather than update subwindow.
10066 (redisplay_output_layout): ditto.
10068 * redisplay-msw.c (mswindows_frame_output_end):
10069 (mswindows_frame_output_end): make defer window pos optional.
10071 * lisp.h: add Flast.
10073 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10074 normalize method. Change update method to be for changed
10075 instantiators. Add redisplay method. Change signature of layout
10077 (struct Lisp_Image_Instance): add instantiator.
10078 (IMAGE_INSTANCE_INSTANTIATOR): new.
10079 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10080 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10081 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10084 (find_instantiator_differences): new function.
10085 (Fset_instantiator_property): new convenience function.
10086 (check_image_instance_structure): strictly check for vector
10088 (normalize_image_instantiator): make non-static.
10089 (instantiate_image_instantiator): pass on dest_mask and use new
10090 signatures for image_instance_layout and friends.
10091 (mark_image_instance): mark the instantiator. Mark the subwindow
10092 face not the widget face.
10093 (image_instance_equal): add instantiator.
10094 (image_instance_hash): ditto.
10095 (allocate_image_instance): ditto.
10096 (Fset_image_instance_property): removed.
10097 (Fimage_instance_file_name): ditto.
10098 (Fcolorize_image_instance): ditto.
10099 (image_instance_layout): add offsets to be set.
10100 (update_image_instance): new function. update an image instance
10101 from its changed instantiator.
10102 (inherit_normalize): add dest_mask.
10103 (xbm_normalize): ditto.
10104 (xface_normalize): ditto.
10105 (xpm_normalize): ditto.
10106 (text_update): set_property -> update.
10107 (image_instantiate): use the glyph identity as a hash key, not the
10109 (glyph_width): use new image_instance_layout signature.
10110 (glyph_ascent): ditto.
10111 (glyph_descent): ditto.
10112 (glyph_height): ditto.
10113 (glyph_query_geometry): ressurrect.
10114 (glyph_layout): ditto.
10115 (redisplay_subwindow): update -> redisplay.
10116 (syms_of_glyphs): add Fset_instantiator_property.
10117 (image_instantiator_format_create): set_property -> update.
10120 (autodetect_normalize): add dest_maks to signature.
10121 (x_redisplay_subwindow): update -> redisplay.
10122 (x_redisplay_widget): ditto.
10123 (x_button_redisplay): ditto.
10124 (x_progress_gauge_redisplay): ditto.
10125 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10127 (console_type_create_glyphs_x): update -> redisplay.
10128 (image_instantiator_format_create_glyphs_x): ditto.
10131 (check_valid_instantiator): disallow glyphs in the instantiator,
10132 they must now be vectors.
10133 (check_valid_instantiator_list): ditto.
10134 (glyph_instantiator_to_glyph): use internal symbol rather than
10136 (widget_update): renamed from widget_set_property. Call cascaded
10138 (redisplay_widget): renamed from update_widget.
10139 (widget_layout): image_instance_layout now takes position as well
10141 (widget_normalize): ditto.
10142 (widget_instantiate): ditto.
10143 (tab_control_query_geometry) ditto.:
10144 (tab_control_update): renamed from tab_control_set_property.
10145 (progress_gauge_update): set_property -> update.
10146 (layout_normalize): rewrite so that child instantiators are
10148 (layout_update): new function. Create glyphs from the normalized
10149 children and cope with any other layout keywords. We do not
10150 instantiate children here that will be take care of by
10151 redisplay_output_layout.
10152 (layout_instantiate): call layout_update and not much else.
10153 (layout_post_instantiate): not sure whether this is needed
10155 (layout_query_geometry): query glyph geometry rather than
10156 image_instance geometry.
10157 (layout_layout): set offsets from pass in parameters. Use glyph
10158 geometry and layout functions rather than image instance ones.
10159 (native_layout_layout): ditto.
10160 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10161 (image_instantiator_widget): set_property -> update.
10162 (image_instantiator_buttons): ditto.
10163 (image_instantiator_progress_guage): ditto.
10164 (image_instantiator_tab_control): ditto.
10165 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10166 (image_instantiator_layout): add update method.
10168 * glyphs-msw.c (bmp_normalize):
10169 (mswindows_resource_normalize): add dest_mask so that it can be
10170 proprogated by layout_normalize.
10171 (begin_defer_window_pos): make optional because it may not be the
10172 right thing to do and it introduces differences with X.
10173 (mswindows_unmap_subwindow): ditto.
10174 (mswindows_map_subwindow): ditto.
10175 (mswindows_redisplay_subwindow): renamed from
10176 mswindows_update_subwindow.
10177 (mswindows_redisplay_widget): ditto.
10178 (mswindows_button_redisplay): renamed from
10179 mswindows_button_update. Update is now what the instantiation
10180 function does for a changed instantiator.
10181 (mswindows_progress_gauge_instantiate): set the progress value
10182 here if appropriate.
10183 (mswindows_tab_control_redisplay): cope with re-ordering of the
10184 members of the tab widget by simply selecting the new top
10185 widget. This makes things appear ok if you click on a tab.
10186 (mswindows_combo_box_instantiate): image_instance_layout now takes
10187 position as well as size.
10188 (mswindows_progress_gauge_redisplay): renamed from
10189 mswindows_progress_gauge_update.
10190 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10191 (image_instantiator_format_create_glyphs_mswindows): ditto.
10193 * glyphs-eimage.c (jpeg_normalize):
10196 (tiff_normalize): add dest_mask so that it can be proprogated by
10200 (print_hash_table):
10201 (hash_table_weakness_validate):
10202 (decode_hash_table_weakness):
10203 (Fhash_table_weakness):
10204 (Fhash_table_type):
10205 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10207 * console.h (struct console_methods): move update_* to
10210 2000-07-20 Ben Wing <ben@xemacs.org>
10212 * *.[ch] (XSETOBJ): remove unused middle argument.
10213 lisp-disunion.h: correct wrap_object() to one argument.
10215 2000-07-15 Ben Wing <ben@xemacs.org>
10218 * s/cygwin32.h (CYGWIN_CONV_PATH):
10219 Add missing logb prototype for v1.1.
10220 Use post-b20 names and alias to pre-b20 names when pre-b20.
10222 * s/windowsnt.h: [5].
10224 2000-07-15 Ben Wing <ben@xemacs.org>
10226 * Makefile.in.in (x_objs):
10227 * Makefile.in.in (sheap_objs):
10228 * Makefile.in.in (objs):
10229 added win32.o, cosmetic cleanups.
10231 * alloc.c (Fmake_byte_code):
10232 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10233 etc. macros which declare their own args now.
10235 * alloc.c (syms_of_alloc):
10236 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10239 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10241 * buffer.c (Fget_file_buffer):
10242 Fixed GCPRO problem.
10244 * buffer.c (get_truename_buffer):
10245 Fixed comment about GC checking.
10247 * buffer.c (syms_of_buffer):
10248 Undeclared those dedicated frame funs.
10252 Define convenience macros for internal/external conversions.
10253 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10254 and Qenvironment_variable_encoding for cleaner code.
10257 Remove dedicated-frame; in lisp.
10259 * bytecode.c (funcall_compiled_function):
10262 * bytecode.c (syms_of_bytecode):
10266 * console-msw.c (mswindows_show_console): Rewrote.
10268 * console-msw.c (Fmswindows_debugging_output): New.
10269 Sends to OutputDebugString (special MSWin debugger interface).
10271 * console-msw.c (Fmswindows_message_box):
10272 Fixed stupid bugs so it works when called from kill-emacs.
10274 * console-msw.c (syms_of_console_mswindows):
10275 Declare Fmswindows_debugging_output.
10278 New MSWin prototypes.
10280 * console-msw.h (struct mswindows_frame):
10281 New entry last-click-mods for improved button-modifier support.
10283 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10284 New struct entry `popup' with corresponding accessor.
10287 * console-x.c (split_up_display_spec):
10288 * console-x.c (get_display_arg_connection):
10289 * console-x.c (x_semi_canonicalize_console_connection):
10290 * console-x.c (x_canonicalize_device_connection):
10291 [[[6]]]: Change char to more specific type.
10292 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10294 * console-x.c (x_semi_canonicalize_console_connection):
10295 * console-x.c (x_canonicalize_device_connection):
10296 [[[9]]]: Fix up error signalling to use new structured error system.
10299 [[[4]]]: Define codesys aliases:
10300 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10301 Qx_color_name_encoding, Qx_display_name_encoding.
10303 * console.h (struct console_methods):
10304 New method make_dialog_box_internal supersedes older
10305 popup_dialog_box method.
10308 Define many new errors, part of new structured errors.
10310 * data.c (init_errors_once_early):
10311 * data.c (syms_of_data):
10314 * device-msw.c (mswindows_init_device):
10315 [[[5]]]: Cleanup to support NT 3.51.
10317 * device-msw.c (decode_devmode): Cleanup.
10319 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10320 * device-msw.c (mswindows_handle_print_dialog_box):
10321 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10322 * device-msw.c (syms_of_device_mswindows):
10323 Delete the dialog box primitives recently introduced by Kirill and
10324 instead interface to general dialog box interface.
10327 * device-x.c (compute_x_app_name):
10328 * device-x.c (x_init_device):
10329 * device-x.c (Fx_valid_keysym_name_p):
10330 * device-x.c (Fx_set_font_path):
10334 * device.h (wrap_device): New.
10335 First of its kind; meant to replace XSETDEVICE.
10337 * dialog-msw.c: Many file-dialog symbols.
10339 * dialog-msw.c (mswindows_register_popup_frame): New.
10340 * dialog-msw.c (mswindows_is_dialog_msg): New.
10341 For supporting kbd traversal in dialog boxes.
10343 * dialog-msw.c (dialog_proc):
10344 Support hitting ESC in dialogs.
10346 * dialog-msw.c (struct):
10347 Common dialog box errors.
10349 * dialog-msw.c (handle_file_dialog_box): New.
10350 Add file dialog code.
10352 * dialog-msw.c (handle_question_dialog_box):
10353 Redo existing code to support new question dialog syntax.
10355 * dialog-msw.c (console_type_create_dialog_mswindows):
10356 We support new dialog console method.
10358 * dialog-msw.c (syms_of_dialog_mswindows):
10359 * dialog-msw.c (vars_of_dialog_mswindows):
10360 New file dialog symbols, vars.
10363 * dialog-x.c (maybe_run_dbox_text_callback):
10364 * dialog-x.c (dbox_descriptor_to_widget_value):
10365 * dialog-x.c (x_make_dialog_box_internal):
10366 * dialog-x.c (console_type_create_dialog_x):
10367 Mule-ize entire file.
10368 Redo to support question dialog syntax.
10372 * dialog.c (Fmake_dialog_box_internal):
10373 * dialog.c (syms_of_dialog):
10374 Kill old popup-dialog-box, replace with new primitive.
10375 Just call device method or signal error.
10377 * eldap.c (Fldap_open):
10378 * eldap.c (Fldap_search_basic):
10379 * eldap.c (Fldap_add):
10380 * eldap.c (Fldap_modify):
10385 * emacs.c (make_arg_list_1):
10386 * emacs.c (make_arg_list):
10387 Mule-ize call to dll_init().
10391 * emacs.c (make_argc_argv):
10392 * emacs.c (free_argc_argv):
10393 * emacs.c (init_cmdargs):
10394 * emacs.c (main_1):
10395 * emacs.c (Fkill_emacs):
10396 * emacs.c (Fdump_emacs):
10397 Update comments about what can be used in syms_* etc.
10398 Call init_win32() when necessary.
10399 Fix up MS Win dialog box in kill-buffer to actually work right.
10410 * eval.c (condition_case_3):
10412 * eval.c (function_argcount):
10413 * eval.c (funcall_lambda):
10416 * eval.c (type_error): New.
10417 * eval.c (maybe_type_error): New.
10418 * eval.c (continuable_type_error): New.
10419 * eval.c (maybe_continuable_type_error): New.
10420 * eval.c (type_error_with_frob): New.
10421 * eval.c (maybe_type_error_with_frob): New.
10422 * eval.c (continuable_type_error_with_frob): New.
10423 * eval.c (maybe_continuable_type_error_with_frob): New.
10424 New functions for use with structured errors.
10427 * event-Xt.c (x_event_to_emacs_event):
10428 Buttons are now modifiers too.
10430 * event-Xt.c (emacs_Xt_current_event_timestamp):
10431 Implement new event method.
10432 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10435 * event-msw.c (ntpipe_shove_writer): [5].
10436 * event-msw.c (mswindows_enqueue_mouse_button_event):
10437 * event-msw.c (mswindows_drain_windows_queue):
10438 * event-msw.c (mswindows_wnd_proc): [7].
10439 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10440 * event-msw.c (mswindows_modifier_state):
10441 Throughout: support new button modifiers.
10443 * event-msw.c (emacs_mswindows_current_event_timestamp):
10444 Implement new event method.
10445 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10448 * event-stream.c (event_stream_current_event_timestamp): New.
10449 * event-stream.c (maybe_kbd_translate): New functionality.
10450 * event-stream.c (vars_of_event_stream):
10451 Document new kbd-translate-table functionality.
10453 * event-stream.c (Fcurrent_event_timestamp): New.
10454 New primitive for use in fabricated events.
10455 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10457 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10460 * events.c (Fmake_event):
10461 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10465 * events.c (format_event_object): fix gcc warnings.
10467 * events.c (Fevent_timestamp): Document new primitives.
10469 * events.c (TIMESTAMP_HALFSPACE): New.
10471 * events.c (Fevent_timestamp_lessp): New. New primitive for
10472 comparing timestamps correctly (half-space algorithm).
10474 * events.c (Fevent_modifier_bits): Doc fix.
10476 * events.c (Fevent_modifiers): Major doc addition.
10477 * events.c (event_x_y_pixel_internal): Typo fix.
10478 * events.c (syms_of_events): Declare new primitives.
10481 Update long comment for button modifiers, timestamps.
10483 * events.h (struct event_stream):
10484 New current_event_timestamp method.
10487 * extents.c (extent_in_region_p):
10488 * extents.c (decode_extent):
10489 * extents.c (Fset_extent_parent):
10490 * extents.c (decode_map_extents_flags):
10494 * extents.c (struct extent_at_arg):
10495 * extents.c (decode_extent_at_flag):
10496 * extents.c (extent_at_mapper):
10497 * extents.c (extent_at_bytind):
10498 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10499 * extents.c (Fextents_at): New primitive. [9].
10500 * extents.c (symbol_to_glyph_layout): [9].
10501 Support new primitive `extents-at'.
10504 * extents.c (get_text_property_bytind):
10505 extent_at_bytind has another arg.
10508 * extents.c (syms_of_extents): New primitive.
10510 * file-coding.c (Fmake_coding_system): [1].
10511 * file-coding.c (subsidiary_coding_system): fix gcc warning
10512 * file-coding.c (syms_of_file_coding): [2].
10514 * fileio.c (Fexpand_file_name):
10515 * fileio.c (Fsysnetunam):
10516 * fileio.c (Ffile_exists_p):
10517 * fileio.c (Ffile_executable_p):
10518 * fileio.c (Fverify_visited_file_modtime):
10521 * fileio.c (syms_of_fileio): [2].
10523 * filelock.c (lock_file_1):
10524 * filelock.c (current_lock_owner):
10525 * filelock.c (lock_if_free):
10526 * filelock.c (lock_file):
10527 * filelock.c (unlock_file):
10530 * fns.c (concat): Fix gcc warning.
10533 * fns.c (Fold_member):
10535 * fns.c (Fold_memq):
10536 * fns.c (memq_no_quit):
10538 * fns.c (Fold_assoc):
10540 * fns.c (Fold_assq):
10541 * fns.c (assq_no_quit):
10543 * fns.c (Fold_rassoc):
10545 * fns.c (Fold_rassq):
10546 * fns.c (rassq_no_quit):
10548 * fns.c (Fold_delete):
10550 * fns.c (Fold_delq):
10551 * fns.c (delq_no_quit):
10552 * fns.c (Fremassoc):
10553 * fns.c (Fremassq):
10554 * fns.c (remassq_no_quit):
10555 * fns.c (Fremrassoc):
10556 * fns.c (Fremrassq):
10557 * fns.c (remrassq_no_quit):
10558 * fns.c (Freverse):
10562 * frame-msw.c (mswindows_init_frame_1):
10563 * frame-msw.c (mswindows_delete_frame):
10564 Register popups with dialog code so keyboard traversing works.
10566 * frame-tty.c (tty_raise_frame_no_select): [1].
10569 * frame-x.c (x_set_frame_text_value):
10570 * frame-x.c (x_set_frame_properties):
10571 * frame-x.c (x_create_widgets):
10575 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10577 * frame.h (wrap_frame): New.
10578 Macro like wrap_device.
10581 * general.c (SYMBOL):
10582 * general.c (syms_of_general):
10583 Major reorg. This is now just a wrapper and symbols themselves
10584 are listed in general-slots.h.
10586 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10587 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10589 * glyphs-msw.c (mswindows_native_layout_instantiate):
10590 Add DS_CONTROL so keyboard traversal will work.
10593 * glyphs-widget.c (syms_of_glyphs_widget):
10594 Move some symbols to general-slots.h.
10597 * glyphs-x.c (xbm_instantiate_1):
10598 * glyphs-x.c (x_xbm_instantiate):
10599 * glyphs-x.c (x_xface_instantiate):
10600 * glyphs-x.c (autodetect_instantiate):
10601 * glyphs-x.c (cursor_font_instantiate):
10602 * glyphs-x.c (x_update_widget):
10603 * glyphs-x.c (x_widget_instantiate):
10604 * glyphs.c (bitmap_to_lisp_data):
10605 * glyphs.c (pixmap_to_lisp_data):
10608 * glyphs.c (syms_of_glyphs):
10612 * gui-x.c (print_widget_value):
10613 * gui-x.c (menu_separator_style_and_to_external):
10614 * gui-x.c (add_accel_and_to_external):
10615 * gui-x.c (button_item_to_widget_value):
10616 * gui-x.c (gui_items_to_widget_values_1):
10617 * gui-x.c (gui_items_to_widget_values):
10618 * gui-x.c (syms_of_gui_x):
10619 * gui-x.c (vars_of_gui_x):
10620 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10624 Muleize, prototype changes matching gui-x.c.
10627 * gui.c (separator_string_p):
10628 * gui.c (gui_item_add_keyval_pair):
10629 * gui.c (make_gui_item_from_keywords_internal):
10630 * gui.c (signal_too_long_error):
10631 * gui.c (parse_gui_item_tree_item):
10632 * gui.c (syms_of_gui):
10633 * gui.c (vars_of_gui):
10635 menu-no-selection-hook moved here (used by MSWin).
10636 Move some symbols to general-slots.h.
10640 * insdel.c (get_buffer_pos_char):
10641 * insdel.c (get_buffer_range_char):
10644 * keymap.c (keymap_lookup_directly):
10645 * keymap.c (keymap_store):
10646 * keymap.c (ensure_meta_prefix_char_keymapp):
10647 * keymap.c (describe_map):
10649 Support new button modifiers.
10651 * lisp-disunion.h (wrap_object):
10652 * lisp-disunion.h (XSETOBJ):
10653 Rename make_obj to wrap_object.
10656 * lisp-union.h (make_int):
10657 * lisp-union.h (make_char):
10658 Support wrap_object.
10661 * lisp.h (LIST_LOOP):
10662 * lisp.h (EXTERNAL_LIST_LOOP):
10663 * lisp.h (LIST_LOOP_2):
10664 * lisp.h (EXTERNAL_LIST_LOOP_1):
10665 * lisp.h (EXTERNAL_LIST_LOOP_2):
10666 * lisp.h (EXTERNAL_LIST_LOOP_3):
10667 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10668 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10669 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10670 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10671 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10672 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10673 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10674 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10675 * lisp.h (struct Lisp_Symbol):
10676 * lisp.h (maybe_continuable_error_with_frob):
10677 Fix up section comments.
10678 Add new types for char to indicate usage.
10679 Delete symbols auto-generated from general-slots.h.
10680 Add prototypes for structured error functions.
10681 Add long comments describing looping macros and change interface
10682 so that lvalues are automatically declared.
10683 Add NO_DECLARE macro in case callers want to declare lvalues
10686 * lread.c (read_syntax_error):
10687 * lread.c (continuable_read_syntax_error):
10688 * lread.c (read_structure):
10689 * lread.c (sequence_reader):
10690 * lread.c (read_list_conser):
10691 * lread.c (read_compiled_function):
10692 Rename syntax_error and continuable_syntax_error to avoid clash
10693 with same-named structured error functions.
10695 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10696 * menubar-msw.c (populate_menu_add_item):
10697 * menubar-msw.c (populate_or_checksum_helper):
10702 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10703 Mule-ize whole file.
10705 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10707 * mule-charset.c (Fmake_charset):
10708 * mule-wnnfns.c (Fwnn_set_param):
10711 * ntproc.c (create_child):
10712 * ntproc.c (Fwin32_set_current_locale):
10713 Add comments portending doom.
10716 * objects-msw.c (old_font_enum_callback_2):
10717 * objects-msw.c (font_enum_callback_1):
10718 * objects-msw.c (mswindows_enumerate_fonts):
10722 * objects-x.c (allocate_nearest_color):
10723 * objects-x.c (x_parse_nearest_color):
10724 * objects-x.c (x_initialize_color_instance):
10725 * objects-x.c (x_print_color_instance):
10726 * objects-x.c (x_finalize_color_instance):
10727 * objects-x.c (x_valid_color_name_p):
10728 * objects-x.c (x_initialize_font_instance):
10729 * objects-x.c (x_print_font_instance):
10730 * objects-x.c (valid_x_font_name_p):
10731 * objects-x.c (truename_via_FONT_prop):
10732 * objects-x.c (truename_via_random_props):
10733 * objects-x.c (truename_via_XListFonts):
10734 * objects-x.c (x_font_truename):
10735 * objects-x.c (x_font_instance_truename):
10736 * objects-x.c (x_font_instance_properties):
10737 * objects-x.c (x_list_fonts):
10738 * objects-x.c (x_find_charset_font):
10739 Mule-ize entire file.
10746 * print.c (std_handle_out_external):
10747 * print.c (debug_print_no_newline):
10748 * print.c (syms_of_print):
10749 Output to all debugger kinds in debug-print.
10750 Fix console-output code under MSWin to actually work.
10752 * process-nt.c (send_signal):
10753 * process-nt.c (nt_create_process):
10754 Use newer Unicode macros.
10756 * process-unix.c (unix_create_process):
10757 * process-unix.c (unix_canonicalize_host_name):
10758 * process-unix.c (unix_open_network_stream):
10764 * search.c (syms_of_search):
10767 * select-msw.c (mswindows_destroy_selection):
10770 * select-x.c (symbol_to_x_atom):
10773 * select.c (syms_of_select):
10776 * sound.c (Fplay_sound_file):
10780 * specifier.c (decode_specifier_type):
10781 * specifier.c (Fvalid_specifier_locale_type_p):
10782 * specifier.c (check_valid_locale_or_locale_type):
10783 * specifier.c (decode_locale):
10784 * specifier.c (decode_locale_type):
10785 * specifier.c (decode_locale_list):
10786 * specifier.c (check_valid_domain):
10787 * specifier.c (decode_specifier_tag_set):
10788 * specifier.c (Fcanonicalize_tag_set):
10789 * specifier.c (Fdefine_specifier_tag):
10790 * specifier.c (Fspecifier_tag_predicate):
10791 * specifier.c (check_valid_inst_list):
10792 * specifier.c (check_valid_spec_list):
10793 * specifier.c (decode_how_to_add_specification):
10794 * specifier.c (check_modifiable_specifier):
10795 * specifier.c (specifier_add_spec):
10796 * specifier.c (boolean_validate):
10797 * specifier.c (display_table_validate):
10800 * specifier.c (syms_of_specifier):
10801 Move some symbols to general-slots.h.
10805 * symbols.c (Fmapatoms):
10806 * symbols.c (Fapropos_internal):
10809 * symbols.c (set_default_buffer_slot_variable):
10810 * symbols.c (set_default_console_slot_variable):
10813 * symbols.c (defsymbol_massage_name_1):
10814 * symbols.c (defkeyword_massage_name):
10815 * symbols.c (deferror_1):
10816 * symbols.c (deferror):
10817 * symbols.c (deferror_massage_name_and_message):
10819 * symeval.h (DEFSYMBOL):
10820 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10822 * symbols.c (syms_of_symbols):
10826 * symsinit.h (init_win32): New.
10827 Also new is syms_of_dialog_mswindows.
10830 Add new Unicode macros, missing Cygwin wide-char functions,
10831 convenience conversion macros for Qmswindows_tstr, macros for
10832 encapsulating required MSWin <-> Cygwin filename conversions,
10833 prototype for dynamically-extracted (not in NT 3.51) functions.
10838 * tooltalk.c (Fadd_tooltalk_message_arg):
10839 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10840 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10843 * tooltalk.c (syms_of_tooltalk):
10847 * unexnt.c (unexec):
10848 Fix up headers, declaration of unexec() to be more standard.
10850 2000-07-20 Martin Buchholz <martin@xemacs.org>
10852 * offix.h: Revert change to guard macros - they're used in offix.c!
10854 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10856 * lisp.h: Defsubred Fdelete.
10858 * console-msw.h: (msprinter_default_printer): Added.
10860 * console-msw.c (msprinter_canonicalize_console_connection):
10861 (msprinter_canonicalize_device_connection): Added.
10863 * device-msw.c (msprinter_default_printer):
10864 (Fmswingows_get_default_printer):
10865 (signal_enum_priner_error):
10866 (Fmswingows_printer_list): Added.
10868 2000-07-19 Martin Buchholz <martin@xemacs.org>
10870 * XEmacs 21.2.35 is released.
10872 2000-07-19 Martin Buchholz <martin@xemacs.org>
10874 * select-x.c (x_handle_selection_request):
10875 Text selected in xemacs and pasted into xterm failed to appear.
10876 Spelling fixes and cosmetic changes.
10878 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10880 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10881 XEmacs frame (fix for doubling chars in dialog boxes).
10883 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10885 * select.c (select_convert_in, select_convert_out):
10886 Don't call intern() every time.
10888 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10889 * select.c (vars_of_select): Initialise them.
10891 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10893 * select.c (selection-coercible-types): New.
10895 * select.c (own-selection-internal):
10896 * select.c (get-selection-internal):
10897 MULE bug fix - these should default to COMPOUND_TEXT and not
10898 STRING for MULE. I think.
10900 * select.c (select_convert_out): Use selection-coercible-types
10901 to find types that we can attempt to perform coercions on.
10903 2000-07-18 Martin Buchholz <martin@xemacs.org>
10907 Add coding: cookie to identify encoding.
10909 * mule-canna.c (CANNA_mode_keys): make static.
10910 Use proper prototypes, even for functions of no arguments.
10911 Remove external prototype for Fding().
10913 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10915 * select.c (syms_of_select): Add missing DEFSUBR.
10917 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10919 * select.c (get_selection_internal, own_selection_internal):
10920 Make the type default to STRING, rather than placing a nil type
10921 into Vselection_alist.
10923 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10925 * gpmevent.c (tty_selection_exists_p):
10926 * gpmevent.c (tty_own_selection):
10927 Updated parameter lists.
10929 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10931 * select.h (selection-alist): Removed declaration.
10933 * select.h (get_local_selection):
10934 * select.c (get_local_selection):
10937 * select.h (convert_selection): Removed declaration.
10938 * select.c (convert_selection): Removed.
10939 This function belongs in Lisp.
10941 * select.h (select_convert_in): Declare.
10942 * select.h (select_convert_out): Declare.
10943 * select.c (select_convert_in): New.
10944 * select.c (select_convert_out): New.
10945 New conversion functions for other files to call.
10947 * select.h (select_notify_buffer_kill): Declare.
10948 * select.c (select_notify_buffer_kill): New.
10949 New functions that get called from kill-buffer.
10951 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10952 X-specific lisp code.
10954 * select.h: Declare some of the lisp-visible functions for
10957 * select.c (clean_local_selection_data): Removed. This was
10958 a disgusting function, and previously should have been in
10959 select-x.c in any case. The functionality is now provided
10960 in select-convert-from-integer (select.el).
10962 * select.c (available-selection-types): Fixed stupidity where
10963 INTEGER and ATOM got added twice. Also add STRING when we see an
10966 * select.c (get-selection-internal): Removed symbol stripping. No
10967 longer causes conversion when data comes from the internal cache.
10969 * select.c (syms_of_select): Added new functions.
10971 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10972 error checking - previously this called abort!
10974 * select-x.c (x_own_selection): Changed comment.
10976 * select-x.c (x_handle_selection_request): Use select_convert_out.
10977 Don't mess with selection-alist; it's an internal variable of select.c.
10979 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10981 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10982 rather than messing with selection-alist.
10984 * select-msw.c (mswindows_get_foreign_selection):
10985 Use TO_INTERNAL_FORMAT rather than hacking.
10987 2000-07-14 Martin Buchholz <martin@xemacs.org>
10989 * process-unix.c (unix_open_multicast_group):
10990 (unix_open_multicast_group): Remove useless casts.
10992 2000-07-13 Martin Buchholz <martin@xemacs.org>
10994 * sound.c (Fplay_sound): Fix `unused variable' warning.
10996 * emacs.c (main): Use correct type for _environ on SCO5.
10998 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11000 * console.h (own_selection_method):
11001 * console.h (selection_exists_p_method):
11002 * console.h (available_selection_types_method): New.
11003 * console.h (register_selection_data_type_method): New.
11004 * console.h (selection_data_type_name): New.
11006 * console-msw.h (mswindows_destroy_selection): Declare it. New
11007 function & alist to track GlobalAlloc()'d handles that need
11008 releasing when the clipboard data gets replaced or emptied.
11010 * event-msw.c (mswindows_wnd_proc): Call it.
11012 * lisp.h, general.c (Qappend): New symbol representing a
11015 * select.c (own-selection-internal):
11016 * select.c (selection-exists-p):
11017 * select.c (available-selection-types): New.
11018 * select.c (register-selection-data-type): New.
11019 * select.c (selection-data-type-name): New. New functions to deal
11020 with device-specific selection data formats.
11021 * select.c (selection-converter-out-alist): Renamed.
11022 * select.c (selection-converter-in-alist): New.
11023 * select.c (selection-appender-alist): New. Added new alists.
11024 * select.c (syms_of_select, vars_of_select): Added new symbols &
11026 * select.c (get_local_selection): Split.
11027 * select.c: Removed spurious type checking - selections may now be
11028 of any type, not just strings.
11029 * select.c (own-selection-internal):
11031 * select.h, select.c (convert_selection): New. Created
11032 convert_selection() function based on get_local_selection().
11033 * select.h, select.c (QCF_*): New symbols representing mswindows
11035 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11036 symbols representing `how-to-add' modes.
11038 * select-msw.c (x_sym_p): New.
11039 * select-msw.c (symbol_to_ms_cf): New.
11040 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11041 symbols & clipboard formats. Can also handle string names.
11042 * select-msw.c (mswindows_own_selection):
11043 * select-msw.c (mswindows_selection_exists_p):
11044 Added `data-type' parameter. Use it.
11045 * select-msw.c (mswindows_available_selection_types): New.
11046 * select-msw.c (mswindows_register_selection_data_type): New.
11047 * select-msw.c (mswindows_selection_data_type_name): New.
11048 * select-msw.c (mswindows_own_selection):
11049 * select-msw.c (mswindows_get_foreign_selection):
11050 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11051 * select-msw.c (console_create_select_mswindows): Added new methods.
11052 * select-msw.c (mswindows_destroy_selection): New.
11053 * select-msw.c (Vhandle_alist): New list.
11054 * select-msw.c (mswindows_own_selection):
11056 * select-x.c (x_own_selection):
11057 * select-x.c (x_selection_exists_p):
11058 * select-x.c: Added some comments about maybe using new
11060 * select-x.c (x_own_selection):
11062 * specifier.c: Remove definition of Qappend (now in general.c)
11063 * specifier.c (syms_of_specifier): Remove Qappend.
11065 2000-07-12 Martin Buchholz <martin@xemacs.org>
11067 * config.h.in: Add socklen_t.
11069 * s/decosf4-0.h: No special compiler flags needed or desired.
11070 In particular, undefine _BSD for DEC OSF 4.0.
11072 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11074 * redisplay-msw.c (msprinter_frame_output_end): Added.
11075 (console_type_create_redisplay_mswindows): Referred the above.
11077 * frame.c (setup_frame_without_minibuffer): Do not create a
11078 default minibuffer frame on a printer device.
11080 * frame-msw.c (apply_dc_geometry): Added.
11081 (msprinter_start_page):
11082 (msprinter_init_frame_3):
11083 (msprinter_eject_page): Use it.
11085 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11086 and removed residual duplex and orientation properties.
11088 2000-07-11 Martin Buchholz <martin@xemacs.org>
11090 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11092 * unexalpha.c: Remove system prototypes from C sources!
11094 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11096 * eval.c: Remove references to M-x edit-options in DEFUNs for
11097 `defvar' and `defconst'.
11099 2000-07-09 Martin Buchholz <martin@xemacs.org>
11101 * config.h.in: Remove SMART_INCLUDE hackery.
11103 PostgreSQL hacking:
11104 * config.h.in: Don't use SMART_INCLUDE.
11106 * postgresql.h: Include libpq-fe.h here. Fix typo.
11107 * inline.c: Simply #include "postgresql.h"
11109 - Don't use SMART_INCLUDE
11110 - Use simply "const".
11111 - Use standard doc string conventions.
11112 - Use correct type for result of PQstatus.
11114 2000-07-09 Martin Buchholz <martin@xemacs.org>
11116 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11118 C++ compilation changes.
11119 * config.h.in (EXTERN_C): Define.
11120 * config.h.in (not): This is also a C++ keyword.
11121 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11122 * cm.c: Use EXTERN_C.
11123 * redisplay-tty.c: Use EXTERN_C.
11124 * sysdep.c: Use EXTERN_C. Remove Gould support.
11126 2000-07-09 Martin Buchholz <martin@xemacs.org>
11128 * general.c: Remove duplicate definition for Qfunction.
11130 2000-07-08 Ben Wing <ben@xemacs.org>
11132 * device-msw.c (msprinter_init_device):
11133 * device-msw.c (sync_printer_with_devmode):
11134 * device-msw.c (handle_devmode_changes):
11135 * device-msw.c (print_dialog_worker):
11136 * device-msw.c (Fmsprinter_apply_settings):
11137 * device-msw.c (hash_devmode):
11138 * device-msw.c (Fmsprinter_settings_despecialize):
11139 use Qmswindows_tstr, not Qctext.
11141 * vm-limit.c (check_memory_limits):
11142 avoid infinite loop printing warning messages.
11144 2000-07-05 Craig Lanning <lanning@scra.org>
11146 * Makefile.in.in: Add support for including the Windows resources
11147 when building with the cygwin and mingw targets.
11149 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11150 not set or not correct.
11151 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11152 (init_initial_directory): Don't try to use $PWD on the
11153 WIN32_NATIVE target.
11156 [[Add -mwindows to eliminate console window.]] not required --ben
11157 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11158 (MAIL_USE_POP): removed; now handled by configure.
11160 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11161 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11162 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11163 (MAIL_USE_POP): removed; now handled by configure.
11164 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11165 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11166 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11168 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11169 up from <winsock.h> via systime.h.
11170 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11171 (getpagesize): from Dan Holmsand, added.
11172 Added #endif which was left dangling by Ben's mega patch; added
11173 comment to help prevent this in the future.
11175 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11177 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11179 * console-msw.h (struct mswindows_device): Removed unnecessary
11180 cached device geometry values.
11181 Added update_tick and an accessor macro.
11182 (Lisp_Devmode): Added lrecord declaration.
11183 (struct msprinter_device): Contain devmode as a Lisp object.
11184 Added mswindows_get_selected_frame_hwnd();
11186 * console.h (struct console_methods): Indentation nitpicking.
11188 * device-msw.c (mswindows_init_device): Do not initialize geometry
11189 cache. Initialize update tick.
11190 (mswindows_device_system_metrics): Ask the device for its geometry.
11191 (global_free_2_maybe):
11192 (devmode_to_hglobal):
11193 (handle_printer_changes):
11194 (ensure_not_printing):
11195 (print_dialog_worker):
11196 (Fmsprinter_print_setup_dialog):
11197 (Fmsprinter_print_dialog):
11198 (plist_get_margin):
11199 (plist_set_margin):
11200 (Fmsprinter_page_setup_dialog): Added functions.
11201 (sync_printer_with_devmode):
11202 (handle_devmode_changes):
11203 (Fmsprinter_get_settings):
11204 (Fmsprinter_select_settings):
11205 (Fmsprinter_apply_settings):
11206 (allocate_devmode):
11207 (Fmsprinter_settings_copy):
11208 (Fmsprinter_settings_despecialize):
11210 (finalize_devmode):
11212 (hash_devmode): Added functions
11213 (syms_of_device_mswindows): Init devmode lrecord class.
11215 * device.h: Added an exfun for find-device.
11217 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11218 geometry; although, recreate the device compatible DC.
11220 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11221 (msprinter_init_frame_3):
11222 (msprinter_frame_property):
11223 (msprinter_internal_frame_property_p):
11224 (msprinter_frame_properties):
11225 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11226 print job properties (will move to device settings).
11228 * lisp.h: Added symbols.
11230 * general.c (syms_of_general): Declared them.
11232 * hash.c (string_hash): Added.
11234 * lrecord.h (lrecord_type): Added devmode lrecord type.
11236 2000-07-02 Mike Sperber <mike@xemacs.org>
11238 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11241 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11243 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11246 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11248 * data.c (Fstring_to_number): Don't recognize floating point if
11251 2000-06-22 Martin Buchholz <martin@xemacs.org>
11253 * glyphs-widget.c (tab_control_query_geometry):
11254 (widget_query_geometry):
11255 (button_query_geometry):
11256 * glyphs.c (text_query_geometry):
11257 Enforce type correctness.
11259 2000-06-18 Martin Buchholz <martin@xemacs.org>
11261 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11262 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11264 2000-06-17 Martin Buchholz <martin@xemacs.org>
11266 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11267 conflicts with gcc's fixincluded version of FOO.h.
11269 * glyphs.h (image_instance_geometry): Remove trailing `,'
11271 2000-06-08 Mike Alexander <mta@arbortext.com>
11273 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11274 (shove_thread): Don't write the same output twice
11275 (make_ntpipe_output_stream): Increase priority of shove thread
11276 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11278 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11281 2000-06-12 Ben Wing <ben@xemacs.org>
11283 * s\mingw32.h (sigset):
11284 * s\windowsnt.h (sigset):
11285 rename msw_ to mswindows_ for consistency with general convention.
11287 2000-06-12 Ben Wing <ben@xemacs.org>
11290 * console-msw.c (mswindows_get_console_hwnd):
11291 * console-msw.c (mswindows_ensure_console_allocated):
11292 * console-msw.c (mswindows_hide_console):
11293 * console-msw.c (mswindows_show_console):
11294 * console-msw.c (mswindows_ensure_console_buffered):
11295 * console-msw.c (mswindows_output_console_string):
11296 * console-msw.c (mswindows_windows9x_p):
11298 * device-msw.c (mswindows_get_workspace_coords):
11299 * device-msw.c (mswindows_device_system_metrics):
11300 * dialog-msw.c (mswindows_popup_dialog_box):
11301 * event-msw.c (mswindows_wnd_proc):
11302 * frame-msw.c (mswindows_size_frame_internal):
11303 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11304 * menubar-msw.c (displayable_menu_item):
11305 * menubar-msw.c (mswindows_char_is_accelerator):
11307 * nt.c (mswindows_sigset):
11308 * nt.c (mswindows_sigrelse):
11309 * nt.c (mswindows_sigpause):
11310 * nt.c (mswindows_raise):
11311 * nt.c (timer_proc):
11313 * ntproc.c (find_child_console):
11314 * ntproc.c (sys_kill):
11316 * print.c (std_handle_out_external):
11317 * process-nt.c (find_child_console):
11318 * process-nt.c (send_signal_the_95_way):
11319 * process-nt.c (ensure_console_window_exists):
11320 * process-nt.c (nt_create_process):
11322 rename msw_ to mswindows_ for consistency with general convention.
11326 include nt.h, not syswindows.h.
11328 * nt.c (mswindows_fstat):
11329 * nt.c (mswindows_stat):
11330 prefix mswindows_ instead of attempting to directly override the
11331 library functions. fix declarations.
11334 include syswindows.h. move some sysdep.h stuff here.
11337 include syswindows.h, not <windows.h>.
11345 * sysdep.c (sys_fstat):
11346 * sysdep.c (sys_stat):
11347 call mswindows versions when appropriate.
11350 move mswin decls to nt.h.
11353 add long comment describing appropriate use of the various windows
11356 2000-06-11 Ben Wing <ben@xemacs.org>
11358 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11360 2000-06-10 Ben Wing <ben@xemacs.org>
11362 * Makefile.in.in (release):
11363 Correction to make sure xemacs.exe always dumped when correct.
11367 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11369 * buffer.c (set_buffer_internal):
11370 [[[[2]]]]: Remove HAVE_FEP code.
11372 * buffer.c (init_initial_directory):
11376 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11380 * callproc.c (call_process_cleanup):
11381 * callproc.c (Fold_call_process_internal):
11382 * callproc.c (child_setup):
11383 * callproc.c (getenv_internal):
11384 * callproc.c (init_callproc):
11385 * callproc.c (vars_of_callproc):
11386 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11387 __CYGWIN32__ -> CYGWIN.
11388 DOS_NT -> WIN32_NATIVE.
11389 Remove MSDOS support/references, converting to WIN32_NATIVE
11391 __MINGW32__ -> MINGW.
11392 Fix windows.h includes.
11393 Remove bogus HAVE_NTGUI.
11399 mswindows_message_outputted added for use in allowing startup
11400 errors on the console to be seen.
11402 * console-msw.c (msw_ensure_console_allocated):
11403 * console-msw.c (msw_output_console_string):
11404 * console-msw.c (DHEADER):
11405 * console-msw.c (DOPAQUE_DATA):
11406 * console-msw.c (DEVENT):
11407 * console-msw.c (DCONS):
11408 * console-msw.c (DCONSCDR):
11409 * console-msw.c (DSTRING):
11410 * console-msw.c (DVECTOR):
11411 * console-msw.c (DSYMBOL):
11412 * console-msw.c (DSYMNAME):
11415 * console-stream.c (stream_init_console):
11416 Fix text/binary problems.
11419 * device-msw.c (mswindows_finish_init_device):
11420 * device-msw.c (mswindows_delete_device):
11423 * device.c (handle_asynch_device_change):
11427 * dgif_lib.c (DGifOpenFileName):
11428 * dgif_lib.c (DGifOpenFileHandle):
11429 * dgif_lib.c (DGifGetLine):
11430 * dgif_lib.c (DGifGetPixel):
11431 Added config.h/lisp.h, fix up includes.
11438 * dired.c (file_name_completion):
11439 * dired.c (Ffile_attributes):
11440 * dired.c (syms_of_dired):
11444 * dumper.c (pdump_file_unmap):
11445 * dumper.c (pdump_load):
11449 * editfns.c (Ftemp_directory):
11450 * editfns.c (user_login_name):
11451 * editfns.c (Fuser_real_login_name):
11452 * editfns.c (get_home_directory):
11455 * elhash.c (finish_marking_weak_hash_tables):
11456 [[[[5]]]]: Fix GCC warnings.
11459 * emacs.c (mswindows_handle_hardware_exceptions):
11460 * emacs.c (make_arg_list_1):
11461 * emacs.c (main_1):
11462 * emacs.c (Fkill_emacs):
11463 * emacs.c (Fdump_emacs):
11465 Fix problems with nested crashes, add long comment.
11467 * event-Xt.c (init_event_Xt_late):
11471 * event-msw.c (mswindows_dde_callback):
11472 * event-msw.c (mswindows_handle_sticky_modifiers):
11473 * event-msw.c (mswindows_wnd_proc):
11477 * events.c (character_to_event):
11481 * fileio.c (Ffile_name_directory):
11482 * fileio.c (Ffile_name_nondirectory):
11483 * fileio.c (directory_file_name):
11484 * fileio.c (Fexpand_file_name):
11485 * fileio.c (Fsubstitute_in_file_name):
11486 * fileio.c (Ffile_name_absolute_p):
11487 * fileio.c (check_executable):
11488 * fileio.c (Ffile_readable_p):
11489 * fileio.c (Ffile_accessible_directory_p):
11490 * fileio.c (Ffile_modes):
11491 * fileio.c (Funix_sync):
11492 * fileio.c (vars_of_fileio):
11495 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11497 Expand getdefdir defn.
11498 Fix bogus rename() comment.
11500 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11501 to use standard XEmacs include files, e.g. sysfile.h, rather
11502 than system-specific includes.
11508 * frame.c (vars_of_frame):
11512 * getloadavg.c (getloadavg):
11514 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11515 (We don't use it elsewhere in the code; just add a comment.)
11522 * glyphs-msw.c (mswindows_resource_instantiate):
11525 * glyphs-x.c (x_native_layout_instantiate):
11528 * gui-msw.c (Fmswindows_shell_execute):
11537 * lread.c (locate_file_in_directory_mapper):
11544 * mem-limits.h (get_lim_data):
11556 * nt.c (rva_to_section):
11557 * nt.c (mswindows_executable_type):
11559 Fix closedir() defn.
11562 [[[[8]]]]: *_OK defs moved to sysfile.h.
11571 * print.c (std_handle_out_external):
11575 * process-nt.c (nt_create_process):
11577 try to fix process quoting somewhat.
11579 * process-unix.c (unix_create_process):
11583 * process.c (vars_of_process):
11590 * realpath.c (xrealpath):
11593 * redisplay-tty.c (init_tty_for_redisplay):
11603 * sheap.c (more_static_core):
11604 * sheap.c (report_sheap_usage):
11608 * signal.c (alarm_signal):
11615 * strftime.c (zone_name):
11618 * symsinit.h (init_sunpro):
11622 commctrl.h not in Cygwin b20.1.
11625 * sysdep.c (endif):
11626 * sysdep.c (sys_subshell):
11627 * sysdep.c (init_baud_rate):
11628 * sysdep.c (emacs_get_tty):
11629 * sysdep.c (emacs_set_tty):
11630 * sysdep.c (tty_init_sys_modes_on_device):
11631 * sysdep.c (init_system_name):
11632 * sysdep.c (sys_open):
11633 * sysdep.c (interruptible_open):
11634 * sysdep.c (sys_fopen):
11635 * sysdep.c (sys_mkdir):
11636 * sysdep.c (sys_rename):
11637 * sysdep.c (get_process_times_1):
11644 * sysdir.h (DIRENTRY_NONEMPTY):
11647 * sysdll.c (dll_init):
11653 added text/binary defs.
11659 * sysproc.h (EDESTADDRREQ):
11660 * sysproc.h (poll_fds_for_input):
11677 Always define WIN32_LEAN_AND_MEAN.
11679 * unexcw.c (unexec):
11683 * unexec.c (copy_text_and_data):
11684 * unexec.c (adjust_lnnoptrs):
11688 * unexnt.c (_start):
11691 2000-06-07 Ben Wing <ben@xemacs.org>
11693 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11694 was used only as a model. We've long since extracted any useful
11695 logic or code out of this. (I just did an exhaustive search.)
11697 * s\msdos.h: Removed.
11699 * s\windows95.h: Removed.
11701 2000-06-10 Ben Wing <ben@xemacs.org>
11705 Don't use extern with fun defs.
11709 Remove nt\inc include.
11710 Remove getdisk, getdefdir. (The former is unused, the latter
11711 expanded in fileio.h.)
11714 * s\windowsnt.h (WIN32_NATIVE):
11715 * s\windowsnt.h (HAVE_STRCASECMP):
11717 Add long comment about preprocessor changes.
11718 Remove getdisk, getdefdir. (The former is unused, the latter
11719 expanded in fileio.h.)
11721 2000-06-10 Ben Wing <ben@xemacs.org>
11730 Remove bogus/unused NO_SOCK_SIGIO.
11732 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11734 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11737 2000-06-04 Mike Sperber <mike@xemacs.org>
11739 * casetab.c (set_case_table): For `set-standard-case-table',
11740 actually deposit the new case tables where the rest of XEmacs can
11743 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11745 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11747 2000-06-05 Ben Wing <ben@xemacs.org>
11749 * callproc.c (child_setup): Don't do close_load_descs() under
11750 MS Windows. Put in a comment explaining why.
11752 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11754 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11755 Toolkit shell" which breaks `kill-compilation' on Windows NT
11756 native, retaining STDERR handling improvements.
11758 2000-06-01 Andreas Jaeger <aj@suse.de>
11760 * s/s390.h: Support for S390, based on a patch by Martin
11761 Schwidefsky <schwidefsky@de.ibm.com>.
11763 2000-05-30 Andy Piper <andy@xemacs.org>
11765 * window.c (allocate_window):
11766 (make_dummy_parent):
11767 (Fset_window_configuration): use new hashtable type.
11769 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11770 (struct image_instantiator_methods):
11771 (struct Lisp_Image_Instance): make instance geometry signed.
11773 * glyphs.c (instantiate_image_instantiator):
11774 (image_instance_query_geometry):
11775 (image_instance_layout):
11776 (image_instance_layout):
11777 (query_string_geometry):
11778 (text_query_geometry):
11779 (image_instantiate):
11780 (image_instantiate):
11781 (cache_subwindow_instance_in_frame_maybe):
11782 (subwindow_query_geometry): make instance geometry signed.
11784 * glyphs-widget.c (widget_query_geometry):
11786 (button_query_geometry):
11787 (tree_view_query_geometry):
11788 (tab_control_query_geometry):
11789 (layout_query_geometry):
11791 (native_layout_layout): make instance geometry signed.
11793 2000-05-29 Olivier Galibert <galibert@pobox.com>
11795 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11798 * general.c (syms_of_general): Add Qfull_assoc symbol.
11800 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11802 (decode_weak_list_type): Decode full-assoc type.
11803 (encode_weak_list_type): Encode full-assoc type.
11804 (Fmake_weak_list): Update doc string.
11806 2000-05-30 Andy Piper <andy@xemacs.org>
11808 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11810 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11811 (decode_hash_table_weakness): ditto.
11812 (Fhash_table_weakness): ditto.
11813 (Fhash_table_type): ditto.
11814 (finish_marking_weak_hash_tables): ditto.
11815 (hash_table_weakness_validate): ditto.
11816 (syms_of_elhash): ditto.
11818 2000-05-28 Martin Buchholz <martin@xemacs.org>
11820 * XEmacs 21.2.34 is released.
11822 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11824 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11826 (updating_line_start_cache): Gone.
11827 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11828 generic code to force a minimum of 1 line laid out in the
11831 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11833 * glyphs.c (instantiate_image_instantiator): Check for initialized
11834 height & width no longer special cases IMAGE_NOTHING.
11835 (nothing_instantiate): Set height and width of instance.
11837 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11839 * unexelf.c (unexec): Search for ".data" section.
11840 Initialize new_data2_offset from old_data_index.
11841 Remove redundant check for ElfW.
11843 2000-05-23 Andy Piper <andy@xemacs.org>
11845 * glyphs.c (get_image_instantiator_governing_domain): allow more
11846 specific domains as the governing domain rather than expecting an
11847 exact match. This fixes problems with layouts.
11849 2000-05-22 Andy Piper <andy@xemacs.org>
11851 * redisplay-output.c (compare_runes): check for non-images
11853 * glyphs.c (set_glyph_dirty_p): ditto.
11854 (update_glyph_cachel_data): ditto.
11856 * glyphs-widget.c (layout_post_instantiate): ditto.
11857 (layout_post_instantiate): ditto.
11859 * event-msw.c (mswindows_wnd_proc): warning removal.
11861 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11863 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11865 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11867 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11869 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11870 (mswindows_executable_type): mingw32 now has enough headers for
11873 2000-05-20 Andy Piper <andy@xemacs.org>
11875 * console-msw.c (mswindows_output_last_error): ; -> ,
11877 2000-05-12 Andy Piper <andy@xemacs.org>
11879 * console-msw.c (FROB): compare ints with ints.
11881 2000-05-11 Andy Piper <andy@xemacs.org>
11883 * glyphs-x.c (x_finalize_image_instance): make minimal build
11886 2000-05-20 Ben Wing <ben@xemacs.org>
11889 * event-Xt.c (vars_of_event_Xt):
11890 move modifier-keys-are-sticky to event-stream.c.
11893 * event-msw.c (mswindows_enqueue_mouse_button_event):
11894 * event-msw.c (key_needs_default_processing_p):
11895 * event-msw.c (XEMSW_LCONTROL):
11896 * event-msw.c (mswindows_handle_sticky_modifiers):
11897 * event-msw.c (FROB):
11898 * event-msw.c (clear_sticky_modifiers):
11899 * event-msw.c (output_modifier_keyboard_state):
11900 * event-msw.c (output_alt_keyboard_state):
11901 * event-msw.c (mswindows_wnd_proc):
11902 * event-msw.c (mswindows_modifier_state):
11903 * event-msw.c (emacs_mswindows_handle_magic_event):
11904 implement sticky modifiers.
11907 * event-stream.c (vars_of_event_stream):
11908 move modifier-keys-are-sticky here.
11911 add CHECK_FUNCTION.
11914 implement map-range-table.
11917 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11919 * redisplay-tty.c (reset_tty_modes):
11920 (tty_redisplay_shutdown): Adjust argument type to
11921 tty_frame_output_end.
11923 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11925 * eval.c (Fbacktrace): Don't output a line with only right
11928 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11930 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11931 (Fpq_reset_poll): Ditto.
11933 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11935 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11937 2000-05-16 Ben Wing <ben@xemacs.org>
11940 * buffer.c (dfc_convert_to/from_internal_format):
11941 * buffer.c (reinit_vars_of_buffer):
11942 Fix conversion functions to allow reentrancy.
11945 * console-msw.c (mswindows_output_last_error):
11946 New fun, generally useful -- output a human-readable
11947 version of GetLastError() on the console.
11950 * console-msw.h (struct mswindows_frame):
11951 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11953 * console-stream.c (stream_output_begin):
11954 * console-stream.c (stream_output_end):
11955 * console-stream.c (stream_output_vertical_divider):
11956 * console-stream.c (stream_clear_region):
11957 * console-stream.c (stream_flash):
11958 * console-stream.c (console_type_create_stream):
11959 Delete blank stream methods, not needed.
11961 * console.h (struct console_methods):
11962 Split begin/end methods into window and frame.
11965 * event-msw.c (mswindows_handle_paint):
11966 * event-msw.c (output_alt_keyboard_state):
11967 * event-msw.c (mswindows_wnd_proc):
11968 * event-msw.c (vars_of_event_mswindows):
11969 Comment about problems with ignored-expose.
11970 Define mswindows-debug-events; not really implemented.
11972 * frame-msw.c (mswindows_init_frame_1):
11976 * glyphs-msw.c (begin_defer_window_pos):
11977 * glyphs-msw.c (mswindows_unmap_subwindow):
11978 * glyphs-msw.c (mswindows_map_subwindow):
11979 * glyphs-msw.c (mswindows_resize_subwindow):
11980 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11982 * glyphs.c (make_image_instance_1):
11985 * gutter.c (Fredisplay_gutter_area):
11986 Use new begin/end methods.
11988 * lisp.h (Dynarr_new2):
11992 * redisplay-msw.c (mswindows_frame_output_begin):
11993 * redisplay-msw.c (mswindows_frame_output_end):
11994 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11995 New begin/end methods -- handle DeferWindowPos.
11997 * redisplay-output.c (redisplay_move_cursor):
11998 * redisplay-output.c (redraw_cursor_in_window):
11999 * redisplay-output.c (redisplay_update_line):
12000 * redisplay-output.c (redisplay_output_window):
12001 New begin/end methods.
12004 * redisplay-tty.c (tty_frame_output_begin):
12005 * redisplay-tty.c (tty_frame_output_end):
12006 * redisplay-tty.c (console_type_create_redisplay_tty):
12007 New begin/end methods.
12010 * redisplay-x.c (x_window_output_begin):
12011 * redisplay-x.c (x_window_output_end):
12012 * redisplay-x.c (console_type_create_redisplay_x):
12013 New begin/end methods.
12015 * redisplay.c (redisplay_frame):
12016 * redisplay.c (Fredisplay_echo_area):
12017 New begin/end methods.
12018 use MAYBE_DEVMETH for clear_frame; it may not exist.
12020 * window.h (WINDOW_XFRAME):
12021 WINDOW_XFOO macros -- get locale and decode struct pointer.
12024 2000-05-12 Ben Wing <ben@xemacs.org>
12027 * emacs.c (ensure_no_quitting_from_now_on):
12028 * emacs.c (fatal_error_signal):
12029 * emacs.c (mswindows_handle_hardware_exceptions):
12031 * emacs.c (Fkill_emacs):
12032 * emacs.c (shut_down_emacs):
12033 * emacs.c (assert_failed):
12034 various improvements in fatal error handling.
12037 move preparing_for_armageddon to emacs.c.
12040 declare fatal_error_in_progress.
12043 * print.c (std_handle_out_external):
12044 * print.c (std_handle_out_va):
12045 * print.c (stderr_out):
12046 * print.c (stdout_out):
12047 use console under mswin when no standard output.
12048 don't do code conversion during fatal error.
12050 * scrollbar.c (Fscrollbar_page_up):
12051 * scrollbar.c (Fscrollbar_page_down):
12052 fix missing else. reindent.
12054 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12058 * glyphs.h (GLYPH_CACHEL_DESCENT):
12059 (GLYPH_CACHEL_DESCENT):
12060 (GLYPH_CACHEL_DESCENT):
12061 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12062 used in case these are inline functions.
12063 Use more absurd values to error check.
12065 include window.h for error check functions.
12067 2000-05-11 Ben Wing <ben@xemacs.org>
12069 * cmdloop.c (Freally_early_error_handler):
12070 Display message box under windows; otherwise, message will disappear
12071 before it can be viewed.
12074 * console-msw.c (Fmswindows_message_box):
12075 * console-msw.c (FROB):
12076 * console-msw.c (syms_of_console_mswindows):
12077 Define new fun `mswindows-message-box'.
12078 #### I will merge this into `popup-dialog-box'; just give me
12082 * general.c (syms_of_general):
12083 Some new symbols used in `mswindows-message-box'.
12086 * glyphs.c (Fset_image_instance_property):
12087 put warning in this fun.
12090 * glyphs.h (GLYPH_CACHEL_WIDTH):
12091 * glyphs.h (GLYPH_CACHEL_ASCENT):
12092 * glyphs.h (GLYPH_CACHEL):
12093 * glyphs.h (GLYPH_CACHEL_GLYPH):
12094 define error-checking versions to try to catch a bug i've seen --
12095 redisplay gets in an infinite loop because the glyph width of the
12096 continuation glyph is 65535.
12099 Extern message-box stuff.
12101 * window.c (allocate_window):
12102 * window.c (make_dummy_parent):
12103 * window.c (Fset_window_configuration):
12104 Use EQUAL not EQ for subwindow caches to make them work a bit
12105 better. (Something is still very broken.)
12108 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12110 * glyphs.c (image_instantiate): Suppress gcc warnings.
12111 (Fmake_image_instance): Fix doc string.
12112 * specifier.c (Fmake_specifier): Ditto.
12114 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12116 * paths.h.in (PATH_LOCK): Removed.
12117 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12118 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12120 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12122 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12123 Document (featurep '(and xemacs 21.02)).
12125 2000-05-09 Ben Wing <ben@xemacs.org>
12127 * buffer.c (complex_vars_of_buffer):
12128 update modeline-format doc.
12131 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12134 timeline of all released versions of Emacs, for use in creating
12135 authorship comments and in synching up.
12137 * glyphs-widget.c (image_instantiator_buttons):
12138 * glyphs-widget.c (image_instantiator_edit_fields):
12139 * glyphs-widget.c (image_instantiator_combo_box):
12140 * glyphs-widget.c (image_instantiator_scrollbar):
12141 * glyphs-widget.c (image_instantiator_progress_guage):
12142 * glyphs-widget.c (image_instantiator_tree_view):
12143 * glyphs-widget.c (image_instantiator_tab_control):
12144 * glyphs-widget.c (image_instantiator_labels):
12145 * glyphs-widget.c (image_instantiator_layout):
12146 * glyphs-widget.c (image_instantiator_native_layout):
12147 rename decode_domain method to governing_domain.
12150 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12151 * glyphs.c (add_entry_to_device_ii_format_list):
12152 make sure we don't put an entry more than once into the list.
12153 * glyphs.c (check_instance_cache_mapper):
12154 *************************************************************
12155 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12157 *************************************************************
12158 * glyphs.c (get_image_instantiator_governing_domain):
12159 clean up, expand on new concept of governing domain.
12160 * glyphs.c (instantiate_image_instantiator):
12161 * glyphs.c (allocate_image_instance):
12162 use governing_domain instead of cache_domain in naming.
12163 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12164 * glyphs.c (make_image_instance_1):
12165 * glyphs.c (Fmake_image_instance):
12166 allow for any domain (not just device), and process the
12167 governing domain correctly. very big doc fix.
12168 * glyphs.c (Fimage_instance_domain):
12169 new primitive, to retrieve the governing domain of an image instance.
12170 * glyphs.c (image_instantiate):
12171 use new governing_domain stuff. this fixes a crash you could get
12172 by instantiating certain widget glyphs in frame locales. (should
12173 signal an error instead of crashing.)
12174 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12175 * glyphs.c (Fglyphp): clean up doc.
12176 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12177 * glyphs.c (syms_of_glyphs):
12178 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12179 * glyphs.c (image_instantiator_format_create): add some comments about
12181 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12182 for current-display-table. (Apparently Hrjove implemented in 1998 a
12183 design I wrote up in 1996, but didn't update the doc string.)
12185 * glyphs.h: clean up a doc string.
12186 * glyphs.h (governing_domain):
12187 * glyphs.h (struct image_instantiator_methods):
12188 changes for governing_domain stuff.
12191 * gutter.c (Fgutter_specifier_p):
12192 * gutter.c (Fgutter_size_specifier_p):
12193 * gutter.c (Fgutter_visible_specifier_p):
12195 * objects.c (Fcolor_specifier_p):
12196 * objects.c (Ffont_specifier_p):
12197 * objects.c (Fface_boolean_specifier_p):
12198 doc strings moved to make-*-specifier.
12200 * redisplay.c (add_disp_table_entry_runes_1):
12201 * redisplay.c (generate_fstring_runes):
12202 * redisplay.c (screen):
12203 add random comments and doc strings.
12206 * specifier.c (Fmake_specifier):
12207 major overhaul of this doc string.
12209 * specifier.c (Fvalid_specifier_domain_p):
12210 comment about the bogosity of image instances being domains.
12211 * specifier.c (decode_domain):
12212 now non-static, used in glyphs.c.
12213 * specifier.c (specifier_instance):
12214 comment about the bogosity of image instances being domains.
12215 * specifier.c (Fgeneric_specifier_p):
12216 move doc string to make-generic-specifier.
12217 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12221 * specifier.h (DOMAIN_FRAME):
12222 * specifier.h (DOMAIN_LIVE_P):
12223 * specifier.h (DOMAIN_XDEVICE):
12225 add comments about problems with these macros.
12226 prototype for decode_domain.
12229 * toolbar.c (Ftoolbar_specifier_p):
12230 move doc string to `make-toolbar-specifier'.
12232 * window.c (window_unmap_subwindows_cache_mapper):
12233 *************************************************************
12234 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12236 *************************************************************
12238 2000-05-09 Andy Piper <andy@xemacs.org>
12240 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12242 * window.c (Fset_window_configuration): reset the frame subwindow
12243 cache and re-initialize the window subwindow caches.
12245 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12247 2000-05-09 Ben Wing <ben@xemacs.org>
12249 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12252 2000-04-26 Mike Woolley <mike@bulsara.com>
12254 * ntheap.c: Changed recreate_heap to limit the amount reserved
12255 for the heap to that which is actually available. Also now
12256 displays a message box (with some dignostics) in the event that
12257 it still can't start.
12259 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12261 * callproc.c (Fold_call_process_internal): GCPRO path
12263 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12265 Patch by Bill Perry.
12267 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12268 back data instead of #ifdef.
12269 (Fscrollbar_page_down): ditto.
12271 2000-05-07 Ben Wing <ben@xemacs.org>
12274 Kludge for defining Qmswindows_tstr.
12277 * nt.c (open_input_file):
12278 * nt.c (open_output_file):
12279 * nt.c (rva_to_section):
12280 * nt.c (mswindows_executable_type):
12281 Move all memory-mapped-file routines here (some were in unexnt.c,
12282 which is bad because they are used by process-nt.c, and unexnt
12283 won't be around when portable dumping). Synched the above routines
12287 Removed ifdef'd out bogus code.
12288 Fixed some prototypes.
12290 * nt.h (file_data):
12291 * nt.h (OFFSET_TO_RVA):
12292 * nt.h (RVA_TO_OFFSET):
12293 * nt.h (RVA_TO_PTR):
12294 Moved the memory-mapped-file structures, macros and prototypes
12295 here, to parallel nt.c. ntheap.h should really be removed
12296 entirely, and it's a non-portable-dumper specific file.
12298 * ntheap.h (round_to_next):
12299 Moved the memory-mapped-file structures, macros and prototypes
12302 * ntproc.c (compare_env):
12303 Moved rva_to_section and mswindows_executable_type to nt.c.
12304 Moved compare_env to process-nt.c.
12305 ntproc.c will die, one day.
12307 * ntproc.c (sys_spawnve):
12308 Account for win32_ -> mswindows_.
12311 * process-nt.c (struct nt_process_data):
12312 * process-nt.c (ensure_console_window_exists):
12313 * process-nt.c (compare_env):
12314 * process-nt.c (nt_create_process):
12315 * process-nt.c (nt_kill_process_by_pid):
12316 * process-nt.c (syms_of_process_nt):
12317 * process-nt.c (vars_of_process_nt):
12318 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12319 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12320 changes). Eliminate our old `nt-quote-process-args' mechanism.
12321 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12322 Move compare_env here from ntproc.c.
12324 * process.c (Fprocess_send_region):
12325 Takes an optional fourth argument, BUFFER, which should fix some
12326 problems with call-process.
12329 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12332 Move ICC_BAR_CLASSES to syscommctrl.h.
12333 Add preliminary macros for MSWindows/Mule. More to come.
12336 * unexnt.c (unexec):
12337 open_output_file moved to nt.c.
12340 2000-05-05 Andy Piper <andy@xemacs.org>
12342 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12343 instance from the frame cache also since GC may catch up too late
12344 to make frame deletion sane.
12346 2000-05-04 Andy Piper <andy@xemacs.org>
12348 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12349 (x_finalize_image_instance): ungcpro on deletion.
12351 * glyphs.c (image_instantiator_format_create): give pointers a
12352 query geometry method so that the geometry is at least set.
12354 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12355 initialize layouts if using widgets.
12357 2000-05-03 Andy Piper <andy@xemacs.org>
12359 * nt.c: remove bogus reference to sysmmsystem.h
12361 * gui-x.c (popup_selection_callback): fix no selection abort.
12363 2000-05-02 Andy Piper <andy@xemacs.org>
12365 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12366 (mswindows_widget_instantiate): ditto.
12368 * glyphs-widget.c (initialize_widget_image_instance): initialize
12369 children correctly.
12370 (widget_instantiate): cope with children and items in the same
12373 * glyphs.c (mark_image_instance): cope with children as a first
12375 (image_instance_equal): ditto.
12376 (image_instance_hash): ditto.
12377 (image_instance_changed): ditto.
12379 2000-04-30 Andy Piper <andy@xemacs.org>
12381 * glyphs.c (subwindow_query_geometry): new function. Return some
12383 (subwindow_instantiate): don't assign dimensions if none have been
12385 (image_instantiator_format_create): add subwindow_query_geometry.
12386 (print_image_instance): cope with layouts as widgets.
12388 2000-04-29 Andy Piper <andy@xemacs.org>
12390 * frame.c (delete_frame_internal): call
12391 free_frame_subwindow_instance_cache so that all subwindows are
12392 finalized before their parent.
12393 (mark_frame): remove subwindow_cachels.
12394 (Fmake_frame): remove subwindow_cachel manipulation.
12395 (allocate_frame_core): subwindow_instance_cache is a weak list.
12396 (delete_frame_internal): set subwindow_instance_cache to nil.
12398 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12400 (mswindows_finalize_image_instance): use the device
12401 not the domain as the domain may have died already.
12403 * glyphs-x.c (x_finalize_image_instance): ditto.
12404 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12407 * redisplay-output.c (redisplay_unmap_subwindows): update for
12408 subwindow instance cache as a weak list.
12409 (redisplay_unmap_subwindows_maybe): ditto.
12410 (redisplay_unmap_subwindows_except_us): ditto.
12412 * glyphs.c (unmap_subwindow): error checking will check the domain
12413 so don't deal with it here. Don't use cachels anymore.
12414 (map_subwindow): ditto.
12415 (update_subwindow_cachel_data): remove old accessor names.
12416 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12417 (Fresize_subwindow): don't update cachel.
12418 (mark_subwindow_cachels):
12419 (update_subwindow_cachel_data):
12420 (add_subwindow_cachel):
12421 (get_subwindow_cachel_index):
12422 (update_subwindow_cachel):
12423 (reset_subwindow_cachels):
12424 (mark_subwindow_cachels_as_not_updated): deleted.
12425 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12426 subwindow instance to the frame cache.
12427 (find_matching_subwindow): update for subwindow instance cache as
12429 (update_widget_instances): ditto.
12430 (image_instance_type_to_mask):inlined.
12431 (free_frame_subwindow_instance_cache): new function. finalize all
12432 subwindows that are instantiated.
12434 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12435 of cachel information.
12436 (IMAGE_INSTANCE_DISPLAY_X):
12437 (IMAGE_INSTANCE_DISPLAY_Y):
12438 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12439 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12440 (XIMAGE_INSTANCE_DISPLAY_X):
12441 (XIMAGE_INSTANCE_DISPLAY_Y):
12442 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12443 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12444 remove subwindow_cachel structure and function references.
12445 (image_instance_type_to_mask): inline from glyphs.c
12447 * redisplay.c (redisplay_frame): remove subwindow_cachel
12450 * frame.h (struct frame): remove subwindow_cachels.
12451 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12453 * frameslots.h: add subwindow_instance_cache.
12455 * window.c (replace_window): check subwindow cache of replacement.
12456 (window_unmap_subwindows_cache_mapper):
12457 (window_unmap_subwindows): new functions. Unmap all subwindows
12458 cached on this window.
12459 (mark_window_as_deleted): unmap all subwindows.
12461 2000-04-27 Andy Piper <andy@xemacs.org>
12463 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12465 * glyphs-widget.c (widget_layout): return something.
12466 (layout_layout): return something. Fail if not initialized.
12467 (layout_query_geometry): ditto.
12468 (image_instantiator_native_layout): new function. Initialized the
12469 native layout type.
12470 (widget_instantiate): don't do layout stuff here.
12472 * glyphs.c (instantiate_image_instantiator): reorded calling or
12473 instantiate and post_instantiate with layout in between.
12474 (image_instance_layout): be more selective about deciding whether
12475 the layout has been done or not.
12477 * glyphs.h (struct image_instantiator_methods): return a value
12478 from layout_method.
12480 2000-04-26 Andy Piper <andy@xemacs.org>
12482 * glyphs.c (allocate_image_instance): make initial width and
12483 height unspecified. Set initialized to 0.
12485 * syscommctrl.h new file. Encapsulates commctrl.h.
12487 * syswindows.h new file. Encapsulates windows.h.
12489 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12491 * console-msw.h: ditto.
12493 * redisplay-tty.c (tty_output_display_block): remove layout references.
12495 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12496 window handle rather than just the frame.
12498 * glyphs.c (mark_image_instance): remove layout references.
12499 (print_image_instance): ditto.
12500 (image_instance_equal): ditto.
12501 (image_instance_hash): ditto.
12502 (decode_image_instance_type): ditto.
12503 (encode_image_instance_type): ditto.
12504 (image_instantiate): ditto.
12505 (allocate_glyph): ditto.
12506 (Fimage_instance_height): ditto.
12507 (Fimage_instance_width): ditto.
12508 (update_subwindow): ditto.
12510 * redisplay-x.c (x_output_display_block): recode for layouts as
12513 * redisplay-output.c (redisplay_output_layout): recode for layouts
12515 (compare_runes): remove layout references.
12517 * redisplay-msw.c (mswindows_output_display_block): recode for
12518 layouts as widgets.
12520 * glyphs-widget.c (image_instantiator_layout): remove
12521 layout_possible_dest_types.
12522 (layout_possible_dest_types): deleted.
12524 * glyphs.h (image_instance_type): remove layout references.
12525 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12526 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12527 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12529 2000-04-25 Andy Piper <andy@xemacs.org>
12531 * glyphs-widget.c (image_instantiator_buttons):
12532 (image_instantiator_edit_fields):
12533 (image_instantiator_combo_box):
12534 (image_instantiator_scrollbar):
12535 (image_instantiator_progress_guage):
12536 (image_instantiator_tree_view):
12537 (image_instantiator_tab_control):
12538 (image_instantiator_labels):
12539 (image_instantiator_layout): call default post_instantiate method.
12540 (widget_post_instantiate): new function. Simply lays out the
12543 * glyphs.h (struct image_instantiator_methods): add
12544 post_instantiate method.
12546 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12549 2000-04-23 Andy Piper <andy@xemacs.org>
12551 * glyphs.h (struct image_instantiator_methods): add
12552 decode_domain_method.
12553 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12554 derived from the domain.
12555 (IMAGE_INSTANCE_FRAME): new accessor.
12556 (XIMAGE_INSTANCE_FRAME): ditto.
12558 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12559 instead of _SUBWINDOW_FRAME.
12560 (finalize_image_instance): ditto.
12561 (Fimage_instance_foreground): ditto.
12562 (Fimage_instance_background): ditto.
12563 (image_instantiate): ditto.
12564 (update_subwindow_cachel): ditto.
12565 (update_subwindow): ditto.
12566 (unmap_subwindow): ditto.
12567 (map_subwindow): ditto
12568 (subwindow_instantiate): ditto.
12569 * glyphs-msw.c (mswindows_update_widget): ditto.
12570 (mswindows_progress_gauge_instantiate): ditto.
12571 (mswindows_tab_control_update): ditto.
12572 * glyphs-x.c (x_update_widget): ditto.
12573 (x_widget_instantiate): ditto.
12574 (x_tab_control_instantiate): ditto.
12575 (x_tab_control_update): ditto.
12576 * event-msw.c (mswindows_wnd_proc): ditto
12578 * glyphs-widget.c (image_instantiator_layout): use
12579 subwindow_decode_domain.
12580 (image_instantiator_buttons): ditto.
12581 (image_instantiator_edit_fields): ditto.
12582 (image_instantiator_combo_box): ditto.
12583 (image_instantiator_scrollbar): ditto.
12584 (image_instantiator_progress_guage): ditto.
12585 (image_instantiator_tree_view): ditto.
12586 (image_instantiator_tab_control): ditto.
12587 (image_instantiator_labels): ditto.
12588 (image_instantiator_layout): ditto.
12590 * glyphs.c: add instance error checking to many functions.
12591 (instantiate_image_instantiator): decode device from cache_domain.
12592 (image_instantiate): partially rewrite by using
12593 decode_image_instantiator_domain to determine what domain the
12594 instance needs to be cached in.
12595 (decode_image_instantiator_domain): new function. Determine what
12596 domain the image needs to be cached in.
12597 (check_window_subwindow_cache): new error checking function.
12598 (check_instance_cache_mapper): ditto.
12599 (check_image_instance_structure): ditto.
12600 (subwindow_decode_domain): new function. Encodes a window as a
12601 subwindow's cache domain.
12602 (image_instantiator_format_create): use it for text and
12605 2000-04-21 Andy Piper <andy@xemacs.org>
12607 * glyphs.c (image_instance_device): new function.
12608 (image_instance_frame): new function.
12609 (image_instance_window): new function.
12610 (image_instance_live_p): new function.
12612 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12615 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12616 (IMAGE_INSTANCE_DOMAIN): new accessor.
12617 (XIMAGE_INSTANCE_DOMAIN): ditto.
12619 * glyphs-x.c (x_finalize_image_instance): device->domain.
12621 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12622 (mswindows_finalize_image_instance): ditto.
12624 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12625 (gif_instantiate): ditto.
12626 (png_instantiate): ditto.
12627 (tiff_instantiate): ditto.
12629 * glyphs.c (instantiate_image_instantiator): use domain rather
12631 (mark_image_instance): device -> domain.
12632 (print_image_instance): ditto.
12633 (finalize_image_instance): ditto.
12634 (image_instance_equal): ditto.
12635 (allocate_image_instance): ditto.
12636 (Fcolorize_image_instance): ditto.
12637 (query_string_geometry): ditto.
12638 (image_instantiate): ditto
12639 (query_string_font): ditto.
12640 (image_instantiate): ditto.
12641 (update_subwindow): ditto.
12642 (unmap_subwindow): ditto.
12643 (map_subwindow): ditto.
12644 (subwindow_instantiate): ditto.
12646 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12647 (DOMAIN_FRAME): ditto.
12648 (DOMAIN_WINDOW): ditto.
12649 (DOMAIN_LIVE_P): ditto.
12650 (XDOMAIN_DEVICE): ditto.
12651 (XDOMAIN_FRAME): ditto.
12652 (XDOMAIN_WINDOW): ditto.
12654 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12655 a valid specifier domain.
12657 2000-04-19 Andy Piper <andy@xemacs.org>
12659 * glyphs-widget.c (syms_of_glyphs_widget): remove
12660 widget-callback-current-channel.
12661 (vars_of_glyphs_widget): ditto.
12664 * gui.c (get_gui_callback): revert to previous behaviour.
12666 2000-04-18 Andy Piper <andy@xemacs.org>
12668 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12669 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12670 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12672 * glyphs.c (image_instance_equal): add margin_width.
12673 (image_instance_hash): ditto.
12675 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12676 (layout_query_geometry): ditto.
12677 (layout_layout): ditto.
12678 (syms_of_glyphs_widget): add margin-width.
12679 (image_instantiator_layout): allow margin-width.
12681 * glyphs.c (update_widget_instances): make a normal function.
12682 (syms_of_glyphs): remove Qupdate_widget_instances.
12685 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12686 so that we don't corrupt ideas about the last event or
12687 command. Remove widget-callback-current-channel fiddling.
12688 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12690 2000-05-01 Martin Buchholz <martin@xemacs.org>
12692 * XEmacs 21.2.33 is released.
12694 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12696 * make-src-depend: Allow dots in header file name.
12698 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12700 * mule-charset.h (struct charset_lookup): Add
12701 next_allocated_1_byte_leading_byte and
12702 next_allocated_2_byte_leading_byte.
12703 * mule-charset.c: Move above two variables so that those values
12706 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12708 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12709 when string length is zero.
12710 (find_charsets_in_emchar_string): Ditto.
12712 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12714 * lisp.h: extern Qdialog and Qmenubar.
12716 * gui-x.c: added events.h.
12717 also fixed typo which made the file uncompilable.
12719 * general.c: Added Qmenubar and Qdialog
12721 2000-04-28 Ben Wing <ben@xemacs.org>
12723 * frame-msw.c (mswindows_init_frame_1):
12724 * frame-msw.c (mswindows_mark_frame):
12725 * event-msw.c (mswindows_enqueue_dispatch_event):
12727 * console-msw.h (struct mswindows_frame):
12728 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12729 there are now three hash tables for callbacks.
12730 mswindows_enqueue_dispatch_event is no longer static.
12732 * dialog-x.c (maybe_run_dbox_text_callback):
12733 * dialog-x.c (dbox_descriptor_to_widget_value):
12734 switch to new cons3 form for callbacks.
12736 * glyphs-msw.c (mswindows_register_gui_item):
12737 * glyphs-msw.c (mswindows_widget_instantiate):
12738 * glyphs-msw.c (add_tree_item):
12739 * glyphs-msw.c (add_tab_item):
12740 new image instance parameter, so it can be passed to callback-ex.
12741 respect :callback-ex as well as :callback.
12743 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12746 * glyphs.c (print_image_instance):
12747 prettify, e.g. now prints widget type.
12750 certain funs have new image instance parameter.
12753 * gui.c (get_gui_callback):
12754 * gui.c (gui_item_add_keyval_pair):
12755 * gui.c (gui_item_init):
12756 * gui.c (gui_add_item_keywords_to_plist):
12757 * gui.c (mark_gui_item):
12758 * gui.c (gui_item_hash):
12759 * gui.c (gui_item_equal):
12760 * gui.c (copy_gui_item):
12761 * gui.c (syms_of_gui):
12762 recognize callback-ex in a number of places.
12763 also, fix the annoying "can't get out of yes-no dialog" bug.
12766 * gui.h (struct Lisp_Gui_Item):
12767 recognize callback-ex in a number of places.
12769 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12770 new parameter in button_item_to_widget_value.
12772 * glyphs-x.c (x_update_widget):
12773 * glyphs-x.c (x_button_instantiate):
12774 * glyphs-x.c (x_button_update):
12775 * glyphs-x.c (x_progress_gauge_instantiate):
12776 * glyphs-x.c (x_edit_field_instantiate):
12777 * glyphs-x.c (x_combo_box_instantiate):
12778 * glyphs-x.c (x_tab_control_instantiate):
12779 * glyphs-x.c (x_label_instantiate):
12780 new image instance parameter in various places.
12783 * event-Xt.c (enqueue_Xt_dispatch_event):
12784 this fun gets exported.
12787 * gui-msw.c (mswindows_handle_gui_wm_command):
12788 handle both :callback and :callback-ex, and generate our own
12789 event because it's one of the callback-ex arguments.
12792 * gui-x.c (popup_selection_callback):
12793 handle both :callback and :callback-ex, and generate our own
12794 event because it's one of the callback-ex arguments.
12795 * gui-x.c (button_item_to_widget_value):
12796 * gui-x.c (gui_items_to_widget_values_1):
12797 * gui-x.c (gui_item_children_to_widget_values):
12798 * gui-x.c (gui_items_to_widget_values):
12799 new image instance parameter in various places.
12801 * fns.c (Freplace_list):
12802 fix small typo in doc string.
12805 declare enqueue_Xt_dispatch_event.
12807 2000-04-28 Ben Wing <ben@xemacs.org>
12810 * buffer.c (Frecord_buffer):
12811 * buffer.c (syms_of_buffer):
12812 delete record-buffer-hook.
12815 * fns.c (Freplace_list):
12816 * fns.c (syms_of_fns):
12817 new primitive replace-list.
12820 slot for old buffer-alist.
12823 exfun replace-list.
12826 * redisplay.c (redisplay_frame):
12827 * redisplay.c (syms_of_redisplay):
12828 * redisplay.c (vars_of_redisplay):
12829 new hook buffer-list-changed-hook.
12832 2000-04-27 Ben Wing <ben@xemacs.org>
12834 * extents.h: extern in_modeline_generation.
12836 * redisplay.c (generate_formatted_string_db): set
12837 in_modeline_generation.
12839 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12840 flags if in modeline generation. otherwise frame-modified-tick
12841 is ticked far too often.
12842 Declare in_modeline_generation.
12844 2000-04-26 Ben Wing <ben@xemacs.org>
12846 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12848 (vars_of_emacs): add quick-build as an error-checking option.
12849 A bit kludgy, but there doesn't seem much point in creating
12850 a real var for this.
12852 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12854 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12856 * redisplay.h (struct display_line): Add a new variable,
12859 * redisplay.c (create_text_block): Set dl->line_continuation if
12860 the line continues.
12861 (create_string_text_block): Ditto.
12862 (regenerate_window_incrementally): Use line_continuation instead
12863 of searching continuation glyph.
12864 (add_margin_runes): Call add_glyph_rune.
12865 (add_glyph_rune): Handle margin glyph.
12867 2000-04-20 Martin Buchholz <martin@xemacs.org>
12869 * filelock.c (fill_in_lock_file_name):
12871 Check for IS_ANY_SEP instead of '/'.
12873 Avoid generating gratuitous garbage. Call user_login_name() directly.
12874 Never check errno without first seeing that system call failed.
12875 (unlock_file): Add GCPRO.
12876 (Flock_buffer): Fix docstring.
12877 (Ffile_locked_p): Fix docstring. Add GCPRO.
12879 2000-04-19 Martin Buchholz <martin@xemacs.org>
12881 * sysdep.c (get_pty_max_bytes):
12882 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12883 strings longer than 252 bytes.
12885 * md5.c: Unconditionally include ANSI header <limits.h>
12887 * glyphs-x.c (convert_EImage_to_XImage):
12888 * lisp-union.h (union Lisp_Object):
12889 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12891 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12893 * filelock.c (current_lock_owner): Remove unused variable o, p.
12895 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12897 * callint.c: Remove multiply defined symbol Qlet
12898 (syms_of_callint): ditto.
12900 2000-04-14 Andy Piper <andy@xemacs.org>
12902 * general.c (syms_of_general): add last-command, this-command, let
12905 * lisp.h: declare various symbols.
12907 * glyphs.h: declare Qwidget_callback_current_channel;
12909 * glyphs-widget.c (syms_of_glyphs_widget): add
12910 Qgui_callback_current_channel.
12911 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12913 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12914 widget-callback-current-channel when invoking the interactive
12915 arg. Also bind last-command and next-command when invoking the
12917 * gui-x.c (popup_selection_callback): ditto.
12919 * gui.c (get_gui_callback): massage args so that we are always
12920 calling eval. This allows us to add our own variable bindings
12923 * glyphs-x.c (x_button_instantiate): use
12924 gui_items_to_widget_values since this is GC safe.
12925 (x_progress_gauge_instantiate): ditto.
12926 (x_edit_field_instantiate): ditto.
12927 (x_label_instantiate): ditto.
12929 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12930 (emacs_Xt_event_widget_focus_out): new function
12931 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12933 (emacs_Xt_event_add_widget_actions): new function. add focus
12934 functions as actions.
12935 (init_event_Xt_late): use it.
12937 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12939 * event-stream.c (Fdispatch_event): Doc fix.
12941 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12943 * postgresql.c: Remove all references to PQsetenv*.
12945 * postgresql.h: Remove references to PGsetenvHandler object.
12946 * lrecord.h (lrecord_type): Ditto.
12948 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12950 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12951 real_heigh and real_width members, and accessor macros for these.
12953 * glyphs-msw.c (init_image_instance_geometry): New function.
12954 (init_image_instance_from_dibitmap): Use it.
12955 (mswindows_resource_instantiate): Use it.
12956 (init_image_instance_from_xbm_inline): Use it.
12957 (mswindows_initialize_image_instance_mask): Use real bitmap
12959 (mswindows_create_resized_bitmap): Ditto.
12960 (mswindows_create_resized_mask): Ditto.
12962 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12963 and bitmap to their surface size.
12965 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12967 * process-unix.c (unix_send_process): Guard against process MIA
12968 after Faccept_process_output.
12970 2000-04-11 Ben Wing <ben@xemacs.org>
12972 * eval.c (unbind_to_hairy): fix brokenness introduced by
12973 nanosecond speed improvements.
12975 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12977 * sunplay.c (init_device): To play sounds correctly, the device
12978 apparently needs to be initialized at least once by XEmacs. Make
12981 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12983 * redisplay.c (add_margin_runes): Add text image glyph
12986 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12988 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12989 gcc is newer than 2.5.
12991 2000-04-06 Colin Rafferty <colin@xemacs.org>
12993 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12995 * fns.c (size_bit_vector):
12996 * alloc.c (size_vector):
12997 (make_vector_internal):
12998 (make_bit_vector_internal):
12999 (sweep_bit_vectors_1):
13000 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13002 2000-04-06 Andy Piper <andy@xemacs.org>
13004 * gmalloc.c (malloc): undo previous change.
13009 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13011 * line-number.c (buffer_line_number): Revert to former version.
13013 2000-04-06 Andy Piper <andy@xemacs.org>
13015 * gmalloc.c (malloc): add error checking.
13020 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13021 button_item_to_widget_value arg.
13023 * glyphs-x.c (x_button_instantiate): add extra
13024 button_item_to_widget_value arg.
13025 (x_progress_gauge_instantiate): ditto.
13026 (x_edit_field_instantiate): ditto.
13027 (x_label_instantiate): ditto.
13029 * gui-x.c (gui_items_to_widget_values_1): add extra
13030 button_item_to_widget_value arg.
13031 (button_item_to_widget_value): add extra menu_item_p arg.
13033 * gui-x.h: change signature of button_item_to_widget_value.
13035 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13036 button_item_to_widget_value arg.
13038 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13040 * buffer.h (struct buffer): auto_save_modified should be long.
13042 2000-04-05 Andy Piper <andy@xemacs.org>
13044 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13046 (button_query_geometry): give a little more room so that athena
13049 2000-04-05 Andy Piper <andy@xemacs.org>
13051 * faces.c (complex_vars_of_faces): The widget face should inherit
13052 the font of the gui-element face.
13054 2000-04-04 Andy Piper <andy@xemacs.org>
13056 * glyphs-x.c (x_button_update): new function. unconditionally
13057 update a button's state when the instance is dirty.
13058 (image_instantiator_format_create_glyphs_x): add x_button_update.
13059 (x_widget_instantiate): remove old resize cruft.
13061 2000-04-02 Andy Piper <andy@xemacs.org>
13063 * frame.c (change_frame_size_1): The introduction of gutters means
13064 that we need to allow 0 as a potential frame dimension.
13066 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13068 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13069 image glyph if allow_cursor.
13070 (add_hscroll_rune): Don't allow cursor to border glyph.
13071 (create_text_block): Ditto.
13073 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13074 text not in buffer.
13075 (redisplay_output_layout): Call ensure_face_cachel_complete for
13079 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13081 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13083 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13086 * redisplay-tty.c (tty_output_display_block): Delete the routine
13087 for text image glyph
13088 * redisplay-x.c (x_output_display_block): ditto
13089 * redisplay-msw.c (mswindows_output_display_block): ditto
13091 2000-02-02 Mike Alexander <mta@arbortext.com>
13093 Note: Some of these were committed by accident as part of other
13096 * regex.c (regex_compile): Avoid compiler warnings.
13098 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13100 * nt.h: Declare term_ntproc correctly.
13102 * nt.c: Remove incorrect declaration of get_home_directory which
13103 is declared correctly in lisp.h.
13105 * keymap.c (get_keyelt): Avoid compiler warnings.
13106 (raw_lookup_key_mapper): Avoid compiler warnings.
13108 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13110 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13112 * filemode.c (mode_string): Avoid compiler warnings.
13114 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13117 * events-mod.h: Undef some things that winuser.h defines differently.
13119 * data.c (Faset): Avoid compiler warnings.
13121 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13123 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13125 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13126 Fall through to simple beep on error.
13127 Replace "extern" by real header file.
13129 * linuxplay.c: Use nativesound.h
13130 (play_sound_data): Return error code. Be less verbose on error.
13132 * sunplay.c: Use nativesound.h
13133 (play_sound_data): Return error code. Be less verbose on error.
13135 * ntplay.c: Use nativesound.h
13136 (play_sound_data): Return fake error code
13138 * sgiplay.c: Use nativesound.h
13139 (play_sound_data): Return error code
13141 * hpplay.c: Use nativesound.h, partially implement
13142 new error code. Break compilation until finished.
13143 (play_sound_data): error code.
13145 * nativesound.h (play_sound_file):
13146 (play_sound_data): Prototype in new header.
13148 2000-03-31 Andy Piper <andy@xemacs.org>
13150 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13151 for toggle and radio buttons.
13152 (image_instantiator_buttons): use it.
13154 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13156 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13157 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13158 found. Scrollbar event probably belonged to some old config.
13160 2000-03-31 Andy Piper <andy@xemacs.org>
13162 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13164 (initialize_widget_image_instance): default layout to
13165 LAYOUT_HORIZONTAL rather than 0.
13166 (widget_instantiate): reverse the item list at the end rather than
13168 (layout_layout): re-code for the border text at the front of the
13169 item list rather than at the end.
13170 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13171 provided by the user.
13172 (widget_query_geometry): comment.
13174 2000-03-30 Andy Piper <andy@xemacs.org>
13176 * glyphs-widget.c (image_instantiator_layout): allow standard
13177 widget keywords in layouts.
13179 * gutter.c (output_gutter): cope with nil gutter contents.
13181 * frame.c (Fset_frame_properties): add gutter docs.
13183 2000-03-29 Andy Piper <andy@xemacs.org>
13185 * toolbar-msw.c (TBSTYLE_FLAT): add.
13186 (mswindows_output_toolbar): minor fiddling.
13188 2000-03-29 Andy Piper <andy@xemacs.org>
13190 * gutter.c (output_gutter): force gutter size recalculation if
13191 what we are trying to display won't fit.
13192 (update_gutter_geometry): new function. A per-gutter version of
13193 update_frame_gutter_geometry.
13194 (update_frame_gutter_geometry): use it.
13195 (redraw_exposed_gutter): add extra debugging output.
13197 2000-03-28 Mike Alexander <mta@arbortext.com>
13199 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13200 (pdump_file_unmap): Implement it on Windows
13201 (pdump_file_get): Save alocated handles for pdump_file_unmap
13203 2000-03-28 Andy Piper <andy@xemacs.org>
13205 * gui.c (get_gui_callback): treat Quit specially.
13207 2000-03-27 Andy Piper <andy@xemacs.org>
13209 * glyphs.c (image_instantiate): be careful to check in the same
13212 2000-03-27 Didier Verna <didier@xemacs.org>
13214 * config.h.in: define the proper SMART_INCLUDE macro.
13215 handle renaming of `foo_h_path' to `foo_h_file'.
13217 * database.c: ditto.
13221 * linuxplay.c: ditto.
13223 * terminfo.c: ditto.
13225 * tooltalk.h: ditto.
13227 2000-03-27 Andy Piper <andy@xemacs.org>
13229 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13230 gets updated whenever the face might have changed.
13232 2000-03-26 Mike Alexander <mta@arbortext.com>
13234 * dumper.c (pdump_resource_free): Fix the comment.
13236 2000-03-21 Olivier Galibert <galibert@pobox.com>
13238 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13240 2000-03-22 Mike Alexander <mta@arbortext.com>
13242 * dumper.c: Include Windows headers on Windows
13243 (pdump_resource_free): Add a body to the function
13244 (pdump_load): exe_name -> exe_path and add some comments.
13246 2000-03-25 Mike Alexander <mta@arbortext.com>
13248 * gui.c (copy_gui_item_tree): Return a value in all cases
13250 2000-03-21 Didier Verna <didier@xemacs.org>
13252 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13254 (SMART_INCLUDE): new macro.
13255 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13256 the proper location.
13258 * postgresql.c: use it.
13262 2000-03-24 Andy Piper <andy@xemacs.org>
13264 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13267 2000-03-24 Andy Piper <andy@xemacs.org>
13269 * redisplay-output.c (compare_runes): use image_instance_changed
13270 to detect changes. Do not depend on glyphs_changed, only depend on
13272 (redisplay_output_layout): add debug messages.
13273 (compare_runes): ditto.
13275 * glyphs.h: declare new functions.
13276 (struct Lisp_Image_Instance): remove percent and associated
13279 * gui.h: declare new copying functions.
13281 * gui.c (copy_gui_item_tree): new function.
13282 (copy_gui_item): new function.
13283 (gui_item_id_hash): revert to standard hash.
13284 (gui_item_hash): ditto.
13285 (gui_item_hash_internal): deleted.
13286 (mark_gui_item): mark value.
13287 (gui_item_add_keyval_pair): add value.
13288 (gui_item_init): ditto.
13289 (gui_add_item_keywords_to_plist): ditto.
13290 (gui_item_equal): ditto.
13291 (syms_of_gui): add Q_value.
13293 * glyphs-x.c (x_progress_gauge_update): use pending items and
13294 value for setting the state.
13295 (x_update_widget): don't set items from pending here.
13297 * glyphs-widget.c (update_widget): update items here.
13298 (progress_gauge_set_property): use items for storing value. Put
13299 new value in pending items.
13301 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13302 items for new value. Convert percent -> value.
13303 (mswindows_tab_control_update): don't update items here.
13305 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13306 (update_subwindow): ditto.
13307 (image_instance_changed): new function. Compare hash values and
13308 past and present widget items.
13309 (image_instantiate): We more careful about where we instantiate
13311 (image_instantiate): add error checking.
13313 * gutter.c (syms_of_gutter): use -hook.
13315 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13317 * console-tty.c (Fset_console_tty_input_coding_system): Use
13319 (Fset_console_tty_output_coding_system): Use Qterminal.
13320 (tty_init_console): Use Qkeyboard and Qterminal.
13322 2000-03-21 Ben Wing <ben@xemacs.org>
13324 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13325 From Mike Alexander <mta@arbortext.com>.
13327 2000-03-21 Ben Wing <ben@xemacs.org>
13329 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13330 process brokenness. Proper implementation to come.
13332 Rename call-process-internal to old-call-process-internal.
13333 New impl. in process.el.
13335 2000-03-21 Martin Buchholz <martin@xemacs.org>
13337 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13339 2000-03-20 Andy Piper <andy@xemacs.org>
13341 * glyphs.c (full_list_hash): make hashes of the same elements in
13342 different orders return different values.
13344 2000-03-20 Martin Buchholz <martin@xemacs.org>
13346 * XEmacs 21.2.32 is released.
13348 2000-03-20 Martin Buchholz <martin@xemacs.org>
13350 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13351 (DFC_MALLOC_USE_CONVERTED_DATA):
13352 Add aliasing-safe casts to allow use with char* or unsigned char*
13355 * eldap.c (Fldap_open):
13356 (Fldap_search_basic):
13359 Make C++-compilable.
13360 Make sure GCPRO'ed variables are initialized.
13361 Use temp variables to avoid repeated calls to Flength.
13363 2000-03-16 Martin Buchholz <martin@xemacs.org>
13366 Make sure PATH_MAX is always defined.
13367 Include limits.h for PATH_MAX.
13368 Deprecate use of MAXPATHLEN.
13370 2000-03-10 Martin Buchholz <martin@xemacs.org>
13372 * emacs.c: Add reinit_vars_of_fileio.
13373 * symsinit.h: Add reinit_vars_of_fileio.
13374 * fileio.c (reinit_vars_of_fileio): New.
13375 * fileio.c (Fmake_temp_name):
13376 Initialize temp_name random number from microseconds to make
13377 collisions even less likely. Initialize always at process startup
13378 time. (make-temp-name) used to return the same file name twice in
13380 Random stylistic fiddling.
13383 2000-03-20 Andy Piper <andy@xemacs.org>
13385 * glyphs.c (image_instantiate): allow text glyphs to be
13386 instantiated in the minibuffer window.
13388 2000-03-19 Andy Piper <andy@xemacs.org>
13390 * glyphs.c (image_instance_hash): be careful about which items we
13393 * glyphs-widget.c (tab_control_set_property): record into pending
13394 items rather than the actual items.
13396 * glyphs-x.c (x_update_widget): use pending items to update with.
13398 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13401 * glyphs.c (mark_image_instance): mark pending items.
13403 * window.c (Fset_window_configuration): record the buffer.
13404 (Fselect_window): totally revert previous change which breaks many
13407 2000-03-18 Andy Piper <andy@xemacs.org>
13409 * glyphs-msw.c (mswindows_tab_control_update): force selected
13412 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13413 window domain cache, otherwise we get inconsistencies at
13414 startup. There is something fishy at startup which can lead to the
13415 minibuffer being the selected window when the gutter content is
13418 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13420 (parse_gui_item_tree_children): ditto.
13421 (parse_gui_item_tree_item): ditto.
13423 * glyphs.c (Fupdate_widget_instances): return something.
13425 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13427 * window.c (Fselect_window): Undo 2000-03-17 change.
13429 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13431 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13432 against v7.0 libraries. Insta-coredump city until the postgres
13435 2000-03-17 Andy Piper <andy@xemacs.org>
13437 * faces.c (complex_vars_of_faces): don't give the widget face an
13438 inherited background pixmap.
13440 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13443 * event-stream.c (Fdispatch_non_command_events): return something.
13445 * gutter.c (output_gutter): use widget face.
13446 (clear_gutter): ditto.
13448 * NEWS: adjust again.
13450 * window.c (Fselect_window): make sure this runs to completion to
13451 avoid oddities with Fset_window_configuration.
13452 (Fcurrent_window_configuration): in general do not save the
13453 minibuffer as the selected window.
13455 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13457 2000-03-16 Olivier Galibert <galibert@pobox.com>
13459 * emacs.c (Frunning_temacs_p): Revert previous patch.
13460 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13462 2000-03-16 Andy Piper <andy@xemacs.org>
13464 * glyphs-x.c (x_tab_control_update): if no widget values then
13467 * NEWS: update for new features.
13469 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13470 synthetic event to the native system.
13471 (reinit_vars_of_event_Xt): set force_event_pending to
13472 emacs_Xt_force_event_pending.
13474 * events.h (struct event_stream): add force_event_pending.
13476 * specifier.c (recompute_one_cached_specifier_in_window): add
13479 * redisplay.c (redisplay_frame): don't call
13480 update_frame_subwindows. Reset subwindow cachels when
13481 subwindows_changed, removing this was an optimization too far.
13483 * redisplay-output.c (compare_runes): reorganize so that we catch
13484 glyph changes when we want them. Set optimize_output when this
13485 would help layouts.
13486 (redisplay_output_layout): remove frame_really_changed, use
13487 optimize_output instead.
13489 * redisplay-msw.c (mswindows_output_display_block): reset
13490 optimize_output after outputting a glyph.
13491 * redisplay-x.c (x_output_display_block): ditto.
13492 * redisplay-tty.c (tty_output_display_block): ditto.
13494 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13496 (gutter_specs_changed): do specific gutter positions.
13497 (top_gutter_specs_changed): new function. Only update the
13498 specified gutter specs.
13499 (bottom_gutter_specs_changed): ditto.
13500 (left_gutter_specs_changed): ditto.
13501 (right_gutter_specs_changed): ditto.
13503 * gui.c (gui_item_hash_internal): new function, does a real hash.
13504 (gui_item_id_hash): use it.
13505 (gui_item_hash): hash the eval'ed gui_item.
13507 * gui-x.c (popup_selection_callback): send an eval event to call
13508 Fupdate_widget_instances.
13510 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13511 to call Fupdate_widget_instances.
13513 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13514 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13516 * glyphs.c: (update_frame_subwindows): deleted.
13517 (Fupdate_widget_instances): new function for updating the dirty
13518 state of widgets that might have changed.
13519 (syms_of_glyphs): add Qupdate_widget_instances.
13520 (full_list_hash): hash a list completely.
13521 (image_instance_hash): use it for items and properties.
13523 * frame-msw.c (mswindows_size_frame_internal): remove unused
13526 * faces.h (struct face_cachel): fix comment.
13528 * event-stream.c (Fdispatch_non_command_events): new
13529 function. Process non-command events, forcing an event cycle
13531 (syms_of_event_stream): declare.
13532 (event_stream_force_event_pending): new function. Force an event
13533 on the native event queue so that an event cycle will occur next
13537 (struct ntpipe_shove_stream):
13538 (mswindows_enqueue_dispatch_event):
13539 (mswindows_dequeue_dispatch_event):
13540 (mswindows_cancel_dispatch_event):
13541 (mswindows_pump_outstanding_events):
13542 (mswindows_drain_windows_queue):
13543 (mswindows_handle_paint):
13544 (mswindows_wnd_proc):
13545 (mswindows_key_to_emacs_keysym):
13546 (get_process_input_waitable):
13547 (emacs_mswindows_delete_stream_pair): re-indent file.
13548 (mswindows_need_event): do not process further fds if the windows
13549 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13550 fixes the 100% cpu problem.
13551 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13553 2000-03-15 Olivier Galibert <galibert@pobox.com>
13559 * emacs.c: Moved dump file searching to dumper.c.
13560 (Frunning_temacs_p): Fixed.
13562 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13563 last_lrecord_type_index_assigned.
13565 2000-02-20 Olivier Galibert <galibert@pobox.com>
13567 * symsinit.h: Added reinit parameter to init_console_stream
13570 * lisp.h: Added file parameter to pdump_load declaration.
13572 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13573 support. Added dump file searching.
13575 * config.h.in: Added EMACS_PROGNAME.
13577 * console-stream.c (init_console_stream): Fix reinitialisation
13578 when running from temacs.
13580 * alloc.c (pdump): Add id support.
13581 (pdump_load): Add file parameter and signature/id support.
13583 * Makefile.in.in: Add full pdump support.
13585 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13587 * postgresql.c: Update documentation to reflect latest code
13589 (print_result): Show tuple counts in printed representation when
13591 (Fpq_put_nbytes): MULE-ize.
13592 (Fpq_get_line_async): Ditto.
13594 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13596 * postgresql.c (Fpq_lo_import): Fix return value.
13597 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13599 2000-03-13 Ben Wing <ben@xemacs.org>
13601 * alloc.c (pdump_load):
13602 Fix compile warning under mswin.
13604 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13606 * postgresql.c: Mule-ization, bug fixes.
13607 Use PG_CODING to encapsulate coding system name changes.
13608 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13609 (pg-coding-system): Create.
13611 (Fpq_conn_defaults): Mule-ize.
13612 (Fpq_connectdb): Mule-ize & bug fix.
13613 (Fpq_connect_start): Mule-ize.
13614 (Fpq_set_client_encoding): Mule-ize.
13615 (Fpq_finish): Document `DEAD' connection status.
13616 (Fpq_clear): Ditto.
13617 (Fpq_pgconn): Mule-ize.
13618 (Fpq_exec): Mule-ize & bug fix.
13619 (Fpq_send_query): Ditto.
13620 (Fpq_get_result): Ditto.
13621 (Fpq_res_status): Mule-ize.
13622 (Fpq_result_error_message): Mule-ize.
13623 (Fpq_ntuples): fix comments.
13624 (Fpq_fname): Mule-ize.
13625 (Fpq_fnumber): Mule-ize.
13626 (Fpq_ftype): fix comments.
13627 (Fpq_get_value): Mule-ize.
13628 (Fpq_cmd_status): Ditto.
13629 (Fpq_cmd_tuples): Ditto.
13630 (Fpq_oid_value): Ditto.
13631 (Fpq_notifies): Ditto.
13632 (Fpq_lo_import): Ditto.
13633 (Fpq_lo_export): Ditto.
13634 (Fpq_get_line): Ditto.
13635 (Fpq_put_line): Mule-ize and bug fix.
13636 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13638 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13640 * postgresql.c (vars_of_postgresql): Mule-ize.
13641 (Fpq_conn_defaults): Ditto.
13643 2000-03-12 Ben Wing <ben@xemacs.org>
13645 * alloc.c (Fmake_byte_code):
13646 * alloc.c (debug_string_purity_print):
13647 * alloc.c (pdump_backtrace):
13648 * alloc.c (pdump_get_indirect_count):
13649 * alloc.c (pdump_register_sub):
13650 * alloc.c (pdump_register_object):
13651 * alloc.c (pdump_register_struct):
13652 * alloc.c (pdump_dump_data):
13653 * alloc.c (pdump_reloc_one):
13657 * console-msw.c (GetConsoleHwnd):
13658 * console-msw.c (msw_hide_console):
13659 * console-msw.c (msw_show_console):
13660 * console-msw.c (msw_ensure_console_buffered):
13661 * console-msw.c (msw_output_console_string):
13662 * console-msw.c (console_type_create_mswindows):
13664 a) Added functions to manipulate the console window for use with
13667 b) Added support for writing text to the console, which is now
13668 used under Windows when xemacs is not being run non-interactively,
13669 to write text that would otherwise be destined for stdout because
13670 under these circumstances, text written to stdout tends to
13671 disappear and not be seen.
13675 * event-Xt.c (x_event_to_emacs_event):
13676 * event-Xt.c (describe_event_window):
13677 * events-mod.h (XEMACS_MOD_CONTROL):
13679 * events.c (Fmake_event):
13680 * events.c (character_to_event):
13681 * events.c (event_to_character):
13682 * events.c (format_event_object):
13683 * events.c (Fevent_modifiers):
13685 * events.h (struct key_data):
13686 * events.h (struct button_data):
13687 * events.h (struct misc_user_data):
13688 * frame-x.c (Fcde_start_drag_internal):
13689 * frame-x.c (Foffix_start_drag_internal):
13690 * gpmevent.c (Freceive_gpm_event):
13692 * keymap.c (bucky_sym_to_bucky_bit):
13693 * keymap.c (control_meta_superify):
13694 * keymap.c (make_key_description):
13695 * keymap.c (keymap_lookup_directly):
13696 * keymap.c (create_bucky_submap):
13697 * keymap.c (keymap_store):
13698 * keymap.c (define_key_check_and_coerce_keysym):
13699 * keymap.c (define_key_parser):
13700 * keymap.c (define_key_alternate_name):
13701 * keymap.c (Fdefine_key):
13702 * keymap.c (raw_lookup_key_mapper):
13703 * keymap.c (struct map_keymap_unsorted_closure):
13704 * keymap.c (map_keymap_unsorted_mapper):
13705 * keymap.c (map_keymap_sort_predicate):
13706 * keymap.c (map_keymap_sorted):
13707 * keymap.c (accessible_keymaps_mapper_1):
13708 * keymap.c (where_is_recursive_mapper):
13709 * keymap.c (describe_map_mapper):
13710 * keymap.c (describe_map_sort_predicate):
13711 * keymap.c (describe_map):
13712 * keymap.c (complex_vars_of_keymap):
13713 And a number of other files, the key modifier preprocessor
13714 constants that xemacs uses have names that conflict with constants
13715 defined under MS Windows for other purposes, so they were renamed
13716 to begin with the prefix XEMACS_. The variables that hold such
13717 modifiers were changed to consistently be of type int to fix
13718 various compile warnings.
13720 * console.c (complex_vars_of_console):
13723 * device-msw.c (mswindows_finish_init_device):
13724 * device-msw.c (msw_get_workspace_coords):
13725 * device-msw.c (mswindows_device_system_metrics):
13726 and various other files, added support for a new
13727 device property called offset-workspace which returns the position
13728 of the upper left corner of the workspace area and goes along with
13729 the existing size-workspace property.
13732 * dialog-msw.c (push_bufbyte_string_as_unicode):
13733 * dialog-msw.c (mswindows_popup_dialog_box):
13734 Added support for XEmacs-style accelerator specifications in
13735 button text. Note: I didn't add support for this under X Windows,
13736 and somebody needs to do this.
13739 * dialog.c (Fpopup_dialog_box):
13740 Documented the support for accelerators that was just mentioned.
13742 editfns.c (get_home_directory): Changed behavior under Windows
13743 when HOME not defined; former behavior was irretrievably broken.
13746 * emacs.c (main_1):
13748 * minibuf.c (clear_echo_area_internal):
13749 * minibuf.c (echo_area_append):
13751 * print.c (std_handle_out_external):
13752 * print.c (std_handle_out_va):
13754 * print.c (write_string_to_stdio_stream):
13755 * print.c (output_string):
13756 * print.c (debug_print):
13757 * print.c (debug_backtrace):
13758 * print.c (debug_short_backtrace):
13759 Cleaned up the code that prints text to stdout so that this can be
13760 changed to output into a console window instead under MS Windows,
13761 as described above.
13764 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13765 * eval.c (internal_catch):
13766 * eval.c (unwind_to_catch):
13767 * eval.c (throw_or_bomb_out):
13768 * eval.c (condition_case_1):
13769 * eval.c (signal_1):
13770 * eval.c (check_error_state_sanity):
13771 * eval.c (call_with_suspended_errors_1):
13772 * eval.c (call_with_suspended_errors):
13773 * eval.c (reinit_vars_of_eval):
13774 Added code to catch throw loops and check for a pesky bug that may
13778 * event-msw.c (key_needs_default_processing_p):
13779 * event-msw.c (mswindows_wnd_proc):
13780 * event-msw.c (mswindows_modifier_state):
13781 * event-msw.c (emacs_mswindows_quit_p):
13782 * event-msw.c (vars_of_event_mswindows):
13783 a) Added support for using the alt key to select menu items as is
13784 standard under MS Windows. This is controlled using the variable
13785 menu-accelerator-enabled, just like under X Windows. There is an
13786 option on the options menu to turn this support on. I really
13787 think that it should be on by default under Windows, but I'm not
13788 going to make this change yet.
13790 b) Added support for dynamic display size changes under Windows.
13793 * event-stream.c (maybe_echo_keys):
13794 * event-stream.c (Fnext_event):
13795 * event-stream.c (command_builder_find_leaf):
13796 * event-stream.c (lookup_command_event):
13797 * event-stream.c (execute_command_event):
13798 * event-stream.c (pre_command_hook):
13799 * event-stream.c (post_command_hook):
13800 * event-stream.c (syms_of_event_stream):
13801 * event-stream.c (vars_of_event_stream):
13802 * event-stream.c (complex_vars_of_event_stream):
13803 * events.h (struct command_builder):
13805 a) Tried to clean up a little bit the horribly written x-specific
13806 accelerator code that crept into this file. I moved this code
13807 into menubar-x.c where it belongs. I also needed to move the
13808 command builder structure into the file events.h because it is
13809 accessed directly by this accelerator code. What I didn't do, but
13810 which should be done at some point, is to properly abstract this
13811 code using device methods instead of the kludgy way that it
13812 currently hooks into the event code.
13814 b) Added the lisp variables this-command-properties and
13815 last-command- properties, which should be used to synchronize two
13816 adjacent commands in preference to playing games with the variable
13817 this-command, which is typically what happens.
13819 c) Added some slightly nasty code to hook into the lisp support
13820 for shifted- motion-key selection. This is actually necessary for
13821 somewhat complicated reasons, which are described in
13822 simple.el. (NB: I think the proper thing would be to have the code
13823 that calls the pre and post command hooks also call out to generic
13824 lisp functions in simple.el, where all built-in stuff could be
13825 added. I will think about this more.)
13827 * event-unixoid.c (poll_fds_for_input):
13828 * lread.c (readchar):
13829 * redisplay-tty.c (tty_clear_frame):
13830 * redisplay-x.c (x_get_gc):
13831 * signal.c (interrupt_signal):
13832 And a whole bunch of other files: fixed up places that printed
13833 directly to stderr to instead call the function stderr_out so that
13834 the changes I made under Windows work correctly.
13836 * filemode.c (mode_string):
13840 * frame-msw.c (mswindows_size_frame_internal):
13841 Fixed the computation of frame size and position to keep the frame
13842 within the workspace area, rather than within the physical
13843 dimensions of the screen, so that the frame doesn't overlap window
13844 manager decorations, such as the start menu and toolbar, typically
13845 at the bottom of the screen.
13847 * frame.c (vars_of_frame):
13848 Changed the default frame title format under MS Windows to consist
13849 of buffername-XEmacs, which is standard under MS Windows. I think
13850 it might be a good idea to change this everywhere because I think
13851 it is superior to the current frame title format, but this is the
13852 kind of change that is likely to cause some people to get annoyed,
13853 so I'm not making it.
13855 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13857 * gui-msw.c (mswindows_handle_gui_wm_command):
13858 Fixed compile warnings.
13861 * gui-x.c (strdup_and_add_accel):
13862 * gui-x.c (button_item_to_widget_value):
13864 Added code to automatically put an accelerator onto the beginning
13865 of menu items that don't have one as is now the standard, and is
13866 described more later. Also fixed things so that the menu item
13867 name can be an evaluated expression, again a new standard.
13870 * gui.c (gui_item_add_keyval_pair):
13871 * gui.c (make_gui_item_from_keywords_internal):
13872 * gui.c (gui_add_item_keywords_to_plist):
13873 * gui.c (gui_item_accelerator):
13874 * gui.c (gui_name_accelerator):
13875 * gui.c (gui_item_included_p):
13876 * gui.c (gui_item_display_flush_left):
13877 * gui.c (gui_item_display_flush_right):
13878 * gui.c (parse_gui_item_tree_item):
13879 * gui.c (parse_gui_item_tree_children):
13880 * gui.c (parse_gui_item_tree_list):
13881 Mule-ized. Cleanup. GCPRO addition.
13883 * line-number.c (buffer_line_number):
13885 * lisp.h (EMACS_INT_MAX):
13886 Added the manifest constant EMACS_INT_MIN corresponding to the
13887 existing constant EMACS_INT_MAX. This is partially to fix compile
13888 warnings under Windows, and partly for cleanliness.
13891 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13892 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13893 * menubar-msw.c (displayable_menu_item):
13894 * menubar-msw.c (populate_menu_add_item):
13895 * menubar-msw.c (populate_or_checksum_helper):
13896 * menubar-msw.c (populate_menu):
13897 * menubar-msw.c (update_frame_menubar_maybe):
13898 * menubar-msw.c (prune_menubar):
13899 * menubar-msw.c (msw_char_is_accelerator):
13900 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13901 * menubar-msw.c (mswindows_handle_wm_command):
13902 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13903 * menubar-msw.c (mswindows_handle_wm_initmenu):
13904 * menubar-msw.c (mswindows_update_frame_menubars):
13905 * menubar-msw.c (mswindows_free_frame_menubars):
13906 * menubar-msw.c (mswindows_popup_menu):
13907 Fixed a bug in handling accelerators where an extra character
13908 would be displayed in the menu item. Also generalized the
13909 function displayable_menu_item because it is now used by the
13910 dialog box code as well. And finally, added code in the functions
13911 that create the menubar to extract a list of accelerators for the
13912 top level menubar, which is used in the event code to determine
13913 whether a particular alt-key combination should be used to invoke
13914 a menu item, or should be passed through to access the standard
13915 XEmacs keymap binding for this key combination.
13917 Much needed GCPROing.
13920 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13921 * menubar-x.c (menu_item_descriptor_to_widget_value):
13922 * menubar-x.c (restore_in_menu_callback):
13923 * menubar-x.c (x_popup_menu):
13924 * menubar-x.c (menu_move_up):
13925 * menubar-x.c (menu_move_down):
13926 * menubar-x.c (menu_move_left):
13927 * menubar-x.c (menu_move_right):
13928 * menubar-x.c (menu_select_item):
13929 * menubar-x.c (command_builder_operate_menu_accelerator):
13930 * menubar-x.c (menu_accelerator_junk_on_error):
13931 * menubar-x.c (command_builder_find_menu_accelerator):
13932 * menubar-x.c (Faccelerate_menu):
13934 Moved a whole bunch of code here that was previously in
13935 event-stream.c as described above. There is also code connected
13936 to the new standard of adding an accelerator to the beginning of
13937 menu items that don't have one as described above and below.
13940 * menubar.c (menu_parse_submenu_keywords):
13941 * menubar.c (Fmenu_find_real_submenu):
13942 * menubar.c (Fnormalize_menu_item_name):
13943 * menubar.c (syms_of_menubar):
13944 * menubar.c (vars_of_menubar):
13945 * menubar.c (complex_vars_of_menubar):
13947 a) Cleaned up a bunch of documentation and improved it.
13949 b) XEmacs now automatically adds an accelerator onto the beginning
13950 of any menu items that don't have one. I did this because there
13951 will inevitably be some menu items on the main menubar that don't
13952 have accelerators on them because the package that adds that
13953 particular menu item hasn't yet been fixed up to have accelerators
13954 in them and it looked rather strange to have some items with and
13955 some items without accelerators, especially since even in items
13956 without accelerators, you can, at least under windows, still
13957 access the item through an accelerator corresponding to the first
13958 character in the item's name. If people don't like this behavior,
13959 I can add a variable to turn it off optionally, but I'm not sure
13960 this is a good idea because we really do need to have accelerators
13961 on all of the menu items, and if a package doesn't like the
13962 accelerators being put on the first character, then it should put
13963 the accelerators where they belong.
13965 c) I made a behavior change, which is that the descriptor that
13966 specifies the text of the menu item, which formerly was just a
13967 string, can now also be an evaluated expression. This makes this
13968 descriptor parallel with all of the others, which could also be
13969 evaluated expressions. This also obviates the need for the
13970 keyword :label, which was previously listed in the documentation
13971 as unimplemented, and which was for the same purpose.
13976 * ntproc.c (new_child):
13977 * ntproc.c (sys_spawnve):
13978 * ntproc.c (find_child_console):
13979 * ntproc.c (sys_kill):
13980 Fixed compile warnings. By the way, this file should really go
13981 away entirely, and this will happen as soon as Kirill makes his
13982 final round of process cleanups, which affect the function
13986 * process-nt.c (struct nt_process_data):
13987 * process-nt.c (find_process_from_pid):
13988 * process-nt.c (send_signal_the_nt_way):
13989 * process-nt.c (enable_child_signals):
13990 * process-nt.c (find_child_console):
13991 * process-nt.c (send_signal_the_95_way):
13992 * process-nt.c (nt_finalize_process_data):
13993 * process-nt.c (ensure_console_window_exists):
13994 * process-nt.c (nt_create_process):
13995 * process-nt.c (nt_kill_child_process):
13996 * process-nt.c (nt_kill_process_by_pid):
13997 * process-nt.c (nt_open_network_stream):
13998 * process-nt.c (vars_of_process_nt):
13999 Copied over code from Emacs 20.5 to correctly send signals to sub-
14000 processes under Windows 95. Also added code to automatically
14001 create and hide console window when a sub-process is created under
14002 Windows 95, which obviates the need for the separate runemacs.exe
14003 executable, and finally implemented some variables that were
14004 implemented in Emacs 20.5, but previously not in XEmacs. These
14005 include mswindows- start-process-share-console and
14006 mswindows-start-process-inherit-error-mode. (Both of these only
14007 apply to Windows 95.)
14009 * regex.c (regex_compile): Fixed a compile warning.
14012 * select-msw.c (mswindows_own_selection):
14013 * select-msw.c (mswindows_get_foreign_selection):
14014 * select-msw.c (mswindows_disown_selection):
14015 * select-msw.c (console_type_create_select_mswindows):
14016 * select-msw.c (syms_of_select_mswindows):
14017 Cleaned up the file and implemented the device method
14018 selection_exists_p, which had accidentally been left out. Also
14019 removed four lisp functions that were remnants from before the
14020 time when the selection code was properly device abstracted.
14021 These functions are no longer needed because there are generic
14022 equivalents, and because they were added recently and don't exist
14023 in FSF Emacs, I don't think there's any problem with just deleting
14027 * sysdep.c (sys_subshell):
14028 Fixed a compile warning, although in this case there's probably
14029 something wrong with this code, and it ought to be looked into
14030 more thoroughly by somebody who understands it.
14033 * window.c (Fwindow_text_area_height):
14034 * window.c (Fwindow_width):
14035 * window.c (Fwindow_full_width):
14036 * window.c (Fwindow_pixel_width):
14037 * window.c (debug_print_window):
14038 * window.c (syms_of_window):
14039 Added functions window-text-area-height and window-full-width,
14040 which are functions for returning various width and height
14041 characteristics of a window. (One of these functions is necessary
14042 for making the file dialog box work correctly, and the other one
14043 was added for completeness.) Also added a table to the
14044 documentation for window-height which describes the entire scheme
14045 for accessing width and height characteristics of a window.
14047 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14049 * nt.c (fstat): Added a comment for another problem with
14050 non-encapsulated [f]stat(), reported by Adrian Aichner
14051 <aichner@ecf.teradyne.com>.
14053 2000-03-11 Andy Piper <andy@xemacs.org>
14055 * window.c (make_dummy_parent): initialize subwindow instance
14057 (Fset_window_configuration): zero extent_modiff.
14059 2000-03-10 Andy Piper <andy@xemacs.org>
14061 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14062 more changes can be triggered.
14063 (Fredisplay_frame): ditto.
14064 (Fredraw_device): ditto.
14065 (Fredisplay_device): ditto.
14066 (redisplay_frame): make non-static.
14067 (redisplay_frame): call update_frame_gutter_geometry outside of
14070 * gutter.h: declare update_frame_gutter_geometry.
14072 * redisplay.h: declare redisplay_frame.
14074 * gutter.c (update_frame_gutter_geometry): move geometry changes
14075 in update_frame_gutters here. Geometry changes can only occur
14076 outside of redisplay.
14077 (update_frame_gutters): remove geometry change code.
14078 (Fredisplay_gutter_area): make sure that we are in display when we
14079 update and that we have flushed any size changes.
14081 2000-03-11 Andy Piper <andy@xemacs.org>
14083 * alloc.c (pdump_dump_data): remove i & count shadows.
14085 2000-02-27 Mike Alexander <mta@arbortext.com>
14087 * sysdep.h: Declare pdump_read_file
14089 * sysdep.c (pdump_read_file): New function
14091 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14094 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14096 * lrecord.h: add `lrecord_type_pgsetenv'.
14098 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14100 * symsinit.h: declare (vars|syms)_of* functions.
14101 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14103 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14105 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14107 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14110 * emacs.c (main_1): Call postgres initialization code.
14112 * postgresql.h: New file. PostgreSQL RDBMS support.
14113 * postgresql.c: New file.
14115 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14117 * redisplay-output.c (redisplay_output_display_block): Disable
14120 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14122 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14123 (Fcanna_henkan_next): Ditto.
14124 (Fcanna_bunsetu_henkou): Ditto.
14125 (Fcanna_henkan_kakutei): Ditto.
14126 (Fcanna_henkan_end): Ditto.
14127 (Fcanna_henkan_quit): Ditto.
14128 (Fcanna_henkan_next): Set retun value correctly.
14129 (c2mu): Use unsigned char instead of signed char.
14131 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14133 * emacs.c (main_1): Always call syms_of_gui.
14134 * inline.c: include gui.h
14136 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14138 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14139 converted to Lisp_Object.
14140 (Qtop_bottom): New variable.
14141 (syms_of_redisplay): Initialize it.
14142 * redisplay.h (Vvisible_bell): Ditto.
14143 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14144 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14145 only flash top and bottom.
14147 2000-03-08 Andy Piper <andy@xemacs.org>
14149 * buffer.c (Frename_buffer): record new buffer name the right way.
14151 2000-03-08 Andy Piper <andy@xemacs.org>
14153 * glyphs.c (update_subwindow): increase hash depth so that widget
14154 items get picked up properly.
14156 * redisplay-output.c (compare_runes): increase hash depth so that
14157 widget items get picked up properly.
14159 2000-03-08 Andy Piper <andy@xemacs.org>
14161 * gutter.c (output_gutter): add some debug.
14163 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14164 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14165 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14167 * redisplay-output.c (compare_runes): use display_hash to
14168 determine if glyphs really are not the same.
14170 * glyphs.c (update_subwindow): check display_hash to see if
14171 anything really needs to be updated. If not then do
14172 nothing. Record the display_hash after updating.
14173 (image_instance_equal): compare the image_instance face also.
14175 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14177 * redisplay.h: Fix comment style.
14179 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14181 * consle-msw.h (struct mswindows_frame):
14182 Added new member paint_pending to indicate whether a WM_PAINT
14183 magic event has been queued for this frame.
14185 * event-msw.c (mswindows_drain_windows_queue):
14186 Don't queue a WM_PAINT magic event if one is already queued.
14187 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14189 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14191 2000-03-07 Didier Verna <didier@xemacs.org>
14193 * dired.c: #include `regex.h' after `sysfile.h'.
14195 2000-03-06 Martin Buchholz <martin@xemacs.org>
14197 * sound.c (init_nas_sound): Fix compiler warning.
14199 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14201 (MARK_STRUCT_AS_FREE):
14202 (MARK_STRUCT_AS_NOT_FREE):
14203 Make `gcc -fstrict-aliasing' work properly.
14205 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14207 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14208 (mswindows_delete_device): Call CoUnnitialize().
14210 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14212 2000-02-25 <CraigL@DyCon.com>
14214 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14217 * sysdep.c: This extern declaration for environ prevents MinGW
14218 from finding the variable in CRTDLL.DLL.
14220 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14222 (SHGFI_EXETYPE): ..
14223 (WM_MOUSEWHEEL): ..
14224 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14226 (MMRESULT): Removed, now defined in cygwin's windows headers.
14228 (uid_t,gid_t,pid_t,ssize_t): ..
14229 (_timeb): Removed, MinGW defines both _timeb and timeb.
14230 (HAVE_H_ERRNO): Added.
14231 (HAVE_TZNAME): Added, configure is not detecting this.
14233 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14235 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14236 * syntax.c (syntax_match): Use it.
14238 * cmds.c: Import auto-fill-chars from FSF Emacs.
14239 (Vauto_fill_chars): New variables.
14240 (internal_self_insert): Check Vauto_fill_chars.
14242 Declare auto-fill-chars as a Lisp variable and initialize it.
14244 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14246 * fileio.c (Fmake_symbolic_link):
14248 Run handlers even if local machine doesn't have symlinks.
14250 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14252 * event-msw.c (mswindows_drain_windows_queue):
14253 Don't generate paint magic events for non-XEmacs frames.
14255 2000-03-05 Andy Piper <andy@xemacs.org>
14257 * redisplay.c (redisplay_frame): generate_displayable_area and
14258 friends assumes that we are not in GC, we therefore have to make
14259 sure that this doesn't happen.
14261 * gutter.c (calculate_gutter_size): generate_displayable_area
14262 assumes that we are not in GC, we therefore have to make sure that
14263 this doesn't happen.
14265 2000-03-05 Martin Buchholz <martin@xemacs.org>
14267 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14269 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14271 * redisplay.c (regenerate_window): Make sure we set a sane value
14272 for end_pos even if we jump out of the loop.
14273 (regenerate_window): Answer Ben's question :-).
14274 (start_end_of_last_line): Add may_error argument.
14275 (start_of_last_line):
14276 (end_of_last_line): Pass may_error = 0.
14277 (end_of_last_line_may_error): New function.
14278 (pixel_to_glyph_translation): Use it, so we don't crash in
14281 2000-03-04 Andy Piper <andy@xemacs.org>
14283 * window.h (struct window): add gutter_extent_modiff.
14285 * window.c (allocate_window): zero out gutter_extent_modiff.
14287 * redisplay.h: declare sync_display_line_structs.
14289 * redisplay.c (add_glyph_rune): add a better comment.
14291 * redisplay-output.c (sync_display_line_structs): made non-static.
14292 (compare_runes): remove unneccesary glyph cachel access.
14294 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14296 * gutter.c (output_gutter): don't output the gutter if extent
14297 changes only involve extents in buffers. use 4 sets of display
14299 (gutter_extent_signal_changed_region_maybe): new function. Mark
14300 extents in gutters as changed.
14301 (update_frame_gutters): use 4 sets of display lines.
14302 (reset_gutter_display_lines): ditto.
14303 (free_frame_gutters): ditto.
14304 (redraw_exposed_gutter): force output of gutters.
14306 * frame.h (struct frame): add 4 sets of gutter display lines.
14308 * extents.c: (extent_changed_for_redisplay): signal changes to
14309 extents in strings in the gutter as well as extents in buffers.
14311 2000-03-02 Andy Piper <andy@xemacs.org>
14313 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14315 * frame.c (Fmake_frame): make sure the gutters get initialized
14316 after the frame is visible.
14317 (set_frame_selected_window): re-arrange compilation macros a
14319 (change_frame_size_1): mark gutters changed.
14321 * device.c (Fset_device_class): mark gutters changed.
14323 2000-03-01 Andy Piper <andy@xemacs.org>
14325 * window.c (window_top_frame_gutter_height): deleted.
14326 (window_bottom_frame_gutter_height): ditto.
14327 (window_left_frame_gutter_height): ditto.
14328 (window_right_frame_gutter_height): ditto.
14329 (window_top_gutter_height): don't use them.
14330 (window_bottom_gutter_height): ditto.
14331 (window_left_gutter_width): ditto.
14332 (window_right_gutter_width): ditto.
14333 (Fsplit_window): ditto.
14334 (Fwindow_pixel_edges): don't use border dimensions here.
14336 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14337 (update_scrollbar_instance): ditto.
14339 * redisplay.c (generate_modeline): don't take gutters into account.
14340 (generate_modeline): ditto.
14341 (redisplay_frame): small gutter display optimization.
14343 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14345 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14346 gutters into account.
14348 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14349 for window position and type.
14351 * gutter.c (get_gutter_coords): fix for frame gutters.
14352 (update_frame_gutters): update frame geometry if the gutters have
14354 (init_frame_gutters): record current gutter geometries.
14356 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14358 (mswindows_widget_instantiate): ditto.
14360 * frame.h (struct frame): add current_gutter_bounds.
14362 * frame.c (change_frame_size_1): position window and minibuffer
14363 appropriately taking into account the frame gutters.
14365 * frame-x.c: (x_initialize_frame_size): take into account the
14368 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14370 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14372 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14374 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14376 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14378 * file-coding.c (reset_decoding_stream): Clear previous
14379 detection state when autodetect.
14381 2000-02-29 Didier Verna <didier@xemacs.org>
14383 * extents.c (set_extent_glyph_1): don't require extents to be
14386 2000-02-27 Andy Piper <andy@xemacs.org>
14388 * gutter.c (Fset_default_gutter_position): don't default left and
14389 right gutter visibility to t.
14390 (Fset_default_gutter_position): run
14391 default-gutter-position-changed-hook.
14392 (syms_of_gutter): add default-gutter-position-changed-hook.
14394 2000-02-26 Andy Piper <andy@xemacs.org>
14396 * specifier.c (Fmake_specifier): add gutter references.
14398 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14400 * lisp.h: declare Fvalid_plist_p.
14402 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14404 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14405 well as its visibility so that it gets reconstructed.
14406 (construct_window_gutter_spec): new function. Construct a string
14407 to be displayed in the gutter from a plist of strings. Take care
14408 to only use elements that are declared as visible.
14409 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14411 (gutter_validate): allow plists of strings in the specifier.
14412 (gutter_specs_changed): construct the real_gutter from the gutter
14413 specs using construct_window_gutter_spec.
14414 (gutter_visible_validate): gutter-visible is a new specifier type.
14415 (Fgutter_visible_specifier_p): new function for the new specifier.
14416 (syms_of_gutter): declare gutter-visible and
14417 Fgutter_visible_specifier_p.
14418 (specifier_type_create_gutter): intitalize new gutter-visible
14420 (reinit_specifier_type_create_gutter): ditto.
14421 (specifier_vars_of_gutter): use new specifier type for gutter
14423 (init_frame_gutters): construct real_gutter correctly.
14424 (Fgutter_specifier_p): beef up documentation.
14425 (Fgutter_size_specifier_p): ditto.
14427 * winslots.h: add real_gutter slots.
14429 2000-02-25 Andy Piper <andy@xemacs.org>
14431 * device-msw.c: Be kind to older cygwin versions. From Raymond
14432 Toy <toy@rtp.ericsson.se>.
14434 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14435 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14437 2000-02-25 Martin Buchholz <martin@xemacs.org>
14439 * elhash.c (MARK_OBJ): Practice macro hygiene.
14441 2000-02-24 Martin Buchholz <martin@xemacs.org>
14443 * miscplay.c: s/__inline__/inline/g;
14444 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14445 (get_device_compdc): INLINE ==> static inline
14446 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14447 find -name '*.h' | \
14448 xargs global-replace \
14449 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14451 2000-02-25 Andy Piper <andy@xemacs.org>
14453 * window.c (window_top_frame_gutter_height): new function.
14454 (window_top_window_gutter_height): ditto.
14455 (window_top_gutter_height): use them.
14456 (window_bottom_frame_gutter_height): new function.
14457 (window_bottom_window_gutter_height): ditto.
14458 (window_bottom_gutter_height): use them.
14459 (window_left_window_gutter_width): new function.
14460 (window_left_frame_gutter_width): ditto.
14461 (window_left_gutter_width): use them.
14462 (window_right_window_gutter_width): new function.
14463 (window_right_frame_gutter_width): ditto.
14464 (window_right_gutter_width): use them.
14465 (window_pixel_height): new function. calulate window pixel height
14466 with frame gutter involvement.
14467 (Fsplit_window): calculate new sizes taking frame gutters into
14469 (window_char_height_to_pixel_height): don't include frame gutters.
14470 (window_char_height): use window_pixel_height.
14471 (window_pixheight): rename from window_pixel_height.
14472 (change_window_height): use it.
14473 (window_pixel_height_to_char_height): don't include frame gutters.
14474 (window_char_width_to_pixel_width): ditto.
14476 2000-02-25 Andy Piper <andy@xemacs.org>
14478 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14481 2000-02-24 Martin Buchholz <martin@xemacs.org>
14483 * alloc.c (staticpro):
14484 (staticpro_nodump):
14489 (compact_string_chars):
14490 (pdump_dump_wired):
14491 Convert: if (foo) abort(); ==> assert (! foo);
14493 * eldap.c (Fldap_search_basic):
14497 Fix compiler warnings, and possible crashes if (random) return
14498 value were to be used.
14500 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14502 * device-msw.c: Workaround ResetDC failure.
14504 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14505 applying a devmode.
14507 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14508 (mswindows_text_width): Do not start printer page.
14510 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14512 * glyphs-msw.c: Added image methods to msprinter console and
14513 msprinter-specific image instantiation.
14515 2000-02-20 Mike Alexander <mta@arbortext.com>
14517 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14518 to avoid crashes when selection-sets-clipboard is on
14519 (mswindows_own_selection): ditto
14521 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14524 * redisplay-msw.c (get_frame_dc):
14525 (get_frame_compdc):
14527 * device-msw.c (mswindows_init_device):
14528 (mswindows_delete_device):
14529 (msprinter_init_device):
14530 (msprinter_delete_device):
14531 * frame-msw.c (mswindows_init_frame_1):
14532 (mswindows_delete_frame):
14533 (msprinter_init_frame_3):
14534 (msprinter_delete_frame): Move compatible DC to device object from
14535 frame object, for both mswindows and msprinter. Only one at a time
14536 is needed, it is a real waste to have one per frame!
14538 2000-02-23 Andy Piper <andy@xemacs.org>
14540 * glyphs.c: add dynamic width and height elements.
14541 (image_instance_equal): ditto.
14543 * glyphs-widget.c (widget_query_geometry): calculate width and
14544 height dynamically if required.
14545 (initialize_widget_image_instance): initialize dynamic dimensions.
14546 (widget_instantiate): pick-up dynamic dimensions.
14548 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14549 dynamic determination. Add appropriate macros.
14551 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14553 (WINDOW_GUTTER_SIZE): ditto.
14554 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14556 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14558 (get_frame_dc): ditto.
14560 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14563 2000-02-23 Martin Buchholz <martin@xemacs.org>
14565 * XEmacs 21.2.31 is released.
14567 2000-02-22 Ben Wing <ben@xemacs.org>
14569 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14571 2000-02-22 Andy Piper <andy@xemacs.org>
14573 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14575 2000-02-21 Mike Sperber <mike@xemacs.org>
14579 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14582 2000-02-21 Mike Sperber <mike@xemacs.org>
14584 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14586 2000-02-21 Martin Buchholz <martin@xemacs.org>
14588 * XEmacs 21.2.30 is released.
14590 2000-02-20 Martin Buchholz <martin@xemacs.org>
14592 Performance hacking.
14594 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14595 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14596 * emacs.c (main_1):
14598 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14599 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14600 * symeval.h (DEFVAR_SYMVAL_FWD):
14601 * symbols.c (guts_of_unbound_marker):
14602 Make all c_readonly objects also lisp_readonly and marked for life.
14603 * lrecord.h (struct lrecord_implementation):
14604 Document flags better.
14605 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14606 * lrecord.h (DECLARE_LRECORD):
14607 * lrecord.h (XSETRECORD):
14608 * lrecord.h (RECORDP):
14609 * lrecord.h (RECORD_TYPEP):
14610 * lrecord.h (RECORD_MARKER): New.
14611 * lrecord.h (error_check_*):
14612 * lrecord.h (CONCHECK_NONRECORD):
14613 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14614 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14615 * lrecord.h (set_lheader_implementation):
14616 * lrecord.h (enum lrecord_type): New.
14617 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14618 * alloc.c (disksave_object_finalization_1):
14619 * alloc.c (mark_object):
14620 * alloc.c (lrecord_type_index):
14621 * alloc.c (tick_lcrecord_stats):
14622 * alloc.c (Fgarbage_collect):
14623 * alloc.c (init_alloc_once_early):
14624 * alloc.c (pdump_load):
14625 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14626 * alloc.c (lrecord_type_index): Delete.
14627 Make lisp object type indexes be constant.
14628 Makes (byte-compile) 5% faster.
14629 Put all marker functions into their own array.
14630 Makes (garbage-collect) 5% faster.
14631 Optimize SYMBOL_VALUE_MAGIC_P.
14632 Makes (byte-compile) 2-3% faster.
14633 * config.h.in (gc_checking_assert): New.
14634 * alloc.c: Use gc_checking_assert().
14635 * .dbxrc: Make compatible with new object type implementation.
14636 * .gdbinit: Make compatible with new object type implementation.
14637 * alloc.c: Delete all symbols defined only for debugging, such as
14638 Lisp_Type_Vector and lrecord_charset.
14640 2000-02-21 Andy Piper <andy@xemacs.org>
14642 * gui-msw.c (Fmswindows_shell_execute): fix file location
14645 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14646 unshowing so that set_window_buffer doesn't undo
14647 kill_buffer_hook's hard work.
14649 * glyphs-widget.c (tab_control_query_geometry): don't count the
14650 first item when calculating geometry.
14652 * glyphs.c (map_subwindow): remove redundant code.
14653 (update_frame_subwindows): be more circumspect about when to
14656 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14657 when items haven't changed. Update faces if faces have changed as
14658 well as just the widget face.
14659 (x_tab_control_update): Update faces if faces have changed as well
14660 as just the widget face.
14662 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14664 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14666 (build_syscolor_string): Use mswindows_color_to_string to try to
14668 (mswindows_device_system_metrics): Reverse the foreground and
14669 background colors so that they match the documentation.
14671 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14672 they match the default Windows palette.
14673 (mswindows_color_to_string): New function.
14675 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14677 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14679 2000-02-18 Olivier Galibert <galibert@pobox.com>
14681 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14682 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14684 * symbols.c (init_symbols_once_early): Removed obsolete
14685 DATA_SEG_BITS related kludge.
14686 (defvar_magic): Ditto.
14688 * malloc.c: Removed obsolete DATA_SEG_BITS
14690 * mem-limits.h: Ditto.
14692 * Makefile.in.in: Removed obsolete HAVE_SHM
14695 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14697 * device-msw.c (mswindows_delete_device): Free DDE string
14700 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14702 * keymap.c (get_keyelt):
14703 * unexnt.c (unexec):
14704 * vm-limit.c (memory_warnings):
14705 * ntheap.c (recreate_heap):
14706 * ntheap.h (UNINIT_PTR):
14707 * select-msw.c (Fmswindows_get_clipboard):
14708 (Fmswindows_set_clipboard):
14709 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14711 * menubar-msw.c (displayable_menu_item):
14713 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14714 * sysdep.c (sys_subshell):
14715 * process-nt.c (nt_create_process):
14716 * nt.c (normalize_filename):
14717 (dostounix_filename):
14718 (unixtodos_filename):
14719 * ntproc.c (win32_executable_type):
14720 * ntplay.c (play_sound_data_1):
14722 * editfns.c (get_home_directory):
14723 * event-msw.c (struct winsock_stream):
14724 (mswindows_dde_callback):
14725 * device-msw.c (msprinter_init_device):
14726 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14728 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14729 mswindows_clear_toolbar were swapped!
14731 * objects-msw.c:(colormap_t):
14733 * emacs.c (struct standard_args): Fixed const jumble.
14735 * glyphs-widget.c (update_widget): Fixed comparison notation.
14737 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14739 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14740 __declspec(noreturn) syntax.
14742 2000-02-19 Martin Buchholz <martin@xemacs.org>
14744 * eldap.c (Fldap_open):
14745 (Fldap_search_basic):
14748 Use new coding system conversion macros.
14750 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14752 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14754 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14756 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14757 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14759 * eldap.c (Qadd, Qreplace): New constant symbols
14760 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14761 interruptions by XEmacs signals
14762 Remove unnecessary calls to slow_down_interrupts and
14763 speed_up_interrupts
14764 (Fldap_search_basic): Renamed from Fldap_search_internal
14765 Added new optional parameter VERBOSE that triggers the
14766 display of progress messages
14767 Remove unnecessary calls to slow_down_interrupts and
14768 speed_up_interrupts
14769 LDAP result code analysis rewritten
14770 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14771 (syms_of_eldap): Define the new symbols and functions
14774 2000-02-17 Martin Buchholz <martin@xemacs.org>
14776 * realpath.c: Determine PATH_MAX maximally portably.
14778 * insdel.c (bytecount_to_charcount): Optimize.
14779 The function used to be optimized for entirely ASCII sequences.
14780 Now it is optimized for successive characters from the same
14781 charset. This also wins big for _mostly_ ASCII sequences.
14783 * fileio.c (Ffile_truename): convert return from realpath() using
14784 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14785 - Rewrite GCPROing slightly.
14787 * sysdep.c (sys_open): Do filename conversion, like all other
14788 sys_* functions. Fixes bug:
14789 (let ((file-name-coding-system 'iso-8859-2))
14790 (write-region x y latin2-name))
14791 ==> writes filename using internal encoding.
14793 2000-02-18 Martin Buchholz <martin@xemacs.org>
14795 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14796 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14797 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14798 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14799 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14800 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14801 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14802 (CONST_IF_NOT_DEBUG): Delete.
14803 * alloc.c (this_one_is_unmarkable): Delete.
14804 (mark_object): Don't check for this_one_is_unmarkable. Use the
14805 c_readonly flag instead.
14806 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14808 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14810 * event-msw.c (mswindows_drain_windows_queue):
14811 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14812 away redundant repaint events.
14814 2000-02-17 Andy Piper <andy@xemacs.org>
14816 * redisplay.h: declare mark_redisplay_structs.
14818 * redisplay.c (redisplay_window):
14819 (redisplay_frame): don't check subwindows_state_changed.
14820 (mark_redisplay): mark gutters here.
14822 * glyphs.c: (instantiate_image_instantiator): always layout if we
14823 haven't done so already.
14824 (allocate_image_instance): don't mark as dirty.
14825 (update_subwindow): bind inhibit_quit.
14827 * gutter.c (mark_gutters): new function.
14829 * glyphs-x.c (x_update_widget): Always resize to get round a
14832 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14833 breaking absolutely everything.
14835 * gutter.h: declare mark_gutters.
14837 2000-02-16 Martin Buchholz <martin@xemacs.org>
14839 * XEmacs 21.2.29 is released.
14841 2000-02-15 Olivier Galibert <galibert@pobox.com>
14843 * fns.c (size_bit_vector): Fix computation of the size.
14845 2000-02-15 Martin Buchholz <martin@xemacs.org>
14847 * *.[ch]: Change CONST to const globally.
14848 find -name '*.[ch]' | \
14849 xargs global-replace \
14850 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14851 - Remove vestigial references to CONST_IS_LOSING
14853 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14855 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14856 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14857 events instead of dispatching them directly.
14858 (mswindows_handle_paint): New function to do repainting.
14859 (mswindows_wnd_proc):
14860 (emacs_mswindows_handle_magic_event): Call above function.
14862 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14864 * objects-msw.c (mswindows_create_font_variant): Return the new
14866 (initialize_font_instance): Get font metrics from the underlined
14867 variant of the font to cope with the case where the underlined
14868 font has a bigger descent.
14870 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14872 * gui.c (gui_item_accelerator): Return the first underlined
14873 character in item name.
14875 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14877 * lisp.h: Added Qprinter.
14879 * general.c (syms_of_general): Initialized it.
14881 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14883 (get_frame_compdc): Made inline.
14885 * console.h (struct console_methods): Added eject_page method.
14887 * frame.h: Added FRAME_DISPLAY_P and friends.
14888 Aligned backslahes in many macros in more readable fashion.
14889 Added page_number to struct frame, and an accessor macro
14892 * defice.h: Added DEVICE_DISPLAY_P and friends.
14894 * device.c (Fdevice_printer_p): Used these.
14896 * frame.c (allocate_frame_core): Initialize page number.
14897 (Fprint_job_page_number):
14898 (Fprint_job_eject_page): Implemented.
14900 * frame-msw.c (msprinter_eject_page): Added method.
14901 (msprinter_start_page): Added.
14903 * window.c (Fwindow_truncated_p): Fixed docstring.
14904 (Fwindow_last_line_visible_height): Implemented.
14906 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14908 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14910 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14912 * syntax.c (scan_words): Always advance at least one character.
14914 2000-02-13 Andy Piper <andy@xemacs.org>
14916 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14917 to make sure the glyph is in the cachels.
14919 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14920 global image instance flag.
14921 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14922 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14924 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14925 (Fset_image_instance_property): mark layout as changed.
14926 (invalidate_glyph_geometry_maybe): mark layout as changed.
14927 (glyph_width): use new NEEDS_LAYOUT macro.
14928 (glyph_ascent): ditto.
14929 (glyph_descent): ditto.
14930 (glyph_height): ditto.
14931 (image_instance_layout): mark layout as clean after laying out.
14932 (update_subwindow): don't mark layout as clean here.
14934 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14935 should no longer be needed.
14937 * glyphs-x.c (x_update_widget): sanitize asserts.
14938 (x_finalize_image_instance): sanitize assignment to widgets.
14940 * glyphs-widget.c (widget_instantiate): don't need to clear the
14943 2000-02-13 Martin Buchholz <martin@xemacs.org>
14945 * sysdep.c (getcwd): Use standard prototype.
14946 * sysdep.h (getcwd): Use standard prototype.
14948 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14949 (sequence, start, end).
14950 Remove redundant type checking.
14951 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14952 view of `caller-protects') to avoid a crash where the real fix was
14955 2000-02-12 Martin Buchholz <martin@xemacs.org>
14957 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14959 * s/sol2.h: Remove feature macro initialization.
14961 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14962 (vector_hash): New. Code from internal_hash.
14964 Fix up allocation subsystem comments.
14966 * config.h.in: Add __EXTENSIONS__ for Solaris.
14968 * systime.h (EMACS_GETTIMEOFDAY): New.
14969 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14970 Remove Solaris-specific code.
14971 Use void* for the (ignored) second arg for gettimeofday().
14973 * elhash.c (hash_table_hash): Implement it, finally.
14974 * elhash.c: Use hashcode_t.
14976 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14977 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14979 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14980 * fns.c (size_bit_vector):
14981 * alloc.c (size_vector):
14982 (make_vector_internal):
14983 (make_bit_vector_internal):
14984 (sweep_bit_vectors_1):
14985 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14987 2000-02-10 Martin Buchholz <martin@xemacs.org>
14989 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14990 Include strings.h to avoid warnings for bzero and strcasecmp.
14992 2000-02-10 Olivier Galibert <galibert@pobox.com>
14994 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14995 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14997 * fns.c (size_bit_vector): New. Declare bit vectors as a
15000 2000-02-10 Olivier Galibert <galibert@pobox.com>
15002 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15003 use a value field instead.
15004 (symbol_value_forward_forward): Use value field.
15005 (DEFVAR_SYMVAL_FWD): Use value field.
15006 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15007 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15008 (DEFVAR_CONST_INT): Ditto.
15009 (DEFVAR_BOOL): Ditto.
15010 (DEFVAR_CONST_BOOL): Ditto.
15011 (DEFVAR_INT_MAGIC): Ditto.
15012 (DEFVAR_BOOL_MAGIC): Ditto.
15014 * symbols.c (guts_of_unbound_marker): Use value field.
15015 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15016 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15018 * lisp.h: Declare dumpopaque and noninteractive1.
15020 * alloc.c (dumpopaque): Added.
15021 (pdump_dump_opaquevec): Added.
15022 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15023 (pdump_load): Reload opaque data. Sync noninteractive1 with
15026 2000-02-10 Andy Piper <andy@xemacs.org>
15028 * glyphs.c (image_instance_layout): if the size changes, mark it
15031 * redisplay-output.c (redisplay_output_layout): Update the
15033 (redisplay_output_subwindow): ditto.
15035 * glyphs.c (update_subwindow): make sure we reset flags for
15036 layouts as well as everything else.
15038 * glyphs-widget.c (layout_layout): don't need to set the instances
15041 2000-02-09 Martin Buchholz <martin@xemacs.org>
15043 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15044 not HAVE_DLOPEN, which is a lower-level thing.
15046 * .cvsignore: Ignore gmon.out
15048 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15050 * .cvsignore: Ignore portable dumper xemacs.dmp file
15052 2000-02-09 Andy Piper <andy@xemacs.org>
15054 * redisplay-output.c (redisplay_output_layout): be more clever
15055 about when we output based on the changed flags.
15057 * glyphs.h (struct image_instantiator_methods): add update_method.
15058 (struct Lisp_Image_Instance): add changed flags. Declare new
15059 macros for manipulating them.
15061 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15062 (image_instance_parent_glyph): find an image_instance's parent
15063 glyph or image_instance.
15064 (image_instance_layout): mark the size as changed.
15065 (set_image_instance_dirty_p): new function. mark an image
15066 instance, plus all of its parents, as dirty.
15067 (Fset_image_instance_property): use it.
15068 (Fglyph_animated_timeout_handler): use it.
15069 (update_subwindow): call update_widget and device methods for
15070 update_subwindow. Mark all changed flags as clean.
15071 (Fresize_subwindow): mark size as changed.
15073 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15075 (x_update_subwindow): only resize subwindows here.
15076 (x_update_widget): new function. Update all changed properties of
15078 (x_resize_subwindow): deleted.
15079 (x_widget_set_property): deleted.
15080 (x_progress_gauge_set_property): deleted.
15081 (x_progress_gauge_update): new function. Implement recorded
15083 (x_tab_control_update): ditto.
15084 (x_tab_control_set_property): deleted.
15085 (console_type_create_glyphs_x): declare new functions.
15086 (image_instantiator_format_create_glyphs_x): ditto.
15088 * glyphs-widget.c (widget_set_property): mark text changed.
15089 (update_widget): new function. Update properties of a widget.
15090 (widget_instantiate): for layouts make sure we set their
15091 children's parent correctly.
15092 (tab_control_set_property): new function. Record changes that will
15093 take place under redisplay's control.
15094 (progress_gauge_set_property): ditto.
15095 (image_instantiator_progress_guage): declare new functions.
15096 (image_instantiator_tab_control): ditto.
15098 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15100 (mswindows_update_widget): new function. Update all properties on
15101 a widget that have changed.
15102 (mswindows_button_update): new function. Update a button's set
15104 (mswindows_tab_control_update): new function. Update the items in
15106 (mswindows_tab_control_set_property): deleted.
15107 (mswindows_progress_gauge_update): new function. Update the
15108 progress gauge's progress.
15109 (mswindows_widget_set_property): deleted. This is all done
15110 asynchronously now.
15111 (mswindows_progress_gauge_set_property): ditto.
15112 (console_type_create_glyphs_mswindows): declare new methods.
15113 (image_instantiator_format_create_glyphs_mswindows): ditto.
15115 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15116 (msprinter_set_frame_properties): ditto.
15118 * console.h (struct console_methods): Add update_widget_method.
15120 2000-02-09 Andy Piper <andy@xemacs.org>
15122 * gui-msw.c (Fmswindows_shell_execute): Make
15123 mswindows-shell-execute industrial strength.
15125 2000-02-08 Martin Buchholz <martin@xemacs.org>
15127 * lrecord.h: Make macro argument `props' match member function `plist'.
15130 * fns.c (Fremprop):
15131 * fns.c (Fobject_plist):
15134 Object property list frobbing cleanup.
15135 - Allow any lisp object (compared with `eq'), not just symbols, as
15136 keys in object plists.
15137 - Move symbol plist frobbing into symbols.c, where it belongs.
15138 - Move string plist frobbing into alloc.c, where it belongs.
15139 - Everything's an lrecord now, so no need to test for symbolp, etc.
15140 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15142 * extents.c: Reorder code to remove declarations.
15144 * frame.h (store_in_alist): Remove useless declaration.
15146 2000-02-07 Martin Buchholz <martin@xemacs.org>
15148 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15149 * config.h.in: Add HAVE_XCONVERTCASE.
15151 2000-02-07 Andy Piper <andy@xemacs.org>
15153 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15154 it breaks many things.
15156 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15158 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15159 actually can start a common comment type.
15160 * src/syntax.h (SYNTAX_END_P): ditto for end.
15162 2000-02-07 Martin Buchholz <martin@xemacs.org>
15164 * XEmacs 21.2.28 is released.
15166 2000-02-06 Martin Buchholz <martin@xemacs.org>
15168 * event-Xt.c (x_keysym_to_character): New.
15169 (maybe_define_x_key_as_self_inserting_character): New.
15170 (x_has_keysym): New.
15171 Auto-define all keys on the keyboard as self-insert-key.
15173 2000-02-02 Martin Buchholz <martin@xemacs.org>
15175 * menubar.c (vars_of_menubar): A small code simplification.
15177 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15180 * ExternalClient.c:
15181 * EmacsShell-sub.c:
15184 Use consistent style for specifying X resources.
15186 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15187 This makes (dontusethis-set-symbol-value-handler) actually usable.
15189 * lrecord.h (lrecord_decription_type):
15190 * alloc.c (pdump_register_sub):
15193 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15194 Comply with XEmacs coding style.
15195 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15196 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15198 * keymap.c (Faccessible_keymaps):
15199 Make (accessible-keymaps map "\C-h") do the Right Thing.
15200 Make (accessible-keymaps map []) do the Right Thing.
15201 Make (accessible-keymaps map "") do the Right Thing.
15202 (check_keymap_definition_loop): New function.
15203 (keymap_store_internal): Keep luser from shooting self in foot,
15204 via (define-key ctl-x-4-map "p" global-map).
15205 Remove fullness slot from struct Lisp_Keymap, since hash tables
15207 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15209 2000-01-30 Martin Buchholz <martin@xemacs.org>
15211 * redisplay.c (init_redisplay): Fix small memory leak.
15213 * elhash.c (pdump_reorganize_hash_table):
15214 Rename from reorganize_hash_table. Change prototype.
15215 Reuse the original memory for hentries. Save 100k.
15216 * alloc.c (PDUMP_READ): new macro.
15217 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15218 * alloc.c: No need to #ifndef before #undef.
15220 * print.c: Allow debug_print() to print readably by modifying
15221 debug_print_readably. Use consistent variable names.
15223 * .dbxrc: Try to get things to work even if stopped in a function
15224 without source available by explicitly specifying source files.
15225 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15227 * unexnt.c (_start): Removed bogus code which caused loading heap
15228 from differrent executable file.
15229 Removed bogus assignment to _fmode, which caused inconsistencies.
15231 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15233 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15234 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15235 Do not preliminary `#define signal sigset'.
15237 * systime.h: Do not prototype environ on windows nt and cygwin,
15238 this conflicts with system header.
15240 * syssignal.h: Use correct define for WINDOWSNT
15242 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15243 with system header.
15245 * sysdep.c (near start of file): Fixed commentary and rearranged
15246 ifdefs in readable order.
15247 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15250 (end_of_data): Do not compile in if using PDUMP.
15252 * symsinit.h: Prototyped vars_of_nt().
15254 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15255 (find_child_console): Use it.
15256 (sys_kill): Use it.
15258 * ntheap.h: Do not extern os_subtype.
15260 * ntheap.c (cache_system_info): Do not cache unneeded:
15261 nt_major_version, nt_minor_version and os_subtype.
15262 (recreate_heap): Do not compile in when PDUMPing.
15264 * nt.c (geteuid and friends): Use the new varibale
15265 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15266 (init_user_info): Removed the above mentioned hackery.
15267 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15268 stat has been fixed in the C runtime.
15269 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15271 * file-coding.c (struct file_coding_dump): Do not define
15272 ucs_to_mule_table in the struct if not MULE.
15273 (struct struct lrecord_description fcd_description_1): Do not dump
15276 * emacs.c (main_1): Call vars_of_nt().
15277 (right before Fdump_emacs_data): Don't need lastfile if using both
15278 portabe dumper and system malloc.
15280 * alloc.c (Fmemory_limit): Conditionalized out.
15281 (pdump): Use OPEN_BINARY for the portable dump file.
15282 (pdump_load): Ditto.
15284 2000-02-02 Mike Alexander <mta@arbortext.com>
15286 * nt.c (convert_time): Set tm_isdst before calling mktime and
15287 avoid calling it at all if the compiler supports 64 bit integers.
15288 Also initialize utc_base_ft before using it.
15290 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15292 * frame.c (change_frame_size_1): Take f->internal_border_width
15293 into consideration when calculating the width of the frame.
15295 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15297 * window.c (frame_min_height):
15298 (frame_size_valid_p):
15299 (frame_pixsize_valid_p): Added.
15300 (check_frame_size): Generalized.
15302 * window.h: Prototyped the above.
15305 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15306 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15307 Deleted Vwin32_* and Vbinary_process_* unused variables.
15309 * device-msw.c (msprinter_init_device): Do not get printer font
15310 list; Added DEVMODE functions.
15312 * frame-msw.c: Added lots of printer code.
15314 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15317 * console-msw.h: Added more msprinter device private slots.
15319 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15321 * event-msw.c (key_needs_default_processing_p): Added.
15322 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15324 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15326 * glyphs.c (image_instance_layout): Mark image instance as clean
15328 (glyph_dirty_p): Removed redundant function.
15329 (invalidate_glyph_geometry_maybe): Added.
15330 (update_glyph_cachel_data): Call it.
15332 * glyphs.h: Prototyped it.
15334 * redisplay.c (add_glyph_rune): Call it.
15335 (redisplay_window): Reset glyphs cachels when frame faces have
15336 changed, thus forcing recomputation of built-in border glyphs.
15338 2000-01-30 Martin Buchholz <martin@xemacs.org>
15340 * Makefile.in.in: Make portable dumper and purify play well together.
15341 Add imperfect, but better than nothing, support for pdump.
15342 Remove xemacs.dmp when temacs is re-generated.
15343 Don't ignore errors when dumping xemacs.
15345 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15347 2000-01-28 Andy Piper <andy@xemacs.org>
15349 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15350 (setup_normal_frame): ditto.
15351 (setup_frame_without_minibuffer): ditto.
15352 (setup_minibuffer_frame): ditto.
15353 (delete_frame_internal): ditto.
15354 (Fmake_frame_invisible): ditto.
15355 (Ficonify_frame): ditto.
15357 * window.h: change Fset_window_buffer signature.
15359 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15360 (Fset_window_buffer): allow recording of buffer if the window is
15361 the selected window.
15362 (window_loop): Use new Fset_window signature.
15364 2000-01-23 Daniel Pittman <daniel@danann.net>
15366 * config.h.in: Added template for `HAVE_ATHENA_3D'
15368 2000-01-29 Andy Piper <andy@xemacs.org>
15370 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15372 * gutter.c (output_gutter): Don't output if the window isn't live.
15374 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15376 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15377 of 01/12/00: Moved SetFocus back here where it belongs.
15379 2000-01-23 Andy Piper <andy@xemacs.org>
15381 * s/cygwin32.h: declare printer things.
15383 2000-01-26 Andy Piper <andy@xemacs.org>
15385 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15388 2000-01-24 Andy Piper <andy@xemacs.org>
15390 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15391 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15393 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15395 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15397 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15399 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15400 (mswindows_output_display_block): Avoid local shadows.
15402 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15403 (mswindows_enqueue_mouse_button_event): ditto.
15404 (mswindows_handle_gui_wm_command): remove declaration.
15406 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15409 * console-msw.h: Avoid shadows.
15410 (mswindows_get_toolbar_button_text):
15411 (emacs_mswindows_create_stream_pair):
15412 (emacs_mswindows_delete_stream_pair):
15413 (mswindows_handle_toolbar_wm_command): declare.
15415 * device-msw.c (build_syscolor_string): Avoid shadows.
15417 2000-01-23 Andy Piper <andy@xemacs.org>
15419 * glyphs-widget.c (widget_instantiate): reverse the items for
15420 layouts so that children are in the expected order.
15422 2000-01-28 Martin Buchholz <martin@xemacs.org>
15424 * ralloc.c: safe_bcopy ==> memmove
15425 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15426 * s/msdos.h: Remove BCOPY macros.
15427 * insdel.c (gap_right): Remove BCOPY conditional code.
15428 * insdel.c (gap_left): Remove BCOPY conditional code.
15429 XEmacs demands a working ANSI C compiler - hence memmove.
15431 * regex.c (regex_compile): Remove accidental use of trigraphs.
15433 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15435 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15438 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15440 * event-msw.c (mswindows_drain_windows_queue): Added the
15442 (mswindows_need_event): Commented the call to
15443 mswindows_drain_windows_queue().
15444 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15447 * console-msw.h: Moved a few function prototypes here from
15450 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15451 parameter from unsigned short to unsigned long.
15452 (Fmswindows_shell_execute): Added return value.
15454 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15456 * sysdep.c (init_system_name):
15457 process-unix.c (unix_canonicalized_host_name):
15458 Don't call freeaddrinfo() if getaddrinfo() fails.
15460 * process-unix.c (unix_open_unix_network_stream):
15461 Moved the code to get a port # into address loop.
15463 2000-01-27 Martin Buchholz <martin@xemacs.org>
15465 * buffer.c (reinit_vars_of_buffer):
15466 The right place to initialize conversion_in_dynarr and
15467 conversion_out_dynarr.
15469 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15471 * process-unix.c (unix_canonicalize_host_name): Muleize.
15472 (unix_open_network_stream): Muleize.
15474 * buffer.h: Fix up prototypes for ralloc.c functions.
15476 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15477 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15478 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15479 instead of gethostbyname()
15480 * process-unix.c: In unix_canonicalize_host_name() and
15481 unix_open_network_stream(), add code to use getaddrinfo()
15482 instead of gethostbyname().
15484 2000-01-27 Daniel Pittman <daniel@danann.net>
15486 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15487 libs when built with flat Athena.
15489 2000-01-27 Martin Buchholz <martin@xemacs.org>
15491 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15492 Use coding standards for function prototypes.
15494 2000-01-25 Martin Buchholz <martin@xemacs.org>
15496 * dialog-msw.c (push_lisp_string_as_unicode):
15497 * doc.c (unparesseuxify_doc_string):
15498 * dired.c (Fuser_name_completion_1):
15499 * dired.c (Fuser_name_all_completions):
15500 * dired.c (free_user_cache):
15501 * dired.c (user_name_completion):
15502 * console-x.c (get_display_arg_connection):
15503 * minibuf.c (clear_echo_area_internal):
15504 * minibuf.c (echo_area_append):
15505 * eldap.c (Fldap_open):
15506 * eldap.c (Fldap_search_internal):
15507 * frame-x.c (x_set_frame_text_value):
15508 * frame-x.c (x_set_frame_properties):
15509 * frame-x.c (x_create_widgets):
15510 * redisplay-tty.c (term_get_fkeys_1):
15511 * objects-x.c (x_parse_nearest_color):
15512 * objects-x.c (x_valid_color_name_p):
15513 * objects-x.c (x_initialize_font_instance):
15514 * objects-x.c (x_list_fonts):
15515 * objects-x.c (x_find_charset_font):
15516 * tooltalk.c (Fadd_tooltalk_message_arg):
15517 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15518 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15519 * process-unix.c (unix_create_process):
15520 * ntproc.c (sys_spawnve):
15521 * sound.c (Fplay_sound_file):
15522 * sound.c (Fplay_sound):
15523 * buffer.c (init_initial_directory):
15524 * buffer.c (init_buffer):
15525 * editfns.c (init_editfns):
15526 * editfns.c (Ftemp_directory):
15527 * editfns.c (Fuser_full_name):
15528 * editfns.c (uncache_home_directory):
15529 * editfns.c (get_home_directory):
15530 * editfns.c (Fuser_home_directory):
15531 * editfns.c (Fformat_time_string):
15532 * editfns.c (Fcurrent_time_string):
15533 * gui-x.c (button_item_to_widget_value):
15534 * database.c (Fopen_database):
15535 * event-Xt.c (x_to_emacs_keysym):
15536 * event-Xt.c (x_event_to_emacs_event):
15537 * event-Xt.c (describe_event_window):
15538 * event-msw.c (mswindows_wnd_proc):
15539 * glyphs-eimage.c (jpeg_instantiate):
15540 * glyphs-eimage.c (gif_instantiate):
15541 * glyphs-eimage.c (png_instantiate):
15542 * glyphs-eimage.c (tiff_instantiate):
15543 * glyphs-x.c (xbm_instantiate_1):
15544 * glyphs-x.c (x_xbm_instantiate):
15545 * glyphs-x.c (x_xface_instantiate):
15546 * glyphs-x.c (autodetect_instantiate):
15547 * glyphs-x.c (cursor_font_instantiate):
15548 * glyphs-x.c (x_widget_instantiate):
15549 * glyphs-x.c (x_widget_set_property):
15550 * glyphs-x.c (x_widget_property):
15551 * glyphs-x.c (BUILD_GLYPH_INST):
15552 * print.c (write_string_to_stdio_stream):
15553 * print.c (output_string):
15554 * print.c (Falternate_debugging_output):
15555 * print.c (Fexternal_debugging_output):
15556 * glyphs-msw.c (extract_xpm_color_names):
15557 * glyphs-msw.c (mswindows_xpm_instantiate):
15558 * glyphs-msw.c (bmp_instantiate):
15559 * glyphs-msw.c (resource_name_to_resource):
15560 * glyphs-msw.c (mswindows_resource_instantiate):
15561 * glyphs-msw.c (xbm_instantiate_1):
15562 * glyphs-msw.c (mswindows_xbm_instantiate):
15563 * glyphs-msw.c (mswindows_xface_instantiate):
15564 * glyphs-msw.c (mswindows_widget_instantiate):
15565 * glyphs-msw.c (add_tree_item):
15566 * glyphs-msw.c (add_tab_item):
15567 * glyphs-msw.c (mswindows_combo_box_instantiate):
15568 * glyphs-msw.c (mswindows_widget_property):
15569 * glyphs-msw.c (mswindows_combo_box_property):
15570 * glyphs-msw.c (mswindows_widget_set_property):
15571 * console.c (stuff_buffered_input):
15572 * objects-msw.c (mswindows_initialize_color_instance):
15573 * objects-msw.c (mswindows_valid_color_name_p):
15574 * objects-msw.c (mswindows_list_fonts):
15575 * objects-msw.c (mswindows_font_instance_truename):
15576 * bytecode.c (optimize_compiled_function):
15577 * select-x.c (symbol_to_x_atom):
15578 * select-x.c (x_atom_to_symbol):
15579 * select-x.c (hack_motif_clipboard_selection):
15580 * select-x.c (selection_data_to_lisp_data):
15581 * select-x.c (lisp_data_to_selection_data):
15582 * select-x.c (Fx_get_cutbuffer_internal):
15583 * select-x.c (Fx_store_cutbuffer_internal):
15584 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15585 * buffer.h (TO_INTERNAL_FORMAT): New function.
15586 * emacs.c (make_arg_list_1):
15587 * emacs.c (make_argc_argv):
15588 * emacs.c (main_1):
15589 * emacs.c (Fdump_emacs):
15590 * emacs.c (split_string_by_emchar_1):
15595 * device-x.c (x_init_device):
15596 * device-x.c (Fx_valid_keysym_name_p):
15597 * device-x.c (Fx_get_font_path):
15598 * device-x.c (Fx_set_font_path):
15599 * glyphs.c (bitmap_to_lisp_data):
15600 * glyphs.c (pixmap_to_lisp_data):
15601 * alloc.c (make_ext_string): Use coding system arguments. Update
15603 * alloc.c (build_string):
15604 * callproc.c (child_setup):
15605 * callproc.c (init_callproc):
15606 * fileio.c (lisp_strerror):
15607 * fileio.c (directory_file_name):
15608 * fileio.c (Fexpand_file_name):
15609 * fileio.c (Ffile_truename):
15610 * fileio.c (Fsysnetunam):
15611 * fileio.c (Fdo_auto_save):
15612 * sysdep.c (sys_readdir):
15613 * tests.c: New file. Allow adding C tests.
15614 Replace GET_* macros with a more comprehensible and flexible
15615 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15617 Any coding system can be used to do format conversion.
15618 Eliminate enum external_data_format.
15619 Eliminate convert_to_external_format.
15620 Eliminate convert_to_internal_format.
15621 Make sure file-name, keyboard, terminal, and ctext are always
15622 defined as coding systems or aliases. Make
15623 file-name-coding-system, terminal-coding-system, and
15624 keyboard-coding-system magical variables that are equivalent to
15625 defining the corresponding coding system aliases.
15627 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15628 * file-coding.c (Fcoding_system_alias_p): New function.
15629 * file-coding.c (Fcoding_system_aliasee): New function.
15630 * file-coding.c (append_suffix_to_symbol): New function.
15631 * file-coding.c (dangling_coding_system_alias_p): New function.
15632 * file-coding.c (Ffind_coding_system):
15633 * file-coding.c (Fcopy_coding_system):
15634 * file-coding.c (encode_coding_no_conversion):
15635 * file-coding.c (syms_of_file_coding):
15636 * file-coding.c (vars_of_file_coding):
15637 Rewrite coding system alias code.
15638 Allow nested aliases, like symbolic links.
15639 Allow redefinition of coding system aliases.
15640 Prevent existence of dangling coding system aliases.
15642 * dired.c (Fuser_name_completion_1):
15643 * dired.c (Fuser_name_all_completions):
15644 A crash would happen if user did QUIT in the middle of building
15645 user_name_cache. Remove redundant code in mainline and unwind_protect.
15648 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15650 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15651 an unsigned char *. Update all callers.
15653 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15655 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15657 2000-01-25 Martin Buchholz <martin@xemacs.org>
15659 * elhash.c (hentry_description): Use more portable definition.
15660 (resize_hash_table): Initialize new hentries using
15661 xnew_array_and_zero, thereby simplifying the code.
15663 * mule-charset.c (make_charset): Make sure entire object is
15664 initialized, to avoid Purify warnings.
15666 * alloc.c (resize_string): Fix unlikely crash with big strings.
15668 2000-01-24 Martin Buchholz <martin@xemacs.org>
15670 * realpath.c (xrealpath):
15671 Don't call getwd().
15673 2000-01-25 Martin Buchholz <martin@xemacs.org>
15675 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15677 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15679 * unexelfsgi.c (unexec): Change the way we decide which segment
15680 should be extended.
15682 Assumption that .bss section should be outside the PT_LOADable
15683 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15684 it's present) is inside the 'data' segment. This would fail the
15685 test which was used to find a segment to grow and cover new
15686 heap. Instead of this assumption, I created another one - on IRIX
15687 the segment to grow should start below .bss and it's address
15688 should extent above the end of .bss. Once this segment is
15689 identified, it's grown to accommodate the new heap and new
15690 zero-length .bss section is added at the end of .data2.
15692 2000-01-25 Martin Buchholz <martin@xemacs.org>
15694 * eval.c (Feval): Wrong number of arguments should use original
15695 function, not the indirect_function version of it.
15697 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15699 * glyphs-x.c (x_button_instantiate): Don't add image if
15700 it is not a pixmap.
15701 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15704 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15706 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15708 (DEFVAR_INT_MAGIC): Ditto.
15709 (DEFVAR_BOOL_MAGIC): Ditto.
15710 * glyphs.h: Reindent backslash.
15712 2000-01-24 Martin Buchholz <martin@xemacs.org>
15714 * glyphs-widget.c (layout_query_geometry):
15715 (layout_layout): Use correct types for gheight, gwidth.
15717 2000-01-24 Martin Buchholz <martin@xemacs.org>
15719 * EmacsManager.c (QueryGeometry): Purified.
15721 2000-01-23 Martin Buchholz <martin@xemacs.org>
15723 * alloc.c (make_float): Make sure entire object is initialized, to
15724 avoid Purify warnings.
15725 (pdump_register_sub): Remove useless assignment.
15726 (pdump): Use xmalloc, not malloc.
15727 (pdump_load): Use xmalloc, not malloc.
15729 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15736 * sysdep.c: Removed redundant #include <windows.h>
15738 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15740 * frame.c (delete_frame_internal): Do not delete device when its
15741 implementation so declares.
15742 (delete_frame_internal): Set device selected frame to nil when
15743 last frame goes away.
15745 * device-msw.c (msprinter_device_system_metrics): Implemented.
15746 (mswindows_device_system_metrics): Added 'device-dpi property.
15748 * device.c: (Fdevice_printer_p): Added.
15749 Added 'offset-workspace device metric.
15751 * console.h (device_metrics): Declared DM_offset_workspace.
15753 2000-01-23 Martin Buchholz <martin@xemacs.org>
15755 * fileio.c (Ffile_truename): Remove pointless and confusing
15756 initialization of elen.
15758 * glyphs-widget.c: Compiler warning fixes.
15760 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15762 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15763 instead of a Lisp_Object as argument to make it consistent with
15764 the other LIVE_P macros.
15765 (CHECK_LIVE_PROCESS): New macro.
15767 * process.c: Declare Qprocess_live_p.
15768 (Fprocess_live_p): New function.
15769 (create_process): Use PROCESS_LIVE_P.
15770 (read_process_output): Ditto.
15771 (set_process_filter): Ditto.
15772 (Fdelete_process): Ditto.
15773 (kill_buffer_processes): Ditto
15774 (process_send_signal): Use CHECK_LIVE_PROCESS.
15775 (Fprocess_input_coding_system): Check whether process is still
15776 alive (fix PR#1061).
15777 (Fprocess_output_coding_system): Ditto.
15778 (Fprocess_coding_system): Ditto.
15779 (Fset_process_input_coding_system): Ditto.
15780 (Fset_process_output_coding_system): Ditto.
15782 2000-01-23 Andy Piper <andy@xemacs.org>
15784 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15787 * glyphs.c (mark_image_instance): take into account changed
15788 image_instance format.
15789 (image_instance_equal): ditto.
15790 (image_instance_hash): ditto.
15792 * glyphs-widget.c (widget_instantiate): Incorporate layout
15793 instantiation here. Delay layout of the layout until later.
15794 (layout_instantiate): deleted.
15795 (layout_query_geometry): new function. get the geometry of a
15797 (layout_layout): layout a layout dynamically.
15798 (image_instantiator_widget): New function - splitting up
15799 image_instantiator_format_create_glyphs_widget for netwinder
15801 (image_instantiator_buttons):
15802 (image_instantiator_edit_fields):
15803 (image_instantiator_combo_box):
15804 (image_instantiator_scrollbar):
15805 (image_instantiator_progress_guage):
15806 (image_instantiator_tree_view):
15807 (image_instantiator_tab_control):
15808 (image_instantiator_labels):
15809 (image_instantiator_layout): ditto.
15810 (image_instantiator_format_create_glyphs_widget): Call preceding
15813 2000-01-22 Martin Buchholz <martin@xemacs.org>
15815 * process.c (Fset_process_coding_system):
15816 * device-x.c (Fx_keysym_hash_table):
15819 * lstream.c (Lstream_write): Return documented value, not 0.
15821 * fileio.c (directory_file_name):
15822 (Fsubstitute_in_file_name):
15823 (Fsubstitute_insert_file_contents_internal):
15824 (Fwrite_region_internal):
15829 Remove vestigial APOLLO-conditional code.
15831 2000-01-21 Martin Buchholz <martin@xemacs.org>
15833 * getpagesize.h: Add guard macros.
15834 * libsst.h: Add guard macros.
15835 * libst.h: Add guard macros.
15836 * line-number.h: Add guard macros.
15837 * ndir.h: Add guard macros.
15838 * sysfloat.h: Add guard macros.
15839 * sysfile.h: Add guard macros.
15840 * sysproc.h: Add guard macros.
15841 * syswait.h: Add guard macros.
15842 * xintrinsic.h: Add guard macros.
15843 * xintrinsicp.h: Add guard macros.
15844 * xmmanager.h: Add guard macros.
15845 * xmmanagerp.h: Add guard macros.
15846 * xmprimitive.h: Add guard macros.
15847 * xmu.h: Add guard macros.
15848 * gpmevent.h: Add copyright statement. Add guard macros.
15849 * miscplay.h: Add guard macros.
15850 * *.h: Use consistent C-standards-approved guard macro names.
15852 * opaque.c (make_opaque): Switch parameter order.
15853 * opaque.h (make_opaque): Switch parameter order.
15854 Update all callers.
15855 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15857 * config.h.in (type_checking_assert): Added.
15858 (bufpos_checking_assert): Added.
15860 2000-01-21 Martin Buchholz <martin@xemacs.org>
15862 * alloc.c: Harmless pdump changes.
15864 - spell alignment correctly.
15865 * sysdep.c: Use countof()
15867 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15869 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15870 initially_selected_for_input() console method, default to 0.
15871 (semi_canonicalize_console_connection): Try to delegate to
15872 canonicalize_console_connection if no such console method.
15873 (canonicalize_console_connection): Vice versa.
15874 (print_console): Do not print nil connection.
15876 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15877 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15878 (XDEVIMPF_FRAMELESS_OK): Added.
15879 (CONSOLE_INHERITS_METHOD): Added.
15881 * console-msw.c (mswindows_canonicalize_console_connection):
15883 (mswindows_canonicalize_device_connection): Added.
15885 * console-msw.h (struct msprinter_device): Added this struct and
15887 (mswindows_device): Made fontlist a lisp object.
15889 * device.c (semi_canonicalize_device_connection): Try to delegate
15890 to canonicalize_device_connection if no such console method.
15891 (canonicalize_device_connection): Vice versa.
15892 (print_device): Do not print nil connection.
15894 * device-msw.c (mswindows_init_device): Call InitCommonControls
15896 (mswindows_delete_device): Removed fontlist deallocation.
15897 (mswindows_mark_device): Added.
15899 * events.c (event_equal): Added abort() at unreached code.
15900 (event_hash): Ditto.
15902 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15903 fallback tags of Windows devices.
15905 * general.c (syms_of_general): Initialized Qmsprinter.
15907 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15908 of fallback tags of Windows devices.
15910 * lisp.h: Declared Qmsprinter.
15912 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15914 (mswindows_list_fonts): Ditto.
15915 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15916 that it can be used by both mswindows and msprinter devices.
15917 (initialize_font_instance): Added.
15918 (mswindows_initialize_font_instance): Use it.
15919 (msprinter_initialize_font_instance): Added.
15921 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15922 and implementation flags check.
15923 (redisplay_without_hooks): Changed the call to the above.
15924 (Fredraw_device): Ditto.
15925 (Fredisplay_device): Ditto.
15927 * redisplay-msw.c (get_frame_dc): Implemented.
15928 (get_frame_compdc): Implemented.
15929 (many functions): Use the two functions above to get device
15930 contexts, ether for a window or a printer.
15932 2000-01-21 Olivier Galibert <galibert@pobox.com>
15934 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15935 initialization here.
15936 (init_symbols_once_early): Call it.
15937 * emacs.c (main_1): Call it.
15938 * symsinit.h: Declare it.
15940 2000-01-19 Olivier Galibert <galibert@pobox.com>
15942 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15944 (pdump_backtrace): Ditto.
15945 (pdump_register_object): Ditto. Cleanup use of the pointers.
15946 (pdump_get_entry): Abort if trying to register a null pointer.
15947 (pdump_dump_data): Cleanup types when relocating.
15948 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15949 (pdump_dump_rtables): Remove bad casts.
15950 (pdump_load): Cleanup relocation w.r.t union type. Use a
15951 Lisp_Object instead of a EMACS_INT for the hashtable
15954 2000-01-20 Martin Buchholz <martin@xemacs.org>
15956 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15958 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15960 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15962 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15964 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15966 * faces.h (FACE_STRIKETHRU_P): Added.
15968 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15971 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15972 (mswindows_set_dc_font): New function, aware of font variants,
15973 separated from mswindows_update_dc.
15975 * objects-msw.h (struct mswindows_font_instance_data): Added
15978 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15979 cached fonts and the data structure.
15980 (mswindows_initialize_font_instance): Added creation of font data
15982 (mswindows_print_font_instance): Print at least something.
15983 (mswindows_create_font_variant): Implemented.
15984 (mswindows_get_hfont): Implemented.
15986 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15988 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15989 prototyping problem with msvc.
15991 * emacs.c (main_1): added syms_of_gui_mswindows() call
15993 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15994 syms_of_gui_mswindows() function
15996 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15998 2000-01-18 Martin Buchholz <martin@xemacs.org>
16000 * XEmacs 21.2.27 is released.
16002 2000-01-18 Martin Buchholz <martin@xemacs.org>
16004 * glyphs-eimage.c (struct tiff_error_struct):
16006 (tiff_warning_func):
16007 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16012 * unexec.c: Remove vestigial Lucid C code.
16016 * libsst.c: Ansify.
16017 Remove declarations of errno and strerror().
16019 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16021 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16023 2000-01-16 Martin Buchholz <martin@xemacs.org>
16025 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16028 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16033 Change enum eol_type to eol_type_t.
16035 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16037 * gui.c (get_gui_callback): Check cons before accessing car.
16039 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16041 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16042 (XSETSPECIFIER_TYPE): Ditto.
16044 2000-01-17 Didier Verna <didier@xemacs.org>
16046 * redisplay.c (generate_fstring_runes): compute string size in
16047 characters, not bytes.
16049 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16051 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16053 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16055 * print.c (print_error_message): Call print_prepare().
16057 2000-01-14 Martin Buchholz <martin@xemacs.org>
16059 * .dbxrc: Renamed from dbxrc.
16061 * events.c (event_to_character):
16062 Use `assert (foo)' instead of `if (!foo) abort()'
16064 * .gdbinit (xtype): Add documentation.
16065 * .gdbinit (check-temacs): New function.
16066 * .gdbinit (check-xemacs): New function.
16067 * dbxrc (check-xemacs): New function.
16068 * dbxrc (check-xemacs): New function.
16070 2000-01-14 Andy Piper <andy@xemacs.org>
16072 * glyphs-widget.c (widget_query_geometry): Make sure that we
16073 calculate default dimensions correctly.
16075 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16077 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16079 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16080 pdump_wire'd variable.
16082 * emacs.c: (main_1): Conditionalized calls to
16083 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16085 2000-01-13 Martin Buchholz <martin@xemacs.org>
16087 * window.c (Fset_window_configuration):
16088 * sysdep.c (_start):
16089 * input-method-motif.c (res):
16090 * event-Xt.c (Xt_process_to_emacs_event):
16091 Simple compiler warning fixes.
16093 * bytecode.c (funcall_compiled_function): Use the original
16094 function symbol on the backtrace list in preference to the
16095 compiled_function object in error messages.
16097 2000-01-13 Andy Piper <andy@xemacs.org>
16099 * glyphs-x.c (update_widget_face): Make sure we update the widget
16100 background as well as foreground.
16102 2000-01-13 Andy Piper <andy@xemacs.org>
16104 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16105 fields to subwindow.
16106 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16107 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16108 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16109 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16111 * glyphs-widget.c (check_valid_tab_orientation): new function.
16112 (initialize_widget_image_instance): zero orientation and
16114 (widget_instantiate): pick up orientation.
16115 (tab_control_query_geometry): return appropriate values for
16118 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16119 appropriate creation flags for left, right and bottom tabs.
16121 * s/cygwin32.h: add tab definitions.
16123 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16125 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16126 frame upon hiding a subwindow.
16127 (mswindows_button_instantiate): Changed the push button style to
16129 (mswindows_button_instantiate): Removed button BS_NOTIFY
16131 (mswindows_button_instantiate): Removed redundant check for
16132 a disabled gui item.
16133 (mswindows_button_instantiate): Made use of WS_TABSTOP
16134 consistent: "operable" controls (edit, button, tree, scroll) have
16135 this style, "display-only" ones (static, progress gauge) do
16136 not. This style is currently ignored by XEmacs though. Also,
16137 removed the WS_EX_CONTROLPARENT style - it is not for children,
16138 it is for their parents!
16139 (mswindows_edit_field_instantiate): Ditto.
16140 (mswindows_progress_gauge_instantiate): Ditto.
16141 (mswindows_tree_view_instantiate): Ditto.
16142 (mswindows_tab_control_instantiate): Ditto.
16143 (mswindows_scrollbar_instantiate): Ditto.
16144 (mswindows_combo_box_instantiate): Ditto.
16145 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16146 style to the "clip" window.
16147 (mswindows_button_instantiate): Removed compilation warning by
16148 equally typing terms of the ?: operator.
16150 2000-01-12 Didier Verna <didier@xemacs.org>
16152 * redisplay.c (generate_fstring_runes): new parameter holding the
16153 last modeline-format extent.
16154 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16155 extent, fill the glyph block with it.
16156 (generate_fstring_runes): handle these parameters.
16157 (generate_formatted_string_db): ditto.
16159 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16160 glyphs'extents in the modeline.
16162 1999-01-11 Mike Woolley <mike@bulsara.com>
16164 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16165 256Mb, as a workaround for the non-starting problem many people
16168 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16170 * console-tty.c (Fset_console_tty_output_coding_system):
16171 Force redrawing tty frame.
16173 2000-01-10 Didier Verna <didier@xemacs.org>
16175 * redisplay.c (generate_fstring_runes): fix size computation bug.
16177 2000-01-09 William M. Perry <wmperry@aventail.com>
16179 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16181 2000-01-09 Andy Piper <andy@xemacs.org>
16183 * glyphs-msw.c: index -> i to avoid shadows.
16184 (xbm_create_bitmap_from_data): make static.
16185 (check_valid_string_or_int): deleted.
16186 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16188 * glyphs-x.c (x_update_subwindow): remove unused args.
16190 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16191 back pointer - this is done in allocate_image_instance.
16192 (query_string_font): return Qnil to make the compiler happy.
16193 (unmap_subwindow): set to ~0 to make the compiler happy.
16194 (glyph_query_geometry): comment out until used.
16195 (glyph_layout): ditto.
16197 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16199 * insdel.c (signal_after_change): Remove extraneous unbind_to().