1 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
6 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
9 (Fsave_charset_mapping_table): Don't use
10 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
12 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
13 (HAVE_LIBCHISE): New macro.
15 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
17 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
18 (Fsave_char_attribute_table): Don't use
19 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
21 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
25 (save_uint16_byte_table): Likewise.
26 (save_byte_table): Likewise.
27 (char_table_get_db): Use `chise_ds_load_char_feature_value'
28 instead of `chise_char_load_feature_value'.
29 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
31 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
33 * chartab.h (struct Lisp_Char_Table): Delete member
34 `feature_table' if CHISE is defined.
36 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
37 (Fcopy_char_table): Likewise.
38 (char_table_open_db_maybe): Likewise.
39 (char_table_close_db_maybe): Likewise.
40 (char_table_get_db): Likewise.
41 (Fmount_char_attribute_table): Likewise.
42 (Fload_char_attribute_table): Likewise.
44 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * mule-charset.c (load_char_decoding_entry_maybe): Use
47 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
50 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
53 instead of `chise_open_data_source'.
54 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
57 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
59 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
60 instead of `chise_ds_open_feature_table'.
61 (char_table_close_db_maybe): Don't use `chise_ft_close'.
63 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
65 * mule-charset.c (Fsave_charset_mapping_table): Use
66 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
67 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
68 `chise_ccs_sync' instead of `chise_ccst_close'.
69 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
71 * chartab.c (open_chise_data_source_maybe): Modify for
72 `chise_open_data_source'.
73 (char_table_open_db_maybe): Modify for
74 `chise_ds_open_feature_table'.
76 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
78 * mule-charset.c (load_char_decoding_entry_maybe): Use
79 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
82 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
84 * mule-charset.c (Fsave_charset_mapping_table): Use
85 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
86 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
87 `chise_dt_put_char' and `chise_dt_close'.
88 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
89 `chise_ccs_decode' and `chise_ccst_close' instead of
90 `chise_ds_open_decoding_table', `chise_dt_get_char' and
93 * chartab.c (char_table_get_db): Use
94 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
95 (load_char_attribute_table_map_func): Modify for
96 `chise_char_feature_value_iterate'.
97 (Fload_char_attribute_table): Use
98 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
100 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
102 * chartab.c (put_char_table): Modify for inherited coded-charsets
105 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
107 * chartab.c (Fput_char_table_map_function): Fixed.
108 (word_boundary_p): Don't check charset in XEmacs CHISE.
110 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
112 * mule-charset.c (Fsave_charset_mapping_table): Use
113 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
114 instead of `chise_open_decoding_table'; refer
115 `default_chise_data_source'; use `chise_dt_close' instead of
116 `chise_close_decoding_table'.
117 (load_char_decoding_entry_maybe): Likewise.
119 * chartab.c (default_chise_data_source): New variable when `CHISE'
121 (Fcopy_char_table): `ct->ds' is deleted.
122 (open_chise_data_source_maybe): New function.
123 (Fclose_char_data_source): New function.
124 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
125 use `chise_ds_open_feature_table' instead of
126 `chise_open_feature_table'.
127 (char_table_close_db_maybe): Use `chise_ft_close' instead of
128 `chise_close_feature_table'; `cit->ds' is deleted.
129 (syms_of_chartab): Add new builtin function
130 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
132 * chartab.h (default_chise_data_source): New extern variable.
133 (open_chise_data_source_maybe): New prototype.
134 (struct Lisp_Char_Table): Delete `ds'.
136 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
138 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
141 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
143 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
144 not defined; add code for non-libchise setting.
145 (char_table_close_db_maybe): Likewise.
146 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
148 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
149 even if `CHISE' is not defined.
150 (Freset_char_attribute_table): Likewise.
151 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
152 `char_table_close_db_maybe' even if `CHISE' is not defined; use
154 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
155 `char_table_close_db_maybe' even if `CHISE' is not defined.
157 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
159 * chartab.c (char_table_open_db_maybe): New function.
160 (char_table_close_db_maybe): New function.
161 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
162 (Freset_char_attribute_table): Likewise.
163 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
164 `char_table_close_db_maybe'.
165 (Fload_char_attribute_table): Likewise.
167 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
169 * chartab.c: Don't include <chise.h> because it is included in
171 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
173 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
175 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
177 (Fclose_char_attribute_table): Close `ct->feature_table' and
178 `ct->ds' when `CHISE' is defined.
179 (Freset_char_attribute_table): Likewise.
180 (load_char_attribute_maybe): Use `cit->ds' and
181 `cit->feature_table' when `CHISE' is defined.
182 (Fload_char_attribute_table): Likewise.
184 * chartab.h: Include <chise.h> when `CHISE' is defined.
185 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
186 when `CHISE' is defined.
188 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
190 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
192 (char_table_description): Likewise.
193 (Fmake_char_table): Likewise.
194 (Fcopy_char_table): Likewise.
195 (Fmount_char_attribute_table): Likewise.
196 (Fclose_char_attribute_table): Likewise.
197 (Freset_char_attribute_table): Likewise.
198 (load_char_attribute_maybe): Likewise.
199 (Fload_char_attribute_table): Likewise.
201 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
204 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
206 * chartab.c (load_char_attribute_table_map_func): New function
207 when CHISE is defined.
208 (Qload_char_attribute_table_map_function): Don't define when CHISE
210 (Fload_char_attribute_table_map_function): Likewise.
211 (Fload_char_attribute_table): Use libchise when `CHISE' is
213 (syms_of_chartab): Don't define
214 `load-char-attribute-table-map-function' when CHISE is defined.
216 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
218 * chartab.c: Include <chise.h> when `CHISE' is defined.
219 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
221 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * mule-charset.c (charset_code_point): Fix problem when searching
224 in mother CCS fails with `defined_only' mode.
226 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
228 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
229 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
230 (put_char_composition): Likewise.
231 (Fput_char_attribute): Likewise.
232 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
234 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
236 * chartab.c (Q_ucs): Deleted.
237 (Fput_char_attribute): Don't refer `->ucs'.
238 (Fdefine_char): Likewise.
239 (Ffind_char): Likewise.
240 (syms_of_chartab): Delete `->ucs'.
242 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
244 * mule-charset.c (Qmap_cns11643_2): Renamed from
245 `Qchinese_cns11643_2'.
246 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
247 `chinese-cns11643-2'.
248 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
251 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
253 * mule-charset.c (Qmap_cns11643_1): Renamed from
254 `Qchinese_cns11643_1'.
255 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
256 `chinese-cns11643-1'.
257 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
260 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
262 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
263 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
265 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
268 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
270 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
271 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
273 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
276 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
278 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
279 (syms_of_mule_charset): Add new symbol `=big5' instead of
281 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
283 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
286 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
288 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
291 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
293 * mule-charset.c (Qmap_jis_x0212): Renamed from
294 `Qjapanese_jisx0212'.
295 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
297 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
300 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
302 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
303 `Qjapanese_jisx0208'.
304 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
305 of `japanese-jisx0208'.
306 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
309 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
312 `Qjapanese_jisx0208_1978'.
313 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
314 of `japanese-jisx0208-1978'.
315 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
318 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
320 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
321 only for XEmacs CHISE.
323 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
325 * char-ucs.h: Compact non-ISO-IR charset-ids.
326 (LEADING_BYTE_UCS): Changed to -177.
327 (LEADING_BYTE_CONTROL_1): Changed to -77.
328 (LEADING_BYTE_UCS_BMP): Changed to -176.
329 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
331 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
333 * mule-charset.c (Qiso_ir): New variable.
334 (Fmake_charset): Recognise new property `iso-ir'.
335 (syms_of_mule_charset): Add new symbol `iso-ir'.
337 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
339 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
340 n to -n; charset-id of non ISO-IR sets are changed to positive
343 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
345 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
346 for &MCS-XXXXXXXX; values.
348 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
350 * mule.c (Vxemacs_chise_version): Renamed from
352 (vars_of_mule): Add new variable `xemacs-chise-version'; define
353 `utf-2000-version' as an alias for `xemacs-chise-version'.
355 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
357 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
358 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
361 * config.h.in (CHISE): New macro.
363 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
365 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
367 (Qmap_ucs): New variable.
368 (syms_of_mule_charset): Add new symbol `=ucs'.
369 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
371 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
372 (simplify_char_spec): Likewise.
374 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
376 * char-ucs.h (Qmap_ucs): New extern variable.
378 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
381 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
382 don't define it when UTF2000 is not defined.
383 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
384 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
385 when UTF2000 is not defined.
386 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
387 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
389 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
391 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
393 * mule-charset.c (Vcharset_ucs_gb): Deleted.
395 (syms_of_mule_charset): Delete `ucs-gb'.
396 (complex_vars_of_mule_charset): Likewise.
398 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
400 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
402 * mule-charset.c (Vcharset_ucs_cns): Deleted.
404 (syms_of_mule_charset): Delete `ucs-cns'.
405 (complex_vars_of_mule_charset): Likewise.
407 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
409 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
411 * mule-charset.c (Vcharset_ucs_jis): Deleted.
413 (syms_of_mule_charset): Delete `ucs-jis'.
414 (complex_vars_of_mule_charset): Likewise.
416 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
418 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
420 * mule-charset.c (Vcharset_ucs_ks): Deleted.
422 (syms_of_mule_charset): Delete `ucs-ks'.
423 (complex_vars_of_mule_charset): Likewise.
425 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
427 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
428 (Qideograph_daikanwa_2): Deleted.
429 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
430 (complex_vars_of_mule_charset): Likewise.
432 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
433 (LEADING_BYTE_DAIKANWA_1): Deleted.
434 (LEADING_BYTE_DAIKANWA_2): Deleted.
435 (MIN_CHAR_DAIKANWA): Deleted.
436 (MAX_CHAR_DAIKANWA): Deleted.
438 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
440 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
441 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
442 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
444 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
445 (Vcharset_ideograph_daikanwa): Deleted.
446 (Qideograph_hanziku_{1..12}): Deleted.
447 (Qideograph_daikanwa): Deleted.
448 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
449 Vcharset_ideograph_daikanwa.
450 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
451 `ideograph-hanziku-{1..12}'.
452 (complex_vars_of_mule_charset): Likewise.
454 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
456 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
458 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
459 (Qideograph_gt_pj_{1..11}): Deleted.
460 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
461 (complex_vars_of_mule_charset): Likewise.
463 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * mule-charset.c (Vcharset_ucs_big5): Deleted.
466 (Vcharset_ideograph_gt): Deleted.
467 (Qucs_big5): Deleted.
468 (Qideograph_gt): Deleted.
469 (syms_of_mule_charset): Delete symbol `ucs-big5' and
471 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
474 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
475 (LEADING_BYTE_GT): Deleted.
476 (MIN_CHAR_GT): Deleted.
477 (MAX_CHAR_GT): Deleted.
479 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
481 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
483 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
485 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
486 (save_uint16_byte_table): Likewise.
487 (save_byte_table): Likewise; convert values by it.
488 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
489 for `ideographic-structure'.
490 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
491 as the filter for `ideographic-structure'.
493 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
495 * chartab.c (put_char_composition): New function.
496 (Fput_char_attribute): Use `put_char_composition'; use
497 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
499 * fns.c (simplify_char_spec): New function.
500 (char_ref_simplify_spec): New function.
501 (Fchar_refs_simplify_char_specs): New function.
502 (syms_of_fns): Add new builtin function
503 `char-refs-simplify-char-specs'.
505 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
507 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
508 (Qideograph_cbeta): Deleted.
509 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
510 (complex_vars_of_mule_charset): Likewise.
512 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
513 (MIN_CHAR_CBETA): Comment out.
514 (MAX_CHAR_CBETA): Likewise.
516 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
518 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
519 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
520 CHISE client feature.
522 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
524 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
526 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
528 * mule-charset.c (charset_lookup_description_1): Use
529 `NUM_LEADING_BYTES' in UTF-2000.
531 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
533 * char-ucs.h (GC_CHARSETP): Deleted.
535 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
537 * char-ucs.h (MAX_CHAR_GT): Updated.
539 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
541 * text-coding.c: Sync with XEmacs 21.4.10.
543 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * mule-charset.c (Vcharset_china3_jef): Deleted.
546 (Qchina3_jef): Deleted.
547 (syms_of_mule_charset): Don't define `china3-jef'.
548 (complex_vars_of_mule_charset): Likewise.
550 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
551 (MIN_CHAR_CHINA3_JEF): Comment out.
552 (MAX_CHAR_CHINA3_JEF): Comment out.
554 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * mule-charset.c (Vcharset_ucs_gb): New variable.
557 (Qucs_gb): New variable.
558 (syms_of_mule_charset): Add new symbol `ucs-gb'.
559 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
561 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
563 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
565 * mule-charset.c (charset_code_point): if a coded-charset has a
566 final-byte, don't inherit the builtin range of the mother CCS.
568 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * mule-charset.c (charset_code_point): Fix problem about
573 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
575 * mule-charset.c (decode_builtin_char): Reorganized.
577 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
579 * text-coding.c (char_encode_as_entity_reference): Modify for
580 `charset_code_point'.
581 (char_encode_shift_jis): Likewise.
582 (char_encode_big5): Likewise.
583 (char_encode_utf8): Likewise.
584 (char_encode_iso2022): Likewise.
586 * mule-charset.c (charset_code_point): Add new argument
588 (Fencode_char): Add new optional argument `defined_only'.
590 * chartab.c (put_char_table): Modify for `charset_code_point'.
592 * char-ucs.h (charset_code_point): Add new argument
594 (encode_char_1): Modify for `charset_code_point'.
596 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
598 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
599 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
601 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
604 (Qjis_x0208): Likewise.
605 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
606 XCHARSET_FINAL(charset).
607 (charset_code_point): Modify condition for final-byte based
609 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
610 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
611 in UTF-2000; specify `=jis-x0208' as the mother of
612 `japanese-jisx0208-1978', `japanese-jisx0208' and
613 `japanese-jisx0208-1990' in UTF-2000.
615 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
617 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
619 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
621 * text-coding.c (decode_coding_utf16): Support UTF-16.
622 (char_encode_utf16): Fixed.
624 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
626 * text-coding.c (Qutf16): New variable in MULE.
627 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
628 (Fcoding_system_type): Add `utf-16' in MULE.
629 (struct detection_state): Add a structure for utf16 in MULE.
630 (detect_coding_type): Setup st->utf16.mask in MULE.
631 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
633 (reset_encoding_stream): Use `char_encode_utf16' and
634 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
635 (detect_coding_utf16): New function [incomplete].
636 (decode_coding_utf16): New function [support only UCS-2].
637 (char_encode_utf16): New function.
638 (char_finish_utf16): New function.
639 (syms_of_file_coding): Add new symbol `utf-16'; setup
640 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
642 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
644 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
645 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
647 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
649 * chartab.c (put_char_table): When a charset is specified as a
650 range in UTF-2000, don't support builtin characters.
652 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
654 * mule-charset.c (decode_defined_char): Don't refer external
655 database if Qunbound or Qnil are found.
656 (Fsave_charset_mapping_table): Don't define it if
657 HAVE_CHISE_CLIENT is not defined.
658 (Freset_charset_mapping_table): New function.
659 (load_char_decoding_entry_maybe): Store Qnil if a character is not
660 found in external database.
661 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
662 if HAVE_CHISE_CLIENT is not defined; add new builtin function
663 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
665 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
667 * text-coding.c (decode_coding_utf8): Check CCS is specified or
670 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
672 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
673 Q_lowercase, Q_uppercase in UTF-2000.
675 * chartab.c (get_char_table): Add special code for the standard
676 case table to use character attribute `->downcase' and
677 `->uppercase' for case operations in UTF-2000.
679 * casetab.c (Qflippedcase): New variable in UTF-2000.
680 (Q_lowercase): Likewise.
681 (Q_uppercase): Likewise.
682 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
683 and `->uppercase' in UTF-2000.
684 (complex_vars_of_casetab): Assign attribute name `downcase' to
685 downcase and CANON table of Vstandard_case_table in UTF-2000;
686 assign attribute name `flippedcase' to upcase and EQV table of
687 Vstandard_case_table in UTF-2000.
689 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * text-coding.c (decode_add_er_char): Support isolated-chars.
692 (char_encode_as_entity_reference): Likewise.
694 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
696 * emacs.c (Vutf_2000_lisp_directory): New variable.
697 (Vconfigure_utf_2000_lisp_directory): Likewise.
698 (complex_vars_of_emacs): Add new variable
699 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
701 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
703 * char-ucs.h (DECODE_CHAR): Delete special code for
704 `chinese-big5-1' and `chinese-big5-2'.
706 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
708 (decode_defined_char): Support CONVERSION_BIG5_1 and
710 (decode_builtin_char): Likewise.
711 (charset_code_point): Likewise.
712 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
713 'conversion in UTF-2000.
714 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
715 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
716 `chinese-big5-2' as children of `chinese-big5'.
718 * char-ucs.h (CONVERSION_BIG5_1): New macro.
719 (CONVERSION_BIG5_2): New macro.
721 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
723 * text-coding.c (char_encode_big5): Support entity-reference.
725 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
727 * text-coding.c (char_encode_as_entity_reference): New function.
728 (char_encode_utf8): Use `char_encode_as_entity_reference'.
730 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
732 * text-coding.c (decode_coding_big5): Support entity-reference
735 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
737 * text-coding.c (allocate_coding_system): Initialize initial
738 charsets for CODESYS_UTF8.
739 (Fmake_coding_system): Accept charset-g0, charset-g1 and
740 charset-g2 for CODESYS_UTF8.
741 (decode_coding_utf8): Use charset-g0.
742 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
743 to force variants to map to UCS.
745 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
747 * text-coding.c (Qutf_8_mcs): New variable.
748 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
749 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
750 instead of `utf-8' in UTF-2000.
752 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
754 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
755 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
756 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
757 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
758 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
759 CONVERSION_96x96x96x96 are introduced.
760 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
761 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
762 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
764 * char-ucs.h (CONVERSION_94): New macro.
765 (CONVERSION_96): New macro.
766 (CONVERSION_94x94): New macro.
767 (CONVERSION_96x96): New macro.
768 (CONVERSION_94x94x94): New macro.
769 (CONVERSION_96x96x96): New macro.
770 (CONVERSION_94x94x94x60): New macro.
771 (CONVERSION_94x94x94x94): New macro.
772 (CONVERSION_96x96x96x96): New macro.
774 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
776 * chartab.c (Vcharacter_variant_table): Deleted.
777 (Fchar_variants): Use character-attribute `->ucs-variants' instead
778 of `Vcharacter_variant_table'.
779 (Fput_char_attribute): Likewise.
780 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
781 (complex_vars_of_chartab): Likewise.
783 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
785 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
787 * fns.c (Qideographic_structure): New variable.
788 (Qkeyword_char): New variable.
789 (ids_format_unit): New function.
790 (Fideographic_structure_to_ids): New function.
791 (syms_of_fns): Add new symbols `ideographic-structure' and
792 `:char'; add new builtin function `ideographic-structure-to-ids'.
794 * data.c (Fchar_ref_p): New function.
795 (syms_of_data): Add new builtin function `char-ref-p'.
797 * chartab.h: Add an EXFUN for `Ffind_char'.
799 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * text-coding.c (Vcharacter_composition_table): Deleted.
802 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
805 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
807 (Vcharacter_composition_table): Deleted.
808 (Fget_composite_char): Use the implementation for external-DB
809 support in every UTF-2000.
810 (Fput_char_attribute): Likewise.
811 (char_attribute_system_db_file): Don't define if external-DB
812 feature is not available.
813 (Fsave_char_attribute_table): Likewise.
814 (Fmount_char_attribute_table): Likewise.
815 (Fclose_char_attribute_table): Likewise.
816 (Freset_char_attribute_table): Likewise.
817 (Fload_char_attribute_table): Likewise.
818 (syms_of_chartab): Don't define `save-char-attribute-table',
819 `mount-char-attribute-table', `reset-char-attribute-table',
820 `close-char-attribute-table' and `load-char-attribute-table' if
821 external-DB feature is not available.
822 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
824 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
826 * text-coding.c (Qcomposition): Add extern if external-DB feature
828 (Vcharacter_composition_table): Don't add extern if external-DB
829 feature is supported.
830 (COMPOSE_ADD_CHAR): Modify for new data-representation of
831 character composition rule if external-DB feature is supported.
833 * chartab.c (Vcharacter_composition_table): Don't define if
834 external-DB feature is supported.
835 (Qcomposition): New variable.
836 (Fget_composite_char): New implementation for external-DB support.
837 (Fput_char_attribute): Use `composition' property of each
838 character instead of `Vcharacter_composition_table' to store
839 character-composition rules if external-DB feature is supported.
840 (syms_of_chartab): Add new symbol `composition'.
841 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
842 external-DB feature is supported.
844 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
846 * chartab.c (Vchar_db_stingy_mode): New variable.
847 (load_char_attribute_maybe): Close database if
848 Vchar_db_stingy_mode is not NIL.
849 (Fload_char_attribute_table_map_function): Use
850 `get_char_id_table_0' instead of `get_char_id_table'.
851 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
853 * chartab.h (get_char_id_table_0): New inline function.
854 (get_char_id_table): Use `get_char_id_table_0'.
856 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
858 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
859 and `COMPOSE_ADD_CHAR'.
860 (decode_coding_iso2022): Use `decode_flush_er_chars'.
862 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
864 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
865 instead of `DECODE_ADD_UCS_CHAR'.
866 (COMPOSE_ADD_CHAR): Likewise.
868 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
870 * text-coding.c (decode_flush_er_chars): New inline function.
871 (decode_add_er_char): New function.
872 (decode_coding_utf8): Use `decode_flush_er_chars' and
873 `decode_add_er_char'.
875 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
877 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
878 done before `decode_output_utf8_partial_char'.
880 * mule-charset.c (complex_vars_of_mule_charset): Specify
881 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
882 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
884 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
886 * mule-charset.c (decode_defined_char): New function; search
888 (decode_builtin_char): Don't search mother if
889 XCHARSET_MAX_CODE(charset) == 0.
890 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
891 == 0 even if code >= XCHARSET_MAX_CODE(charset).
892 (Fdecode_char): Use `decode_defined_char' instead of
893 `DECODE_DEFINED_CHAR'.
894 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
895 mother of `Vcharset_ucs_jis'.
897 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
898 instead of `DECODE_DEFINED_CHAR'.
900 * char-ucs.h (decode_defined_char): Renamed from
901 `DECODE_DEFINED_CHAR'; changed to normal function.
902 (DECODE_CHAR): Use `decode_defined_char' instead of
903 `DECODE_DEFINED_CHAR'.
905 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
907 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
909 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
911 * text-coding.c (Vcoded_charset_entity_reference_alist): New
913 (Quse_entity_reference): New variable.
917 (coding_system_description): Add description for
919 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
920 (allocate_coding_system): Initialize `ccs_priority_list' in
922 (Fmake_coding_system): Add description about
923 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
925 (Fcoding_system_property): Accept `disable-composition' and
926 `use-entity-reference' in UTF-2000.
927 (struct decoding_stream): Add new member `er_counter' and `er_buf'
929 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
930 (decode_coding_utf8): Decode entity-reference if
931 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
932 (char_encode_utf8): Encode non-Unicode characters as
933 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
935 (syms_of_file_coding): Add new symbols `use-entity-reference',
937 (vars_of_file_coding): Add new variable
938 `coded-charset-entity-reference-alist'.
939 (complex_vars_of_file_coding): Declare `disable-composition' and
940 `use-entity-reference' to be coding-system-properties in UTF-2000.
942 * file-coding.h (struct Lisp_Coding_System): Add new member
943 `use_entity_reference' and `ccs_priority_list'.
944 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
945 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
946 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
948 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
950 * chartab.c (save_uint8_byte_table): Don't clear the table.
951 (save_uint16_byte_table): Likewise.
952 (save_byte_table): Likewise.
953 (Fmount_char_attribute_table): New function.
954 (syms_of_chartab): Add new builtin function
955 `mount-char-attribute-table'.
957 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
959 * mule-charset.c (Fsave_charset_mapping_table): Open database as
961 (load_char_decoding_entry_maybe): Open database as read-only mode.
963 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
964 open database as "w+" mode.
965 (load_char_attribute_maybe): Open database as read-only mode.
966 (Fload_char_attribute_table): Likewise.
968 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
970 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
971 (char_table_description): Delete member `db_file'.
972 (Fmake_char_table): Don't refer `ct->db_file'.
973 (Fcopy_char_table): Likewise.
974 (Fsave_char_attribute_table): Likewise.
975 (Fclose_char_attribute_table): Likewise.
976 (Freset_char_attribute_table): Likewise.
977 (load_char_attribute_maybe): Likewise.
978 (Fload_char_attribute_table): Likewise.
980 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
982 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
984 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
985 (Fsave_char_attribute_table): Don't check `ct->db_file' if
987 (load_char_attribute_maybe): Likewise.
988 (Fload_char_attribute_table): Likewise.
990 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
992 * chartab.c (Fclose_char_attribute_table): Set Qnil on
993 `ct->db_file' unconditionally.
995 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
997 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
999 (char_table_description): Add description for `db_file' and `db'
1001 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1003 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1004 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1005 (Fclose_char_attribute_table): New function.
1006 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1007 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1009 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1010 (syms_of_chartab): Add new builtin function
1011 `Fclose_char_attribute_table'.
1013 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1015 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1017 (load_char_attribute_maybe): Change interface.
1018 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1020 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1022 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1024 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1026 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1027 instead of `DECODE_CHAR' for mother; don't use special code for
1028 chinese-big5 to use code space of chinese-big5-1 and
1030 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1031 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1033 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1034 (MAX_CHAR_BIG5_CDP): Revival.
1036 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1038 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1039 the XLFD registry-encoding name of `chinese-big5'.
1041 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1043 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1044 (Qchinese_big5_cdp): Deleted.
1045 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1046 (complex_vars_of_mule_charset): Delete coded-charset
1049 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1050 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1051 `CHARSET_ID_OFFSET - n' for private CCS.
1052 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1053 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1054 of `MIN_LEADING_BYTE'.
1055 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1056 `(CHARSET_ID_OFFSET - 97)'.
1057 (MIN_CHAR_BIG5_CDP): Deleted.
1058 (MAX_CHAR_BIG5_CDP): Deleted.
1060 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1062 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1064 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1066 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1067 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1070 * chartab.c (Vutf_2000_version): Moved to mule.c.
1071 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1073 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1075 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1076 when HAVE_CHISE_CLIENT is not defined.
1078 * mule.c (vars_of_mule): Provide feature `chise' when
1079 HAVE_CHISE_CLIENT is defined.
1081 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1083 * config.h.in (UTF2000): Add comment.
1084 (HAVE_CHISE_CLIENT): New macro.
1086 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1088 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1090 (Fput_char_attribute): Likewise.
1091 (char_attribute_system_db_file): Encode file-name of attribute.
1092 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1095 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1097 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1098 (Fsave_charset_mapping_table): Use
1099 `char_attribute_system_db_file'.
1100 (load_char_decoding_entry_maybe): Likewise.
1102 * chartab.h (Qsystem_char_id): New external variable.
1103 (char_attribute_system_db_file): New prototype.
1105 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1106 (char_attribute_system_db_file): New function.
1107 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1108 (Freset_char_attribute_table): Likewise.
1109 (load_char_attribute_maybe): Likewise.
1110 (Fload_char_attribute_table): Likewise.
1111 (syms_of_chartab): Add new symbol `system-char-id'.
1113 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1115 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1116 `XCHARSET_GRAPHIC(ccs)'.
1118 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1120 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1122 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1124 * chartab.c (Q_ucs_variants): New variable.
1125 (syms_of_chartab): Add new symbol `->ucs-variants'.
1126 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1127 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1128 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1130 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1132 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1133 `HAVE_DATABASE' is defined.
1134 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1135 `HAVE_DATABASE' is defined.
1137 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1139 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1141 (Freset_char_attribute_table): New function.
1142 (syms_of_chartab): Add new builtin function
1143 `reset-char-attribute-table'.
1145 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1147 * chartab.c (load_char_attribute_maybe): Don't make directories.
1149 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1151 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1153 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1156 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1158 * mule-charset.c (Fsave_charset_mapping_table): Use
1159 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1161 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1162 instead of `XCHARSET_CHARS'.
1164 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1166 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1167 (XCHARSET_BYTE_SIZE): Likewise.
1169 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1171 (XCHARSET_BYTE_SIZE): Likewise.
1173 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1175 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1176 data-directory to store database.
1177 (Fsave_char_attribute_table): Likewise.
1178 (load_char_attribute_maybe): Likewise.
1179 (Fload_char_attribute_table): Likewise.
1181 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1183 * mule-charset.c (Fsave_charset_mapping_table): New function.
1184 (syms_of_mule_charset): Add new builtin function
1185 `save-charset-mapping-table'.
1187 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1190 (get_ccs_octet_table): New inline function.
1191 (put_ccs_octet_table): Likewise.
1192 (decoding_table_put_char): Use `get_ccs_octet_table' and
1193 `put_ccs_octet_table'.
1194 (decoding_table_remove_char): Use `decoding_table_put_char'.
1195 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1197 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1198 into encoding_table.
1199 (make_charset): Use Qunbound instead Qnil as initial value of
1202 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1204 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1205 element is Qunloaded.
1206 (map_over_uint16_byte_table): Likewise.
1207 (map_over_byte_table): Likewise.
1208 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1209 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1210 database support, load encoding-table of the specified
1211 coded-charset if it is not loaded yet.
1212 (save_uint8_byte_table): New function of UTF-2000 with external
1214 (save_uint16_byte_table): Likewise.
1215 (save_byte_table): Likewise.
1216 (Fput_char_attribute): Don't store value into external database
1217 even if the external database feature is supported in UTF-2000;
1218 set `attribute' as name of char-table if the external database
1219 feature is supported.
1220 (Fsave_char_attribute_table): New function in UTF-2000.
1221 (syms_of_chartab): Add new builtin function
1222 `save-char-attribute-table' in UTF-2000.
1224 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1226 * chartab.c (char_attribute_table_to_put): New variable in
1228 (Qput_char_table_map_function): Likewise.
1229 (value_to_put): Likewise.
1230 (Fput_char_table_map_function): New function in UTF-2000.
1231 (put_char_table): Use `Fmap_char_attribute' for
1232 CHARTAB_RANGE_CHARSET in UTF-2000.
1233 (Fput_char_attribute): Store symbol instead of string in
1234 `XCHAR_TABLE_NAME (table)'.
1235 (load_char_attribute_maybe): Likewise.
1236 (syms_of_chartab): Add new symbol/function
1237 `put-char-table-map-function'.
1239 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1241 * database.h: Add new EXFUN for `Fmap_database'.
1243 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1244 (syms_of_database): Likewise.
1246 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1248 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1249 (XCHAR_TABLE_UNLOADED): Likewise.
1251 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1252 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1253 HAVE_DATABASE is defined.
1254 (char_attribute_table_to_load): New variable of UTF-2000 with
1255 external database support.
1256 (Qload_char_attribute_table_map_function): Likewise.
1257 (Fload_char_attribute_table_map_function): New function of
1258 UTF-2000 with external database support.
1259 (Fload_char_attribute_table): New function of UTF-2000.
1260 (Fmap_char_attribute): Call Fload_char_attribute_table if
1261 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1262 (syms_of_chartab): Add new symbol and function
1263 `load-char-attribute-table-map-function' in UTF-2000 with external
1264 database support; add new function `load-char-attribute-table' in
1267 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1269 * chartab.h (load_char_attribute_maybe): New prototype for
1270 UTF-2000 with DATABASE support.
1271 (get_char_id_table): Use `load_char_attribute_maybe' if
1272 HAVE_DATABASE is defined.
1274 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1275 with DATABASE support.
1277 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1279 * chartab.c (Fput_char_attribute): Use S-expression as key of
1282 * chartab.h (get_char_id_table): Use S-expression as key of
1285 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1287 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1288 if an element is not loaded, load the corresponding attributes
1289 from an external database.
1290 (map_over_uint16_byte_table): Likewise.
1291 (map_over_byte_table): Likewise.
1292 (map_char_table): Modify for `map_over_uint8_byte_table',
1293 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1294 element is not loaded, load the corresponding attributes from an
1296 (Fput_char_attribute): Change initial values to Qunloaded.
1298 * chartab.h (get_char_id_table): If a character attribute is not
1299 loaded and the attribute value is not found in an external
1300 database, store Qunbound as the attribute value.
1302 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1304 * chartab.c (BT_UINT8_unloaded): New macro.
1305 (UINT8_VALUE_P): Accept Qunloaded.
1306 (UINT8_ENCODE): Likewise.
1307 (UINT8_DECODE): Likewise.
1308 (BT_UINT16_unloaded): New macro.
1309 (UINT16_VALUE_P): Accept Qunloaded.
1310 (UINT16_ENCODE): Likewise.
1311 (UINT16_DECODE): Likewise.
1312 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1314 (mark_char_table): Mark `ct->name' in UTF-2000.
1315 (char_table_description): Add `name' in UTF-2000.
1316 (Fmake_char_table): Initialize `ct->name'.
1317 (Fcopy_char_table): Copy `ct->name'.
1318 (Fput_char_attribute): Store value into an external database if
1319 HAVE_DATABASE is defined.
1321 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1323 (CHAR_TABLE_NAME): New macro in UTF-2000.
1324 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1325 (get_char_id_table): Try to read an external database if Qunloaded
1326 is stored in a table.
1328 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1331 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1333 * database.h: Add EXFUN definitions for Fopen_database,
1334 Fput_database, Fget_database and Fclose_database.
1336 * data.c (Qunloaded): New variable in UTF-2000.
1338 * lisp.h (Qunloaded): New variable in UTF-2000.
1340 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1342 * mule-charset.c (put_char_ccs_code_point): Modify for
1343 `decoding_table_remove_char' and `decoding_table_put_char'.
1344 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1346 * char-ucs.h (decoding_table_remove_char): Change arguments to
1347 hide decoding_table vector.
1348 (decoding_table_put_char): Likewise.
1350 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1352 * mule-charset.c (decoding_table_remove_char): Moved to
1354 (decoding_table_put_char): Likewise.
1356 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1357 from mule-charset.c].
1358 (decoding_table_remove_char): New inline function [moved from
1360 (decoding_table_put_char): Likewise.
1362 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1364 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1367 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1369 * mule-charset.c (decode_builtin_char): Support mother charsets.
1371 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1373 * mule-charset.c (Q94x94x60): New variable.
1374 (charset_code_point): Support conversion `94x94x60'.
1375 (Fmake_charset): Likewise.
1376 (syms_of_mule_charset): Add new symbol `94x94x60'.
1378 * char-ucs.h (CONVERSION_94x94x60): New macro.
1380 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1382 * mule-charset.c (charset_code_point): Unify code about
1385 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1387 * mule-charset.c (charset_code_point): Merge code about builtin
1388 characters into code about mother charsets; don't use
1389 `range_charset_code_point'.
1390 (range_charset_code_point): Deleted.
1392 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1394 * mule-charset.c (Qcode_offset): New variable.
1395 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1396 `max-code'; accept new property `code-offset'.
1397 (syms_of_mule_charset): Add new symbol `code-offset'.
1399 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1401 * mule-charset.c (range_charset_code_point): Fixed.
1403 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1405 * mule-charset.c (decode_builtin_char): Change semantics of
1406 code-offset of coded-charset.
1407 (charset_code_point): Likewise.
1408 (range_charset_code_point): Likewise.
1409 (complex_vars_of_mule_charset): Modify for the change.
1411 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1413 * mule-charset.c (Fencode_char): Reverse arguments.
1415 * mule-charset.c (charset_code_point): Fixed.
1417 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1419 * mule-charset.c (Vcharset_mojikyo): Deleted.
1420 (Vcharset_mojikyo_2022_1): Deleted.
1421 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1422 (Qmin_code): New variable in UTF-2000.
1423 (Qmax_code): Likewise.
1424 (Qmother): Likewise.
1425 (Qconversion): Likewise.
1427 (Qmojikyo): Deleted.
1428 (Qmojikyo_2022_1): Deleted.
1429 (Qmojikyo_pj_{1..22}): Deleted.
1430 (mark_charset): Mark `cs->mother'.
1431 (charset_description): Add description for `mother'.
1432 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1433 new arguments `mother' and `conversion'; use
1434 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1435 (charset_code_point): Moved from char-ucs.h; support `mother'
1437 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1438 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1439 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1440 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1441 allow 2 as the value of `graphic' in UTF-2000; add new properties
1442 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1443 require `final' in UTF-2000; modify for `make_charset'.
1444 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1445 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1446 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1447 (Fencode_char): New function.
1448 (syms_of_mule_charset): Add new builtin function `encode-char' in
1449 UTF-2000; add new symbols `min-code', `max-code', `mother',
1450 `conversion' and `94x60'; delete symbols `mojikyo',
1451 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1452 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1453 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1454 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1456 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1457 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1459 * char-ucs.h (Vcharset_mojikyo): Deleted.
1460 (Vcharset_mojikyo_2022_1): Deleted.
1461 (LEADING_BYTE_MOJIKYO): Deleted.
1462 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1463 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1464 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1465 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1466 add new member `mother'; add new member `conversion'.
1467 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1468 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1469 (CHARSET_MOTHER): New macro.
1470 (CHARSET_CONVERSION): New macro.
1471 (CONVERSION_IDENTICAL): New macro.
1472 (CONVERSION_94x60): New macro.
1473 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1474 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1475 (XCHARSET_MOTHER): New macro.
1476 (XCHARSET_CONVERSION): New macro.
1477 (MIN_CHAR_MOJIKYO): Deleted.
1478 (MAX_CHAR_MOJIKYO): Deleted.
1479 (DECODE_MOJIKYO_2022): Deleted.
1480 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1481 (charset_code_point): Changed to non-inline function.
1482 (encode_char_1): Use `charset_code_point'.
1483 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1485 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1487 * lread.c (read_compiled_function): Fix prototype.
1488 (read_vector): Likewise.
1490 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1492 * lrecord.h (struct lrecord_header): Delete `older'.
1493 (set_lheader_implementation): Delete code for `older'.
1494 (set_lheader_older_implementation): Deleted.
1495 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1496 (OLDER_RECORD_P): Deleted.
1497 (OLDER_RECORD_HEADER_P): Deleted.
1498 (alloc_older_lcrecord): Deleted.
1499 (alloc_older_lcrecord_type): Deleted.
1501 * alloc.c (all_older_lcrecords): Deleted.
1502 (alloc_older_lcrecord): Deleted.
1503 (disksave_object_finalization_1): Delete code for older objects.
1504 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1505 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1507 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1509 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1510 instead of `make_older_vector'.
1511 (put_char_ccs_code_point): Likewise.
1512 (mark_charset): Mark `cs->decoding_table'.
1513 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1515 * lisp.h (make_older_vector): Deleted.
1516 (make_vector_newer): Deleted.
1518 * config.h.in (HAVE_GGC): Deleted.
1520 * alloc.c (make_older_vector): Deleted.
1521 (make_vector_newer_1): Deleted.
1522 (make_vector_newer): Deleted.
1524 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1526 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1527 (Qideograph_daikanwa_2): New variable.
1528 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1529 (complex_vars_of_mule_charset): Add new coded-charset
1530 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1531 `LEADING_BYTE_DAIKANWA'.
1533 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1534 (LEADING_BYTE_DAIKANWA_1): New macro.
1535 (LEADING_BYTE_DAIKANWA_2): New macro.
1536 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1538 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1540 * mule-charset.c (complex_vars_of_mule_charset): Change
1541 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1542 the second revised version.
1544 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1546 * mule-charset.c (Vcharset_ucs_smp): New variable.
1547 (Vcharset_ucs_sip): New variable.
1548 (Qucs_smp): New variable.
1549 (Qucs_sip): New variable.
1550 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1551 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1552 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1553 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1554 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1555 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1557 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1558 (LEADING_BYTE_UCS_SIP): New macro.
1559 (MIN_CHAR_SMP): New macro.
1560 (MAX_CHAR_SMP): New macro.
1561 (MIN_CHAR_SIP): New macro.
1562 (MAX_CHAR_SIP): New macro.
1564 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1566 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1569 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1571 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1572 value; don't store value into `encoding_table' of `Lisp_Charset'.
1573 (mark_charset): `encoding_table' was deleted.
1574 (charset_description): Likewise.
1575 (make_charset): Likewise.
1576 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1577 `put_char_ccs_code_point'.
1579 * chartab.h (Fput_char_attribute): New EXFUN.
1581 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1582 is unified with normal symbol space.
1583 (Fget_char_attribute): Likewise.
1584 (Fput_char_attribute): Likewise; behavior of
1585 `put_char_ccs_code_point' is changed.
1587 * char-ucs.h: Include "elhash.h".
1588 (Vchar_attribute_hash_table): New external variable.
1589 (struct Lisp_Charset): Delete `encoding_table'.
1590 (CHARSET_ENCODING_TABLE): New implementation; refer
1591 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1594 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1596 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1599 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1601 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1604 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1606 * chartab.c (uint8_byte_table_description): New constant.
1607 (uint8-byte-table): Use `uint8_byte_table_description'.
1608 (uint16_byte_table_description): New constant.
1609 (uint16-byte-table): Use `uint16_byte_table_description'.
1611 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1613 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1614 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1616 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1618 * mule-charset.c (Vcharset_ucs_ks): New variable.
1619 (Qucs_ks): New variable.
1620 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1621 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1623 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1625 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1627 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1628 (Fdecode_char): Likewise.
1630 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1632 (Fdefine_char): Modify for Fdecode_char.
1633 (Ffind_char): Likewise.
1635 * mule-charset.c (Fdecode_char): Add new optional argument
1637 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1639 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1641 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1642 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1643 (allocate_coding_system): Initialize initial-charsets of
1644 CODESYS_BIG5 in XEmacs UTF-2000.
1645 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1646 CODESYS_BIG5 in XEmacs UTF-2000.
1647 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1648 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1650 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1652 (Qideograph_hanziku_{1 .. 12}): Likewise.
1653 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1655 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1656 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1657 `ideograph-hanziku-{1 .. 12}'.
1659 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1660 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1661 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1662 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1663 (DECODE_DEFINED_CHAR): New inline function.
1664 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1666 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1668 * mule-charset.c (Vcharset_china3_jef): Renamed from
1669 `Vcharset_japanese_jef_china3'.
1670 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1671 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1672 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1673 (syms_of_mule_charset): Rename `china3-jef' from
1674 `japanese-jef-china3'.
1675 (complex_vars_of_mule_charset): Likewise; rename
1676 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1678 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1679 `LEADING_BYTE_JEF_CHINA3'.
1680 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1681 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1683 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1685 * mule-charset.c (encode_builtin_char_1): Comment out special code
1686 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1688 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1689 (MAX_CHAR_MOJIKYO_0): Comment out.
1690 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1691 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1692 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1693 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1695 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1697 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1698 (Qideograph_cbeta): New variable.
1699 (encode_builtin_char_1): Comment out special code for
1700 coded-charset `mojikyo' and `japanese-jef-china3'.
1701 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1702 (complex_vars_of_mule_charset): Add new coded-charset
1705 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1706 (MIN_CHAR_CBETA): New macro.
1707 (MAX_CHAR_CBETA): New macro.
1709 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1711 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1712 (LEADING_BYTE_JEF_CHINA3): New macro.
1713 (MIN_CHAR_JEF_CHINA3): New macro.
1714 (MAX_CHAR_JEF_CHINA3): Likewise.
1715 (DECODE_CHAR): Fixed.
1717 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1719 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1720 (Qjapanese_jef_china3): New variable.
1721 (encode_builtin_char_1): Support `japanese-jef-china3'.
1722 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1723 (complex_vars_of_mule_charset): Add new coded-charset
1724 `japanese-jef-china3'.
1726 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1728 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1729 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1730 94^4, 96^3, 96^4, 128^n and 256^n set.
1731 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1732 (map_char_table): Likewise.
1734 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1736 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1739 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1741 * chartab.h (get_char_id_table): New inline function.
1743 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1746 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1748 * chartab.h (decode_char_table_range): New prototype in XEmacs
1750 (put_char_id_table): New inline function in XEmacs UTF-2000.
1752 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1754 (decode_char_table_range): Delete static declaration in XEmacs
1757 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1759 * chartab.c (put_char_id_table): Use `put_char_table'.
1761 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1763 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1764 (map_over_uint16_byte_table): Likewise.
1765 (map_over_byte_table): Likewise.
1766 (map_char_table): Modify for `map_over_uint8_byte_table',
1767 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1770 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1772 * chartab.c (struct map_char_table_for_charset_arg): New
1774 (map_char_table_for_charset_fun): New function.
1775 (map_char_table): Use `map_char_table' for encoding_table of
1778 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1780 * chartab.c (map_char_table): Check a character is found in
1781 range->charset instead of non default value is defined in
1782 char-table when range is CHARTAB_RANGE_ROW.
1784 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1786 * chartab.c (map_char_id_table): Deleted.
1787 (Fmap_char_attribute): Use `map_char_table' instead of
1788 `map_char_id_table'.
1790 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1792 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1794 (update_syntax_table): Deleted in XEmacs UTF-2000.
1796 * syntax.c (find_defun_start): Use `syntax_table' instead of
1797 `mirror_syntax_table' in XEmacs UTF-2000.
1798 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1800 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1802 (Fmatching_paren): Likewise.
1803 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1805 (find_start_of_comment): Likewise.
1806 (find_end_of_comment): Likewise.
1807 (Fforward_comment): Likewise.
1808 (scan_lists): Likewise.
1809 (char_quoted): Likewise.
1810 (Fbackward_prefix_chars): Likewise.
1811 (scan_sexps_forward): Likewise.
1812 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1813 (update_syntax_table): Likewise.
1815 * search.c (skip_chars): Use `syntax_table' instead of
1816 `mirror_syntax_table' in XEmacs UTF-2000.
1817 (wordify): Likewise.
1818 (Freplace_match): Likewise.
1820 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1821 `mirror_syntax_table' in XEmacs UTF-2000.
1822 (WORDCHAR_P_UNSAFE): Likewise.
1823 (re_match_2_internal): Likewise.
1825 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1826 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1828 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1829 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1831 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1834 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1836 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1837 (char_table_description): Delete `mirror_table' in XEmacs
1839 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1841 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1842 (Fcopy_char_table): Likewise.
1843 (put_char_table): Don't call `update_syntax_table' in XEmacs
1846 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1847 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1848 (casify_region_internal): Likewise.
1850 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1852 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1853 `mirror_syntax_table' in XEmacs UTF-2000.
1855 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1856 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1857 (Fexpand_abbrev): Likewise.
1859 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1861 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1863 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1866 (map_over_uint16_byte_table): Likewise.
1867 (map_over_byte_table): Likewise.
1868 (get_char_id_table): Refer `cit->default_value'.
1869 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1870 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1871 of character-id ranges.
1872 (mark_char_table): Mark `ct->default_value'.
1873 (char_table_description): Add `default_value'.
1874 (fill_char_table): Use `default_value'.
1875 (decode_char_table_range): Decode `nil' as
1876 `CHARTAB_RANGE_DEFAULT'.
1877 (get_char_id_table): Refer `cit->default_value'.
1878 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1879 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1880 temporary hack; check value of char-table is bound or not.
1881 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1883 * chartab.h (struct Lisp_Char_Table): Add new member
1884 `default_value' in XEmacs UTF-2000.
1885 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1886 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1889 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1891 * chartab.h (Lisp_Char_ID_Table): Deleted.
1893 * chartab.c (char_table_description): Fix typo.
1894 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1895 `Lisp_Char_ID_Table'.
1897 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1899 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1902 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1905 * chartab.h (XCHAR_ID_TABLE): Deleted.
1906 (XSETCHAR_ID_TABLE): Deleted.
1907 (CHAR_ID_TABLE_P): Deleted.
1909 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1911 (Fget_composite_char): Likewise.
1912 (put_char_table): Likewise.
1913 (add_char_attribute_alist_mapper): Fixed.
1914 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1916 (Fget_char_attribute): Likewise.
1917 (Fget_char_attribute): Likewise.
1918 (Fmap_char_attribute): Likewise.
1920 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1922 (encode_char_1): Likewise.
1924 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1926 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1929 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1930 instead of `XCHAR_ID_TABLE'.
1931 (remove_char_ccs): Likewise.
1933 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1935 (Fget_composite_char): Likewise.
1936 (Fchar_variants): Likewise.
1937 (put_char_table): Likewise.
1938 (add_char_attribute_alist_mapper): Likewise.
1939 (Fchar_attribute_alist): Likewise.
1940 (Fget_char_attribute): Likewise.
1941 (Fput_char_attribute): Likewise.
1942 (Fmap_char_attribute): Likewise.
1943 (Fmap_char_attribute): Likewise.
1945 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1947 (encode_char_1): Likewise.
1949 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1951 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1952 `Lisp_Char_ID_Table'.
1953 (mark_char_id_table): Deleted.
1954 (print_char_id_table): Likewise.
1955 (char_id_table_equal): Likewise.
1956 (char_id_table_hash): Likewise.
1957 (char_id_table_description): Likewise.
1958 (char_id_table): Likewise.
1959 (make_char_id_table): Use `Fmake_char_table' and
1961 (get_char_id_table): Use `Lisp_Char_Table' instead of
1962 `Lisp_Char_ID_Table'.
1963 (put_char_id_table): Likewise.
1964 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1966 (Fremove_char_attribute): Likewise.
1967 (syms_of_chartab): Don't define type `char-id-table'.
1969 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1970 (char_id_table): Likewise.
1971 (GC_CHAR_ID_TABLE_P): Likewise.
1972 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1973 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1974 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1975 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1976 (get_char_id_table): Use `Lisp_Char_Table' instead of
1977 `Lisp_Char_ID_Table'.
1978 (put_char_id_table_0): Likewise.
1979 (put_char_id_table): Likewise.
1981 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1983 * chartab.h: Lisp_Byte_Table related codes are moved from
1986 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1988 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1990 * chartab.h: Don't include "chartab.h".
1991 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1992 (Lisp_Char_ID_Table): Likewise.
1993 (char_id_table): Likewise.
1994 (XCHAR_ID_TABLE): Likewise.
1995 (XSETCHAR_ID_TABLE): Likewise.
1996 (CHAR_ID_TABLE_P): Likewise.
1997 (GC_CHAR_ID_TABLE_P): Likewise.
1998 (get_char_id_table): Likewise.
2000 * char-ucs.h: Include "chartab.h".
2001 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2002 (Lisp_Char_ID_Table): Likewise.
2003 (char_id_table): Likewise.
2004 (XCHAR_ID_TABLE): Likewise.
2005 (XSETCHAR_ID_TABLE): Likewise.
2006 (CHAR_ID_TABLE_P): Likewise.
2007 (GC_CHAR_ID_TABLE_P): Likewise.
2008 (get_char_id_table): Likewise.
2010 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2012 * chartab.c (copy_uint8_byte_table): New function.
2013 (copy_uint16_byte_table): New function.
2014 (copy_byte_table): New function.
2015 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2017 (map_over_uint16_byte_table): Likewise.
2018 (map_over_byte_table): Likewise.
2019 (get_byte_table): Move prototype to chartab.h.
2020 (put_byte_table): Likewise.
2021 (put_char_id_table_0): Moved to chartab.h.
2022 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2023 (char_table_entry_equal): Likewise.
2024 (char_table_entry_hash): Likewise.
2025 (char_table_entry_description): Likewise.
2026 (char_table_entry): Likewise.
2027 (make_char_table_entry): Likewise.
2028 (copy_char_table_entry): Likewise.
2029 (get_non_ascii_char_table_value): Likewise.
2030 (map_over_charset_ascii): Likewise.
2031 (map_over_charset_control_1): Likewise.
2032 (map_over_charset_row): Likewise.
2033 (map_over_other_charset): Likewise.
2034 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2035 (print_char_table): Likewise.
2036 (char_table_equal): Likewise.
2037 (char_table_hash): Likewise.
2038 (char_table_description): Likewise.
2039 (fill_char_table): Likewise.
2040 (Fcopy_char_table): Likewise.
2041 (get_char_table): Likewise.
2042 (Fget_range_char_table): Likewise.
2043 (put_char_table): Likewise.
2044 (map_char_table): Likewise.
2045 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2048 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2050 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2051 `Vauto_fill_chars' in XEmacs UTF-2000.
2053 * chartab.h (get_byte_table): New prototype [moved from
2055 (put_byte_table): Likewise [moved from chartab.c].
2056 (put_char_id_table_0): New inline function [moved from chartab.c].
2057 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2058 (Lisp_Char_Table_Entry): Likewise.
2059 (char_table_entry): Likewise.
2060 (XCHAR_TABLE_ENTRY): Likewise.
2061 (XSETCHAR_TABLE_ENTRY): Likewise.
2062 (CHAR_TABLE_ENTRYP): Likewise.
2063 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2064 (NUM_ASCII_CHARS): Likewise.
2065 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2066 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2068 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2070 * chartab.c (get_char_id_table): Change interface.
2071 (put_char_id_table_0): New function.
2072 (put_char_id_table): Change interface; new implementation.
2073 (Fget_composite_char): Modify for interface change of
2074 `get_char_id_table'.
2075 (Fchar_variants): Likewise.
2076 (add_char_attribute_alist_mapper): Likewise.
2077 (Fchar_attribute_alist): Likewise.
2078 (Fget_char_attribute): Likewise.
2079 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2080 as same as character as the first argument like `put-char-table';
2081 modify for interface change of `put_char_id_table'.
2082 (Fremove_char_attribute): Modify for interface change of
2083 `put_char_id_table'.
2085 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2087 * text-coding.c: Sync up with XEmacs 21.2.41.
2088 (COMPOSE_ADD_CHAR): Modify for interface change of
2089 `get_char_id_table'.
2091 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2092 change of `put_char_id_table'.
2093 (remove_char_ccs): Likewise.
2095 * chartab.h (put_char_id_table): Change interface.
2097 * char-ucs.h (get_char_id_table): Change interface.
2098 (charset_code_point): Modify for interface change of
2099 `get_char_id_table'.
2100 (encode_char_1): Likewise.
2102 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2104 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2106 (map_over_uint16_byte_table): Likewise.
2107 (map_over_byte_table): Likewise.
2108 (map_char_id_table): Add new argument `range' like
2110 (Fmap_char_attribute): Add new argument `range' like
2113 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2115 * chartab.c (map_over_uint8_byte_table): Change interface of
2116 mapping function to use struct chartab_range instead of Emchar.
2117 (map_over_uint16_byte_table): Likewise.
2118 (map_over_byte_table): Likewise.
2119 (map_char_id_table): Likewise.
2120 (struct slow_map_char_id_table_arg): Deleted.
2121 (slow_map_char_id_table_fun): Deleted.
2122 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2123 function `slow_map_char_table_fun' instead of struct
2124 `slow_map_char_id_table_arg' and function
2125 `slow_map_char_id_table_fun'.
2127 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2129 * mule-charset.c: Move char-it-table related codes to chartab.c.
2130 (Vutf_2000_version): Moved to chartab.c.
2131 (Fdefine_char): Likewise.
2132 (Ffind_char): Likewise.
2133 (syms_of_mule_charset): Move types `uint8-byte-table',
2134 `uint16-byte-table', `byte-table' and `char-id-table' to
2135 chartab.c; move functions `char_attribute_list,
2136 `find_char_attribute_table, `char_attribute_alist,
2137 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2138 `map_char_attribute, `define_char, `find_char, `char_variants and
2139 `get_composite_char to chartab.c; move symbols `=>ucs',
2140 `->decomposition', `compat', `isolated', `initial', `medial',
2141 `final', `vertical', `noBreak', `fraction', `super', `sub',
2142 `circle', `square', `wide', `narrow', `small' and `font' to
2144 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2145 setting codes for `Vcharacter_composition_table' and
2146 `Vcharacter_variant_table' to chartab.c.
2147 (complex_vars_of_mule_charset): Move setting code for
2148 `Vchar_attribute_hash_table' to chartab.c.
2150 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2151 (make_char_id_table): New prototype.
2152 (put_char_id_table): Likewise.
2153 (Fget_char_attribute): Likewise.
2155 * chartab.c: Move char-id-table related code from mule-charset.c.
2156 (Vutf_2000_version): Moved from mule-charset.c.
2158 * char-ucs.h (Qucs): New external variable.
2159 (put_char_ccs_code_point): New prototype.
2160 (remove_char_ccs): Likewise.
2162 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2164 * mule-charset.c (Vcharset_ucs_jis): New variable.
2165 (Qucs_jis): Likewise.
2166 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2167 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2169 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2171 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2173 * mule-charset.c (map_over_uint8_byte_table): New function.
2174 (map_over_uint16_byte_table): Likewise.
2175 (map_over_byte_table): Likewise.
2176 (map_char_id_table): Likewise.
2177 (slow_map_char_id_table_fun): Likewise.
2178 (Fmap_char_attribute): Likewise.
2179 (syms_of_mule_charset): Add new function `map-char-attribute'.
2181 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2183 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2184 (syms_of_mule_charset): Add new function `find-char'.
2186 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2188 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2190 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2191 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2193 (complex_vars_of_mule_charset): Add new coded-charset
2194 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2195 `ideograph-gt-pj-*'.
2197 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2199 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2201 * mule-charset.c (encode_builtin_char_1): Purge codes about
2202 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2203 {MIN|MAX}_CHAR_HEBREW.
2204 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2205 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2207 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2208 (MAX_CHAR_GREEK): Purged.
2209 (MIN_CHAR_CYRILLIC): Purged.
2210 (MAX_CHAR_CYRILLIC): Purged.
2211 (MIN_CHAR_HEBREW): Commented out.
2212 (MAX_CHAR_HEBREW): Likewise.
2214 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2216 * mule-charset.c (Qto_ucs): New variable.
2217 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2218 (Fdefine_char): Likewise.
2219 (syms_of_mule_charset): Add new symbol `=>ucs'.
2221 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2223 * mule-charset.c (Fdecode_char): Fixed.
2225 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2227 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2228 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2231 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2233 * mule-charset.c (Vcharset_ucs_big5): New variable.
2234 (Qucs_big5): Likewise.
2235 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2236 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2238 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2240 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2242 * mule-charset.c (decode_builtin_char): Check Big5 code range
2243 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2245 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2247 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2248 (Qchinese_gb12345): Likewise.
2249 (Fdecode_builtin_char): Fixed.
2250 (syms_of_mule_charset): Add `chinese-gb12345'.
2251 (complex_vars_of_mule_charset): Add coded-charset
2254 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2255 (LEADING_BYTE_CHINESE_GB12345): New macro.
2257 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2259 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2260 and `latin-viscii-upper' for `latin-viscii'.
2262 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2264 * mule-charset.c (Fdecode_builtin_char): Comment out
2265 regularization code for ISO-IR GR representation.
2267 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2269 * mule-charset.c (decode_builtin_char): New function; renamed from
2270 `make_builtin_char'; return -1 instead of signal.
2271 (Fdecode_builtin_char): Use `decode_builtin_char'.
2273 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2274 `make_builtin_char'.
2275 (DECODE_CHAR): Use `decode_builtin_char' instead of
2276 `make_builtin_char'; use mapping table of `chinese-big5' for
2277 `chinese-big5-{1,2}'.
2279 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2281 * text-coding.c (char_encode_big5): New function.
2282 (char_finish_big5): Likewise.
2283 (reset_encoding_stream): Use `char_encode_big5' and
2284 `char_finish_big5' for CODESYS_BIG5.
2285 (mule_encode): Don't use `encode_coding_big5'.
2286 (encode_coding_big5): Deleted.
2288 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2290 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2291 0x81- in XEmacs UTF-2000.
2292 (detect_coding_big5): Likewise.
2294 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2296 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2297 generate character-id if the CCS property does not have
2298 corresponding predefined character.
2299 (make_builtin_char): Return -1 if corresponding predefined
2300 character is not found.
2301 (Fdecode_char): Return nil if corresponding character is not
2303 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2304 don't map to builtin ucs space.
2306 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2308 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2309 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2311 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2313 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2314 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2315 (Qideograph_gt): Likewise.
2316 (Qideograph_gt_pj_{1..11}): Likewise.
2317 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2318 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2319 `ideograph-gt-pj-11'.
2320 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2321 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2322 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2324 * char-ucs.h (LEADING_BYTE_GT): New macro.
2325 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2326 (MIN_CHAR_GT): Likewise.
2327 (MAX_CHAR_GT): Likewise.
2329 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2331 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2332 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2334 * doprnt.c (unsigned_int_converters): Add `c'.
2335 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2337 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2338 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2340 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2341 (MAX_CHAR_MOJIKYO_0): New macro.
2342 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2344 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2346 * mule-charset.c (Fdefine_char): Delete cemented out code.
2347 (encode_builtin_char_1): Modify for new allocation of builtin
2350 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2352 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2354 * mule-charset.c (Vcharset_ucs_cns): New variable.
2355 (Qucs_cns): New variable.
2356 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2357 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2359 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2361 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2363 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2365 * search.c (search_buffer): Make `charset_base_code' as
2366 character-id >> 6 to eliminate the corresponding last byte in
2367 UTF-8 representation [I'm not sure it is right thing].
2368 (boyer_moore): Likewise.
2370 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2372 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2373 representation in MULE.
2375 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2377 * text-coding.c (Fmake_coding_system): Use
2378 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2379 `EXTERNAL_PROPERTY_LIST_LOOP'.
2381 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2383 * text-coding.c (decode_output_utf8_partial_char): New function.
2384 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2386 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2388 * text-coding.c (decode_coding_utf8): Output original byte
2389 sequence if it is broken; change order of conditions.
2391 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2394 * mb-multibyte.h (BYTE_ASCII_P):
2395 Use bit ops for char-signedness safety.
2396 (BYTE_C0_P): Use bit ops for char-signedness safety.
2397 (BYTE_C1_P): Use bit ops for char-signedness safety.
2399 * character.h: (XCHAR_OR_CHAR_INT):
2400 Always use inline function.
2401 Remove redundant type checking assert() - XINT will abort quite
2404 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2406 * text-coding.c: (Fencode_shift_jis_char):
2407 (Fencode_big5_char):
2408 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2409 Replace 0 with '\0' when working with bytes.
2410 Replace initial "(" with "\(" in docstrings.
2412 (Fmake_coding_system):
2413 When type is ccl and value is vector, register it with a proper
2414 symbol. And checks whether the given ccl program is valid.
2415 (mule_decode): When calling ccl_driver, if src indicates
2416 NULL pointer, set an empty string instead.
2417 (mule_encode): Likewise.
2420 (detect_coding_sjis):
2421 (decode_coding_sjis):
2422 (detect_coding_big5):
2423 (decode_coding_big5):
2424 (detect_coding_ucs4):
2425 (decode_coding_ucs4):
2426 (detect_coding_utf8):
2427 (decode_coding_utf8):
2428 (detect_coding_iso2022):
2429 (decode_coding_iso2022):
2430 (decode_coding_no_conversion):
2432 Make all detecting and decoding functions take an Extbyte * arg.
2433 (text_encode_generic):
2434 (encode_coding_big5):
2435 (encode_coding_no_conversion):
2437 Make all encoding functions take a Bufbyte * arg.
2438 Use size_t instead of unsigned int for memory sizes.
2439 Only cast to unsigned char whenever dereferencing Extbyte *.
2441 (struct lrecord_description fcd_description_1): Use countof.
2442 (complex_vars_of_file_coding):
2443 Use countof instead of sizeof.
2444 Use CHECK_NATNUM instead of CHECK_INT.
2446 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2448 * mule-charset.c (Fget_char_attribute): Add new optional argument
2450 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2451 (remove_char_ccs): Likewise.
2453 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2455 * text-coding.c (char_encode_shift_jis): New implementation in
2457 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2460 * mule-charset.c (Vcharset_chinese_big5): New variable in
2462 (Qchinese_big5): New variable in UTF-2000.
2463 (BIG5_SAME_ROW): New macro in UTF-2000.
2464 (make_builtin_char): Use builtin characters of
2465 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2466 characters of `Vcharset_chinese_big5'.
2467 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2468 (complex_vars_of_mule_charset): Add new coded-charset
2469 `chinese-big5' in UTF-2000.
2471 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2472 (Vcharset_chinese_big5): New external variable declaration.
2473 (Vcharset_japanese_jisx0208_1990): Likewise.
2475 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2477 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2479 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2481 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2483 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2484 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2485 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2488 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2490 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2492 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2494 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2497 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2499 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2500 for `CHARSET_BY_ATTRIBUTES'.
2501 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2502 `CHARSET_BY_ATTRIBUTES'.
2504 * text-coding.c (struct decoding_stream): Rename member `CH' to
2506 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2507 (decode_coding_sjis): Likewise.
2508 (decode_coding_big5): Likewise.
2509 (decode_coding_ucs4): Likewise.
2510 (decode_coding_utf8): Likewise.
2511 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2512 `CHARSET_BY_ATTRIBUTES'.
2513 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2514 `str->counter'; decode 3, 4 bytes sets.
2515 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2517 (decode_coding_no_conversion): Use `str->cpos' instead of
2520 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2521 (Qmojikyo_2022_1): New variable.
2522 (make_charset): Don't use `CHARSET_TYPE_*'.
2523 (range_charset_code_point): Support coded-charset
2525 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2526 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2527 `CHARSET_BY_ATTRIBUTES'.
2528 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2529 `CHARSET_BY_ATTRIBUTES'.
2530 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2531 (complex_vars_of_mule_charset): Add new coded-charset
2534 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2535 interface; changed to inline function.
2537 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2538 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2539 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2540 (CHARSET_TYPE_94): Deleted.
2541 (CHARSET_TYPE_94X94): Deleted.
2542 (CHARSET_TYPE_96): Deleted.
2543 (CHARSET_TYPE_96X96): Deleted.
2544 (CHARSET_TYPE_128): Deleted.
2545 (CHARSET_TYPE_128X128): Deleted.
2546 (CHARSET_TYPE_256): Deleted.
2547 (CHARSET_TYPE_256X256): Deleted.
2548 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2550 (DECODE_MOJIKYO_2022): New inline function.
2551 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2552 `Vcharset_mojikyo_2022_1'.
2554 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2556 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2558 (put_byte_table): Likewise.
2559 (char_id_table_equal): Use `get_byte_table' [new implementation].
2561 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2563 * mule-charset.c: Include <limits.h> in UTF-2000.
2564 (BT_UINT8_MIN): New macro in UTF-2000.
2565 (BT_UINT8_MAX): New macro in UTF-2000.
2566 (BT_UINT8_t): New macro in UTF-2000.
2567 (BT_UINT8_nil): New macro in UTF-2000.
2568 (BT_UINT8_unbound): New macro in UTF-2000.
2569 (INT_UINT8_P): New inline function in UTF-2000.
2570 (UINT8_VALUE_P): New inline function in UTF-2000.
2571 (UINT8_ENCODE): New inline function in UTF-2000.
2572 (UINT8_DECODE): New inline function in UTF-2000.
2573 (mark_uint8_byte_table): New function in UTF-2000.
2574 (print_uint8_byte_table): New function in UTF-2000.
2575 (uint8_byte_table_equal): New function in UTF-2000.
2576 (uint8_byte_table_hash): New function in UTF-2000.
2577 (make_uint8_byte_table): New function in UTF-2000.
2578 (uint8_byte_table_same_value_p): New function in UTF-2000.
2579 (BT_UINT16_MIN): New macro in UTF-2000.
2580 (BT_UINT16_MAX): New macro in UTF-2000.
2581 (BT_UINT16_t): New macro in UTF-2000.
2582 (BT_UINT16_nil): New macro in UTF-2000.
2583 (BT_UINT16_unbound): New macro in UTF-2000.
2584 (INT_UINT16_P): New inline function in UTF-2000.
2585 (UINT16_VALUE_P): New inline function in UTF-2000.
2586 (UINT16_ENCODE): New inline function in UTF-2000.
2587 (UINT16_DECODE): New inline function in UTF-2000.
2588 (UINT8_TO_UINT16): New inline function in UTF-2000.
2589 (mark_uint16_byte_table): New function in UTF-2000.
2590 (print_uint16_byte_table): New function in UTF-2000.
2591 (uint16_byte_table_equal): New function in UTF-2000.
2592 (uint16_byte_table_hash): New function in UTF-2000.
2593 (make_uint16_byte_table): New function in UTF-2000.
2594 (uint16_byte_table_same_value_p): New function in UTF-2000.
2595 (print_byte_table): New function in UTF-2000.
2596 (byte-table): Use `print_byte_table' as printer.
2597 (make_byte_table): Delete second argument `older'.
2598 (byte_table_same_value_p): New function in UTF-2000.
2599 (copy_byte_table): Deleted.
2600 (get_byte_table): New function in UTF-2000.
2601 (put_byte_table): New function in UTF-2000.
2602 (print_char_id_table): New function in UTF-2000.
2603 (char-id-table): Use `print_char_id_table' as printer.
2604 (make_char_id_table): Delete second argument `older'.
2605 (get_char_id_table): Use `get_byte_table [new implementation].
2606 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2608 (Ffind_char_attribute_table): New function in UTF-2000.
2609 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2610 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2611 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2612 (syms_of_mule_charset): Add new function
2613 `find-char-attribute-table' in UTF-2000.
2615 * lrecord.h (enum lrecord_type): Add
2616 `lrecord_type_uint16_byte_table' and
2617 `lrecord_type_uint8_byte_table'.
2619 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2620 (Lisp_Uint8_Byte_Table): New type.
2621 (XUINT8_BYTE_TABLE): New macro.
2622 (XSETUINT8_BYTE_TABLE): New macro.
2623 (UINT8_BYTE_TABLE_P): New macro.
2624 (GC_UINT8_BYTE_TABLE_P): New macro.
2625 (struct Lisp_Uint16_Byte_Table): New structure.
2626 (Lisp_Uint16_Byte_Table): New type.
2627 (XUINT16_BYTE_TABLE): New macro.
2628 (XSETUINT16_BYTE_TABLE): New macro.
2629 (UINT16_BYTE_TABLE_P): New macro.
2630 (GC_UINT16_BYTE_TABLE_P): New macro.
2632 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2634 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2635 (Vcharacter_ideographic_strokes_table): Deleted.
2636 (Vcharacter_total_strokes_table): Deleted.
2637 (Vcharacter_morohashi_daikanwa_table): Deleted.
2638 (Vcharacter_decomposition_table): Deleted.
2639 (Qname): Deleted because it is duplicated.
2640 (Qideographic_radical): Deleted.
2641 (Qideographic_strokes): Deleted.
2642 (Qtotal_strokes): Deleted.
2643 (Qmorohashi_daikanwa): Deleted.
2644 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2645 `ideographic-radical', `ideographic-strokes', `total-strokes',
2646 `morohashi-daikanwa' and `->decomposition'.
2647 (Fget_char_attribute): Likewise.
2648 (Fput_char_attribute): Likewise; use `make-vector' instead of
2649 `make_older_vector' for `->decomposition' value.
2650 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2651 `ideograph-daikanwa'.
2652 (syms_of_mule_charset): Delete builtin symbols `name',
2653 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2654 `morohashi-daikanwa'.
2655 (vars_of_mule_charset): Don't setup
2656 `Vcharacter_ideographic_radical_table',
2657 `Vcharacter_ideographic_strokes_table',
2658 `Vcharacter_total_strokes_table',
2659 `Vcharacter_morohashi_daikanwa_table' and
2660 `Vcharacter_decomposition_table'.
2662 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2664 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2665 `make_older_vector', `make_vector_newer_1' and
2666 `make_vector_newer'.
2668 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2669 `make_older_vector' and `make_vector_newer'.
2671 * config.h.in (HAVE_GGC): New macro.
2673 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2675 * mule-charset.c (struct char_attribute_list_closure): New
2676 structure in UTF-2000.
2677 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2678 (Fchar_attribute_list): Likewise.
2679 (Fset_charset_mapping_table): Use `make_vector_newer'.
2680 (Fdecode_builtin_char): New function in UTF-2000.
2681 (syms_of_mule_charset): Add new function `char-attribute-list' and
2682 `decode-builtin-char' in UTF-2000.
2684 * lisp.h (make_vector_newer): New prototype.
2686 * alloc.c (make_vector_newer_1): New function.
2687 (make_vector_newer): New function.
2689 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2691 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2694 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2696 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2697 (Vcharacter_attribute_table): Deleted.
2698 (Vcharacter_name_table): Deleted.
2699 (put_char_attribute): Deleted.
2700 (remove_char_attribute): Deleted.
2701 (struct char_attribute_alist_closure): New structure.
2702 (add_char_attribute_alist_mapper): New function.
2703 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2704 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2705 (Fget_char_attribute): Likewise.
2706 (Fput_char_attribute): Likewise.
2707 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2708 of `remove_char_attribute'.
2709 (Fdefine_char): Return character.
2710 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2711 and `Vcharacter_name_table'.
2712 (complex_vars_of_mule_charset): Likewise
2713 `Vchar_attribute_hash_table'.
2715 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2717 * character.h (CHARC_CHARSET): New macro.
2718 (CHARC_CHARSET_ID): New macro.
2719 (CHARC_CODE_POINT): New macro.
2720 (CHARC_COLUMNS): New macro.
2721 (CHARC_TO_CHAR): New inline function.
2722 (CHARC_EQ): New inline function.
2723 (CHARC_ASCII_EQ): New inline function.
2724 (CHARC_IS_SPACE): New inline function.
2725 (ASCII_TO_CHARC): New inline function.
2727 * char-ucs.h (encode_char_2): Deleted.
2728 (ENCODE_CHAR): Use `encode_char_1' again.
2729 (breakup_char_1): Likewise.
2730 (CHAR_TO_CHARC): New inline function.
2732 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2734 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2736 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2737 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2738 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2739 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2740 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2742 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2744 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2746 (x_output_display_block): Use `CHARC_CHARSET' and
2749 * redisplay-tty.c (tty_output_display_block): Use
2751 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2753 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2755 * insdel.c (find_charsets_in_charc_string): Use
2757 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2758 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2759 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2760 (convert_charc_string_into_malloced_string): Likewise.
2762 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2764 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2765 instead of <Emchar_dynarr *> for buf; use
2766 `convert_bufbyte_string_into_charc_dynarr' instead of
2767 `convert_bufbyte_string_into_emchar_dynarr'; use
2768 `find_charsets_in_charc_string' instead of
2769 `find_charsets_in_emchar_string'.
2772 - Include "character.h".
2773 (struct rune): New member `cglyph'; delete member `chr'.
2775 * redisplay.c (redisplay_text_width_charc_string): New function;
2776 delete `redisplay_text_width_emchar_string'.
2777 (rtw_charc_dynarr): New variable; renamed from
2778 `rtw_emchar_dynarr'.
2779 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2780 `rtw_emchar_dynarr'; use
2781 `convert_bufbyte_string_into_charc_dynarr' instead of
2782 `convert_bufbyte_string_into_emchar_dynarr'; use
2783 `redisplay_text_width_charc_string' instead of
2784 `redisplay_text_width_emchar_string'.
2785 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2786 instead of `rtw_emchar_dynarr'; use
2787 `convert_bufbyte_string_into_charc_dynarr' instead of
2788 `convert_bufbyte_string_into_emchar_dynarr'.
2789 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2790 `redisplay_text_width_charc_string' instead of
2791 `redisplay_text_width_emchar_string'.
2792 (create_text_block): Modify for <struct rune> change.
2793 (generate_formatted_string_db): Likewise.
2794 (create_string_text_block): Likewise.
2795 (pixel_to_glyph_translation): Likewise.
2797 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2798 instead of <const Emchar *>.
2799 (x_text_width): Likewise.
2800 (x_output_display_block): Use <Charc_dynarr *> instead
2801 <Emchar_dynarr *>; modify for <structure rune> change.
2802 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2805 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2806 <const Emchar *>; use `charc_string_displayed_columns' instead of
2807 `emchar_string_displayed_columns'.
2808 (tty_output_display_block): Use <Charc_dynarr *> instead of
2809 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2810 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2811 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2812 `tty_output_emchar_dynarr_dynarr'.
2813 (tty_output_charc_dynarr): New function; delete
2814 `tty_output_charc_dynarr'.
2816 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2817 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2818 <Emchar_dynarr *> for buf; use
2819 `convert_bufbyte_string_into_charc_dynarr' instead of
2820 `convert_bufbyte_string_into_emchar_dynarr'.
2822 * frame.c (title_string_charc_dynarr): New variable; renamed from
2823 `title_string_emchar_dynarr'.
2824 (generate_title_string): Use `title_string_charc_dynarr' instead
2825 of `title_string_emchar_dynarr'; use
2826 `convert_charc_string_into_malloced_string' instead of
2827 `convert_emchar_string_into_malloced_string'.
2828 (init_frame): Use `title_string_charc_dynarr' instead of
2829 `title_string_emchar_dynarr'.
2832 - Include "character.h".
2833 (struct console_methods): Use <const Charc *> instead of <const
2834 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2835 <Emchar_dynarr *> in output_string_method.
2837 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2840 * console-stream.c (stream_text_width): Use <const Charc *>
2841 instead of <const Emchar *>.
2843 * character.h (Charc_dynarr): New type.
2845 * char-ucs.h (structure Charc): New structure; define new type
2848 * char-lb.h (DECODE_CHAR): New inline function.
2849 (encode_char_1): New inline function.
2850 (ENCODE_CHAR): New macro.
2851 (structure Charc): New structure; define new type `Charc'.
2853 * char-1byte.h (Vcharset_control_1): New macro.
2854 (Vcharset_latin_iso8859_1): New macro.
2855 (DECODE_CHAR): New inline function.
2856 (encode_char_1): New inline function.
2857 (ENCODE_CHAR): New macro.
2858 (structure Charc): New structure; define new type `Charc'.
2860 * insdel.c (find_charsets_in_charc_string): New function; delete
2861 `find_charsets_in_emchar_string'.
2862 (charc_string_displayed_columns): New function; delete
2863 `emchar_string_displayed_columns'.
2864 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2865 `convert_bufbyte_string_into_emchar_dynarr'.
2866 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2867 `convert_charc_string_into_bufbyte_dynarr'.
2868 (convert_charc_string_into_malloced_string): New function; delete
2869 `convert_charc_string_into_malloced_string'.
2871 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2872 `find_charsets_in_emchar_string'.
2873 (charc_string_displayed_columns): New prototype; delete
2874 `emchar_string_displayed_columns'.
2875 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2876 `convert_charc_string_into_bufbyte_dynarr'.
2877 (convert_charc_string_into_malloced_string): New prototype; delete
2878 `convert_charc_string_into_malloced_string'.
2880 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2882 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2884 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2886 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2888 * char-ucs.h: Use <short> for <Charset_ID>.
2890 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2893 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2895 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2898 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2900 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2902 (Qmorohashi_daikanwa): New variable.
2903 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2904 for `morohashi-daikanwa' attribute.
2905 (Fget_char_attribute): Likewise.
2906 (Fput_char_attribute): Likewise.
2907 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2908 has the same value of `ideograph-daikanwa'.
2909 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2910 (vars_of_mule_charset): Setup
2911 `Vcharacter_morohashi_daikanwa_table'.
2913 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2915 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2917 (add_charset_to_list_mapper): Add `key' instead of
2918 `XCHARSET_NAME (value)' to return aliases.
2920 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2922 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2924 (Vcharacter_ideographic_strokes_table): New variable.
2925 (Qideographic_radical): New variable.
2926 (Qideographic_strokes): New variable.
2927 (Fchar_attribute_alist): Use
2928 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2929 attribute; use `Vcharacter_ideographic_strokes_table' for
2930 `ideographic-strokes' attribute.
2931 (Fget_char_attribute): Likewise.
2932 (Fput_char_attribute): Likewise.
2933 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2934 `ideographic-strokes'.
2935 (vars_of_mule_charset): Setup
2936 `Vcharacter_ideographic_radical_table' and
2937 `Vcharacter_ideographic_strokes_table'.
2939 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2941 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2942 (Qtotal_strokes): New variable.
2943 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2944 `total-strokes' attribute.
2945 (Fget_char_attribute): Likewise.
2946 (Fput_char_attribute): Likewise.
2947 (syms_of_mule_charset): Add new symbol `total-strokes'.
2948 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2950 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2952 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2953 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2955 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2956 `->decomposition' attribute.
2957 (Fput_char_attribute): Likewise.
2958 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2960 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2962 * mule-charset.c (decoding_table_check_elements): New function.
2963 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2965 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2967 * mule-charset.c (Fset_charset_mapping_table): Use
2968 `put_char_ccs_code_point'.
2970 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2972 * mule-charset.c (decoding_table_put_char): New inline function.
2973 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2975 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2977 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2978 (XCHARSET_BYTE_SIZE): New macro.
2979 (decoding_table_remove_char): New inline function.
2980 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2981 `decoding_table_remove_char'.
2982 (remove_char_ccs): Use `decoding_table_remove_char'.
2983 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2985 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2987 * mule-charset.c (Vcharacter_name_table): New variable.
2988 (Qname): New variable.
2989 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2991 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2992 `Vcharacter_name_table' for `name' attribute.
2993 (Fremove_char_attribute): Use function `remove_char_ccs'.
2994 (put_char_ccs_code_point): New function.
2995 (remove_char_ccs): New function.
2996 (syms_of_mule_charset): Add new symbol `name'.
2997 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2999 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3001 * mule-charset.c (make_byte_table): Add new argument `older'.
3002 (make_char_id_table): Likewise.
3003 (copy_char_id_table): Comment out because it is not used.
3004 (put_char_id_table): Modify for `make_byte_table'.
3005 (Fput_char_attribute): Make encoding_table as older object;
3006 inherit older bit of `Vcharacter_composition_table'.
3007 (mark_charset): Don't mark `cs->encoding_table'.
3008 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3009 normal object; make `Vcharacter_composition_table' as an older
3010 object; delete staticpro for `Vcharacter_composition_table'; make
3011 `Vcharacter_variant_table' as a normal object.
3013 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3014 (mark_object): Don't check older object in UTF-2000.
3016 * lrecord.h (struct lrecord_header): Add new member `older' in
3018 (set_lheader_implementation): Setup `SLI_header->older' in
3020 (set_lheader_older_implementation): New macro in UTF-2000.
3021 (OLDER_RECORD_P): New macro in UTF-2000.
3022 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3023 (alloc_older_lcrecord): New prototype in UTF-2000.
3024 (alloc_older_lcrecord_type): New macro in UTF-2000.
3026 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3028 * mule-charset.c (byte_table_description): Use
3029 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3030 (char_id_table_description): Delete bogus `, 1'.
3031 (Fget_char_attribute): Refer encoding_table of each coded-charset
3032 to get value of coded-charset attribute of a character.
3033 (Fput_char_attribute): Use `make_older_vector' instead of
3034 `make_vector'; use encoding_table of each coded-charset to store
3035 value of coded-charset attribute of a character.
3036 (Fremove_char_attribute): Use encoding_table of each coded-charset
3037 to store value of coded-charset attribute of a character.
3038 (mark_charset): Mark `cs->encoding_table'; don't mark
3039 `cs->decoding_table'.
3040 (charset_description): Add description of new member
3042 (make_charset): Initialize `encoding_table'.
3044 * char-ucs.h (struct Lisp_Charset): Add new member
3046 (CHARSET_ENCODING_TABLE): New macro.
3047 (XCHARSET_ENCODING_TABLE): New macro.
3048 (charset_code_point): New implementation.
3049 (encode_char_1): Likewise.
3051 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3052 (disksave_object_finalization_1): Call finalizers of
3053 `all_older_lcrecords' in UTF-2000.
3054 (make_older_vector): New function in UTF-2000.
3055 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3058 * lisp.h (make_older_vector): New prototype in UTF-2000.
3060 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3062 * lrecord.h (enum lrecord_type): Rename
3063 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3065 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3066 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3067 `get_char_code_table'.
3069 * mule-charset.c (mark_char_id_table): Renamed from
3070 `mark_char_code_table'.
3071 (char_id_table_equal): Renamed from `char_code_table_equal'.
3072 (char_id_table_hash): Renamed from `char_code_table_hash'.
3073 (make_char_id_table): Renamed from `make_char_code_table'.
3074 (copy_char_id_table): Renamed from `copy_char_code_table'.
3075 (get_char_id_table): Renamed from `get_char_code_table'.
3076 (put_char_id_table): Renamed from `put_char_code_table'.
3077 (to_char_id): Renamed from `to_char_code'.
3079 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3080 `Lisp_Char_Code_Table'.
3081 (char_id_table): Renamed from `char_code_table'.
3082 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3083 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3084 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3085 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3086 (get_char_id_table): Renamed from `get_char_code_table'.
3088 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3090 * lrecord.h (enum lrecord_type): Rename
3091 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3093 * mule-charset.c (mark_byte_table): Renamed from
3094 `mark_char_byte_table'.
3095 (byte_table_equal): Renamed from `char_byte_table_equal'.
3096 (byte_table_hash): Renamed from `byte_table_hash'.
3097 (make_byte_table): Renamed from `make_byte_table'.
3098 (copy_byte_table): Renamed from `copy_char_byte_table'.
3100 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3101 `Lisp_Char_Byte_Table'.
3102 (byte_table): Renamed from `char_byte_table'.
3103 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3104 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3105 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3106 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3108 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3110 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3111 (dfc_convert_to_internal_format): Likewise.
3113 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3114 * text-coding.c (Fcoding_system_alias_p): New function.
3115 * text-coding.c (Fcoding_system_aliasee): New function.
3116 * text-coding.c (append_suffix_to_symbol): New function.
3117 * text-coding.c (dangling_coding_system_alias_p): New function.
3118 * text-coding.c (Ffind_coding_system):
3119 * text-coding.c (Fcopy_coding_system):
3120 * text-coding.c (encode_coding_no_conversion):
3121 * text-coding.c (syms_of_file_coding):
3122 * text-coding.c (vars_of_file_coding):
3123 Rewrite coding system alias code.
3124 Allow nested aliases, like symbolic links.
3125 Allow redefinition of coding system aliases.
3126 Prevent existence of dangling coding system aliases.
3127 Eliminate convert_to_external_format.
3128 Eliminate convert_to_internal_format.
3130 * text-coding.c: Change enum eol_type to eol_type_t.
3132 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3134 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3135 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3137 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3138 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3140 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3142 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3143 `ideograph-daikanwa'.
3145 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3146 (Vcharset_ucs_bmp): Likewise.
3147 (Vcharset_mojikyo): Add new extern variable definition.
3148 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3149 (Vcharset_latin_iso8859_3): Likewise.
3150 (Vcharset_latin_iso8859_4): Likewise.
3151 (Vcharset_latin_iso8859_9): Likewise.
3152 (Vcharset_latin_viscii_lower): Likewise.
3153 (Vcharset_latin_viscii_upper): Likewise.
3154 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3155 `mojikyo' code-point is used to decode.
3156 (encode_char_2): New function [to convert `mojikyo' code-point to
3157 Mojikyo font encoding].
3158 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3159 (breakup_char_1): Likewise.
3160 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3162 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3164 * text-coding.c (Fmake_coding_system): Add document about
3165 `disable-composition' property.
3167 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3169 * text-coding.c (Qdisable_composition): New variable; delete
3171 (Fmake_coding_system): Add new property `disable-composite';
3172 delete property `composite'.
3173 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3174 instead of `!CODING_SYSTEM_COMPOSITE'.
3175 (syms_of_file_coding): Add new symbol `disable-composition';
3176 delete symbol `composite'.
3178 * file-coding.h (struct Lisp_Coding_System): Add
3179 `disable_composition'; delete `enable_composition'.
3180 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3181 `CODING_SYSTEM_COMPOSITE'.
3182 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3183 `XCODING_SYSTEM_COMPOSITE'.
3185 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3187 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3190 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3192 * text-coding.c (Qcomposite): New variable.
3193 (Fmake_coding_system): Add new property `composite'.
3194 (struct decoding_stream): Add `combined_char_count',
3195 `combined_chars' and `combining_table' in UTF-2000.
3196 (COMPOSE_FLUSH_CHARS): New macro.
3197 (COMPOSE_ADD_CHAR): New macro.
3198 (reset_decoding_stream): Reset `str->combined_char_count' and
3199 `str->combining_table' in UTF-2000.
3200 (decode_coding_iso2022): Modify for character-decomposition.
3201 (syms_of_file_coding): Add new symbol `composite'.
3203 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3205 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3206 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3207 of `Vcharacter_composition_table' if `->decomposition' property
3209 (Qlatin_tcvn5712): New variable.
3210 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3211 (complex_vars_of_mule_charset): Add new coded-charset
3214 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3216 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3218 * file-coding.h (struct Lisp_Coding_System): Add
3219 `enable_composition'.
3220 (CODING_SYSTEM_COMPOSITE): New macro.
3221 (XCODING_SYSTEM_COMPOSITE): New macro.
3223 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3225 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3227 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3229 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3230 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3232 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3234 * mule-charset.c (Vcharset_mojikyo): New variable.
3235 (Fdefine_char): Don't use coded-charset which does not have
3236 non-builtin character range to allocate character-id.
3237 (Qmojikyo): New variable.
3238 (syms_of_mule_charset): Add new symbol `mojikyo'.
3239 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3241 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3242 (LEADING_BYTE_MOJIKYO): New macro.
3243 (MIN_CHAR_MOJIKYO): New macro.
3244 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3245 (MAX_CHAR_MOJIKYO): New macro.
3247 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3249 * mule-charset.c (remove_char_attribute): Fixed.
3251 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3253 * mule-charset.c (remove_char_attribute): New function.
3254 (Fremove_char_attribute): New function.
3255 (encode_builtin_char_1): Comment out builtin-support for
3256 greek-iso8859-7 and cyrillic-iso8859-5.
3257 (Fdecode_char): Check `code' is an integer.
3258 (syms_of_mule_charset): Add `remove-char-attribute'.
3259 (MIN_CHAR_GREEK): Deleted.
3260 (MAX_CHAR_GREEK): Likewise.
3261 (MIN_CHAR_CYRILLIC): Likewise.
3262 (MAX_CHAR_CYRILLIC): Likewise.
3263 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3264 MAX_CHAR_GREEK for `greek-iso8859-7'.
3266 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3267 (MAX_CHAR_GREEK): Likewise.
3268 (MIN_CHAR_CYRILLIC): Likewise.
3269 (MAX_CHAR_CYRILLIC): Likewise.
3271 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3273 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3274 format is used without `ucs' property.
3275 (Fdecode_char): Fix problem with GR representation.
3276 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3277 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3279 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3281 * mule-charset.c (make_builtin_char): New function.
3282 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3283 (Fset_charset_mapping_table): Modify for new representation of
3285 (Fdecode_char): New function.
3286 (syms_of_mule_charset): Add new builtin function `decode-char' in
3289 * char-ucs.h (make_builtin_char): New prototype.
3290 (DECODE_CHAR): New inline function.
3291 (MAKE_CHAR): Use `DECODE_CHAR'.
3293 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3295 * text-coding.c (parse_charset_conversion_specs): Use
3296 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3298 (iso2022_designate): Likewise.
3300 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3301 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3303 * mule-charset.c (Vcharset_ucs): New variable.
3304 (print_charset): Change design; use `CHARSET_CHARS' and
3305 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3306 (make_charset): Change signature to specify `chars' and
3307 `dimension' instead of `type'.
3308 (range_charset_code_point): Modify for 256^n-set.
3309 (encode_builtin_char_1): Encode as `ucs' in default.
3310 (Fmake_charset): Modify for `make_charset'.
3311 (Fmake_reverse_direction_charset): Likewise.
3312 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3314 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3317 * char-ucs.h (Vcharset_ucs): New variable.
3318 (LEADING_BYTE_UCS): New macro.
3319 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3320 and `chars' to `unsigned short' from `unsigned int'.
3321 (CHARSET_TYPE): Deleted.
3322 (XCHARSET_TYPE): Deleted.
3324 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3326 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3328 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3329 (ENCODE_CHAR): New macro.
3331 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3333 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3334 to 0.14 (Kawachi-Katakami).
3336 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3338 * text-coding.c (char_encode_shift_jis): Modify for
3339 `charset_code_point'.
3340 (char_encode_iso2022): Likewise.
3342 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3343 (integer) instead of list of <Lisp_Object>s (integers) as the
3344 format of code-point of a coded-charset.
3345 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3346 (encode_builtin_char_1): New function; delete
3347 `split_builtin_char'.
3348 (charset_code_point): Return <int> instead of <Lisp_Object>.
3349 (Fsplit_char): Don't use `SPLIT_CHAR'.
3351 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3352 prototype for `split_builtin_char'.
3353 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3354 (charset_code_point): Likewise.
3355 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3356 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3358 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3360 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3361 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3363 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3365 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3367 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3368 (MAX_CHAR_OBS_94x94): Deleted.
3370 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3372 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3374 * char-ucs.h (MAX_CHAR_BMP): New macro.
3376 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3378 * text-coding.c: Sync with r21-2-24.
3380 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3382 * file-coding.c: Modify for UTF-2000.
3384 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3386 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3389 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3391 * mule-charset.c (split_builtin_char): Delete builtin support for
3392 `katakana-jisx0201'.
3393 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3394 BMP area in builtin representation.
3396 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3397 `Vcharset_katakana_jisx0201'.
3399 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3401 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3402 (Qisolated): New variable.
3403 (Qinitial): New variable.
3404 (Qmedial): New variable.
3405 (Qfinal): New variable.
3406 (Qvertical): New variable.
3407 (Qsmall): New variable.
3408 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3409 `Qvertical' and `Qsmall'.
3410 (Qmojikyo_pj_[1 .. 21]): New variable.
3411 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3412 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3413 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3416 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3418 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3419 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3420 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3422 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3424 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3425 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3427 (Qjapanese_jisx0208_1990): New variable.
3428 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3429 (complex_vars_of_mule_charset): Add new coded-charset
3430 `japanese-jisx0208-1990'.
3432 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3433 (MIN_CHAR_JIS_X0208_1990): New macro.
3434 (MAX_CHAR_JIS_X0208_1990): New macro.
3436 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3438 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3439 coded-charset is not found.
3441 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3443 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3444 (Fdefine_char): Use `Fmake_char'.
3446 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3448 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3449 (Vcharset_hiragana_jisx0208): Deleted.
3450 (Vcharset_katakana_jisx0208): Deleted.
3451 (Qideograph_daikanwa): New variable.
3452 (Qhiragana_jisx0208): Deleted.
3453 (Qkatakana_jisx0208): Deleted.
3454 (split_builtin_char): Split `ideograph-daikanwa'.
3455 (Fsplit_char): New implementation for UTF-2000.
3456 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3457 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3458 (complex_vars_of_mule_charset): Add new coded-charset
3459 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3460 `katakana-jisx0208'.
3462 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3463 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3464 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3465 (MIN_CHAR_DAIKANWA): New macro.
3466 (MAX_CHAR_DAIKANWA): New macro.
3468 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3470 * data.c (Fstring_to_number): Don't recognize floating point if
3473 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3475 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3477 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3479 * mule-charset.c (Qsquare): New variable.
3480 (to_char_code): Add `Qsquare'.
3481 (syms_of_mule_charset): Add new symbol `square'.
3483 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3485 * mule-charset.c (Qcircle): New variable.
3486 (to_char_code): Add `Qcircle'.
3487 (syms_of_mule_charset): Add new symbol `circle'.
3489 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3491 * mule-charset.c (Qfont): New variable.
3492 (to_char_code): Add `Qfont'.
3493 (syms_of_mule_charset): Add new symbol `font'.
3495 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3497 * mule-charset.c (Qsub): New variable.
3498 (to_char_code): Add `Qsub'.
3499 (syms_of_mule_charset): Add new symbol `sub'.
3501 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3503 * mule-charset.c (Fput_char_attribute): Convert each element of
3504 VALUE to GL position if ATTRIBUTE is a GR-set,
3506 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3508 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3509 coded-charset is a GR-set.
3511 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3513 * mule-charset.c (Fput_char_attribute): Check each element of
3514 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3516 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3518 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3520 (Qethiopic_ucs): New variable in UTF-2000.
3521 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3522 (complex_vars_of_mule_charset): Add new coded-charset
3523 `ethiopic-ucs' in UTF-2000.
3525 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3526 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3528 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3530 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3532 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3534 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3537 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3539 * mule-charset.c (Vcharacter_variant_table): New variable.
3540 (Q_ucs): New variable.
3541 (Fchar_variants): New function.
3542 (Fput_char_attribute): Register `->ucs' value to
3543 `Vcharacter_variant_table'.
3544 (syms_of_mule_charset): Add new function `char-variants' and new
3546 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3548 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3550 * mule-charset.c (get_char_code_table): Allow negative character
3552 (put_char_code_table): Likewise.
3553 (Vcharacter_composition_table): New variable.
3554 (Q_decomposition): New variable.
3555 (Qwide): New variable.
3556 (Qnarrow): New variable.
3557 (Qcompat): New variable.
3558 (QnoBreak): New variable.
3559 (Qsuper): New variable.
3560 (Qfraction): New variable.
3561 (to_char_code): New function.
3562 (Fget_composite_char): New function.
3563 (Fput_char_attribute): Register `->decomposition' value to
3564 `Vcharacter_composition_table'.
3565 (syms_of_mule_charset): Add new function `get-composite-char', new
3566 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3567 `super' and `fraction'.
3568 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3570 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3572 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3573 character; copy the return value.
3575 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3577 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3579 * mule-charset.c (range_charset_code_point): Must use make_int.
3580 (split_builtin_char): New function.
3582 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3584 * mule-charset.c (char_byte_table): Change name from
3585 "char-code-table" to "char-byte-table".
3586 (mark_char_code_table): New function.
3587 (char_code_table_equal): New function.
3588 (char_code_table_hash): New function.
3589 (char_code_table_description): New constant.
3590 (char_code_table): New type.
3591 (make_char_code_table): New function.
3592 (copy_char_code_table): New function.
3593 (get_char_code_table): Modify for `char_code_table' type.
3594 (put_char_code_table): Likewise.
3595 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3598 * char-ucs.h (char_code_table): New type.
3599 (XCHAR_CODE_TABLE): New macro.
3600 (XSETCHAR_CODE_TABLE): New macro.
3601 (CHAR_CODE_TABLE_P): New macro.
3602 (GC_CHAR_CODE_TABLE_P): New macro.
3603 (struct Lisp_Char_Code_Table): New structure.
3605 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3607 * mule-charset.c (Fmake_charset): Setup byte_offset for
3610 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3612 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3615 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3617 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3620 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3622 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3623 charset, it is regarded as a charset.
3624 (put_char_attribute): New function in UTF-2000.
3625 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3626 charset, mapping-table of the charset is modified.
3627 (Fdefine_char): New function in UTF-2000.
3628 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3629 `Fput_char_attribute'.
3630 (syms_of_mule_charset): Add new function `define-char' and new
3631 symbol `ucs' in UTF-2000.
3632 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3634 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3636 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3637 non-UTF-2000 configuration.
3639 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3641 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3642 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3644 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3646 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3647 (Fset_charset_mapping_table): Likewise.
3649 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3650 (CHARSET_ENCODING_TABLE): Delete.
3651 (XCHARSET_ENCODING_TABLE): Delete.
3652 (charset_code_point): New interface.
3654 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3656 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3657 instead of `charset_get_byte1' and `charset_get_byte2'.
3659 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3660 (charset_get_byte2): Deleted.
3662 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3664 * char-ucs.h (SPLIT_CHAR): New inline function.
3665 (breakup_char_1): Use `SPLIT_CHAR'.
3667 * mule-charset.c (range_charset_code_point): New function.
3668 (charset_code_point): New function.
3670 * char-ucs.h (range_charset_code_point): New interface.
3671 (breakup_char_1): Use `range_charset_code_point'.
3673 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3675 * mule-charset.c (Fmake_charset): Delete unused local variable
3678 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3679 (breakup_char_1): Find a charset and code-point in
3680 `Vcharacter_attribute_table'.
3682 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3684 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3687 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3689 * mule-charset.c (Vcharacter_attribute_table): New variable.
3690 (Fchar_attribute_alist): New function.
3691 (Fget_char_attribute): New function.
3692 (Fput_char_attribute): New function.
3693 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3695 (syms_of_mule_charset): Add new function `char-attribute-alist',
3696 `get-char-attribute' and `put-char-attribute'.
3697 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3699 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3701 * mule-charset.c (Fmake_charset): Just use
3702 `get_unallocated_leading_byte'.
3704 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3705 sets; don't use final-byte based number for private sets.
3707 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3709 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3712 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3714 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3717 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3719 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3720 of `CHAR_LEADING_BYTE' in UTF-2000.
3722 * insdel.c (find_charsets_in_bufbyte_string): Use
3723 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3724 (find_charsets_in_emchar_string): Likewise.
3726 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3727 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3729 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3730 (CHAR_CHARSET_ID): New macro.
3732 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3734 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3735 charset-id - MIN_LEADING_BYTE.
3736 (put_char_table): Likewise.
3738 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3740 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3741 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3742 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3743 (CHARSET_ID_OFFSET): New macro.
3744 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3745 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3746 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3747 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3749 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3751 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3752 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3753 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3754 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3755 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3757 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3759 * mule-charset.c (next_allocated_leading_byte): New variable in
3761 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3762 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3763 (get_unallocated_leading_byte): Simply use
3764 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3765 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3768 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3769 (MAX_LEADING_BYTE_PRIVATE): New macro.
3770 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3771 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3773 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3775 * mule-charset.c (Fmake_charset): Allocate final-byte based
3776 charset-id for 94-set, 96-set and 94x94-set.
3778 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3780 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3782 (Fmake_charset): Likewise.
3783 (complex_vars_of_mule_charset): Modify the font registry of
3784 `ucs-bmp' not to match `Ethiopic-Unicode'.
3786 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3788 * mule-charset.c (complex_vars_of_mule_charset): Add font
3789 registory of `ucs-bmp'.
3791 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3793 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3794 coded-charsets in `default-coded-charset-priority-list' when
3795 breaking up a character.
3797 * mule-charset.c (Vcharset_latin_viscii): New variable.
3798 (Qlatin_viscii): New variable.
3799 (make_charset): Don't use `decoding_table'.
3800 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3802 (Fset_charset_mapping_table): New implementation.
3803 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3804 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3805 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3806 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3807 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3808 charset `latin_viscii'.
3810 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3811 (CHARSET_TYPE_94X94): Change to 1 from 2.
3812 (CHARSET_TYPE_96): Change to 2 from 1.
3813 (CHARSET_TYPE_128): New macro.
3814 (CHARSET_TYPE_128X128): Change to 5 from 4.
3815 (CHARSET_TYPE_256): New macro.
3816 (CHARSET_TYPE_256X256): Change to 7 from 5.
3817 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3819 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3821 * text-coding.c (char_encode_shift_jis): Refer
3822 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3823 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3825 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3826 (char_byte_table_equal): New function in UTF-2000.
3827 (char_byte_table_hash): New function in UTF-2000.
3828 (char_byte_table_description): New constant in UTF-2000.
3829 (char_byte_table): New type in UTF-2000.
3830 (make_char_byte_table): New function in UTF-2000.
3831 (copy_char_byte_table): New function in UTF-2000.
3832 (make_char_code_table): New macro in UTF-2000.
3833 (get_char_code_table): New function in UTF-2000.
3834 (put_char_code_table): New function in UTF-2000.
3835 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3836 (charset_description): Add setting in UTF-2000.
3837 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3838 `CHARSET_TO_BYTE1_TABLE(cs)'.
3839 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3840 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3841 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3842 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3843 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3844 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3845 `CHARSET_TO_BYTE2_TABLE(cs)'.
3847 * char-ucs.h (char_byte_table): New type.
3848 (XCHAR_BYTE_TABLE): New macro.
3849 (XSETCHAR_BYTE_TABLE): New macro.
3850 (CHAR_BYTE_TABLE_P): New macro.
3851 (GC_CHAR_BYTE_TABLE_P): New macro.
3852 (struct Lisp_Char_Byte_Table): New structure.
3853 (get_char_code_table): New interface.
3854 (Emchar_to_byte_table): Deleted.
3855 (get_byte_from_character_table): Deleted.
3856 (struct Lisp_Charset): Add `encoding_table'; delete
3857 `to_byte1_table' and `to_byte2_table'.
3858 (CHARSET_ENCODING_TABLE): New macro.
3859 (CHARSET_TO_BYTE1_TABLE): Deleted.
3860 (CHARSET_TO_BYTE2_TABLE): Deleted.
3861 (XCHARSET_ENCODING_TABLE): New macro.
3862 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3863 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3865 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3867 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3868 `vietnamese-viscii-*'.
3870 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3872 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3873 (Qvietnamese_viscii_upper): New variable.
3874 (Fdefine_charset_alias): New function.
3875 (syms_of_mule_charset): Add new function `define-charset-alias'.
3876 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3877 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3880 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3882 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3883 (MAX_CHAR_OBS_94x94): New macro.
3884 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3887 * mule-charset.c (put_byte_from_character_table): Change unit size
3889 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3891 (Fmake_reverse_direction_charset): Modify dummy argument of
3892 `make_charset' for non-UTF-2000 environment.
3894 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3896 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3898 * mule-charset.c (destroy_byte_from_character_table): New macro.
3899 (latin_jisx0201_to_ucs): Deleted.
3900 (latin_iso8859_2_to_ucs): Deleted.
3901 (latin_iso8859_3_to_ucs): Deleted.
3902 (latin_iso8859_4_to_ucs): Deleted.
3903 (latin_iso8859_9_to_ucs): Deleted.
3904 (latin_viscii_lower_to_ucs): Deleted.
3905 (latin_viscii_upper_to_ucs): Deleted.
3906 (mark_charset): Mark `cs->decoding_table'.
3907 (Fcharset_mapping_table): Fix DOC-string.
3908 (Fset_charset_mapping_table): New function.
3909 (syms_of_mule_charset): Add nwe function
3910 `set-charset-mapping-table'.
3911 (complex_vars_of_mule_charset): Don't setup and use
3914 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3916 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3919 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3921 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3922 (Vcharset_katakana_jisx0208): New variable.
3923 (Qhiragana_jisx0208): New variable.
3924 (Qkatakana_jisx0208): New variable.
3925 (make_charset): Add new argument `byte_offset'.
3926 (charset_get_byte1): Modify for new coded-charset definition; use
3927 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3928 `XCHARSET_BYTE_OFFSET'.
3929 (Fmake_charset): Modify for `make_charset'.
3930 (Fmake_reverse_direction_charset): Likewise.
3931 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3932 `katakana-jisx0208'.
3933 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3934 `.' in font registry of charset `katakana-jisx0201',
3935 `latin-jisx0201', `vietnamese-viscii-lower' and
3936 `vietnamese-viscii-upper'; modify DOC-string of charset
3937 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3938 registry of charset `japanese-jisx0208' not to use font for JIS
3939 X0208:1990; add new charset `hiragana-jisx0208' and
3940 `katakana-jisx0208'.
3942 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3943 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3944 (struct Lisp_Charset): Add `byte_offset'.
3945 (CHARSET_BYTE_OFFSET): New macro.
3946 (XCHARSET_UCS_MIN): New macro.
3947 (XCHARSET_UCS_MAX): New macro.
3948 (XCHARSET_CODE_OFFSET): New macro.
3949 (XCHARSET_BYTE_OFFSET): New macro.
3950 (MIN_CHAR_HIRAGANA): New macro.
3951 (MAX_CHAR_HIRAGANA): New macro.
3952 (MIN_CHAR_KATAKANA): New macro.
3953 (MAX_CHAR_KATAKANA): New macro.
3954 (MAKE_CHAR): Modify for new coded-charset definition; use
3955 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3956 `XCHARSET_BYTE_OFFSET'.
3958 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3960 * mule-charset.c (CHAR96): Deleted.
3961 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3963 (latin_iso8859_2_to_ucs): Likewise.
3964 (latin_iso8859_3_to_ucs): Likewise.
3965 (latin_iso8859_4_to_ucs): Likewise.
3966 (latin_iso8859_9_to_ucs): Likewise.
3967 (latin_viscii_lower_to_ucs): Likewise.
3968 (latin_viscii_upper_to_ucs): Likewise.
3969 (latin_tcvn5712_to_ucs): Commented out.
3970 (make_charset): Change type of argument `decoding_table' from
3971 <Emchar*> to <Lisp_Object> [vector of characters].
3972 (Fmake_charset): Modify for `make_charset'.
3973 (Fmake_reverse_direction_charset): Likewise.
3974 (Fcharset_mapping_table): New function in UTF-2000.
3975 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3977 (complex_vars_of_mule_charset): Modify for type change of
3978 `*_to_ucs'; modify for `make_charset'.
3980 * char-ucs.h (struct Lisp_Charset): Change type of
3981 `decoding_table' from <Emchar*> to <Lisp_Object>.
3982 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3984 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3986 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3987 error with non-UTF-2000-Mule.
3989 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3991 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3993 (Vcharset_chinese_cns11643_4): Likewise.
3994 (Vcharset_chinese_cns11643_5): Likewise.
3995 (Vcharset_chinese_cns11643_6): Likewise.
3996 (Vcharset_chinese_cns11643_7): Likewise.
3997 (Qchinese_cns11643_3): Likewise.
3998 (Qchinese_cns11643_4): Likewise.
3999 (Qchinese_cns11643_5): Likewise.
4000 (Qchinese_cns11643_6): Likewise.
4001 (Qchinese_cns11643_7): Likewise.
4002 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4003 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4004 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4005 (complex_vars_of_mule_charset): Likewise.
4007 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4009 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4011 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4012 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4014 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4016 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4018 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4019 (breakup_char_1): Likewise.
4021 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4022 one of them includes the specified character.
4024 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4026 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4028 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4030 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4032 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4034 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4035 definition for non-UTF-2000 Mule.
4036 (latin_iso8859_3_to_ucs): Likewise.
4037 (latin_iso8859_4_to_ucs): Likewise.
4038 (latin_iso8859_9_to_ucs): Likewise.
4039 (latin_jisx0201_to_ucs): Likewise.
4040 (MIN_CHAR_THAI): Likewise.
4041 (MAX_CHAR_THAI): Likewise.
4042 (MIN_CHAR_GREEK): Likewise.
4043 (MAX_CHAR_GREEK): Likewise.
4044 (MIN_CHAR_HEBREW): Likewise.
4045 (MAX_CHAR_HEBREW): Likewise.
4046 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4047 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4048 (MIN_CHAR_CYRILLIC): Likewise.
4049 (MAX_CHAR_CYRILLIC): Likewise.
4051 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4053 * char-ucs.h (breakup_char_1): Use
4054 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4055 thai-tis620 and katakana-jisx0201 area.
4057 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4059 * char-ucs.h (breakup_char_1): Use
4060 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4063 * text-coding.c (reset_encoding_stream): Fixed.
4064 (char_encode_ucs4): Delete `& 255'.
4066 * char-ucs.h (breakup_char_1): Use
4067 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4069 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4071 * file-coding.c (Fmake_coding_system): Don't set up
4072 `codesys->fixed.size'.
4073 (encode_coding_no_conversion): Don't refer
4074 `str->codesys->fixed.size'.
4076 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4078 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4079 (latin_a_char_to_byte1): Deleted.
4080 (latin_a_char_to_byte2): Deleted.
4082 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4084 * mule-charset.c (make_charset): Add new argument `ucs_min',
4085 `ucs_max' and `code_offset'.
4086 (charset_get_byte1): New implementation [delete specific charset
4087 depended implementations].
4088 (Fmake_charset): Modify for `make_charset'.
4089 (Fmake_reverse_direction_charset): Likewise.
4090 (complex_vars_of_mule_charset): Likewise.
4092 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4094 (CHARSET_UCS_MIN): New macro.
4095 (CHARSET_UCS_MAX): New macro.
4096 (CHARSET_CODE_OFFSET): New macro.
4097 (MAKE_CHAR): Delete charset depended definitions [except
4100 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4102 * char-ucs.h (breakup_char_1): Use
4103 `Vdefault_coded_charset_priority_list' for C0-Controls,
4104 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4106 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4108 * char-ucs.h (charset_get_byte1): New function.
4109 (XCHARSET_GET_BYTE1): Deleted.
4110 (charset_get_byte2): New function.
4111 (XCHARSET_GET_BYTE2): Deleted.
4112 (Vdefault_coded_charset_priority_list): New external variable.
4113 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4114 `Vdefault_preferred_coded_charset_list'.
4116 * mule-charset.c (charset_get_byte1): New function.
4117 (charset_get_byte2): New function.
4118 (Vdefault_coded_charset_priority_list): New variable.
4119 (vars_of_mule_charset): Add new variable
4120 `default-coded-charset-priority-list'.
4122 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4124 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4125 (XCHARSET_GET_BYTE2): New inline function.
4126 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4127 `XCHARSET_GET_BYTE2'.
4129 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4131 * mule-charset.c (make_charset): Initialize
4132 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4133 NULL if table is not defined.
4135 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4137 * text-coding.c (char_encode_shift_jis): Use
4138 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4139 `ucs_to_latin_jisx0201'.
4141 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4142 (ucs_to_latin_iso8859_2): Deleted.
4143 (ucs_to_latin_iso8859_3): Deleted.
4144 (ucs_to_latin_iso8859_4): Deleted.
4145 (ucs_to_latin_iso8859_9): Deleted.
4146 (ucs_to_latin_viscii_lower): Deleted.
4147 (ucs_to_latin_viscii_upper): Deleted.
4148 (ucs_to_latin_tcvn5712): Deleted.
4149 (make_charset): Add new argument `decoding_table'; set up
4150 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4151 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4152 `decoding_table' is defined in UTF-2000.
4153 (Fmake_charset): Modify for `make_charset'.
4154 (Fmake_reverse_direction_charset): Likewise.
4155 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4156 and `GENERATE_96_SET'.
4158 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4159 (ucs_to_latin_jisx0201): Deleted.
4160 (latin_iso8859_2_to_ucs): Deleted.
4161 (ucs_to_latin_iso8859_2): Deleted.
4162 (latin_iso8859_3_to_ucs): Deleted.
4163 (ucs_to_latin_iso8859_3): Deleted.
4164 (latin_iso8859_4_to_ucs): Deleted.
4165 (ucs_to_latin_iso8859_4): Deleted.
4166 (latin_iso8859_9_to_ucs): Deleted.
4167 (ucs_to_latin_iso8859_9): Deleted.
4168 (latin_viscii_lower_to_ucs): Deleted.
4169 (ucs_to_latin_viscii_lower): Deleted.
4170 (latin_viscii_upper_to_ucs): Deleted.
4171 (ucs_to_latin_viscii_upper): Deleted.
4172 (struct Lisp_Charset): Renamed `encoding_table' to
4173 `to_byte1_table'; add `to_byte2_table'.
4174 (CHARSET_DECODING_TABLE): New macro.
4175 (CHARSET_TO_BYTE1_TABLE): New macro.
4176 (CHARSET_TO_BYTE2_TABLE): New macro.
4177 (XCHARSET_DECODING_TABLE): New macro.
4178 (XCHARSET_TO_BYTE1_TABLE): New macro.
4179 (XCHARSET_TO_BYTE2_TABLE): New macro.
4180 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4182 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4183 don't use `ucs_to_*' tables.
4185 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4187 * text-coding.c (Fmake_coding_system): Don't set up
4188 `codesys->fixed.size'.
4189 (encode_coding_no_conversion): Use `if' instead of `switch'.
4191 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4193 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4195 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4196 (Fmake_charset): Modify for `make_charset'.
4197 (Fmake_reverse_direction_charset): Likewise.
4198 (complex_vars_of_mule_charset): Likewise.
4200 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4202 * text-coding.c (char_encode_shift_jis): Use table
4203 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4205 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4207 * text-coding.c (text_encode_generic): Use `if' instead of
4209 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4212 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4214 * text-coding.c (encode_coding_sjis): Deleted.
4215 (char_encode_shift_jis): New function.
4216 (char_finish_shift_jis): New function.
4217 (reset_encoding_stream): Set up `encode_char' and `finish' for
4218 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4219 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4220 (char_encode_utf8): Treat `eol_type'.
4222 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4224 * file-coding.c (decode_coding_iso2022): Use
4225 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4227 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4229 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4232 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4234 * char-lb.h (CHAR_COLUMNS): New macro.
4236 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4238 * text-coding.c (char_encode_ucs4): New function.
4239 (char_finish_ucs4): New function.
4240 (encode_coding_ucs4): Deleted.
4241 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4242 (text_encode_generic): Delete local variable `charset' and `half'.
4243 (ucs_to_mule_table): Deleted.
4244 (mule_to_ucs_table): Deleted.
4245 (Fset_ucs_char): Deleted.
4246 (ucs_to_char): Deleted.
4247 (Fucs_char): Deleted.
4248 (Fset_char_ucs): Deleted.
4249 (Fchar_ucs): Deleted.
4250 (decode_ucs4): Deleted.
4251 (mule_char_to_ucs4): Deleted.
4252 (encode_ucs4): Deleted.
4253 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4254 (decode_coding_utf8): Likewise.
4255 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4256 (char_encode_iso2022): Fixed.
4257 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4258 `Fset_char_ucs' and `Fchar_ucs'.
4259 (complex_vars_of_file_coding): Don't initialize
4260 `ucs_to_mule_table'.
4262 * objects-tty.c (tty_initialize_font_instance): Don't use
4265 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4268 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4269 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4271 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4272 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4273 (emchar_string_displayed_columns): Likewise.
4275 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4276 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4277 (string_column_at_point): Likewise.
4278 (Fmove_to_column): Likewise.
4280 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4281 `encoding_table' and `decoding_table'.
4282 (CHARSET_REP_BYTES): Deleted.
4283 (XCHARSET_REP_BYTES): Deleted.
4284 (XCHARSET_COLUMNS): Deleted.
4285 (CHAR_COLUMNS): New macro.
4286 (lookup_composite_char): Deleted unconditionally.
4287 (composite_char_string): Likewise.
4289 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4291 * char-ucs.h (Emchar_to_byte_table): New type.
4292 (get_byte_from_character_table): New function interface.
4293 (Vcharset_latin_jisx0201): New variable.
4294 (latin_jisx0201_to_ucs): New variable.
4295 (ucs_to_latin_jisx0201): New variable.
4296 (Vcharset_latin_iso8859_2): New variable.
4297 (latin_iso8859_2_to_ucs): New variable.
4298 (ucs_to_latin_iso8859_2): New variable.
4299 (Vcharset_latin_iso8859_3): New variable.
4300 (latin_iso8859_3_to_ucs): New variable.
4301 (ucs_to_latin_iso8859_3): New variable.
4302 (Vcharset_latin_iso8859_4): New variable.
4303 (latin_iso8859_4_to_ucs): New variable.
4304 (ucs_to_latin_iso8859_4): New variable.
4305 (Vcharset_latin_iso8859_9): New variable.
4306 (latin_iso8859_9_to_ucs): New variable.
4307 (ucs_to_latin_iso8859_9): New variable.
4308 (Vcharset_latin_viscii_lower): New variable.
4309 (latin_viscii_lower_to_ucs): New variable.
4310 (ucs_to_latin_viscii_lower): New variable.
4311 (Vcharset_latin_viscii_upper): New variable.
4312 (latin_viscii_upper_to_ucs): New variable.
4313 (ucs_to_latin_viscii_upper): New variable.
4314 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4315 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4316 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4317 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4318 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4319 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4320 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4321 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4322 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4323 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4325 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4326 (Vcharset_latin_viscii_upper): New variable.
4327 (make_byte_from_character_table): New function.
4328 (put_byte_from_character_table): New function.
4329 (get_byte_from_character_table): New function.
4330 (CHAR96): New macro.
4331 (ucs_to_latin_jisx0201): New variable.
4332 (latin_jisx0201_to_ucs): New variable.
4333 (ucs_to_latin_iso8859_2): New variable.
4334 (latin_iso8859_2_to_ucs): New variable.
4335 (ucs_to_latin_iso8859_3): New variable.
4336 (latin_iso8859_3_to_ucs): New variable.
4337 (ucs_to_latin_iso8859_4): New variable.
4338 (latin_iso8859_4_to_ucs): New variable.
4339 (ucs_to_latin_iso8859_9): New variable.
4340 (latin_iso8859_9_to_ucs): New variable.
4341 (ucs_to_latin_viscii_lower): New variable.
4342 (latin_viscii_lower_to_ucs): New variable.
4343 (ucs_to_latin_viscii_upper): New variable.
4344 (latin_viscii_upper_to_ucs): New variable.
4345 (ucs_to_latin_tcvn5712): New variable.
4346 (latin_tcvn5712_to_ucs): New variable.
4347 (Qlatin_viscii_lower): New variable.
4348 (Qlatin_viscii_upper): New variable.
4349 (syms_of_mule_charset): Set up new symbol
4350 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4351 (complex_vars_of_mule_charset): Set up new charset
4352 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4353 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4354 `ucs_to_<CHARSET>' tables.
4356 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4358 * text-coding.c: New file.
4360 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4362 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4364 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4365 (MAKE_CHAR): Modify for `ucs-bmp'.
4366 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4367 non-MULE characters of BMP.
4369 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4371 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4374 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4377 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4378 - Include character.h for `CHAR_ASCII_P'.
4380 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4382 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4383 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4385 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4386 (BYTE_C0_P): Likewise.
4387 (BYTE_C1_P): Likewise.
4388 (Lstream_get_emchar_1): Likewise.
4389 (Lstream_fput_emchar): Likewise.
4390 (Lstream_funget_emchar): Likewise.
4391 (copy_internal_to_external): Likewise.
4392 (copy_external_to_internal): Likewise.
4394 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4395 (BYTE_C0_P): Likewise.
4396 (BYTE_C1_P): Likewise.
4397 (Lstream_get_emchar_1): Likewise.
4398 (Lstream_fput_emchar): Likewise.
4399 (Lstream_funget_emchar): Likewise.
4400 (copy_internal_to_external): Likewise.
4401 (copy_external_to_internal): Likewise.
4403 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4404 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4406 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4407 (BYTE_ASCII_P): Moved to mb-1byte.h.
4409 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4411 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4413 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4414 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4415 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4416 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4417 (VALIDATE_CHARPTR_FORWARD): Likewise.
4418 (simple_charptr_emchar): Moved to mb-multibyte.h.
4419 (simple_set_charptr_emchar): Likewise.
4420 (simple_charptr_copy_char): Likewise.
4421 (non_ascii_charptr_emchar): Likewise.
4422 (non_ascii_set_charptr_emchar): Likewise.
4423 (non_ascii_charptr_copy_char): Likewise.
4424 (charptr_emchar): Moved to mb-*byte.h.
4425 (set_charptr_emchar): Likewise.
4426 (charptr_copy_char): Likewise.
4428 * mb-1byte.h, mb-multibyte.h: New files.
4430 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4432 * mb-utf-8.h (MULTIBYTE): New macro.
4433 (MAX_EMCHAR_LEN): Moved from buffer.h.
4434 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4436 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4438 * mb-lb.h, multibyte.h: New files.
4440 * char-1byte.h (Charset_ID): Moved from buffer.h.
4441 (MIN_LEADING_BYTE): Likewise.
4442 (LEADING_BYTE_ASCII): Likewise.
4443 (NUM_LEADING_BYTES): Likewise.
4444 (CHARSETP): Likewise.
4445 (CHARSET_BY_LEADING_BYTE): Likewise.
4446 (XCHARSET_LEADING_BYTE): Likewise.
4447 (XCHARSET_GRAPHIC): Likewise.
4448 (XCHARSET_COLUMNS): Likewise.
4449 (XCHARSET_DIMENSION): Likewise.
4450 (CHAR_CHARSET): Likewise.
4451 (CHAR_LEADING_BYTE): Likewise.
4452 (BREAKUP_CHAR): Likewise.
4453 (Vcharset_ascii): Likewise.
4455 * buffer.h: Include multibyte.h unconditionally.
4456 (VALID_CHARPTR_P): Moved to multibyte.h.
4457 (ASSERT_VALID_CHARPTR): Likewise.
4458 (REAL_INC_CHARPTR): Likewise.
4459 (REAL_INC_CHARBYTIND): Likewise.
4460 (REAL_DEC_CHARPTR): Likewise.
4461 (INC_CHARPTR): Likewise.
4462 (INC_CHARBYTIND): Likewise.
4463 (DEC_CHARPTR): Likewise.
4464 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4465 (VALIDATE_CHARPTR_FORWARD): Likewise.
4466 (charptr_n_addr): Likewise.
4467 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4468 (simple_charptr_emchar): Moved to multibyte.h.
4469 (simple_set_charptr_emchar): Likewise.
4470 (simple_charptr_copy_char): Likewise.
4471 (non_ascii_charptr_emchar): Likewise.
4472 (non_ascii_set_charptr_emchar): Likewise.
4473 (non_ascii_charptr_copy_char): Likewise.
4474 (charptr_emchar): Likewise.
4475 (set_charptr_emchar): Likewise.
4476 (charptr_copy_char): Likewise.
4477 (charptr_emchar_n): Likewise.
4478 (Charset_ID): Moved to char-1byte.h.
4479 (Vcharset_ascii): Likewise.
4480 (CHAR_CHARSET): Likewise.
4481 (CHAR_LEADING_BYTE): Likewise.
4482 (LEADING_BYTE_ASCII): Likewise.
4483 (NUM_LEADING_BYTES): Likewise.
4484 (MIN_LEADING_BYTE): Likewise.
4485 (CHARSETP): Likewise.
4486 (CHARSET_BY_LEADING_BYTE): Likewise.
4487 (XCHARSET_LEADING_BYTE): Likewise.
4488 (XCHARSET_GRAPHIC): Likewise.
4489 (XCHARSET_COLUMNS): Likewise.
4490 (XCHARSET_DIMENSION): Likewise.
4491 (BREAKUP_CHAR): Likewise.
4493 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4495 * character.h: Add document about interface for characters.
4497 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4498 (MAKE_CHAR): Delete comment about
4499 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4500 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4501 (BREAKUP_CHAR): Modify name of arguments.
4502 (CHAR_CHARSET): Modify name of argument.
4504 * buffer.h: Delete document about Emchar accessors.
4506 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4508 * character.h (CHAR_INTP): Moved from buffer.h
4509 (CHAR_OR_CHAR_INTP): Likewise.
4510 (XCHAR_OR_CHAR_INT): Likewise.
4511 (CHECK_CHAR_COERCE_INT): Likewise.
4513 * buffer.h (CHAR_INTP): Moved to character.h
4514 (CHAR_OR_CHAR_INTP): Likewise.
4515 (XCHAR_OR_CHAR_INT): Likewise.
4516 (CHECK_CHAR_COERCE_INT): Likewise.
4518 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4521 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4522 - Include char-1byte.h, char-lb.h or char-ucs.h.
4524 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4526 * buffer.h: Include character unconditionally.
4527 (valid_char_p): Moved to char-*.h.
4528 (non_ascii_valid_char_p): Moved to char-lb.h.
4530 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4532 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4534 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4535 in UTF-2000 because it is not ported yet and not to use
4536 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4537 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4538 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4540 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4541 (CHAR_ASCII_P): Moved from character.h.
4543 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4544 (CHAR_ASCII_P): Likewise.
4545 (CHAR_FIELD1_MASK): Deleted.
4546 (CHAR_FIELD2_MASK): Deleted.
4547 (CHAR_FIELD3_MASK): Deleted.
4548 (MAX_CHAR_BASIC_LATIN): New macro.
4549 (CHAR_FIELD1): Deleted.
4550 (CHAR_FIELD2_INTERNAL): Deleted.
4551 (CHAR_FIELD3_INTERNAL): Deleted.
4552 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4553 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4554 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4555 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4556 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4557 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4558 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4559 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4560 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4561 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4562 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4563 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4564 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4565 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4566 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4567 (MIN_CHAR_COMPOSITION): Deleted.
4568 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4569 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4571 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4573 * buffer.h: Include mb-utf-8.h in UTF-2000.
4575 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4577 * mb-utf-8.h: New file.
4579 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4581 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4584 * mule-charset.h, buffer.h (Charset_ID): New type.
4586 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4588 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4589 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4590 instead of `MULE_CHAR_PRIVATE_OFFSET',
4591 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4592 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4593 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4595 * character.h (Vcharset_japanese_jisx0212): New variable
4598 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4600 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4601 (charset_by_attributes): Delete array about direction.
4602 (latin_a_char_to_charset): New variable in UTF-2000.
4603 (latin_a_char_to_byte1): New variable in UTF-2000.
4604 (latin_a_char_to_byte2): New variable in UTF-2000.
4605 (Qucs_bmp): New variable.
4606 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4608 (next_allocated_2_byte_leading_byte): Likewise.
4609 (non_ascii_set_charptr_emchar): Likewise.
4610 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4611 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4612 `charset_by_attributes'.
4613 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4614 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4615 and `CHARSET_BY_LEADING_BYTE'.
4616 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4617 `utf-2000-version' to `vars_of_mule_charset'.
4618 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4619 define `leading-code-private-11' in UTF-2000; move setting of
4620 `utf-2000-version' from `syms_of_mule_charset'.
4621 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4624 * character.h (Charset_ID): New type.
4625 (LEADING_BYTE_UCS_BMP): New macro.
4626 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4627 (CHARSET_ID_OFFSET_94): New macro.
4628 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4629 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4630 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4632 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4633 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4634 (CHARSET_ID_OFFSET_96): New macro.
4635 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4636 CHARSET_ID_OFFSET_96 and final-byte.
4637 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4638 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4639 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4640 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4641 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4642 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4643 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4644 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4645 (LEADING_BYTE_THAI_TIS620): Likewise.
4646 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4647 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4648 (CHARSET_ID_OFFSET_94x94): New macro.
4649 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4650 CHARSET_ID_OFFSET_94x94 and final-byte.
4651 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4652 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4653 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4654 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4655 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4656 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4657 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4658 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4659 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4660 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4661 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4662 (CHARSET_TYPE_128X128): New macro.
4663 (CHARSET_TYPE_256X256): New macro.
4664 (XCHARSET_PRIVATE_P): Delete unconditionally.
4665 (charset_by_attributes): Delete array about direction.
4666 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4667 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4668 (MIN_CHAR_94): New macro.
4669 (MAX_CHAR_94): New macro.
4670 (MIN_CHAR_96): New macro.
4671 (MAX_CHAR_96): New macro.
4672 (MIN_CHAR_94x94): New macro.
4673 (MAX_CHAR_94x94): New macro.
4674 (MIN_CHAR_96x96): New macro.
4675 (MAX_CHAR_96x96): New macro.
4676 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4677 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4678 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4680 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4681 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4682 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4683 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4684 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4685 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4686 `XCHARSET_LEADING_BYTE' to make code-point.
4687 (latin_a_char_to_charset): New variable.
4688 (latin_a_char_to_byte1): New variable.
4689 (latin_a_char_to_byte2): New variable.
4690 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4691 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4692 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4694 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4695 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4696 (find_charsets_in_emchar_string): Likewise.
4697 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4699 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4701 (decode_coding_iso2022): Likewise.
4703 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4706 * redisplay.c (redisplay_text_width_emchar_string): Use
4707 `Charset_ID' instead of `unsigned char'.
4708 (redisplay_frame_text_width_string): Likewise.
4710 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4713 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4714 instead of `unsigned char'.
4715 (face_cachel_charset_font_metric_info): Likewise.
4717 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4718 (get_non_ascii_char_table_value): Likewise.
4719 (get_char_table): Likewise.
4720 (put_char_table): Likewise.
4721 (map_over_other_charset): Likewise.
4722 (map_char_table): Likewise.
4724 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4725 instead of `unsigned char'.
4727 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4729 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4730 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4732 * mule-charset.c (leading_code_private_11): Don't define in
4735 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4736 in UTF-2000 because it is not ported yet and not to use
4737 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4739 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4741 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4743 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4745 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4748 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4749 of unsigned char to store leading-byte.
4751 * chartab.c (get_non_ascii_char_table_value): Don't use
4752 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4754 * file-coding.c (encode_coding_big5): Delete bogus implementation
4757 * character.h (LEADING_BYTE_*): Delete definition for
4759 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4760 (LEADING_BYTE_PREFIX_P): Deleted.
4761 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4762 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4763 (BUFBYTE_LEADING_BYTE_P): Deleted.
4764 (CHARSET_PRIVATE_P): Deleted unconditionally.
4765 (rep_bytes_by_first_byte): Deleted unconditionally.
4766 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4767 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4768 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4769 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4770 (CHAR_FIELD2): Deleted.
4771 (CHAR_FIELD3): Deleted.
4772 (MAKE_CHAR): Delete definition for non-UTF-2000.
4773 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4774 (breakup_char_1): New implementation.
4775 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4776 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4778 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4780 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4783 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4785 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4786 (CHARSET_PRIVATE_P): Likewise.
4787 (XCHARSET_PRIVATE_P): Likewise.
4788 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4790 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4792 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4794 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4796 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4797 (NUM_LEADING_BYTES): Changed from 128 to 256.
4798 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4799 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4801 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4803 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4805 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4806 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4807 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4808 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4809 (Qchinese_cns11643_3): New variable in UTF2000.
4810 (Qchinese_cns11643_4): New variable in UTF2000.
4811 (Qchinese_cns11643_5): New variable in UTF2000.
4812 (Qchinese_cns11643_6): New variable in UTF2000.
4813 (Qchinese_cns11643_7): New variable in UTF2000.
4814 (syms_of_mule_charset): Define `chinese-cns11643-3',
4815 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4816 and `chinese-cns11643-7' in UTF2000.
4817 (vars_of_mule_charset): Initialize
4818 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4820 (complex_vars_of_mule_charset): Setup charset
4821 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4822 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4824 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4826 * mule-charset.c: Move setting for `leading-code-private-11' from
4827 `syms_of_mule_charset' to `vars_of_mule_charset'.
4829 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4831 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4832 and `NUM_LEADING_BYTES' in assert.
4834 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4836 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4838 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4839 `NUM_LEADING_BYTES' instead of 128.
4841 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4843 * mule-charset.h (charset_by_leading_byte): Use
4844 `NUM_LEADING_BYTES' instead of 128.
4845 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4847 * mule-charset.c (charset_by_leading_byte): Use
4848 `NUM_LEADING_BYTES' instead of 128.
4849 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4851 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4854 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4856 * mule-charset.c (syms_of_mule_charset): Update to
4859 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4861 * file-coding.c (encode_coding_sjis): New implementation for
4862 UTF2000. (decode_coding_sjis): Ditto.
4864 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4866 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4867 Don't define in UTF2000.
4869 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4872 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4873 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4876 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4878 * config.h.in (CHAR_IS_UCS4): New macro.
4880 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4881 conventional MULE representation.
4882 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4884 * mule-charset.h: Reverted to original.
4886 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4887 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4888 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4890 * character.h: New file.
4892 * file-coding.c (Fmake_coding_system): Set 1 to
4893 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4895 (encode_coding_no_conversion): New implementation for UTF2000.
4897 * file-coding.h (struct Lisp_Coding_System): Add new member
4900 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4902 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4903 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4904 (encode_coding_iso2022): New implementation for UTF2000.
4906 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4908 * mule-canna.c (c2mu): New implementation for UTF2000.
4911 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4913 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4915 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4917 * file-coding.c (reset_encoding_stream): Set 0 to
4918 `str->iso2022.current_char_boundary' in UTF2000.
4919 (encode_utf8): Don't define in UTF2000.
4920 (encode_coding_utf8): New implementation for UTF-8 representation
4922 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4924 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4926 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4928 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4930 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4932 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4934 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4935 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4936 as UTF-8 in UTF2000.
4937 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4938 (non_ascii_valid_char_p): Don't define in UTF2000.
4939 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4940 (Lstream_get_emchar_1): Likewise.
4941 (utf-2000-version): New variable in UTF2000.
4943 * lread.c (read_escape): Add new reader `u'.
4945 * insdel.c (three_to_one_table): Don't define in UTF2000.
4946 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4947 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4949 (bytind_to_bufpos_func): Likewise.
4950 (buffer_mule_signal_inserted_region): Likewise.
4951 (vars_of_insdel): Don't initialize `three_to_one_table'.
4952 (init_buffer_text): Use `buf->text->mule_size' instead of
4953 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4956 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4957 UTF-8 representation in UTF2000.
4958 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4959 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4960 (decode_coding_iso2022): Don't define local variable `lb' in
4961 UTF2000; don't use LEADING_BYTE in UTF2000; use
4962 `DECODE_ADD_UCS_CHAR' in UTF2000.
4963 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4965 * config.h.in (UTF2000): New macro.
4967 * buffer.h (struct buffer_text): Add new member `mule_size' and
4968 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4969 (valid_char_p): Return always 1 in UTF2000.
4970 (MAX_EMCHAR_LEN): 6 in UTF2000.
4971 (three_to_one_table): Don't define in UTF2000.
4972 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4974 (real_bytind_to_bufpos): Likewise.
4976 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4978 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4980 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4981 representation change.
4982 (Vutf_2000_version): New variable.
4983 (leading_code_private_11): New variable.
4984 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4985 `leading-code-private-11'.
4987 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4988 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4989 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4990 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4991 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4992 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4993 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4994 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4995 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4996 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4997 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4998 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4999 (MIN_CHAR_GREEK): New macro.
5000 (MAX_CHAR_GREEK): New macro.
5001 (MIN_CHAR_CYRILLIC): New macro.
5002 (MAX_CHAR_CYRILLIC): New macro.
5003 (MIN_CHAR_HEBREW): New macro.
5004 (MAX_CHAR_HEBREW): New macro.
5005 (MIN_CHAR_THAI): New macro.
5006 (MAX_CHAR_THAI): New macro.
5007 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5008 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5009 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5010 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5011 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5012 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5013 (CHAR_FIELD2): New inline function.
5014 (CHAR_FIELD3): New inline function.
5015 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5016 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5017 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5018 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5019 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5020 (MIN_CHAR_COMPOSITION): Likewise.
5021 (CHAR_LEADING_BYTE): Modified for character representation change.
5022 (MAKE_CHAR): Likewise.
5024 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5025 (Vcharset_greek_iso8859_7): Likewise.
5026 (Vcharset_cyrillic_iso8859_5): Likewise.
5027 (Vcharset_hebrew_iso8859_8): Likewise.
5028 (Vcharset_thai_tis620): Likewise.
5029 (Vcharset_katakana_jisx0201): Likewise.
5031 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5033 * XEmacs 21.4.12 "Portable Code" is released.
5035 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5037 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5038 * s/cygwin.sc: new linker file.
5040 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5042 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5044 * redisplay-x.c (x_output_string): Use X11-specified types.
5045 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5046 * emacs.c (__free_hook): Use typeof with Intel compiler.
5047 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5049 2003-01-08 Andy Piper <andy@xemacs.org>
5051 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5052 reserve size during unexec().
5054 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5056 * process-unix.c (unix_create_process): Don't let outchannel block.
5058 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5060 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5061 Needed for IsBadReadPtr().
5063 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5065 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5067 2002-12-14 Ben Wing <ben@xemacs.org>
5069 * callint.c: Declaration error.
5071 * dumper.c (pdump_load): Warning fix.
5072 * process.c: GCPRO error.
5073 * glyphs.c (unmap_subwindow):
5074 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5075 * event-stream.c (maybe_kbd_translate): Wrong argument to
5076 character_to_event().
5078 * alloc.c (garbage_collect_1):
5080 * emacs.c (debug_can_access_memory):
5081 * emacs.c (fatal_error_signal):
5082 * emacs.c (mswindows_handle_hardware_exceptions):
5085 * emacs.c (assert_failed):
5086 * emacs.c (syms_of_emacs):
5089 * print.c (std_handle_out_va):
5090 * print.c (write_string_to_stdio_stream):
5091 * print.c (write_fmt_string):
5092 * print.c (printing_badness):
5093 * print.c (printing_major_badness):
5094 * print.c (print_internal):
5095 * print.c (debug_print_no_newline):
5096 * print.c (debug_backtrace):
5097 Be more defensive in handling bad values when printing. Add code
5098 from trunk involving inhibit_non_essential_printing_operations.
5099 When going down or in debug_print(), don't do external conversion
5100 and such and try really, really hard when printing to avoid core
5101 dumping. Add force-debugging-signal, debug_break().
5103 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5105 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5106 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5108 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5110 * database.c: Fix open_database. Berkeley DB API has changed in
5111 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5113 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5115 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5117 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5119 * event-Xt.c (Xt_timeout):
5120 (Xt_timeout_callback):
5121 (emacs_Xt_add_timeout):
5122 (emacs_Xt_remove_timeout):
5123 (Xt_timeout_to_emacs_event):
5124 Turn completed_timeouts from a stack into a queue. Fixes
5125 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5127 2002-11-07 Wolfram Gloger <wg@malloc.de>
5129 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5130 * emacs.c (main): Assert that mmap'd allocation is disabled.
5132 2002-10-14 Andy Piper <andy@xemacs.org>
5134 * glyphs-widget.c (layout_query_geometry): add in fiddle
5135 factor. Include border text in width layout calculation.
5136 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5138 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5140 * XEmacs 21.4.10 "Military Intelligence" is released.
5142 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5144 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5145 using the NAS private array SoundFileInfo that no longer exists in
5146 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5147 and earlier. This is broken for some versions between 1.5a and
5150 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5152 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5154 * emacs.c (shut_down_emacs): Improve crash message.
5156 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5158 * file-coding.c (determine_real_coding_system): Check for coding
5159 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5160 shebangs and Python PEP 263.
5162 2002-10-08 Andy Piper <andy@xemacs.org>
5164 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5165 if static sizes haven't been set.
5167 2002-08-30 Mike Alexander <mta@arbortext.com>
5169 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5172 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5174 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5176 2002-09-20 Mike Sperber <mike@xemacs.org>
5178 (This partially gets back my patch from 2002-07-20 without the
5180 * callproc.c (child_setup): Remove Ben's comment noting confusion
5181 over the file descriptors >= 3: close_process_descs() doesn't
5182 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5183 * process-unix.c (unix_create_process): Call
5184 begin_dont_check_for_quit to inhibit unwanted interaction (and
5185 thus breaking of X event synchronicity) in the child.
5187 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5189 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5192 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5194 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5195 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5196 the xemacs process did not exit, but looped infinitely here. This
5199 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5201 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5202 (find_context): Improve comments.
5204 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5205 (re_match_2): An XCHAR_TABLE operation was missing.
5207 Many of the following changes were inspired by Andy Piper's (now
5208 obsolete) patch to make syntax-table text property lookup optional.
5212 * syntax.h (top level): Document semantics of syntax flags.
5213 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5214 * syntax.c, syntax.h (top level): Document syntax cache better in
5217 [Instrument syntax caching (temporary change)]
5219 * syntax.h (enum syntax_cache_statistics_functions, struct
5220 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5221 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5222 * syntax.c (scan_words, Fforward_comment, scan_lists,
5223 Fbackward_prefix_characters):
5224 * font-lock.c (find_context):
5225 Use them to instrument syntax caching.
5226 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5227 syntax_cache_statistics_function_names): New type and variables.
5228 * syntax.c (update_syntax_cache): Update and report statistics.
5230 [Major syntax cache optimizations]
5232 syntax.c (lookup_syntax_properties): Default off.
5234 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5235 * syntax.c (update_syntax_cache):
5236 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5238 [Minor syntax cache optimizations and code clarifications]
5240 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5241 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5242 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5243 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5244 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5245 (Code clarification.)
5247 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5248 scan_lists): Compute code from syncode, use Boolean macros instead
5249 of redundant masking operations. (Code clarification; any decent
5250 compiler can do this optimization.)
5252 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5255 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5256 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5257 use F*_single_property_change instead of F*_extent_change.
5258 Currently F*_single_property_change is _much_ less efficient.
5260 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5261 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5262 syntax_cache.object properly, don't leave Qt or Qnil.
5263 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5264 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5265 tests for Qt or Qnil.
5267 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5269 * redisplay.c (point_in_line_start_cache):
5270 * extents.c (print_extent_1):
5273 * extents.c (Fset_extent_property): Document `syntax-table' property.
5275 * extents.h (Fnext_single_property_change): EXFUN it.
5277 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5279 * search.c (clear_unused_search_regs): New static function.
5283 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5284 Minor clarifications in comments.
5286 * regex.c (re_match_2_internal): Ensure no stale submatches.
5288 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5290 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5292 2002-08-29 Jerry James <james@xemacs.org>
5294 * lisp.h: structrures -> structures.
5296 2002-06-03 Andy Piper <andy@xemacs.org>
5298 * frame.c (frame_conversion_internal): add conversion appropriate
5299 for setting frame dimensions in pixels.
5301 * console.h (struct console_methods): add device-specific widget
5304 * emacs.c (main_1): initialize glyph vars.
5306 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5307 (handle_focus_event_2): new function. Allow focus to
5308 be set to a particular window and widget.
5309 (enqueue_focus_event): new function. Create a
5310 synthetic focus event.
5311 (emacs_Xt_handle_magic_event): call
5312 handle_focus_event_2.
5314 * frame.c (Fset_frame_pixel_height): new function. Allow
5315 pixel-based sizing. Does the right thing on character-oriented
5317 (Fset_frame_pixel_width): ditto.
5318 (Fset_frame_pixel_size): ditto.
5319 (syms_of_frame): declare.
5321 * general-slots.h: add :vertically-justify and
5322 :horizontally-justify.
5324 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5325 (mswindows_widget_border_width): new function.
5326 (mswindows_combo_box_instantiate): set border widths.
5327 (console_type_create_glyphs_mswindows): declare.
5330 (check_valid_justification): allow vertical and horizontal
5332 (widget_border_width): new function. Call device methods.
5333 (widget_instance_border_width): ditto.
5334 (logical_unit_height): new function. Determine the height of a
5335 logical-unit. Logical units are intended to provide grid-like
5336 layout for subcontrols in a layout. If the layout is
5337 :vertically-justify top then subcontrols will be positioned on
5338 logical-unit boundaries, thus allowing adjacent subcontrols to
5340 (widget_logical_unit_height): ditto for widgets.
5341 (redisplay_widget): misc cleanup.
5342 (widget_spacing): new function. Call device specific
5343 methods. Intended to be the default gap between adjacent widgets.
5344 (widget_query_geometry): use new spacing functions to determine
5345 appropriate geometry.
5346 (initialize_widget_image_instance): initialize horizontal and
5347 vertical justification.
5348 (widget_instantiate): use logica-units where appropriate for
5349 sizing large widgets.
5350 (button_query_geometry): use widget_instance_border_width.
5351 (tree_view_query_geometry): ditto.
5352 (tab_control_query_geometry): ditto.
5353 (edit_field_query_geometry): new function.
5354 (layout_update): pick up :justify, :horizontally-justify and
5355 :vertically-justify none of which worked previously. :justify is
5356 used as a fallback for both horizontal and vertical justification.
5357 (layout_query_geometry): use logical units to size appropriately.
5358 (layout_layout): ditto.
5359 (Fwidget_logical_to_character_width): new function. Allow users to
5360 convert from logical units to characters so that frame sizes can
5361 be set appropriately.
5362 (Fwidget_logical_to_character_height): ditto.
5363 (syms_of_glyphs_widget): declare.
5364 (image_instantiator_edit_fields): add edit_field_query_geometry.
5365 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5366 :horizontally-justify.
5367 (specifier_vars_of_glyphs_widget): new function. Declare
5368 Vwidget_border_width which is not yet used.
5370 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5371 (x_widget_border_width): new function.
5372 (x_widget_instantiate): create a sensible name for widgets.
5373 (console_type_create_glyphs_x): declare x_widget_border_width.
5375 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5376 (struct Lisp_Image_Instance): add :vertically-justify and
5377 :horizontally-justify.
5378 (LAYOUT_JUSTIFY_TOP): new.
5379 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5380 (ROUND_UP): new macro. Round argument up to next integral
5383 * redisplay-output.c (redisplay_output_layout): misc formatting.
5385 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5387 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5389 * XEmacs 21.4.9 "Informed Management" is released.
5391 2002-08-19 Andy Piper <andy@xemacs.org>
5393 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5396 * realpath.c (xrealpath): normalize drive spec also so that dir
5397 sep chars are not mixed on cygwin.
5399 2002-08-06 Jerry James <james@xemacs.org>
5401 * window.c (Fsplit_window): Count only half of the divider width
5402 against the left window when splitting horizontally.
5404 2002-06-24 Andy Piper <andy@xemacs.org>
5406 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5407 toolbar was cleared.
5409 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5410 function. Split out from mswindows_output_frame_toolbars.
5411 (mswindows_output_frame_toolbars): move clear pieces to
5412 mswindows_output_frame_toolbars.
5414 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5415 out from gtk_output_frame_toolbars.
5416 (gtk_output_frame_toolbars): move clear pieces to
5417 gtk_clear_frame_toolbars.
5419 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5420 the frame is cleared. How this ever worked before is a mystery.
5421 (x_output_frame_toolbars): Only output toolbars.
5422 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5424 * gutter.c (update_gutter_geometry):
5425 Mark frame layout changed.
5426 (update_frame_gutter_geometry, update_frame_gutters):
5427 Respect frame_layout_changed.
5429 * console.h (struct console_methods): add
5430 clear_frame_toolbars_method.
5432 * redisplay.c (redisplay_frame): call
5433 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5435 * toolbar.h: declare update_frame_toolbars_geometry.
5437 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5438 out from update_frame_toolbars. Call clear_frame_toolbars.
5439 (update_frame_toolbars): only output, do not change geometry.
5441 * redisplay.c: add frame_layout_changed.
5443 * redisplay.h: add frame_layout_changed.
5444 (CLASS_RESET_CHANGED_FLAGS): set it.
5445 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5446 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5447 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5449 * device.h (struct device): add frame_layout_changed.
5450 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5452 * frame.h (struct frame): add frame_layout_changed.
5453 (MARK_FRAME_LAYOUT_CHANGED): new.
5455 2002-06-30 Mike Alexander <mta@arbortext.com>
5457 * event-msw.c (mswindows_need_event): Don't wait for a new message
5458 if the queue is not empty. Suggested by Paul Moore.
5460 2002-06-12 Andy Piper <andy@xemacs.org>
5462 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5463 for printing on accurately.
5465 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5467 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5468 WM_ACTIVATE message. Make sure that the frame is visible if the
5469 window is visible. This seemss to fix the problem where XEmacs
5470 appears to freeze after switching desktops with certain virtual
5472 (debug_output_mswin_message): Added code to output message
5473 parameters for WM_WINDOWPOSCHANGED,
5474 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5476 2002-05-25 Andy Piper <andy@xemacs.org>
5478 * select-x.c (vars_of_select_x): Fix docstring of
5479 x-selection-strict-motif-ownership
5481 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5483 * keymap.c (get_keymap):
5484 Add comment about do_autoload GCPROs own args.
5486 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5488 * bytecode.c (execute_optimized_program): check_opcode ifdef
5489 ERROR_CHECK_BYTE_CODE.
5491 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5493 Thanks to Ben Wing and Michael Sperber.
5495 * eval.c (Fcommand_execute):
5498 (Fmacroexpand_internal):
5499 (function_argcount):
5500 callint.c (Fcall_interactively):
5501 Add comment about do_autoload GCPROs own args.
5503 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5505 * eval.c (Ffuncall): Extra braces to placate GCC.
5507 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5509 * backtrace.h (grow_specpdl):
5511 * EmacsFrame.c (EmacsFrameSetValues):
5512 * eval.c (grow_specpdl):
5513 * ExternalShell.c (hack_event_masks_1):
5514 * glyphs-x.c (convert_EImage_to_XImage):
5515 (x_finalize_image_instance):
5516 * ralloc.c (page_size):
5518 * xgccache.c (gc_cache_hash):
5519 Fix unsigned comparison warnings.
5521 2002-07-29 Jerry James <james@xemacs.org>
5523 * lread.c (locate_file): Any nonnegative return value indicates
5524 success if MODE is nonnegative.
5526 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5528 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5531 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5533 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5535 * dumper.c (pdump_get_indirect_count):
5536 (pdump_scan_by_alignment):
5537 (pdump_dump_root_struct_ptrs):
5538 (pdump_dump_rtables):
5539 (pdump_dump_root_objects):
5541 * nas.c (WaveOpenDataForReading):
5542 * fns.c (print_bit_vector):
5543 * font-lock.c (SINGLE_SYNTAX_STYLE):
5544 * glyphs.c (check_for_ignored_expose):
5545 (find_matching_subwindow):
5547 * imgproc.c (get_histogram):
5548 * redisplay.c (point_in_line_start_cache):
5549 * redisplay-output.c (redisplay_unmap_subwindows):
5550 * symbols.c (defsymbol_massage_name_1):
5551 (defkeyword_massage_name):
5552 (deferror_massage_name_and_message):
5553 * redisplay-x.c (x_output_string):
5554 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5555 * frame.h (struct frame):
5556 * filelock.c (current_lock_owner):
5557 * doprnt.c (emacs_doprnt_1):
5558 * lisp.h (struct Lisp_Bit_Vector):
5562 2002-02-13 Ben Wing <ben@xemacs.org>
5564 * event-stream.c (reset_key_echo):
5565 * event-stream.c (reset_this_command_keys):
5566 * event-stream.c (execute_command_event):
5567 If console is dead as a result of C-x 5 0, then post-command stuff
5568 needs to be careful and do only non-console-specific stuff.
5570 2002-07-01 Mike Sperber <mike@xemacs.org>
5572 * process-unix.c (unix_send_process): Mark coding_outstream as
5573 non-open upon SIGPIPE.
5575 * event-stream.c (Fnext_event): Reorder switch cases to something
5578 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5580 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5581 Don't bogusly reinitialize ascii_character property.
5583 2002-07-08 Mike Sperber <mike@xemacs.org>
5585 * process.c (Fstart_process_internal): Do error checking before we
5586 fork off the child, so the child can't muck with the state of the
5589 2002-07-08 Mike Sperber <mike@xemacs.org>
5591 * ralloc.c (init_ralloc): Allocate properly for pdump.
5593 2002-06-12 Andy Piper <andy@xemacs.org>
5595 * glyphs.c (query_string_geometry): check the string.
5597 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5600 2002-06-17 Jerry James <james@xemacs.org>
5602 * sysdll.c: Remove RTLD_GLOBAL initialization.
5603 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5605 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5607 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5609 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5611 * sysdep.c (sys_rename): Make sys_rename work for the case where
5612 Windows rename sets errno to EACCES if target file exists.
5614 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5616 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5617 Fix detection of metric units to work on Win95
5619 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5621 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5623 2002-04-25 Andy Piper <andy@xemacs.org>
5625 * redisplay.c (create_text_block): Remove extra comment trailer.
5627 2002-04-24 Andy Piper <andy@xemacs.org>
5629 * redisplay.c (create_text_block): Don't actually add propagation
5630 data if the line ends after we have added a glyph.
5632 2002-04-22 Andy Piper <andy@xemacs.org>
5634 * extents.c (extent_fragment_update): check for glyphs we have
5635 previously displayed.
5636 * extents.c (print_extent_1): warning removal.
5637 * extents.h: change prototype.
5638 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5639 widths correctly for wide glyphs.
5640 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5641 * redisplay.c (prop_type): add PROP_GLYPH.
5642 * redisplay.c (struct prop_block): add glyph type
5643 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5644 to the propagation data.
5645 * redisplay.c (create_text_block): if there is a glyph in the
5646 propagation data use it to salt extent_fragment_update.
5647 * redisplay.c (create_string_text_block): ditto.
5649 2002-04-13 Nix <nix@esperi.demon.co.uk>
5651 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5652 * redisplay-output.c (compare_runes): Compare them.
5653 * redisplay.c: Update copyright date.
5654 * redisplay.c (pos_data): Add need_baseline_computation field.
5655 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5656 need_baseline_computation; zero yoffset. Set max_pixmap_height
5657 for all pixmaps, not just automatically positioned ones.
5658 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5659 * redisplay.c (calculate_baseline): New, compute textual baseline.
5660 * redisplay.c (add_glyph_rune): Call them.
5661 * redisplay.c (create_text_block): Likewise.
5662 * redisplay.c (create_overlay_glyph_block): Likewise.
5663 * redisplay.c (add_margin_runes): Likewise.
5664 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5666 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5667 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5668 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5669 * redisplay-msw.c (mswindows_output_string): Likewise.
5670 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5671 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5672 * redisplay-x.c (x_output_display_block): Likewise.
5674 2002-03-28 Ben Wing <ben@xemacs.org>
5676 * redisplay.c: Fixed bug in redisplay
5677 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5678 and down of the lines, since they're bigger than the line
5679 size. (It was seen most obviously when there's a horizontal scroll
5680 bar, e.g. do C-h a glyph or something like that.) The problem was
5681 that the glyph-contrib-p setting on glyphs was ignored even if it
5682 was set properly, which it wasn't until now.
5684 2002-04-24 Andy Piper <andy@xemacs.org>
5686 * lisp.h (Dynarr_end): Fix definition.
5688 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5690 * redisplay.c (mark_redisplay): Remove call to
5691 update_frame_window_mirror.
5693 2001-11-15 Andy Piper <andy@xemacs.org>
5695 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5698 2002-02-13 Andy Piper <andy@xemacs.org>
5700 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5701 we did in fact enqueue the XM_MAPFRAME event.
5703 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5705 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5706 to fix problem switching between virtual desktops under virtuawin
5707 virtual window manager.
5709 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5711 * event-msw.c: Typo fix.
5712 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5713 magic XM_MAPFRAME event has been sent.
5715 2001-11-23 Andy Piper <andy@xemacs.org>
5717 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5719 2001-11-21 Andy Piper <andy@xemacs.org>
5721 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5722 mouse events outside the frame.
5724 2002-03-20 Andy Piper <andy@xemacs.org>
5726 * menubar-msw.c (mswindows_popup_menu): warning removal.
5727 * dialog-msw.c (dialog_popped_down): ditto.
5729 2001-12-11 Andy Piper <andy@xemacs.org>
5731 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5732 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5734 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5735 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5736 * menubar-msw.c (mswindows_popup_menu): ditto.
5738 2001-10-29 Andy Piper <andy@xemacs.org>
5740 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5743 2002-01-03 Andy Piper <andy@xemacs.org>
5745 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5749 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5751 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5752 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5753 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5754 Detect and handle case where machine is set up for metric units
5756 2002-04-02 Andy Piper <andy@xemacs.org>
5758 * dired-msw.c (mswindows_get_files):
5759 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5760 completely handled by XEmacs. Suggested by Thomas Vogler
5761 <mail@thomas-vogler.de>.
5763 2001-11-14 Andy Piper <andy@xemacs.org>
5765 * nt.c (REG_ROOT): change registry key to XEmacs.
5767 2002-04-27 Andy Piper <andy@xemacs.org>
5769 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5771 2002-04-26 Andy Piper <andy@xemacs.org>
5773 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5776 2002-03-14 Mike Alexander <mta@arbortext.com>
5778 * event-msw.c (mswindows_unwait_process): New, remove process from
5780 * process-nt.c (nt_finalize_process_data): Call
5781 mswindows_unwait_process
5782 * console-msw.h: Declare mswindows_unwait_process
5784 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5786 * editfns.c (Fdecode_time):
5787 (Fformat_time_string):
5788 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5789 (make_time): Warning elimination (change arg name).
5791 2001-11-24 Andy Piper <andy@xemacs.org>
5793 * window.c (Fsplit_window): Doc return type.
5795 2002-04-01 Andy Piper <andy@xemacs.org>
5797 * emacs.c (Fkill_emacs): Only output message box in interactive
5800 2002-04-26 Andy Piper <andy@xemacs.org>
5802 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5805 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5807 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5810 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5812 * XEmacs 21.4.8 "Honest Recruiter" is released.
5814 2002-05-07 Nix <nix@esperi.demon.co.uk>
5816 Supersedes 2002-04-17 patch.
5818 * process.h (PROCESS_LIVE_P): Use the process status as
5819 evidence of health, not the state of the input stream.
5820 (PROCESS_READABLE_P): Say if the process is readable
5821 from. (It may be dead nonetheless.)
5822 (CHECK_READABLE_PROCESS): Test for that condition.
5824 * process.c (create_process): Use PROCESS_READABLE_P.
5825 (read_process_output, set_process_filter): Likewise.
5827 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5828 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5830 This code is #if 0'd, this is not the time to add new functions:
5832 * process.c (Fprocess_readable_p): Report readability status.
5833 * process.c (Qprocess_readable_p): New, associated symbol...
5834 * process.c (syms_of_process): ... initialize it.
5836 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5838 * XEmacs 21.4.7 "Economic Science" is released.
5840 2002-04-17 Nix <nix@esperi.demon.co.uk>
5842 * process.h (PROCESS_LIVE_P): Use the process status as
5843 evidence of health, not the state of the input stream.
5845 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5847 * sysdep.c (sys_siglist): change "signum" to "signal"
5849 2001-04-21 Martin Buchholz <martin@xemacs.org>
5851 * s/darwin.h: New file.
5852 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5854 2002-04-23 Andreas Jaeger <aj@suse.de>
5856 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5857 which use lib64 for 64-bit libs.
5858 (START_FILES): Likewise.
5860 2002-02-11 Mike Sperber <mike@xemacs.org>
5863 (x_IO_error_handler):
5864 (x_init_device): Temporarily keep device in static variable
5865 `device_being_initialized' so we can recover gracefully from
5866 internal XOpenDevice failure. (XOpenDevice is documented to
5867 return NULL on failure, but sometimes calls the IO error handler
5870 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5872 * dired.c (Ffile_name_all_completions): Change documentation --
5873 remove reference to completion-ignored-extensions.
5874 * dired.c (vars_of_dired): Change documentation for
5875 completion-ignored-extensions -- remove reference to
5876 file-name-all-completions.
5878 2002-03-06 Jerry James <james@xemacs.org>
5880 * emodules.c (emodules_load): Fix multiple loading of same module.
5882 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5883 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5884 RTLD_LAZY to avoid incorrect symbol binding when using nested
5885 shared libraries on Solaris.
5887 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5889 * fileio.c (Ffind_file_name_handler): Improve docstring.
5891 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5893 * fns.c (Fmapconcat): Improve docstring.
5895 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5897 * device-gtk.c: Add prototype for
5898 emacs_gtk_selection_clear_event_handle.
5899 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5900 selection. Setup signal handler for "selection_clear_event"
5901 (emacs_gtk_selection_clear_event_handle).
5903 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5904 other applications owning the clipboard (based on
5905 x_handle_selection_clear).
5907 2001-12-23 William M. Perry <wmperry@gnu.org>
5909 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5911 2002-01-04 Martin Buchholz <martin@xemacs.org>
5913 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5915 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5917 * XEmacs 21.4.6 "Common Lisp" is released.
5919 2001-12-16 Torsten Duwe <duwe@caldera.de>
5921 * search.c (Freplace_match): Add missing sub-expression functionality.
5923 * buffer.c (decode_buffer): Add a check for pointer type to
5924 decode_buffer, before gcc's CSE optimization reorders a
5925 dereference in front of the allow_string test.
5927 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5929 * window.c (window_loop): Fix bug that sometimes prevented
5930 window_loop() from iterating across multiple devices. Also, at
5931 Ben's request, changed infloop-detecting code to abort() instead
5932 of silently terminating window_loop().
5934 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5936 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5937 * editfns.c (make_time): New function.
5938 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5939 * lisp.h (make_time): Prototype and comment it.
5940 * dired.c (wasteful_word_to_lisp): Deprecate.
5941 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5943 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5945 * fileio.c (auto_save_1): Use current coding system, not
5948 2001-11-13 Ben Wing <ben@xemacs.org>
5951 * window.c (window_truncation_on):
5952 * window.c (syms_of_window):
5953 truncate-partial-width-windows should respect the buffer being
5954 displayed, like other redisplay vars.
5956 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5958 * event-stream.c (Fread_key_sequence): save current buffer.
5960 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5962 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5964 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5966 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5968 2001-10-26 Mike Alexander <mta@arbortext.com>
5970 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5972 2001-10-25 Andy Piper <andy@xemacs.org>
5975 * dialog-msw.c (handle_directory_proc): new function.
5976 (handle_directory_dialog_box): new fucntion.
5977 (handle_file_dialog_box): use new directory dialog support.
5978 (mswindows_make_dialog_box_internal): ditto.
5979 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5981 (mswindows_find_frame): make global.
5982 * fileio.c (Fexpand_file_name): build fix.
5983 * general-slots.h: add Qdirectory.
5984 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5986 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5987 cygwin not leaving win32 paths unchanged.
5988 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5989 cygwin runtime to do path conversion.
5990 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5991 (syms_of_win32): add new function.
5992 * window.c (window_loop): build fix.
5994 2001-10-15 Andy Piper <andy@xemacs.org>
5996 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5998 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6000 * XEmacs 21.4.5 "Civil Service" is released.
6002 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6004 * glyphs-x.c: Force buffer-tab highlight update when moving the
6005 buffer, avoiding an ugly black border, used for keyboard focus
6006 indication, on a widget that can never have keyboard focus, the
6009 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6011 * process-unix.c (unix_open_multicast_group): Remove too much
6012 conversion between host and network byte order.
6014 2001-09-10 Nix <nix@esperi.demon.co.uk>
6016 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6017 before replacing them.
6019 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6022 * src/window.c (undedicate_windows): Use it.
6023 * src/window.h: Add prototype.
6025 2001-09-17 Ben Wing <ben@xemacs.org>
6027 * fileio.c (normalize_filename):
6028 * fileio.c (Fexpand_file_name):
6029 Fix various C++ compile errors in Andy's recent code.
6031 * callint.c (Fcall_interactively):
6032 * editfns.c (Ftemp_directory):
6033 * editfns.c (Fuser_full_name):
6034 * emacs.c (argmatch):
6035 * lread.c (locate_file_map_suffixes):
6036 * redisplay-x.c (x_ring_bell):
6037 Fix sign-compare warnings.
6039 2001-09-08 Andy Piper <andy@xemacs.org>
6041 * fileio.c (normalize_filename): copied from nt.c
6042 * (Ffile_name_directory): enable win32 paths under cygwin.
6043 * (Ffile_name_nondirectory): ditto.
6044 * (directory_file_name): ditto.
6045 * (Fexpand_file_name): ditto.
6046 * (Ffile_truename): ditto.
6047 * (Fsubstitute_in_file_name): ditto.
6048 * (Ffile_name_absolute_p): ditto.
6049 * (Ffile_readable_p): ditto.
6051 2001-09-08 Andy Piper <andy@xemacs.org>
6053 * device-msw.c (mswindows_finish_init_device): remove dde
6055 * device-msw.c (mswindows_init_dde): factor out from
6056 mswindows_finish_init_device()
6057 * device-msw.c (init_mswindows_very_early): new function
6058 initialize but don't enable dde.
6059 * emacs.c (main_1): call init_mswindows_very_early.
6061 * event-msw.c (mswindows_dde_callback): only execute when we are
6063 * symsinit.h: declare init_mswindows_very_early.
6065 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6067 [sjt: This has been in 21.5 for months with no complaints.]
6069 * console.h (struct console_methods): Added flags member.
6070 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6071 (CONMETH_IMPL_FLAG):
6072 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6073 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6075 * device.c (window_system_pixelated_geometry): Use the above macros.
6077 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6078 implememntation flag.
6079 * device.h (DEVICE_DISPLAY_P): Use it.
6081 * frame.c (delete_frame_internal): Use the above macro.
6083 * redisplay.c (redisplay_device): Use it.
6084 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6085 (redisplay_frame): Ditto.
6087 * device-msw.c (mswindows_device_implementation_flags): Removed.
6088 (msprinter_device_implementation_flags): Removed.
6089 (console_type_create_device_mswindows): Removed references to
6090 implementation_flags methods, set implementation flags here.
6091 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6093 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6094 (console_type_create_device_gtk): Removed method declaration.
6095 Added commented out statement which semantically matches the
6096 commented out statement in the above removed method.
6098 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6100 The attached patch fixes a few warnings.
6102 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6103 * src/frame-gtk.c: guard against GNOME calls in GTK only
6104 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6105 * src/select-gtk.c: prototype lisp_to_time
6107 2001-06-08 Ben Wing <ben@xemacs.org>
6109 ------ gc-in-window-procedure fixes ------
6112 * alloc.c (struct post_gc_action):
6113 * alloc.c (register_post_gc_action):
6114 * alloc.c (run_post_gc_actions):
6115 * alloc.c (garbage_collect_1):
6116 Create "post-gc actions", to avoid those dreaded "GC during window
6117 procedure" problems.
6120 Abort, clean and simple, when GC in window procedure. We want
6121 to flush these puppies out.
6124 * glyphs-msw.c (finalize_destroy_window):
6125 * glyphs-msw.c (mswindows_finalize_image_instance):
6126 Use a post-gc action when destroying subwindows.
6129 Declare register_post_gc_action().
6132 * scrollbar-msw.c (unshow_that_mofo):
6133 Use a post-gc action when unshowing scrollbar windows, if in gc.
6135 * redisplay.c (mark_redisplay):
6136 Add comment about the utter evilness of what's going down here.
6138 ------ cygwin setitimer fixes ------
6140 * Makefile.in.in (sheap_objs):
6141 * Makefile.in.in (profile_objs):
6142 * Makefile.in.in (objs):
6143 Compile profile.c only when HAVE_SETITIMER.
6145 * nt.c (mswindows_sigset):
6146 * nt.c (mswindows_sighold):
6147 * nt.c (mswindows_sigrelse):
6148 * nt.c (mswindows_sigpause):
6149 * nt.c (mswindows_raise):
6150 * nt.c (close_file_data):
6154 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6157 * profile.c (Fstart_profiling):
6158 * profile.c (Fstop_profiling):
6159 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6160 instead of just plain setitimer().
6163 * signal.c (set_one_shot_timer):
6165 Define qxe_setitimer() as an encapsulation around setitimer() --
6166 call setitimer() directly unless Cygwin or MS Win, in which case
6167 we use our simulated version in win32.c.
6170 * systime.h (struct itimerval):
6171 * systime.h (ITIMER_REAL):
6172 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6173 comment about "qxe" and the policy regarding encapsulation.
6176 * win32.c (setitimer_helper_proc):
6177 * win32.c (setitimer_helper_period):
6178 * win32.c (setitimer_helper):
6179 * win32.c (mswindows_setitimer):
6180 Move setitimer() emulation here, so Cygwin can use it.
6181 Rename a couple of functions and variables to be longer and more
6182 descriptive. In setitimer_helper_proc(), send the signal
6183 using either mswindows_raise() or (on Cygwin) kill(). If for
6184 some reason we are still getting lockups, we'll change the kill()
6185 to directly invoke the signal handlers.
6187 ------ windows shell fixes ------
6191 Comments about how these two files must die.
6193 * callproc.c (init_callproc):
6194 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6195 not just COMSPEC. (more correct and closer to FSF.) Don't
6196 force a value for SHELL into the environment. (Comments added
6197 to explain why not.)
6199 * nt.c (init_user_info):
6200 Don't shove a fabricated SHELL into the environment. See above.
6202 2001-06-01 Ben Wing <ben@xemacs.org>
6204 * Makefile.in.in (ldflags):
6205 eliminate that pesky "defaulting to 00401000" warning.
6209 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6211 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6212 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6214 2001-04-24 Jerry James <james@xemacs.org>
6216 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6219 2001-06-01 Ben Wing <ben@xemacs.org>
6221 * event-msw.c (debug_mswin_messages):
6222 conditionalize the messages that were causing compile errors.
6223 (if only macros could generate #ifdef statements ...)
6225 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6227 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6229 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6231 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6233 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6235 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6236 * process-unix.c (unix_canonicalize_host_name):
6237 sysdep.c (init_system_name):
6238 Use it to conditionally support IPv6 canonicalization.
6240 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6243 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6245 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6247 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6248 attempt is made to scroll when no scroll bar is available.
6250 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6252 * input-method-motif.c (XIM_delete_frame): New callback.
6253 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6254 got deleted from 21.4.3.)
6256 2001-06-01 Ben Wing <ben@xemacs.org>
6258 * nt.c (mswindows_utime):
6259 * nt.c (close_file_data):
6260 fix off-by-one-indirection error.
6262 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6264 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6265 because set_file_times() now takes Lisp_Object path, instead of
6267 * nt.c: Include buffer.h.
6268 * nt.c (convert_from_time_t): New.
6269 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6270 not set mtime correctly.
6271 * nt.h: Declare mswindows_utime().
6272 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6273 path, instead of char*.
6274 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6276 2001-05-30 Ben Wing <ben@xemacs.org>
6280 (Stephen, just take all event-msw.c patches. This includes
6281 the "iconify" fix below.)
6284 * event-msw.c (mswindows_dequeue_dispatch_event):
6285 * event-msw.c (assert):
6286 * event-msw.c (emacs_mswindows_quit_p):
6287 * event-msw.c (debug_mswin_messages):
6288 * event-msw.c (debug_output_mswin_message):
6289 * event-msw.c (vars_of_event_mswindows):
6290 Fix yet more problems with C-g handling.
6291 Implement debug-mswindows-events.
6293 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6295 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6297 2001-05-23 Ben Wing <ben@xemacs.org>
6299 * event-msw.c (winsock_writer):
6300 * event-msw.c (winsock_closer):
6301 prior kludgy code was clobbering the buffer, thinking it was
6302 "unused" space to store an unneeded return value; instead, use
6303 the variable we've already got staring us in the face.
6305 2001-05-17 Andy Piper <andy@xemacs.org>
6307 * sysfile.h: don't assume that file attributes are boolean
6309 2001-05-23 Ben Wing <ben@xemacs.org>
6311 * device-msw.c (msprinter_init_device):
6312 signal an error rather than crash with an unavailable network
6313 printer (from Mike Alexander).
6316 * event-msw.c (struct winsock_stream):
6317 * event-msw.c (winsock_writer):
6318 * event-msw.c (winsock_closer):
6319 * event-msw.c (make_winsock_stream_1):
6320 cleanup headers. fix (hopefully) an error with data corruption
6321 when sending to a network connection.
6323 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6324 to handle the ~user prefix by (a) always assuming we're referencing
6325 ourselves and not even verifying the user -- hence any file with
6326 a tilde as its first char is invalid! (b) if there wasn't a slash
6327 following the filename, the pointer was set *past* the end of
6328 file and we started reading from uninitialized memory. Now we
6329 simply treat these as files, always.
6331 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6333 2001-05-19 Ben Wing <ben@xemacs.org>
6335 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6338 * process-nt.c (vars_of_process_nt):
6339 remove unused mswindows-quote-process-args. rec for 21.4.
6341 2001-05-12 Ben Wing <ben@xemacs.org>
6343 * event-msw.c (mswindows_dde_callback):
6344 * event-msw.c (mswindows_wnd_proc):
6345 eliminate cygwin warnings.
6347 2001-05-06 Ben Wing <ben@xemacs.org>
6351 * device-msw.c (print_dialog_worker):
6352 * device-msw.c (mswindows_handle_print_dialog_box):
6353 * device-msw.c (syms_of_device_mswindows):
6354 * dialog-msw.c (mswindows_make_dialog_box_internal):
6356 implement printing the selection when it's selected.
6358 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6360 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6362 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6364 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6365 EMACS_INT is signed.
6367 2001-04-15 Michael Lausch <mla@1012surf.net>
6369 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6370 gtk_widget_request_size() to give scrollbar >0 width for
6373 2001-05-30 William M. Perry <wmperry@gnu.org>
6375 * event-gtk.c: Check for buttons as modifier keys.
6377 2001-05-25 Craig Lanning <CraigL@Knology.net>
6380 Properly find MinGW's <process.h> inside Cygwin's restructured
6381 include directories. Don't try to include <cygwin/version.h>
6382 since we are dropping support for MinGW in versions of Cygwin
6385 Drop support for MinGW in versions of Cygwin before b21.
6387 Properly find MinGW's <process.h> inside Cygwin's restructured
6388 include directories.
6390 Drop support for MinGW in versions of Cygwin before b21.
6392 Even though a.out.h is no longer detected by configure, allow
6393 MinGW to use it until we figure out how to do the job with Win32.
6395 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6397 * syntax.c (find_start_of_comment):
6398 Fix `unbalanced parentheses' bug when dealing with mixed comment
6399 styles in c++/java/etc. mode
6401 2001-05-29 Mike Alexander <mta@arbortext.com>
6403 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6404 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6406 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6408 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6410 2001-03-31 Mike Sperber <mike@xemacs.org>
6412 * search.c (Freplace_match): Support FSF-style specification of
6413 match subexpression when applied to a buffer.
6415 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6417 * event-stream.c (is_scrollbar_event): add missing semicolon
6419 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6421 * Makefile.in.in: Use TAR macro instead of hardcoding
6422 tar. Allows use of GNU tar instead of system tar
6424 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6426 * event-stream.c (is_scrollbar_event): add missing semicolon
6428 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6430 * XEmacs 21.4.3 "Academic Rigor" is released.
6432 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6434 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6436 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6438 * buffer.c (Vcase_fold_search): Remove obsolete
6439 comment about non ASCII case-fold-search. This
6440 bug has been fixed by case-table changes.
6442 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6444 * event-msw.c: Restore include of events-mod.h.
6446 2001-04-22 zhaoway <zw@debian.org>
6448 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6451 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6453 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6455 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6457 * mule-charset.c (Fmake_charset): Add missing else.
6459 2001-04-23 Ben Wing <ben@xemacs.org>
6461 * event-msw.c (FAKE_MOD_QUIT):
6462 * event-msw.c (mswindows_dequeue_dispatch_event):
6463 * event-msw.c (mswindows_wnd_proc):
6464 * event-msw.c (emacs_mswindows_quit_p):
6465 Get critical quit working.
6467 2001-05-05 Ben Wing <ben@xemacs.org>
6471 * device-msw.c (mswindows_get_default_margin):
6472 * frame-msw.c (mswindows_size_frame_internal):
6473 * frame-msw.c (msprinter_init_frame_1):
6474 * frame-msw.c (vars_of_frame_mswindows):
6475 Change top/bottom margin defaults to 0.5 inches.
6477 2001-05-01 Martin Buchholz <martin@xemacs.org>
6479 Fix link error with gcc 3.0 on Linux.
6480 * terminfo.c (UP): Remove.
6481 * terminfo.c (BC): Remove.
6482 * terminfo.c (PC): Remove.
6483 They weren't used, and in any case, these symbols should be
6484 defined in the *library*.
6486 2001-05-03 Martin Buchholz <martin@xemacs.org>
6488 * s/aix4.h: Fix crash with xlc -O3.
6489 Improve comment explaining how -O3 works.
6491 2001-04-15 Ben Wing <ben@xemacs.org>
6494 * event-stream.c (Fnext_event):
6495 * event-stream.c (is_scrollbar_event):
6496 * event-stream.c (execute_command_event):
6497 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6498 crash' problem. His fix introduces other problems. We filter
6499 out scrollbar events specifically, making them somewhat invisible
6500 to command-building, and not appearing in `this-command-keys'.
6501 More work is still needed (see comments in event-stream.c), but
6502 this fixes all the major problems.
6504 2001-04-20 Ben Wing <ben@xemacs.org>
6506 * .cvsignore: Added stuff for Windows.
6508 2001-04-28 Ben Wing <ben@xemacs.org>
6510 * buffer.c (Ferase_buffer):
6511 * editfns.c (buffer_insert1):
6512 * editfns.c (Finsert_before_markers):
6513 * editfns.c (Finsert_string):
6514 * editfns.c (Finsert_char):
6515 * editfns.c (Fdelete_region):
6516 * editfns.c (Fwiden):
6517 * editfns.c (Fnarrow_to_region):
6518 remove bogus lines setting zmacs_region_stays to 0.
6520 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6522 * process-unix.c (unix_open_network_stream): If connect() fails
6523 invalidate file descriptor after closing it.
6525 2001-03-08 Mike Alexander <mta@arbortext.com>
6527 * event-msw.c (mswindows_need_event_in_modal_loop):
6528 Don't dispatch a message if we didn't get one.
6529 (mswindows_need_event):
6530 Terminate the correct process when one exits instead of the first
6531 one on Vprocess_list and look for process termination when in
6532 mswindows_protect_modal_loop.
6534 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6536 * XEmacs 21.4.1 "Copyleft" is released.
6538 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6540 * input-method-motif.c (XIM_delete_frame): New callback.
6541 (XIM_init_frame): Register it.
6543 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6545 * XEmacs 21.4.0 "Solid Vapor" is released.
6547 2001-04-15 Ben Wing <ben@xemacs.org>
6549 * cmdloop.c (call_command_loop):
6550 Fix braino in bit-rotting code.
6552 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6554 * extents.c (Fset_extent_endpoints): Force creation of extent info
6555 in buffer_or_string.
6557 * extents.c (process_extents_for_insertion_mapper): Correctly
6558 check for open-open zero-length extents.
6560 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6562 * lisp.h: New typedefs Memory_count, Element_count.
6565 Sign-compare warning elimination: several unsigned -> signed.
6566 Based on work by Ben Wing <ben@xemacs.org>.
6568 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6570 * XEmacs 21.2.47 "Zephir" is released.
6572 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6574 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6576 2001-04-03 Mike Sperber <mike@xemacs.org>
6578 * search.c: Revert previous patch due because of release.
6580 2001-03-30 Ben Wing <ben@xemacs.org>
6583 Add missing killpg prototype.
6586 Add a comment about fixing problems when a new entry is added
6589 * frame-msw.c (mswindows_init_frame_1):
6590 Fix compile warnings.
6592 * menubar.c (vars_of_menubar):
6593 Provide `menu-accelerator-support' to indicate that we properly
6594 support %_ in menu specifications, so that package code can
6595 conditionalize on this (and remove %_ from menu specifications
6600 * scrollbar-msw.c (can_scroll):
6602 Fix handling of mouse wheel under Windows to follow standards --
6603 now scrolls window under pointer, not selected window.
6605 2001-03-31 Mike Sperber <mike@xemacs.org>
6607 * search.c (Freplace_match): Support FSF-style specification of
6608 match subexpression when applied to a buffer.
6610 2001-03-15 Martin Buchholz <martin@xemacs.org>
6612 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6613 function to modify KEYMAP, so map over a copy of the hash table.
6615 2001-03-21 Martin Buchholz <martin@xemacs.org>
6617 * XEmacs 21.2.46 "Urania" is released.
6619 2001-03-20 Dan Holmsand <dan@eyebee.com>
6621 * realpath.c (xrealpath): Make file-truename work with symlinks to
6622 /cygdrive paths on cygwin. Always lowercase drive-letters on
6624 (cygwin_readlink): Don't try to find canonical filename unless
6627 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6629 * ChangeLog: Log GTK merge.
6635 Revert gratuitous whitespace changes from GTK merge.
6637 * emacs.c: Document end of complex #ifdef @ l. 1495.
6640 2001-03-12 Andy Piper <andy@xemacs.org>
6642 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6643 have to do likewise.
6645 2001-03-12 Andy Piper <andy@xemacs.org>
6647 * sysdep.c: we only support mingw now.
6649 2001-03-09 Andy Piper <andy@xemacs.org>
6651 * unexcw.c (copy_executable_and_dump_data_section): making approx
6652 overrun a warning only.
6654 2001-03-10 William M. Perry <wmperry@aventail.com>
6656 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6657 satisfy Stephen's identical-after-cpp plea.
6659 2001-03-02 Ben Wing <ben@xemacs.org>
6662 * cmds.c (Fforward_char):
6666 Augment documentation of the most common motion commands to make
6667 note of the shifted-motion support.
6669 2001-03-02 Ben Wing <ben@xemacs.org>
6671 * nt.c (mswindows_fstat):
6672 * nt.c (mswindows_stat):
6673 * search.c (boyer_moore):
6674 Fix compile warnings under Windows.
6676 * sysdep.c (sys_readdir):
6677 Fix buggy filename-conversion code under Mule.
6679 2001-03-09 William M. Perry <wmperry@aventail.com>
6701 * redisplay-output.c:
6707 The Great GTK Merge.
6714 * emacs-widget-accessors.c:
6728 * native-gtk-toolbar.c:
6739 The Great GTK Merge: new files.
6741 2001-02-26 Ben Wing <ben@xemacs.org>
6743 Reapplied Lstream change.
6745 2001-02-26 Ben Wing <ben@xemacs.org>
6747 Undid the last change, since it is more controversial than I
6748 thought. It should be back in at some point soon.
6750 2001-02-25 Ben Wing <ben@xemacs.org>
6753 * callproc.c (Fold_call_process_internal):
6754 * event-msw.c (ntpipe_slurp_reader):
6755 * event-msw.c (ntpipe_shove_writer):
6756 * event-msw.c (winsock_reader):
6757 * event-msw.c (winsock_writer):
6759 * file-coding.c (detect_eol_type):
6760 * file-coding.c (detect_coding_type):
6761 * file-coding.c (determine_real_coding_system):
6762 * file-coding.c (Fdetect_coding_region):
6763 * file-coding.c (decoding_reader):
6764 * file-coding.c (decoding_writer):
6765 * file-coding.c (mule_decode):
6766 * file-coding.c (Fdecode_coding_region):
6767 * file-coding.c (encoding_reader):
6768 * file-coding.c (encoding_writer):
6769 * file-coding.c (mule_encode):
6770 * file-coding.c (Fencode_coding_region):
6771 * file-coding.c (detect_coding_sjis):
6772 * file-coding.c (decode_coding_sjis):
6773 * file-coding.c (encode_coding_sjis):
6774 * file-coding.c (detect_coding_big5):
6775 * file-coding.c (decode_coding_big5):
6776 * file-coding.c (encode_coding_big5):
6777 * file-coding.c (detect_coding_ucs4):
6778 * file-coding.c (decode_coding_ucs4):
6779 * file-coding.c (encode_coding_ucs4):
6780 * file-coding.c (detect_coding_utf8):
6781 * file-coding.c (decode_coding_utf8):
6782 * file-coding.c (encode_coding_utf8):
6783 * file-coding.c (detect_coding_iso2022):
6784 * file-coding.c (decode_coding_iso2022):
6785 * file-coding.c (encode_coding_iso2022):
6786 * file-coding.c (decode_coding_no_conversion):
6787 * file-coding.c (encode_coding_no_conversion):
6788 * glyphs-x.c (write_lisp_string_to_temp_file):
6789 * gpmevent.c (tty_get_foreign_selection):
6792 * lstream.c (Lstream_flush_out):
6793 * lstream.c (Lstream_adding):
6794 * lstream.c (Lstream_write_1):
6795 * lstream.c (Lstream_write):
6796 * lstream.c (Lstream_raw_read):
6797 * lstream.c (Lstream_read_more):
6798 * lstream.c (Lstream_read):
6799 * lstream.c (Lstream_unread):
6800 * lstream.c (Lstream_fputc):
6801 * lstream.c (stdio_reader):
6802 * lstream.c (stdio_writer):
6803 * lstream.c (filedesc_reader):
6804 * lstream.c (filedesc_writer):
6805 * lstream.c (lisp_string_reader):
6806 * lstream.c (struct fixed_buffer_stream):
6807 * lstream.c (make_fixed_buffer_input_stream):
6808 * lstream.c (make_fixed_buffer_output_stream):
6809 * lstream.c (fixed_buffer_reader):
6810 * lstream.c (fixed_buffer_writer):
6811 * lstream.c (struct resizing_buffer_stream):
6812 * lstream.c (resizing_buffer_writer):
6813 * lstream.c (dynarr_writer):
6814 * lstream.c (lisp_buffer_reader):
6815 * lstream.c (lisp_buffer_writer):
6817 * lstream.h (lstream_implementation):
6818 * lstream.h (struct lstream):
6820 * process-nt.c (nt_send_process):
6821 * process-unix.c (unix_send_process):
6823 Correct Lstream lossage due to mixing of signed and unsigned
6824 quantities. All Lstream uses of size_t and ssize_t are now a
6825 single signed data type Lstream_data_count. This fixes problems
6826 under Windows with sending large quantities of data to a process,
6827 and may well fix other subtle bugs.
6829 2001-02-23 Martin Buchholz <martin@xemacs.org>
6831 * XEmacs 21.2.45 "Thelxepeia" is released.
6833 2001-02-21 Martin Buchholz <martin@xemacs.org>
6835 * lisp-union.h (XSETINT):
6838 Reverse previous change of 2001-02-06.
6840 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6842 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6844 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6845 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6846 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6847 * regex.c (POS_AS_IN_BUFFER): removed
6848 * regex.c (re_search_2):
6849 * regex.c (re_match_2):
6850 Don't use an offset of 1 when calculating buffer positions, since
6851 `BI_BUF_BEGV' does it already.
6853 2001-02-18 Wim Dumon <wim@easics.be>
6855 * insdel.c (prepare_to_modify_buffer): Also check for
6856 supersession when clash-detection is enabled.
6858 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6860 * regex.c (re_match_2_internal):
6861 Convert temp characters from 'const unsigned char' to 're_char'.
6862 Fix crashing bug with extended characters under mule.
6863 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6864 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6865 font-lock, pdump, and new syntax-table code.
6866 * syntax.c (find_start_of_comment):
6867 (find_end_of_comment):
6869 Fix crashing bugs involving moving beyond end of buffer.
6870 * syntax.c (find_start_of_comment):
6871 Fixed logic to allow proper detection of cases where the same
6872 character is used to end both a two-char comment start and a
6873 two-char comment end sequence. Fixes `(forward-comment -1)'.
6874 * syntax.c (find_start_of_comment):
6875 Return position just past last comment-end character for all cases
6876 (previously was only done for two-char comment-end sequences).
6877 * syntax.c (forward-comment):
6878 Take value returned from `find_end_of_comment', rather than
6880 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6881 Properly deal with BUFFERP (syntax_cache.object)
6883 2001-02-17 Martin Buchholz <martin@xemacs.org>
6885 * alloc.c (Fgarbage_collect):
6886 * alloc.c (make_bit_vector_from_byte_vector):
6887 -Wsign-compare-correctness.
6889 2001-02-16 Martin Buchholz <martin@xemacs.org>
6891 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6892 (XSETCHAR): Likewise.
6893 (XSETOBJ): Likewise.
6895 2001-02-15 Martin Buchholz <martin@xemacs.org>
6897 * mule-canna.c (canna-func-delete_previous):
6898 Rename to canna-func-delete-previous.
6900 2001-02-14 Martin Buchholz <martin@xemacs.org>
6902 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6904 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6906 * font-lock.c (find_context): Fix C++ compile errors introduced by
6909 2001-02-13 Martin Buchholz <martin@xemacs.org>
6911 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6912 pragma, but earlier ones barf on the same pragma.
6914 2001-02-06 Mike Sperber <mike@xemacs.org>
6916 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6917 `configure-mule-lisp-directory'.
6919 2001-02-12 Martin Buchholz <martin@xemacs.org>
6921 Make sure dump-id.c is compiled in the same way as other .c's.
6922 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6923 * dump-id.h: Remove.
6924 * emacs.c: Move dump-id.h into dumper.h.
6925 * dumper.h: Move dump-id.h into dumper.h.
6927 Use standard .c.o rule for building dump-id.o.
6928 Remove preprocessor flags from link command.
6929 Add dump-id.o to ${otherobjs} if PDUMP.
6931 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6933 Port FSF 20.7 syntax table improvements.
6937 Fixups for new syntax table stuff.
6938 * dired.c: Include syntax.c.
6939 (Fdirectory_files): Initialize regex_match_object and
6941 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6942 and Fget_char_property.
6944 Use ported FSF 20.7 syntax table improvements.
6949 2001-02-09 Martin Buchholz <martin@xemacs.org>
6951 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6952 Unixware's enum boolean from sys/types.h.
6954 2001-02-10 Martin Buchholz <martin@xemacs.org>
6956 Fix support for building with latest Purify.
6957 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6958 (PURIFY_FLAGS): Likewise.
6960 2001-02-09 Martin Buchholz <martin@xemacs.org>
6962 * fileio.c (lisp_string_set_file_times): New.
6963 * fileio.c (Fcopy_file): Use it.
6965 (copy-file filename non-ascii-filename t t)
6966 ==> No such file or directory, non-ascii-filename
6968 2001-02-10 Martin Buchholz <martin@xemacs.org>
6970 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6971 USHRT_MAX seems clearer than ~0 anyways.
6973 2001-02-09 Martin Buchholz <martin@xemacs.org>
6975 dumper improvements. Inspired by Olivier.
6976 * dumper.c (pdump_max_align): New.
6977 * dumper.c (pdump_add_entry): Use pdump_max_align.
6978 * dumper.c (pdump_get_entry_list): Likewise.
6979 * dumper.c (pdump_scan_by_alignment): Likewise.
6980 Don't iterate through unnecessary alignments.
6981 * dumper.c (pdump_file_get): No need to align result of malloc().
6982 * dumper.c (pdump_mallocadr): Remove.
6983 The result of malloc() is guaranteed to be maximally aligned.
6984 * dumper.c: s/elmt/elt/g;
6985 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6986 * dumper.c (pdump_alert_undump_object): Likewise.
6987 * dumper.c (pdump_align_table):
6988 Don't support alignments > 64.
6989 Store ALIGNOF's, not shift counts, in table.
6991 2001-02-09 Martin Buchholz <martin@xemacs.org>
6993 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6994 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6995 * systime.h: Use HAVE_UTIME.
6996 * sysdep.c (struct utimbuf): Remove.
6997 * sysdep.c (set_file_times): Prefer utime() to utimes().
6998 * config.h.in (HAVE_UTIME): New.
6999 * config.h.in (HAVE_UTIME_H): Remove.
7000 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7002 2001-02-09 Martin Buchholz <martin@xemacs.org>
7004 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7006 2001-02-08 Martin Buchholz <martin@xemacs.org>
7008 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7010 2001-02-08 Martin Buchholz <martin@xemacs.org>
7012 * XEmacs 21.2.44 "Thalia" is released.
7014 2001-02-06 Martin Buchholz <martin@xemacs.org>
7016 Fixes crashes in kill-emacs on some systems.
7017 * process-unix.c (unix_kill_child_process):
7018 It's OK for kill() to fail with ESRCH.
7020 2001-02-07 Martin Buchholz <martin@xemacs.org>
7022 Contortions to make .gdbinit tricks work on most systems.
7023 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7024 * alloc.c (dbg_valmask): Make non-const.
7025 * alloc.c (dbg_typemask): Make non-const.
7026 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7027 * alloc.c (dbg_valbits): Make non-const.
7028 * alloc.c (dbg_gctypebits): Make non-const.
7029 * .gdbinit (decode_object): Make it work with AIX cc.
7031 2001-02-06 Martin Buchholz <martin@xemacs.org>
7033 * elhash.c (make_general_lisp_hash_table):
7034 Use simpler and more efficient calloc to clear entries.
7036 2001-02-07 Martin Buchholz <martin@xemacs.org>
7038 * window.c (window_scroll): Work around an AIX C compiler bug.
7039 Fixes 'scroll-up' does nothing problem with xlC.
7041 2001-02-05 Martin Buchholz <martin@xemacs.org>
7043 * .gdbinit: Remove obsolete comment.
7045 2001-01-31 Mike Alexander <mta@arbortext.com>
7047 * select.c (Fown_selection_internal): Set owned_p for device
7050 2001-02-01 Martin Buchholz <martin@xemacs.org>
7053 "not" cannot be used as a macro name as it is an operator in C++
7054 * config.h.in: Stop #defining `not'.
7055 * chartab.c (check_category_char): not ==> not_p
7056 * chartab.h: Likewise.
7057 * regex.c (re_match_2_internal): Likewise.
7059 2001-02-02 Martin Buchholz <martin@xemacs.org>
7061 * lisp-disunion.h: Fix up comments.
7063 2001-01-31 Martin Buchholz <martin@xemacs.org>
7065 * keymap.c (define_key_check_and_coerce_keysym):
7067 Support mouse-6 and mouse-7 bindings in the obvious way.
7069 2001-02-01 Martin Buchholz <martin@xemacs.org>
7071 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7073 2001-01-30 Martin Buchholz <martin@xemacs.org>
7075 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7076 Previous patch missed DEFVAR_INT_MAGIC.
7077 Make sure future DEFVAR_foo use correct types.
7078 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7079 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7080 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7081 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7082 * (DEFVAR_INT): Likewise.
7083 * redisplay.c (vertical_clip): Should be of type Fixnum.
7084 * redisplay.c (horizontal_clip): Likewise.
7085 * lisp.h (dump_add_opaque_int): New.
7086 (dump_add_opaque_fixnum): New.
7088 2001-01-29 Andy Piper <andy@xemacs.org>
7090 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7091 since they can be eval'ed
7093 2001-01-29 Martin Buchholz <martin@xemacs.org>
7095 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7096 Oops, XEmacs redefines `class'. Use `typename' instead.
7098 2001-01-28 Martin Buchholz <martin@xemacs.org>
7100 * dumper.c: Fix C++ compile errors.
7102 2001-01-29 Martin Buchholz <martin@xemacs.org>
7104 * tparam.c: Use correct prototypes.
7106 2001-01-28 Martin Buchholz <martin@xemacs.org>
7108 * sysproc.h: #include util.h for NetBSD's openpty.
7110 2001-01-27 Martin Buchholz <martin@xemacs.org>
7112 More 64-bit correctness.
7113 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7114 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7116 This finally finishes the 64-bit SGI port.
7117 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7118 * symbols.c: Fix up comments and type casts.
7119 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7120 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7121 * symeval.h (Fixnum): New type.
7122 * symeval.h (symbol_value_type): Fix up comment.
7138 * mule-canna.c: A million DEFVAR_INTs here...
7139 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7152 s/int/Fixnum/g in DEFVAR_INT declarations.
7154 2001-01-26 Martin Buchholz <martin@xemacs.org>
7156 Port pdump to SGI alignment-sensitive environment.
7157 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7158 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7160 Define and use aligned reading and writing macros.
7161 Use buffered stdio instead of posix i/o for faster dumping.
7162 Eliminate kludgy 256 byte space for header.
7163 Read and write from dump file using structs for alignment safety.
7164 * dumper.c (pdump_align_stream): New.
7165 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7166 * dumper.c (PDUMP_READ_ALIGNED): New.
7167 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7168 * dumper.c (pdump_static_Lisp_Object): New struct.
7169 * dumper.c (pdump_static_pointer): New struct.
7170 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7171 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7172 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7173 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7175 * dumper.c (pdump_backtrace):
7176 * dumper.c (pdump_get_indirect_count):
7177 * dumper.c (pdump_register_object):
7178 * dumper.c (pdump_register_struct):
7179 * dumper.c (pdump_reloc_one):
7180 * dumper.c (pdump_scan_by_alignment):
7181 * dumper.c (pdump_dump_from_root_struct_ptrs):
7182 * dumper.c (pdump_dump_opaques):
7183 * dumper.c (pdump_dump_rtables):
7184 * dumper.c (pdump_dump_from_root_objects):
7186 * dumper.c (pdump_load_finish):
7187 Use aligned reading and writing.
7189 * dumper.c (pdump_free): Make static.
7190 * dumper.c (pdump_hFile): Likewise.
7191 * dumper.c (pdump_hMap): Likewise.
7193 2001-01-26 Martin Buchholz <martin@xemacs.org>
7195 * XEmacs 21.2.43 "Terspichore" is released.
7197 2001-01-25 Martin Buchholz <martin@xemacs.org>
7199 Type fiddling for window_config.saved_windows_count
7200 * window.c (struct window_config):
7201 Make saved_windows_count member unsigned.
7202 * window.c (sizeof_window_config_for_n_windows):
7203 Make parameter unsigned.
7204 * window.c (mark_window_config):
7205 * window.c (window_config_equal):
7206 * window.c (free_window_configuration):
7207 * window.c (Fset_window_configuration):
7208 * window.c (count_windows):
7209 * window.c (Fcurrent_window_configuration):
7210 * window.c (reinit_vars_of_window):
7211 Update all callers and users.
7213 2001-01-25 Martin Buchholz <martin@xemacs.org>
7215 Alignment correctness for flexible arrays.
7216 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7217 Make alignment-correct. Add interesting comments.
7218 * alloc.c (size_vector):
7219 * alloc.c (make_vector_internal):
7220 * alloc.c (make_bit_vector_internal):
7221 * alloc.c (sweep_bit_vectors_1):
7222 * fns.c (size_bit_vector):
7223 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7224 * window.c (sizeof_window_config_for_n_windows):
7225 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7227 2001-01-24 Martin Buchholz <martin@xemacs.org>
7229 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7231 2001-01-23 Andy Piper <andy@xemacs.org>
7233 * select.c (Fown_selection_internal): pass owned_p
7235 * select-msw.c (mswindows_own_selection): New Signature.
7237 * console.h (struct console_methods): add owned_p to
7240 * select-x.c (x_own_selection): pass owned_p
7241 (hack_motif_clipboard_selection): use owned_p
7242 (vars_of_select_x): new variable -
7243 x_selection_strict_motif_ownership.
7245 2001-01-23 Martin Buchholz <martin@xemacs.org>
7247 * specifier.h (specifier_data_offset): Remove pointless parens.
7248 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7250 2001-01-24 Martin Buchholz <martin@xemacs.org>
7252 Make Lisp_Object sizeof methods be alignment-correct.
7253 pdump must restore objects to the same alignment as the C compiler
7254 assumes. It really matters on SGIs.
7255 * lstream.c (aligned_sizeof_lstream): New.
7256 (sizeof_lstream): Use aligned_sizeof_lstream.
7257 (Lstream_new): Likewise.
7258 * opaque.c (aligned_sizeof_opaque): New.
7259 (sizeof_opaque): Use aligned_sizeof_opaque.
7260 (make_opaque): Likewise.
7261 * specifier.c (aligned_sizeof_specifier): New.
7262 (sizeof_specifier): Use aligned_sizeof_specifier.
7263 (make_specifier_internal): Likewise.
7265 2001-01-23 Martin Buchholz <martin@xemacs.org>
7267 * lstream.h (struct lstream): Use max_align_t for trailing data.
7268 * specifier.h (struct Lisp_Specifier): Likewise.
7270 2001-01-22 Martin Buchholz <martin@xemacs.org>
7272 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7273 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7274 (CCL_SUSPEND): Likewise.
7275 (CCL_INVALID_CMD): Likewise.
7276 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7277 (ccl_driver): Likewise.
7278 (CCL_WRITE_CHAR): Macro hygiene.
7279 (CCL_WRITE_STRING): Macro hygiene.
7281 2001-01-22 Martin Buchholz <martin@xemacs.org>
7283 Port "portable" dumper to SunOS 4 and HP-UX.
7284 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7285 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7286 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7288 2001-01-22 Martin Buchholz <martin@xemacs.org>
7290 * lisp.h (ALIGNOF): A better definition for C++.
7292 2001-01-20 Martin Buchholz <martin@xemacs.org>
7295 Fix printf warnings: int format, long int arg.
7296 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7297 (PUSH_FAILURE_POINT): Use correct printf formats.
7298 (POP_FAILURE_POINT): Use correct printf formats.
7299 Use do {...} while (0)
7301 2001-01-20 Martin Buchholz <martin@xemacs.org>
7303 * XEmacs 21.2.42 "Poseidon" is released.
7305 2001-01-20 Martin Buchholz <martin@xemacs.org>
7307 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7309 2001-01-19 Martin Buchholz <martin@xemacs.org>
7311 De-kludgify FIXED_TYPE free list frobbing.
7312 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7313 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7314 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7315 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7316 * alloc.c (LRECORD_FREE_P): New.
7317 * alloc.c (MARK_LRECORD_AS_FREE): New.
7318 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7319 * alloc.c (STRUCT_FREE_P): Deleted.
7320 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7321 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7322 * alloc.c (STRING_CHARS_FREE_P): New.
7323 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7324 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7325 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7326 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7327 * alloc.c (resize_string): Use new definitions.
7328 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7329 * alloc.c (verify_string_chars_integrity): Use new definitions.
7330 * alloc.c (compact_string_chars): Use new definitions.
7331 * alloc.c: Update monster comments.
7332 * lrecord.h (lrecord_type): Add some new lrecord types for
7335 2001-01-18 Martin Buchholz <martin@xemacs.org>
7337 Improve alignment hackery.
7338 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7339 (max_align_t): Moved from opaque.h - general purpose.
7340 (ALIGN_PTR): Use size_t, not long.
7341 * opaque.h (max_align_t): Move to lisp.h.
7343 2001-01-18 Norbert Koch <nk@LF.net>
7345 * gui.h: Fix and add prototypes to fix build problems.
7347 2001-01-18 Martin Buchholz <martin@xemacs.org>
7349 temacs is going away, so `dump-temacs' is now a bad name.
7350 * .dbxrc (dump-temacs): Rename to `dmp'.
7351 * .gdbinit (dump-temacs): Rename to `dmp'.
7353 2001-01-17 Andy Piper <andy@xemacs.org>
7355 * glyphs.c (print_image_instance): comment to make martin happy.
7357 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7360 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7362 (mswindows_tab_control_redisplay): warning suppression.
7364 * glyphs-widget.c (widget_update): re-write to cope with updated
7366 (widget_instantiate): use new gui_item functions.
7367 (tab_control_update): deleted.
7368 (progress_gauge_update): deleted.
7369 (image_instantiator_progress_guage): take out update reference.
7370 (image_instantiator_tree_view): ditto.
7371 (image_instantiator_tab_control): ditto.
7373 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7375 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7376 return whether anything was changed.
7377 (update_gui_item_keywords): as it sounds.
7379 * gui.h: declare widget_gui_parse_item_keywords.
7381 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7382 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7384 2001-01-17 Martin Buchholz <martin@xemacs.org>
7386 * XEmacs 21.2.41 "Polyhymnia" is released.
7388 2001-01-16 Didier Verna <didier@xemacs.org>
7390 * glyphs.c (image_instantiate): don't use fallbacks when
7391 instantiating a face's background pixmap by inheritance.
7393 2001-01-14 Mike Sperber <mike@xemacs.org>
7395 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7396 Conditionalize accordingly.
7398 2001-01-16 Martin Buchholz <martin@xemacs.org>
7400 * dumper.c (pdump_file_get): Fix a compiler warning.
7402 2001-01-15 Martin Buchholz <martin@xemacs.org>
7404 Make Purify happy when pdumping.
7405 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7406 iniitalizing all bits of new lisp object memory.
7407 * symbols.c (Fmake_local_variable): Likewise.
7408 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7409 * symbols.c (Fdefvaralias): Likewise.
7410 * mule-charset.c (vars_of_mule_charset): Likewise.
7412 2001-01-15 Martin Buchholz <martin@xemacs.org>
7413 Add the `-nd' flag when running pre-dump operations under the debugger.
7414 * .dbxrc (run-temacs): Add `-nd'.
7415 * .dbxrc (update-elc): Likewise.
7416 * .dbxrc (dump-temacs): Likewise.
7417 * .gdbinit (run-temacs): Likewise.
7418 * .gdbinit (check-temacs): Likewise.
7419 * .gdbinit (update-elc): Likewise.
7420 * .gdbinit (dump-temacs): Likewise.
7422 2001-01-14 Martin Buchholz <martin@xemacs.org>
7424 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7425 export OBJECT_MODE=64
7426 configure --pdump --use-union-type=no
7427 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7428 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7430 * miscplay.c (sndcnv8U_2mono):
7431 Avoid two uses of `++' in the same expression.
7432 Suppresses a GCC warning.
7434 2001-01-13 Martin Buchholz <martin@xemacs.org>
7436 Make sure future compilers don't miscompile alloc.c.
7438 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7439 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7441 2001-01-12 Martin Buchholz <martin@xemacs.org>
7443 * dumper.c: A little post-pdump-rename comment fixup.
7445 2001-01-09 Jerry James <james@eecs.ku.edu>
7447 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7449 2001-01-13 Martin Buchholz <martin@xemacs.org>
7451 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7455 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7458 replace_symbol pdump_wire_lists pdump_weak_object_chains
7459 replace_symbol pdump_wire_list dump_add_weak_object_chain
7461 replace_symbol pdump_wires pdump_root_objects
7462 replace_symbol pdump_wire dump_add_root_object
7464 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7465 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7467 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7468 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7469 replace_symbol dumpstructinfo pdump_root_struct_ptr
7470 replace_symbol dumpstruct dump_add_root_struct_ptr
7472 replace_symbol dumpopaque dump_add_opaque
7473 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7474 replace_symbol dumpopaqueinfos pdump_opaques
7475 replace_symbol dumpopaqueinfo pdump_opaque
7477 replace_symbol nb_structdump nb_root_struct_ptrs
7478 replace_symbol nb_opaquedump nb_opaques
7480 replace_symbol align_table pdump_align_table
7481 replace_symbol dump_header pdump_header
7483 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7484 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7487 2001-01-12 Martin Buchholz <martin@xemacs.org>
7489 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7490 optimizing bytecount_to_charcount().
7492 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7495 (HAVE_DLFCN_H): Removed.
7496 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7498 2001-01-06 Martin Buchholz <martin@xemacs.org>
7500 Portable dumper maintainability improvements.
7501 * alloc.c (staticpro):
7502 * alloc.c (staticpro_nodump):
7503 * alloc.c (garbage_collect_1):
7504 * alloc.c (reinit_alloc_once_early):
7505 * alloc.c (init_alloc_once_early):
7506 * alloc.c: Move dumper functions to alloc.c.
7507 * dumper.c (pdump_backtrace):
7508 * dumper.c (pdump_dump_structs):
7509 * dumper.c (pdump_dump_opaques):
7510 * dumper.c (pdump_dump_rtables):
7511 * dumper.c (pdump_dump_wired):
7513 * dumper.c (pdump_load_check):
7514 * dumper.c (pdump_load_finish):
7515 * dumper.c (pdump_file_unmap):
7516 * dumper.c (pdump_file_get):
7517 * dumper.c (pdump_resource_free):
7518 * dumper.c (pdump_resource_get):
7519 * dumper.c (pdump_file_free):
7520 * dumper.c (pdump_file_try):
7521 * dumper.c (pdump_load):
7522 Remove fixed size limits on staticpro(), staticpro_nodump(),
7523 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7524 Remove custom code for dumping lrecord_implementations_table - use
7526 Remove (most of the) custom code for dumping staticpros - dump it
7527 like any other dynarr.
7529 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7530 * dumper.c: Moved functions from alloc.c.
7531 * alloc.c (dumpstruct): Moved to dumper.c.
7532 * alloc.c (dumpopaque): Likewise.
7533 * alloc.c (pdump_wire): Likewise.
7534 * alloc.c (pdump_wire_list): Likewise.
7536 * lisp.h (Dynarr_sizeof): New.
7537 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7538 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7539 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7541 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7542 * lisp.h (dumpopaque): ditto.
7543 * lisp.h (pdump_wire): ditto.
7544 * lisp.h (pdump_wire_list): ditto.
7546 2001-01-09 Martin Buchholz <martin@xemacs.org>
7548 * make-src-depend (PrintPatternDeps):
7549 Use `sort' to make output independent of perl version.
7551 2001-01-08 Martin Buchholz <martin@xemacs.org>
7554 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7555 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7557 2001-01-03 Didier Verna <didier@xemacs.org>
7559 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7560 that `focus_frame' is alive before thinking of calling
7561 `redisplay_redraw_cursor' on it.
7563 2001-01-08 Martin Buchholz <martin@xemacs.org>
7565 * XEmacs 21.2.40 is released.
7567 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7569 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7571 2001-01-06 Martin Buchholz <martin@xemacs.org>
7573 * alloc.c (dbg_valmask): Make const.
7574 * alloc.c (dbg_typemask): Make const.
7575 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7576 * alloc.c (dbg_valbits): Make const.
7577 * alloc.c (dbg_gctypebits): Make const.
7579 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7581 * redisplay-x.c (x_bevel_area):
7582 redisplay.h (struct rune):
7583 Typo fixes in comments.
7585 2001-01-05 Andy Piper <andy@xemacs.org>
7587 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7590 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7592 2001-01-05 Martin Buchholz <martin@xemacs.org>
7594 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7596 * mule-ccl.c (stack_idx_of_map_multiple):
7597 Non const global data must not be initialized!
7598 Found by MIYASHITA Hisashi.
7600 2001-01-02 Andy Piper <andy@xemacs.org>
7602 * frame.c (change_frame_size): make sure frame size is always
7605 * glyphs.c (image_instance_layout): minor code reuse.
7607 * window.c (Fcurrent_window_configuration): revert previous
7610 2001-01-02 Martin Buchholz <martin@xemacs.org>
7613 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7615 2000-12-31 Andy Piper <andy@xemacs.org>
7617 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7618 when widget gets unmapped.
7620 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7621 function. Make sure widgets losing focus don't just drop it.
7622 (handle_focus_event_1): record the widget with focus.
7624 2000-12-31 Andy Piper <andy@xemacs.org>
7626 * window.c (allocate_window): use
7627 make_image_instance_cache_hash_table.
7628 (make_dummy_parent): ditto.
7629 (Fset_window_configuration): ditto.
7631 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7633 * glyphs.c (process_image_string_instantiator): use
7635 (get_image_instantiator_governing_domain): ditto.
7636 (normalize_image_instantiator): ditto.
7637 (instantiate_image_instantiator): ditto.
7638 (make_image_instance_1): ditto.
7639 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7640 (instantiator_eq_equal): new function for use with instance hash
7642 (instantiator_eq_hash): ditto.
7643 (make_image_instance_cache_hash_table): create a suitable hash
7644 table for storing image instances.
7646 * elhash.h (hash_table_weakness): new internal weakness type
7647 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7648 declare new functions.
7650 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7651 another weakness type for glyphs.
7652 (make_standard_lisp_hash_table): new function split out from
7653 make_general_lisp_hash_table.
7654 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7655 (hash_table_instantiate): ditto.
7656 (Fmake_hash_table): ditto.
7658 2000-12-31 Martin Buchholz <martin@xemacs.org>
7660 * XEmacs 21.2.39 is released.
7662 2000-12-29 Andy Piper <andy@xemacs.org>
7664 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7666 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7667 the frame has changed so that we pick up geometry changes such as
7670 2000-12-28 Andy Piper <andy@xemacs.org>
7672 * lastfile.c (my_ebss): make a char array so we can pad the
7673 bss. Fixes cygwin unexec.
7675 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7677 2000-12-26 Andy Piper <andy@xemacs.org>
7679 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7680 comments and try and be more precise about a non-/SIGIO world.
7681 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7684 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7685 we don't normalize to zero width or height.
7687 2000-12-24 Andy Piper <andy@xemacs.org>
7689 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7691 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7693 * s/sco5.h: SCO 5 has pty support.
7695 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7697 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7698 input-method-xlib.c contains whole contents of input-method-xfs.c,
7699 so we can use input-method-xlib.c's code for USE_XFONTSET
7701 * input-method-xfs.c: removed.
7703 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7705 * file-coding.h (enum coding_category_type): reorder enumerators to
7706 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7707 (now one greater than largest real coding_category_type enumerator).
7708 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7709 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7710 Fcoding_category_list, Fset_coding_priority_list,
7711 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7712 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7714 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7716 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7717 * redisplay-output.c (redisplay_output_window): Clear top of window
7718 when face is changed.
7719 * redisplay-x.c (x_redraw_exposed_window): Call
7720 redisplay_clear_top_of_window.
7721 * redisplay.h: Publish redisplay_clear_top_of_window.
7723 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7725 * buffer.c (Fkill_buffer): Map over all devices.
7726 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7727 (list_windows): New function.
7728 (list_all_windows): Ditto.
7729 (Freplace_buffer_in_windows): Use them.
7731 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7733 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7734 (Fopen_database): Use `db_create' instead of `db_open'.
7735 (syms_of_database): Initialize Qqueue.
7737 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7739 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7740 buffer_local_face_property.
7741 * buffer.h (struct buffer): New member buffer_local_face_property.
7742 * window.c (Fset_window_buffer): Mark window's face as changed
7743 when buffer has buffer local face.
7744 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7745 * objects.c (color_after_change): Set buffer_local_face_property
7746 when locale of face specifier is buffer.
7747 * objects.c (font_after_change): Ditto.
7748 * objects.c (face_boolean_after_change): Ditto.
7749 * glyphs.c (image_after_change): Ditto.
7751 2000-12-09 Dan Holmsand <dan@eyebee.com>
7753 * nt.c (mswindows_fstat): Report file permissions, volume serial
7754 number, etc. Code adapted from FSF Emacs 20.7.
7756 2000-12-09 Dan Holmsand <dan@eyebee.com>
7758 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7759 of stat when we don't have symbolic links, to make sure
7760 mswindows_stat is called on mswindows.
7762 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7764 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7766 2000-12-12 Martin Buchholz <martin@xemacs.org>
7768 * doprnt.c (emacs_doprnt_1): More printing fixes.
7769 Make printing of numbers compatible with libc and FSF Emacs.
7770 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7771 Use the system printf to do most of the hard work of formatting,
7772 instead of doprnt_1().
7773 Calculate memory to allocate for format string.
7774 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7775 (doprnt_1): Cleaner code and documentation.
7777 2000-12-01 Jerry James <james@eecs.ukans.edu>
7779 * Makefile.in.in: Use the loop variable to install headers.
7781 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7783 * window.c (Fsplit_window): Don't invalidate face cache.
7785 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7787 * minibuf.c (Fall_completions): Undo the previous change
7788 which removed checking elements start with space.
7790 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7792 * mule-canna.c: Didier suppression.
7794 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7796 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7797 (warning suppression). Add English comment translations.
7799 2000-12-05 Martin Buchholz <martin@xemacs.org>
7801 * unexelfsgi.c (unexec): Better test for mmap failure.
7803 2000-12-05 Martin Buchholz <martin@xemacs.org>
7805 * XEmacs 21.2.38 is released.
7807 2000-12-05 Martin Buchholz <martin@xemacs.org>
7809 * redisplay.c (bar-cursor): Make a user variable.
7811 * symsinit.h: Add init_postgresql_from_environment.
7813 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7815 * regex.c: Convert to clean C.
7817 2000-12-05 Dan Holmsand <dan@eyebee.com>
7820 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7822 (sys_readlink): renamed to system_readlink to avoid conflict with
7823 the other sys_readlink.
7825 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7827 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7829 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7831 * postgresql.c (init_postgresql_from_environment): new function.
7832 (vars_of_postgresql): Move code initializing Lisp variables out and
7833 into init_postgresql_from_environment.
7834 emacs.c (main_1): Call init_postgresql_from_environment if and only
7835 if running a dumped XEmacs.
7837 2000-08-31 Dan Holmsand <dan@eyebee.com>
7839 * buffer.c: Make find-file-compare-truenames default to true on
7842 * realpath.c (win32_abs_start):
7844 (win32_readlink): New functions.
7845 (xrealpath): Return really real filenames on windows.
7847 * fileio.c (Ffile_truename): Make file-truename work on windows.
7849 2000-11-29 Didier Verna <didier@xemacs.org>
7851 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7852 * faces.c (update_face_cachel_data): use it.
7853 * faces.c (add_face_cachel): use it. Complete background pixmap
7854 frobbing in face cache if `update_face_cachel_data' has not done so.
7856 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7858 * search.c (string_match_1): Don't set last_thing_searched
7861 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7863 * buffer.c: Include casetab.h
7864 (common_init_complex_vars_of_buffer): Use new case-table object.
7865 * buffer.h: Include casetab.h
7866 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7867 (DOWNCASE_TABLE_OF): Ditto.
7868 * bufslots.h: Remove char-tables and add case-table.
7869 * casetab.c: Include casetab.h
7870 (CASE_TABLE_P): Removed.
7871 (mark_case_table): New function.
7872 (allocate_case_table): New function.
7873 (Fcase_table_p): Use new case-table.
7874 (case_table_char): New function.
7875 (Fget_case_table): Ditto.
7876 (Fput_case_table): Ditto.
7877 (Fput_case_table_pair): Ditto.
7878 (Fcopy_case_table): Ditto.
7879 (Fcurrent_case_table): Return case-table.
7880 (Fstandard_case_table): Return case-table.
7881 (Fset_case_table): Fix doc-string.
7882 (set_case_table): Use case-table
7883 (syms_of_casetab): DEFSUBR new functions.
7884 (complex_vars_of_casetab): Set up standard case-table.
7885 * casetab.h: New file.
7886 * editfns.c: Include casetab.h
7887 (Fcompare_buffer_substrings): Use case-table.
7888 * inline.c: Include casetab.h
7889 * lisp.h: Remove bogus extern.
7890 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7891 * search.c: Include casetab.h
7892 (TRANSLATE_ASCII): Removed.
7893 (TRANSLATE): Unconditionally translate character.
7894 (looking_at_1): Use case-table.
7895 (string_match_1): Ditto.
7896 (fast_string_match): Ditto.
7897 (search_command): Ditto.
7898 (search_buffer): Separate boyer_moore. Check whether
7899 boyer_moore is possible.
7900 (simple_search): New function.
7901 (boyer_moore): Separated from search_buffer. Translate char.
7903 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7905 * regex.c (RE_TR_ASCII): Removed.
7906 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7907 (PATFETCH): Call PATFETCH_RAW.
7908 (PATFETCH_RAW): Fetch Emchar.
7909 (PATUNFETCH): Decrement charptr.
7910 (GET_BUFFER_SPACE): Rename b to buf_end.
7912 (BUF_PUSH_2): Ditto.
7913 (BUF_PUSH_3): Ditto.
7914 (EXTEND_BUFFER): Ditto.
7915 (SET_LIST_BIT): Ditto.
7916 (regex_compile): Ditto. Translate non ASCII char.
7917 (compile_range): Ditto.
7918 (re_search_2): Ditto.
7919 (re_match_2_internal): Compare Emchar.
7920 (bcmp_translate): Ditto.
7922 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7924 * lisp.h (basic char/int typedefs): comment improvement.
7926 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7928 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7929 unstomp inhibit_site_lisp. Improve comments.
7931 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7933 * mule-charset.c (Fcharset_property): improve type checking, comments.
7935 2000-11-28 Andy Piper <andy@xemacs.org>
7937 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7938 clipped display for windows in the gutter also.
7939 (redisplay_display_boxes_in_window_p): change semantics of return
7940 codes to be more intuitive.
7942 * gutter.h: declare display_boxes_in_gutter_p.
7944 * gutter.c (display_boxes_in_gutter_p): new function for
7947 2000-11-22 Andy Piper <andy@xemacs.org>
7949 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7952 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7954 * callproc.c (Fold_call_process_internal):
7955 * gpm.c (Freceive_gpm_event):
7956 (tty_get_foreign_selection): Might be just warning supression.
7957 * fileio.c (Fwrite_region_internal):
7958 (Fset_visited_file_modtime):
7959 * keymap.c (event_matches_key_specifier_p):
7960 Initialize GCPROed variable.
7962 * menubar-x.c (command_builder_find_menu_accelerator):
7963 Initialize before use.
7965 2000-11-23 Andy Piper <andy@xemacs.org>
7967 * unexcw.c (unexec): make the resulting executable executable.
7969 2000-11-21 Martin Buchholz <martin@xemacs.org>
7971 * doc.c (get_doc_string):
7972 Use size_t, not int, for result of XSTRING_LENGTH.
7974 * cmds.c (Fdelete_char):
7975 * cmds.c (Fpoint_at_eol):
7976 * cmds.c (Fself_insert_command):
7977 Use EMACS_INT, not int, for result of XINT.
7978 Someday, someone will want to insert more than 2**31 identical characters.
7980 * cmds.c (Fdelete_char):
7981 * cmds.c (Fdelete_backward_char):
7982 * syntax.c (Fforward_word):
7983 * syntax.c (Fforward_comment):
7984 Make COUNT argument optional, for consistency with forward-char et al.
7986 2000-11-22 Martin Buchholz <martin@xemacs.org>
7989 * print.c (long_to_string):
7990 Return a useful value: the pointer at end of data written.
7993 Use `static const char * const' for constant strings.
7994 (union printf_arg): Delete `i', `ui' members.
7997 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7998 Do all printf-ing via the `l' specifier.
7999 Use EMACS_INT instead of int.
8002 2000-11-20 Didier Verna <didier@xemacs.org>
8004 * faces.c (update_face_cachel_data): don't frob the background
8005 pixmap when the window is being created. The face is needed but
8008 2000-11-20 Andy Piper <andy@xemacs.org>
8010 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8011 messing with a debug environment.
8013 2000-11-20 Martin Buchholz <martin@xemacs.org>
8015 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8017 2000-11-20 Martin Buchholz <martin@xemacs.org>
8019 * casetab.c (Fcase_table_p): Fix compile error and crash.
8021 2000-11-18 Philip Aston <philipa@mail.com>
8023 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8025 2000-11-18 Martin Buchholz <martin@xemacs.org>
8027 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8028 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8030 2000-11-17 Martin Buchholz <martin@xemacs.org>
8032 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8033 * unexelf.c: Use HAVE_ELF_H.
8034 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8035 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8036 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8037 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8039 So this is an unexelfsgi.c from a different line of development.
8041 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8043 * regex.c (RE_TR_ASCII): New function.
8044 (RE_TRANSLATE): Call it.
8046 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8048 * buffer.h (TRT_TABLE_OF): Remove assert.
8049 (IN_TRT_TABLE_DOMAIN): Removed.
8051 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8053 * free-hook.c (log_gcpro):
8054 (show_gcprohist): Add support for GCPRO5.
8056 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8058 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8060 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8062 * symeval.h: Declare flush_all_buffer_local_cache.
8064 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8065 (flush_buffer_local_cache): Added.
8066 (flush_all_buffer_local_cache): Added.
8068 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8070 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8071 (pdump_dump_data): Ditto.
8072 (pdump_reloc_one): Ditto.
8073 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8077 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8079 * buffer.c: Remove if 0'ed entry.
8080 * buffer.h: Rewrite TRT to use char-table.
8081 * bufslots.h: Remove mirror tables.
8082 * casetab.c: Remove mirror tables.
8083 (CASE_TABLE_P): New macro.
8084 (Fcase_table_p): Element of a case table is string or char-table.
8085 (make_mirror_trt_table): Removed.
8086 (set_case_table): Setup char-table from strings for backward
8088 * dired.c (Fdirectory_files):
8089 * dired-msw.c: (mswindows_get_files):
8090 * lisp.h: Change prototype of re_pattern_buffer.
8091 * regex.c: (RE_TRANSLATE): New macro.
8092 (TRANSLATE_P): Ditto.
8093 Change translate to type RE_TRANSLATE_TYPE.
8094 * regex.h: Define RE_TRANSLATE_TYPE
8095 * search.c (TRANSLATE): New macro.
8096 (TRANSLATE_ASCII): New macro.
8097 Translate table is changed to Lisp_Object.
8098 (signal_failure): Inhibit return.
8100 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8107 Do UNGCPRO before return.
8109 2000-11-14 Martin Buchholz <martin@xemacs.org>
8111 * XEmacs 21.2.37 is released.
8113 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8115 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8116 Add comments about discarded return value.
8118 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8121 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8123 2000-10-27 Andy Piper <andy@xemacs.org>
8125 * gutter.c (Fset_default_gutter_position): default left and right
8127 (calculate_gutter_size): calculate resonable heuristic for left
8128 and right gutter sizes.
8129 (specifier_vars_of_gutter): change left and right gutter sizes to
8131 (calculate_gutter_size_from_display_lines): new function.
8132 (output_gutter): check for resizing on left and right gutters.
8133 (clear_gutter): don't special case top and left gutters.
8134 (specifier_vars_of_gutter): use new signature for
8135 set_specifier_caching.
8137 * glyphs-x.c (x_redisplay_widget): spelling fix.
8138 * glyphs.c (specifier_vars_of_glyphs):
8139 * menubar.c (specifier_vars_of_menubar):
8140 * redisplay.c (specifier_vars_of_redisplay):
8141 * toolbar.c (specifier_vars_of_toolbar):
8142 * window.c (specifier_vars_of_window):
8143 * scrollbar.c (specifier_vars_of_scrollbar):
8144 (complex_vars_of_scrollbar): use new signature for
8145 set_specifier_caching.
8147 * specifier.c (set_specifier_caching): include recompute flag.
8148 (recompute_one_cached_specifier_in_window): always recompute if
8150 (recompute_one_cached_specifier_in_frame): ditto.
8152 * specifier.h (struct specifier_caching): add recompute flag.
8154 2000-10-24 Andy Piper <andy@xemacs.org>
8156 * unexcw.c (copy_executable_and_dump_data_section): add new
8157 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8160 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8162 * console-x.h (x_device): New member modifier_release_time.
8163 * event-Xt.c (x_handle_sticky_modifiers):
8164 Bound interval modifier keys are sticky.
8165 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8166 * events.h: extern it.
8168 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8170 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8172 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8174 * event-stream.c (execute_command_event): Preserve current_events
8175 and the like when event is misc-user-event.
8176 Inhibit quit during the call to maybe_echo_keys.
8178 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8180 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8181 symlink when buffer is killed.
8182 (inhibit_clash_detection): New variable.
8184 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8186 * console.c (Fset_input_method): Trigger redisplay on tty.
8188 2000-11-07 Martin Buchholz <martin@xemacs.org>
8190 * process.c (Fprocess_status): Revert to previous behavior:
8191 (process-status "nosuchprocess") ==> nil
8193 2000-11-06 Martin Buchholz <martin@xemacs.org>
8195 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8196 Work around another GCC 2.95.2 optimizer bug.
8198 2000-11-02 Martin Buchholz <martin@xemacs.org>
8200 * process.c (Fget_process): Use LIST_LOOP_2.
8201 (kill_buffer_processes): Use LIST_LOOP_2.
8203 * minibuf.c (Fall_completions):
8204 Delete old non-functional code for FSF fourth argument.
8206 * frame.c (frame_matches_frame_spec):
8207 Renamed from `frame_matches_frametype'. Update all callers.
8208 (device_matches_device_spec):
8209 Renamed from 'device_matches_console_spec'. Update all callers.
8211 * doc.c (Fsubstitute_command_keys):
8212 Remove buffer overflow crash. Small code cleanups.
8214 * casetab.c (check_case_table): Simpler code.
8216 * window.c (Freplace_buffer_in_windows):
8217 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8218 (and similar implementation) as Fdelete_windows_on.
8221 * alloc.c (Fmake_list):
8222 * alloc.c (make_vector):
8223 * alloc.c (Fmake_vector):
8224 * alloc.c (make_bit_vector):
8225 * alloc.c (Fmake_bit_vector):
8226 * alloc.c (Fbit_vector):
8227 * alloc.c (Fmake_string):
8228 * alloc.c (Fpurecopy):
8229 * alloc.c (Fmemory_limit):
8231 * buffer.c (Fget_buffer):
8232 * buffer.c (Fkill_buffer):
8233 * buffer.c (complex_vars_of_buffer):
8234 * bytecode.c (Fcompiled_function_stack_depth):
8235 * callint.c (Fprefix_numeric_value):
8237 * event-stream.c (Fread_key_sequence):
8239 * casetab.c (Fcase_table_p):
8240 * casetab.c (check_case_table):
8241 * casetab.c (Fset_case_table):
8242 * casetab.c (Fset_standard_case_table):
8244 * chartab.c (Fchar_table_type):
8245 * chartab.c (Freset_char_table):
8246 * chartab.c (Fget_char_table):
8247 * chartab.c (Fget_range_char_table):
8248 * chartab.c (Fput_char_table):
8249 * chartab.c (Fmap_char_table):
8250 * chartab.c (Fcategory_table_p):
8251 * chartab.c (Fcheck_category_at):
8252 * chartab.c (Fchar_in_category_p):
8253 * chartab.c (Fcategory_table):
8254 * chartab.c (Fcopy_category_table):
8255 * chartab.c (Fset_category_table):
8256 * chartab.c (Fcategory_designator_p):
8257 * chartab.c (Fcategory_table_value_p):
8258 * cmds.c (Fdelete_char):
8259 * cmds.c (Fdelete_backward_char):
8260 * cmds.c (Fself_insert_command):
8261 * cmds.c (Fself_insert_internal):
8262 * console.c (Fvalid_console_type_p):
8263 * console.c (Fcdfw_console):
8264 * console.c (Fconsole_type):
8265 * console.c (Fconsole_name):
8266 * console.c (Fconsole_device_list):
8267 * console.c (Fconsole_on_window_system_p):
8271 * data.c (Fsubr_interactive):
8272 * data.c (Fchar_to_int):
8273 * data.c (Fint_to_char):
8276 * data.c (Fnumber_to_string):
8277 * data.c (Fstring_to_number):
8279 * database.c (mark_database):
8280 * database.c (finalize_database):
8281 * database.c (Fdatabase_live_p):
8282 * database.c (Fdatabasep):
8283 * device-x.c (Fx_get_resource):
8284 * device.c (Fdfw_device):
8286 * dired.c (Ffile_name_completion):
8287 * dired.c (Ffile_name_all_completions):
8288 * dired.c (Fuser_name_completion):
8289 * dired.c (Fuser_name_completion_1):
8290 * dired.c (Fuser_name_all_completions):
8291 * doc.c (Fdocumentation):
8292 * doc.c (Fdocumentation_property):
8293 * doc.c (Fsubstitute_command_keys):
8295 * editfns.c (Fchar_to_string):
8296 * editfns.c (Fstring_to_char):
8297 * editfns.c (Ftemp_directory):
8298 * editfns.c (Finsert_char):
8299 * editfns.c (Fbuffer_substring_no_properties):
8300 * editfns.c (Fnarrow_to_region):
8301 * editfns.c (Fchar_equal):
8302 * editfns.c (Fchar_Equal):
8303 * editfns.c (Ftranspose_regions):
8304 * emacs.c (Fdump_emacs):
8306 * eval.c (Fcommand_execute):
8307 * eval.c (Fautoload):
8308 * eval.c (Fbacktrace):
8309 * eval.c (Fbacktrace_frame):
8311 * events.c (Fcopy_event):
8312 * events.c (Fcharacter_to_event):
8313 * events.c (Fevent_button):
8314 * events.c (Fevent_process):
8316 * extents.c (Fnext_extent_change):
8317 * extents.c (Fextent_property):
8319 * faces.c (Fmake_face):
8321 * file-coding.c (Fencode_shift_jis_char):
8322 * file-coding.c (Fencode_big5_char):
8323 * fileio.c (Ffile_name_directory):
8324 * fileio.c (Ffile_name_nondirectory):
8325 * fileio.c (Ffile_name_as_directory):
8326 * fileio.c (Fdirectory_file_name):
8327 * fileio.c (Ffile_truename):
8328 * fileio.c (Fsubstitute_in_file_name):
8329 * fileio.c (Ffile_modes):
8330 * fileio.c (Fset_file_modes):
8331 * fileio.c (Fset_default_file_modes):
8332 * fileio.c (Fverify_visited_file_modtime):
8333 * floatfns.c (Facos):
8334 * floatfns.c (Fasin):
8335 * floatfns.c (Fatan):
8336 * floatfns.c (Fcos):
8337 * floatfns.c (Fsin):
8338 * floatfns.c (Ftan):
8339 * floatfns.c (Fbessel_j0):
8340 * floatfns.c (Fbessel_j1):
8341 * floatfns.c (Fbessel_jn):
8342 * floatfns.c (Fbessel_y0):
8343 * floatfns.c (Fbessel_y1):
8344 * floatfns.c (Fbessel_yn):
8345 * floatfns.c (Ferf):
8346 * floatfns.c (Ferfc):
8347 * floatfns.c (Flog_gamma):
8348 * floatfns.c (Fexp):
8349 * floatfns.c (Fexpt):
8350 * floatfns.c (Flog):
8351 * floatfns.c (Flog10):
8352 * floatfns.c (Fsqrt):
8353 * floatfns.c (Fcube_root):
8354 * floatfns.c (Facosh):
8355 * floatfns.c (Fasinh):
8356 * floatfns.c (Fatanh):
8357 * floatfns.c (Fcosh):
8358 * floatfns.c (Fsinh):
8359 * floatfns.c (Ftanh):
8360 * floatfns.c (Fabs):
8361 * floatfns.c (Ffloat):
8362 * floatfns.c (Flogb):
8363 * floatfns.c (Fceiling):
8364 * floatfns.c (Ffloor):
8365 * floatfns.c (Fround):
8366 * floatfns.c (Ftruncate):
8367 * floatfns.c (Ffceiling):
8368 * floatfns.c (Fffloor):
8369 * floatfns.c (Ffround):
8370 * floatfns.c (Fftruncate):
8371 * fns.c (Fstring_equal):
8372 * fns.c (Fstring_lessp):
8377 * fns.c (Fsubstring):
8379 * fns.c (Fold_assoc):
8380 * fns.c (assoc_no_quit):
8382 * fns.c (Fold_assq):
8383 * fns.c (assq_no_quit):
8385 * fns.c (Fold_rassoc):
8387 * fns.c (Fold_rassq):
8388 * fns.c (rassq_no_quit):
8389 * fns.c (Fremassoc):
8390 * fns.c (remassoc_no_quit):
8392 * fns.c (remassq_no_quit):
8393 * fns.c (Fremrassoc):
8394 * fns.c (Fremrassq):
8395 * fns.c (remrassq_no_quit):
8397 * fns.c (Fplist_get):
8398 * fns.c (Fplist_put):
8399 * fns.c (Fplist_remprop):
8400 * fns.c (Fplist_member):
8401 * fns.c (Flax_plist_get):
8402 * fns.c (Flax_plist_put):
8403 * fns.c (Flax_plist_remprop):
8404 * fns.c (Flax_plist_member):
8406 * fns.c (Fold_equal):
8408 * fns.c (Fbase64_encode_region):
8409 * fns.c (Fbase64_encode_string):
8410 * fns.c (Fbase64_decode_region):
8412 * frame.c (frame_matches_frame_spec):
8413 * frame.c (device_matches_device_spec):
8414 * frame.c (next_frame):
8415 * frame.c (previous_frame):
8416 * frame.c (Fnext_frame):
8417 * frame.c (Fprevious_frame):
8418 * frame.c (Fframe_property):
8419 * frame.c (Fset_frame_height):
8420 * frame.c (Fset_frame_size):
8424 * glyphs.c (decode_error_behavior_flag):
8425 * glyphs.c (Fmake_image_instance):
8426 * indent.c (Findent_to):
8427 * intl.c (Fignore_defer_gettext):
8428 * keymap.c (Fkeymapp):
8429 * keymap.c (Flookup_key):
8431 * lread.c (Fload_internal):
8432 * lread.c (Feval_buffer):
8433 * lread.c (Feval_region):
8434 * macros.c (Fexecute_kbd_macro):
8435 * marker.c (set_marker_internal):
8436 * marker.c (Fset_marker):
8437 * marker.c (set_marker_restricted):
8438 * marker.c (Fcopy_marker):
8439 * marker.c (noseeum_copy_marker):
8441 * menubar.c (Fpopup_menu):
8443 * mule-charset.c (Fcharset_name):
8444 * mule-charset.c (Fchar_charset):
8445 * mule-charset.c (Fchar_octet):
8446 * mule-charset.c (Fsplit_char):
8447 * mule-wnnfns.c (Fwnn_open):
8448 * mule-wnnfns.c (Fwnn_dict_comment):
8449 * mule-wnnfns.c (Fwnn_quit_henkan):
8450 * mule-wnnfns.c (Fwnn_word_toroku):
8451 * mule-wnnfns.c (Fwnn_word_sakujo):
8452 * mule-wnnfns.c (Fwnn_word_use):
8453 * mule-wnnfns.c (Fwnn_hindo_set):
8455 * objects.c (Fmake_color_instance):
8456 * objects.c (Fmake_font_instance):
8457 * print.c (Fwrite_char):
8459 * process.c (mark_process):
8460 * process.c (print_process):
8461 * process.c (get_process_from_usid):
8462 * process.c (Fprocessp):
8463 * process.c (Fprocess_live_p):
8464 * process.c (Fget_process):
8465 * process.c (Fget_buffer_process):
8466 * process.c (get_process):
8467 * process.c (Fprocess_id):
8468 * process.c (Fprocess_name):
8469 * process.c (Fprocess_command):
8470 * process.c (init_process_io_handles):
8471 * process.c (start_process_unwind):
8472 * process.c (Fstart_process_internal):
8473 * process.c (Fopen_multicast_group_internal):
8474 * process.c (Fset_process_window_size):
8475 * process.c (read_process_output):
8476 * process.c (send_process):
8477 * process.c (Fprocess_tty_name):
8478 * process.c (Fset_process_buffer):
8479 * process.c (Fprocess_buffer):
8480 * process.c (Fprocess_mark):
8481 * process.c (set_process_filter):
8482 * process.c (Fset_process_filter):
8483 * process.c (Fprocess_filter):
8484 * process.c (Fprocess_send_region):
8485 * process.c (Fprocess_send_string):
8486 * process.c (exec_sentinel):
8487 * process.c (Fset_process_sentinel):
8488 * process.c (Fprocess_sentinel):
8489 * process.c (status_notify):
8490 * process.c (Fprocess_status):
8491 * process.c (Fprocess_exit_status):
8492 * process.c (process_send_signal):
8493 * process.c (Fprocess_send_eof):
8494 * process.c (deactivate_process):
8495 * process.c (remove_process):
8496 * process.c (Fdelete_process):
8497 * process.c (kill_buffer_processes):
8498 * process.c (Fprocess_kill_without_query):
8499 * process.c (Fprocess_kill_without_query_p):
8501 * rangetab.c (Fget_range_table):
8502 * rangetab.c (Fput_range_table):
8503 * rangetab.c (Fremove_range_table):
8504 * rangetab.c (Fclear_range_table):
8506 * search.c (Fskip_chars_forward):
8507 * search.c (Fskip_chars_backward):
8508 * search.c (Fskip_syntax_forward):
8509 * search.c (Fskip_syntax_backward):
8510 * search.c (search_command):
8511 * search.c (Freplace_match):
8512 * search.c (Fregexp_quote):
8513 * select.c (Fown_selection_internal):
8514 * select.c (Fselection_owner_p):
8515 * select.c (Fselection_exists_p):
8516 * select.c (Fget_selection_internal):
8519 * symbols.c (Fintern):
8520 * symbols.c (Fintern_soft):
8521 * symbols.c (Funintern):
8522 * symbols.c (Fapropos_internal):
8523 * symbols.c (Fset_default):
8525 * syntax.c (Fsyntax_table_p):
8526 * syntax.c (Fcopy_syntax_table):
8527 * syntax.c (Fset_syntax_table):
8528 * syntax.c (Fchar_syntax):
8529 * syntax.c (syntax_match):
8530 * syntax.c (Fmatching_paren):
8531 * syntax.c (Fforward_word):
8532 * syntax.c (scan_lists):
8533 * syntax.c (Fscan_lists):
8534 * syntax.c (Fscan_sexps):
8535 * syntax.c (Fparse_partial_sexp):
8536 * toolbar.c (Fcheck_toolbar_button_syntax):
8539 * window.c (Fwindowp):
8540 * window.c (Fwindow_live_p):
8541 * window.c (Fwindow_point):
8542 * window.c (Fdelete_window):
8543 * window.c (Fnext_window):
8544 * window.c (Fprevious_window):
8545 * window.c (Fother_window):
8546 * window.c (window_loop):
8547 * window.c (Fget_lru_window):
8548 * window.c (Fsplit_window):
8549 * window.c (Fenlarge_window):
8550 * window.c (Fenlarge_window_pixels):
8551 * window.c (Fshrink_window):
8552 * window.c (Fshrink_window_pixels):
8553 * window.c (change_window_height):
8554 * window.c (Fwindow_configuration_p):
8555 * window.c (Fcurrent_window_configuration):
8557 * casefiddle.c (casify_object):
8558 * casefiddle.c (Fupcase):
8559 * casefiddle.c (Fdowncase):
8560 * casefiddle.c (Fcapitalize):
8561 * casefiddle.c (Fupcase_initials):
8562 * casefiddle.c (casify_region_internal):
8563 * casefiddle.c (casify_region):
8564 * casefiddle.c (Fupcase_region):
8565 * casefiddle.c (Fdowncase_region):
8566 * casefiddle.c (Fcapitalize_region):
8567 * casefiddle.c (Fupcase_initials_region):
8568 * casefiddle.c (Fupcase_word):
8569 * casefiddle.c (Fdowncase_word):
8570 * casefiddle.c (Fcapitalize_word):
8571 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8572 Replace 0 with '\0' when working with bytes.
8573 Replace initial "(" with "\(" in docstrings.
8575 2000-11-01 Martin Buchholz <martin@xemacs.org>
8577 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8579 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8581 2000-10-31 Martin Buchholz <martin@xemacs.org>
8583 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8585 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8587 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8590 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8592 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8593 (inhibit_auto_save_session): New variable.
8594 (vars_of_fileio): Declare and initialize them.
8595 * fileio.c (Fdo_auto_save): Don't create session file if
8596 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8598 2000-10-31 Martin Buchholz <martin@xemacs.org>
8600 * sgiplay.c (play_internal): C++ compilability.
8601 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8602 * callproc.c (Fold_call_process_internal):
8603 Remove unused vars `env', `first'.
8604 * scrollbar.c (update_scrollbar_instance):
8605 #### unused var `current_window'.
8606 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8607 etc. within #ifdef NOT_YET.
8608 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8609 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8610 * specifier.c (specifier_instance):
8611 #### unused var `tag'.
8612 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8614 2000-10-27 Martin Buchholz <martin@xemacs.org>
8617 * fns.c (list_sort):
8618 * fns.c (Ffillarray):
8619 * fns.c (bytecode_nconc2):
8622 * fns.c (Fmapconcat):
8623 Be pedantically 64-bit correct. For the time when someone will
8624 want to have a list with length > 2**32.
8626 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8627 Work around MIPSpro compiler bug.
8629 * process-unix.c (unix_kill_child_process): Add snarky comment.
8630 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8632 * config.h.in: Oops, _getpt ==> _getpty
8634 2000-10-26 Martin Buchholz <martin@xemacs.org>
8638 Use void*, not char*, as return type of alloca().
8640 * alloc.c (free_marker): Side effect inside assert expression!
8642 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8644 * mule-charset.c (Fset_charset_ccl_program): To check
8645 if the given ccl program is valid, use setup_ccl_program()
8646 instead of CHECK_VECTOR().
8647 (Fmake_charset): Likewise.
8649 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8651 * faces.c (get_extent_fragment_face_cache_index):
8652 Fix cachel.merged_faces memory leak.
8654 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8656 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8657 Reset MSB of octets obtained by DECODE_SJIS
8658 because of the incompatibility with Emacs.
8659 (ccl_driver)<CCL_ENCODE_SJIS>:
8660 Set MSB of octets before passing them to
8661 ENCODE_SJIS because of the incompatibility
8664 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8666 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8667 (DECLARE_LRECORD): Undo the last change.
8668 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8670 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8672 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8673 the implementation to lrecord_implementations_table.
8675 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8677 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8678 initial value of `lrecord_type_##c_name' and
8679 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8680 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8681 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8682 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8683 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8685 2000-10-17 Martin Buchholz <martin@xemacs.org>
8687 * miscplay.c (sndcnv8S_2mono):
8688 (sndcnv2monounsigned):
8689 (sndcnvULaw_2linear):
8691 Remove implementation-defined behavior.
8693 2000-10-12 Martin Buchholz <martin@xemacs.org>
8695 * input-method-xlib.c: Warning suppression.
8697 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8699 * mule-ccl.c: Sync up with Emacs 21.0.90.
8700 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8702 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8704 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8705 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8706 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8707 leading char belongs to official 2-dimensional charset.
8708 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8709 write the given character as is. Otherwise,
8710 if it is a multibyte char, convert it by
8711 non_ascii_set_charptr_emchar, then write it.
8712 (CCL_WRITE_STRING): Likewise.
8713 (ccl_get_compiled_code): New function.
8714 (setup_ccl_program): When ccl_prog is invalid,
8716 (Fregister_code_conversion_map): New function.
8717 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8719 * mule-ccl.h: Sync up with Emacs 21.0.90.
8720 (Fregister_ccl_program): export it.
8722 * redisplay-msw.c (separate_textual_runs):
8723 If ccl program is not valid, don't do ccl conversion.
8725 * redisplay-x.c (separate_textual_runs): Ditto.
8727 * file-coding.c (Fmake_coding_system):
8728 When type is ccl and value is vector, register it
8729 with a proper symbol. And checks whether the
8730 given ccl program is valid.
8731 (mule_decode): When calling ccl_driver, if src indicates
8732 NULL pointer, set an empty string instead.
8733 (mule_encode): Likewise.
8735 2000-10-11 Martin Buchholz <martin@xemacs.org>
8737 The following large batch of changes gets us back to a state of
8738 C++ compilability. Extbyte is now a char, which means that
8739 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8741 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8743 * sound.c (Fplay_sound): Type correctness.
8745 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8746 (x_get_window_property): Type correctness.
8747 (receive_incremental_selection): unsigned char ==> Extbyte
8748 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8749 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8750 (Fx_store_cutbuffer_internal): Type correctness.
8752 * process-unix.c (try_to_initialize_subtty): Type correctness.
8754 * objects-x.c (x_print_color_instance): Type correctness.
8755 (x_print_font_instance): Type correctness.
8756 (x_list_fonts): SExtbyte ==> Extbyte.
8757 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8758 (x_find_charset_font): SExtbyte ==> Extbyte.
8759 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8760 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8761 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8764 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8765 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8766 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8767 (BYTE_C0_P): Use bit ops for char-signedness safety.
8768 (BYTE_C1_P): Use bit ops for char-signedness safety.
8769 (CHARSET_BY_LEADING_BYTE):
8770 (CHARSET_BY_ATTRIBUTES):
8771 Always use inline function.
8772 Use type_checking_assert.
8775 * mule-charset.c (non_ascii_charptr_copy_char):
8776 Modify to work with both ASCII and non-ASCII characters.
8777 Improve docs and variable names.
8778 Replace over-clever fall-through switch with a simple loop.
8779 (Lstream_get_emchar_1):
8780 Replace over-clever fall-through switch with a simple loop.
8782 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8783 Warning suppression.
8785 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8786 the return value of Lstream_getc, which could be EOF as well.
8788 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8790 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8791 APIs can be used on Extbytes without casts. Risky!
8795 * input-method-xlib.c (XIM_init_device):
8796 Use Xlib.h instead of IntrinsicP.h.
8797 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8798 which will break in X11R7.
8799 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8800 to call XRegisterIMInstantiateCallback with correct types.
8802 * gui-x.c (button_item_to_widget_value): Type correctness.
8804 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8806 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8807 (xbm_instantiate_1): Type correctness.
8808 (BUILD_GLYPH_INST): Type correctness.
8810 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8813 (decode_coding_sjis):
8814 (decode_coding_big5):
8815 (decode_coding_ucs4):
8816 (decode_coding_utf8):
8817 (decode_coding_iso2022):
8818 (decode_coding_no_conversion):
8819 Make all decoding functions take an Extbyte * arg.
8820 (encode_coding_sjis):
8821 (encode_coding_big5):
8822 (encode_coding_ucs4):
8823 (encode_coding_utf8):
8824 (encode_coding_iso2022):
8825 (encode_coding_no_conversion):
8826 Make all encoding functions take a Bufbyte * arg.
8827 Use size_t instead of unsigned int for memory sizes.
8828 Only cast to unsigned char whenever dereferencing Extbyte *.
8830 * doc.c (unparesseuxify_doc_string): Type correctness.
8832 * console-x.c (split_up_display_spec):
8833 Rewrite without using details of internal string representation.
8834 (x_semi_canonicalize_device_connection): Type correctness.
8837 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8838 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8839 (HAVE_XFREE386): Removed.
8841 * buffer.h (DEC_CHARPTR): `const' correctness.
8842 (bufbyte_strcmp): New.
8843 (bufbyte_memcmp): New.
8845 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8847 * buffer.h (XCHAR_OR_CHAR_INT):
8848 Always use inline function.
8849 Remove redundant type checking assert() - XINT will abort quite nicely.
8851 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8853 * search.c (Freplace_match): Set newtext to an empty string.
8855 2000-10-10 Martin Buchholz <martin@xemacs.org>
8857 * s/decosf1-3.h: Remove #include of stropts.h
8858 * s/ptx.h: Remove #include of stropts.h
8859 * s/usg5-4.h: Remove #include of stropts.h
8862 Use stropts.h, not sys/stropts.h.
8863 Use strtio.h, not sys/strtio.h.
8865 2000-10-04 Martin Buchholz <martin@xemacs.org>
8867 * XEmacs 21.2.36 is released.
8869 2000-09-21 Andy Piper <andy@xemacs.org>
8871 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8872 changes still involve copying the widget tree.
8873 (update_widget_face): make sure a change is register in the widget
8874 tree. Call update_tab_widget_face appropriately.
8875 (update_tab_widget_face): ditto.
8876 (x_tab_control_redisplay): make sure non-structural changes still
8877 involve copying the widget tree.
8879 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8881 * lread.c (locate_file): Check the path element is non-nil.
8883 2000-10-02 Martin Buchholz <martin@xemacs.org>
8885 * lisp.h: Warning suppression for SCO compilers.
8887 * redisplay-tty.c (reset_tty_modes): Fix crash.
8888 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8890 2000-09-27 Martin Buchholz <martin@xemacs.org>
8892 Big signal/process handling overhaul. Bugs fixed:
8893 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8894 M-x comint-kill-subjob should work for both values nil and t of
8895 process-connection-type. It was broken on most platforms.
8896 Testing on Irix and Cygwin still needed. Other plaforms tested.
8897 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8898 * process-unix.c: Signal/Process handling overhaul.
8899 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8900 (allocate_pty): Use all available modern methods of allocating
8901 ptys, falling back to old style BSD allocation as a last resort.
8902 Use allegedly more secure Unix98 pty allocation by default.
8903 (allocate_pty_the_old_fashioned_way): New. the last resort.
8904 (unix_create_process): Push ptem, ldterm, ttcompat where
8905 available. Autoconfiscate.
8906 (try_to_initialize_subtty): New.
8907 (unix_kill_child_process): Proper signal handling for ptys on most
8908 platforms, using special knowledge of AIX, BSD, etc...
8909 (unix_create_process): Always disconnect_controlling_terminal() for
8910 subprocesses, whether using ptys or not.
8911 * process.h: Remove old getpt-dependent PTY code.
8912 * process.c (Fprocess_send_signal): New, obvious generic function.
8913 (decode_signal): New.
8914 (Finterrupt_process):
8918 (Fcontinue_process):
8919 (Fsignal_process): Use decode_signal.
8920 (process_send_signal):
8921 Many docstring corrections.
8922 Allow any signal to be sent to a process object.
8923 * config.h.in: Add symbols for big signal/process overhaul.
8924 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8925 * sysproc.h: Include process-related headers, where available:
8926 sys/stropts.h sys/strtio.h pty.h libutil.h
8934 Remove old S&M pty stuff.
8935 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8936 * systty.h: Simplify cpp hackery, improve comments.
8937 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8939 * editfns.c (Fformat_time_string):
8940 Be a little more paranoid with the return value of ctime.
8942 * fileio.c (check_executable):
8944 Use symbolic constants X_OK, W_OK.
8946 * console-x.c (split_up_display_spec): Fix a warning.
8948 2000-10-02 Martin Buchholz <martin@xemacs.org>
8950 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8951 * ntproc.c (sys_spawnve): make_string ==> build_string
8952 Small clarity improvements.
8954 2000-09-30 Martin Buchholz <martin@xemacs.org>
8956 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8958 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8960 * config.h.in (HAVE_STRCASECMP): Remove.
8962 2000-09-29 Martin Buchholz <martin@xemacs.org>
8964 * redisplay-output.c (redisplay_output_pixmap):
8965 Cleaner and possibly more 64-bit correct code.
8967 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8969 * dumper.c (pdump_load_finish): move restoration of
8970 `noninteractive1' to emacs.c (main_1).
8971 * emacs.c (main_1): protect LISP-visible command-line flags
8974 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8976 * Makefile.in.in (versionclean): Use EXE_TARGET and
8977 DUMP_TARGET instead of literal program names.
8979 2000-09-20 Martin Buchholz <martin@xemacs.org>
8981 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8983 2000-09-19 Martin Buchholz <martin@xemacs.org>
8985 * *: Spelling mega-patch
8987 2000-09-19 Martin Buchholz <martin@xemacs.org>
8989 * fns.c (bad_bad_turtle):
8990 Delete "Eek!" comment, since we fixed the bug to which it refers.
8992 2000-09-16 Martin Buchholz <martin@xemacs.org>
8994 * alloca.c: Replace REGISTER with register.
8996 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8998 * file-coding.c (ucs_to_char): Use countof.
9000 2000-09-16 Martin Buchholz <martin@xemacs.org>
9002 * file-coding.c: (ucs_to_char):
9003 (complex_vars_of_file_coding):
9004 Use countof instead of sizeof.
9005 Use CHECK_NATNUM instead of CHECK_INT.
9007 * sysdep.c (strcasecmp): Remove.
9008 * device-x.c (ascii_strcasecmp): New.
9009 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9010 Avoid using non-standard non-portable strcasecmp.
9012 2000-09-16 Martin Buchholz <martin@xemacs.org>
9014 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9015 * font-lock.c: remove reference to emacsfns.h.
9016 * search.c: small doc improvement.
9017 * event-Xt.c: correct file names in comments.
9018 * console-x.h Correct file names in comments.
9019 * frame.c: Correct file names in comments.
9020 * event-stream.c: remove Energize from comments.
9022 2000-09-15 Martin Buchholz <martin@xemacs.org>
9024 * symeval.h (DEFERROR_STANDARD):
9027 (DEFSYMBOL_NO_DUMP):
9028 (DEFSYMBOL_MULTIWORD_PREDICATE):
9029 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9031 The construct &##name is not sensible C.
9032 Fixes compilation errors with Unixware native compiler.
9034 2000-09-14 Martin Buchholz <martin@xemacs.org>
9036 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9037 (next_frame_internal): Removed. We now just have next_frame.
9039 Write a simpler and cleaner one-pass algorithm.
9040 Remove called_from_delete_device arg and #ifdefed-out code.
9042 Renamed from prev_frame. Update callers.
9043 Cleaned up to have an analogous implementation to next_frame.
9044 (other_visible_frames_internal): Remove the
9045 called_from_delete_device bogus arg, and hence, remove this
9046 function. Just use other_visible_frames().
9048 * window.c (Fnext_window):
9050 Since next_frame() is guaranteed to return a frame, remove check
9051 for nil inserted in previous patch.
9054 Make code look more like Fnext_window.
9056 Respect the `console' arg when iterating through windows.
9057 Fixes bug: (get-buffer-window buffer t device) not respecting
9059 This function needs more work, as others have pointed out.
9061 * frame.h: Rename prev_frame to previous_frame.
9062 device_matches_console_spec no longer takes a `frame' arg.
9067 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9068 From "Golubev I. N." <gin@mo.msk.ru>.
9070 * make-src-depend: Fix typo.
9072 2000-09-13 Martin Buchholz <martin@xemacs.org>
9074 * window.c (Fnext_window):
9075 next_frame() might return nil, not a frame.
9077 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9079 * frame.c (next_frame_internal):
9080 We've passed a frame if we've passed its device.
9082 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9083 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9085 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9087 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9088 Allow option to suppress accelerators in menu/dialog items.
9089 (populate_or_checksum_helper): Pass dialog title through above.
9091 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9093 * event-msw.c (mswindows_key_to_emacs_keysym):
9094 Add "pause" key, fix "menu" key.
9096 2000-09-09 Martin Buchholz <martin@xemacs.org>
9098 * eval.c (reinit_vars_of_eval):
9099 Increase max_lisp_eval_depth to 1000,
9100 required for thai-xtis.el to byte-compile under some circumstances.
9102 2000-09-04 Martin Buchholz <martin@xemacs.org>
9104 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9107 2000-09-01 Martin Buchholz <martin@xemacs.org>
9109 * make-src-depend: Make the generated Makefiles smaller.
9111 * s/hpux.h (SETUP_SLAVE_PTY):
9112 Provide a %d in the format string for the errno argument.
9114 * editfns.c (Ftemp_directory):
9116 Avoid buffer overrun on very long file name.
9118 * input-method-xlib.c (XIM_init_device):
9119 6th parameter of XRegisterIMInstantiateCallback has different
9120 pointer types on different OSes, so simply cast to (void *).
9122 * unexhp9k800.c: Warning fixes. Fiddly changes.
9124 * sysdll.c (dll_open):
9125 shl_load will hang hard if passed a NULL filename.
9126 Simply return NULL for compatibility with dlopen.
9127 * sysdll.c: Conform to XEmacs coding standards.
9129 * sysdep.c (get_pty_max_bytes):
9130 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9132 2000-08-31 Martin Buchholz <martin@xemacs.org>
9134 * tooltalk.c: Add #include <syssignal.h>
9136 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9138 * s/hpux.h: Don't use undefined function sigunblock().
9140 2000-08-31 Martin Buchholz <martin@xemacs.org>
9142 * config.h.in: Add HAVE_BALLOON_HELP.
9143 * emacs.c: Use HAVE_BALLOON_HELP.
9144 * Makefile.in.in (x_objs):
9145 Make Balloon Help conditional on finding shape.h.
9147 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9149 * syntax.c (regex_emacs_buffer_p): New variable.
9150 * syntax.h (regex_emacs_buffer_p): extern.
9151 * search.c (looking_at_1):
9153 (fast_string_match):
9154 (search_buffer): Set regex_emacs_buffer_p.
9155 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9156 when before_dot, at_dot, after_dot.
9158 2000-08-23 Andy Piper <andy@xemacs.org>
9160 * gui-x.c (popup_selection_callback): Only set action_occurred
9161 when we really have an image instance.
9162 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9164 2000-08-23 Andy Piper <andy@xemacs.org>
9166 * gui-msw.c (mswindows_handle_gui_wm_command): set
9168 * gui-x.c (popup_selection_callback): ditto.
9170 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9171 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9172 (struct Lisp_Image_Instance): add action_occurred flag.
9174 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9175 (image_instance_changed): ditto.
9176 (reset_frame_subwindow_instance_cache): only unmap windows - do
9177 not remove them from the cache also.
9179 * glyphs-widget.c (tab_control_update): better debug.
9180 (progress_gauge_update): ditto.
9181 (layout_update): ditto.
9182 (layout_instantiate): ditto.
9183 (tab_control_order_only_changed): cope with null pending items.
9185 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9186 debug. Force selection of an item when an action occurred. Cope
9187 with null pending_items.
9188 (mswindows_progress_gauge_redisplay): better debug.
9189 * glyphs-x.c (x_tab_control_redisplay): ditto.
9191 * redisplay.c (redisplay_frame): reset the frame cache if the
9194 * window.c (Fset_window_configuration): potentially re-enable
9196 (window_unmap_subwindows): need to finalize instances here since
9197 it is only used in mark_window_as_deleted.
9199 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9201 * nas.c (SndOpenDataForReading):
9202 nas.c (WaveOpenDataForReading):
9203 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9204 Somehow escaped from the 2000-08-14 patch.
9206 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9208 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9209 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9211 2000-08-21 Andy Piper <andy@xemacs.org>
9213 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9214 window if it is not already displayed.
9216 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9217 it is not already displayed.
9219 * window.c (Fset_window_configuration): don't reset the frame
9222 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9223 instances from the frame cache if we are actually finalizing them.
9224 (reset_frame_subwindow_instance_cache): reset frame cache only
9225 after unmapping everything.
9226 (map_subwindow): set displayed flag after mapping.
9228 2000-08-21 Martin Buchholz <martin@xemacs.org>
9230 * data.c (indirect_function):
9231 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9233 * eval.c (function_argcount):
9234 Use original function when signaling errors.
9236 2000-08-18 Andy Piper <andy@xemacs.org>
9238 * frame.c (delete_frame_internal): use new
9239 free_frame_subwindow_instances name.
9241 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9242 (add_tab_item): make return type correct.
9243 (mswindows_tab_control_instantiate): assert index of tab.
9244 (mswindows_tab_control_redisplay): Re-code to use
9245 gui_item_equal_sans_selected and gui_item_list_find_selected.
9247 * glyphs-widget.c (tab_control_update): Correct comment.
9249 * window.c (window_unmap_subwindows): use new
9250 unmap_subwindow_instance_cache_mapper.
9251 (window_unmap_subwindows_cache_mapper): deleted.
9252 (Fset_window_configuration): comparisons should now be with
9253 EQ. Preserve the subwindow instance cache across configuration
9255 (allocate_window): ditto.
9256 (make_dummy_parent): ditto.
9258 * glyphs.c (free_frame_subwindow_instances): rename from
9259 free_frame_subwindow_instance_cache. finalize all instances rather
9260 than just those in the display cache.
9261 (finalize_all_subwindow_instances): walk windows unmapping and
9262 finalizing subwindows.
9263 (unmap_subwindow_instance_cache_mapper): moved from
9264 window.c. Allow finalization as well as unmapping.
9266 * gui.c (gui_item_list_find_selected): new function.
9268 * gui.h (gui_item_list_find_selected): declare.
9270 * glyphs-x.c (x_tab_control_redisplay): pick tab
9271 explicitly. Re-code to use gui_item_equal_sans_selected and
9272 gui_item_list_find_selected.
9274 * glyphs-x.h: add lwlib-utils.h
9276 * buffer.c (Frecord_buffer): undo previous change.
9278 2000-08-09 Vin Shelton <acs@xemacs.org>
9280 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9281 possible. Create temporary files more securely. The patch was
9282 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9283 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9284 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9287 2000-08-07 Ben Wing <ben@xemacs.org>
9289 * getloadavg.c: remove duplicate (and windows-breaking)
9290 includes of fcntl.h and sys/file.h.
9292 * nt.c: remove duplicate getloadavg() definition.
9294 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9297 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9299 * eval.c (function_argcount): If function needs to be autoloaded
9300 actually use the loaded definition.
9303 2000-08-05 Ben Wing <ben@xemacs.org>
9305 * getloadavg.c: add prototype for getloadavg(). remove
9306 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9307 of the code). remove duplicate header includes.
9309 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9311 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9312 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9313 useful load average.
9315 * alloc.c (reinit_alloc_once_early): removed references to
9316 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9317 the lisp vars are the only things referencing the malloc_sbrk_*
9318 vars, and they were already if 0'd out. these vars only exist
9319 in the older malloc.c, which is basically unused, and they're
9320 only for informational purposes.
9322 * m\*.h: removed useless VIRT_ADDR_VARIES.
9324 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9326 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9328 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9329 color if the image is a mono pixmap.
9331 2000-07-30 Ben Wing <ben@xemacs.org>
9333 * Makefile.in.in (release):
9336 * buffer.c (directory_is_current_directory):
9337 * dired-msw.c (mswindows_get_files):
9339 * dired.c (Fdirectory_files):
9340 * dired.c (file_name_completion_stat):
9341 * dired.c (Ffile_attributes):
9342 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9343 preprocessor tricks, to avoid problems on some machines
9346 * callproc.c (egetenv): GC docs.
9349 * console-msw.h (struct mswindows_dialog_id):
9350 * lrecord.h (lrecord_type):
9351 New object for use with MSW dialogs.
9353 * console.h (struct console_methods):
9354 New enable/disable frame methods, for proper modal dialogs.
9356 * device-msw.c (msprinter_default_printer): Fix to follow
9357 proper Mule conventions.
9360 * device-msw.c (signal_open_printer_error):
9361 * device-msw.c (msprinter_init_device):
9362 * device-msw.c (ensure_not_printing):
9363 * device-msw.c (plist_get_margin):
9364 * device-msw.c (Fmsprinter_select_settings):
9365 * device-msw.c (finalize_devmode):
9366 * device-msw.c (Fmsprinter_settings_despecialize):
9367 * device-msw.c (signal_enum_priner_error):
9368 * extents.c (decode_extent):
9369 * extents.c (decode_map_extents_flags):
9370 * extents.c (decode_extent_at_flag):
9371 * extents.c (Fextent_at):
9372 * extents.c (Fextents_at):
9373 * extents.c (symbol_to_glyph_layout):
9374 [[[[2]]]] Use structured errors.
9377 * dialog-msw.c (mswindows_is_dialog_msg):
9378 * dialog-msw.c (mark_mswindows_dialog_id):
9379 * dialog-msw.c (dialog_proc):
9380 * dialog-msw.c (handle_question_dialog_box):
9381 * dialog-msw.c (syms_of_dialog_mswindows):
9382 Define new object to clean up marking; use it as a dialog identifier.
9383 Call new delete-dialog-box-hook.
9385 * dialog-x.c (dbox_selection_callback):
9386 * dialog-x.c (dbox_descriptor_to_widget_value):
9387 * dialog-x.c (x_make_dialog_box_internal):
9388 Call new delete-dialog-box-hook.
9392 * dialog.c (syms_of_dialog):
9393 * dialog.c (vars_of_dialog):
9394 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9397 * eval.c (signal_call_debugger):
9398 when noninteractive, output stack traces on the console instead
9399 of in a (never-seen) buffer.
9401 * eval.c (signal_type_error):
9402 * eval.c (invalid_argument_2):
9404 new funs for use w/structured errors.
9407 * event-Xt.c (x_to_emacs_keysym):
9408 * event-Xt.c (describe_event):
9409 * event-Xt.c (emacs_Xt_event_handler):
9410 * event-Xt.c (vars_of_event_Xt):
9412 * event-msw.c (mswindows_wnd_proc):
9413 * event-msw.c (vars_of_event_mswindows):
9414 rename {x,mswindows}-debug-events to debug-{}-events for
9415 consistency with other debug-foo variables.
9418 document next-event more clearly.
9420 * fileio.c (Ffile_name_directory):
9421 * fileio.c (Ffile_name_nondirectory):
9422 * fileio.c (Funhandled_file_name_directory):
9423 * fileio.c (file_name_as_directory):
9424 * fileio.c (Ffile_name_as_directory):
9425 * fileio.c (directory_file_name):
9426 * fileio.c (Fdirectory_file_name):
9427 * fileio.c (Fmake_temp_name):
9428 * fileio.c (Ffile_truename):
9429 * fileio.c (Fsubstitute_in_file_name):
9430 * fileio.c (expand_and_dir_to_file):
9431 * fileio.c (barf_or_query_if_file_exists):
9432 * fileio.c (check_executable):
9433 * fileio.c (Ffile_exists_p):
9434 * fileio.c (Ffile_writable_p):
9435 * fileio.c (Ffile_directory_p):
9436 * fileio.c (Ffile_regular_p):
9437 * fileio.c (Ffile_modes):
9438 * fileio.c (Ffile_newer_than_file_p):
9439 * fileio.c (Fverify_visited_file_modtime):
9440 * fileio.c (Fset_visited_file_modtime):
9441 * fileio.c (auto_save_1):
9446 * frame-msw.c (mswindows_init_frame_1):
9447 * frame-msw.c (mswindows_enable_frame):
9448 * frame-msw.c (error_frame_unsizable):
9449 * frame-msw.c (msprinter_init_frame_1):
9450 * frame-msw.c (msprinter_init_frame_3):
9451 * frame-msw.c (console_type_create_frame_mswindows):
9453 implement new enable/disable frame methods.
9456 * frame-x.c (x_enable_frame):
9457 * frame-x.c (console_type_create_frame_x):
9458 implement new enable/disable frame methods.
9461 * frame.c (Fdisable_frame):
9462 * frame.c (syms_of_frame):
9463 * frame.h (struct frame):
9464 implement new enable/disable frame methods/functions.
9469 * glyphs-msw.c (mswindows_widget_instantiate):
9470 comment that initial-focus should be implemented.
9473 * glyphs-widget.c (check_valid_instantiator):
9474 * glyphs-widget.c (check_valid_orientation):
9475 * glyphs-widget.c (check_valid_tab_orientation):
9476 * glyphs-widget.c (check_valid_justification):
9477 * glyphs-widget.c (check_valid_border):
9478 * glyphs-widget.c (check_valid_callback):
9479 * glyphs-widget.c (check_valid_int_or_function):
9480 * glyphs-widget.c (check_valid_string_or_vector):
9481 * glyphs-widget.c (check_valid_item_list_1):
9482 * glyphs-widget.c (widget_validate):
9483 * glyphs-widget.c (combo_box_validate):
9484 * glyphs-widget.c (widget_instantiate):
9485 * glyphs-widget.c (syms_of_glyphs_widget):
9486 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9487 * glyphs-widget.c (image_instantiator_combo_box):
9488 * glyphs-widget.c (image_instantiator_scrollbar):
9489 * glyphs-widget.c (image_instantiator_tab_control):
9490 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9492 support (unimplemented) keyword initial-focus.
9493 reindent long macros.
9495 * glyphs-x.c (x_redisplay_widget):
9496 * glyphs-x.c (x_button_instantiate):
9497 * glyphs-x.c (x_button_redisplay):
9498 * glyphs-x.c (x_progress_gauge_instantiate):
9499 * glyphs-x.c (x_edit_field_instantiate):
9500 * glyphs-x.c (x_combo_box_instantiate):
9501 * glyphs-x.c (x_tab_control_instantiate):
9502 * glyphs-x.c (x_label_instantiate):
9504 * gui-x.c (button_item_to_widget_value):
9505 * gui-x.c (gui_items_to_widget_values_1):
9506 * gui-x.c (gui_item_children_to_widget_values):
9507 * gui-x.c (gui_items_to_widget_values):
9509 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9510 add new flag to gui-parsing routines to indicate whether
9511 accelerator specs should be supported.
9513 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9515 * glyphs.h (struct Lisp_Image_Instance):
9516 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9517 add initial-focus flag.
9520 * gui.c (syms_of_gui):
9521 * gui.c (vars_of_gui):
9522 clean up menu-no-selection-hook.
9525 support delete-dialog-box-hook.
9527 * lread.c (Fload_internal):
9528 * lread.c (locate_file_in_directory_mapper):
9532 * lrecord.h (struct toolbar_button):
9533 * lrecord.h (syms_of_toolbar):
9534 document how to create a new object.
9536 * menubar-msw.c (mswindows_char_is_accelerator):
9537 may be called on frames w/o menus.
9539 * menubar.c (vars_of_menubar):
9540 clean up :filter docs.
9547 * process-nt.c (validate_signal_number):
9548 * process-nt.c (signal_cannot_launch):
9549 * process-nt.c (nt_create_process):
9550 * process-nt.c (nt_send_process):
9551 * process-nt.c (nt_kill_child_process):
9552 * process-nt.c (nt_open_network_stream):
9553 * process-nt.c (syms_of_process_nt):
9555 delete quote-handling. call new lisp code that does it better.
9557 * process-unix.c (connect_to_file_descriptor):
9558 * process-unix.c (allocate_pty):
9559 * process-unix.c (unix_send_process):
9560 * process-unix.c (unix_kill_child_process):
9561 * process-unix.c (unix_open_network_stream):
9562 * process-unix.c (unix_open_multicast_group):
9566 * process.c (Fstart_process_internal):
9567 (2). need to canonicalize process path even if absolute.
9569 * select-msw.c (symbol_to_ms_cf):
9570 * select-msw.c (ms_cf_to_symbol):
9571 * select-msw.c (cf_is_autofreed):
9572 * select-msw.c (mswindows_destroy_selection):
9574 * select.c (syms_of_select):
9576 support dibv5, fix bugs. (from Mike Alexander)
9578 * select.c (Fget_selection_internal):
9579 * select.c (select_convert_out):
9582 * sysdep.c (xemacs_stat):
9587 but keep original stat() here because we provide encapsulation
9591 * sysfile.h (fstat):
9592 remove stat garbage.
9596 don't include tchar.h. it's inappropriate because it makes
9597 compile-time distinctions when we want runtime distinctions.
9598 (we provide our own tchar replacements)
9601 use default object printer for toolbar-button.
9604 make sure we don't encapsulate.
9606 * window.c (vars_of_window):
9607 emphasize that temp-buffer-show-hook is obsolete.
9609 2000-08-05 Martin Buchholz <martin@xemacs.org>
9611 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9612 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9614 * events.c (Fevent_timestamp_lessp):
9615 Not 64-bit clean. Use EMACS_INT, not int.
9617 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9619 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9620 unsigned int and changed the last enum to
9621 lrecord_type_last_built_in_type.
9622 (lrecord_implementations_table): changed prototype to know how
9623 long the array is supposed to be.
9624 (lrecord_type_count): new unsigned int to keep track of the
9625 current number of lisp lrecord types.
9626 (DEFINE_EXTERNAL_LRECORD):
9627 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9628 dynamic-modules to declare new lisp types. They are the same
9629 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9630 int for each new type, and increment lrecord_type_count by 1.
9632 * alloc.c (lrecord_implementations_table): Changed to reference
9633 lrecord_type_last_built_in_type for the size of the array.
9634 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9636 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9638 * glyphs.h (check_valid_item_list): Renamed from
9639 check_valid_item_list_1.
9641 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9643 * select.c (Qselect_coerce): New.
9644 * select.c (Vselection_coercion_alist): New.
9645 * select.c (syms_of_select): Declare.
9646 * select.c (get-selection-internal): Use it.
9647 Use the new select-coerce functionality.
9649 * select.c (select_coerce): New.
9650 * select.h (select_coerce): Declare.
9651 New function to coerce one type of data into another.
9653 2000-08-03 Martin Buchholz <martin@xemacs.org>
9655 * callproc.c (Fcall_process_internal):
9656 (Fcall_process_internal):
9657 * process-unix.c (unix_create_process):
9658 Save and restore the value of errno, so that error messages are accurate.
9660 2000-08-01 Martin Buchholz <martin@xemacs.org>
9662 * elhash.c (print_hash_table):
9663 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9664 Prettify docstrings and indentation.
9666 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9668 * window.c (Fwindow_pixel_edges): Subtract frame border and
9671 2000-07-31 Andy Piper <andy@xemacs.org>
9673 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9674 will acknowledge the change.
9676 * glyphs.h: declare tab_control_order_only_changed.
9678 * glyphs-x.c (x_tab_control_redisplay): use
9679 tab_control_order_only_changed.
9681 * glyphs-widget.c (tab_control_order_only_changed): new function.
9683 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9684 tab_control_order_only_changed.
9686 * gui.c (gui_item_equal_sans_selected): new function.
9687 (gui_item_equal): use it.
9689 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9690 :properties in favor of :items..
9692 * glyphs-widget.c (check_valid_item_list): rename from
9693 check_valid_item_list_1.
9694 (check_valid_item_list_1): renamed.
9695 (combo_box_validate): deprecate :properties in favor of :items.
9696 (widget_instantiate): ditto.
9697 (tab_control_update): ditto.
9698 (image_instantiator_combo_box): ditto.
9699 (image_instantiator_tree_view): ditto.
9700 (image_instantiator_tab_control): ditto.
9701 (layout_post_instantiate): remove dead code.
9703 * print.c (debug_print_no_newline): only write to debugger if in
9706 * elhash.c (Fmake_hash_table): update doc string.
9708 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9709 messages whilst in GC. This at least stops XEmacs crashing but has
9710 the potential for wierd behaviour.
9712 2000-07-31 Martin Buchholz <martin@xemacs.org>
9715 Make existence of s&m files optional.
9717 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9718 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9719 * s/gnu.h: Remove HAVE_GETLOADAVG.
9720 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9721 * s/sol2.h: Remove HAVE_GETLOADAVG.
9722 * lisp.h: Remove getloadavg() declaration.
9724 Include <sys/loadavg.h> if available.
9725 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9726 * config.h.in: Group together getloadavg()-related macros.
9727 Use only configure-time tests to detect getloadavg().
9729 2000-07-30 Martin Buchholz <martin@xemacs.org>
9731 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9733 2000-07-25 Andy Piper <andy@xemacs.org>
9735 * syswindows.h: add tchar.h for native builds.
9737 * frame.c (syms_of_frame): remove set-glyph-image.
9739 * general-slots.h: add Qset_glyph_image.
9741 * glyphs-widget.c (layout_update): add domain arg to
9743 (syms_of_glyphs_widget): remove set-glyph-image.
9745 2000-07-23 Ben Wing <ben@xemacs.org>
9747 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9750 2000-07-22 Andy Piper <andy@xemacs.org>
9752 * symsinit.h: add syms_of_win32().
9754 * gui-msw.c (syms_of_gui_mswindows): remove
9755 Fmswindows_shell_execute.
9756 (Fmswindows_shell_execute): moved to win32.c.
9758 * emacs.c (main_1): add syms_of_win32 ().
9760 * win32.c (init_potentially_nonexistent_functions): rewrite in
9761 compiler-friendly terms.
9762 (Fmswindows_shell_execute): move here from gui-msw.c.
9763 (syms_of_win32): new.
9765 * device-msw.c (Fmswindows_printer_list): clean up args to
9767 Don't include tchar under cygwin or mingw.
9768 (msprinter_default_printer): make cygwin-friendly.
9770 2000-07-21 Andy Piper <andy@xemacs.org>
9772 * glyphs-widget.c (image_instantiator_tree_view): use tab
9773 control's update function.
9774 (layout_property): new function. Retrieve items.
9776 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9777 function. Re-populate the tree view from the pending items.
9779 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9780 is designated the parent if the domain is an image instance. This
9781 is needed so that dirtiness can be cascade up the hierarchy and
9782 thus for layout children to be redisplayed correctly.
9783 (allocate_image_instance): rename glyph -> parent.
9785 * redisplay.h: change redisplay_output_layout signature.
9787 * redisplay-msw.c (mswindows_output_display_block): use domain
9790 * redisplay-x.c (x_output_display_block): use domain arg.
9792 2000-07-10 Andy Piper <andy@xemacs.org>
9794 * window.c (Fset_window_configuration): add comment.
9796 * redisplay-output.c (compare_runes):
9797 (redisplay_output_subwindow): redisplay rather than update subwindow.
9798 (redisplay_output_layout): ditto.
9800 * redisplay-msw.c (mswindows_frame_output_end):
9801 (mswindows_frame_output_end): make defer window pos optional.
9803 * lisp.h: add Flast.
9805 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9806 normalize method. Change update method to be for changed
9807 instantiators. Add redisplay method. Change signature of layout
9809 (struct Lisp_Image_Instance): add instantiator.
9810 (IMAGE_INSTANCE_INSTANTIATOR): new.
9811 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9812 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9813 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9816 (find_instantiator_differences): new function.
9817 (Fset_instantiator_property): new convenience function.
9818 (check_image_instance_structure): strictly check for vector
9820 (normalize_image_instantiator): make non-static.
9821 (instantiate_image_instantiator): pass on dest_mask and use new
9822 signatures for image_instance_layout and friends.
9823 (mark_image_instance): mark the instantiator. Mark the subwindow
9824 face not the widget face.
9825 (image_instance_equal): add instantiator.
9826 (image_instance_hash): ditto.
9827 (allocate_image_instance): ditto.
9828 (Fset_image_instance_property): removed.
9829 (Fimage_instance_file_name): ditto.
9830 (Fcolorize_image_instance): ditto.
9831 (image_instance_layout): add offsets to be set.
9832 (update_image_instance): new function. update an image instance
9833 from its changed instantiator.
9834 (inherit_normalize): add dest_mask.
9835 (xbm_normalize): ditto.
9836 (xface_normalize): ditto.
9837 (xpm_normalize): ditto.
9838 (text_update): set_property -> update.
9839 (image_instantiate): use the glyph identity as a hash key, not the
9841 (glyph_width): use new image_instance_layout signature.
9842 (glyph_ascent): ditto.
9843 (glyph_descent): ditto.
9844 (glyph_height): ditto.
9845 (glyph_query_geometry): ressurrect.
9846 (glyph_layout): ditto.
9847 (redisplay_subwindow): update -> redisplay.
9848 (syms_of_glyphs): add Fset_instantiator_property.
9849 (image_instantiator_format_create): set_property -> update.
9852 (autodetect_normalize): add dest_maks to signature.
9853 (x_redisplay_subwindow): update -> redisplay.
9854 (x_redisplay_widget): ditto.
9855 (x_button_redisplay): ditto.
9856 (x_progress_gauge_redisplay): ditto.
9857 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9859 (console_type_create_glyphs_x): update -> redisplay.
9860 (image_instantiator_format_create_glyphs_x): ditto.
9863 (check_valid_instantiator): disallow glyphs in the instantiator,
9864 they must now be vectors.
9865 (check_valid_instantiator_list): ditto.
9866 (glyph_instantiator_to_glyph): use internal symbol rather than
9868 (widget_update): renamed from widget_set_property. Call cascaded
9870 (redisplay_widget): renamed from update_widget.
9871 (widget_layout): image_instance_layout now takes position as well
9873 (widget_normalize): ditto.
9874 (widget_instantiate): ditto.
9875 (tab_control_query_geometry) ditto.:
9876 (tab_control_update): renamed from tab_control_set_property.
9877 (progress_gauge_update): set_property -> update.
9878 (layout_normalize): rewrite so that child instantiators are
9880 (layout_update): new function. Create glyphs from the normalized
9881 children and cope with any other layout keywords. We do not
9882 instantiate children here that will be take care of by
9883 redisplay_output_layout.
9884 (layout_instantiate): call layout_update and not much else.
9885 (layout_post_instantiate): not sure whether this is needed
9887 (layout_query_geometry): query glyph geometry rather than
9888 image_instance geometry.
9889 (layout_layout): set offsets from pass in parameters. Use glyph
9890 geometry and layout functions rather than image instance ones.
9891 (native_layout_layout): ditto.
9892 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9893 (image_instantiator_widget): set_property -> update.
9894 (image_instantiator_buttons): ditto.
9895 (image_instantiator_progress_guage): ditto.
9896 (image_instantiator_tab_control): ditto.
9897 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9898 (image_instantiator_layout): add update method.
9900 * glyphs-msw.c (bmp_normalize):
9901 (mswindows_resource_normalize): add dest_mask so that it can be
9902 proprogated by layout_normalize.
9903 (begin_defer_window_pos): make optional because it may not be the
9904 right thing to do and it introduces differences with X.
9905 (mswindows_unmap_subwindow): ditto.
9906 (mswindows_map_subwindow): ditto.
9907 (mswindows_redisplay_subwindow): renamed from
9908 mswindows_update_subwindow.
9909 (mswindows_redisplay_widget): ditto.
9910 (mswindows_button_redisplay): renamed from
9911 mswindows_button_update. Update is now what the instantiation
9912 function does for a changed instantiator.
9913 (mswindows_progress_gauge_instantiate): set the progress value
9914 here if appropriate.
9915 (mswindows_tab_control_redisplay): cope with re-ordering of the
9916 members of the tab widget by simply selecting the new top
9917 widget. This makes things appear ok if you click on a tab.
9918 (mswindows_combo_box_instantiate): image_instance_layout now takes
9919 position as well as size.
9920 (mswindows_progress_gauge_redisplay): renamed from
9921 mswindows_progress_gauge_update.
9922 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9923 (image_instantiator_format_create_glyphs_mswindows): ditto.
9925 * glyphs-eimage.c (jpeg_normalize):
9928 (tiff_normalize): add dest_mask so that it can be proprogated by
9933 (hash_table_weakness_validate):
9934 (decode_hash_table_weakness):
9935 (Fhash_table_weakness):
9937 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9939 * console.h (struct console_methods): move update_* to
9942 2000-07-20 Ben Wing <ben@xemacs.org>
9944 * *.[ch] (XSETOBJ): remove unused middle argument.
9945 lisp-disunion.h: correct wrap_object() to one argument.
9947 2000-07-15 Ben Wing <ben@xemacs.org>
9950 * s/cygwin32.h (CYGWIN_CONV_PATH):
9951 Add missing logb prototype for v1.1.
9952 Use post-b20 names and alias to pre-b20 names when pre-b20.
9954 * s/windowsnt.h: [5].
9956 2000-07-15 Ben Wing <ben@xemacs.org>
9958 * Makefile.in.in (x_objs):
9959 * Makefile.in.in (sheap_objs):
9960 * Makefile.in.in (objs):
9961 added win32.o, cosmetic cleanups.
9963 * alloc.c (Fmake_byte_code):
9964 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9965 etc. macros which declare their own args now.
9967 * alloc.c (syms_of_alloc):
9968 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9971 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9973 * buffer.c (Fget_file_buffer):
9974 Fixed GCPRO problem.
9976 * buffer.c (get_truename_buffer):
9977 Fixed comment about GC checking.
9979 * buffer.c (syms_of_buffer):
9980 Undeclared those dedicated frame funs.
9984 Define convenience macros for internal/external conversions.
9985 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9986 and Qenvironment_variable_encoding for cleaner code.
9989 Remove dedicated-frame; in lisp.
9991 * bytecode.c (funcall_compiled_function):
9994 * bytecode.c (syms_of_bytecode):
9998 * console-msw.c (mswindows_show_console): Rewrote.
10000 * console-msw.c (Fmswindows_debugging_output): New.
10001 Sends to OutputDebugString (special MSWin debugger interface).
10003 * console-msw.c (Fmswindows_message_box):
10004 Fixed stupid bugs so it works when called from kill-emacs.
10006 * console-msw.c (syms_of_console_mswindows):
10007 Declare Fmswindows_debugging_output.
10010 New MSWin prototypes.
10012 * console-msw.h (struct mswindows_frame):
10013 New entry last-click-mods for improved button-modifier support.
10015 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10016 New struct entry `popup' with corresponding accessor.
10019 * console-x.c (split_up_display_spec):
10020 * console-x.c (get_display_arg_connection):
10021 * console-x.c (x_semi_canonicalize_console_connection):
10022 * console-x.c (x_canonicalize_device_connection):
10023 [[[6]]]: Change char to more specific type.
10024 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10026 * console-x.c (x_semi_canonicalize_console_connection):
10027 * console-x.c (x_canonicalize_device_connection):
10028 [[[9]]]: Fix up error signalling to use new structured error system.
10031 [[[4]]]: Define codesys aliases:
10032 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10033 Qx_color_name_encoding, Qx_display_name_encoding.
10035 * console.h (struct console_methods):
10036 New method make_dialog_box_internal supersedes older
10037 popup_dialog_box method.
10040 Define many new errors, part of new structured errors.
10042 * data.c (init_errors_once_early):
10043 * data.c (syms_of_data):
10046 * device-msw.c (mswindows_init_device):
10047 [[[5]]]: Cleanup to support NT 3.51.
10049 * device-msw.c (decode_devmode): Cleanup.
10051 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10052 * device-msw.c (mswindows_handle_print_dialog_box):
10053 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10054 * device-msw.c (syms_of_device_mswindows):
10055 Delete the dialog box primitives recently introduced by Kirill and
10056 instead interface to general dialog box interface.
10059 * device-x.c (compute_x_app_name):
10060 * device-x.c (x_init_device):
10061 * device-x.c (Fx_valid_keysym_name_p):
10062 * device-x.c (Fx_set_font_path):
10066 * device.h (wrap_device): New.
10067 First of its kind; meant to replace XSETDEVICE.
10069 * dialog-msw.c: Many file-dialog symbols.
10071 * dialog-msw.c (mswindows_register_popup_frame): New.
10072 * dialog-msw.c (mswindows_is_dialog_msg): New.
10073 For supporting kbd traversal in dialog boxes.
10075 * dialog-msw.c (dialog_proc):
10076 Support hitting ESC in dialogs.
10078 * dialog-msw.c (struct):
10079 Common dialog box errors.
10081 * dialog-msw.c (handle_file_dialog_box): New.
10082 Add file dialog code.
10084 * dialog-msw.c (handle_question_dialog_box):
10085 Redo existing code to support new question dialog syntax.
10087 * dialog-msw.c (console_type_create_dialog_mswindows):
10088 We support new dialog console method.
10090 * dialog-msw.c (syms_of_dialog_mswindows):
10091 * dialog-msw.c (vars_of_dialog_mswindows):
10092 New file dialog symbols, vars.
10095 * dialog-x.c (maybe_run_dbox_text_callback):
10096 * dialog-x.c (dbox_descriptor_to_widget_value):
10097 * dialog-x.c (x_make_dialog_box_internal):
10098 * dialog-x.c (console_type_create_dialog_x):
10099 Mule-ize entire file.
10100 Redo to support question dialog syntax.
10104 * dialog.c (Fmake_dialog_box_internal):
10105 * dialog.c (syms_of_dialog):
10106 Kill old popup-dialog-box, replace with new primitive.
10107 Just call device method or signal error.
10109 * eldap.c (Fldap_open):
10110 * eldap.c (Fldap_search_basic):
10111 * eldap.c (Fldap_add):
10112 * eldap.c (Fldap_modify):
10117 * emacs.c (make_arg_list_1):
10118 * emacs.c (make_arg_list):
10119 Mule-ize call to dll_init().
10123 * emacs.c (make_argc_argv):
10124 * emacs.c (free_argc_argv):
10125 * emacs.c (init_cmdargs):
10126 * emacs.c (main_1):
10127 * emacs.c (Fkill_emacs):
10128 * emacs.c (Fdump_emacs):
10129 Update comments about what can be used in syms_* etc.
10130 Call init_win32() when necessary.
10131 Fix up MS Win dialog box in kill-buffer to actually work right.
10142 * eval.c (condition_case_3):
10144 * eval.c (function_argcount):
10145 * eval.c (funcall_lambda):
10148 * eval.c (type_error): New.
10149 * eval.c (maybe_type_error): New.
10150 * eval.c (continuable_type_error): New.
10151 * eval.c (maybe_continuable_type_error): New.
10152 * eval.c (type_error_with_frob): New.
10153 * eval.c (maybe_type_error_with_frob): New.
10154 * eval.c (continuable_type_error_with_frob): New.
10155 * eval.c (maybe_continuable_type_error_with_frob): New.
10156 New functions for use with structured errors.
10159 * event-Xt.c (x_event_to_emacs_event):
10160 Buttons are now modifiers too.
10162 * event-Xt.c (emacs_Xt_current_event_timestamp):
10163 Implement new event method.
10164 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10167 * event-msw.c (ntpipe_shove_writer): [5].
10168 * event-msw.c (mswindows_enqueue_mouse_button_event):
10169 * event-msw.c (mswindows_drain_windows_queue):
10170 * event-msw.c (mswindows_wnd_proc): [7].
10171 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10172 * event-msw.c (mswindows_modifier_state):
10173 Throughout: support new button modifiers.
10175 * event-msw.c (emacs_mswindows_current_event_timestamp):
10176 Implement new event method.
10177 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10180 * event-stream.c (event_stream_current_event_timestamp): New.
10181 * event-stream.c (maybe_kbd_translate): New functionality.
10182 * event-stream.c (vars_of_event_stream):
10183 Document new kbd-translate-table functionality.
10185 * event-stream.c (Fcurrent_event_timestamp): New.
10186 New primitive for use in fabricated events.
10187 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10189 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10192 * events.c (Fmake_event):
10193 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10197 * events.c (format_event_object): fix gcc warnings.
10199 * events.c (Fevent_timestamp): Document new primitives.
10201 * events.c (TIMESTAMP_HALFSPACE): New.
10203 * events.c (Fevent_timestamp_lessp): New. New primitive for
10204 comparing timestamps correctly (half-space algorithm).
10206 * events.c (Fevent_modifier_bits): Doc fix.
10208 * events.c (Fevent_modifiers): Major doc addition.
10209 * events.c (event_x_y_pixel_internal): Typo fix.
10210 * events.c (syms_of_events): Declare new primitives.
10213 Update long comment for button modifiers, timestamps.
10215 * events.h (struct event_stream):
10216 New current_event_timestamp method.
10219 * extents.c (extent_in_region_p):
10220 * extents.c (decode_extent):
10221 * extents.c (Fset_extent_parent):
10222 * extents.c (decode_map_extents_flags):
10226 * extents.c (struct extent_at_arg):
10227 * extents.c (decode_extent_at_flag):
10228 * extents.c (extent_at_mapper):
10229 * extents.c (extent_at_bytind):
10230 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10231 * extents.c (Fextents_at): New primitive. [9].
10232 * extents.c (symbol_to_glyph_layout): [9].
10233 Support new primitive `extents-at'.
10236 * extents.c (get_text_property_bytind):
10237 extent_at_bytind has another arg.
10240 * extents.c (syms_of_extents): New primitive.
10242 * file-coding.c (Fmake_coding_system): [1].
10243 * file-coding.c (subsidiary_coding_system): fix gcc warning
10244 * file-coding.c (syms_of_file_coding): [2].
10246 * fileio.c (Fexpand_file_name):
10247 * fileio.c (Fsysnetunam):
10248 * fileio.c (Ffile_exists_p):
10249 * fileio.c (Ffile_executable_p):
10250 * fileio.c (Fverify_visited_file_modtime):
10253 * fileio.c (syms_of_fileio): [2].
10255 * filelock.c (lock_file_1):
10256 * filelock.c (current_lock_owner):
10257 * filelock.c (lock_if_free):
10258 * filelock.c (lock_file):
10259 * filelock.c (unlock_file):
10262 * fns.c (concat): Fix gcc warning.
10265 * fns.c (Fold_member):
10267 * fns.c (Fold_memq):
10268 * fns.c (memq_no_quit):
10270 * fns.c (Fold_assoc):
10272 * fns.c (Fold_assq):
10273 * fns.c (assq_no_quit):
10275 * fns.c (Fold_rassoc):
10277 * fns.c (Fold_rassq):
10278 * fns.c (rassq_no_quit):
10280 * fns.c (Fold_delete):
10282 * fns.c (Fold_delq):
10283 * fns.c (delq_no_quit):
10284 * fns.c (Fremassoc):
10285 * fns.c (Fremassq):
10286 * fns.c (remassq_no_quit):
10287 * fns.c (Fremrassoc):
10288 * fns.c (Fremrassq):
10289 * fns.c (remrassq_no_quit):
10290 * fns.c (Freverse):
10294 * frame-msw.c (mswindows_init_frame_1):
10295 * frame-msw.c (mswindows_delete_frame):
10296 Register popups with dialog code so keyboard traversing works.
10298 * frame-tty.c (tty_raise_frame_no_select): [1].
10301 * frame-x.c (x_set_frame_text_value):
10302 * frame-x.c (x_set_frame_properties):
10303 * frame-x.c (x_create_widgets):
10307 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10309 * frame.h (wrap_frame): New.
10310 Macro like wrap_device.
10313 * general.c (SYMBOL):
10314 * general.c (syms_of_general):
10315 Major reorg. This is now just a wrapper and symbols themselves
10316 are listed in general-slots.h.
10318 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10319 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10321 * glyphs-msw.c (mswindows_native_layout_instantiate):
10322 Add DS_CONTROL so keyboard traversal will work.
10325 * glyphs-widget.c (syms_of_glyphs_widget):
10326 Move some symbols to general-slots.h.
10329 * glyphs-x.c (xbm_instantiate_1):
10330 * glyphs-x.c (x_xbm_instantiate):
10331 * glyphs-x.c (x_xface_instantiate):
10332 * glyphs-x.c (autodetect_instantiate):
10333 * glyphs-x.c (cursor_font_instantiate):
10334 * glyphs-x.c (x_update_widget):
10335 * glyphs-x.c (x_widget_instantiate):
10336 * glyphs.c (bitmap_to_lisp_data):
10337 * glyphs.c (pixmap_to_lisp_data):
10340 * glyphs.c (syms_of_glyphs):
10344 * gui-x.c (print_widget_value):
10345 * gui-x.c (menu_separator_style_and_to_external):
10346 * gui-x.c (add_accel_and_to_external):
10347 * gui-x.c (button_item_to_widget_value):
10348 * gui-x.c (gui_items_to_widget_values_1):
10349 * gui-x.c (gui_items_to_widget_values):
10350 * gui-x.c (syms_of_gui_x):
10351 * gui-x.c (vars_of_gui_x):
10352 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10356 Muleize, prototype changes matching gui-x.c.
10359 * gui.c (separator_string_p):
10360 * gui.c (gui_item_add_keyval_pair):
10361 * gui.c (make_gui_item_from_keywords_internal):
10362 * gui.c (signal_too_long_error):
10363 * gui.c (parse_gui_item_tree_item):
10364 * gui.c (syms_of_gui):
10365 * gui.c (vars_of_gui):
10367 menu-no-selection-hook moved here (used by MSWin).
10368 Move some symbols to general-slots.h.
10372 * insdel.c (get_buffer_pos_char):
10373 * insdel.c (get_buffer_range_char):
10376 * keymap.c (keymap_lookup_directly):
10377 * keymap.c (keymap_store):
10378 * keymap.c (ensure_meta_prefix_char_keymapp):
10379 * keymap.c (describe_map):
10381 Support new button modifiers.
10383 * lisp-disunion.h (wrap_object):
10384 * lisp-disunion.h (XSETOBJ):
10385 Rename make_obj to wrap_object.
10388 * lisp-union.h (make_int):
10389 * lisp-union.h (make_char):
10390 Support wrap_object.
10393 * lisp.h (LIST_LOOP):
10394 * lisp.h (EXTERNAL_LIST_LOOP):
10395 * lisp.h (LIST_LOOP_2):
10396 * lisp.h (EXTERNAL_LIST_LOOP_1):
10397 * lisp.h (EXTERNAL_LIST_LOOP_2):
10398 * lisp.h (EXTERNAL_LIST_LOOP_3):
10399 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10400 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10401 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10402 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10403 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10404 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10405 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10406 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10407 * lisp.h (struct Lisp_Symbol):
10408 * lisp.h (maybe_continuable_error_with_frob):
10409 Fix up section comments.
10410 Add new types for char to indicate usage.
10411 Delete symbols auto-generated from general-slots.h.
10412 Add prototypes for structured error functions.
10413 Add long comments describing looping macros and change interface
10414 so that lvalues are automatically declared.
10415 Add NO_DECLARE macro in case callers want to declare lvalues
10418 * lread.c (read_syntax_error):
10419 * lread.c (continuable_read_syntax_error):
10420 * lread.c (read_structure):
10421 * lread.c (sequence_reader):
10422 * lread.c (read_list_conser):
10423 * lread.c (read_compiled_function):
10424 Rename syntax_error and continuable_syntax_error to avoid clash
10425 with same-named structured error functions.
10427 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10428 * menubar-msw.c (populate_menu_add_item):
10429 * menubar-msw.c (populate_or_checksum_helper):
10434 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10435 Mule-ize whole file.
10437 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10439 * mule-charset.c (Fmake_charset):
10440 * mule-wnnfns.c (Fwnn_set_param):
10443 * ntproc.c (create_child):
10444 * ntproc.c (Fwin32_set_current_locale):
10445 Add comments portending doom.
10448 * objects-msw.c (old_font_enum_callback_2):
10449 * objects-msw.c (font_enum_callback_1):
10450 * objects-msw.c (mswindows_enumerate_fonts):
10454 * objects-x.c (allocate_nearest_color):
10455 * objects-x.c (x_parse_nearest_color):
10456 * objects-x.c (x_initialize_color_instance):
10457 * objects-x.c (x_print_color_instance):
10458 * objects-x.c (x_finalize_color_instance):
10459 * objects-x.c (x_valid_color_name_p):
10460 * objects-x.c (x_initialize_font_instance):
10461 * objects-x.c (x_print_font_instance):
10462 * objects-x.c (valid_x_font_name_p):
10463 * objects-x.c (truename_via_FONT_prop):
10464 * objects-x.c (truename_via_random_props):
10465 * objects-x.c (truename_via_XListFonts):
10466 * objects-x.c (x_font_truename):
10467 * objects-x.c (x_font_instance_truename):
10468 * objects-x.c (x_font_instance_properties):
10469 * objects-x.c (x_list_fonts):
10470 * objects-x.c (x_find_charset_font):
10471 Mule-ize entire file.
10478 * print.c (std_handle_out_external):
10479 * print.c (debug_print_no_newline):
10480 * print.c (syms_of_print):
10481 Output to all debugger kinds in debug-print.
10482 Fix console-output code under MSWin to actually work.
10484 * process-nt.c (send_signal):
10485 * process-nt.c (nt_create_process):
10486 Use newer Unicode macros.
10488 * process-unix.c (unix_create_process):
10489 * process-unix.c (unix_canonicalize_host_name):
10490 * process-unix.c (unix_open_network_stream):
10496 * search.c (syms_of_search):
10499 * select-msw.c (mswindows_destroy_selection):
10502 * select-x.c (symbol_to_x_atom):
10505 * select.c (syms_of_select):
10508 * sound.c (Fplay_sound_file):
10512 * specifier.c (decode_specifier_type):
10513 * specifier.c (Fvalid_specifier_locale_type_p):
10514 * specifier.c (check_valid_locale_or_locale_type):
10515 * specifier.c (decode_locale):
10516 * specifier.c (decode_locale_type):
10517 * specifier.c (decode_locale_list):
10518 * specifier.c (check_valid_domain):
10519 * specifier.c (decode_specifier_tag_set):
10520 * specifier.c (Fcanonicalize_tag_set):
10521 * specifier.c (Fdefine_specifier_tag):
10522 * specifier.c (Fspecifier_tag_predicate):
10523 * specifier.c (check_valid_inst_list):
10524 * specifier.c (check_valid_spec_list):
10525 * specifier.c (decode_how_to_add_specification):
10526 * specifier.c (check_modifiable_specifier):
10527 * specifier.c (specifier_add_spec):
10528 * specifier.c (boolean_validate):
10529 * specifier.c (display_table_validate):
10532 * specifier.c (syms_of_specifier):
10533 Move some symbols to general-slots.h.
10537 * symbols.c (Fmapatoms):
10538 * symbols.c (Fapropos_internal):
10541 * symbols.c (set_default_buffer_slot_variable):
10542 * symbols.c (set_default_console_slot_variable):
10545 * symbols.c (defsymbol_massage_name_1):
10546 * symbols.c (defkeyword_massage_name):
10547 * symbols.c (deferror_1):
10548 * symbols.c (deferror):
10549 * symbols.c (deferror_massage_name_and_message):
10551 * symeval.h (DEFSYMBOL):
10552 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10554 * symbols.c (syms_of_symbols):
10558 * symsinit.h (init_win32): New.
10559 Also new is syms_of_dialog_mswindows.
10562 Add new Unicode macros, missing Cygwin wide-char functions,
10563 convenience conversion macros for Qmswindows_tstr, macros for
10564 encapsulating required MSWin <-> Cygwin filename conversions,
10565 prototype for dynamically-extracted (not in NT 3.51) functions.
10570 * tooltalk.c (Fadd_tooltalk_message_arg):
10571 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10572 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10575 * tooltalk.c (syms_of_tooltalk):
10579 * unexnt.c (unexec):
10580 Fix up headers, declaration of unexec() to be more standard.
10582 2000-07-20 Martin Buchholz <martin@xemacs.org>
10584 * offix.h: Revert change to guard macros - they're used in offix.c!
10586 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10588 * lisp.h: Defsubred Fdelete.
10590 * console-msw.h: (msprinter_default_printer): Added.
10592 * console-msw.c (msprinter_canonicalize_console_connection):
10593 (msprinter_canonicalize_device_connection): Added.
10595 * device-msw.c (msprinter_default_printer):
10596 (Fmswingows_get_default_printer):
10597 (signal_enum_priner_error):
10598 (Fmswingows_printer_list): Added.
10600 2000-07-19 Martin Buchholz <martin@xemacs.org>
10602 * XEmacs 21.2.35 is released.
10604 2000-07-19 Martin Buchholz <martin@xemacs.org>
10606 * select-x.c (x_handle_selection_request):
10607 Text selected in xemacs and pasted into xterm failed to appear.
10608 Spelling fixes and cosmetic changes.
10610 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10612 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10613 XEmacs frame (fix for doubling chars in dialog boxes).
10615 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10617 * select.c (select_convert_in, select_convert_out):
10618 Don't call intern() every time.
10620 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10621 * select.c (vars_of_select): Initialise them.
10623 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10625 * select.c (selection-coercible-types): New.
10627 * select.c (own-selection-internal):
10628 * select.c (get-selection-internal):
10629 MULE bug fix - these should default to COMPOUND_TEXT and not
10630 STRING for MULE. I think.
10632 * select.c (select_convert_out): Use selection-coercible-types
10633 to find types that we can attempt to perform coercions on.
10635 2000-07-18 Martin Buchholz <martin@xemacs.org>
10639 Add coding: cookie to identify encoding.
10641 * mule-canna.c (CANNA_mode_keys): make static.
10642 Use proper prototypes, even for functions of no arguments.
10643 Remove external prototype for Fding().
10645 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10647 * select.c (syms_of_select): Add missing DEFSUBR.
10649 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10651 * select.c (get_selection_internal, own_selection_internal):
10652 Make the type default to STRING, rather than placing a nil type
10653 into Vselection_alist.
10655 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10657 * gpmevent.c (tty_selection_exists_p):
10658 * gpmevent.c (tty_own_selection):
10659 Updated parameter lists.
10661 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10663 * select.h (selection-alist): Removed declaration.
10665 * select.h (get_local_selection):
10666 * select.c (get_local_selection):
10669 * select.h (convert_selection): Removed declaration.
10670 * select.c (convert_selection): Removed.
10671 This function belongs in Lisp.
10673 * select.h (select_convert_in): Declare.
10674 * select.h (select_convert_out): Declare.
10675 * select.c (select_convert_in): New.
10676 * select.c (select_convert_out): New.
10677 New conversion functions for other files to call.
10679 * select.h (select_notify_buffer_kill): Declare.
10680 * select.c (select_notify_buffer_kill): New.
10681 New functions that get called from kill-buffer.
10683 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10684 X-specific lisp code.
10686 * select.h: Declare some of the lisp-visible functions for
10689 * select.c (clean_local_selection_data): Removed. This was
10690 a disgusting function, and previously should have been in
10691 select-x.c in any case. The functionality is now provided
10692 in select-convert-from-integer (select.el).
10694 * select.c (available-selection-types): Fixed stupidity where
10695 INTEGER and ATOM got added twice. Also add STRING when we see an
10698 * select.c (get-selection-internal): Removed symbol stripping. No
10699 longer causes conversion when data comes from the internal cache.
10701 * select.c (syms_of_select): Added new functions.
10703 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10704 error checking - previously this called abort!
10706 * select-x.c (x_own_selection): Changed comment.
10708 * select-x.c (x_handle_selection_request): Use select_convert_out.
10709 Don't mess with selection-alist; it's an internal variable of select.c.
10711 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10713 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10714 rather than messing with selection-alist.
10716 * select-msw.c (mswindows_get_foreign_selection):
10717 Use TO_INTERNAL_FORMAT rather than hacking.
10719 2000-07-14 Martin Buchholz <martin@xemacs.org>
10721 * process-unix.c (unix_open_multicast_group):
10722 (unix_open_multicast_group): Remove useless casts.
10724 2000-07-13 Martin Buchholz <martin@xemacs.org>
10726 * sound.c (Fplay_sound): Fix `unused variable' warning.
10728 * emacs.c (main): Use correct type for _environ on SCO5.
10730 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10732 * console.h (own_selection_method):
10733 * console.h (selection_exists_p_method):
10734 * console.h (available_selection_types_method): New.
10735 * console.h (register_selection_data_type_method): New.
10736 * console.h (selection_data_type_name): New.
10738 * console-msw.h (mswindows_destroy_selection): Declare it. New
10739 function & alist to track GlobalAlloc()'d handles that need
10740 releasing when the clipboard data gets replaced or emptied.
10742 * event-msw.c (mswindows_wnd_proc): Call it.
10744 * lisp.h, general.c (Qappend): New symbol representing a
10747 * select.c (own-selection-internal):
10748 * select.c (selection-exists-p):
10749 * select.c (available-selection-types): New.
10750 * select.c (register-selection-data-type): New.
10751 * select.c (selection-data-type-name): New. New functions to deal
10752 with device-specific selection data formats.
10753 * select.c (selection-converter-out-alist): Renamed.
10754 * select.c (selection-converter-in-alist): New.
10755 * select.c (selection-appender-alist): New. Added new alists.
10756 * select.c (syms_of_select, vars_of_select): Added new symbols &
10758 * select.c (get_local_selection): Split.
10759 * select.c: Removed spurious type checking - selections may now be
10760 of any type, not just strings.
10761 * select.c (own-selection-internal):
10763 * select.h, select.c (convert_selection): New. Created
10764 convert_selection() function based on get_local_selection().
10765 * select.h, select.c (QCF_*): New symbols representing mswindows
10767 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10768 symbols representing `how-to-add' modes.
10770 * select-msw.c (x_sym_p): New.
10771 * select-msw.c (symbol_to_ms_cf): New.
10772 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10773 symbols & clipboard formats. Can also handle string names.
10774 * select-msw.c (mswindows_own_selection):
10775 * select-msw.c (mswindows_selection_exists_p):
10776 Added `data-type' parameter. Use it.
10777 * select-msw.c (mswindows_available_selection_types): New.
10778 * select-msw.c (mswindows_register_selection_data_type): New.
10779 * select-msw.c (mswindows_selection_data_type_name): New.
10780 * select-msw.c (mswindows_own_selection):
10781 * select-msw.c (mswindows_get_foreign_selection):
10782 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10783 * select-msw.c (console_create_select_mswindows): Added new methods.
10784 * select-msw.c (mswindows_destroy_selection): New.
10785 * select-msw.c (Vhandle_alist): New list.
10786 * select-msw.c (mswindows_own_selection):
10788 * select-x.c (x_own_selection):
10789 * select-x.c (x_selection_exists_p):
10790 * select-x.c: Added some comments about maybe using new
10792 * select-x.c (x_own_selection):
10794 * specifier.c: Remove definition of Qappend (now in general.c)
10795 * specifier.c (syms_of_specifier): Remove Qappend.
10797 2000-07-12 Martin Buchholz <martin@xemacs.org>
10799 * config.h.in: Add socklen_t.
10801 * s/decosf4-0.h: No special compiler flags needed or desired.
10802 In particular, undefine _BSD for DEC OSF 4.0.
10804 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10806 * redisplay-msw.c (msprinter_frame_output_end): Added.
10807 (console_type_create_redisplay_mswindows): Referred the above.
10809 * frame.c (setup_frame_without_minibuffer): Do not create a
10810 default minibuffer frame on a printer device.
10812 * frame-msw.c (apply_dc_geometry): Added.
10813 (msprinter_start_page):
10814 (msprinter_init_frame_3):
10815 (msprinter_eject_page): Use it.
10817 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10818 and removed residual duplex and orientation properties.
10820 2000-07-11 Martin Buchholz <martin@xemacs.org>
10822 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10824 * unexalpha.c: Remove system prototypes from C sources!
10826 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10828 * eval.c: Remove references to M-x edit-options in DEFUNs for
10829 `defvar' and `defconst'.
10831 2000-07-09 Martin Buchholz <martin@xemacs.org>
10833 * config.h.in: Remove SMART_INCLUDE hackery.
10835 PostgreSQL hacking:
10836 * config.h.in: Don't use SMART_INCLUDE.
10838 * postgresql.h: Include libpq-fe.h here. Fix typo.
10839 * inline.c: Simply #include "postgresql.h"
10841 - Don't use SMART_INCLUDE
10842 - Use simply "const".
10843 - Use standard doc string conventions.
10844 - Use correct type for result of PQstatus.
10846 2000-07-09 Martin Buchholz <martin@xemacs.org>
10848 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10850 C++ compilation changes.
10851 * config.h.in (EXTERN_C): Define.
10852 * config.h.in (not): This is also a C++ keyword.
10853 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10854 * cm.c: Use EXTERN_C.
10855 * redisplay-tty.c: Use EXTERN_C.
10856 * sysdep.c: Use EXTERN_C. Remove Gould support.
10858 2000-07-09 Martin Buchholz <martin@xemacs.org>
10860 * general.c: Remove duplicate definition for Qfunction.
10862 2000-07-08 Ben Wing <ben@xemacs.org>
10864 * device-msw.c (msprinter_init_device):
10865 * device-msw.c (sync_printer_with_devmode):
10866 * device-msw.c (handle_devmode_changes):
10867 * device-msw.c (print_dialog_worker):
10868 * device-msw.c (Fmsprinter_apply_settings):
10869 * device-msw.c (hash_devmode):
10870 * device-msw.c (Fmsprinter_settings_despecialize):
10871 use Qmswindows_tstr, not Qctext.
10873 * vm-limit.c (check_memory_limits):
10874 avoid infinite loop printing warning messages.
10876 2000-07-05 Craig Lanning <lanning@scra.org>
10878 * Makefile.in.in: Add support for including the Windows resources
10879 when building with the cygwin and mingw targets.
10881 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10882 not set or not correct.
10883 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10884 (init_initial_directory): Don't try to use $PWD on the
10885 WIN32_NATIVE target.
10888 [[Add -mwindows to eliminate console window.]] not required --ben
10889 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10890 (MAIL_USE_POP): removed; now handled by configure.
10892 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10893 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10894 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10895 (MAIL_USE_POP): removed; now handled by configure.
10896 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10897 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10898 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10900 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10901 up from <winsock.h> via systime.h.
10902 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10903 (getpagesize): from Dan Holmsand, added.
10904 Added #endif which was left dangling by Ben's mega patch; added
10905 comment to help prevent this in the future.
10907 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10909 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10911 * console-msw.h (struct mswindows_device): Removed unnecessary
10912 cached device geometry values.
10913 Added update_tick and an accessor macro.
10914 (Lisp_Devmode): Added lrecord declaration.
10915 (struct msprinter_device): Contain devmode as a Lisp object.
10916 Added mswindows_get_selected_frame_hwnd();
10918 * console.h (struct console_methods): Indentation nitpicking.
10920 * device-msw.c (mswindows_init_device): Do not initialize geometry
10921 cache. Initialize update tick.
10922 (mswindows_device_system_metrics): Ask the device for its geometry.
10923 (global_free_2_maybe):
10924 (devmode_to_hglobal):
10925 (handle_printer_changes):
10926 (ensure_not_printing):
10927 (print_dialog_worker):
10928 (Fmsprinter_print_setup_dialog):
10929 (Fmsprinter_print_dialog):
10930 (plist_get_margin):
10931 (plist_set_margin):
10932 (Fmsprinter_page_setup_dialog): Added functions.
10933 (sync_printer_with_devmode):
10934 (handle_devmode_changes):
10935 (Fmsprinter_get_settings):
10936 (Fmsprinter_select_settings):
10937 (Fmsprinter_apply_settings):
10938 (allocate_devmode):
10939 (Fmsprinter_settings_copy):
10940 (Fmsprinter_settings_despecialize):
10942 (finalize_devmode):
10944 (hash_devmode): Added functions
10945 (syms_of_device_mswindows): Init devmode lrecord class.
10947 * device.h: Added an exfun for find-device.
10949 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10950 geometry; although, recreate the device compatible DC.
10952 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10953 (msprinter_init_frame_3):
10954 (msprinter_frame_property):
10955 (msprinter_internal_frame_property_p):
10956 (msprinter_frame_properties):
10957 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10958 print job properties (will move to device settings).
10960 * lisp.h: Added symbols.
10962 * general.c (syms_of_general): Declared them.
10964 * hash.c (string_hash): Added.
10966 * lrecord.h (lrecord_type): Added devmode lrecord type.
10968 2000-07-02 Mike Sperber <mike@xemacs.org>
10970 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10973 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10975 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10978 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10980 * data.c (Fstring_to_number): Don't recognize floating point if
10983 2000-06-22 Martin Buchholz <martin@xemacs.org>
10985 * glyphs-widget.c (tab_control_query_geometry):
10986 (widget_query_geometry):
10987 (button_query_geometry):
10988 * glyphs.c (text_query_geometry):
10989 Enforce type correctness.
10991 2000-06-18 Martin Buchholz <martin@xemacs.org>
10993 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10994 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10996 2000-06-17 Martin Buchholz <martin@xemacs.org>
10998 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10999 conflicts with gcc's fixincluded version of FOO.h.
11001 * glyphs.h (image_instance_geometry): Remove trailing `,'
11003 2000-06-08 Mike Alexander <mta@arbortext.com>
11005 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11006 (shove_thread): Don't write the same output twice
11007 (make_ntpipe_output_stream): Increase priority of shove thread
11008 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11010 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11013 2000-06-12 Ben Wing <ben@xemacs.org>
11015 * s\mingw32.h (sigset):
11016 * s\windowsnt.h (sigset):
11017 rename msw_ to mswindows_ for consistency with general convention.
11019 2000-06-12 Ben Wing <ben@xemacs.org>
11022 * console-msw.c (mswindows_get_console_hwnd):
11023 * console-msw.c (mswindows_ensure_console_allocated):
11024 * console-msw.c (mswindows_hide_console):
11025 * console-msw.c (mswindows_show_console):
11026 * console-msw.c (mswindows_ensure_console_buffered):
11027 * console-msw.c (mswindows_output_console_string):
11028 * console-msw.c (mswindows_windows9x_p):
11030 * device-msw.c (mswindows_get_workspace_coords):
11031 * device-msw.c (mswindows_device_system_metrics):
11032 * dialog-msw.c (mswindows_popup_dialog_box):
11033 * event-msw.c (mswindows_wnd_proc):
11034 * frame-msw.c (mswindows_size_frame_internal):
11035 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11036 * menubar-msw.c (displayable_menu_item):
11037 * menubar-msw.c (mswindows_char_is_accelerator):
11039 * nt.c (mswindows_sigset):
11040 * nt.c (mswindows_sigrelse):
11041 * nt.c (mswindows_sigpause):
11042 * nt.c (mswindows_raise):
11043 * nt.c (timer_proc):
11045 * ntproc.c (find_child_console):
11046 * ntproc.c (sys_kill):
11048 * print.c (std_handle_out_external):
11049 * process-nt.c (find_child_console):
11050 * process-nt.c (send_signal_the_95_way):
11051 * process-nt.c (ensure_console_window_exists):
11052 * process-nt.c (nt_create_process):
11054 rename msw_ to mswindows_ for consistency with general convention.
11058 include nt.h, not syswindows.h.
11060 * nt.c (mswindows_fstat):
11061 * nt.c (mswindows_stat):
11062 prefix mswindows_ instead of attempting to directly override the
11063 library functions. fix declarations.
11066 include syswindows.h. move some sysdep.h stuff here.
11069 include syswindows.h, not <windows.h>.
11077 * sysdep.c (sys_fstat):
11078 * sysdep.c (sys_stat):
11079 call mswindows versions when appropriate.
11082 move mswin decls to nt.h.
11085 add long comment describing appropriate use of the various windows
11088 2000-06-11 Ben Wing <ben@xemacs.org>
11090 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11092 2000-06-10 Ben Wing <ben@xemacs.org>
11094 * Makefile.in.in (release):
11095 Correction to make sure xemacs.exe always dumped when correct.
11099 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11101 * buffer.c (set_buffer_internal):
11102 [[[[2]]]]: Remove HAVE_FEP code.
11104 * buffer.c (init_initial_directory):
11108 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11112 * callproc.c (call_process_cleanup):
11113 * callproc.c (Fold_call_process_internal):
11114 * callproc.c (child_setup):
11115 * callproc.c (getenv_internal):
11116 * callproc.c (init_callproc):
11117 * callproc.c (vars_of_callproc):
11118 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11119 __CYGWIN32__ -> CYGWIN.
11120 DOS_NT -> WIN32_NATIVE.
11121 Remove MSDOS support/references, converting to WIN32_NATIVE
11123 __MINGW32__ -> MINGW.
11124 Fix windows.h includes.
11125 Remove bogus HAVE_NTGUI.
11131 mswindows_message_outputted added for use in allowing startup
11132 errors on the console to be seen.
11134 * console-msw.c (msw_ensure_console_allocated):
11135 * console-msw.c (msw_output_console_string):
11136 * console-msw.c (DHEADER):
11137 * console-msw.c (DOPAQUE_DATA):
11138 * console-msw.c (DEVENT):
11139 * console-msw.c (DCONS):
11140 * console-msw.c (DCONSCDR):
11141 * console-msw.c (DSTRING):
11142 * console-msw.c (DVECTOR):
11143 * console-msw.c (DSYMBOL):
11144 * console-msw.c (DSYMNAME):
11147 * console-stream.c (stream_init_console):
11148 Fix text/binary problems.
11151 * device-msw.c (mswindows_finish_init_device):
11152 * device-msw.c (mswindows_delete_device):
11155 * device.c (handle_asynch_device_change):
11159 * dgif_lib.c (DGifOpenFileName):
11160 * dgif_lib.c (DGifOpenFileHandle):
11161 * dgif_lib.c (DGifGetLine):
11162 * dgif_lib.c (DGifGetPixel):
11163 Added config.h/lisp.h, fix up includes.
11170 * dired.c (file_name_completion):
11171 * dired.c (Ffile_attributes):
11172 * dired.c (syms_of_dired):
11176 * dumper.c (pdump_file_unmap):
11177 * dumper.c (pdump_load):
11181 * editfns.c (Ftemp_directory):
11182 * editfns.c (user_login_name):
11183 * editfns.c (Fuser_real_login_name):
11184 * editfns.c (get_home_directory):
11187 * elhash.c (finish_marking_weak_hash_tables):
11188 [[[[5]]]]: Fix GCC warnings.
11191 * emacs.c (mswindows_handle_hardware_exceptions):
11192 * emacs.c (make_arg_list_1):
11193 * emacs.c (main_1):
11194 * emacs.c (Fkill_emacs):
11195 * emacs.c (Fdump_emacs):
11197 Fix problems with nested crashes, add long comment.
11199 * event-Xt.c (init_event_Xt_late):
11203 * event-msw.c (mswindows_dde_callback):
11204 * event-msw.c (mswindows_handle_sticky_modifiers):
11205 * event-msw.c (mswindows_wnd_proc):
11209 * events.c (character_to_event):
11213 * fileio.c (Ffile_name_directory):
11214 * fileio.c (Ffile_name_nondirectory):
11215 * fileio.c (directory_file_name):
11216 * fileio.c (Fexpand_file_name):
11217 * fileio.c (Fsubstitute_in_file_name):
11218 * fileio.c (Ffile_name_absolute_p):
11219 * fileio.c (check_executable):
11220 * fileio.c (Ffile_readable_p):
11221 * fileio.c (Ffile_accessible_directory_p):
11222 * fileio.c (Ffile_modes):
11223 * fileio.c (Funix_sync):
11224 * fileio.c (vars_of_fileio):
11227 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11229 Expand getdefdir defn.
11230 Fix bogus rename() comment.
11232 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11233 to use standard XEmacs include files, e.g. sysfile.h, rather
11234 than system-specific includes.
11240 * frame.c (vars_of_frame):
11244 * getloadavg.c (getloadavg):
11246 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11247 (We don't use it elsewhere in the code; just add a comment.)
11254 * glyphs-msw.c (mswindows_resource_instantiate):
11257 * glyphs-x.c (x_native_layout_instantiate):
11260 * gui-msw.c (Fmswindows_shell_execute):
11269 * lread.c (locate_file_in_directory_mapper):
11276 * mem-limits.h (get_lim_data):
11288 * nt.c (rva_to_section):
11289 * nt.c (mswindows_executable_type):
11291 Fix closedir() defn.
11294 [[[[8]]]]: *_OK defs moved to sysfile.h.
11303 * print.c (std_handle_out_external):
11307 * process-nt.c (nt_create_process):
11309 try to fix process quoting somewhat.
11311 * process-unix.c (unix_create_process):
11315 * process.c (vars_of_process):
11322 * realpath.c (xrealpath):
11325 * redisplay-tty.c (init_tty_for_redisplay):
11335 * sheap.c (more_static_core):
11336 * sheap.c (report_sheap_usage):
11340 * signal.c (alarm_signal):
11347 * strftime.c (zone_name):
11350 * symsinit.h (init_sunpro):
11354 commctrl.h not in Cygwin b20.1.
11357 * sysdep.c (endif):
11358 * sysdep.c (sys_subshell):
11359 * sysdep.c (init_baud_rate):
11360 * sysdep.c (emacs_get_tty):
11361 * sysdep.c (emacs_set_tty):
11362 * sysdep.c (tty_init_sys_modes_on_device):
11363 * sysdep.c (init_system_name):
11364 * sysdep.c (sys_open):
11365 * sysdep.c (interruptible_open):
11366 * sysdep.c (sys_fopen):
11367 * sysdep.c (sys_mkdir):
11368 * sysdep.c (sys_rename):
11369 * sysdep.c (get_process_times_1):
11376 * sysdir.h (DIRENTRY_NONEMPTY):
11379 * sysdll.c (dll_init):
11385 added text/binary defs.
11391 * sysproc.h (EDESTADDRREQ):
11392 * sysproc.h (poll_fds_for_input):
11409 Always define WIN32_LEAN_AND_MEAN.
11411 * unexcw.c (unexec):
11415 * unexec.c (copy_text_and_data):
11416 * unexec.c (adjust_lnnoptrs):
11420 * unexnt.c (_start):
11423 2000-06-07 Ben Wing <ben@xemacs.org>
11425 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11426 was used only as a model. We've long since extracted any useful
11427 logic or code out of this. (I just did an exhaustive search.)
11429 * s\msdos.h: Removed.
11431 * s\windows95.h: Removed.
11433 2000-06-10 Ben Wing <ben@xemacs.org>
11437 Don't use extern with fun defs.
11441 Remove nt\inc include.
11442 Remove getdisk, getdefdir. (The former is unused, the latter
11443 expanded in fileio.h.)
11446 * s\windowsnt.h (WIN32_NATIVE):
11447 * s\windowsnt.h (HAVE_STRCASECMP):
11449 Add long comment about preprocessor changes.
11450 Remove getdisk, getdefdir. (The former is unused, the latter
11451 expanded in fileio.h.)
11453 2000-06-10 Ben Wing <ben@xemacs.org>
11462 Remove bogus/unused NO_SOCK_SIGIO.
11464 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11466 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11469 2000-06-04 Mike Sperber <mike@xemacs.org>
11471 * casetab.c (set_case_table): For `set-standard-case-table',
11472 actually deposit the new case tables where the rest of XEmacs can
11475 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11477 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11479 2000-06-05 Ben Wing <ben@xemacs.org>
11481 * callproc.c (child_setup): Don't do close_load_descs() under
11482 MS Windows. Put in a comment explaining why.
11484 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11486 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11487 Toolkit shell" which breaks `kill-compilation' on Windows NT
11488 native, retaining STDERR handling improvements.
11490 2000-06-01 Andreas Jaeger <aj@suse.de>
11492 * s/s390.h: Support for S390, based on a patch by Martin
11493 Schwidefsky <schwidefsky@de.ibm.com>.
11495 2000-05-30 Andy Piper <andy@xemacs.org>
11497 * window.c (allocate_window):
11498 (make_dummy_parent):
11499 (Fset_window_configuration): use new hashtable type.
11501 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11502 (struct image_instantiator_methods):
11503 (struct Lisp_Image_Instance): make instance geometry signed.
11505 * glyphs.c (instantiate_image_instantiator):
11506 (image_instance_query_geometry):
11507 (image_instance_layout):
11508 (image_instance_layout):
11509 (query_string_geometry):
11510 (text_query_geometry):
11511 (image_instantiate):
11512 (image_instantiate):
11513 (cache_subwindow_instance_in_frame_maybe):
11514 (subwindow_query_geometry): make instance geometry signed.
11516 * glyphs-widget.c (widget_query_geometry):
11518 (button_query_geometry):
11519 (tree_view_query_geometry):
11520 (tab_control_query_geometry):
11521 (layout_query_geometry):
11523 (native_layout_layout): make instance geometry signed.
11525 2000-05-29 Olivier Galibert <galibert@pobox.com>
11527 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11530 * general.c (syms_of_general): Add Qfull_assoc symbol.
11532 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11534 (decode_weak_list_type): Decode full-assoc type.
11535 (encode_weak_list_type): Encode full-assoc type.
11536 (Fmake_weak_list): Update doc string.
11538 2000-05-30 Andy Piper <andy@xemacs.org>
11540 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11542 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11543 (decode_hash_table_weakness): ditto.
11544 (Fhash_table_weakness): ditto.
11545 (Fhash_table_type): ditto.
11546 (finish_marking_weak_hash_tables): ditto.
11547 (hash_table_weakness_validate): ditto.
11548 (syms_of_elhash): ditto.
11550 2000-05-28 Martin Buchholz <martin@xemacs.org>
11552 * XEmacs 21.2.34 is released.
11554 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11556 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11558 (updating_line_start_cache): Gone.
11559 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11560 generic code to force a minimum of 1 line laid out in the
11563 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11565 * glyphs.c (instantiate_image_instantiator): Check for initialized
11566 height & width no longer special cases IMAGE_NOTHING.
11567 (nothing_instantiate): Set height and width of instance.
11569 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11571 * unexelf.c (unexec): Search for ".data" section.
11572 Initialize new_data2_offset from old_data_index.
11573 Remove redundant check for ElfW.
11575 2000-05-23 Andy Piper <andy@xemacs.org>
11577 * glyphs.c (get_image_instantiator_governing_domain): allow more
11578 specific domains as the governing domain rather than expecting an
11579 exact match. This fixes problems with layouts.
11581 2000-05-22 Andy Piper <andy@xemacs.org>
11583 * redisplay-output.c (compare_runes): check for non-images
11585 * glyphs.c (set_glyph_dirty_p): ditto.
11586 (update_glyph_cachel_data): ditto.
11588 * glyphs-widget.c (layout_post_instantiate): ditto.
11589 (layout_post_instantiate): ditto.
11591 * event-msw.c (mswindows_wnd_proc): warning removal.
11593 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11595 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11597 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11599 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11601 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11602 (mswindows_executable_type): mingw32 now has enough headers for
11605 2000-05-20 Andy Piper <andy@xemacs.org>
11607 * console-msw.c (mswindows_output_last_error): ; -> ,
11609 2000-05-12 Andy Piper <andy@xemacs.org>
11611 * console-msw.c (FROB): compare ints with ints.
11613 2000-05-11 Andy Piper <andy@xemacs.org>
11615 * glyphs-x.c (x_finalize_image_instance): make minimal build
11618 2000-05-20 Ben Wing <ben@xemacs.org>
11621 * event-Xt.c (vars_of_event_Xt):
11622 move modifier-keys-are-sticky to event-stream.c.
11625 * event-msw.c (mswindows_enqueue_mouse_button_event):
11626 * event-msw.c (key_needs_default_processing_p):
11627 * event-msw.c (XEMSW_LCONTROL):
11628 * event-msw.c (mswindows_handle_sticky_modifiers):
11629 * event-msw.c (FROB):
11630 * event-msw.c (clear_sticky_modifiers):
11631 * event-msw.c (output_modifier_keyboard_state):
11632 * event-msw.c (output_alt_keyboard_state):
11633 * event-msw.c (mswindows_wnd_proc):
11634 * event-msw.c (mswindows_modifier_state):
11635 * event-msw.c (emacs_mswindows_handle_magic_event):
11636 implement sticky modifiers.
11639 * event-stream.c (vars_of_event_stream):
11640 move modifier-keys-are-sticky here.
11643 add CHECK_FUNCTION.
11646 implement map-range-table.
11649 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11651 * redisplay-tty.c (reset_tty_modes):
11652 (tty_redisplay_shutdown): Adjust argument type to
11653 tty_frame_output_end.
11655 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11657 * eval.c (Fbacktrace): Don't output a line with only right
11660 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11662 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11663 (Fpq_reset_poll): Ditto.
11665 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11667 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11669 2000-05-16 Ben Wing <ben@xemacs.org>
11672 * buffer.c (dfc_convert_to/from_internal_format):
11673 * buffer.c (reinit_vars_of_buffer):
11674 Fix conversion functions to allow reentrancy.
11677 * console-msw.c (mswindows_output_last_error):
11678 New fun, generally useful -- output a human-readable
11679 version of GetLastError() on the console.
11682 * console-msw.h (struct mswindows_frame):
11683 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11685 * console-stream.c (stream_output_begin):
11686 * console-stream.c (stream_output_end):
11687 * console-stream.c (stream_output_vertical_divider):
11688 * console-stream.c (stream_clear_region):
11689 * console-stream.c (stream_flash):
11690 * console-stream.c (console_type_create_stream):
11691 Delete blank stream methods, not needed.
11693 * console.h (struct console_methods):
11694 Split begin/end methods into window and frame.
11697 * event-msw.c (mswindows_handle_paint):
11698 * event-msw.c (output_alt_keyboard_state):
11699 * event-msw.c (mswindows_wnd_proc):
11700 * event-msw.c (vars_of_event_mswindows):
11701 Comment about problems with ignored-expose.
11702 Define mswindows-debug-events; not really implemented.
11704 * frame-msw.c (mswindows_init_frame_1):
11708 * glyphs-msw.c (begin_defer_window_pos):
11709 * glyphs-msw.c (mswindows_unmap_subwindow):
11710 * glyphs-msw.c (mswindows_map_subwindow):
11711 * glyphs-msw.c (mswindows_resize_subwindow):
11712 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11714 * glyphs.c (make_image_instance_1):
11717 * gutter.c (Fredisplay_gutter_area):
11718 Use new begin/end methods.
11720 * lisp.h (Dynarr_new2):
11724 * redisplay-msw.c (mswindows_frame_output_begin):
11725 * redisplay-msw.c (mswindows_frame_output_end):
11726 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11727 New begin/end methods -- handle DeferWindowPos.
11729 * redisplay-output.c (redisplay_move_cursor):
11730 * redisplay-output.c (redraw_cursor_in_window):
11731 * redisplay-output.c (redisplay_update_line):
11732 * redisplay-output.c (redisplay_output_window):
11733 New begin/end methods.
11736 * redisplay-tty.c (tty_frame_output_begin):
11737 * redisplay-tty.c (tty_frame_output_end):
11738 * redisplay-tty.c (console_type_create_redisplay_tty):
11739 New begin/end methods.
11742 * redisplay-x.c (x_window_output_begin):
11743 * redisplay-x.c (x_window_output_end):
11744 * redisplay-x.c (console_type_create_redisplay_x):
11745 New begin/end methods.
11747 * redisplay.c (redisplay_frame):
11748 * redisplay.c (Fredisplay_echo_area):
11749 New begin/end methods.
11750 use MAYBE_DEVMETH for clear_frame; it may not exist.
11752 * window.h (WINDOW_XFRAME):
11753 WINDOW_XFOO macros -- get locale and decode struct pointer.
11756 2000-05-12 Ben Wing <ben@xemacs.org>
11759 * emacs.c (ensure_no_quitting_from_now_on):
11760 * emacs.c (fatal_error_signal):
11761 * emacs.c (mswindows_handle_hardware_exceptions):
11763 * emacs.c (Fkill_emacs):
11764 * emacs.c (shut_down_emacs):
11765 * emacs.c (assert_failed):
11766 various improvements in fatal error handling.
11769 move preparing_for_armageddon to emacs.c.
11772 declare fatal_error_in_progress.
11775 * print.c (std_handle_out_external):
11776 * print.c (std_handle_out_va):
11777 * print.c (stderr_out):
11778 * print.c (stdout_out):
11779 use console under mswin when no standard output.
11780 don't do code conversion during fatal error.
11782 * scrollbar.c (Fscrollbar_page_up):
11783 * scrollbar.c (Fscrollbar_page_down):
11784 fix missing else. reindent.
11786 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11790 * glyphs.h (GLYPH_CACHEL_DESCENT):
11791 (GLYPH_CACHEL_DESCENT):
11792 (GLYPH_CACHEL_DESCENT):
11793 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11794 used in case these are inline functions.
11795 Use more absurd values to error check.
11797 include window.h for error check functions.
11799 2000-05-11 Ben Wing <ben@xemacs.org>
11801 * cmdloop.c (Freally_early_error_handler):
11802 Display message box under windows; otherwise, message will disappear
11803 before it can be viewed.
11806 * console-msw.c (Fmswindows_message_box):
11807 * console-msw.c (FROB):
11808 * console-msw.c (syms_of_console_mswindows):
11809 Define new fun `mswindows-message-box'.
11810 #### I will merge this into `popup-dialog-box'; just give me
11814 * general.c (syms_of_general):
11815 Some new symbols used in `mswindows-message-box'.
11818 * glyphs.c (Fset_image_instance_property):
11819 put warning in this fun.
11822 * glyphs.h (GLYPH_CACHEL_WIDTH):
11823 * glyphs.h (GLYPH_CACHEL_ASCENT):
11824 * glyphs.h (GLYPH_CACHEL):
11825 * glyphs.h (GLYPH_CACHEL_GLYPH):
11826 define error-checking versions to try to catch a bug i've seen --
11827 redisplay gets in an infinite loop because the glyph width of the
11828 continuation glyph is 65535.
11831 Extern message-box stuff.
11833 * window.c (allocate_window):
11834 * window.c (make_dummy_parent):
11835 * window.c (Fset_window_configuration):
11836 Use EQUAL not EQ for subwindow caches to make them work a bit
11837 better. (Something is still very broken.)
11840 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11842 * glyphs.c (image_instantiate): Suppress gcc warnings.
11843 (Fmake_image_instance): Fix doc string.
11844 * specifier.c (Fmake_specifier): Ditto.
11846 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11848 * paths.h.in (PATH_LOCK): Removed.
11849 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11850 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11852 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11854 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11855 Document (featurep '(and xemacs 21.02)).
11857 2000-05-09 Ben Wing <ben@xemacs.org>
11859 * buffer.c (complex_vars_of_buffer):
11860 update modeline-format doc.
11863 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11866 timeline of all released versions of Emacs, for use in creating
11867 authorship comments and in synching up.
11869 * glyphs-widget.c (image_instantiator_buttons):
11870 * glyphs-widget.c (image_instantiator_edit_fields):
11871 * glyphs-widget.c (image_instantiator_combo_box):
11872 * glyphs-widget.c (image_instantiator_scrollbar):
11873 * glyphs-widget.c (image_instantiator_progress_guage):
11874 * glyphs-widget.c (image_instantiator_tree_view):
11875 * glyphs-widget.c (image_instantiator_tab_control):
11876 * glyphs-widget.c (image_instantiator_labels):
11877 * glyphs-widget.c (image_instantiator_layout):
11878 * glyphs-widget.c (image_instantiator_native_layout):
11879 rename decode_domain method to governing_domain.
11882 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11883 * glyphs.c (add_entry_to_device_ii_format_list):
11884 make sure we don't put an entry more than once into the list.
11885 * glyphs.c (check_instance_cache_mapper):
11886 *************************************************************
11887 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11889 *************************************************************
11890 * glyphs.c (get_image_instantiator_governing_domain):
11891 clean up, expand on new concept of governing domain.
11892 * glyphs.c (instantiate_image_instantiator):
11893 * glyphs.c (allocate_image_instance):
11894 use governing_domain instead of cache_domain in naming.
11895 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11896 * glyphs.c (make_image_instance_1):
11897 * glyphs.c (Fmake_image_instance):
11898 allow for any domain (not just device), and process the
11899 governing domain correctly. very big doc fix.
11900 * glyphs.c (Fimage_instance_domain):
11901 new primitive, to retrieve the governing domain of an image instance.
11902 * glyphs.c (image_instantiate):
11903 use new governing_domain stuff. this fixes a crash you could get
11904 by instantiating certain widget glyphs in frame locales. (should
11905 signal an error instead of crashing.)
11906 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11907 * glyphs.c (Fglyphp): clean up doc.
11908 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11909 * glyphs.c (syms_of_glyphs):
11910 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11911 * glyphs.c (image_instantiator_format_create): add some comments about
11913 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11914 for current-display-table. (Apparently Hrjove implemented in 1998 a
11915 design I wrote up in 1996, but didn't update the doc string.)
11917 * glyphs.h: clean up a doc string.
11918 * glyphs.h (governing_domain):
11919 * glyphs.h (struct image_instantiator_methods):
11920 changes for governing_domain stuff.
11923 * gutter.c (Fgutter_specifier_p):
11924 * gutter.c (Fgutter_size_specifier_p):
11925 * gutter.c (Fgutter_visible_specifier_p):
11927 * objects.c (Fcolor_specifier_p):
11928 * objects.c (Ffont_specifier_p):
11929 * objects.c (Fface_boolean_specifier_p):
11930 doc strings moved to make-*-specifier.
11932 * redisplay.c (add_disp_table_entry_runes_1):
11933 * redisplay.c (generate_fstring_runes):
11934 * redisplay.c (screen):
11935 add random comments and doc strings.
11938 * specifier.c (Fmake_specifier):
11939 major overhaul of this doc string.
11941 * specifier.c (Fvalid_specifier_domain_p):
11942 comment about the bogosity of image instances being domains.
11943 * specifier.c (decode_domain):
11944 now non-static, used in glyphs.c.
11945 * specifier.c (specifier_instance):
11946 comment about the bogosity of image instances being domains.
11947 * specifier.c (Fgeneric_specifier_p):
11948 move doc string to make-generic-specifier.
11949 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11953 * specifier.h (DOMAIN_FRAME):
11954 * specifier.h (DOMAIN_LIVE_P):
11955 * specifier.h (DOMAIN_XDEVICE):
11957 add comments about problems with these macros.
11958 prototype for decode_domain.
11961 * toolbar.c (Ftoolbar_specifier_p):
11962 move doc string to `make-toolbar-specifier'.
11964 * window.c (window_unmap_subwindows_cache_mapper):
11965 *************************************************************
11966 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11968 *************************************************************
11970 2000-05-09 Andy Piper <andy@xemacs.org>
11972 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11974 * window.c (Fset_window_configuration): reset the frame subwindow
11975 cache and re-initialize the window subwindow caches.
11977 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11979 2000-05-09 Ben Wing <ben@xemacs.org>
11981 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11984 2000-04-26 Mike Woolley <mike@bulsara.com>
11986 * ntheap.c: Changed recreate_heap to limit the amount reserved
11987 for the heap to that which is actually available. Also now
11988 displays a message box (with some dignostics) in the event that
11989 it still can't start.
11991 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11993 * callproc.c (Fold_call_process_internal): GCPRO path
11995 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11997 Patch by Bill Perry.
11999 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12000 back data instead of #ifdef.
12001 (Fscrollbar_page_down): ditto.
12003 2000-05-07 Ben Wing <ben@xemacs.org>
12006 Kludge for defining Qmswindows_tstr.
12009 * nt.c (open_input_file):
12010 * nt.c (open_output_file):
12011 * nt.c (rva_to_section):
12012 * nt.c (mswindows_executable_type):
12013 Move all memory-mapped-file routines here (some were in unexnt.c,
12014 which is bad because they are used by process-nt.c, and unexnt
12015 won't be around when portable dumping). Synched the above routines
12019 Removed ifdef'd out bogus code.
12020 Fixed some prototypes.
12022 * nt.h (file_data):
12023 * nt.h (OFFSET_TO_RVA):
12024 * nt.h (RVA_TO_OFFSET):
12025 * nt.h (RVA_TO_PTR):
12026 Moved the memory-mapped-file structures, macros and prototypes
12027 here, to parallel nt.c. ntheap.h should really be removed
12028 entirely, and it's a non-portable-dumper specific file.
12030 * ntheap.h (round_to_next):
12031 Moved the memory-mapped-file structures, macros and prototypes
12034 * ntproc.c (compare_env):
12035 Moved rva_to_section and mswindows_executable_type to nt.c.
12036 Moved compare_env to process-nt.c.
12037 ntproc.c will die, one day.
12039 * ntproc.c (sys_spawnve):
12040 Account for win32_ -> mswindows_.
12043 * process-nt.c (struct nt_process_data):
12044 * process-nt.c (ensure_console_window_exists):
12045 * process-nt.c (compare_env):
12046 * process-nt.c (nt_create_process):
12047 * process-nt.c (nt_kill_process_by_pid):
12048 * process-nt.c (syms_of_process_nt):
12049 * process-nt.c (vars_of_process_nt):
12050 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12051 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12052 changes). Eliminate our old `nt-quote-process-args' mechanism.
12053 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12054 Move compare_env here from ntproc.c.
12056 * process.c (Fprocess_send_region):
12057 Takes an optional fourth argument, BUFFER, which should fix some
12058 problems with call-process.
12061 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12064 Move ICC_BAR_CLASSES to syscommctrl.h.
12065 Add preliminary macros for MSWindows/Mule. More to come.
12068 * unexnt.c (unexec):
12069 open_output_file moved to nt.c.
12072 2000-05-05 Andy Piper <andy@xemacs.org>
12074 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12075 instance from the frame cache also since GC may catch up too late
12076 to make frame deletion sane.
12078 2000-05-04 Andy Piper <andy@xemacs.org>
12080 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12081 (x_finalize_image_instance): ungcpro on deletion.
12083 * glyphs.c (image_instantiator_format_create): give pointers a
12084 query geometry method so that the geometry is at least set.
12086 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12087 initialize layouts if using widgets.
12089 2000-05-03 Andy Piper <andy@xemacs.org>
12091 * nt.c: remove bogus reference to sysmmsystem.h
12093 * gui-x.c (popup_selection_callback): fix no selection abort.
12095 2000-05-02 Andy Piper <andy@xemacs.org>
12097 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12098 (mswindows_widget_instantiate): ditto.
12100 * glyphs-widget.c (initialize_widget_image_instance): initialize
12101 children correctly.
12102 (widget_instantiate): cope with children and items in the same
12105 * glyphs.c (mark_image_instance): cope with children as a first
12107 (image_instance_equal): ditto.
12108 (image_instance_hash): ditto.
12109 (image_instance_changed): ditto.
12111 2000-04-30 Andy Piper <andy@xemacs.org>
12113 * glyphs.c (subwindow_query_geometry): new function. Return some
12115 (subwindow_instantiate): don't assign dimensions if none have been
12117 (image_instantiator_format_create): add subwindow_query_geometry.
12118 (print_image_instance): cope with layouts as widgets.
12120 2000-04-29 Andy Piper <andy@xemacs.org>
12122 * frame.c (delete_frame_internal): call
12123 free_frame_subwindow_instance_cache so that all subwindows are
12124 finalized before their parent.
12125 (mark_frame): remove subwindow_cachels.
12126 (Fmake_frame): remove subwindow_cachel manipulation.
12127 (allocate_frame_core): subwindow_instance_cache is a weak list.
12128 (delete_frame_internal): set subwindow_instance_cache to nil.
12130 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12132 (mswindows_finalize_image_instance): use the device
12133 not the domain as the domain may have died already.
12135 * glyphs-x.c (x_finalize_image_instance): ditto.
12136 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12139 * redisplay-output.c (redisplay_unmap_subwindows): update for
12140 subwindow instance cache as a weak list.
12141 (redisplay_unmap_subwindows_maybe): ditto.
12142 (redisplay_unmap_subwindows_except_us): ditto.
12144 * glyphs.c (unmap_subwindow): error checking will check the domain
12145 so don't deal with it here. Don't use cachels anymore.
12146 (map_subwindow): ditto.
12147 (update_subwindow_cachel_data): remove old accessor names.
12148 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12149 (Fresize_subwindow): don't update cachel.
12150 (mark_subwindow_cachels):
12151 (update_subwindow_cachel_data):
12152 (add_subwindow_cachel):
12153 (get_subwindow_cachel_index):
12154 (update_subwindow_cachel):
12155 (reset_subwindow_cachels):
12156 (mark_subwindow_cachels_as_not_updated): deleted.
12157 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12158 subwindow instance to the frame cache.
12159 (find_matching_subwindow): update for subwindow instance cache as
12161 (update_widget_instances): ditto.
12162 (image_instance_type_to_mask):inlined.
12163 (free_frame_subwindow_instance_cache): new function. finalize all
12164 subwindows that are instantiated.
12166 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12167 of cachel information.
12168 (IMAGE_INSTANCE_DISPLAY_X):
12169 (IMAGE_INSTANCE_DISPLAY_Y):
12170 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12171 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12172 (XIMAGE_INSTANCE_DISPLAY_X):
12173 (XIMAGE_INSTANCE_DISPLAY_Y):
12174 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12175 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12176 remove subwindow_cachel structure and function references.
12177 (image_instance_type_to_mask): inline from glyphs.c
12179 * redisplay.c (redisplay_frame): remove subwindow_cachel
12182 * frame.h (struct frame): remove subwindow_cachels.
12183 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12185 * frameslots.h: add subwindow_instance_cache.
12187 * window.c (replace_window): check subwindow cache of replacement.
12188 (window_unmap_subwindows_cache_mapper):
12189 (window_unmap_subwindows): new functions. Unmap all subwindows
12190 cached on this window.
12191 (mark_window_as_deleted): unmap all subwindows.
12193 2000-04-27 Andy Piper <andy@xemacs.org>
12195 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12197 * glyphs-widget.c (widget_layout): return something.
12198 (layout_layout): return something. Fail if not initialized.
12199 (layout_query_geometry): ditto.
12200 (image_instantiator_native_layout): new function. Initialized the
12201 native layout type.
12202 (widget_instantiate): don't do layout stuff here.
12204 * glyphs.c (instantiate_image_instantiator): reorded calling or
12205 instantiate and post_instantiate with layout in between.
12206 (image_instance_layout): be more selective about deciding whether
12207 the layout has been done or not.
12209 * glyphs.h (struct image_instantiator_methods): return a value
12210 from layout_method.
12212 2000-04-26 Andy Piper <andy@xemacs.org>
12214 * glyphs.c (allocate_image_instance): make initial width and
12215 height unspecified. Set initialized to 0.
12217 * syscommctrl.h new file. Encapsulates commctrl.h.
12219 * syswindows.h new file. Encapsulates windows.h.
12221 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12223 * console-msw.h: ditto.
12225 * redisplay-tty.c (tty_output_display_block): remove layout references.
12227 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12228 window handle rather than just the frame.
12230 * glyphs.c (mark_image_instance): remove layout references.
12231 (print_image_instance): ditto.
12232 (image_instance_equal): ditto.
12233 (image_instance_hash): ditto.
12234 (decode_image_instance_type): ditto.
12235 (encode_image_instance_type): ditto.
12236 (image_instantiate): ditto.
12237 (allocate_glyph): ditto.
12238 (Fimage_instance_height): ditto.
12239 (Fimage_instance_width): ditto.
12240 (update_subwindow): ditto.
12242 * redisplay-x.c (x_output_display_block): recode for layouts as
12245 * redisplay-output.c (redisplay_output_layout): recode for layouts
12247 (compare_runes): remove layout references.
12249 * redisplay-msw.c (mswindows_output_display_block): recode for
12250 layouts as widgets.
12252 * glyphs-widget.c (image_instantiator_layout): remove
12253 layout_possible_dest_types.
12254 (layout_possible_dest_types): deleted.
12256 * glyphs.h (image_instance_type): remove layout references.
12257 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12258 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12259 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12261 2000-04-25 Andy Piper <andy@xemacs.org>
12263 * glyphs-widget.c (image_instantiator_buttons):
12264 (image_instantiator_edit_fields):
12265 (image_instantiator_combo_box):
12266 (image_instantiator_scrollbar):
12267 (image_instantiator_progress_guage):
12268 (image_instantiator_tree_view):
12269 (image_instantiator_tab_control):
12270 (image_instantiator_labels):
12271 (image_instantiator_layout): call default post_instantiate method.
12272 (widget_post_instantiate): new function. Simply lays out the
12275 * glyphs.h (struct image_instantiator_methods): add
12276 post_instantiate method.
12278 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12281 2000-04-23 Andy Piper <andy@xemacs.org>
12283 * glyphs.h (struct image_instantiator_methods): add
12284 decode_domain_method.
12285 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12286 derived from the domain.
12287 (IMAGE_INSTANCE_FRAME): new accessor.
12288 (XIMAGE_INSTANCE_FRAME): ditto.
12290 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12291 instead of _SUBWINDOW_FRAME.
12292 (finalize_image_instance): ditto.
12293 (Fimage_instance_foreground): ditto.
12294 (Fimage_instance_background): ditto.
12295 (image_instantiate): ditto.
12296 (update_subwindow_cachel): ditto.
12297 (update_subwindow): ditto.
12298 (unmap_subwindow): ditto.
12299 (map_subwindow): ditto
12300 (subwindow_instantiate): ditto.
12301 * glyphs-msw.c (mswindows_update_widget): ditto.
12302 (mswindows_progress_gauge_instantiate): ditto.
12303 (mswindows_tab_control_update): ditto.
12304 * glyphs-x.c (x_update_widget): ditto.
12305 (x_widget_instantiate): ditto.
12306 (x_tab_control_instantiate): ditto.
12307 (x_tab_control_update): ditto.
12308 * event-msw.c (mswindows_wnd_proc): ditto
12310 * glyphs-widget.c (image_instantiator_layout): use
12311 subwindow_decode_domain.
12312 (image_instantiator_buttons): ditto.
12313 (image_instantiator_edit_fields): ditto.
12314 (image_instantiator_combo_box): ditto.
12315 (image_instantiator_scrollbar): ditto.
12316 (image_instantiator_progress_guage): ditto.
12317 (image_instantiator_tree_view): ditto.
12318 (image_instantiator_tab_control): ditto.
12319 (image_instantiator_labels): ditto.
12320 (image_instantiator_layout): ditto.
12322 * glyphs.c: add instance error checking to many functions.
12323 (instantiate_image_instantiator): decode device from cache_domain.
12324 (image_instantiate): partially rewrite by using
12325 decode_image_instantiator_domain to determine what domain the
12326 instance needs to be cached in.
12327 (decode_image_instantiator_domain): new function. Determine what
12328 domain the image needs to be cached in.
12329 (check_window_subwindow_cache): new error checking function.
12330 (check_instance_cache_mapper): ditto.
12331 (check_image_instance_structure): ditto.
12332 (subwindow_decode_domain): new function. Encodes a window as a
12333 subwindow's cache domain.
12334 (image_instantiator_format_create): use it for text and
12337 2000-04-21 Andy Piper <andy@xemacs.org>
12339 * glyphs.c (image_instance_device): new function.
12340 (image_instance_frame): new function.
12341 (image_instance_window): new function.
12342 (image_instance_live_p): new function.
12344 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12347 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12348 (IMAGE_INSTANCE_DOMAIN): new accessor.
12349 (XIMAGE_INSTANCE_DOMAIN): ditto.
12351 * glyphs-x.c (x_finalize_image_instance): device->domain.
12353 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12354 (mswindows_finalize_image_instance): ditto.
12356 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12357 (gif_instantiate): ditto.
12358 (png_instantiate): ditto.
12359 (tiff_instantiate): ditto.
12361 * glyphs.c (instantiate_image_instantiator): use domain rather
12363 (mark_image_instance): device -> domain.
12364 (print_image_instance): ditto.
12365 (finalize_image_instance): ditto.
12366 (image_instance_equal): ditto.
12367 (allocate_image_instance): ditto.
12368 (Fcolorize_image_instance): ditto.
12369 (query_string_geometry): ditto.
12370 (image_instantiate): ditto
12371 (query_string_font): ditto.
12372 (image_instantiate): ditto.
12373 (update_subwindow): ditto.
12374 (unmap_subwindow): ditto.
12375 (map_subwindow): ditto.
12376 (subwindow_instantiate): ditto.
12378 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12379 (DOMAIN_FRAME): ditto.
12380 (DOMAIN_WINDOW): ditto.
12381 (DOMAIN_LIVE_P): ditto.
12382 (XDOMAIN_DEVICE): ditto.
12383 (XDOMAIN_FRAME): ditto.
12384 (XDOMAIN_WINDOW): ditto.
12386 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12387 a valid specifier domain.
12389 2000-04-19 Andy Piper <andy@xemacs.org>
12391 * glyphs-widget.c (syms_of_glyphs_widget): remove
12392 widget-callback-current-channel.
12393 (vars_of_glyphs_widget): ditto.
12396 * gui.c (get_gui_callback): revert to previous behaviour.
12398 2000-04-18 Andy Piper <andy@xemacs.org>
12400 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12401 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12402 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12404 * glyphs.c (image_instance_equal): add margin_width.
12405 (image_instance_hash): ditto.
12407 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12408 (layout_query_geometry): ditto.
12409 (layout_layout): ditto.
12410 (syms_of_glyphs_widget): add margin-width.
12411 (image_instantiator_layout): allow margin-width.
12413 * glyphs.c (update_widget_instances): make a normal function.
12414 (syms_of_glyphs): remove Qupdate_widget_instances.
12417 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12418 so that we don't corrupt ideas about the last event or
12419 command. Remove widget-callback-current-channel fiddling.
12420 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12422 2000-05-01 Martin Buchholz <martin@xemacs.org>
12424 * XEmacs 21.2.33 is released.
12426 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12428 * make-src-depend: Allow dots in header file name.
12430 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12432 * mule-charset.h (struct charset_lookup): Add
12433 next_allocated_1_byte_leading_byte and
12434 next_allocated_2_byte_leading_byte.
12435 * mule-charset.c: Move above two variables so that those values
12438 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12440 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12441 when string length is zero.
12442 (find_charsets_in_emchar_string): Ditto.
12444 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12446 * lisp.h: extern Qdialog and Qmenubar.
12448 * gui-x.c: added events.h.
12449 also fixed typo which made the file uncompilable.
12451 * general.c: Added Qmenubar and Qdialog
12453 2000-04-28 Ben Wing <ben@xemacs.org>
12455 * frame-msw.c (mswindows_init_frame_1):
12456 * frame-msw.c (mswindows_mark_frame):
12457 * event-msw.c (mswindows_enqueue_dispatch_event):
12459 * console-msw.h (struct mswindows_frame):
12460 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12461 there are now three hash tables for callbacks.
12462 mswindows_enqueue_dispatch_event is no longer static.
12464 * dialog-x.c (maybe_run_dbox_text_callback):
12465 * dialog-x.c (dbox_descriptor_to_widget_value):
12466 switch to new cons3 form for callbacks.
12468 * glyphs-msw.c (mswindows_register_gui_item):
12469 * glyphs-msw.c (mswindows_widget_instantiate):
12470 * glyphs-msw.c (add_tree_item):
12471 * glyphs-msw.c (add_tab_item):
12472 new image instance parameter, so it can be passed to callback-ex.
12473 respect :callback-ex as well as :callback.
12475 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12478 * glyphs.c (print_image_instance):
12479 prettify, e.g. now prints widget type.
12482 certain funs have new image instance parameter.
12485 * gui.c (get_gui_callback):
12486 * gui.c (gui_item_add_keyval_pair):
12487 * gui.c (gui_item_init):
12488 * gui.c (gui_add_item_keywords_to_plist):
12489 * gui.c (mark_gui_item):
12490 * gui.c (gui_item_hash):
12491 * gui.c (gui_item_equal):
12492 * gui.c (copy_gui_item):
12493 * gui.c (syms_of_gui):
12494 recognize callback-ex in a number of places.
12495 also, fix the annoying "can't get out of yes-no dialog" bug.
12498 * gui.h (struct Lisp_Gui_Item):
12499 recognize callback-ex in a number of places.
12501 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12502 new parameter in button_item_to_widget_value.
12504 * glyphs-x.c (x_update_widget):
12505 * glyphs-x.c (x_button_instantiate):
12506 * glyphs-x.c (x_button_update):
12507 * glyphs-x.c (x_progress_gauge_instantiate):
12508 * glyphs-x.c (x_edit_field_instantiate):
12509 * glyphs-x.c (x_combo_box_instantiate):
12510 * glyphs-x.c (x_tab_control_instantiate):
12511 * glyphs-x.c (x_label_instantiate):
12512 new image instance parameter in various places.
12515 * event-Xt.c (enqueue_Xt_dispatch_event):
12516 this fun gets exported.
12519 * gui-msw.c (mswindows_handle_gui_wm_command):
12520 handle both :callback and :callback-ex, and generate our own
12521 event because it's one of the callback-ex arguments.
12524 * gui-x.c (popup_selection_callback):
12525 handle both :callback and :callback-ex, and generate our own
12526 event because it's one of the callback-ex arguments.
12527 * gui-x.c (button_item_to_widget_value):
12528 * gui-x.c (gui_items_to_widget_values_1):
12529 * gui-x.c (gui_item_children_to_widget_values):
12530 * gui-x.c (gui_items_to_widget_values):
12531 new image instance parameter in various places.
12533 * fns.c (Freplace_list):
12534 fix small typo in doc string.
12537 declare enqueue_Xt_dispatch_event.
12539 2000-04-28 Ben Wing <ben@xemacs.org>
12542 * buffer.c (Frecord_buffer):
12543 * buffer.c (syms_of_buffer):
12544 delete record-buffer-hook.
12547 * fns.c (Freplace_list):
12548 * fns.c (syms_of_fns):
12549 new primitive replace-list.
12552 slot for old buffer-alist.
12555 exfun replace-list.
12558 * redisplay.c (redisplay_frame):
12559 * redisplay.c (syms_of_redisplay):
12560 * redisplay.c (vars_of_redisplay):
12561 new hook buffer-list-changed-hook.
12564 2000-04-27 Ben Wing <ben@xemacs.org>
12566 * extents.h: extern in_modeline_generation.
12568 * redisplay.c (generate_formatted_string_db): set
12569 in_modeline_generation.
12571 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12572 flags if in modeline generation. otherwise frame-modified-tick
12573 is ticked far too often.
12574 Declare in_modeline_generation.
12576 2000-04-26 Ben Wing <ben@xemacs.org>
12578 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12580 (vars_of_emacs): add quick-build as an error-checking option.
12581 A bit kludgy, but there doesn't seem much point in creating
12582 a real var for this.
12584 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12586 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12588 * redisplay.h (struct display_line): Add a new variable,
12591 * redisplay.c (create_text_block): Set dl->line_continuation if
12592 the line continues.
12593 (create_string_text_block): Ditto.
12594 (regenerate_window_incrementally): Use line_continuation instead
12595 of searching continuation glyph.
12596 (add_margin_runes): Call add_glyph_rune.
12597 (add_glyph_rune): Handle margin glyph.
12599 2000-04-20 Martin Buchholz <martin@xemacs.org>
12601 * filelock.c (fill_in_lock_file_name):
12603 Check for IS_ANY_SEP instead of '/'.
12605 Avoid generating gratuitous garbage. Call user_login_name() directly.
12606 Never check errno without first seeing that system call failed.
12607 (unlock_file): Add GCPRO.
12608 (Flock_buffer): Fix docstring.
12609 (Ffile_locked_p): Fix docstring. Add GCPRO.
12611 2000-04-19 Martin Buchholz <martin@xemacs.org>
12613 * sysdep.c (get_pty_max_bytes):
12614 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12615 strings longer than 252 bytes.
12617 * md5.c: Unconditionally include ANSI header <limits.h>
12619 * glyphs-x.c (convert_EImage_to_XImage):
12620 * lisp-union.h (union Lisp_Object):
12621 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12623 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12625 * filelock.c (current_lock_owner): Remove unused variable o, p.
12627 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12629 * callint.c: Remove multiply defined symbol Qlet
12630 (syms_of_callint): ditto.
12632 2000-04-14 Andy Piper <andy@xemacs.org>
12634 * general.c (syms_of_general): add last-command, this-command, let
12637 * lisp.h: declare various symbols.
12639 * glyphs.h: declare Qwidget_callback_current_channel;
12641 * glyphs-widget.c (syms_of_glyphs_widget): add
12642 Qgui_callback_current_channel.
12643 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12645 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12646 widget-callback-current-channel when invoking the interactive
12647 arg. Also bind last-command and next-command when invoking the
12649 * gui-x.c (popup_selection_callback): ditto.
12651 * gui.c (get_gui_callback): massage args so that we are always
12652 calling eval. This allows us to add our own variable bindings
12655 * glyphs-x.c (x_button_instantiate): use
12656 gui_items_to_widget_values since this is GC safe.
12657 (x_progress_gauge_instantiate): ditto.
12658 (x_edit_field_instantiate): ditto.
12659 (x_label_instantiate): ditto.
12661 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12662 (emacs_Xt_event_widget_focus_out): new function
12663 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12665 (emacs_Xt_event_add_widget_actions): new function. add focus
12666 functions as actions.
12667 (init_event_Xt_late): use it.
12669 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12671 * event-stream.c (Fdispatch_event): Doc fix.
12673 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12675 * postgresql.c: Remove all references to PQsetenv*.
12677 * postgresql.h: Remove references to PGsetenvHandler object.
12678 * lrecord.h (lrecord_type): Ditto.
12680 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12682 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12683 real_heigh and real_width members, and accessor macros for these.
12685 * glyphs-msw.c (init_image_instance_geometry): New function.
12686 (init_image_instance_from_dibitmap): Use it.
12687 (mswindows_resource_instantiate): Use it.
12688 (init_image_instance_from_xbm_inline): Use it.
12689 (mswindows_initialize_image_instance_mask): Use real bitmap
12691 (mswindows_create_resized_bitmap): Ditto.
12692 (mswindows_create_resized_mask): Ditto.
12694 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12695 and bitmap to their surface size.
12697 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12699 * process-unix.c (unix_send_process): Guard against process MIA
12700 after Faccept_process_output.
12702 2000-04-11 Ben Wing <ben@xemacs.org>
12704 * eval.c (unbind_to_hairy): fix brokenness introduced by
12705 nanosecond speed improvements.
12707 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12709 * sunplay.c (init_device): To play sounds correctly, the device
12710 apparently needs to be initialized at least once by XEmacs. Make
12713 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12715 * redisplay.c (add_margin_runes): Add text image glyph
12718 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12720 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12721 gcc is newer than 2.5.
12723 2000-04-06 Colin Rafferty <colin@xemacs.org>
12725 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12727 * fns.c (size_bit_vector):
12728 * alloc.c (size_vector):
12729 (make_vector_internal):
12730 (make_bit_vector_internal):
12731 (sweep_bit_vectors_1):
12732 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12734 2000-04-06 Andy Piper <andy@xemacs.org>
12736 * gmalloc.c (malloc): undo previous change.
12741 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12743 * line-number.c (buffer_line_number): Revert to former version.
12745 2000-04-06 Andy Piper <andy@xemacs.org>
12747 * gmalloc.c (malloc): add error checking.
12752 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12753 button_item_to_widget_value arg.
12755 * glyphs-x.c (x_button_instantiate): add extra
12756 button_item_to_widget_value arg.
12757 (x_progress_gauge_instantiate): ditto.
12758 (x_edit_field_instantiate): ditto.
12759 (x_label_instantiate): ditto.
12761 * gui-x.c (gui_items_to_widget_values_1): add extra
12762 button_item_to_widget_value arg.
12763 (button_item_to_widget_value): add extra menu_item_p arg.
12765 * gui-x.h: change signature of button_item_to_widget_value.
12767 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12768 button_item_to_widget_value arg.
12770 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12772 * buffer.h (struct buffer): auto_save_modified should be long.
12774 2000-04-05 Andy Piper <andy@xemacs.org>
12776 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12778 (button_query_geometry): give a little more room so that athena
12781 2000-04-05 Andy Piper <andy@xemacs.org>
12783 * faces.c (complex_vars_of_faces): The widget face should inherit
12784 the font of the gui-element face.
12786 2000-04-04 Andy Piper <andy@xemacs.org>
12788 * glyphs-x.c (x_button_update): new function. unconditionally
12789 update a button's state when the instance is dirty.
12790 (image_instantiator_format_create_glyphs_x): add x_button_update.
12791 (x_widget_instantiate): remove old resize cruft.
12793 2000-04-02 Andy Piper <andy@xemacs.org>
12795 * frame.c (change_frame_size_1): The introduction of gutters means
12796 that we need to allow 0 as a potential frame dimension.
12798 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12800 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12801 image glyph if allow_cursor.
12802 (add_hscroll_rune): Don't allow cursor to border glyph.
12803 (create_text_block): Ditto.
12805 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12806 text not in buffer.
12807 (redisplay_output_layout): Call ensure_face_cachel_complete for
12811 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12813 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12815 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12818 * redisplay-tty.c (tty_output_display_block): Delete the routine
12819 for text image glyph
12820 * redisplay-x.c (x_output_display_block): ditto
12821 * redisplay-msw.c (mswindows_output_display_block): ditto
12823 2000-02-02 Mike Alexander <mta@arbortext.com>
12825 Note: Some of these were committed by accident as part of other
12828 * regex.c (regex_compile): Avoid compiler warnings.
12830 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12832 * nt.h: Declare term_ntproc correctly.
12834 * nt.c: Remove incorrect declaration of get_home_directory which
12835 is declared correctly in lisp.h.
12837 * keymap.c (get_keyelt): Avoid compiler warnings.
12838 (raw_lookup_key_mapper): Avoid compiler warnings.
12840 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12842 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12844 * filemode.c (mode_string): Avoid compiler warnings.
12846 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12849 * events-mod.h: Undef some things that winuser.h defines differently.
12851 * data.c (Faset): Avoid compiler warnings.
12853 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12855 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12857 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12858 Fall through to simple beep on error.
12859 Replace "extern" by real header file.
12861 * linuxplay.c: Use nativesound.h
12862 (play_sound_data): Return error code. Be less verbose on error.
12864 * sunplay.c: Use nativesound.h
12865 (play_sound_data): Return error code. Be less verbose on error.
12867 * ntplay.c: Use nativesound.h
12868 (play_sound_data): Return fake error code
12870 * sgiplay.c: Use nativesound.h
12871 (play_sound_data): Return error code
12873 * hpplay.c: Use nativesound.h, partially implement
12874 new error code. Break compilation until finished.
12875 (play_sound_data): error code.
12877 * nativesound.h (play_sound_file):
12878 (play_sound_data): Prototype in new header.
12880 2000-03-31 Andy Piper <andy@xemacs.org>
12882 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12883 for toggle and radio buttons.
12884 (image_instantiator_buttons): use it.
12886 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12888 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12889 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12890 found. Scrollbar event probably belonged to some old config.
12892 2000-03-31 Andy Piper <andy@xemacs.org>
12894 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12896 (initialize_widget_image_instance): default layout to
12897 LAYOUT_HORIZONTAL rather than 0.
12898 (widget_instantiate): reverse the item list at the end rather than
12900 (layout_layout): re-code for the border text at the front of the
12901 item list rather than at the end.
12902 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12903 provided by the user.
12904 (widget_query_geometry): comment.
12906 2000-03-30 Andy Piper <andy@xemacs.org>
12908 * glyphs-widget.c (image_instantiator_layout): allow standard
12909 widget keywords in layouts.
12911 * gutter.c (output_gutter): cope with nil gutter contents.
12913 * frame.c (Fset_frame_properties): add gutter docs.
12915 2000-03-29 Andy Piper <andy@xemacs.org>
12917 * toolbar-msw.c (TBSTYLE_FLAT): add.
12918 (mswindows_output_toolbar): minor fiddling.
12920 2000-03-29 Andy Piper <andy@xemacs.org>
12922 * gutter.c (output_gutter): force gutter size recalculation if
12923 what we are trying to display won't fit.
12924 (update_gutter_geometry): new function. A per-gutter version of
12925 update_frame_gutter_geometry.
12926 (update_frame_gutter_geometry): use it.
12927 (redraw_exposed_gutter): add extra debugging output.
12929 2000-03-28 Mike Alexander <mta@arbortext.com>
12931 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12932 (pdump_file_unmap): Implement it on Windows
12933 (pdump_file_get): Save alocated handles for pdump_file_unmap
12935 2000-03-28 Andy Piper <andy@xemacs.org>
12937 * gui.c (get_gui_callback): treat Quit specially.
12939 2000-03-27 Andy Piper <andy@xemacs.org>
12941 * glyphs.c (image_instantiate): be careful to check in the same
12944 2000-03-27 Didier Verna <didier@xemacs.org>
12946 * config.h.in: define the proper SMART_INCLUDE macro.
12947 handle renaming of `foo_h_path' to `foo_h_file'.
12949 * database.c: ditto.
12953 * linuxplay.c: ditto.
12955 * terminfo.c: ditto.
12957 * tooltalk.h: ditto.
12959 2000-03-27 Andy Piper <andy@xemacs.org>
12961 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12962 gets updated whenever the face might have changed.
12964 2000-03-26 Mike Alexander <mta@arbortext.com>
12966 * dumper.c (pdump_resource_free): Fix the comment.
12968 2000-03-21 Olivier Galibert <galibert@pobox.com>
12970 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12972 2000-03-22 Mike Alexander <mta@arbortext.com>
12974 * dumper.c: Include Windows headers on Windows
12975 (pdump_resource_free): Add a body to the function
12976 (pdump_load): exe_name -> exe_path and add some comments.
12978 2000-03-25 Mike Alexander <mta@arbortext.com>
12980 * gui.c (copy_gui_item_tree): Return a value in all cases
12982 2000-03-21 Didier Verna <didier@xemacs.org>
12984 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12986 (SMART_INCLUDE): new macro.
12987 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12988 the proper location.
12990 * postgresql.c: use it.
12994 2000-03-24 Andy Piper <andy@xemacs.org>
12996 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12999 2000-03-24 Andy Piper <andy@xemacs.org>
13001 * redisplay-output.c (compare_runes): use image_instance_changed
13002 to detect changes. Do not depend on glyphs_changed, only depend on
13004 (redisplay_output_layout): add debug messages.
13005 (compare_runes): ditto.
13007 * glyphs.h: declare new functions.
13008 (struct Lisp_Image_Instance): remove percent and associated
13011 * gui.h: declare new copying functions.
13013 * gui.c (copy_gui_item_tree): new function.
13014 (copy_gui_item): new function.
13015 (gui_item_id_hash): revert to standard hash.
13016 (gui_item_hash): ditto.
13017 (gui_item_hash_internal): deleted.
13018 (mark_gui_item): mark value.
13019 (gui_item_add_keyval_pair): add value.
13020 (gui_item_init): ditto.
13021 (gui_add_item_keywords_to_plist): ditto.
13022 (gui_item_equal): ditto.
13023 (syms_of_gui): add Q_value.
13025 * glyphs-x.c (x_progress_gauge_update): use pending items and
13026 value for setting the state.
13027 (x_update_widget): don't set items from pending here.
13029 * glyphs-widget.c (update_widget): update items here.
13030 (progress_gauge_set_property): use items for storing value. Put
13031 new value in pending items.
13033 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13034 items for new value. Convert percent -> value.
13035 (mswindows_tab_control_update): don't update items here.
13037 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13038 (update_subwindow): ditto.
13039 (image_instance_changed): new function. Compare hash values and
13040 past and present widget items.
13041 (image_instantiate): We more careful about where we instantiate
13043 (image_instantiate): add error checking.
13045 * gutter.c (syms_of_gutter): use -hook.
13047 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13049 * console-tty.c (Fset_console_tty_input_coding_system): Use
13051 (Fset_console_tty_output_coding_system): Use Qterminal.
13052 (tty_init_console): Use Qkeyboard and Qterminal.
13054 2000-03-21 Ben Wing <ben@xemacs.org>
13056 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13057 From Mike Alexander <mta@arbortext.com>.
13059 2000-03-21 Ben Wing <ben@xemacs.org>
13061 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13062 process brokenness. Proper implementation to come.
13064 Rename call-process-internal to old-call-process-internal.
13065 New impl. in process.el.
13067 2000-03-21 Martin Buchholz <martin@xemacs.org>
13069 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13071 2000-03-20 Andy Piper <andy@xemacs.org>
13073 * glyphs.c (full_list_hash): make hashes of the same elements in
13074 different orders return different values.
13076 2000-03-20 Martin Buchholz <martin@xemacs.org>
13078 * XEmacs 21.2.32 is released.
13080 2000-03-20 Martin Buchholz <martin@xemacs.org>
13082 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13083 (DFC_MALLOC_USE_CONVERTED_DATA):
13084 Add aliasing-safe casts to allow use with char* or unsigned char*
13087 * eldap.c (Fldap_open):
13088 (Fldap_search_basic):
13091 Make C++-compilable.
13092 Make sure GCPRO'ed variables are initialized.
13093 Use temp variables to avoid repeated calls to Flength.
13095 2000-03-16 Martin Buchholz <martin@xemacs.org>
13098 Make sure PATH_MAX is always defined.
13099 Include limits.h for PATH_MAX.
13100 Deprecate use of MAXPATHLEN.
13102 2000-03-10 Martin Buchholz <martin@xemacs.org>
13104 * emacs.c: Add reinit_vars_of_fileio.
13105 * symsinit.h: Add reinit_vars_of_fileio.
13106 * fileio.c (reinit_vars_of_fileio): New.
13107 * fileio.c (Fmake_temp_name):
13108 Initialize temp_name random number from microseconds to make
13109 collisions even less likely. Initialize always at process startup
13110 time. (make-temp-name) used to return the same file name twice in
13112 Random stylistic fiddling.
13115 2000-03-20 Andy Piper <andy@xemacs.org>
13117 * glyphs.c (image_instantiate): allow text glyphs to be
13118 instantiated in the minibuffer window.
13120 2000-03-19 Andy Piper <andy@xemacs.org>
13122 * glyphs.c (image_instance_hash): be careful about which items we
13125 * glyphs-widget.c (tab_control_set_property): record into pending
13126 items rather than the actual items.
13128 * glyphs-x.c (x_update_widget): use pending items to update with.
13130 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13133 * glyphs.c (mark_image_instance): mark pending items.
13135 * window.c (Fset_window_configuration): record the buffer.
13136 (Fselect_window): totally revert previous change which breaks many
13139 2000-03-18 Andy Piper <andy@xemacs.org>
13141 * glyphs-msw.c (mswindows_tab_control_update): force selected
13144 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13145 window domain cache, otherwise we get inconsistencies at
13146 startup. There is something fishy at startup which can lead to the
13147 minibuffer being the selected window when the gutter content is
13150 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13152 (parse_gui_item_tree_children): ditto.
13153 (parse_gui_item_tree_item): ditto.
13155 * glyphs.c (Fupdate_widget_instances): return something.
13157 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13159 * window.c (Fselect_window): Undo 2000-03-17 change.
13161 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13163 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13164 against v7.0 libraries. Insta-coredump city until the postgres
13167 2000-03-17 Andy Piper <andy@xemacs.org>
13169 * faces.c (complex_vars_of_faces): don't give the widget face an
13170 inherited background pixmap.
13172 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13175 * event-stream.c (Fdispatch_non_command_events): return something.
13177 * gutter.c (output_gutter): use widget face.
13178 (clear_gutter): ditto.
13180 * NEWS: adjust again.
13182 * window.c (Fselect_window): make sure this runs to completion to
13183 avoid oddities with Fset_window_configuration.
13184 (Fcurrent_window_configuration): in general do not save the
13185 minibuffer as the selected window.
13187 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13189 2000-03-16 Olivier Galibert <galibert@pobox.com>
13191 * emacs.c (Frunning_temacs_p): Revert previous patch.
13192 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13194 2000-03-16 Andy Piper <andy@xemacs.org>
13196 * glyphs-x.c (x_tab_control_update): if no widget values then
13199 * NEWS: update for new features.
13201 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13202 synthetic event to the native system.
13203 (reinit_vars_of_event_Xt): set force_event_pending to
13204 emacs_Xt_force_event_pending.
13206 * events.h (struct event_stream): add force_event_pending.
13208 * specifier.c (recompute_one_cached_specifier_in_window): add
13211 * redisplay.c (redisplay_frame): don't call
13212 update_frame_subwindows. Reset subwindow cachels when
13213 subwindows_changed, removing this was an optimization too far.
13215 * redisplay-output.c (compare_runes): reorganize so that we catch
13216 glyph changes when we want them. Set optimize_output when this
13217 would help layouts.
13218 (redisplay_output_layout): remove frame_really_changed, use
13219 optimize_output instead.
13221 * redisplay-msw.c (mswindows_output_display_block): reset
13222 optimize_output after outputting a glyph.
13223 * redisplay-x.c (x_output_display_block): ditto.
13224 * redisplay-tty.c (tty_output_display_block): ditto.
13226 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13228 (gutter_specs_changed): do specific gutter positions.
13229 (top_gutter_specs_changed): new function. Only update the
13230 specified gutter specs.
13231 (bottom_gutter_specs_changed): ditto.
13232 (left_gutter_specs_changed): ditto.
13233 (right_gutter_specs_changed): ditto.
13235 * gui.c (gui_item_hash_internal): new function, does a real hash.
13236 (gui_item_id_hash): use it.
13237 (gui_item_hash): hash the eval'ed gui_item.
13239 * gui-x.c (popup_selection_callback): send an eval event to call
13240 Fupdate_widget_instances.
13242 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13243 to call Fupdate_widget_instances.
13245 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13246 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13248 * glyphs.c: (update_frame_subwindows): deleted.
13249 (Fupdate_widget_instances): new function for updating the dirty
13250 state of widgets that might have changed.
13251 (syms_of_glyphs): add Qupdate_widget_instances.
13252 (full_list_hash): hash a list completely.
13253 (image_instance_hash): use it for items and properties.
13255 * frame-msw.c (mswindows_size_frame_internal): remove unused
13258 * faces.h (struct face_cachel): fix comment.
13260 * event-stream.c (Fdispatch_non_command_events): new
13261 function. Process non-command events, forcing an event cycle
13263 (syms_of_event_stream): declare.
13264 (event_stream_force_event_pending): new function. Force an event
13265 on the native event queue so that an event cycle will occur next
13269 (struct ntpipe_shove_stream):
13270 (mswindows_enqueue_dispatch_event):
13271 (mswindows_dequeue_dispatch_event):
13272 (mswindows_cancel_dispatch_event):
13273 (mswindows_pump_outstanding_events):
13274 (mswindows_drain_windows_queue):
13275 (mswindows_handle_paint):
13276 (mswindows_wnd_proc):
13277 (mswindows_key_to_emacs_keysym):
13278 (get_process_input_waitable):
13279 (emacs_mswindows_delete_stream_pair): re-indent file.
13280 (mswindows_need_event): do not process further fds if the windows
13281 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13282 fixes the 100% cpu problem.
13283 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13285 2000-03-15 Olivier Galibert <galibert@pobox.com>
13291 * emacs.c: Moved dump file searching to dumper.c.
13292 (Frunning_temacs_p): Fixed.
13294 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13295 last_lrecord_type_index_assigned.
13297 2000-02-20 Olivier Galibert <galibert@pobox.com>
13299 * symsinit.h: Added reinit parameter to init_console_stream
13302 * lisp.h: Added file parameter to pdump_load declaration.
13304 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13305 support. Added dump file searching.
13307 * config.h.in: Added EMACS_PROGNAME.
13309 * console-stream.c (init_console_stream): Fix reinitialisation
13310 when running from temacs.
13312 * alloc.c (pdump): Add id support.
13313 (pdump_load): Add file parameter and signature/id support.
13315 * Makefile.in.in: Add full pdump support.
13317 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13319 * postgresql.c: Update documentation to reflect latest code
13321 (print_result): Show tuple counts in printed representation when
13323 (Fpq_put_nbytes): MULE-ize.
13324 (Fpq_get_line_async): Ditto.
13326 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13328 * postgresql.c (Fpq_lo_import): Fix return value.
13329 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13331 2000-03-13 Ben Wing <ben@xemacs.org>
13333 * alloc.c (pdump_load):
13334 Fix compile warning under mswin.
13336 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13338 * postgresql.c: Mule-ization, bug fixes.
13339 Use PG_CODING to encapsulate coding system name changes.
13340 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13341 (pg-coding-system): Create.
13343 (Fpq_conn_defaults): Mule-ize.
13344 (Fpq_connectdb): Mule-ize & bug fix.
13345 (Fpq_connect_start): Mule-ize.
13346 (Fpq_set_client_encoding): Mule-ize.
13347 (Fpq_finish): Document `DEAD' connection status.
13348 (Fpq_clear): Ditto.
13349 (Fpq_pgconn): Mule-ize.
13350 (Fpq_exec): Mule-ize & bug fix.
13351 (Fpq_send_query): Ditto.
13352 (Fpq_get_result): Ditto.
13353 (Fpq_res_status): Mule-ize.
13354 (Fpq_result_error_message): Mule-ize.
13355 (Fpq_ntuples): fix comments.
13356 (Fpq_fname): Mule-ize.
13357 (Fpq_fnumber): Mule-ize.
13358 (Fpq_ftype): fix comments.
13359 (Fpq_get_value): Mule-ize.
13360 (Fpq_cmd_status): Ditto.
13361 (Fpq_cmd_tuples): Ditto.
13362 (Fpq_oid_value): Ditto.
13363 (Fpq_notifies): Ditto.
13364 (Fpq_lo_import): Ditto.
13365 (Fpq_lo_export): Ditto.
13366 (Fpq_get_line): Ditto.
13367 (Fpq_put_line): Mule-ize and bug fix.
13368 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13370 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13372 * postgresql.c (vars_of_postgresql): Mule-ize.
13373 (Fpq_conn_defaults): Ditto.
13375 2000-03-12 Ben Wing <ben@xemacs.org>
13377 * alloc.c (Fmake_byte_code):
13378 * alloc.c (debug_string_purity_print):
13379 * alloc.c (pdump_backtrace):
13380 * alloc.c (pdump_get_indirect_count):
13381 * alloc.c (pdump_register_sub):
13382 * alloc.c (pdump_register_object):
13383 * alloc.c (pdump_register_struct):
13384 * alloc.c (pdump_dump_data):
13385 * alloc.c (pdump_reloc_one):
13389 * console-msw.c (GetConsoleHwnd):
13390 * console-msw.c (msw_hide_console):
13391 * console-msw.c (msw_show_console):
13392 * console-msw.c (msw_ensure_console_buffered):
13393 * console-msw.c (msw_output_console_string):
13394 * console-msw.c (console_type_create_mswindows):
13396 a) Added functions to manipulate the console window for use with
13399 b) Added support for writing text to the console, which is now
13400 used under Windows when xemacs is not being run non-interactively,
13401 to write text that would otherwise be destined for stdout because
13402 under these circumstances, text written to stdout tends to
13403 disappear and not be seen.
13407 * event-Xt.c (x_event_to_emacs_event):
13408 * event-Xt.c (describe_event_window):
13409 * events-mod.h (XEMACS_MOD_CONTROL):
13411 * events.c (Fmake_event):
13412 * events.c (character_to_event):
13413 * events.c (event_to_character):
13414 * events.c (format_event_object):
13415 * events.c (Fevent_modifiers):
13417 * events.h (struct key_data):
13418 * events.h (struct button_data):
13419 * events.h (struct misc_user_data):
13420 * frame-x.c (Fcde_start_drag_internal):
13421 * frame-x.c (Foffix_start_drag_internal):
13422 * gpmevent.c (Freceive_gpm_event):
13424 * keymap.c (bucky_sym_to_bucky_bit):
13425 * keymap.c (control_meta_superify):
13426 * keymap.c (make_key_description):
13427 * keymap.c (keymap_lookup_directly):
13428 * keymap.c (create_bucky_submap):
13429 * keymap.c (keymap_store):
13430 * keymap.c (define_key_check_and_coerce_keysym):
13431 * keymap.c (define_key_parser):
13432 * keymap.c (define_key_alternate_name):
13433 * keymap.c (Fdefine_key):
13434 * keymap.c (raw_lookup_key_mapper):
13435 * keymap.c (struct map_keymap_unsorted_closure):
13436 * keymap.c (map_keymap_unsorted_mapper):
13437 * keymap.c (map_keymap_sort_predicate):
13438 * keymap.c (map_keymap_sorted):
13439 * keymap.c (accessible_keymaps_mapper_1):
13440 * keymap.c (where_is_recursive_mapper):
13441 * keymap.c (describe_map_mapper):
13442 * keymap.c (describe_map_sort_predicate):
13443 * keymap.c (describe_map):
13444 * keymap.c (complex_vars_of_keymap):
13445 And a number of other files, the key modifier preprocessor
13446 constants that xemacs uses have names that conflict with constants
13447 defined under MS Windows for other purposes, so they were renamed
13448 to begin with the prefix XEMACS_. The variables that hold such
13449 modifiers were changed to consistently be of type int to fix
13450 various compile warnings.
13452 * console.c (complex_vars_of_console):
13455 * device-msw.c (mswindows_finish_init_device):
13456 * device-msw.c (msw_get_workspace_coords):
13457 * device-msw.c (mswindows_device_system_metrics):
13458 and various other files, added support for a new
13459 device property called offset-workspace which returns the position
13460 of the upper left corner of the workspace area and goes along with
13461 the existing size-workspace property.
13464 * dialog-msw.c (push_bufbyte_string_as_unicode):
13465 * dialog-msw.c (mswindows_popup_dialog_box):
13466 Added support for XEmacs-style accelerator specifications in
13467 button text. Note: I didn't add support for this under X Windows,
13468 and somebody needs to do this.
13471 * dialog.c (Fpopup_dialog_box):
13472 Documented the support for accelerators that was just mentioned.
13474 editfns.c (get_home_directory): Changed behavior under Windows
13475 when HOME not defined; former behavior was irretrievably broken.
13478 * emacs.c (main_1):
13480 * minibuf.c (clear_echo_area_internal):
13481 * minibuf.c (echo_area_append):
13483 * print.c (std_handle_out_external):
13484 * print.c (std_handle_out_va):
13486 * print.c (write_string_to_stdio_stream):
13487 * print.c (output_string):
13488 * print.c (debug_print):
13489 * print.c (debug_backtrace):
13490 * print.c (debug_short_backtrace):
13491 Cleaned up the code that prints text to stdout so that this can be
13492 changed to output into a console window instead under MS Windows,
13493 as described above.
13496 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13497 * eval.c (internal_catch):
13498 * eval.c (unwind_to_catch):
13499 * eval.c (throw_or_bomb_out):
13500 * eval.c (condition_case_1):
13501 * eval.c (signal_1):
13502 * eval.c (check_error_state_sanity):
13503 * eval.c (call_with_suspended_errors_1):
13504 * eval.c (call_with_suspended_errors):
13505 * eval.c (reinit_vars_of_eval):
13506 Added code to catch throw loops and check for a pesky bug that may
13510 * event-msw.c (key_needs_default_processing_p):
13511 * event-msw.c (mswindows_wnd_proc):
13512 * event-msw.c (mswindows_modifier_state):
13513 * event-msw.c (emacs_mswindows_quit_p):
13514 * event-msw.c (vars_of_event_mswindows):
13515 a) Added support for using the alt key to select menu items as is
13516 standard under MS Windows. This is controlled using the variable
13517 menu-accelerator-enabled, just like under X Windows. There is an
13518 option on the options menu to turn this support on. I really
13519 think that it should be on by default under Windows, but I'm not
13520 going to make this change yet.
13522 b) Added support for dynamic display size changes under Windows.
13525 * event-stream.c (maybe_echo_keys):
13526 * event-stream.c (Fnext_event):
13527 * event-stream.c (command_builder_find_leaf):
13528 * event-stream.c (lookup_command_event):
13529 * event-stream.c (execute_command_event):
13530 * event-stream.c (pre_command_hook):
13531 * event-stream.c (post_command_hook):
13532 * event-stream.c (syms_of_event_stream):
13533 * event-stream.c (vars_of_event_stream):
13534 * event-stream.c (complex_vars_of_event_stream):
13535 * events.h (struct command_builder):
13537 a) Tried to clean up a little bit the horribly written x-specific
13538 accelerator code that crept into this file. I moved this code
13539 into menubar-x.c where it belongs. I also needed to move the
13540 command builder structure into the file events.h because it is
13541 accessed directly by this accelerator code. What I didn't do, but
13542 which should be done at some point, is to properly abstract this
13543 code using device methods instead of the kludgy way that it
13544 currently hooks into the event code.
13546 b) Added the lisp variables this-command-properties and
13547 last-command- properties, which should be used to synchronize two
13548 adjacent commands in preference to playing games with the variable
13549 this-command, which is typically what happens.
13551 c) Added some slightly nasty code to hook into the lisp support
13552 for shifted- motion-key selection. This is actually necessary for
13553 somewhat complicated reasons, which are described in
13554 simple.el. (NB: I think the proper thing would be to have the code
13555 that calls the pre and post command hooks also call out to generic
13556 lisp functions in simple.el, where all built-in stuff could be
13557 added. I will think about this more.)
13559 * event-unixoid.c (poll_fds_for_input):
13560 * lread.c (readchar):
13561 * redisplay-tty.c (tty_clear_frame):
13562 * redisplay-x.c (x_get_gc):
13563 * signal.c (interrupt_signal):
13564 And a whole bunch of other files: fixed up places that printed
13565 directly to stderr to instead call the function stderr_out so that
13566 the changes I made under Windows work correctly.
13568 * filemode.c (mode_string):
13572 * frame-msw.c (mswindows_size_frame_internal):
13573 Fixed the computation of frame size and position to keep the frame
13574 within the workspace area, rather than within the physical
13575 dimensions of the screen, so that the frame doesn't overlap window
13576 manager decorations, such as the start menu and toolbar, typically
13577 at the bottom of the screen.
13579 * frame.c (vars_of_frame):
13580 Changed the default frame title format under MS Windows to consist
13581 of buffername-XEmacs, which is standard under MS Windows. I think
13582 it might be a good idea to change this everywhere because I think
13583 it is superior to the current frame title format, but this is the
13584 kind of change that is likely to cause some people to get annoyed,
13585 so I'm not making it.
13587 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13589 * gui-msw.c (mswindows_handle_gui_wm_command):
13590 Fixed compile warnings.
13593 * gui-x.c (strdup_and_add_accel):
13594 * gui-x.c (button_item_to_widget_value):
13596 Added code to automatically put an accelerator onto the beginning
13597 of menu items that don't have one as is now the standard, and is
13598 described more later. Also fixed things so that the menu item
13599 name can be an evaluated expression, again a new standard.
13602 * gui.c (gui_item_add_keyval_pair):
13603 * gui.c (make_gui_item_from_keywords_internal):
13604 * gui.c (gui_add_item_keywords_to_plist):
13605 * gui.c (gui_item_accelerator):
13606 * gui.c (gui_name_accelerator):
13607 * gui.c (gui_item_included_p):
13608 * gui.c (gui_item_display_flush_left):
13609 * gui.c (gui_item_display_flush_right):
13610 * gui.c (parse_gui_item_tree_item):
13611 * gui.c (parse_gui_item_tree_children):
13612 * gui.c (parse_gui_item_tree_list):
13613 Mule-ized. Cleanup. GCPRO addition.
13615 * line-number.c (buffer_line_number):
13617 * lisp.h (EMACS_INT_MAX):
13618 Added the manifest constant EMACS_INT_MIN corresponding to the
13619 existing constant EMACS_INT_MAX. This is partially to fix compile
13620 warnings under Windows, and partly for cleanliness.
13623 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13624 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13625 * menubar-msw.c (displayable_menu_item):
13626 * menubar-msw.c (populate_menu_add_item):
13627 * menubar-msw.c (populate_or_checksum_helper):
13628 * menubar-msw.c (populate_menu):
13629 * menubar-msw.c (update_frame_menubar_maybe):
13630 * menubar-msw.c (prune_menubar):
13631 * menubar-msw.c (msw_char_is_accelerator):
13632 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13633 * menubar-msw.c (mswindows_handle_wm_command):
13634 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13635 * menubar-msw.c (mswindows_handle_wm_initmenu):
13636 * menubar-msw.c (mswindows_update_frame_menubars):
13637 * menubar-msw.c (mswindows_free_frame_menubars):
13638 * menubar-msw.c (mswindows_popup_menu):
13639 Fixed a bug in handling accelerators where an extra character
13640 would be displayed in the menu item. Also generalized the
13641 function displayable_menu_item because it is now used by the
13642 dialog box code as well. And finally, added code in the functions
13643 that create the menubar to extract a list of accelerators for the
13644 top level menubar, which is used in the event code to determine
13645 whether a particular alt-key combination should be used to invoke
13646 a menu item, or should be passed through to access the standard
13647 XEmacs keymap binding for this key combination.
13649 Much needed GCPROing.
13652 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13653 * menubar-x.c (menu_item_descriptor_to_widget_value):
13654 * menubar-x.c (restore_in_menu_callback):
13655 * menubar-x.c (x_popup_menu):
13656 * menubar-x.c (menu_move_up):
13657 * menubar-x.c (menu_move_down):
13658 * menubar-x.c (menu_move_left):
13659 * menubar-x.c (menu_move_right):
13660 * menubar-x.c (menu_select_item):
13661 * menubar-x.c (command_builder_operate_menu_accelerator):
13662 * menubar-x.c (menu_accelerator_junk_on_error):
13663 * menubar-x.c (command_builder_find_menu_accelerator):
13664 * menubar-x.c (Faccelerate_menu):
13666 Moved a whole bunch of code here that was previously in
13667 event-stream.c as described above. There is also code connected
13668 to the new standard of adding an accelerator to the beginning of
13669 menu items that don't have one as described above and below.
13672 * menubar.c (menu_parse_submenu_keywords):
13673 * menubar.c (Fmenu_find_real_submenu):
13674 * menubar.c (Fnormalize_menu_item_name):
13675 * menubar.c (syms_of_menubar):
13676 * menubar.c (vars_of_menubar):
13677 * menubar.c (complex_vars_of_menubar):
13679 a) Cleaned up a bunch of documentation and improved it.
13681 b) XEmacs now automatically adds an accelerator onto the beginning
13682 of any menu items that don't have one. I did this because there
13683 will inevitably be some menu items on the main menubar that don't
13684 have accelerators on them because the package that adds that
13685 particular menu item hasn't yet been fixed up to have accelerators
13686 in them and it looked rather strange to have some items with and
13687 some items without accelerators, especially since even in items
13688 without accelerators, you can, at least under windows, still
13689 access the item through an accelerator corresponding to the first
13690 character in the item's name. If people don't like this behavior,
13691 I can add a variable to turn it off optionally, but I'm not sure
13692 this is a good idea because we really do need to have accelerators
13693 on all of the menu items, and if a package doesn't like the
13694 accelerators being put on the first character, then it should put
13695 the accelerators where they belong.
13697 c) I made a behavior change, which is that the descriptor that
13698 specifies the text of the menu item, which formerly was just a
13699 string, can now also be an evaluated expression. This makes this
13700 descriptor parallel with all of the others, which could also be
13701 evaluated expressions. This also obviates the need for the
13702 keyword :label, which was previously listed in the documentation
13703 as unimplemented, and which was for the same purpose.
13708 * ntproc.c (new_child):
13709 * ntproc.c (sys_spawnve):
13710 * ntproc.c (find_child_console):
13711 * ntproc.c (sys_kill):
13712 Fixed compile warnings. By the way, this file should really go
13713 away entirely, and this will happen as soon as Kirill makes his
13714 final round of process cleanups, which affect the function
13718 * process-nt.c (struct nt_process_data):
13719 * process-nt.c (find_process_from_pid):
13720 * process-nt.c (send_signal_the_nt_way):
13721 * process-nt.c (enable_child_signals):
13722 * process-nt.c (find_child_console):
13723 * process-nt.c (send_signal_the_95_way):
13724 * process-nt.c (nt_finalize_process_data):
13725 * process-nt.c (ensure_console_window_exists):
13726 * process-nt.c (nt_create_process):
13727 * process-nt.c (nt_kill_child_process):
13728 * process-nt.c (nt_kill_process_by_pid):
13729 * process-nt.c (nt_open_network_stream):
13730 * process-nt.c (vars_of_process_nt):
13731 Copied over code from Emacs 20.5 to correctly send signals to sub-
13732 processes under Windows 95. Also added code to automatically
13733 create and hide console window when a sub-process is created under
13734 Windows 95, which obviates the need for the separate runemacs.exe
13735 executable, and finally implemented some variables that were
13736 implemented in Emacs 20.5, but previously not in XEmacs. These
13737 include mswindows- start-process-share-console and
13738 mswindows-start-process-inherit-error-mode. (Both of these only
13739 apply to Windows 95.)
13741 * regex.c (regex_compile): Fixed a compile warning.
13744 * select-msw.c (mswindows_own_selection):
13745 * select-msw.c (mswindows_get_foreign_selection):
13746 * select-msw.c (mswindows_disown_selection):
13747 * select-msw.c (console_type_create_select_mswindows):
13748 * select-msw.c (syms_of_select_mswindows):
13749 Cleaned up the file and implemented the device method
13750 selection_exists_p, which had accidentally been left out. Also
13751 removed four lisp functions that were remnants from before the
13752 time when the selection code was properly device abstracted.
13753 These functions are no longer needed because there are generic
13754 equivalents, and because they were added recently and don't exist
13755 in FSF Emacs, I don't think there's any problem with just deleting
13759 * sysdep.c (sys_subshell):
13760 Fixed a compile warning, although in this case there's probably
13761 something wrong with this code, and it ought to be looked into
13762 more thoroughly by somebody who understands it.
13765 * window.c (Fwindow_text_area_height):
13766 * window.c (Fwindow_width):
13767 * window.c (Fwindow_full_width):
13768 * window.c (Fwindow_pixel_width):
13769 * window.c (debug_print_window):
13770 * window.c (syms_of_window):
13771 Added functions window-text-area-height and window-full-width,
13772 which are functions for returning various width and height
13773 characteristics of a window. (One of these functions is necessary
13774 for making the file dialog box work correctly, and the other one
13775 was added for completeness.) Also added a table to the
13776 documentation for window-height which describes the entire scheme
13777 for accessing width and height characteristics of a window.
13779 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13781 * nt.c (fstat): Added a comment for another problem with
13782 non-encapsulated [f]stat(), reported by Adrian Aichner
13783 <aichner@ecf.teradyne.com>.
13785 2000-03-11 Andy Piper <andy@xemacs.org>
13787 * window.c (make_dummy_parent): initialize subwindow instance
13789 (Fset_window_configuration): zero extent_modiff.
13791 2000-03-10 Andy Piper <andy@xemacs.org>
13793 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13794 more changes can be triggered.
13795 (Fredisplay_frame): ditto.
13796 (Fredraw_device): ditto.
13797 (Fredisplay_device): ditto.
13798 (redisplay_frame): make non-static.
13799 (redisplay_frame): call update_frame_gutter_geometry outside of
13802 * gutter.h: declare update_frame_gutter_geometry.
13804 * redisplay.h: declare redisplay_frame.
13806 * gutter.c (update_frame_gutter_geometry): move geometry changes
13807 in update_frame_gutters here. Geometry changes can only occur
13808 outside of redisplay.
13809 (update_frame_gutters): remove geometry change code.
13810 (Fredisplay_gutter_area): make sure that we are in display when we
13811 update and that we have flushed any size changes.
13813 2000-03-11 Andy Piper <andy@xemacs.org>
13815 * alloc.c (pdump_dump_data): remove i & count shadows.
13817 2000-02-27 Mike Alexander <mta@arbortext.com>
13819 * sysdep.h: Declare pdump_read_file
13821 * sysdep.c (pdump_read_file): New function
13823 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13826 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13828 * lrecord.h: add `lrecord_type_pgsetenv'.
13830 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13832 * symsinit.h: declare (vars|syms)_of* functions.
13833 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13835 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13837 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13839 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13842 * emacs.c (main_1): Call postgres initialization code.
13844 * postgresql.h: New file. PostgreSQL RDBMS support.
13845 * postgresql.c: New file.
13847 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13849 * redisplay-output.c (redisplay_output_display_block): Disable
13852 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13854 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13855 (Fcanna_henkan_next): Ditto.
13856 (Fcanna_bunsetu_henkou): Ditto.
13857 (Fcanna_henkan_kakutei): Ditto.
13858 (Fcanna_henkan_end): Ditto.
13859 (Fcanna_henkan_quit): Ditto.
13860 (Fcanna_henkan_next): Set retun value correctly.
13861 (c2mu): Use unsigned char instead of signed char.
13863 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13865 * emacs.c (main_1): Always call syms_of_gui.
13866 * inline.c: include gui.h
13868 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13870 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13871 converted to Lisp_Object.
13872 (Qtop_bottom): New variable.
13873 (syms_of_redisplay): Initialize it.
13874 * redisplay.h (Vvisible_bell): Ditto.
13875 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13876 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13877 only flash top and bottom.
13879 2000-03-08 Andy Piper <andy@xemacs.org>
13881 * buffer.c (Frename_buffer): record new buffer name the right way.
13883 2000-03-08 Andy Piper <andy@xemacs.org>
13885 * glyphs.c (update_subwindow): increase hash depth so that widget
13886 items get picked up properly.
13888 * redisplay-output.c (compare_runes): increase hash depth so that
13889 widget items get picked up properly.
13891 2000-03-08 Andy Piper <andy@xemacs.org>
13893 * gutter.c (output_gutter): add some debug.
13895 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13896 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13897 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13899 * redisplay-output.c (compare_runes): use display_hash to
13900 determine if glyphs really are not the same.
13902 * glyphs.c (update_subwindow): check display_hash to see if
13903 anything really needs to be updated. If not then do
13904 nothing. Record the display_hash after updating.
13905 (image_instance_equal): compare the image_instance face also.
13907 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13909 * redisplay.h: Fix comment style.
13911 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13913 * consle-msw.h (struct mswindows_frame):
13914 Added new member paint_pending to indicate whether a WM_PAINT
13915 magic event has been queued for this frame.
13917 * event-msw.c (mswindows_drain_windows_queue):
13918 Don't queue a WM_PAINT magic event if one is already queued.
13919 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13921 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13923 2000-03-07 Didier Verna <didier@xemacs.org>
13925 * dired.c: #include `regex.h' after `sysfile.h'.
13927 2000-03-06 Martin Buchholz <martin@xemacs.org>
13929 * sound.c (init_nas_sound): Fix compiler warning.
13931 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13933 (MARK_STRUCT_AS_FREE):
13934 (MARK_STRUCT_AS_NOT_FREE):
13935 Make `gcc -fstrict-aliasing' work properly.
13937 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13939 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13940 (mswindows_delete_device): Call CoUnnitialize().
13942 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13944 2000-02-25 <CraigL@DyCon.com>
13946 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13949 * sysdep.c: This extern declaration for environ prevents MinGW
13950 from finding the variable in CRTDLL.DLL.
13952 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13954 (SHGFI_EXETYPE): ..
13955 (WM_MOUSEWHEEL): ..
13956 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13958 (MMRESULT): Removed, now defined in cygwin's windows headers.
13960 (uid_t,gid_t,pid_t,ssize_t): ..
13961 (_timeb): Removed, MinGW defines both _timeb and timeb.
13962 (HAVE_H_ERRNO): Added.
13963 (HAVE_TZNAME): Added, configure is not detecting this.
13965 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13967 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13968 * syntax.c (syntax_match): Use it.
13970 * cmds.c: Import auto-fill-chars from FSF Emacs.
13971 (Vauto_fill_chars): New variables.
13972 (internal_self_insert): Check Vauto_fill_chars.
13974 Declare auto-fill-chars as a Lisp variable and initialize it.
13976 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13978 * fileio.c (Fmake_symbolic_link):
13980 Run handlers even if local machine doesn't have symlinks.
13982 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13984 * event-msw.c (mswindows_drain_windows_queue):
13985 Don't generate paint magic events for non-XEmacs frames.
13987 2000-03-05 Andy Piper <andy@xemacs.org>
13989 * redisplay.c (redisplay_frame): generate_displayable_area and
13990 friends assumes that we are not in GC, we therefore have to make
13991 sure that this doesn't happen.
13993 * gutter.c (calculate_gutter_size): generate_displayable_area
13994 assumes that we are not in GC, we therefore have to make sure that
13995 this doesn't happen.
13997 2000-03-05 Martin Buchholz <martin@xemacs.org>
13999 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14001 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14003 * redisplay.c (regenerate_window): Make sure we set a sane value
14004 for end_pos even if we jump out of the loop.
14005 (regenerate_window): Answer Ben's question :-).
14006 (start_end_of_last_line): Add may_error argument.
14007 (start_of_last_line):
14008 (end_of_last_line): Pass may_error = 0.
14009 (end_of_last_line_may_error): New function.
14010 (pixel_to_glyph_translation): Use it, so we don't crash in
14013 2000-03-04 Andy Piper <andy@xemacs.org>
14015 * window.h (struct window): add gutter_extent_modiff.
14017 * window.c (allocate_window): zero out gutter_extent_modiff.
14019 * redisplay.h: declare sync_display_line_structs.
14021 * redisplay.c (add_glyph_rune): add a better comment.
14023 * redisplay-output.c (sync_display_line_structs): made non-static.
14024 (compare_runes): remove unneccesary glyph cachel access.
14026 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14028 * gutter.c (output_gutter): don't output the gutter if extent
14029 changes only involve extents in buffers. use 4 sets of display
14031 (gutter_extent_signal_changed_region_maybe): new function. Mark
14032 extents in gutters as changed.
14033 (update_frame_gutters): use 4 sets of display lines.
14034 (reset_gutter_display_lines): ditto.
14035 (free_frame_gutters): ditto.
14036 (redraw_exposed_gutter): force output of gutters.
14038 * frame.h (struct frame): add 4 sets of gutter display lines.
14040 * extents.c: (extent_changed_for_redisplay): signal changes to
14041 extents in strings in the gutter as well as extents in buffers.
14043 2000-03-02 Andy Piper <andy@xemacs.org>
14045 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14047 * frame.c (Fmake_frame): make sure the gutters get initialized
14048 after the frame is visible.
14049 (set_frame_selected_window): re-arrange compilation macros a
14051 (change_frame_size_1): mark gutters changed.
14053 * device.c (Fset_device_class): mark gutters changed.
14055 2000-03-01 Andy Piper <andy@xemacs.org>
14057 * window.c (window_top_frame_gutter_height): deleted.
14058 (window_bottom_frame_gutter_height): ditto.
14059 (window_left_frame_gutter_height): ditto.
14060 (window_right_frame_gutter_height): ditto.
14061 (window_top_gutter_height): don't use them.
14062 (window_bottom_gutter_height): ditto.
14063 (window_left_gutter_width): ditto.
14064 (window_right_gutter_width): ditto.
14065 (Fsplit_window): ditto.
14066 (Fwindow_pixel_edges): don't use border dimensions here.
14068 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14069 (update_scrollbar_instance): ditto.
14071 * redisplay.c (generate_modeline): don't take gutters into account.
14072 (generate_modeline): ditto.
14073 (redisplay_frame): small gutter display optimization.
14075 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14077 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14078 gutters into account.
14080 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14081 for window position and type.
14083 * gutter.c (get_gutter_coords): fix for frame gutters.
14084 (update_frame_gutters): update frame geometry if the gutters have
14086 (init_frame_gutters): record current gutter geometries.
14088 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14090 (mswindows_widget_instantiate): ditto.
14092 * frame.h (struct frame): add current_gutter_bounds.
14094 * frame.c (change_frame_size_1): position window and minibuffer
14095 appropriately taking into account the frame gutters.
14097 * frame-x.c: (x_initialize_frame_size): take into account the
14100 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14102 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14104 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14106 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14108 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14110 * file-coding.c (reset_decoding_stream): Clear previous
14111 detection state when autodetect.
14113 2000-02-29 Didier Verna <didier@xemacs.org>
14115 * extents.c (set_extent_glyph_1): don't require extents to be
14118 2000-02-27 Andy Piper <andy@xemacs.org>
14120 * gutter.c (Fset_default_gutter_position): don't default left and
14121 right gutter visibility to t.
14122 (Fset_default_gutter_position): run
14123 default-gutter-position-changed-hook.
14124 (syms_of_gutter): add default-gutter-position-changed-hook.
14126 2000-02-26 Andy Piper <andy@xemacs.org>
14128 * specifier.c (Fmake_specifier): add gutter references.
14130 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14132 * lisp.h: declare Fvalid_plist_p.
14134 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14136 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14137 well as its visibility so that it gets reconstructed.
14138 (construct_window_gutter_spec): new function. Construct a string
14139 to be displayed in the gutter from a plist of strings. Take care
14140 to only use elements that are declared as visible.
14141 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14143 (gutter_validate): allow plists of strings in the specifier.
14144 (gutter_specs_changed): construct the real_gutter from the gutter
14145 specs using construct_window_gutter_spec.
14146 (gutter_visible_validate): gutter-visible is a new specifier type.
14147 (Fgutter_visible_specifier_p): new function for the new specifier.
14148 (syms_of_gutter): declare gutter-visible and
14149 Fgutter_visible_specifier_p.
14150 (specifier_type_create_gutter): intitalize new gutter-visible
14152 (reinit_specifier_type_create_gutter): ditto.
14153 (specifier_vars_of_gutter): use new specifier type for gutter
14155 (init_frame_gutters): construct real_gutter correctly.
14156 (Fgutter_specifier_p): beef up documentation.
14157 (Fgutter_size_specifier_p): ditto.
14159 * winslots.h: add real_gutter slots.
14161 2000-02-25 Andy Piper <andy@xemacs.org>
14163 * device-msw.c: Be kind to older cygwin versions. From Raymond
14164 Toy <toy@rtp.ericsson.se>.
14166 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14167 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14169 2000-02-25 Martin Buchholz <martin@xemacs.org>
14171 * elhash.c (MARK_OBJ): Practice macro hygiene.
14173 2000-02-24 Martin Buchholz <martin@xemacs.org>
14175 * miscplay.c: s/__inline__/inline/g;
14176 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14177 (get_device_compdc): INLINE ==> static inline
14178 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14179 find -name '*.h' | \
14180 xargs global-replace \
14181 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14183 2000-02-25 Andy Piper <andy@xemacs.org>
14185 * window.c (window_top_frame_gutter_height): new function.
14186 (window_top_window_gutter_height): ditto.
14187 (window_top_gutter_height): use them.
14188 (window_bottom_frame_gutter_height): new function.
14189 (window_bottom_window_gutter_height): ditto.
14190 (window_bottom_gutter_height): use them.
14191 (window_left_window_gutter_width): new function.
14192 (window_left_frame_gutter_width): ditto.
14193 (window_left_gutter_width): use them.
14194 (window_right_window_gutter_width): new function.
14195 (window_right_frame_gutter_width): ditto.
14196 (window_right_gutter_width): use them.
14197 (window_pixel_height): new function. calulate window pixel height
14198 with frame gutter involvement.
14199 (Fsplit_window): calculate new sizes taking frame gutters into
14201 (window_char_height_to_pixel_height): don't include frame gutters.
14202 (window_char_height): use window_pixel_height.
14203 (window_pixheight): rename from window_pixel_height.
14204 (change_window_height): use it.
14205 (window_pixel_height_to_char_height): don't include frame gutters.
14206 (window_char_width_to_pixel_width): ditto.
14208 2000-02-25 Andy Piper <andy@xemacs.org>
14210 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14213 2000-02-24 Martin Buchholz <martin@xemacs.org>
14215 * alloc.c (staticpro):
14216 (staticpro_nodump):
14221 (compact_string_chars):
14222 (pdump_dump_wired):
14223 Convert: if (foo) abort(); ==> assert (! foo);
14225 * eldap.c (Fldap_search_basic):
14229 Fix compiler warnings, and possible crashes if (random) return
14230 value were to be used.
14232 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14234 * device-msw.c: Workaround ResetDC failure.
14236 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14237 applying a devmode.
14239 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14240 (mswindows_text_width): Do not start printer page.
14242 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14244 * glyphs-msw.c: Added image methods to msprinter console and
14245 msprinter-specific image instantiation.
14247 2000-02-20 Mike Alexander <mta@arbortext.com>
14249 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14250 to avoid crashes when selection-sets-clipboard is on
14251 (mswindows_own_selection): ditto
14253 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14256 * redisplay-msw.c (get_frame_dc):
14257 (get_frame_compdc):
14259 * device-msw.c (mswindows_init_device):
14260 (mswindows_delete_device):
14261 (msprinter_init_device):
14262 (msprinter_delete_device):
14263 * frame-msw.c (mswindows_init_frame_1):
14264 (mswindows_delete_frame):
14265 (msprinter_init_frame_3):
14266 (msprinter_delete_frame): Move compatible DC to device object from
14267 frame object, for both mswindows and msprinter. Only one at a time
14268 is needed, it is a real waste to have one per frame!
14270 2000-02-23 Andy Piper <andy@xemacs.org>
14272 * glyphs.c: add dynamic width and height elements.
14273 (image_instance_equal): ditto.
14275 * glyphs-widget.c (widget_query_geometry): calculate width and
14276 height dynamically if required.
14277 (initialize_widget_image_instance): initialize dynamic dimensions.
14278 (widget_instantiate): pick-up dynamic dimensions.
14280 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14281 dynamic determination. Add appropriate macros.
14283 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14285 (WINDOW_GUTTER_SIZE): ditto.
14286 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14288 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14290 (get_frame_dc): ditto.
14292 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14295 2000-02-23 Martin Buchholz <martin@xemacs.org>
14297 * XEmacs 21.2.31 is released.
14299 2000-02-22 Ben Wing <ben@xemacs.org>
14301 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14303 2000-02-22 Andy Piper <andy@xemacs.org>
14305 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14307 2000-02-21 Mike Sperber <mike@xemacs.org>
14311 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14314 2000-02-21 Mike Sperber <mike@xemacs.org>
14316 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14318 2000-02-21 Martin Buchholz <martin@xemacs.org>
14320 * XEmacs 21.2.30 is released.
14322 2000-02-20 Martin Buchholz <martin@xemacs.org>
14324 Performance hacking.
14326 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14327 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14328 * emacs.c (main_1):
14330 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14331 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14332 * symeval.h (DEFVAR_SYMVAL_FWD):
14333 * symbols.c (guts_of_unbound_marker):
14334 Make all c_readonly objects also lisp_readonly and marked for life.
14335 * lrecord.h (struct lrecord_implementation):
14336 Document flags better.
14337 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14338 * lrecord.h (DECLARE_LRECORD):
14339 * lrecord.h (XSETRECORD):
14340 * lrecord.h (RECORDP):
14341 * lrecord.h (RECORD_TYPEP):
14342 * lrecord.h (RECORD_MARKER): New.
14343 * lrecord.h (error_check_*):
14344 * lrecord.h (CONCHECK_NONRECORD):
14345 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14346 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14347 * lrecord.h (set_lheader_implementation):
14348 * lrecord.h (enum lrecord_type): New.
14349 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14350 * alloc.c (disksave_object_finalization_1):
14351 * alloc.c (mark_object):
14352 * alloc.c (lrecord_type_index):
14353 * alloc.c (tick_lcrecord_stats):
14354 * alloc.c (Fgarbage_collect):
14355 * alloc.c (init_alloc_once_early):
14356 * alloc.c (pdump_load):
14357 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14358 * alloc.c (lrecord_type_index): Delete.
14359 Make lisp object type indexes be constant.
14360 Makes (byte-compile) 5% faster.
14361 Put all marker functions into their own array.
14362 Makes (garbage-collect) 5% faster.
14363 Optimize SYMBOL_VALUE_MAGIC_P.
14364 Makes (byte-compile) 2-3% faster.
14365 * config.h.in (gc_checking_assert): New.
14366 * alloc.c: Use gc_checking_assert().
14367 * .dbxrc: Make compatible with new object type implementation.
14368 * .gdbinit: Make compatible with new object type implementation.
14369 * alloc.c: Delete all symbols defined only for debugging, such as
14370 Lisp_Type_Vector and lrecord_charset.
14372 2000-02-21 Andy Piper <andy@xemacs.org>
14374 * gui-msw.c (Fmswindows_shell_execute): fix file location
14377 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14378 unshowing so that set_window_buffer doesn't undo
14379 kill_buffer_hook's hard work.
14381 * glyphs-widget.c (tab_control_query_geometry): don't count the
14382 first item when calculating geometry.
14384 * glyphs.c (map_subwindow): remove redundant code.
14385 (update_frame_subwindows): be more circumspect about when to
14388 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14389 when items haven't changed. Update faces if faces have changed as
14390 well as just the widget face.
14391 (x_tab_control_update): Update faces if faces have changed as well
14392 as just the widget face.
14394 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14396 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14398 (build_syscolor_string): Use mswindows_color_to_string to try to
14400 (mswindows_device_system_metrics): Reverse the foreground and
14401 background colors so that they match the documentation.
14403 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14404 they match the default Windows palette.
14405 (mswindows_color_to_string): New function.
14407 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14409 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14411 2000-02-18 Olivier Galibert <galibert@pobox.com>
14413 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14414 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14416 * symbols.c (init_symbols_once_early): Removed obsolete
14417 DATA_SEG_BITS related kludge.
14418 (defvar_magic): Ditto.
14420 * malloc.c: Removed obsolete DATA_SEG_BITS
14422 * mem-limits.h: Ditto.
14424 * Makefile.in.in: Removed obsolete HAVE_SHM
14427 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14429 * device-msw.c (mswindows_delete_device): Free DDE string
14432 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14434 * keymap.c (get_keyelt):
14435 * unexnt.c (unexec):
14436 * vm-limit.c (memory_warnings):
14437 * ntheap.c (recreate_heap):
14438 * ntheap.h (UNINIT_PTR):
14439 * select-msw.c (Fmswindows_get_clipboard):
14440 (Fmswindows_set_clipboard):
14441 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14443 * menubar-msw.c (displayable_menu_item):
14445 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14446 * sysdep.c (sys_subshell):
14447 * process-nt.c (nt_create_process):
14448 * nt.c (normalize_filename):
14449 (dostounix_filename):
14450 (unixtodos_filename):
14451 * ntproc.c (win32_executable_type):
14452 * ntplay.c (play_sound_data_1):
14454 * editfns.c (get_home_directory):
14455 * event-msw.c (struct winsock_stream):
14456 (mswindows_dde_callback):
14457 * device-msw.c (msprinter_init_device):
14458 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14460 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14461 mswindows_clear_toolbar were swapped!
14463 * objects-msw.c:(colormap_t):
14465 * emacs.c (struct standard_args): Fixed const jumble.
14467 * glyphs-widget.c (update_widget): Fixed comparison notation.
14469 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14471 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14472 __declspec(noreturn) syntax.
14474 2000-02-19 Martin Buchholz <martin@xemacs.org>
14476 * eldap.c (Fldap_open):
14477 (Fldap_search_basic):
14480 Use new coding system conversion macros.
14482 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14484 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14486 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14488 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14489 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14491 * eldap.c (Qadd, Qreplace): New constant symbols
14492 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14493 interruptions by XEmacs signals
14494 Remove unnecessary calls to slow_down_interrupts and
14495 speed_up_interrupts
14496 (Fldap_search_basic): Renamed from Fldap_search_internal
14497 Added new optional parameter VERBOSE that triggers the
14498 display of progress messages
14499 Remove unnecessary calls to slow_down_interrupts and
14500 speed_up_interrupts
14501 LDAP result code analysis rewritten
14502 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14503 (syms_of_eldap): Define the new symbols and functions
14506 2000-02-17 Martin Buchholz <martin@xemacs.org>
14508 * realpath.c: Determine PATH_MAX maximally portably.
14510 * insdel.c (bytecount_to_charcount): Optimize.
14511 The function used to be optimized for entirely ASCII sequences.
14512 Now it is optimized for successive characters from the same
14513 charset. This also wins big for _mostly_ ASCII sequences.
14515 * fileio.c (Ffile_truename): convert return from realpath() using
14516 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14517 - Rewrite GCPROing slightly.
14519 * sysdep.c (sys_open): Do filename conversion, like all other
14520 sys_* functions. Fixes bug:
14521 (let ((file-name-coding-system 'iso-8859-2))
14522 (write-region x y latin2-name))
14523 ==> writes filename using internal encoding.
14525 2000-02-18 Martin Buchholz <martin@xemacs.org>
14527 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14528 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14529 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14530 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14531 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14532 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14533 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14534 (CONST_IF_NOT_DEBUG): Delete.
14535 * alloc.c (this_one_is_unmarkable): Delete.
14536 (mark_object): Don't check for this_one_is_unmarkable. Use the
14537 c_readonly flag instead.
14538 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14540 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14542 * event-msw.c (mswindows_drain_windows_queue):
14543 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14544 away redundant repaint events.
14546 2000-02-17 Andy Piper <andy@xemacs.org>
14548 * redisplay.h: declare mark_redisplay_structs.
14550 * redisplay.c (redisplay_window):
14551 (redisplay_frame): don't check subwindows_state_changed.
14552 (mark_redisplay): mark gutters here.
14554 * glyphs.c: (instantiate_image_instantiator): always layout if we
14555 haven't done so already.
14556 (allocate_image_instance): don't mark as dirty.
14557 (update_subwindow): bind inhibit_quit.
14559 * gutter.c (mark_gutters): new function.
14561 * glyphs-x.c (x_update_widget): Always resize to get round a
14564 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14565 breaking absolutely everything.
14567 * gutter.h: declare mark_gutters.
14569 2000-02-16 Martin Buchholz <martin@xemacs.org>
14571 * XEmacs 21.2.29 is released.
14573 2000-02-15 Olivier Galibert <galibert@pobox.com>
14575 * fns.c (size_bit_vector): Fix computation of the size.
14577 2000-02-15 Martin Buchholz <martin@xemacs.org>
14579 * *.[ch]: Change CONST to const globally.
14580 find -name '*.[ch]' | \
14581 xargs global-replace \
14582 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14583 - Remove vestigial references to CONST_IS_LOSING
14585 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14587 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14588 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14589 events instead of dispatching them directly.
14590 (mswindows_handle_paint): New function to do repainting.
14591 (mswindows_wnd_proc):
14592 (emacs_mswindows_handle_magic_event): Call above function.
14594 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14596 * objects-msw.c (mswindows_create_font_variant): Return the new
14598 (initialize_font_instance): Get font metrics from the underlined
14599 variant of the font to cope with the case where the underlined
14600 font has a bigger descent.
14602 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14604 * gui.c (gui_item_accelerator): Return the first underlined
14605 character in item name.
14607 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14609 * lisp.h: Added Qprinter.
14611 * general.c (syms_of_general): Initialized it.
14613 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14615 (get_frame_compdc): Made inline.
14617 * console.h (struct console_methods): Added eject_page method.
14619 * frame.h: Added FRAME_DISPLAY_P and friends.
14620 Aligned backslahes in many macros in more readable fashion.
14621 Added page_number to struct frame, and an accessor macro
14624 * defice.h: Added DEVICE_DISPLAY_P and friends.
14626 * device.c (Fdevice_printer_p): Used these.
14628 * frame.c (allocate_frame_core): Initialize page number.
14629 (Fprint_job_page_number):
14630 (Fprint_job_eject_page): Implemented.
14632 * frame-msw.c (msprinter_eject_page): Added method.
14633 (msprinter_start_page): Added.
14635 * window.c (Fwindow_truncated_p): Fixed docstring.
14636 (Fwindow_last_line_visible_height): Implemented.
14638 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14640 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14642 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14644 * syntax.c (scan_words): Always advance at least one character.
14646 2000-02-13 Andy Piper <andy@xemacs.org>
14648 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14649 to make sure the glyph is in the cachels.
14651 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14652 global image instance flag.
14653 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14654 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14656 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14657 (Fset_image_instance_property): mark layout as changed.
14658 (invalidate_glyph_geometry_maybe): mark layout as changed.
14659 (glyph_width): use new NEEDS_LAYOUT macro.
14660 (glyph_ascent): ditto.
14661 (glyph_descent): ditto.
14662 (glyph_height): ditto.
14663 (image_instance_layout): mark layout as clean after laying out.
14664 (update_subwindow): don't mark layout as clean here.
14666 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14667 should no longer be needed.
14669 * glyphs-x.c (x_update_widget): sanitize asserts.
14670 (x_finalize_image_instance): sanitize assignment to widgets.
14672 * glyphs-widget.c (widget_instantiate): don't need to clear the
14675 2000-02-13 Martin Buchholz <martin@xemacs.org>
14677 * sysdep.c (getcwd): Use standard prototype.
14678 * sysdep.h (getcwd): Use standard prototype.
14680 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14681 (sequence, start, end).
14682 Remove redundant type checking.
14683 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14684 view of `caller-protects') to avoid a crash where the real fix was
14687 2000-02-12 Martin Buchholz <martin@xemacs.org>
14689 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14691 * s/sol2.h: Remove feature macro initialization.
14693 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14694 (vector_hash): New. Code from internal_hash.
14696 Fix up allocation subsystem comments.
14698 * config.h.in: Add __EXTENSIONS__ for Solaris.
14700 * systime.h (EMACS_GETTIMEOFDAY): New.
14701 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14702 Remove Solaris-specific code.
14703 Use void* for the (ignored) second arg for gettimeofday().
14705 * elhash.c (hash_table_hash): Implement it, finally.
14706 * elhash.c: Use hashcode_t.
14708 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14709 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14711 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14712 * fns.c (size_bit_vector):
14713 * alloc.c (size_vector):
14714 (make_vector_internal):
14715 (make_bit_vector_internal):
14716 (sweep_bit_vectors_1):
14717 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14719 2000-02-10 Martin Buchholz <martin@xemacs.org>
14721 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14722 Include strings.h to avoid warnings for bzero and strcasecmp.
14724 2000-02-10 Olivier Galibert <galibert@pobox.com>
14726 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14727 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14729 * fns.c (size_bit_vector): New. Declare bit vectors as a
14732 2000-02-10 Olivier Galibert <galibert@pobox.com>
14734 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14735 use a value field instead.
14736 (symbol_value_forward_forward): Use value field.
14737 (DEFVAR_SYMVAL_FWD): Use value field.
14738 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14739 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14740 (DEFVAR_CONST_INT): Ditto.
14741 (DEFVAR_BOOL): Ditto.
14742 (DEFVAR_CONST_BOOL): Ditto.
14743 (DEFVAR_INT_MAGIC): Ditto.
14744 (DEFVAR_BOOL_MAGIC): Ditto.
14746 * symbols.c (guts_of_unbound_marker): Use value field.
14747 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14748 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14750 * lisp.h: Declare dumpopaque and noninteractive1.
14752 * alloc.c (dumpopaque): Added.
14753 (pdump_dump_opaquevec): Added.
14754 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14755 (pdump_load): Reload opaque data. Sync noninteractive1 with
14758 2000-02-10 Andy Piper <andy@xemacs.org>
14760 * glyphs.c (image_instance_layout): if the size changes, mark it
14763 * redisplay-output.c (redisplay_output_layout): Update the
14765 (redisplay_output_subwindow): ditto.
14767 * glyphs.c (update_subwindow): make sure we reset flags for
14768 layouts as well as everything else.
14770 * glyphs-widget.c (layout_layout): don't need to set the instances
14773 2000-02-09 Martin Buchholz <martin@xemacs.org>
14775 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14776 not HAVE_DLOPEN, which is a lower-level thing.
14778 * .cvsignore: Ignore gmon.out
14780 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14782 * .cvsignore: Ignore portable dumper xemacs.dmp file
14784 2000-02-09 Andy Piper <andy@xemacs.org>
14786 * redisplay-output.c (redisplay_output_layout): be more clever
14787 about when we output based on the changed flags.
14789 * glyphs.h (struct image_instantiator_methods): add update_method.
14790 (struct Lisp_Image_Instance): add changed flags. Declare new
14791 macros for manipulating them.
14793 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14794 (image_instance_parent_glyph): find an image_instance's parent
14795 glyph or image_instance.
14796 (image_instance_layout): mark the size as changed.
14797 (set_image_instance_dirty_p): new function. mark an image
14798 instance, plus all of its parents, as dirty.
14799 (Fset_image_instance_property): use it.
14800 (Fglyph_animated_timeout_handler): use it.
14801 (update_subwindow): call update_widget and device methods for
14802 update_subwindow. Mark all changed flags as clean.
14803 (Fresize_subwindow): mark size as changed.
14805 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14807 (x_update_subwindow): only resize subwindows here.
14808 (x_update_widget): new function. Update all changed properties of
14810 (x_resize_subwindow): deleted.
14811 (x_widget_set_property): deleted.
14812 (x_progress_gauge_set_property): deleted.
14813 (x_progress_gauge_update): new function. Implement recorded
14815 (x_tab_control_update): ditto.
14816 (x_tab_control_set_property): deleted.
14817 (console_type_create_glyphs_x): declare new functions.
14818 (image_instantiator_format_create_glyphs_x): ditto.
14820 * glyphs-widget.c (widget_set_property): mark text changed.
14821 (update_widget): new function. Update properties of a widget.
14822 (widget_instantiate): for layouts make sure we set their
14823 children's parent correctly.
14824 (tab_control_set_property): new function. Record changes that will
14825 take place under redisplay's control.
14826 (progress_gauge_set_property): ditto.
14827 (image_instantiator_progress_guage): declare new functions.
14828 (image_instantiator_tab_control): ditto.
14830 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14832 (mswindows_update_widget): new function. Update all properties on
14833 a widget that have changed.
14834 (mswindows_button_update): new function. Update a button's set
14836 (mswindows_tab_control_update): new function. Update the items in
14838 (mswindows_tab_control_set_property): deleted.
14839 (mswindows_progress_gauge_update): new function. Update the
14840 progress gauge's progress.
14841 (mswindows_widget_set_property): deleted. This is all done
14842 asynchronously now.
14843 (mswindows_progress_gauge_set_property): ditto.
14844 (console_type_create_glyphs_mswindows): declare new methods.
14845 (image_instantiator_format_create_glyphs_mswindows): ditto.
14847 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14848 (msprinter_set_frame_properties): ditto.
14850 * console.h (struct console_methods): Add update_widget_method.
14852 2000-02-09 Andy Piper <andy@xemacs.org>
14854 * gui-msw.c (Fmswindows_shell_execute): Make
14855 mswindows-shell-execute industrial strength.
14857 2000-02-08 Martin Buchholz <martin@xemacs.org>
14859 * lrecord.h: Make macro argument `props' match member function `plist'.
14862 * fns.c (Fremprop):
14863 * fns.c (Fobject_plist):
14866 Object property list frobbing cleanup.
14867 - Allow any lisp object (compared with `eq'), not just symbols, as
14868 keys in object plists.
14869 - Move symbol plist frobbing into symbols.c, where it belongs.
14870 - Move string plist frobbing into alloc.c, where it belongs.
14871 - Everything's an lrecord now, so no need to test for symbolp, etc.
14872 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14874 * extents.c: Reorder code to remove declarations.
14876 * frame.h (store_in_alist): Remove useless declaration.
14878 2000-02-07 Martin Buchholz <martin@xemacs.org>
14880 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14881 * config.h.in: Add HAVE_XCONVERTCASE.
14883 2000-02-07 Andy Piper <andy@xemacs.org>
14885 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14886 it breaks many things.
14888 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14890 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14891 actually can start a common comment type.
14892 * src/syntax.h (SYNTAX_END_P): ditto for end.
14894 2000-02-07 Martin Buchholz <martin@xemacs.org>
14896 * XEmacs 21.2.28 is released.
14898 2000-02-06 Martin Buchholz <martin@xemacs.org>
14900 * event-Xt.c (x_keysym_to_character): New.
14901 (maybe_define_x_key_as_self_inserting_character): New.
14902 (x_has_keysym): New.
14903 Auto-define all keys on the keyboard as self-insert-key.
14905 2000-02-02 Martin Buchholz <martin@xemacs.org>
14907 * menubar.c (vars_of_menubar): A small code simplification.
14909 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14912 * ExternalClient.c:
14913 * EmacsShell-sub.c:
14916 Use consistent style for specifying X resources.
14918 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14919 This makes (dontusethis-set-symbol-value-handler) actually usable.
14921 * lrecord.h (lrecord_decription_type):
14922 * alloc.c (pdump_register_sub):
14925 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14926 Comply with XEmacs coding style.
14927 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14928 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14930 * keymap.c (Faccessible_keymaps):
14931 Make (accessible-keymaps map "\C-h") do the Right Thing.
14932 Make (accessible-keymaps map []) do the Right Thing.
14933 Make (accessible-keymaps map "") do the Right Thing.
14934 (check_keymap_definition_loop): New function.
14935 (keymap_store_internal): Keep luser from shooting self in foot,
14936 via (define-key ctl-x-4-map "p" global-map).
14937 Remove fullness slot from struct Lisp_Keymap, since hash tables
14939 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14941 2000-01-30 Martin Buchholz <martin@xemacs.org>
14943 * redisplay.c (init_redisplay): Fix small memory leak.
14945 * elhash.c (pdump_reorganize_hash_table):
14946 Rename from reorganize_hash_table. Change prototype.
14947 Reuse the original memory for hentries. Save 100k.
14948 * alloc.c (PDUMP_READ): new macro.
14949 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14950 * alloc.c: No need to #ifndef before #undef.
14952 * print.c: Allow debug_print() to print readably by modifying
14953 debug_print_readably. Use consistent variable names.
14955 * .dbxrc: Try to get things to work even if stopped in a function
14956 without source available by explicitly specifying source files.
14957 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14959 * unexnt.c (_start): Removed bogus code which caused loading heap
14960 from differrent executable file.
14961 Removed bogus assignment to _fmode, which caused inconsistencies.
14963 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14965 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14966 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14967 Do not preliminary `#define signal sigset'.
14969 * systime.h: Do not prototype environ on windows nt and cygwin,
14970 this conflicts with system header.
14972 * syssignal.h: Use correct define for WINDOWSNT
14974 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14975 with system header.
14977 * sysdep.c (near start of file): Fixed commentary and rearranged
14978 ifdefs in readable order.
14979 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14982 (end_of_data): Do not compile in if using PDUMP.
14984 * symsinit.h: Prototyped vars_of_nt().
14986 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14987 (find_child_console): Use it.
14988 (sys_kill): Use it.
14990 * ntheap.h: Do not extern os_subtype.
14992 * ntheap.c (cache_system_info): Do not cache unneeded:
14993 nt_major_version, nt_minor_version and os_subtype.
14994 (recreate_heap): Do not compile in when PDUMPing.
14996 * nt.c (geteuid and friends): Use the new varibale
14997 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14998 (init_user_info): Removed the above mentioned hackery.
14999 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15000 stat has been fixed in the C runtime.
15001 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15003 * file-coding.c (struct file_coding_dump): Do not define
15004 ucs_to_mule_table in the struct if not MULE.
15005 (struct struct lrecord_description fcd_description_1): Do not dump
15008 * emacs.c (main_1): Call vars_of_nt().
15009 (right before Fdump_emacs_data): Don't need lastfile if using both
15010 portabe dumper and system malloc.
15012 * alloc.c (Fmemory_limit): Conditionalized out.
15013 (pdump): Use OPEN_BINARY for the portable dump file.
15014 (pdump_load): Ditto.
15016 2000-02-02 Mike Alexander <mta@arbortext.com>
15018 * nt.c (convert_time): Set tm_isdst before calling mktime and
15019 avoid calling it at all if the compiler supports 64 bit integers.
15020 Also initialize utc_base_ft before using it.
15022 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15024 * frame.c (change_frame_size_1): Take f->internal_border_width
15025 into consideration when calculating the width of the frame.
15027 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15029 * window.c (frame_min_height):
15030 (frame_size_valid_p):
15031 (frame_pixsize_valid_p): Added.
15032 (check_frame_size): Generalized.
15034 * window.h: Prototyped the above.
15037 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15038 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15039 Deleted Vwin32_* and Vbinary_process_* unused variables.
15041 * device-msw.c (msprinter_init_device): Do not get printer font
15042 list; Added DEVMODE functions.
15044 * frame-msw.c: Added lots of printer code.
15046 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15049 * console-msw.h: Added more msprinter device private slots.
15051 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15053 * event-msw.c (key_needs_default_processing_p): Added.
15054 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15056 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15058 * glyphs.c (image_instance_layout): Mark image instance as clean
15060 (glyph_dirty_p): Removed redundant function.
15061 (invalidate_glyph_geometry_maybe): Added.
15062 (update_glyph_cachel_data): Call it.
15064 * glyphs.h: Prototyped it.
15066 * redisplay.c (add_glyph_rune): Call it.
15067 (redisplay_window): Reset glyphs cachels when frame faces have
15068 changed, thus forcing recomputation of built-in border glyphs.
15070 2000-01-30 Martin Buchholz <martin@xemacs.org>
15072 * Makefile.in.in: Make portable dumper and purify play well together.
15073 Add imperfect, but better than nothing, support for pdump.
15074 Remove xemacs.dmp when temacs is re-generated.
15075 Don't ignore errors when dumping xemacs.
15077 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15079 2000-01-28 Andy Piper <andy@xemacs.org>
15081 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15082 (setup_normal_frame): ditto.
15083 (setup_frame_without_minibuffer): ditto.
15084 (setup_minibuffer_frame): ditto.
15085 (delete_frame_internal): ditto.
15086 (Fmake_frame_invisible): ditto.
15087 (Ficonify_frame): ditto.
15089 * window.h: change Fset_window_buffer signature.
15091 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15092 (Fset_window_buffer): allow recording of buffer if the window is
15093 the selected window.
15094 (window_loop): Use new Fset_window signature.
15096 2000-01-23 Daniel Pittman <daniel@danann.net>
15098 * config.h.in: Added template for `HAVE_ATHENA_3D'
15100 2000-01-29 Andy Piper <andy@xemacs.org>
15102 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15104 * gutter.c (output_gutter): Don't output if the window isn't live.
15106 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15108 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15109 of 01/12/00: Moved SetFocus back here where it belongs.
15111 2000-01-23 Andy Piper <andy@xemacs.org>
15113 * s/cygwin32.h: declare printer things.
15115 2000-01-26 Andy Piper <andy@xemacs.org>
15117 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15120 2000-01-24 Andy Piper <andy@xemacs.org>
15122 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15123 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15125 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15127 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15129 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15131 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15132 (mswindows_output_display_block): Avoid local shadows.
15134 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15135 (mswindows_enqueue_mouse_button_event): ditto.
15136 (mswindows_handle_gui_wm_command): remove declaration.
15138 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15141 * console-msw.h: Avoid shadows.
15142 (mswindows_get_toolbar_button_text):
15143 (emacs_mswindows_create_stream_pair):
15144 (emacs_mswindows_delete_stream_pair):
15145 (mswindows_handle_toolbar_wm_command): declare.
15147 * device-msw.c (build_syscolor_string): Avoid shadows.
15149 2000-01-23 Andy Piper <andy@xemacs.org>
15151 * glyphs-widget.c (widget_instantiate): reverse the items for
15152 layouts so that children are in the expected order.
15154 2000-01-28 Martin Buchholz <martin@xemacs.org>
15156 * ralloc.c: safe_bcopy ==> memmove
15157 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15158 * s/msdos.h: Remove BCOPY macros.
15159 * insdel.c (gap_right): Remove BCOPY conditional code.
15160 * insdel.c (gap_left): Remove BCOPY conditional code.
15161 XEmacs demands a working ANSI C compiler - hence memmove.
15163 * regex.c (regex_compile): Remove accidental use of trigraphs.
15165 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15167 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15170 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15172 * event-msw.c (mswindows_drain_windows_queue): Added the
15174 (mswindows_need_event): Commented the call to
15175 mswindows_drain_windows_queue().
15176 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15179 * console-msw.h: Moved a few function prototypes here from
15182 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15183 parameter from unsigned short to unsigned long.
15184 (Fmswindows_shell_execute): Added return value.
15186 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15188 * sysdep.c (init_system_name):
15189 process-unix.c (unix_canonicalized_host_name):
15190 Don't call freeaddrinfo() if getaddrinfo() fails.
15192 * process-unix.c (unix_open_unix_network_stream):
15193 Moved the code to get a port # into address loop.
15195 2000-01-27 Martin Buchholz <martin@xemacs.org>
15197 * buffer.c (reinit_vars_of_buffer):
15198 The right place to initialize conversion_in_dynarr and
15199 conversion_out_dynarr.
15201 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15203 * process-unix.c (unix_canonicalize_host_name): Muleize.
15204 (unix_open_network_stream): Muleize.
15206 * buffer.h: Fix up prototypes for ralloc.c functions.
15208 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15209 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15210 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15211 instead of gethostbyname()
15212 * process-unix.c: In unix_canonicalize_host_name() and
15213 unix_open_network_stream(), add code to use getaddrinfo()
15214 instead of gethostbyname().
15216 2000-01-27 Daniel Pittman <daniel@danann.net>
15218 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15219 libs when built with flat Athena.
15221 2000-01-27 Martin Buchholz <martin@xemacs.org>
15223 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15224 Use coding standards for function prototypes.
15226 2000-01-25 Martin Buchholz <martin@xemacs.org>
15228 * dialog-msw.c (push_lisp_string_as_unicode):
15229 * doc.c (unparesseuxify_doc_string):
15230 * dired.c (Fuser_name_completion_1):
15231 * dired.c (Fuser_name_all_completions):
15232 * dired.c (free_user_cache):
15233 * dired.c (user_name_completion):
15234 * console-x.c (get_display_arg_connection):
15235 * minibuf.c (clear_echo_area_internal):
15236 * minibuf.c (echo_area_append):
15237 * eldap.c (Fldap_open):
15238 * eldap.c (Fldap_search_internal):
15239 * frame-x.c (x_set_frame_text_value):
15240 * frame-x.c (x_set_frame_properties):
15241 * frame-x.c (x_create_widgets):
15242 * redisplay-tty.c (term_get_fkeys_1):
15243 * objects-x.c (x_parse_nearest_color):
15244 * objects-x.c (x_valid_color_name_p):
15245 * objects-x.c (x_initialize_font_instance):
15246 * objects-x.c (x_list_fonts):
15247 * objects-x.c (x_find_charset_font):
15248 * tooltalk.c (Fadd_tooltalk_message_arg):
15249 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15250 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15251 * process-unix.c (unix_create_process):
15252 * ntproc.c (sys_spawnve):
15253 * sound.c (Fplay_sound_file):
15254 * sound.c (Fplay_sound):
15255 * buffer.c (init_initial_directory):
15256 * buffer.c (init_buffer):
15257 * editfns.c (init_editfns):
15258 * editfns.c (Ftemp_directory):
15259 * editfns.c (Fuser_full_name):
15260 * editfns.c (uncache_home_directory):
15261 * editfns.c (get_home_directory):
15262 * editfns.c (Fuser_home_directory):
15263 * editfns.c (Fformat_time_string):
15264 * editfns.c (Fcurrent_time_string):
15265 * gui-x.c (button_item_to_widget_value):
15266 * database.c (Fopen_database):
15267 * event-Xt.c (x_to_emacs_keysym):
15268 * event-Xt.c (x_event_to_emacs_event):
15269 * event-Xt.c (describe_event_window):
15270 * event-msw.c (mswindows_wnd_proc):
15271 * glyphs-eimage.c (jpeg_instantiate):
15272 * glyphs-eimage.c (gif_instantiate):
15273 * glyphs-eimage.c (png_instantiate):
15274 * glyphs-eimage.c (tiff_instantiate):
15275 * glyphs-x.c (xbm_instantiate_1):
15276 * glyphs-x.c (x_xbm_instantiate):
15277 * glyphs-x.c (x_xface_instantiate):
15278 * glyphs-x.c (autodetect_instantiate):
15279 * glyphs-x.c (cursor_font_instantiate):
15280 * glyphs-x.c (x_widget_instantiate):
15281 * glyphs-x.c (x_widget_set_property):
15282 * glyphs-x.c (x_widget_property):
15283 * glyphs-x.c (BUILD_GLYPH_INST):
15284 * print.c (write_string_to_stdio_stream):
15285 * print.c (output_string):
15286 * print.c (Falternate_debugging_output):
15287 * print.c (Fexternal_debugging_output):
15288 * glyphs-msw.c (extract_xpm_color_names):
15289 * glyphs-msw.c (mswindows_xpm_instantiate):
15290 * glyphs-msw.c (bmp_instantiate):
15291 * glyphs-msw.c (resource_name_to_resource):
15292 * glyphs-msw.c (mswindows_resource_instantiate):
15293 * glyphs-msw.c (xbm_instantiate_1):
15294 * glyphs-msw.c (mswindows_xbm_instantiate):
15295 * glyphs-msw.c (mswindows_xface_instantiate):
15296 * glyphs-msw.c (mswindows_widget_instantiate):
15297 * glyphs-msw.c (add_tree_item):
15298 * glyphs-msw.c (add_tab_item):
15299 * glyphs-msw.c (mswindows_combo_box_instantiate):
15300 * glyphs-msw.c (mswindows_widget_property):
15301 * glyphs-msw.c (mswindows_combo_box_property):
15302 * glyphs-msw.c (mswindows_widget_set_property):
15303 * console.c (stuff_buffered_input):
15304 * objects-msw.c (mswindows_initialize_color_instance):
15305 * objects-msw.c (mswindows_valid_color_name_p):
15306 * objects-msw.c (mswindows_list_fonts):
15307 * objects-msw.c (mswindows_font_instance_truename):
15308 * bytecode.c (optimize_compiled_function):
15309 * select-x.c (symbol_to_x_atom):
15310 * select-x.c (x_atom_to_symbol):
15311 * select-x.c (hack_motif_clipboard_selection):
15312 * select-x.c (selection_data_to_lisp_data):
15313 * select-x.c (lisp_data_to_selection_data):
15314 * select-x.c (Fx_get_cutbuffer_internal):
15315 * select-x.c (Fx_store_cutbuffer_internal):
15316 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15317 * buffer.h (TO_INTERNAL_FORMAT): New function.
15318 * emacs.c (make_arg_list_1):
15319 * emacs.c (make_argc_argv):
15320 * emacs.c (main_1):
15321 * emacs.c (Fdump_emacs):
15322 * emacs.c (split_string_by_emchar_1):
15327 * device-x.c (x_init_device):
15328 * device-x.c (Fx_valid_keysym_name_p):
15329 * device-x.c (Fx_get_font_path):
15330 * device-x.c (Fx_set_font_path):
15331 * glyphs.c (bitmap_to_lisp_data):
15332 * glyphs.c (pixmap_to_lisp_data):
15333 * alloc.c (make_ext_string): Use coding system arguments. Update
15335 * alloc.c (build_string):
15336 * callproc.c (child_setup):
15337 * callproc.c (init_callproc):
15338 * fileio.c (lisp_strerror):
15339 * fileio.c (directory_file_name):
15340 * fileio.c (Fexpand_file_name):
15341 * fileio.c (Ffile_truename):
15342 * fileio.c (Fsysnetunam):
15343 * fileio.c (Fdo_auto_save):
15344 * sysdep.c (sys_readdir):
15345 * tests.c: New file. Allow adding C tests.
15346 Replace GET_* macros with a more comprehensible and flexible
15347 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15349 Any coding system can be used to do format conversion.
15350 Eliminate enum external_data_format.
15351 Eliminate convert_to_external_format.
15352 Eliminate convert_to_internal_format.
15353 Make sure file-name, keyboard, terminal, and ctext are always
15354 defined as coding systems or aliases. Make
15355 file-name-coding-system, terminal-coding-system, and
15356 keyboard-coding-system magical variables that are equivalent to
15357 defining the corresponding coding system aliases.
15359 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15360 * file-coding.c (Fcoding_system_alias_p): New function.
15361 * file-coding.c (Fcoding_system_aliasee): New function.
15362 * file-coding.c (append_suffix_to_symbol): New function.
15363 * file-coding.c (dangling_coding_system_alias_p): New function.
15364 * file-coding.c (Ffind_coding_system):
15365 * file-coding.c (Fcopy_coding_system):
15366 * file-coding.c (encode_coding_no_conversion):
15367 * file-coding.c (syms_of_file_coding):
15368 * file-coding.c (vars_of_file_coding):
15369 Rewrite coding system alias code.
15370 Allow nested aliases, like symbolic links.
15371 Allow redefinition of coding system aliases.
15372 Prevent existence of dangling coding system aliases.
15374 * dired.c (Fuser_name_completion_1):
15375 * dired.c (Fuser_name_all_completions):
15376 A crash would happen if user did QUIT in the middle of building
15377 user_name_cache. Remove redundant code in mainline and unwind_protect.
15380 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15382 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15383 an unsigned char *. Update all callers.
15385 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15387 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15389 2000-01-25 Martin Buchholz <martin@xemacs.org>
15391 * elhash.c (hentry_description): Use more portable definition.
15392 (resize_hash_table): Initialize new hentries using
15393 xnew_array_and_zero, thereby simplifying the code.
15395 * mule-charset.c (make_charset): Make sure entire object is
15396 initialized, to avoid Purify warnings.
15398 * alloc.c (resize_string): Fix unlikely crash with big strings.
15400 2000-01-24 Martin Buchholz <martin@xemacs.org>
15402 * realpath.c (xrealpath):
15403 Don't call getwd().
15405 2000-01-25 Martin Buchholz <martin@xemacs.org>
15407 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15409 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15411 * unexelfsgi.c (unexec): Change the way we decide which segment
15412 should be extended.
15414 Assumption that .bss section should be outside the PT_LOADable
15415 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15416 it's present) is inside the 'data' segment. This would fail the
15417 test which was used to find a segment to grow and cover new
15418 heap. Instead of this assumption, I created another one - on IRIX
15419 the segment to grow should start below .bss and it's address
15420 should extent above the end of .bss. Once this segment is
15421 identified, it's grown to accommodate the new heap and new
15422 zero-length .bss section is added at the end of .data2.
15424 2000-01-25 Martin Buchholz <martin@xemacs.org>
15426 * eval.c (Feval): Wrong number of arguments should use original
15427 function, not the indirect_function version of it.
15429 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15431 * glyphs-x.c (x_button_instantiate): Don't add image if
15432 it is not a pixmap.
15433 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15436 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15438 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15440 (DEFVAR_INT_MAGIC): Ditto.
15441 (DEFVAR_BOOL_MAGIC): Ditto.
15442 * glyphs.h: Reindent backslash.
15444 2000-01-24 Martin Buchholz <martin@xemacs.org>
15446 * glyphs-widget.c (layout_query_geometry):
15447 (layout_layout): Use correct types for gheight, gwidth.
15449 2000-01-24 Martin Buchholz <martin@xemacs.org>
15451 * EmacsManager.c (QueryGeometry): Purified.
15453 2000-01-23 Martin Buchholz <martin@xemacs.org>
15455 * alloc.c (make_float): Make sure entire object is initialized, to
15456 avoid Purify warnings.
15457 (pdump_register_sub): Remove useless assignment.
15458 (pdump): Use xmalloc, not malloc.
15459 (pdump_load): Use xmalloc, not malloc.
15461 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15468 * sysdep.c: Removed redundant #include <windows.h>
15470 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15472 * frame.c (delete_frame_internal): Do not delete device when its
15473 implementation so declares.
15474 (delete_frame_internal): Set device selected frame to nil when
15475 last frame goes away.
15477 * device-msw.c (msprinter_device_system_metrics): Implemented.
15478 (mswindows_device_system_metrics): Added 'device-dpi property.
15480 * device.c: (Fdevice_printer_p): Added.
15481 Added 'offset-workspace device metric.
15483 * console.h (device_metrics): Declared DM_offset_workspace.
15485 2000-01-23 Martin Buchholz <martin@xemacs.org>
15487 * fileio.c (Ffile_truename): Remove pointless and confusing
15488 initialization of elen.
15490 * glyphs-widget.c: Compiler warning fixes.
15492 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15494 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15495 instead of a Lisp_Object as argument to make it consistent with
15496 the other LIVE_P macros.
15497 (CHECK_LIVE_PROCESS): New macro.
15499 * process.c: Declare Qprocess_live_p.
15500 (Fprocess_live_p): New function.
15501 (create_process): Use PROCESS_LIVE_P.
15502 (read_process_output): Ditto.
15503 (set_process_filter): Ditto.
15504 (Fdelete_process): Ditto.
15505 (kill_buffer_processes): Ditto
15506 (process_send_signal): Use CHECK_LIVE_PROCESS.
15507 (Fprocess_input_coding_system): Check whether process is still
15508 alive (fix PR#1061).
15509 (Fprocess_output_coding_system): Ditto.
15510 (Fprocess_coding_system): Ditto.
15511 (Fset_process_input_coding_system): Ditto.
15512 (Fset_process_output_coding_system): Ditto.
15514 2000-01-23 Andy Piper <andy@xemacs.org>
15516 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15519 * glyphs.c (mark_image_instance): take into account changed
15520 image_instance format.
15521 (image_instance_equal): ditto.
15522 (image_instance_hash): ditto.
15524 * glyphs-widget.c (widget_instantiate): Incorporate layout
15525 instantiation here. Delay layout of the layout until later.
15526 (layout_instantiate): deleted.
15527 (layout_query_geometry): new function. get the geometry of a
15529 (layout_layout): layout a layout dynamically.
15530 (image_instantiator_widget): New function - splitting up
15531 image_instantiator_format_create_glyphs_widget for netwinder
15533 (image_instantiator_buttons):
15534 (image_instantiator_edit_fields):
15535 (image_instantiator_combo_box):
15536 (image_instantiator_scrollbar):
15537 (image_instantiator_progress_guage):
15538 (image_instantiator_tree_view):
15539 (image_instantiator_tab_control):
15540 (image_instantiator_labels):
15541 (image_instantiator_layout): ditto.
15542 (image_instantiator_format_create_glyphs_widget): Call preceding
15545 2000-01-22 Martin Buchholz <martin@xemacs.org>
15547 * process.c (Fset_process_coding_system):
15548 * device-x.c (Fx_keysym_hash_table):
15551 * lstream.c (Lstream_write): Return documented value, not 0.
15553 * fileio.c (directory_file_name):
15554 (Fsubstitute_in_file_name):
15555 (Fsubstitute_insert_file_contents_internal):
15556 (Fwrite_region_internal):
15561 Remove vestigial APOLLO-conditional code.
15563 2000-01-21 Martin Buchholz <martin@xemacs.org>
15565 * getpagesize.h: Add guard macros.
15566 * libsst.h: Add guard macros.
15567 * libst.h: Add guard macros.
15568 * line-number.h: Add guard macros.
15569 * ndir.h: Add guard macros.
15570 * sysfloat.h: Add guard macros.
15571 * sysfile.h: Add guard macros.
15572 * sysproc.h: Add guard macros.
15573 * syswait.h: Add guard macros.
15574 * xintrinsic.h: Add guard macros.
15575 * xintrinsicp.h: Add guard macros.
15576 * xmmanager.h: Add guard macros.
15577 * xmmanagerp.h: Add guard macros.
15578 * xmprimitive.h: Add guard macros.
15579 * xmu.h: Add guard macros.
15580 * gpmevent.h: Add copyright statement. Add guard macros.
15581 * miscplay.h: Add guard macros.
15582 * *.h: Use consistent C-standards-approved guard macro names.
15584 * opaque.c (make_opaque): Switch parameter order.
15585 * opaque.h (make_opaque): Switch parameter order.
15586 Update all callers.
15587 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15589 * config.h.in (type_checking_assert): Added.
15590 (bufpos_checking_assert): Added.
15592 2000-01-21 Martin Buchholz <martin@xemacs.org>
15594 * alloc.c: Harmless pdump changes.
15596 - spell alignment correctly.
15597 * sysdep.c: Use countof()
15599 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15601 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15602 initially_selected_for_input() console method, default to 0.
15603 (semi_canonicalize_console_connection): Try to delegate to
15604 canonicalize_console_connection if no such console method.
15605 (canonicalize_console_connection): Vice versa.
15606 (print_console): Do not print nil connection.
15608 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15609 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15610 (XDEVIMPF_FRAMELESS_OK): Added.
15611 (CONSOLE_INHERITS_METHOD): Added.
15613 * console-msw.c (mswindows_canonicalize_console_connection):
15615 (mswindows_canonicalize_device_connection): Added.
15617 * console-msw.h (struct msprinter_device): Added this struct and
15619 (mswindows_device): Made fontlist a lisp object.
15621 * device.c (semi_canonicalize_device_connection): Try to delegate
15622 to canonicalize_device_connection if no such console method.
15623 (canonicalize_device_connection): Vice versa.
15624 (print_device): Do not print nil connection.
15626 * device-msw.c (mswindows_init_device): Call InitCommonControls
15628 (mswindows_delete_device): Removed fontlist deallocation.
15629 (mswindows_mark_device): Added.
15631 * events.c (event_equal): Added abort() at unreached code.
15632 (event_hash): Ditto.
15634 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15635 fallback tags of Windows devices.
15637 * general.c (syms_of_general): Initialized Qmsprinter.
15639 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15640 of fallback tags of Windows devices.
15642 * lisp.h: Declared Qmsprinter.
15644 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15646 (mswindows_list_fonts): Ditto.
15647 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15648 that it can be used by both mswindows and msprinter devices.
15649 (initialize_font_instance): Added.
15650 (mswindows_initialize_font_instance): Use it.
15651 (msprinter_initialize_font_instance): Added.
15653 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15654 and implementation flags check.
15655 (redisplay_without_hooks): Changed the call to the above.
15656 (Fredraw_device): Ditto.
15657 (Fredisplay_device): Ditto.
15659 * redisplay-msw.c (get_frame_dc): Implemented.
15660 (get_frame_compdc): Implemented.
15661 (many functions): Use the two functions above to get device
15662 contexts, ether for a window or a printer.
15664 2000-01-21 Olivier Galibert <galibert@pobox.com>
15666 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15667 initialization here.
15668 (init_symbols_once_early): Call it.
15669 * emacs.c (main_1): Call it.
15670 * symsinit.h: Declare it.
15672 2000-01-19 Olivier Galibert <galibert@pobox.com>
15674 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15676 (pdump_backtrace): Ditto.
15677 (pdump_register_object): Ditto. Cleanup use of the pointers.
15678 (pdump_get_entry): Abort if trying to register a null pointer.
15679 (pdump_dump_data): Cleanup types when relocating.
15680 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15681 (pdump_dump_rtables): Remove bad casts.
15682 (pdump_load): Cleanup relocation w.r.t union type. Use a
15683 Lisp_Object instead of a EMACS_INT for the hashtable
15686 2000-01-20 Martin Buchholz <martin@xemacs.org>
15688 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15690 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15692 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15694 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15696 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15698 * faces.h (FACE_STRIKETHRU_P): Added.
15700 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15703 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15704 (mswindows_set_dc_font): New function, aware of font variants,
15705 separated from mswindows_update_dc.
15707 * objects-msw.h (struct mswindows_font_instance_data): Added
15710 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15711 cached fonts and the data structure.
15712 (mswindows_initialize_font_instance): Added creation of font data
15714 (mswindows_print_font_instance): Print at least something.
15715 (mswindows_create_font_variant): Implemented.
15716 (mswindows_get_hfont): Implemented.
15718 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15720 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15721 prototyping problem with msvc.
15723 * emacs.c (main_1): added syms_of_gui_mswindows() call
15725 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15726 syms_of_gui_mswindows() function
15728 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15730 2000-01-18 Martin Buchholz <martin@xemacs.org>
15732 * XEmacs 21.2.27 is released.
15734 2000-01-18 Martin Buchholz <martin@xemacs.org>
15736 * glyphs-eimage.c (struct tiff_error_struct):
15738 (tiff_warning_func):
15739 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15744 * unexec.c: Remove vestigial Lucid C code.
15748 * libsst.c: Ansify.
15749 Remove declarations of errno and strerror().
15751 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15753 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15755 2000-01-16 Martin Buchholz <martin@xemacs.org>
15757 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15760 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15765 Change enum eol_type to eol_type_t.
15767 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15769 * gui.c (get_gui_callback): Check cons before accessing car.
15771 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15773 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15774 (XSETSPECIFIER_TYPE): Ditto.
15776 2000-01-17 Didier Verna <didier@xemacs.org>
15778 * redisplay.c (generate_fstring_runes): compute string size in
15779 characters, not bytes.
15781 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15783 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15785 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15787 * print.c (print_error_message): Call print_prepare().
15789 2000-01-14 Martin Buchholz <martin@xemacs.org>
15791 * .dbxrc: Renamed from dbxrc.
15793 * events.c (event_to_character):
15794 Use `assert (foo)' instead of `if (!foo) abort()'
15796 * .gdbinit (xtype): Add documentation.
15797 * .gdbinit (check-temacs): New function.
15798 * .gdbinit (check-xemacs): New function.
15799 * dbxrc (check-xemacs): New function.
15800 * dbxrc (check-xemacs): New function.
15802 2000-01-14 Andy Piper <andy@xemacs.org>
15804 * glyphs-widget.c (widget_query_geometry): Make sure that we
15805 calculate default dimensions correctly.
15807 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15809 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15811 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15812 pdump_wire'd variable.
15814 * emacs.c: (main_1): Conditionalized calls to
15815 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15817 2000-01-13 Martin Buchholz <martin@xemacs.org>
15819 * window.c (Fset_window_configuration):
15820 * sysdep.c (_start):
15821 * input-method-motif.c (res):
15822 * event-Xt.c (Xt_process_to_emacs_event):
15823 Simple compiler warning fixes.
15825 * bytecode.c (funcall_compiled_function): Use the original
15826 function symbol on the backtrace list in preference to the
15827 compiled_function object in error messages.
15829 2000-01-13 Andy Piper <andy@xemacs.org>
15831 * glyphs-x.c (update_widget_face): Make sure we update the widget
15832 background as well as foreground.
15834 2000-01-13 Andy Piper <andy@xemacs.org>
15836 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15837 fields to subwindow.
15838 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15839 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15840 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15841 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15843 * glyphs-widget.c (check_valid_tab_orientation): new function.
15844 (initialize_widget_image_instance): zero orientation and
15846 (widget_instantiate): pick up orientation.
15847 (tab_control_query_geometry): return appropriate values for
15850 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15851 appropriate creation flags for left, right and bottom tabs.
15853 * s/cygwin32.h: add tab definitions.
15855 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15857 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15858 frame upon hiding a subwindow.
15859 (mswindows_button_instantiate): Changed the push button style to
15861 (mswindows_button_instantiate): Removed button BS_NOTIFY
15863 (mswindows_button_instantiate): Removed redundant check for
15864 a disabled gui item.
15865 (mswindows_button_instantiate): Made use of WS_TABSTOP
15866 consistent: "operable" controls (edit, button, tree, scroll) have
15867 this style, "display-only" ones (static, progress gauge) do
15868 not. This style is currently ignored by XEmacs though. Also,
15869 removed the WS_EX_CONTROLPARENT style - it is not for children,
15870 it is for their parents!
15871 (mswindows_edit_field_instantiate): Ditto.
15872 (mswindows_progress_gauge_instantiate): Ditto.
15873 (mswindows_tree_view_instantiate): Ditto.
15874 (mswindows_tab_control_instantiate): Ditto.
15875 (mswindows_scrollbar_instantiate): Ditto.
15876 (mswindows_combo_box_instantiate): Ditto.
15877 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15878 style to the "clip" window.
15879 (mswindows_button_instantiate): Removed compilation warning by
15880 equally typing terms of the ?: operator.
15882 2000-01-12 Didier Verna <didier@xemacs.org>
15884 * redisplay.c (generate_fstring_runes): new parameter holding the
15885 last modeline-format extent.
15886 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15887 extent, fill the glyph block with it.
15888 (generate_fstring_runes): handle these parameters.
15889 (generate_formatted_string_db): ditto.
15891 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15892 glyphs'extents in the modeline.
15894 1999-01-11 Mike Woolley <mike@bulsara.com>
15896 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15897 256Mb, as a workaround for the non-starting problem many people
15900 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15902 * console-tty.c (Fset_console_tty_output_coding_system):
15903 Force redrawing tty frame.
15905 2000-01-10 Didier Verna <didier@xemacs.org>
15907 * redisplay.c (generate_fstring_runes): fix size computation bug.
15909 2000-01-09 William M. Perry <wmperry@aventail.com>
15911 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15913 2000-01-09 Andy Piper <andy@xemacs.org>
15915 * glyphs-msw.c: index -> i to avoid shadows.
15916 (xbm_create_bitmap_from_data): make static.
15917 (check_valid_string_or_int): deleted.
15918 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15920 * glyphs-x.c (x_update_subwindow): remove unused args.
15922 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15923 back pointer - this is done in allocate_image_instance.
15924 (query_string_font): return Qnil to make the compiler happy.
15925 (unmap_subwindow): set to ~0 to make the compiler happy.
15926 (glyph_query_geometry): comment out until used.
15927 (glyph_layout): ditto.
15929 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15931 * insdel.c (signal_after_change): Remove extraneous unbind_to().