1 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Fsave_charset_mapping_table): Use
4 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
5 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
6 `chise_ccs_sync' instead of `chise_ccst_close'.
7 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
9 * chartab.c (open_chise_data_source_maybe): Modify for
10 `chise_open_data_source'.
11 (char_table_open_db_maybe): Modify for
12 `chise_ds_open_feature_table'.
14 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
16 * mule-charset.c (load_char_decoding_entry_maybe): Use
17 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
20 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
22 * mule-charset.c (Fsave_charset_mapping_table): Use
23 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
24 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
25 `chise_dt_put_char' and `chise_dt_close'.
26 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
27 `chise_ccs_decode' and `chise_ccst_close' instead of
28 `chise_ds_open_decoding_table', `chise_dt_get_char' and
31 * chartab.c (char_table_get_db): Use
32 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
33 (load_char_attribute_table_map_func): Modify for
34 `chise_char_feature_value_iterate'.
35 (Fload_char_attribute_table): Use
36 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
38 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
40 * chartab.c (put_char_table): Modify for inherited coded-charsets
43 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
45 * chartab.c (Fput_char_table_map_function): Fixed.
46 (word_boundary_p): Don't check charset in XEmacs CHISE.
48 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
50 * mule-charset.c (Fsave_charset_mapping_table): Use
51 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
52 instead of `chise_open_decoding_table'; refer
53 `default_chise_data_source'; use `chise_dt_close' instead of
54 `chise_close_decoding_table'.
55 (load_char_decoding_entry_maybe): Likewise.
57 * chartab.c (default_chise_data_source): New variable when `CHISE'
59 (Fcopy_char_table): `ct->ds' is deleted.
60 (open_chise_data_source_maybe): New function.
61 (Fclose_char_data_source): New function.
62 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
63 use `chise_ds_open_feature_table' instead of
64 `chise_open_feature_table'.
65 (char_table_close_db_maybe): Use `chise_ft_close' instead of
66 `chise_close_feature_table'; `cit->ds' is deleted.
67 (syms_of_chartab): Add new builtin function
68 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
70 * chartab.h (default_chise_data_source): New extern variable.
71 (open_chise_data_source_maybe): New prototype.
72 (struct Lisp_Char_Table): Delete `ds'.
74 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
76 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
79 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
81 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
82 not defined; add code for non-libchise setting.
83 (char_table_close_db_maybe): Likewise.
84 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
86 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
87 even if `CHISE' is not defined.
88 (Freset_char_attribute_table): Likewise.
89 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
90 `char_table_close_db_maybe' even if `CHISE' is not defined; use
92 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
93 `char_table_close_db_maybe' even if `CHISE' is not defined.
95 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
97 * chartab.c (char_table_open_db_maybe): New function.
98 (char_table_close_db_maybe): New function.
99 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
100 (Freset_char_attribute_table): Likewise.
101 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
102 `char_table_close_db_maybe'.
103 (Fload_char_attribute_table): Likewise.
105 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
107 * chartab.c: Don't include <chise.h> because it is included in
109 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
111 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
113 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
115 (Fclose_char_attribute_table): Close `ct->feature_table' and
116 `ct->ds' when `CHISE' is defined.
117 (Freset_char_attribute_table): Likewise.
118 (load_char_attribute_maybe): Use `cit->ds' and
119 `cit->feature_table' when `CHISE' is defined.
120 (Fload_char_attribute_table): Likewise.
122 * chartab.h: Include <chise.h> when `CHISE' is defined.
123 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
124 when `CHISE' is defined.
126 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
128 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
130 (char_table_description): Likewise.
131 (Fmake_char_table): Likewise.
132 (Fcopy_char_table): Likewise.
133 (Fmount_char_attribute_table): Likewise.
134 (Fclose_char_attribute_table): Likewise.
135 (Freset_char_attribute_table): Likewise.
136 (load_char_attribute_maybe): Likewise.
137 (Fload_char_attribute_table): Likewise.
139 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
142 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
144 * chartab.c (load_char_attribute_table_map_func): New function
145 when CHISE is defined.
146 (Qload_char_attribute_table_map_function): Don't define when CHISE
148 (Fload_char_attribute_table_map_function): Likewise.
149 (Fload_char_attribute_table): Use libchise when `CHISE' is
151 (syms_of_chartab): Don't define
152 `load-char-attribute-table-map-function' when CHISE is defined.
154 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
156 * chartab.c: Include <chise.h> when `CHISE' is defined.
157 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
159 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * mule-charset.c (charset_code_point): Fix problem when searching
162 in mother CCS fails with `defined_only' mode.
164 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
166 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
167 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
168 (put_char_composition): Likewise.
169 (Fput_char_attribute): Likewise.
170 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
172 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
174 * chartab.c (Q_ucs): Deleted.
175 (Fput_char_attribute): Don't refer `->ucs'.
176 (Fdefine_char): Likewise.
177 (Ffind_char): Likewise.
178 (syms_of_chartab): Delete `->ucs'.
180 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
182 * mule-charset.c (Qmap_cns11643_2): Renamed from
183 `Qchinese_cns11643_2'.
184 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
185 `chinese-cns11643-2'.
186 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
189 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
191 * mule-charset.c (Qmap_cns11643_1): Renamed from
192 `Qchinese_cns11643_1'.
193 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
194 `chinese-cns11643-1'.
195 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
198 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
200 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
201 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
203 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
206 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
208 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
209 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
211 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
214 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
216 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
217 (syms_of_mule_charset): Add new symbol `=big5' instead of
219 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
221 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
224 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
226 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
229 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
231 * mule-charset.c (Qmap_jis_x0212): Renamed from
232 `Qjapanese_jisx0212'.
233 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
235 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
238 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
240 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
241 `Qjapanese_jisx0208'.
242 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
243 of `japanese-jisx0208'.
244 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
247 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
250 `Qjapanese_jisx0208_1978'.
251 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
252 of `japanese-jisx0208-1978'.
253 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
256 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
258 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
259 only for XEmacs CHISE.
261 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
263 * char-ucs.h: Compact non-ISO-IR charset-ids.
264 (LEADING_BYTE_UCS): Changed to -177.
265 (LEADING_BYTE_CONTROL_1): Changed to -77.
266 (LEADING_BYTE_UCS_BMP): Changed to -176.
267 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
269 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * mule-charset.c (Qiso_ir): New variable.
272 (Fmake_charset): Recognise new property `iso-ir'.
273 (syms_of_mule_charset): Add new symbol `iso-ir'.
275 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
277 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
278 n to -n; charset-id of non ISO-IR sets are changed to positive
281 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
283 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
284 for &MCS-XXXXXXXX; values.
286 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
288 * mule.c (Vxemacs_chise_version): Renamed from
290 (vars_of_mule): Add new variable `xemacs-chise-version'; define
291 `utf-2000-version' as an alias for `xemacs-chise-version'.
293 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
295 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
296 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
299 * config.h.in (CHISE): New macro.
301 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
303 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
305 (Qmap_ucs): New variable.
306 (syms_of_mule_charset): Add new symbol `=ucs'.
307 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
309 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
310 (simplify_char_spec): Likewise.
312 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
314 * char-ucs.h (Qmap_ucs): New extern variable.
316 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
319 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
320 don't define it when UTF2000 is not defined.
321 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
322 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
323 when UTF2000 is not defined.
324 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
325 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
327 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
329 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
331 * mule-charset.c (Vcharset_ucs_gb): Deleted.
333 (syms_of_mule_charset): Delete `ucs-gb'.
334 (complex_vars_of_mule_charset): Likewise.
336 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
338 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
340 * mule-charset.c (Vcharset_ucs_cns): Deleted.
342 (syms_of_mule_charset): Delete `ucs-cns'.
343 (complex_vars_of_mule_charset): Likewise.
345 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
349 * mule-charset.c (Vcharset_ucs_jis): Deleted.
351 (syms_of_mule_charset): Delete `ucs-jis'.
352 (complex_vars_of_mule_charset): Likewise.
354 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
356 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
358 * mule-charset.c (Vcharset_ucs_ks): Deleted.
360 (syms_of_mule_charset): Delete `ucs-ks'.
361 (complex_vars_of_mule_charset): Likewise.
363 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
365 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
366 (Qideograph_daikanwa_2): Deleted.
367 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
368 (complex_vars_of_mule_charset): Likewise.
370 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
371 (LEADING_BYTE_DAIKANWA_1): Deleted.
372 (LEADING_BYTE_DAIKANWA_2): Deleted.
373 (MIN_CHAR_DAIKANWA): Deleted.
374 (MAX_CHAR_DAIKANWA): Deleted.
376 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
378 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
379 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
380 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
382 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
383 (Vcharset_ideograph_daikanwa): Deleted.
384 (Qideograph_hanziku_{1..12}): Deleted.
385 (Qideograph_daikanwa): Deleted.
386 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
387 Vcharset_ideograph_daikanwa.
388 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
389 `ideograph-hanziku-{1..12}'.
390 (complex_vars_of_mule_charset): Likewise.
392 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
394 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
396 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
397 (Qideograph_gt_pj_{1..11}): Deleted.
398 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
399 (complex_vars_of_mule_charset): Likewise.
401 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
403 * mule-charset.c (Vcharset_ucs_big5): Deleted.
404 (Vcharset_ideograph_gt): Deleted.
405 (Qucs_big5): Deleted.
406 (Qideograph_gt): Deleted.
407 (syms_of_mule_charset): Delete symbol `ucs-big5' and
409 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
412 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
413 (LEADING_BYTE_GT): Deleted.
414 (MIN_CHAR_GT): Deleted.
415 (MAX_CHAR_GT): Deleted.
417 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
419 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
421 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
423 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
424 (save_uint16_byte_table): Likewise.
425 (save_byte_table): Likewise; convert values by it.
426 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
427 for `ideographic-structure'.
428 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
429 as the filter for `ideographic-structure'.
431 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
433 * chartab.c (put_char_composition): New function.
434 (Fput_char_attribute): Use `put_char_composition'; use
435 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
437 * fns.c (simplify_char_spec): New function.
438 (char_ref_simplify_spec): New function.
439 (Fchar_refs_simplify_char_specs): New function.
440 (syms_of_fns): Add new builtin function
441 `char-refs-simplify-char-specs'.
443 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
445 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
446 (Qideograph_cbeta): Deleted.
447 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
448 (complex_vars_of_mule_charset): Likewise.
450 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
451 (MIN_CHAR_CBETA): Comment out.
452 (MAX_CHAR_CBETA): Likewise.
454 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
456 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
457 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
458 CHISE client feature.
460 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
462 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
464 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
466 * mule-charset.c (charset_lookup_description_1): Use
467 `NUM_LEADING_BYTES' in UTF-2000.
469 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
471 * char-ucs.h (GC_CHARSETP): Deleted.
473 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * char-ucs.h (MAX_CHAR_GT): Updated.
477 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
479 * text-coding.c: Sync with XEmacs 21.4.10.
481 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
483 * mule-charset.c (Vcharset_china3_jef): Deleted.
484 (Qchina3_jef): Deleted.
485 (syms_of_mule_charset): Don't define `china3-jef'.
486 (complex_vars_of_mule_charset): Likewise.
488 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
489 (MIN_CHAR_CHINA3_JEF): Comment out.
490 (MAX_CHAR_CHINA3_JEF): Comment out.
492 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * mule-charset.c (Vcharset_ucs_gb): New variable.
495 (Qucs_gb): New variable.
496 (syms_of_mule_charset): Add new symbol `ucs-gb'.
497 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
499 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
501 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * mule-charset.c (charset_code_point): if a coded-charset has a
504 final-byte, don't inherit the builtin range of the mother CCS.
506 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * mule-charset.c (charset_code_point): Fix problem about
511 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
513 * mule-charset.c (decode_builtin_char): Reorganized.
515 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
517 * text-coding.c (char_encode_as_entity_reference): Modify for
518 `charset_code_point'.
519 (char_encode_shift_jis): Likewise.
520 (char_encode_big5): Likewise.
521 (char_encode_utf8): Likewise.
522 (char_encode_iso2022): Likewise.
524 * mule-charset.c (charset_code_point): Add new argument
526 (Fencode_char): Add new optional argument `defined_only'.
528 * chartab.c (put_char_table): Modify for `charset_code_point'.
530 * char-ucs.h (charset_code_point): Add new argument
532 (encode_char_1): Modify for `charset_code_point'.
534 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
537 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
539 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
541 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
542 (Qjis_x0208): Likewise.
543 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
544 XCHARSET_FINAL(charset).
545 (charset_code_point): Modify condition for final-byte based
547 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
548 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
549 in UTF-2000; specify `=jis-x0208' as the mother of
550 `japanese-jisx0208-1978', `japanese-jisx0208' and
551 `japanese-jisx0208-1990' in UTF-2000.
553 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
555 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
557 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
559 * text-coding.c (decode_coding_utf16): Support UTF-16.
560 (char_encode_utf16): Fixed.
562 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
564 * text-coding.c (Qutf16): New variable in MULE.
565 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
566 (Fcoding_system_type): Add `utf-16' in MULE.
567 (struct detection_state): Add a structure for utf16 in MULE.
568 (detect_coding_type): Setup st->utf16.mask in MULE.
569 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
571 (reset_encoding_stream): Use `char_encode_utf16' and
572 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
573 (detect_coding_utf16): New function [incomplete].
574 (decode_coding_utf16): New function [support only UCS-2].
575 (char_encode_utf16): New function.
576 (char_finish_utf16): New function.
577 (syms_of_file_coding): Add new symbol `utf-16'; setup
578 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
580 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
582 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
583 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
585 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
587 * chartab.c (put_char_table): When a charset is specified as a
588 range in UTF-2000, don't support builtin characters.
590 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
592 * mule-charset.c (decode_defined_char): Don't refer external
593 database if Qunbound or Qnil are found.
594 (Fsave_charset_mapping_table): Don't define it if
595 HAVE_CHISE_CLIENT is not defined.
596 (Freset_charset_mapping_table): New function.
597 (load_char_decoding_entry_maybe): Store Qnil if a character is not
598 found in external database.
599 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
600 if HAVE_CHISE_CLIENT is not defined; add new builtin function
601 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
603 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
605 * text-coding.c (decode_coding_utf8): Check CCS is specified or
608 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
610 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
611 Q_lowercase, Q_uppercase in UTF-2000.
613 * chartab.c (get_char_table): Add special code for the standard
614 case table to use character attribute `->downcase' and
615 `->uppercase' for case operations in UTF-2000.
617 * casetab.c (Qflippedcase): New variable in UTF-2000.
618 (Q_lowercase): Likewise.
619 (Q_uppercase): Likewise.
620 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
621 and `->uppercase' in UTF-2000.
622 (complex_vars_of_casetab): Assign attribute name `downcase' to
623 downcase and CANON table of Vstandard_case_table in UTF-2000;
624 assign attribute name `flippedcase' to upcase and EQV table of
625 Vstandard_case_table in UTF-2000.
627 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
629 * text-coding.c (decode_add_er_char): Support isolated-chars.
630 (char_encode_as_entity_reference): Likewise.
632 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
634 * emacs.c (Vutf_2000_lisp_directory): New variable.
635 (Vconfigure_utf_2000_lisp_directory): Likewise.
636 (complex_vars_of_emacs): Add new variable
637 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
639 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
641 * char-ucs.h (DECODE_CHAR): Delete special code for
642 `chinese-big5-1' and `chinese-big5-2'.
644 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
646 (decode_defined_char): Support CONVERSION_BIG5_1 and
648 (decode_builtin_char): Likewise.
649 (charset_code_point): Likewise.
650 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
651 'conversion in UTF-2000.
652 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
653 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
654 `chinese-big5-2' as children of `chinese-big5'.
656 * char-ucs.h (CONVERSION_BIG5_1): New macro.
657 (CONVERSION_BIG5_2): New macro.
659 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
661 * text-coding.c (char_encode_big5): Support entity-reference.
663 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
665 * text-coding.c (char_encode_as_entity_reference): New function.
666 (char_encode_utf8): Use `char_encode_as_entity_reference'.
668 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
670 * text-coding.c (decode_coding_big5): Support entity-reference
673 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
675 * text-coding.c (allocate_coding_system): Initialize initial
676 charsets for CODESYS_UTF8.
677 (Fmake_coding_system): Accept charset-g0, charset-g1 and
678 charset-g2 for CODESYS_UTF8.
679 (decode_coding_utf8): Use charset-g0.
680 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
681 to force variants to map to UCS.
683 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * text-coding.c (Qutf_8_mcs): New variable.
686 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
687 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
688 instead of `utf-8' in UTF-2000.
690 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
692 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
693 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
694 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
695 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
696 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
697 CONVERSION_96x96x96x96 are introduced.
698 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
699 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
700 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
702 * char-ucs.h (CONVERSION_94): New macro.
703 (CONVERSION_96): New macro.
704 (CONVERSION_94x94): New macro.
705 (CONVERSION_96x96): New macro.
706 (CONVERSION_94x94x94): New macro.
707 (CONVERSION_96x96x96): New macro.
708 (CONVERSION_94x94x94x60): New macro.
709 (CONVERSION_94x94x94x94): New macro.
710 (CONVERSION_96x96x96x96): New macro.
712 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
714 * chartab.c (Vcharacter_variant_table): Deleted.
715 (Fchar_variants): Use character-attribute `->ucs-variants' instead
716 of `Vcharacter_variant_table'.
717 (Fput_char_attribute): Likewise.
718 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
719 (complex_vars_of_chartab): Likewise.
721 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
723 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
725 * fns.c (Qideographic_structure): New variable.
726 (Qkeyword_char): New variable.
727 (ids_format_unit): New function.
728 (Fideographic_structure_to_ids): New function.
729 (syms_of_fns): Add new symbols `ideographic-structure' and
730 `:char'; add new builtin function `ideographic-structure-to-ids'.
732 * data.c (Fchar_ref_p): New function.
733 (syms_of_data): Add new builtin function `char-ref-p'.
735 * chartab.h: Add an EXFUN for `Ffind_char'.
737 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
739 * text-coding.c (Vcharacter_composition_table): Deleted.
740 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
743 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
745 (Vcharacter_composition_table): Deleted.
746 (Fget_composite_char): Use the implementation for external-DB
747 support in every UTF-2000.
748 (Fput_char_attribute): Likewise.
749 (char_attribute_system_db_file): Don't define if external-DB
750 feature is not available.
751 (Fsave_char_attribute_table): Likewise.
752 (Fmount_char_attribute_table): Likewise.
753 (Fclose_char_attribute_table): Likewise.
754 (Freset_char_attribute_table): Likewise.
755 (Fload_char_attribute_table): Likewise.
756 (syms_of_chartab): Don't define `save-char-attribute-table',
757 `mount-char-attribute-table', `reset-char-attribute-table',
758 `close-char-attribute-table' and `load-char-attribute-table' if
759 external-DB feature is not available.
760 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
762 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
764 * text-coding.c (Qcomposition): Add extern if external-DB feature
766 (Vcharacter_composition_table): Don't add extern if external-DB
767 feature is supported.
768 (COMPOSE_ADD_CHAR): Modify for new data-representation of
769 character composition rule if external-DB feature is supported.
771 * chartab.c (Vcharacter_composition_table): Don't define if
772 external-DB feature is supported.
773 (Qcomposition): New variable.
774 (Fget_composite_char): New implementation for external-DB support.
775 (Fput_char_attribute): Use `composition' property of each
776 character instead of `Vcharacter_composition_table' to store
777 character-composition rules if external-DB feature is supported.
778 (syms_of_chartab): Add new symbol `composition'.
779 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
780 external-DB feature is supported.
782 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
784 * chartab.c (Vchar_db_stingy_mode): New variable.
785 (load_char_attribute_maybe): Close database if
786 Vchar_db_stingy_mode is not NIL.
787 (Fload_char_attribute_table_map_function): Use
788 `get_char_id_table_0' instead of `get_char_id_table'.
789 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
791 * chartab.h (get_char_id_table_0): New inline function.
792 (get_char_id_table): Use `get_char_id_table_0'.
794 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
796 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
797 and `COMPOSE_ADD_CHAR'.
798 (decode_coding_iso2022): Use `decode_flush_er_chars'.
800 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
802 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
803 instead of `DECODE_ADD_UCS_CHAR'.
804 (COMPOSE_ADD_CHAR): Likewise.
806 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
808 * text-coding.c (decode_flush_er_chars): New inline function.
809 (decode_add_er_char): New function.
810 (decode_coding_utf8): Use `decode_flush_er_chars' and
811 `decode_add_er_char'.
813 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
815 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
816 done before `decode_output_utf8_partial_char'.
818 * mule-charset.c (complex_vars_of_mule_charset): Specify
819 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
820 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
822 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
824 * mule-charset.c (decode_defined_char): New function; search
826 (decode_builtin_char): Don't search mother if
827 XCHARSET_MAX_CODE(charset) == 0.
828 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
829 == 0 even if code >= XCHARSET_MAX_CODE(charset).
830 (Fdecode_char): Use `decode_defined_char' instead of
831 `DECODE_DEFINED_CHAR'.
832 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
833 mother of `Vcharset_ucs_jis'.
835 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
836 instead of `DECODE_DEFINED_CHAR'.
838 * char-ucs.h (decode_defined_char): Renamed from
839 `DECODE_DEFINED_CHAR'; changed to normal function.
840 (DECODE_CHAR): Use `decode_defined_char' instead of
841 `DECODE_DEFINED_CHAR'.
843 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
845 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
847 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
849 * text-coding.c (Vcoded_charset_entity_reference_alist): New
851 (Quse_entity_reference): New variable.
855 (coding_system_description): Add description for
857 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
858 (allocate_coding_system): Initialize `ccs_priority_list' in
860 (Fmake_coding_system): Add description about
861 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
863 (Fcoding_system_property): Accept `disable-composition' and
864 `use-entity-reference' in UTF-2000.
865 (struct decoding_stream): Add new member `er_counter' and `er_buf'
867 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
868 (decode_coding_utf8): Decode entity-reference if
869 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
870 (char_encode_utf8): Encode non-Unicode characters as
871 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
873 (syms_of_file_coding): Add new symbols `use-entity-reference',
875 (vars_of_file_coding): Add new variable
876 `coded-charset-entity-reference-alist'.
877 (complex_vars_of_file_coding): Declare `disable-composition' and
878 `use-entity-reference' to be coding-system-properties in UTF-2000.
880 * file-coding.h (struct Lisp_Coding_System): Add new member
881 `use_entity_reference' and `ccs_priority_list'.
882 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
883 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
884 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
886 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
888 * chartab.c (save_uint8_byte_table): Don't clear the table.
889 (save_uint16_byte_table): Likewise.
890 (save_byte_table): Likewise.
891 (Fmount_char_attribute_table): New function.
892 (syms_of_chartab): Add new builtin function
893 `mount-char-attribute-table'.
895 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
897 * mule-charset.c (Fsave_charset_mapping_table): Open database as
899 (load_char_decoding_entry_maybe): Open database as read-only mode.
901 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
902 open database as "w+" mode.
903 (load_char_attribute_maybe): Open database as read-only mode.
904 (Fload_char_attribute_table): Likewise.
906 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
908 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
909 (char_table_description): Delete member `db_file'.
910 (Fmake_char_table): Don't refer `ct->db_file'.
911 (Fcopy_char_table): Likewise.
912 (Fsave_char_attribute_table): Likewise.
913 (Fclose_char_attribute_table): Likewise.
914 (Freset_char_attribute_table): Likewise.
915 (load_char_attribute_maybe): Likewise.
916 (Fload_char_attribute_table): Likewise.
918 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
920 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
923 (Fsave_char_attribute_table): Don't check `ct->db_file' if
925 (load_char_attribute_maybe): Likewise.
926 (Fload_char_attribute_table): Likewise.
928 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
930 * chartab.c (Fclose_char_attribute_table): Set Qnil on
931 `ct->db_file' unconditionally.
933 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
935 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
937 (char_table_description): Add description for `db_file' and `db'
939 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
941 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
942 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
943 (Fclose_char_attribute_table): New function.
944 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
945 (load_char_attribute_maybe): Change interface; use `cit->db_file'
947 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
948 (syms_of_chartab): Add new builtin function
949 `Fclose_char_attribute_table'.
951 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
953 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
955 (load_char_attribute_maybe): Change interface.
956 (get_char_id_table): Modify for `load_char_attribute_maybe'.
958 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
960 * database.h: Add an EXFUN for `Fdatabase_live_p'.
962 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
964 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
965 instead of `DECODE_CHAR' for mother; don't use special code for
966 chinese-big5 to use code space of chinese-big5-1 and
968 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
969 `MAX_CHAR_BIG5_CDP' for chinese-big5.
971 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
972 (MAX_CHAR_BIG5_CDP): Revival.
974 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
976 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
977 the XLFD registry-encoding name of `chinese-big5'.
979 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
981 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
982 (Qchinese_big5_cdp): Deleted.
983 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
984 (complex_vars_of_mule_charset): Delete coded-charset
987 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
988 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
989 `CHARSET_ID_OFFSET - n' for private CCS.
990 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
991 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
992 of `MIN_LEADING_BYTE'.
993 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
994 `(CHARSET_ID_OFFSET - 97)'.
995 (MIN_CHAR_BIG5_CDP): Deleted.
996 (MAX_CHAR_BIG5_CDP): Deleted.
998 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1000 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1002 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1004 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1005 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1008 * chartab.c (Vutf_2000_version): Moved to mule.c.
1009 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1011 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1013 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1014 when HAVE_CHISE_CLIENT is not defined.
1016 * mule.c (vars_of_mule): Provide feature `chise' when
1017 HAVE_CHISE_CLIENT is defined.
1019 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1021 * config.h.in (UTF2000): Add comment.
1022 (HAVE_CHISE_CLIENT): New macro.
1024 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1026 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1028 (Fput_char_attribute): Likewise.
1029 (char_attribute_system_db_file): Encode file-name of attribute.
1030 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1033 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1035 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1036 (Fsave_charset_mapping_table): Use
1037 `char_attribute_system_db_file'.
1038 (load_char_decoding_entry_maybe): Likewise.
1040 * chartab.h (Qsystem_char_id): New external variable.
1041 (char_attribute_system_db_file): New prototype.
1043 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1044 (char_attribute_system_db_file): New function.
1045 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1046 (Freset_char_attribute_table): Likewise.
1047 (load_char_attribute_maybe): Likewise.
1048 (Fload_char_attribute_table): Likewise.
1049 (syms_of_chartab): Add new symbol `system-char-id'.
1051 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1053 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1054 `XCHARSET_GRAPHIC(ccs)'.
1056 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1058 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1060 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1062 * chartab.c (Q_ucs_variants): New variable.
1063 (syms_of_chartab): Add new symbol `->ucs-variants'.
1064 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1065 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1066 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1068 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1070 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1071 `HAVE_DATABASE' is defined.
1072 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1073 `HAVE_DATABASE' is defined.
1075 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1077 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1079 (Freset_char_attribute_table): New function.
1080 (syms_of_chartab): Add new builtin function
1081 `reset-char-attribute-table'.
1083 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1085 * chartab.c (load_char_attribute_maybe): Don't make directories.
1087 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1089 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1091 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1094 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1096 * mule-charset.c (Fsave_charset_mapping_table): Use
1097 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1099 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1100 instead of `XCHARSET_CHARS'.
1102 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1104 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1105 (XCHARSET_BYTE_SIZE): Likewise.
1107 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1109 (XCHARSET_BYTE_SIZE): Likewise.
1111 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1113 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1114 data-directory to store database.
1115 (Fsave_char_attribute_table): Likewise.
1116 (load_char_attribute_maybe): Likewise.
1117 (Fload_char_attribute_table): Likewise.
1119 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1121 * mule-charset.c (Fsave_charset_mapping_table): New function.
1122 (syms_of_mule_charset): Add new builtin function
1123 `save-charset-mapping-table'.
1125 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1127 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1128 (get_ccs_octet_table): New inline function.
1129 (put_ccs_octet_table): Likewise.
1130 (decoding_table_put_char): Use `get_ccs_octet_table' and
1131 `put_ccs_octet_table'.
1132 (decoding_table_remove_char): Use `decoding_table_put_char'.
1133 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1135 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1136 into encoding_table.
1137 (make_charset): Use Qunbound instead Qnil as initial value of
1140 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1142 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1143 element is Qunloaded.
1144 (map_over_uint16_byte_table): Likewise.
1145 (map_over_byte_table): Likewise.
1146 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1147 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1148 database support, load encoding-table of the specified
1149 coded-charset if it is not loaded yet.
1150 (save_uint8_byte_table): New function of UTF-2000 with external
1152 (save_uint16_byte_table): Likewise.
1153 (save_byte_table): Likewise.
1154 (Fput_char_attribute): Don't store value into external database
1155 even if the external database feature is supported in UTF-2000;
1156 set `attribute' as name of char-table if the external database
1157 feature is supported.
1158 (Fsave_char_attribute_table): New function in UTF-2000.
1159 (syms_of_chartab): Add new builtin function
1160 `save-char-attribute-table' in UTF-2000.
1162 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1164 * chartab.c (char_attribute_table_to_put): New variable in
1166 (Qput_char_table_map_function): Likewise.
1167 (value_to_put): Likewise.
1168 (Fput_char_table_map_function): New function in UTF-2000.
1169 (put_char_table): Use `Fmap_char_attribute' for
1170 CHARTAB_RANGE_CHARSET in UTF-2000.
1171 (Fput_char_attribute): Store symbol instead of string in
1172 `XCHAR_TABLE_NAME (table)'.
1173 (load_char_attribute_maybe): Likewise.
1174 (syms_of_chartab): Add new symbol/function
1175 `put-char-table-map-function'.
1177 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1179 * database.h: Add new EXFUN for `Fmap_database'.
1181 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1182 (syms_of_database): Likewise.
1184 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1186 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1187 (XCHAR_TABLE_UNLOADED): Likewise.
1189 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1190 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1191 HAVE_DATABASE is defined.
1192 (char_attribute_table_to_load): New variable of UTF-2000 with
1193 external database support.
1194 (Qload_char_attribute_table_map_function): Likewise.
1195 (Fload_char_attribute_table_map_function): New function of
1196 UTF-2000 with external database support.
1197 (Fload_char_attribute_table): New function of UTF-2000.
1198 (Fmap_char_attribute): Call Fload_char_attribute_table if
1199 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1200 (syms_of_chartab): Add new symbol and function
1201 `load-char-attribute-table-map-function' in UTF-2000 with external
1202 database support; add new function `load-char-attribute-table' in
1205 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1207 * chartab.h (load_char_attribute_maybe): New prototype for
1208 UTF-2000 with DATABASE support.
1209 (get_char_id_table): Use `load_char_attribute_maybe' if
1210 HAVE_DATABASE is defined.
1212 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1213 with DATABASE support.
1215 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1217 * chartab.c (Fput_char_attribute): Use S-expression as key of
1220 * chartab.h (get_char_id_table): Use S-expression as key of
1223 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1225 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1226 if an element is not loaded, load the corresponding attributes
1227 from an external database.
1228 (map_over_uint16_byte_table): Likewise.
1229 (map_over_byte_table): Likewise.
1230 (map_char_table): Modify for `map_over_uint8_byte_table',
1231 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1232 element is not loaded, load the corresponding attributes from an
1234 (Fput_char_attribute): Change initial values to Qunloaded.
1236 * chartab.h (get_char_id_table): If a character attribute is not
1237 loaded and the attribute value is not found in an external
1238 database, store Qunbound as the attribute value.
1240 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1242 * chartab.c (BT_UINT8_unloaded): New macro.
1243 (UINT8_VALUE_P): Accept Qunloaded.
1244 (UINT8_ENCODE): Likewise.
1245 (UINT8_DECODE): Likewise.
1246 (BT_UINT16_unloaded): New macro.
1247 (UINT16_VALUE_P): Accept Qunloaded.
1248 (UINT16_ENCODE): Likewise.
1249 (UINT16_DECODE): Likewise.
1250 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1252 (mark_char_table): Mark `ct->name' in UTF-2000.
1253 (char_table_description): Add `name' in UTF-2000.
1254 (Fmake_char_table): Initialize `ct->name'.
1255 (Fcopy_char_table): Copy `ct->name'.
1256 (Fput_char_attribute): Store value into an external database if
1257 HAVE_DATABASE is defined.
1259 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1261 (CHAR_TABLE_NAME): New macro in UTF-2000.
1262 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1263 (get_char_id_table): Try to read an external database if Qunloaded
1264 is stored in a table.
1266 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1269 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1271 * database.h: Add EXFUN definitions for Fopen_database,
1272 Fput_database, Fget_database and Fclose_database.
1274 * data.c (Qunloaded): New variable in UTF-2000.
1276 * lisp.h (Qunloaded): New variable in UTF-2000.
1278 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1280 * mule-charset.c (put_char_ccs_code_point): Modify for
1281 `decoding_table_remove_char' and `decoding_table_put_char'.
1282 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1284 * char-ucs.h (decoding_table_remove_char): Change arguments to
1285 hide decoding_table vector.
1286 (decoding_table_put_char): Likewise.
1288 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1290 * mule-charset.c (decoding_table_remove_char): Moved to
1292 (decoding_table_put_char): Likewise.
1294 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1295 from mule-charset.c].
1296 (decoding_table_remove_char): New inline function [moved from
1298 (decoding_table_put_char): Likewise.
1300 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1302 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1305 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1307 * mule-charset.c (decode_builtin_char): Support mother charsets.
1309 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1311 * mule-charset.c (Q94x94x60): New variable.
1312 (charset_code_point): Support conversion `94x94x60'.
1313 (Fmake_charset): Likewise.
1314 (syms_of_mule_charset): Add new symbol `94x94x60'.
1316 * char-ucs.h (CONVERSION_94x94x60): New macro.
1318 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1320 * mule-charset.c (charset_code_point): Unify code about
1323 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1325 * mule-charset.c (charset_code_point): Merge code about builtin
1326 characters into code about mother charsets; don't use
1327 `range_charset_code_point'.
1328 (range_charset_code_point): Deleted.
1330 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1332 * mule-charset.c (Qcode_offset): New variable.
1333 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1334 `max-code'; accept new property `code-offset'.
1335 (syms_of_mule_charset): Add new symbol `code-offset'.
1337 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1339 * mule-charset.c (range_charset_code_point): Fixed.
1341 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1343 * mule-charset.c (decode_builtin_char): Change semantics of
1344 code-offset of coded-charset.
1345 (charset_code_point): Likewise.
1346 (range_charset_code_point): Likewise.
1347 (complex_vars_of_mule_charset): Modify for the change.
1349 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1351 * mule-charset.c (Fencode_char): Reverse arguments.
1353 * mule-charset.c (charset_code_point): Fixed.
1355 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1357 * mule-charset.c (Vcharset_mojikyo): Deleted.
1358 (Vcharset_mojikyo_2022_1): Deleted.
1359 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1360 (Qmin_code): New variable in UTF-2000.
1361 (Qmax_code): Likewise.
1362 (Qmother): Likewise.
1363 (Qconversion): Likewise.
1365 (Qmojikyo): Deleted.
1366 (Qmojikyo_2022_1): Deleted.
1367 (Qmojikyo_pj_{1..22}): Deleted.
1368 (mark_charset): Mark `cs->mother'.
1369 (charset_description): Add description for `mother'.
1370 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1371 new arguments `mother' and `conversion'; use
1372 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1373 (charset_code_point): Moved from char-ucs.h; support `mother'
1375 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1376 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1377 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1378 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1379 allow 2 as the value of `graphic' in UTF-2000; add new properties
1380 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1381 require `final' in UTF-2000; modify for `make_charset'.
1382 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1383 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1384 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1385 (Fencode_char): New function.
1386 (syms_of_mule_charset): Add new builtin function `encode-char' in
1387 UTF-2000; add new symbols `min-code', `max-code', `mother',
1388 `conversion' and `94x60'; delete symbols `mojikyo',
1389 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1390 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1391 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1392 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1394 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1395 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1397 * char-ucs.h (Vcharset_mojikyo): Deleted.
1398 (Vcharset_mojikyo_2022_1): Deleted.
1399 (LEADING_BYTE_MOJIKYO): Deleted.
1400 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1401 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1402 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1403 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1404 add new member `mother'; add new member `conversion'.
1405 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1406 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1407 (CHARSET_MOTHER): New macro.
1408 (CHARSET_CONVERSION): New macro.
1409 (CONVERSION_IDENTICAL): New macro.
1410 (CONVERSION_94x60): New macro.
1411 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1412 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1413 (XCHARSET_MOTHER): New macro.
1414 (XCHARSET_CONVERSION): New macro.
1415 (MIN_CHAR_MOJIKYO): Deleted.
1416 (MAX_CHAR_MOJIKYO): Deleted.
1417 (DECODE_MOJIKYO_2022): Deleted.
1418 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1419 (charset_code_point): Changed to non-inline function.
1420 (encode_char_1): Use `charset_code_point'.
1421 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1423 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1425 * lread.c (read_compiled_function): Fix prototype.
1426 (read_vector): Likewise.
1428 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1430 * lrecord.h (struct lrecord_header): Delete `older'.
1431 (set_lheader_implementation): Delete code for `older'.
1432 (set_lheader_older_implementation): Deleted.
1433 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1434 (OLDER_RECORD_P): Deleted.
1435 (OLDER_RECORD_HEADER_P): Deleted.
1436 (alloc_older_lcrecord): Deleted.
1437 (alloc_older_lcrecord_type): Deleted.
1439 * alloc.c (all_older_lcrecords): Deleted.
1440 (alloc_older_lcrecord): Deleted.
1441 (disksave_object_finalization_1): Delete code for older objects.
1442 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1443 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1445 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1447 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1448 instead of `make_older_vector'.
1449 (put_char_ccs_code_point): Likewise.
1450 (mark_charset): Mark `cs->decoding_table'.
1451 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1453 * lisp.h (make_older_vector): Deleted.
1454 (make_vector_newer): Deleted.
1456 * config.h.in (HAVE_GGC): Deleted.
1458 * alloc.c (make_older_vector): Deleted.
1459 (make_vector_newer_1): Deleted.
1460 (make_vector_newer): Deleted.
1462 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1464 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1465 (Qideograph_daikanwa_2): New variable.
1466 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1467 (complex_vars_of_mule_charset): Add new coded-charset
1468 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1469 `LEADING_BYTE_DAIKANWA'.
1471 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1472 (LEADING_BYTE_DAIKANWA_1): New macro.
1473 (LEADING_BYTE_DAIKANWA_2): New macro.
1474 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1476 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1478 * mule-charset.c (complex_vars_of_mule_charset): Change
1479 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1480 the second revised version.
1482 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1484 * mule-charset.c (Vcharset_ucs_smp): New variable.
1485 (Vcharset_ucs_sip): New variable.
1486 (Qucs_smp): New variable.
1487 (Qucs_sip): New variable.
1488 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1489 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1490 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1491 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1492 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1493 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1495 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1496 (LEADING_BYTE_UCS_SIP): New macro.
1497 (MIN_CHAR_SMP): New macro.
1498 (MAX_CHAR_SMP): New macro.
1499 (MIN_CHAR_SIP): New macro.
1500 (MAX_CHAR_SIP): New macro.
1502 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1504 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1507 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1509 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1510 value; don't store value into `encoding_table' of `Lisp_Charset'.
1511 (mark_charset): `encoding_table' was deleted.
1512 (charset_description): Likewise.
1513 (make_charset): Likewise.
1514 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1515 `put_char_ccs_code_point'.
1517 * chartab.h (Fput_char_attribute): New EXFUN.
1519 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1520 is unified with normal symbol space.
1521 (Fget_char_attribute): Likewise.
1522 (Fput_char_attribute): Likewise; behavior of
1523 `put_char_ccs_code_point' is changed.
1525 * char-ucs.h: Include "elhash.h".
1526 (Vchar_attribute_hash_table): New external variable.
1527 (struct Lisp_Charset): Delete `encoding_table'.
1528 (CHARSET_ENCODING_TABLE): New implementation; refer
1529 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1532 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1534 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1537 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1539 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1542 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1544 * chartab.c (uint8_byte_table_description): New constant.
1545 (uint8-byte-table): Use `uint8_byte_table_description'.
1546 (uint16_byte_table_description): New constant.
1547 (uint16-byte-table): Use `uint16_byte_table_description'.
1549 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1551 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1552 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1554 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1556 * mule-charset.c (Vcharset_ucs_ks): New variable.
1557 (Qucs_ks): New variable.
1558 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1559 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1561 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1563 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1565 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1566 (Fdecode_char): Likewise.
1568 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1570 (Fdefine_char): Modify for Fdecode_char.
1571 (Ffind_char): Likewise.
1573 * mule-charset.c (Fdecode_char): Add new optional argument
1575 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1577 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1579 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1580 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1581 (allocate_coding_system): Initialize initial-charsets of
1582 CODESYS_BIG5 in XEmacs UTF-2000.
1583 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1584 CODESYS_BIG5 in XEmacs UTF-2000.
1585 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1586 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1588 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1590 (Qideograph_hanziku_{1 .. 12}): Likewise.
1591 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1593 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1594 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1595 `ideograph-hanziku-{1 .. 12}'.
1597 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1598 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1599 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1600 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1601 (DECODE_DEFINED_CHAR): New inline function.
1602 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1604 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1606 * mule-charset.c (Vcharset_china3_jef): Renamed from
1607 `Vcharset_japanese_jef_china3'.
1608 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1609 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1610 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1611 (syms_of_mule_charset): Rename `china3-jef' from
1612 `japanese-jef-china3'.
1613 (complex_vars_of_mule_charset): Likewise; rename
1614 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1616 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1617 `LEADING_BYTE_JEF_CHINA3'.
1618 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1619 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1621 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1623 * mule-charset.c (encode_builtin_char_1): Comment out special code
1624 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1626 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1627 (MAX_CHAR_MOJIKYO_0): Comment out.
1628 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1629 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1630 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1631 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1633 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1635 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1636 (Qideograph_cbeta): New variable.
1637 (encode_builtin_char_1): Comment out special code for
1638 coded-charset `mojikyo' and `japanese-jef-china3'.
1639 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1640 (complex_vars_of_mule_charset): Add new coded-charset
1643 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1644 (MIN_CHAR_CBETA): New macro.
1645 (MAX_CHAR_CBETA): New macro.
1647 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1649 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1650 (LEADING_BYTE_JEF_CHINA3): New macro.
1651 (MIN_CHAR_JEF_CHINA3): New macro.
1652 (MAX_CHAR_JEF_CHINA3): Likewise.
1653 (DECODE_CHAR): Fixed.
1655 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1657 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1658 (Qjapanese_jef_china3): New variable.
1659 (encode_builtin_char_1): Support `japanese-jef-china3'.
1660 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1661 (complex_vars_of_mule_charset): Add new coded-charset
1662 `japanese-jef-china3'.
1664 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1666 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1667 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1668 94^4, 96^3, 96^4, 128^n and 256^n set.
1669 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1670 (map_char_table): Likewise.
1672 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1674 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1677 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1679 * chartab.h (get_char_id_table): New inline function.
1681 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1684 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1686 * chartab.h (decode_char_table_range): New prototype in XEmacs
1688 (put_char_id_table): New inline function in XEmacs UTF-2000.
1690 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1692 (decode_char_table_range): Delete static declaration in XEmacs
1695 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1697 * chartab.c (put_char_id_table): Use `put_char_table'.
1699 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1701 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1702 (map_over_uint16_byte_table): Likewise.
1703 (map_over_byte_table): Likewise.
1704 (map_char_table): Modify for `map_over_uint8_byte_table',
1705 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1708 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1710 * chartab.c (struct map_char_table_for_charset_arg): New
1712 (map_char_table_for_charset_fun): New function.
1713 (map_char_table): Use `map_char_table' for encoding_table of
1716 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1718 * chartab.c (map_char_table): Check a character is found in
1719 range->charset instead of non default value is defined in
1720 char-table when range is CHARTAB_RANGE_ROW.
1722 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1724 * chartab.c (map_char_id_table): Deleted.
1725 (Fmap_char_attribute): Use `map_char_table' instead of
1726 `map_char_id_table'.
1728 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1730 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1732 (update_syntax_table): Deleted in XEmacs UTF-2000.
1734 * syntax.c (find_defun_start): Use `syntax_table' instead of
1735 `mirror_syntax_table' in XEmacs UTF-2000.
1736 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1738 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1740 (Fmatching_paren): Likewise.
1741 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1743 (find_start_of_comment): Likewise.
1744 (find_end_of_comment): Likewise.
1745 (Fforward_comment): Likewise.
1746 (scan_lists): Likewise.
1747 (char_quoted): Likewise.
1748 (Fbackward_prefix_chars): Likewise.
1749 (scan_sexps_forward): Likewise.
1750 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1751 (update_syntax_table): Likewise.
1753 * search.c (skip_chars): Use `syntax_table' instead of
1754 `mirror_syntax_table' in XEmacs UTF-2000.
1755 (wordify): Likewise.
1756 (Freplace_match): Likewise.
1758 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1759 `mirror_syntax_table' in XEmacs UTF-2000.
1760 (WORDCHAR_P_UNSAFE): Likewise.
1761 (re_match_2_internal): Likewise.
1763 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1764 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1766 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1767 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1769 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1772 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1774 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1775 (char_table_description): Delete `mirror_table' in XEmacs
1777 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1779 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1780 (Fcopy_char_table): Likewise.
1781 (put_char_table): Don't call `update_syntax_table' in XEmacs
1784 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1785 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1786 (casify_region_internal): Likewise.
1788 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1790 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1791 `mirror_syntax_table' in XEmacs UTF-2000.
1793 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1794 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1795 (Fexpand_abbrev): Likewise.
1797 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1799 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1801 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1803 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1804 (map_over_uint16_byte_table): Likewise.
1805 (map_over_byte_table): Likewise.
1806 (get_char_id_table): Refer `cit->default_value'.
1807 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1808 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1809 of character-id ranges.
1810 (mark_char_table): Mark `ct->default_value'.
1811 (char_table_description): Add `default_value'.
1812 (fill_char_table): Use `default_value'.
1813 (decode_char_table_range): Decode `nil' as
1814 `CHARTAB_RANGE_DEFAULT'.
1815 (get_char_id_table): Refer `cit->default_value'.
1816 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1817 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1818 temporary hack; check value of char-table is bound or not.
1819 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1821 * chartab.h (struct Lisp_Char_Table): Add new member
1822 `default_value' in XEmacs UTF-2000.
1823 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1824 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1827 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1829 * chartab.h (Lisp_Char_ID_Table): Deleted.
1831 * chartab.c (char_table_description): Fix typo.
1832 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1833 `Lisp_Char_ID_Table'.
1835 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1837 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1840 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1843 * chartab.h (XCHAR_ID_TABLE): Deleted.
1844 (XSETCHAR_ID_TABLE): Deleted.
1845 (CHAR_ID_TABLE_P): Deleted.
1847 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1849 (Fget_composite_char): Likewise.
1850 (put_char_table): Likewise.
1851 (add_char_attribute_alist_mapper): Fixed.
1852 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1854 (Fget_char_attribute): Likewise.
1855 (Fget_char_attribute): Likewise.
1856 (Fmap_char_attribute): Likewise.
1858 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1860 (encode_char_1): Likewise.
1862 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1864 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1867 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1868 instead of `XCHAR_ID_TABLE'.
1869 (remove_char_ccs): Likewise.
1871 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1873 (Fget_composite_char): Likewise.
1874 (Fchar_variants): Likewise.
1875 (put_char_table): Likewise.
1876 (add_char_attribute_alist_mapper): Likewise.
1877 (Fchar_attribute_alist): Likewise.
1878 (Fget_char_attribute): Likewise.
1879 (Fput_char_attribute): Likewise.
1880 (Fmap_char_attribute): Likewise.
1881 (Fmap_char_attribute): Likewise.
1883 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1885 (encode_char_1): Likewise.
1887 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1889 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1890 `Lisp_Char_ID_Table'.
1891 (mark_char_id_table): Deleted.
1892 (print_char_id_table): Likewise.
1893 (char_id_table_equal): Likewise.
1894 (char_id_table_hash): Likewise.
1895 (char_id_table_description): Likewise.
1896 (char_id_table): Likewise.
1897 (make_char_id_table): Use `Fmake_char_table' and
1899 (get_char_id_table): Use `Lisp_Char_Table' instead of
1900 `Lisp_Char_ID_Table'.
1901 (put_char_id_table): Likewise.
1902 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1904 (Fremove_char_attribute): Likewise.
1905 (syms_of_chartab): Don't define type `char-id-table'.
1907 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1908 (char_id_table): Likewise.
1909 (GC_CHAR_ID_TABLE_P): Likewise.
1910 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1911 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1912 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1913 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1914 (get_char_id_table): Use `Lisp_Char_Table' instead of
1915 `Lisp_Char_ID_Table'.
1916 (put_char_id_table_0): Likewise.
1917 (put_char_id_table): Likewise.
1919 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1921 * chartab.h: Lisp_Byte_Table related codes are moved from
1924 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1926 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1928 * chartab.h: Don't include "chartab.h".
1929 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1930 (Lisp_Char_ID_Table): Likewise.
1931 (char_id_table): Likewise.
1932 (XCHAR_ID_TABLE): Likewise.
1933 (XSETCHAR_ID_TABLE): Likewise.
1934 (CHAR_ID_TABLE_P): Likewise.
1935 (GC_CHAR_ID_TABLE_P): Likewise.
1936 (get_char_id_table): Likewise.
1938 * char-ucs.h: Include "chartab.h".
1939 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1940 (Lisp_Char_ID_Table): Likewise.
1941 (char_id_table): Likewise.
1942 (XCHAR_ID_TABLE): Likewise.
1943 (XSETCHAR_ID_TABLE): Likewise.
1944 (CHAR_ID_TABLE_P): Likewise.
1945 (GC_CHAR_ID_TABLE_P): Likewise.
1946 (get_char_id_table): Likewise.
1948 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1950 * chartab.c (copy_uint8_byte_table): New function.
1951 (copy_uint16_byte_table): New function.
1952 (copy_byte_table): New function.
1953 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1955 (map_over_uint16_byte_table): Likewise.
1956 (map_over_byte_table): Likewise.
1957 (get_byte_table): Move prototype to chartab.h.
1958 (put_byte_table): Likewise.
1959 (put_char_id_table_0): Moved to chartab.h.
1960 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1961 (char_table_entry_equal): Likewise.
1962 (char_table_entry_hash): Likewise.
1963 (char_table_entry_description): Likewise.
1964 (char_table_entry): Likewise.
1965 (make_char_table_entry): Likewise.
1966 (copy_char_table_entry): Likewise.
1967 (get_non_ascii_char_table_value): Likewise.
1968 (map_over_charset_ascii): Likewise.
1969 (map_over_charset_control_1): Likewise.
1970 (map_over_charset_row): Likewise.
1971 (map_over_other_charset): Likewise.
1972 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1973 (print_char_table): Likewise.
1974 (char_table_equal): Likewise.
1975 (char_table_hash): Likewise.
1976 (char_table_description): Likewise.
1977 (fill_char_table): Likewise.
1978 (Fcopy_char_table): Likewise.
1979 (get_char_table): Likewise.
1980 (Fget_range_char_table): Likewise.
1981 (put_char_table): Likewise.
1982 (map_char_table): Likewise.
1983 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1986 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1988 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1989 `Vauto_fill_chars' in XEmacs UTF-2000.
1991 * chartab.h (get_byte_table): New prototype [moved from
1993 (put_byte_table): Likewise [moved from chartab.c].
1994 (put_char_id_table_0): New inline function [moved from chartab.c].
1995 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1996 (Lisp_Char_Table_Entry): Likewise.
1997 (char_table_entry): Likewise.
1998 (XCHAR_TABLE_ENTRY): Likewise.
1999 (XSETCHAR_TABLE_ENTRY): Likewise.
2000 (CHAR_TABLE_ENTRYP): Likewise.
2001 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2002 (NUM_ASCII_CHARS): Likewise.
2003 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2004 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2006 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2008 * chartab.c (get_char_id_table): Change interface.
2009 (put_char_id_table_0): New function.
2010 (put_char_id_table): Change interface; new implementation.
2011 (Fget_composite_char): Modify for interface change of
2012 `get_char_id_table'.
2013 (Fchar_variants): Likewise.
2014 (add_char_attribute_alist_mapper): Likewise.
2015 (Fchar_attribute_alist): Likewise.
2016 (Fget_char_attribute): Likewise.
2017 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2018 as same as character as the first argument like `put-char-table';
2019 modify for interface change of `put_char_id_table'.
2020 (Fremove_char_attribute): Modify for interface change of
2021 `put_char_id_table'.
2023 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2025 * text-coding.c: Sync up with XEmacs 21.2.41.
2026 (COMPOSE_ADD_CHAR): Modify for interface change of
2027 `get_char_id_table'.
2029 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2030 change of `put_char_id_table'.
2031 (remove_char_ccs): Likewise.
2033 * chartab.h (put_char_id_table): Change interface.
2035 * char-ucs.h (get_char_id_table): Change interface.
2036 (charset_code_point): Modify for interface change of
2037 `get_char_id_table'.
2038 (encode_char_1): Likewise.
2040 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2042 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2044 (map_over_uint16_byte_table): Likewise.
2045 (map_over_byte_table): Likewise.
2046 (map_char_id_table): Add new argument `range' like
2048 (Fmap_char_attribute): Add new argument `range' like
2051 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2053 * chartab.c (map_over_uint8_byte_table): Change interface of
2054 mapping function to use struct chartab_range instead of Emchar.
2055 (map_over_uint16_byte_table): Likewise.
2056 (map_over_byte_table): Likewise.
2057 (map_char_id_table): Likewise.
2058 (struct slow_map_char_id_table_arg): Deleted.
2059 (slow_map_char_id_table_fun): Deleted.
2060 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2061 function `slow_map_char_table_fun' instead of struct
2062 `slow_map_char_id_table_arg' and function
2063 `slow_map_char_id_table_fun'.
2065 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2067 * mule-charset.c: Move char-it-table related codes to chartab.c.
2068 (Vutf_2000_version): Moved to chartab.c.
2069 (Fdefine_char): Likewise.
2070 (Ffind_char): Likewise.
2071 (syms_of_mule_charset): Move types `uint8-byte-table',
2072 `uint16-byte-table', `byte-table' and `char-id-table' to
2073 chartab.c; move functions `char_attribute_list,
2074 `find_char_attribute_table, `char_attribute_alist,
2075 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2076 `map_char_attribute, `define_char, `find_char, `char_variants and
2077 `get_composite_char to chartab.c; move symbols `=>ucs',
2078 `->decomposition', `compat', `isolated', `initial', `medial',
2079 `final', `vertical', `noBreak', `fraction', `super', `sub',
2080 `circle', `square', `wide', `narrow', `small' and `font' to
2082 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2083 setting codes for `Vcharacter_composition_table' and
2084 `Vcharacter_variant_table' to chartab.c.
2085 (complex_vars_of_mule_charset): Move setting code for
2086 `Vchar_attribute_hash_table' to chartab.c.
2088 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2089 (make_char_id_table): New prototype.
2090 (put_char_id_table): Likewise.
2091 (Fget_char_attribute): Likewise.
2093 * chartab.c: Move char-id-table related code from mule-charset.c.
2094 (Vutf_2000_version): Moved from mule-charset.c.
2096 * char-ucs.h (Qucs): New external variable.
2097 (put_char_ccs_code_point): New prototype.
2098 (remove_char_ccs): Likewise.
2100 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2102 * mule-charset.c (Vcharset_ucs_jis): New variable.
2103 (Qucs_jis): Likewise.
2104 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2105 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2107 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2109 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2111 * mule-charset.c (map_over_uint8_byte_table): New function.
2112 (map_over_uint16_byte_table): Likewise.
2113 (map_over_byte_table): Likewise.
2114 (map_char_id_table): Likewise.
2115 (slow_map_char_id_table_fun): Likewise.
2116 (Fmap_char_attribute): Likewise.
2117 (syms_of_mule_charset): Add new function `map-char-attribute'.
2119 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2121 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2122 (syms_of_mule_charset): Add new function `find-char'.
2124 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2126 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2128 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2129 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2131 (complex_vars_of_mule_charset): Add new coded-charset
2132 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2133 `ideograph-gt-pj-*'.
2135 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2137 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2139 * mule-charset.c (encode_builtin_char_1): Purge codes about
2140 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2141 {MIN|MAX}_CHAR_HEBREW.
2142 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2143 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2145 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2146 (MAX_CHAR_GREEK): Purged.
2147 (MIN_CHAR_CYRILLIC): Purged.
2148 (MAX_CHAR_CYRILLIC): Purged.
2149 (MIN_CHAR_HEBREW): Commented out.
2150 (MAX_CHAR_HEBREW): Likewise.
2152 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2154 * mule-charset.c (Qto_ucs): New variable.
2155 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2156 (Fdefine_char): Likewise.
2157 (syms_of_mule_charset): Add new symbol `=>ucs'.
2159 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2161 * mule-charset.c (Fdecode_char): Fixed.
2163 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2165 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2166 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2169 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2171 * mule-charset.c (Vcharset_ucs_big5): New variable.
2172 (Qucs_big5): Likewise.
2173 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2174 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2176 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2178 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2180 * mule-charset.c (decode_builtin_char): Check Big5 code range
2181 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2183 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2185 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2186 (Qchinese_gb12345): Likewise.
2187 (Fdecode_builtin_char): Fixed.
2188 (syms_of_mule_charset): Add `chinese-gb12345'.
2189 (complex_vars_of_mule_charset): Add coded-charset
2192 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2193 (LEADING_BYTE_CHINESE_GB12345): New macro.
2195 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2197 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2198 and `latin-viscii-upper' for `latin-viscii'.
2200 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2202 * mule-charset.c (Fdecode_builtin_char): Comment out
2203 regularization code for ISO-IR GR representation.
2205 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2207 * mule-charset.c (decode_builtin_char): New function; renamed from
2208 `make_builtin_char'; return -1 instead of signal.
2209 (Fdecode_builtin_char): Use `decode_builtin_char'.
2211 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2212 `make_builtin_char'.
2213 (DECODE_CHAR): Use `decode_builtin_char' instead of
2214 `make_builtin_char'; use mapping table of `chinese-big5' for
2215 `chinese-big5-{1,2}'.
2217 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2219 * text-coding.c (char_encode_big5): New function.
2220 (char_finish_big5): Likewise.
2221 (reset_encoding_stream): Use `char_encode_big5' and
2222 `char_finish_big5' for CODESYS_BIG5.
2223 (mule_encode): Don't use `encode_coding_big5'.
2224 (encode_coding_big5): Deleted.
2226 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2228 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2229 0x81- in XEmacs UTF-2000.
2230 (detect_coding_big5): Likewise.
2232 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2234 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2235 generate character-id if the CCS property does not have
2236 corresponding predefined character.
2237 (make_builtin_char): Return -1 if corresponding predefined
2238 character is not found.
2239 (Fdecode_char): Return nil if corresponding character is not
2241 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2242 don't map to builtin ucs space.
2244 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2246 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2247 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2249 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2251 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2252 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2253 (Qideograph_gt): Likewise.
2254 (Qideograph_gt_pj_{1..11}): Likewise.
2255 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2256 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2257 `ideograph-gt-pj-11'.
2258 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2259 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2260 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2262 * char-ucs.h (LEADING_BYTE_GT): New macro.
2263 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2264 (MIN_CHAR_GT): Likewise.
2265 (MAX_CHAR_GT): Likewise.
2267 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2269 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2270 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2272 * doprnt.c (unsigned_int_converters): Add `c'.
2273 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2275 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2276 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2278 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2279 (MAX_CHAR_MOJIKYO_0): New macro.
2280 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2282 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2284 * mule-charset.c (Fdefine_char): Delete cemented out code.
2285 (encode_builtin_char_1): Modify for new allocation of builtin
2288 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2290 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2292 * mule-charset.c (Vcharset_ucs_cns): New variable.
2293 (Qucs_cns): New variable.
2294 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2295 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2297 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2299 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2301 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2303 * search.c (search_buffer): Make `charset_base_code' as
2304 character-id >> 6 to eliminate the corresponding last byte in
2305 UTF-8 representation [I'm not sure it is right thing].
2306 (boyer_moore): Likewise.
2308 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2310 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2311 representation in MULE.
2313 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2315 * text-coding.c (Fmake_coding_system): Use
2316 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2317 `EXTERNAL_PROPERTY_LIST_LOOP'.
2319 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2321 * text-coding.c (decode_output_utf8_partial_char): New function.
2322 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2324 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2326 * text-coding.c (decode_coding_utf8): Output original byte
2327 sequence if it is broken; change order of conditions.
2329 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2332 * mb-multibyte.h (BYTE_ASCII_P):
2333 Use bit ops for char-signedness safety.
2334 (BYTE_C0_P): Use bit ops for char-signedness safety.
2335 (BYTE_C1_P): Use bit ops for char-signedness safety.
2337 * character.h: (XCHAR_OR_CHAR_INT):
2338 Always use inline function.
2339 Remove redundant type checking assert() - XINT will abort quite
2342 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2344 * text-coding.c: (Fencode_shift_jis_char):
2345 (Fencode_big5_char):
2346 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2347 Replace 0 with '\0' when working with bytes.
2348 Replace initial "(" with "\(" in docstrings.
2350 (Fmake_coding_system):
2351 When type is ccl and value is vector, register it with a proper
2352 symbol. And checks whether the given ccl program is valid.
2353 (mule_decode): When calling ccl_driver, if src indicates
2354 NULL pointer, set an empty string instead.
2355 (mule_encode): Likewise.
2358 (detect_coding_sjis):
2359 (decode_coding_sjis):
2360 (detect_coding_big5):
2361 (decode_coding_big5):
2362 (detect_coding_ucs4):
2363 (decode_coding_ucs4):
2364 (detect_coding_utf8):
2365 (decode_coding_utf8):
2366 (detect_coding_iso2022):
2367 (decode_coding_iso2022):
2368 (decode_coding_no_conversion):
2370 Make all detecting and decoding functions take an Extbyte * arg.
2371 (text_encode_generic):
2372 (encode_coding_big5):
2373 (encode_coding_no_conversion):
2375 Make all encoding functions take a Bufbyte * arg.
2376 Use size_t instead of unsigned int for memory sizes.
2377 Only cast to unsigned char whenever dereferencing Extbyte *.
2379 (struct lrecord_description fcd_description_1): Use countof.
2380 (complex_vars_of_file_coding):
2381 Use countof instead of sizeof.
2382 Use CHECK_NATNUM instead of CHECK_INT.
2384 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2386 * mule-charset.c (Fget_char_attribute): Add new optional argument
2388 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2389 (remove_char_ccs): Likewise.
2391 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2393 * text-coding.c (char_encode_shift_jis): New implementation in
2395 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2398 * mule-charset.c (Vcharset_chinese_big5): New variable in
2400 (Qchinese_big5): New variable in UTF-2000.
2401 (BIG5_SAME_ROW): New macro in UTF-2000.
2402 (make_builtin_char): Use builtin characters of
2403 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2404 characters of `Vcharset_chinese_big5'.
2405 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2406 (complex_vars_of_mule_charset): Add new coded-charset
2407 `chinese-big5' in UTF-2000.
2409 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2410 (Vcharset_chinese_big5): New external variable declaration.
2411 (Vcharset_japanese_jisx0208_1990): Likewise.
2413 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2415 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2417 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2419 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2421 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2422 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2423 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2426 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2428 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2430 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2432 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2435 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2437 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2438 for `CHARSET_BY_ATTRIBUTES'.
2439 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2440 `CHARSET_BY_ATTRIBUTES'.
2442 * text-coding.c (struct decoding_stream): Rename member `CH' to
2444 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2445 (decode_coding_sjis): Likewise.
2446 (decode_coding_big5): Likewise.
2447 (decode_coding_ucs4): Likewise.
2448 (decode_coding_utf8): Likewise.
2449 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2450 `CHARSET_BY_ATTRIBUTES'.
2451 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2452 `str->counter'; decode 3, 4 bytes sets.
2453 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2455 (decode_coding_no_conversion): Use `str->cpos' instead of
2458 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2459 (Qmojikyo_2022_1): New variable.
2460 (make_charset): Don't use `CHARSET_TYPE_*'.
2461 (range_charset_code_point): Support coded-charset
2463 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2464 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2465 `CHARSET_BY_ATTRIBUTES'.
2466 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2467 `CHARSET_BY_ATTRIBUTES'.
2468 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2469 (complex_vars_of_mule_charset): Add new coded-charset
2472 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2473 interface; changed to inline function.
2475 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2476 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2477 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2478 (CHARSET_TYPE_94): Deleted.
2479 (CHARSET_TYPE_94X94): Deleted.
2480 (CHARSET_TYPE_96): Deleted.
2481 (CHARSET_TYPE_96X96): Deleted.
2482 (CHARSET_TYPE_128): Deleted.
2483 (CHARSET_TYPE_128X128): Deleted.
2484 (CHARSET_TYPE_256): Deleted.
2485 (CHARSET_TYPE_256X256): Deleted.
2486 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2488 (DECODE_MOJIKYO_2022): New inline function.
2489 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2490 `Vcharset_mojikyo_2022_1'.
2492 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2494 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2496 (put_byte_table): Likewise.
2497 (char_id_table_equal): Use `get_byte_table' [new implementation].
2499 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2501 * mule-charset.c: Include <limits.h> in UTF-2000.
2502 (BT_UINT8_MIN): New macro in UTF-2000.
2503 (BT_UINT8_MAX): New macro in UTF-2000.
2504 (BT_UINT8_t): New macro in UTF-2000.
2505 (BT_UINT8_nil): New macro in UTF-2000.
2506 (BT_UINT8_unbound): New macro in UTF-2000.
2507 (INT_UINT8_P): New inline function in UTF-2000.
2508 (UINT8_VALUE_P): New inline function in UTF-2000.
2509 (UINT8_ENCODE): New inline function in UTF-2000.
2510 (UINT8_DECODE): New inline function in UTF-2000.
2511 (mark_uint8_byte_table): New function in UTF-2000.
2512 (print_uint8_byte_table): New function in UTF-2000.
2513 (uint8_byte_table_equal): New function in UTF-2000.
2514 (uint8_byte_table_hash): New function in UTF-2000.
2515 (make_uint8_byte_table): New function in UTF-2000.
2516 (uint8_byte_table_same_value_p): New function in UTF-2000.
2517 (BT_UINT16_MIN): New macro in UTF-2000.
2518 (BT_UINT16_MAX): New macro in UTF-2000.
2519 (BT_UINT16_t): New macro in UTF-2000.
2520 (BT_UINT16_nil): New macro in UTF-2000.
2521 (BT_UINT16_unbound): New macro in UTF-2000.
2522 (INT_UINT16_P): New inline function in UTF-2000.
2523 (UINT16_VALUE_P): New inline function in UTF-2000.
2524 (UINT16_ENCODE): New inline function in UTF-2000.
2525 (UINT16_DECODE): New inline function in UTF-2000.
2526 (UINT8_TO_UINT16): New inline function in UTF-2000.
2527 (mark_uint16_byte_table): New function in UTF-2000.
2528 (print_uint16_byte_table): New function in UTF-2000.
2529 (uint16_byte_table_equal): New function in UTF-2000.
2530 (uint16_byte_table_hash): New function in UTF-2000.
2531 (make_uint16_byte_table): New function in UTF-2000.
2532 (uint16_byte_table_same_value_p): New function in UTF-2000.
2533 (print_byte_table): New function in UTF-2000.
2534 (byte-table): Use `print_byte_table' as printer.
2535 (make_byte_table): Delete second argument `older'.
2536 (byte_table_same_value_p): New function in UTF-2000.
2537 (copy_byte_table): Deleted.
2538 (get_byte_table): New function in UTF-2000.
2539 (put_byte_table): New function in UTF-2000.
2540 (print_char_id_table): New function in UTF-2000.
2541 (char-id-table): Use `print_char_id_table' as printer.
2542 (make_char_id_table): Delete second argument `older'.
2543 (get_char_id_table): Use `get_byte_table [new implementation].
2544 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2546 (Ffind_char_attribute_table): New function in UTF-2000.
2547 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2548 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2549 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2550 (syms_of_mule_charset): Add new function
2551 `find-char-attribute-table' in UTF-2000.
2553 * lrecord.h (enum lrecord_type): Add
2554 `lrecord_type_uint16_byte_table' and
2555 `lrecord_type_uint8_byte_table'.
2557 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2558 (Lisp_Uint8_Byte_Table): New type.
2559 (XUINT8_BYTE_TABLE): New macro.
2560 (XSETUINT8_BYTE_TABLE): New macro.
2561 (UINT8_BYTE_TABLE_P): New macro.
2562 (GC_UINT8_BYTE_TABLE_P): New macro.
2563 (struct Lisp_Uint16_Byte_Table): New structure.
2564 (Lisp_Uint16_Byte_Table): New type.
2565 (XUINT16_BYTE_TABLE): New macro.
2566 (XSETUINT16_BYTE_TABLE): New macro.
2567 (UINT16_BYTE_TABLE_P): New macro.
2568 (GC_UINT16_BYTE_TABLE_P): New macro.
2570 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2572 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2573 (Vcharacter_ideographic_strokes_table): Deleted.
2574 (Vcharacter_total_strokes_table): Deleted.
2575 (Vcharacter_morohashi_daikanwa_table): Deleted.
2576 (Vcharacter_decomposition_table): Deleted.
2577 (Qname): Deleted because it is duplicated.
2578 (Qideographic_radical): Deleted.
2579 (Qideographic_strokes): Deleted.
2580 (Qtotal_strokes): Deleted.
2581 (Qmorohashi_daikanwa): Deleted.
2582 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2583 `ideographic-radical', `ideographic-strokes', `total-strokes',
2584 `morohashi-daikanwa' and `->decomposition'.
2585 (Fget_char_attribute): Likewise.
2586 (Fput_char_attribute): Likewise; use `make-vector' instead of
2587 `make_older_vector' for `->decomposition' value.
2588 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2589 `ideograph-daikanwa'.
2590 (syms_of_mule_charset): Delete builtin symbols `name',
2591 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2592 `morohashi-daikanwa'.
2593 (vars_of_mule_charset): Don't setup
2594 `Vcharacter_ideographic_radical_table',
2595 `Vcharacter_ideographic_strokes_table',
2596 `Vcharacter_total_strokes_table',
2597 `Vcharacter_morohashi_daikanwa_table' and
2598 `Vcharacter_decomposition_table'.
2600 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2602 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2603 `make_older_vector', `make_vector_newer_1' and
2604 `make_vector_newer'.
2606 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2607 `make_older_vector' and `make_vector_newer'.
2609 * config.h.in (HAVE_GGC): New macro.
2611 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2613 * mule-charset.c (struct char_attribute_list_closure): New
2614 structure in UTF-2000.
2615 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2616 (Fchar_attribute_list): Likewise.
2617 (Fset_charset_mapping_table): Use `make_vector_newer'.
2618 (Fdecode_builtin_char): New function in UTF-2000.
2619 (syms_of_mule_charset): Add new function `char-attribute-list' and
2620 `decode-builtin-char' in UTF-2000.
2622 * lisp.h (make_vector_newer): New prototype.
2624 * alloc.c (make_vector_newer_1): New function.
2625 (make_vector_newer): New function.
2627 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2629 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2632 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2634 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2635 (Vcharacter_attribute_table): Deleted.
2636 (Vcharacter_name_table): Deleted.
2637 (put_char_attribute): Deleted.
2638 (remove_char_attribute): Deleted.
2639 (struct char_attribute_alist_closure): New structure.
2640 (add_char_attribute_alist_mapper): New function.
2641 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2642 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2643 (Fget_char_attribute): Likewise.
2644 (Fput_char_attribute): Likewise.
2645 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2646 of `remove_char_attribute'.
2647 (Fdefine_char): Return character.
2648 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2649 and `Vcharacter_name_table'.
2650 (complex_vars_of_mule_charset): Likewise
2651 `Vchar_attribute_hash_table'.
2653 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2655 * character.h (CHARC_CHARSET): New macro.
2656 (CHARC_CHARSET_ID): New macro.
2657 (CHARC_CODE_POINT): New macro.
2658 (CHARC_COLUMNS): New macro.
2659 (CHARC_TO_CHAR): New inline function.
2660 (CHARC_EQ): New inline function.
2661 (CHARC_ASCII_EQ): New inline function.
2662 (CHARC_IS_SPACE): New inline function.
2663 (ASCII_TO_CHARC): New inline function.
2665 * char-ucs.h (encode_char_2): Deleted.
2666 (ENCODE_CHAR): Use `encode_char_1' again.
2667 (breakup_char_1): Likewise.
2668 (CHAR_TO_CHARC): New inline function.
2670 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2672 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2674 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2675 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2676 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2677 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2678 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2680 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2682 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2684 (x_output_display_block): Use `CHARC_CHARSET' and
2687 * redisplay-tty.c (tty_output_display_block): Use
2689 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2691 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2693 * insdel.c (find_charsets_in_charc_string): Use
2695 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2696 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2697 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2698 (convert_charc_string_into_malloced_string): Likewise.
2700 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2702 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2703 instead of <Emchar_dynarr *> for buf; use
2704 `convert_bufbyte_string_into_charc_dynarr' instead of
2705 `convert_bufbyte_string_into_emchar_dynarr'; use
2706 `find_charsets_in_charc_string' instead of
2707 `find_charsets_in_emchar_string'.
2710 - Include "character.h".
2711 (struct rune): New member `cglyph'; delete member `chr'.
2713 * redisplay.c (redisplay_text_width_charc_string): New function;
2714 delete `redisplay_text_width_emchar_string'.
2715 (rtw_charc_dynarr): New variable; renamed from
2716 `rtw_emchar_dynarr'.
2717 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2718 `rtw_emchar_dynarr'; use
2719 `convert_bufbyte_string_into_charc_dynarr' instead of
2720 `convert_bufbyte_string_into_emchar_dynarr'; use
2721 `redisplay_text_width_charc_string' instead of
2722 `redisplay_text_width_emchar_string'.
2723 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2724 instead of `rtw_emchar_dynarr'; use
2725 `convert_bufbyte_string_into_charc_dynarr' instead of
2726 `convert_bufbyte_string_into_emchar_dynarr'.
2727 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2728 `redisplay_text_width_charc_string' instead of
2729 `redisplay_text_width_emchar_string'.
2730 (create_text_block): Modify for <struct rune> change.
2731 (generate_formatted_string_db): Likewise.
2732 (create_string_text_block): Likewise.
2733 (pixel_to_glyph_translation): Likewise.
2735 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2736 instead of <const Emchar *>.
2737 (x_text_width): Likewise.
2738 (x_output_display_block): Use <Charc_dynarr *> instead
2739 <Emchar_dynarr *>; modify for <structure rune> change.
2740 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2743 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2744 <const Emchar *>; use `charc_string_displayed_columns' instead of
2745 `emchar_string_displayed_columns'.
2746 (tty_output_display_block): Use <Charc_dynarr *> instead of
2747 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2748 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2749 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2750 `tty_output_emchar_dynarr_dynarr'.
2751 (tty_output_charc_dynarr): New function; delete
2752 `tty_output_charc_dynarr'.
2754 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2755 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2756 <Emchar_dynarr *> for buf; use
2757 `convert_bufbyte_string_into_charc_dynarr' instead of
2758 `convert_bufbyte_string_into_emchar_dynarr'.
2760 * frame.c (title_string_charc_dynarr): New variable; renamed from
2761 `title_string_emchar_dynarr'.
2762 (generate_title_string): Use `title_string_charc_dynarr' instead
2763 of `title_string_emchar_dynarr'; use
2764 `convert_charc_string_into_malloced_string' instead of
2765 `convert_emchar_string_into_malloced_string'.
2766 (init_frame): Use `title_string_charc_dynarr' instead of
2767 `title_string_emchar_dynarr'.
2770 - Include "character.h".
2771 (struct console_methods): Use <const Charc *> instead of <const
2772 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2773 <Emchar_dynarr *> in output_string_method.
2775 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2778 * console-stream.c (stream_text_width): Use <const Charc *>
2779 instead of <const Emchar *>.
2781 * character.h (Charc_dynarr): New type.
2783 * char-ucs.h (structure Charc): New structure; define new type
2786 * char-lb.h (DECODE_CHAR): New inline function.
2787 (encode_char_1): New inline function.
2788 (ENCODE_CHAR): New macro.
2789 (structure Charc): New structure; define new type `Charc'.
2791 * char-1byte.h (Vcharset_control_1): New macro.
2792 (Vcharset_latin_iso8859_1): New macro.
2793 (DECODE_CHAR): New inline function.
2794 (encode_char_1): New inline function.
2795 (ENCODE_CHAR): New macro.
2796 (structure Charc): New structure; define new type `Charc'.
2798 * insdel.c (find_charsets_in_charc_string): New function; delete
2799 `find_charsets_in_emchar_string'.
2800 (charc_string_displayed_columns): New function; delete
2801 `emchar_string_displayed_columns'.
2802 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2803 `convert_bufbyte_string_into_emchar_dynarr'.
2804 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2805 `convert_charc_string_into_bufbyte_dynarr'.
2806 (convert_charc_string_into_malloced_string): New function; delete
2807 `convert_charc_string_into_malloced_string'.
2809 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2810 `find_charsets_in_emchar_string'.
2811 (charc_string_displayed_columns): New prototype; delete
2812 `emchar_string_displayed_columns'.
2813 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2814 `convert_charc_string_into_bufbyte_dynarr'.
2815 (convert_charc_string_into_malloced_string): New prototype; delete
2816 `convert_charc_string_into_malloced_string'.
2818 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2820 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2822 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2824 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2826 * char-ucs.h: Use <short> for <Charset_ID>.
2828 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2831 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2833 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2836 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2838 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2840 (Qmorohashi_daikanwa): New variable.
2841 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2842 for `morohashi-daikanwa' attribute.
2843 (Fget_char_attribute): Likewise.
2844 (Fput_char_attribute): Likewise.
2845 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2846 has the same value of `ideograph-daikanwa'.
2847 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2848 (vars_of_mule_charset): Setup
2849 `Vcharacter_morohashi_daikanwa_table'.
2851 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2853 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2855 (add_charset_to_list_mapper): Add `key' instead of
2856 `XCHARSET_NAME (value)' to return aliases.
2858 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2860 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2862 (Vcharacter_ideographic_strokes_table): New variable.
2863 (Qideographic_radical): New variable.
2864 (Qideographic_strokes): New variable.
2865 (Fchar_attribute_alist): Use
2866 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2867 attribute; use `Vcharacter_ideographic_strokes_table' for
2868 `ideographic-strokes' attribute.
2869 (Fget_char_attribute): Likewise.
2870 (Fput_char_attribute): Likewise.
2871 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2872 `ideographic-strokes'.
2873 (vars_of_mule_charset): Setup
2874 `Vcharacter_ideographic_radical_table' and
2875 `Vcharacter_ideographic_strokes_table'.
2877 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2879 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2880 (Qtotal_strokes): New variable.
2881 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2882 `total-strokes' attribute.
2883 (Fget_char_attribute): Likewise.
2884 (Fput_char_attribute): Likewise.
2885 (syms_of_mule_charset): Add new symbol `total-strokes'.
2886 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2888 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2890 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2891 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2893 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2894 `->decomposition' attribute.
2895 (Fput_char_attribute): Likewise.
2896 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2898 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2900 * mule-charset.c (decoding_table_check_elements): New function.
2901 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2903 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2905 * mule-charset.c (Fset_charset_mapping_table): Use
2906 `put_char_ccs_code_point'.
2908 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2910 * mule-charset.c (decoding_table_put_char): New inline function.
2911 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2913 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2915 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2916 (XCHARSET_BYTE_SIZE): New macro.
2917 (decoding_table_remove_char): New inline function.
2918 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2919 `decoding_table_remove_char'.
2920 (remove_char_ccs): Use `decoding_table_remove_char'.
2921 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2923 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2925 * mule-charset.c (Vcharacter_name_table): New variable.
2926 (Qname): New variable.
2927 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2929 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2930 `Vcharacter_name_table' for `name' attribute.
2931 (Fremove_char_attribute): Use function `remove_char_ccs'.
2932 (put_char_ccs_code_point): New function.
2933 (remove_char_ccs): New function.
2934 (syms_of_mule_charset): Add new symbol `name'.
2935 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2937 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2939 * mule-charset.c (make_byte_table): Add new argument `older'.
2940 (make_char_id_table): Likewise.
2941 (copy_char_id_table): Comment out because it is not used.
2942 (put_char_id_table): Modify for `make_byte_table'.
2943 (Fput_char_attribute): Make encoding_table as older object;
2944 inherit older bit of `Vcharacter_composition_table'.
2945 (mark_charset): Don't mark `cs->encoding_table'.
2946 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2947 normal object; make `Vcharacter_composition_table' as an older
2948 object; delete staticpro for `Vcharacter_composition_table'; make
2949 `Vcharacter_variant_table' as a normal object.
2951 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2952 (mark_object): Don't check older object in UTF-2000.
2954 * lrecord.h (struct lrecord_header): Add new member `older' in
2956 (set_lheader_implementation): Setup `SLI_header->older' in
2958 (set_lheader_older_implementation): New macro in UTF-2000.
2959 (OLDER_RECORD_P): New macro in UTF-2000.
2960 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2961 (alloc_older_lcrecord): New prototype in UTF-2000.
2962 (alloc_older_lcrecord_type): New macro in UTF-2000.
2964 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2966 * mule-charset.c (byte_table_description): Use
2967 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2968 (char_id_table_description): Delete bogus `, 1'.
2969 (Fget_char_attribute): Refer encoding_table of each coded-charset
2970 to get value of coded-charset attribute of a character.
2971 (Fput_char_attribute): Use `make_older_vector' instead of
2972 `make_vector'; use encoding_table of each coded-charset to store
2973 value of coded-charset attribute of a character.
2974 (Fremove_char_attribute): Use encoding_table of each coded-charset
2975 to store value of coded-charset attribute of a character.
2976 (mark_charset): Mark `cs->encoding_table'; don't mark
2977 `cs->decoding_table'.
2978 (charset_description): Add description of new member
2980 (make_charset): Initialize `encoding_table'.
2982 * char-ucs.h (struct Lisp_Charset): Add new member
2984 (CHARSET_ENCODING_TABLE): New macro.
2985 (XCHARSET_ENCODING_TABLE): New macro.
2986 (charset_code_point): New implementation.
2987 (encode_char_1): Likewise.
2989 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2990 (disksave_object_finalization_1): Call finalizers of
2991 `all_older_lcrecords' in UTF-2000.
2992 (make_older_vector): New function in UTF-2000.
2993 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2996 * lisp.h (make_older_vector): New prototype in UTF-2000.
2998 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3000 * lrecord.h (enum lrecord_type): Rename
3001 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3003 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3004 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3005 `get_char_code_table'.
3007 * mule-charset.c (mark_char_id_table): Renamed from
3008 `mark_char_code_table'.
3009 (char_id_table_equal): Renamed from `char_code_table_equal'.
3010 (char_id_table_hash): Renamed from `char_code_table_hash'.
3011 (make_char_id_table): Renamed from `make_char_code_table'.
3012 (copy_char_id_table): Renamed from `copy_char_code_table'.
3013 (get_char_id_table): Renamed from `get_char_code_table'.
3014 (put_char_id_table): Renamed from `put_char_code_table'.
3015 (to_char_id): Renamed from `to_char_code'.
3017 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3018 `Lisp_Char_Code_Table'.
3019 (char_id_table): Renamed from `char_code_table'.
3020 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3021 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3022 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3023 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3024 (get_char_id_table): Renamed from `get_char_code_table'.
3026 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3028 * lrecord.h (enum lrecord_type): Rename
3029 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3031 * mule-charset.c (mark_byte_table): Renamed from
3032 `mark_char_byte_table'.
3033 (byte_table_equal): Renamed from `char_byte_table_equal'.
3034 (byte_table_hash): Renamed from `byte_table_hash'.
3035 (make_byte_table): Renamed from `make_byte_table'.
3036 (copy_byte_table): Renamed from `copy_char_byte_table'.
3038 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3039 `Lisp_Char_Byte_Table'.
3040 (byte_table): Renamed from `char_byte_table'.
3041 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3042 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3043 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3044 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3046 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3048 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3049 (dfc_convert_to_internal_format): Likewise.
3051 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3052 * text-coding.c (Fcoding_system_alias_p): New function.
3053 * text-coding.c (Fcoding_system_aliasee): New function.
3054 * text-coding.c (append_suffix_to_symbol): New function.
3055 * text-coding.c (dangling_coding_system_alias_p): New function.
3056 * text-coding.c (Ffind_coding_system):
3057 * text-coding.c (Fcopy_coding_system):
3058 * text-coding.c (encode_coding_no_conversion):
3059 * text-coding.c (syms_of_file_coding):
3060 * text-coding.c (vars_of_file_coding):
3061 Rewrite coding system alias code.
3062 Allow nested aliases, like symbolic links.
3063 Allow redefinition of coding system aliases.
3064 Prevent existence of dangling coding system aliases.
3065 Eliminate convert_to_external_format.
3066 Eliminate convert_to_internal_format.
3068 * text-coding.c: Change enum eol_type to eol_type_t.
3070 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3072 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3073 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3075 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3076 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3078 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3080 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3081 `ideograph-daikanwa'.
3083 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3084 (Vcharset_ucs_bmp): Likewise.
3085 (Vcharset_mojikyo): Add new extern variable definition.
3086 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3087 (Vcharset_latin_iso8859_3): Likewise.
3088 (Vcharset_latin_iso8859_4): Likewise.
3089 (Vcharset_latin_iso8859_9): Likewise.
3090 (Vcharset_latin_viscii_lower): Likewise.
3091 (Vcharset_latin_viscii_upper): Likewise.
3092 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3093 `mojikyo' code-point is used to decode.
3094 (encode_char_2): New function [to convert `mojikyo' code-point to
3095 Mojikyo font encoding].
3096 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3097 (breakup_char_1): Likewise.
3098 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3100 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3102 * text-coding.c (Fmake_coding_system): Add document about
3103 `disable-composition' property.
3105 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3107 * text-coding.c (Qdisable_composition): New variable; delete
3109 (Fmake_coding_system): Add new property `disable-composite';
3110 delete property `composite'.
3111 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3112 instead of `!CODING_SYSTEM_COMPOSITE'.
3113 (syms_of_file_coding): Add new symbol `disable-composition';
3114 delete symbol `composite'.
3116 * file-coding.h (struct Lisp_Coding_System): Add
3117 `disable_composition'; delete `enable_composition'.
3118 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3119 `CODING_SYSTEM_COMPOSITE'.
3120 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3121 `XCODING_SYSTEM_COMPOSITE'.
3123 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3125 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3128 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3130 * text-coding.c (Qcomposite): New variable.
3131 (Fmake_coding_system): Add new property `composite'.
3132 (struct decoding_stream): Add `combined_char_count',
3133 `combined_chars' and `combining_table' in UTF-2000.
3134 (COMPOSE_FLUSH_CHARS): New macro.
3135 (COMPOSE_ADD_CHAR): New macro.
3136 (reset_decoding_stream): Reset `str->combined_char_count' and
3137 `str->combining_table' in UTF-2000.
3138 (decode_coding_iso2022): Modify for character-decomposition.
3139 (syms_of_file_coding): Add new symbol `composite'.
3141 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3143 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3144 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3145 of `Vcharacter_composition_table' if `->decomposition' property
3147 (Qlatin_tcvn5712): New variable.
3148 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3149 (complex_vars_of_mule_charset): Add new coded-charset
3152 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3154 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3156 * file-coding.h (struct Lisp_Coding_System): Add
3157 `enable_composition'.
3158 (CODING_SYSTEM_COMPOSITE): New macro.
3159 (XCODING_SYSTEM_COMPOSITE): New macro.
3161 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3163 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3165 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3167 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3168 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3170 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3172 * mule-charset.c (Vcharset_mojikyo): New variable.
3173 (Fdefine_char): Don't use coded-charset which does not have
3174 non-builtin character range to allocate character-id.
3175 (Qmojikyo): New variable.
3176 (syms_of_mule_charset): Add new symbol `mojikyo'.
3177 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3179 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3180 (LEADING_BYTE_MOJIKYO): New macro.
3181 (MIN_CHAR_MOJIKYO): New macro.
3182 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3183 (MAX_CHAR_MOJIKYO): New macro.
3185 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3187 * mule-charset.c (remove_char_attribute): Fixed.
3189 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3191 * mule-charset.c (remove_char_attribute): New function.
3192 (Fremove_char_attribute): New function.
3193 (encode_builtin_char_1): Comment out builtin-support for
3194 greek-iso8859-7 and cyrillic-iso8859-5.
3195 (Fdecode_char): Check `code' is an integer.
3196 (syms_of_mule_charset): Add `remove-char-attribute'.
3197 (MIN_CHAR_GREEK): Deleted.
3198 (MAX_CHAR_GREEK): Likewise.
3199 (MIN_CHAR_CYRILLIC): Likewise.
3200 (MAX_CHAR_CYRILLIC): Likewise.
3201 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3202 MAX_CHAR_GREEK for `greek-iso8859-7'.
3204 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3205 (MAX_CHAR_GREEK): Likewise.
3206 (MIN_CHAR_CYRILLIC): Likewise.
3207 (MAX_CHAR_CYRILLIC): Likewise.
3209 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3211 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3212 format is used without `ucs' property.
3213 (Fdecode_char): Fix problem with GR representation.
3214 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3215 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3217 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3219 * mule-charset.c (make_builtin_char): New function.
3220 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3221 (Fset_charset_mapping_table): Modify for new representation of
3223 (Fdecode_char): New function.
3224 (syms_of_mule_charset): Add new builtin function `decode-char' in
3227 * char-ucs.h (make_builtin_char): New prototype.
3228 (DECODE_CHAR): New inline function.
3229 (MAKE_CHAR): Use `DECODE_CHAR'.
3231 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3233 * text-coding.c (parse_charset_conversion_specs): Use
3234 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3236 (iso2022_designate): Likewise.
3238 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3239 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3241 * mule-charset.c (Vcharset_ucs): New variable.
3242 (print_charset): Change design; use `CHARSET_CHARS' and
3243 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3244 (make_charset): Change signature to specify `chars' and
3245 `dimension' instead of `type'.
3246 (range_charset_code_point): Modify for 256^n-set.
3247 (encode_builtin_char_1): Encode as `ucs' in default.
3248 (Fmake_charset): Modify for `make_charset'.
3249 (Fmake_reverse_direction_charset): Likewise.
3250 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3252 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3255 * char-ucs.h (Vcharset_ucs): New variable.
3256 (LEADING_BYTE_UCS): New macro.
3257 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3258 and `chars' to `unsigned short' from `unsigned int'.
3259 (CHARSET_TYPE): Deleted.
3260 (XCHARSET_TYPE): Deleted.
3262 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3264 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3266 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3267 (ENCODE_CHAR): New macro.
3269 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3271 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3272 to 0.14 (Kawachi-Katakami).
3274 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3276 * text-coding.c (char_encode_shift_jis): Modify for
3277 `charset_code_point'.
3278 (char_encode_iso2022): Likewise.
3280 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3281 (integer) instead of list of <Lisp_Object>s (integers) as the
3282 format of code-point of a coded-charset.
3283 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3284 (encode_builtin_char_1): New function; delete
3285 `split_builtin_char'.
3286 (charset_code_point): Return <int> instead of <Lisp_Object>.
3287 (Fsplit_char): Don't use `SPLIT_CHAR'.
3289 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3290 prototype for `split_builtin_char'.
3291 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3292 (charset_code_point): Likewise.
3293 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3294 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3296 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3298 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3299 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3301 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3303 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3305 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3306 (MAX_CHAR_OBS_94x94): Deleted.
3308 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3310 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3312 * char-ucs.h (MAX_CHAR_BMP): New macro.
3314 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3316 * text-coding.c: Sync with r21-2-24.
3318 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3320 * file-coding.c: Modify for UTF-2000.
3322 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3324 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3327 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3329 * mule-charset.c (split_builtin_char): Delete builtin support for
3330 `katakana-jisx0201'.
3331 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3332 BMP area in builtin representation.
3334 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3335 `Vcharset_katakana_jisx0201'.
3337 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3339 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3340 (Qisolated): New variable.
3341 (Qinitial): New variable.
3342 (Qmedial): New variable.
3343 (Qfinal): New variable.
3344 (Qvertical): New variable.
3345 (Qsmall): New variable.
3346 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3347 `Qvertical' and `Qsmall'.
3348 (Qmojikyo_pj_[1 .. 21]): New variable.
3349 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3350 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3351 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3354 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3356 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3357 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3358 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3360 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3362 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3363 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3365 (Qjapanese_jisx0208_1990): New variable.
3366 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3367 (complex_vars_of_mule_charset): Add new coded-charset
3368 `japanese-jisx0208-1990'.
3370 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3371 (MIN_CHAR_JIS_X0208_1990): New macro.
3372 (MAX_CHAR_JIS_X0208_1990): New macro.
3374 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3376 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3377 coded-charset is not found.
3379 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3381 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3382 (Fdefine_char): Use `Fmake_char'.
3384 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3386 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3387 (Vcharset_hiragana_jisx0208): Deleted.
3388 (Vcharset_katakana_jisx0208): Deleted.
3389 (Qideograph_daikanwa): New variable.
3390 (Qhiragana_jisx0208): Deleted.
3391 (Qkatakana_jisx0208): Deleted.
3392 (split_builtin_char): Split `ideograph-daikanwa'.
3393 (Fsplit_char): New implementation for UTF-2000.
3394 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3395 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3396 (complex_vars_of_mule_charset): Add new coded-charset
3397 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3398 `katakana-jisx0208'.
3400 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3401 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3402 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3403 (MIN_CHAR_DAIKANWA): New macro.
3404 (MAX_CHAR_DAIKANWA): New macro.
3406 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3408 * data.c (Fstring_to_number): Don't recognize floating point if
3411 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3413 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3415 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3417 * mule-charset.c (Qsquare): New variable.
3418 (to_char_code): Add `Qsquare'.
3419 (syms_of_mule_charset): Add new symbol `square'.
3421 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3423 * mule-charset.c (Qcircle): New variable.
3424 (to_char_code): Add `Qcircle'.
3425 (syms_of_mule_charset): Add new symbol `circle'.
3427 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3429 * mule-charset.c (Qfont): New variable.
3430 (to_char_code): Add `Qfont'.
3431 (syms_of_mule_charset): Add new symbol `font'.
3433 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3435 * mule-charset.c (Qsub): New variable.
3436 (to_char_code): Add `Qsub'.
3437 (syms_of_mule_charset): Add new symbol `sub'.
3439 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3441 * mule-charset.c (Fput_char_attribute): Convert each element of
3442 VALUE to GL position if ATTRIBUTE is a GR-set,
3444 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3446 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3447 coded-charset is a GR-set.
3449 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3451 * mule-charset.c (Fput_char_attribute): Check each element of
3452 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3454 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3456 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3458 (Qethiopic_ucs): New variable in UTF-2000.
3459 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3460 (complex_vars_of_mule_charset): Add new coded-charset
3461 `ethiopic-ucs' in UTF-2000.
3463 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3464 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3466 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3468 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3470 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3472 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3475 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3477 * mule-charset.c (Vcharacter_variant_table): New variable.
3478 (Q_ucs): New variable.
3479 (Fchar_variants): New function.
3480 (Fput_char_attribute): Register `->ucs' value to
3481 `Vcharacter_variant_table'.
3482 (syms_of_mule_charset): Add new function `char-variants' and new
3484 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3486 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3488 * mule-charset.c (get_char_code_table): Allow negative character
3490 (put_char_code_table): Likewise.
3491 (Vcharacter_composition_table): New variable.
3492 (Q_decomposition): New variable.
3493 (Qwide): New variable.
3494 (Qnarrow): New variable.
3495 (Qcompat): New variable.
3496 (QnoBreak): New variable.
3497 (Qsuper): New variable.
3498 (Qfraction): New variable.
3499 (to_char_code): New function.
3500 (Fget_composite_char): New function.
3501 (Fput_char_attribute): Register `->decomposition' value to
3502 `Vcharacter_composition_table'.
3503 (syms_of_mule_charset): Add new function `get-composite-char', new
3504 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3505 `super' and `fraction'.
3506 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3508 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3510 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3511 character; copy the return value.
3513 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3515 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3517 * mule-charset.c (range_charset_code_point): Must use make_int.
3518 (split_builtin_char): New function.
3520 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3522 * mule-charset.c (char_byte_table): Change name from
3523 "char-code-table" to "char-byte-table".
3524 (mark_char_code_table): New function.
3525 (char_code_table_equal): New function.
3526 (char_code_table_hash): New function.
3527 (char_code_table_description): New constant.
3528 (char_code_table): New type.
3529 (make_char_code_table): New function.
3530 (copy_char_code_table): New function.
3531 (get_char_code_table): Modify for `char_code_table' type.
3532 (put_char_code_table): Likewise.
3533 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3536 * char-ucs.h (char_code_table): New type.
3537 (XCHAR_CODE_TABLE): New macro.
3538 (XSETCHAR_CODE_TABLE): New macro.
3539 (CHAR_CODE_TABLE_P): New macro.
3540 (GC_CHAR_CODE_TABLE_P): New macro.
3541 (struct Lisp_Char_Code_Table): New structure.
3543 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3545 * mule-charset.c (Fmake_charset): Setup byte_offset for
3548 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3550 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3553 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3555 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3558 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3560 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3561 charset, it is regarded as a charset.
3562 (put_char_attribute): New function in UTF-2000.
3563 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3564 charset, mapping-table of the charset is modified.
3565 (Fdefine_char): New function in UTF-2000.
3566 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3567 `Fput_char_attribute'.
3568 (syms_of_mule_charset): Add new function `define-char' and new
3569 symbol `ucs' in UTF-2000.
3570 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3572 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3574 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3575 non-UTF-2000 configuration.
3577 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3579 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3580 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3582 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3584 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3585 (Fset_charset_mapping_table): Likewise.
3587 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3588 (CHARSET_ENCODING_TABLE): Delete.
3589 (XCHARSET_ENCODING_TABLE): Delete.
3590 (charset_code_point): New interface.
3592 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3594 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3595 instead of `charset_get_byte1' and `charset_get_byte2'.
3597 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3598 (charset_get_byte2): Deleted.
3600 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3602 * char-ucs.h (SPLIT_CHAR): New inline function.
3603 (breakup_char_1): Use `SPLIT_CHAR'.
3605 * mule-charset.c (range_charset_code_point): New function.
3606 (charset_code_point): New function.
3608 * char-ucs.h (range_charset_code_point): New interface.
3609 (breakup_char_1): Use `range_charset_code_point'.
3611 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3613 * mule-charset.c (Fmake_charset): Delete unused local variable
3616 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3617 (breakup_char_1): Find a charset and code-point in
3618 `Vcharacter_attribute_table'.
3620 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3622 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3625 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3627 * mule-charset.c (Vcharacter_attribute_table): New variable.
3628 (Fchar_attribute_alist): New function.
3629 (Fget_char_attribute): New function.
3630 (Fput_char_attribute): New function.
3631 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3633 (syms_of_mule_charset): Add new function `char-attribute-alist',
3634 `get-char-attribute' and `put-char-attribute'.
3635 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3637 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3639 * mule-charset.c (Fmake_charset): Just use
3640 `get_unallocated_leading_byte'.
3642 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3643 sets; don't use final-byte based number for private sets.
3645 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3647 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3650 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3652 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3655 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3657 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3658 of `CHAR_LEADING_BYTE' in UTF-2000.
3660 * insdel.c (find_charsets_in_bufbyte_string): Use
3661 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3662 (find_charsets_in_emchar_string): Likewise.
3664 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3665 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3667 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3668 (CHAR_CHARSET_ID): New macro.
3670 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3672 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3673 charset-id - MIN_LEADING_BYTE.
3674 (put_char_table): Likewise.
3676 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3678 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3679 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3680 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3681 (CHARSET_ID_OFFSET): New macro.
3682 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3683 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3684 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3685 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3687 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3689 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3690 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3691 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3692 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3693 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3695 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3697 * mule-charset.c (next_allocated_leading_byte): New variable in
3699 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3700 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3701 (get_unallocated_leading_byte): Simply use
3702 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3703 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3706 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3707 (MAX_LEADING_BYTE_PRIVATE): New macro.
3708 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3709 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3711 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3713 * mule-charset.c (Fmake_charset): Allocate final-byte based
3714 charset-id for 94-set, 96-set and 94x94-set.
3716 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3718 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3720 (Fmake_charset): Likewise.
3721 (complex_vars_of_mule_charset): Modify the font registry of
3722 `ucs-bmp' not to match `Ethiopic-Unicode'.
3724 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3726 * mule-charset.c (complex_vars_of_mule_charset): Add font
3727 registory of `ucs-bmp'.
3729 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3731 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3732 coded-charsets in `default-coded-charset-priority-list' when
3733 breaking up a character.
3735 * mule-charset.c (Vcharset_latin_viscii): New variable.
3736 (Qlatin_viscii): New variable.
3737 (make_charset): Don't use `decoding_table'.
3738 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3740 (Fset_charset_mapping_table): New implementation.
3741 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3742 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3743 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3744 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3745 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3746 charset `latin_viscii'.
3748 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3749 (CHARSET_TYPE_94X94): Change to 1 from 2.
3750 (CHARSET_TYPE_96): Change to 2 from 1.
3751 (CHARSET_TYPE_128): New macro.
3752 (CHARSET_TYPE_128X128): Change to 5 from 4.
3753 (CHARSET_TYPE_256): New macro.
3754 (CHARSET_TYPE_256X256): Change to 7 from 5.
3755 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3757 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3759 * text-coding.c (char_encode_shift_jis): Refer
3760 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3761 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3763 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3764 (char_byte_table_equal): New function in UTF-2000.
3765 (char_byte_table_hash): New function in UTF-2000.
3766 (char_byte_table_description): New constant in UTF-2000.
3767 (char_byte_table): New type in UTF-2000.
3768 (make_char_byte_table): New function in UTF-2000.
3769 (copy_char_byte_table): New function in UTF-2000.
3770 (make_char_code_table): New macro in UTF-2000.
3771 (get_char_code_table): New function in UTF-2000.
3772 (put_char_code_table): New function in UTF-2000.
3773 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3774 (charset_description): Add setting in UTF-2000.
3775 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3776 `CHARSET_TO_BYTE1_TABLE(cs)'.
3777 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3778 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3779 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3780 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3781 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3782 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3783 `CHARSET_TO_BYTE2_TABLE(cs)'.
3785 * char-ucs.h (char_byte_table): New type.
3786 (XCHAR_BYTE_TABLE): New macro.
3787 (XSETCHAR_BYTE_TABLE): New macro.
3788 (CHAR_BYTE_TABLE_P): New macro.
3789 (GC_CHAR_BYTE_TABLE_P): New macro.
3790 (struct Lisp_Char_Byte_Table): New structure.
3791 (get_char_code_table): New interface.
3792 (Emchar_to_byte_table): Deleted.
3793 (get_byte_from_character_table): Deleted.
3794 (struct Lisp_Charset): Add `encoding_table'; delete
3795 `to_byte1_table' and `to_byte2_table'.
3796 (CHARSET_ENCODING_TABLE): New macro.
3797 (CHARSET_TO_BYTE1_TABLE): Deleted.
3798 (CHARSET_TO_BYTE2_TABLE): Deleted.
3799 (XCHARSET_ENCODING_TABLE): New macro.
3800 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3801 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3803 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3805 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3806 `vietnamese-viscii-*'.
3808 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3810 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3811 (Qvietnamese_viscii_upper): New variable.
3812 (Fdefine_charset_alias): New function.
3813 (syms_of_mule_charset): Add new function `define-charset-alias'.
3814 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3815 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3818 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3820 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3821 (MAX_CHAR_OBS_94x94): New macro.
3822 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3825 * mule-charset.c (put_byte_from_character_table): Change unit size
3827 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3829 (Fmake_reverse_direction_charset): Modify dummy argument of
3830 `make_charset' for non-UTF-2000 environment.
3832 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3834 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3836 * mule-charset.c (destroy_byte_from_character_table): New macro.
3837 (latin_jisx0201_to_ucs): Deleted.
3838 (latin_iso8859_2_to_ucs): Deleted.
3839 (latin_iso8859_3_to_ucs): Deleted.
3840 (latin_iso8859_4_to_ucs): Deleted.
3841 (latin_iso8859_9_to_ucs): Deleted.
3842 (latin_viscii_lower_to_ucs): Deleted.
3843 (latin_viscii_upper_to_ucs): Deleted.
3844 (mark_charset): Mark `cs->decoding_table'.
3845 (Fcharset_mapping_table): Fix DOC-string.
3846 (Fset_charset_mapping_table): New function.
3847 (syms_of_mule_charset): Add nwe function
3848 `set-charset-mapping-table'.
3849 (complex_vars_of_mule_charset): Don't setup and use
3852 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3854 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3857 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3859 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3860 (Vcharset_katakana_jisx0208): New variable.
3861 (Qhiragana_jisx0208): New variable.
3862 (Qkatakana_jisx0208): New variable.
3863 (make_charset): Add new argument `byte_offset'.
3864 (charset_get_byte1): Modify for new coded-charset definition; use
3865 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3866 `XCHARSET_BYTE_OFFSET'.
3867 (Fmake_charset): Modify for `make_charset'.
3868 (Fmake_reverse_direction_charset): Likewise.
3869 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3870 `katakana-jisx0208'.
3871 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3872 `.' in font registry of charset `katakana-jisx0201',
3873 `latin-jisx0201', `vietnamese-viscii-lower' and
3874 `vietnamese-viscii-upper'; modify DOC-string of charset
3875 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3876 registry of charset `japanese-jisx0208' not to use font for JIS
3877 X0208:1990; add new charset `hiragana-jisx0208' and
3878 `katakana-jisx0208'.
3880 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3881 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3882 (struct Lisp_Charset): Add `byte_offset'.
3883 (CHARSET_BYTE_OFFSET): New macro.
3884 (XCHARSET_UCS_MIN): New macro.
3885 (XCHARSET_UCS_MAX): New macro.
3886 (XCHARSET_CODE_OFFSET): New macro.
3887 (XCHARSET_BYTE_OFFSET): New macro.
3888 (MIN_CHAR_HIRAGANA): New macro.
3889 (MAX_CHAR_HIRAGANA): New macro.
3890 (MIN_CHAR_KATAKANA): New macro.
3891 (MAX_CHAR_KATAKANA): New macro.
3892 (MAKE_CHAR): Modify for new coded-charset definition; use
3893 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3894 `XCHARSET_BYTE_OFFSET'.
3896 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3898 * mule-charset.c (CHAR96): Deleted.
3899 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3901 (latin_iso8859_2_to_ucs): Likewise.
3902 (latin_iso8859_3_to_ucs): Likewise.
3903 (latin_iso8859_4_to_ucs): Likewise.
3904 (latin_iso8859_9_to_ucs): Likewise.
3905 (latin_viscii_lower_to_ucs): Likewise.
3906 (latin_viscii_upper_to_ucs): Likewise.
3907 (latin_tcvn5712_to_ucs): Commented out.
3908 (make_charset): Change type of argument `decoding_table' from
3909 <Emchar*> to <Lisp_Object> [vector of characters].
3910 (Fmake_charset): Modify for `make_charset'.
3911 (Fmake_reverse_direction_charset): Likewise.
3912 (Fcharset_mapping_table): New function in UTF-2000.
3913 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3915 (complex_vars_of_mule_charset): Modify for type change of
3916 `*_to_ucs'; modify for `make_charset'.
3918 * char-ucs.h (struct Lisp_Charset): Change type of
3919 `decoding_table' from <Emchar*> to <Lisp_Object>.
3920 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3922 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3924 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3925 error with non-UTF-2000-Mule.
3927 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3929 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3931 (Vcharset_chinese_cns11643_4): Likewise.
3932 (Vcharset_chinese_cns11643_5): Likewise.
3933 (Vcharset_chinese_cns11643_6): Likewise.
3934 (Vcharset_chinese_cns11643_7): Likewise.
3935 (Qchinese_cns11643_3): Likewise.
3936 (Qchinese_cns11643_4): Likewise.
3937 (Qchinese_cns11643_5): Likewise.
3938 (Qchinese_cns11643_6): Likewise.
3939 (Qchinese_cns11643_7): Likewise.
3940 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3941 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3942 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3943 (complex_vars_of_mule_charset): Likewise.
3945 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3947 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3949 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3950 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3952 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3954 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3956 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3957 (breakup_char_1): Likewise.
3959 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3960 one of them includes the specified character.
3962 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3964 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3966 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3968 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3970 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3972 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3973 definition for non-UTF-2000 Mule.
3974 (latin_iso8859_3_to_ucs): Likewise.
3975 (latin_iso8859_4_to_ucs): Likewise.
3976 (latin_iso8859_9_to_ucs): Likewise.
3977 (latin_jisx0201_to_ucs): Likewise.
3978 (MIN_CHAR_THAI): Likewise.
3979 (MAX_CHAR_THAI): Likewise.
3980 (MIN_CHAR_GREEK): Likewise.
3981 (MAX_CHAR_GREEK): Likewise.
3982 (MIN_CHAR_HEBREW): Likewise.
3983 (MAX_CHAR_HEBREW): Likewise.
3984 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3985 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3986 (MIN_CHAR_CYRILLIC): Likewise.
3987 (MAX_CHAR_CYRILLIC): Likewise.
3989 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3991 * char-ucs.h (breakup_char_1): Use
3992 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3993 thai-tis620 and katakana-jisx0201 area.
3995 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3997 * char-ucs.h (breakup_char_1): Use
3998 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4001 * text-coding.c (reset_encoding_stream): Fixed.
4002 (char_encode_ucs4): Delete `& 255'.
4004 * char-ucs.h (breakup_char_1): Use
4005 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4007 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4009 * file-coding.c (Fmake_coding_system): Don't set up
4010 `codesys->fixed.size'.
4011 (encode_coding_no_conversion): Don't refer
4012 `str->codesys->fixed.size'.
4014 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4016 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4017 (latin_a_char_to_byte1): Deleted.
4018 (latin_a_char_to_byte2): Deleted.
4020 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4022 * mule-charset.c (make_charset): Add new argument `ucs_min',
4023 `ucs_max' and `code_offset'.
4024 (charset_get_byte1): New implementation [delete specific charset
4025 depended implementations].
4026 (Fmake_charset): Modify for `make_charset'.
4027 (Fmake_reverse_direction_charset): Likewise.
4028 (complex_vars_of_mule_charset): Likewise.
4030 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4032 (CHARSET_UCS_MIN): New macro.
4033 (CHARSET_UCS_MAX): New macro.
4034 (CHARSET_CODE_OFFSET): New macro.
4035 (MAKE_CHAR): Delete charset depended definitions [except
4038 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4040 * char-ucs.h (breakup_char_1): Use
4041 `Vdefault_coded_charset_priority_list' for C0-Controls,
4042 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4044 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4046 * char-ucs.h (charset_get_byte1): New function.
4047 (XCHARSET_GET_BYTE1): Deleted.
4048 (charset_get_byte2): New function.
4049 (XCHARSET_GET_BYTE2): Deleted.
4050 (Vdefault_coded_charset_priority_list): New external variable.
4051 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4052 `Vdefault_preferred_coded_charset_list'.
4054 * mule-charset.c (charset_get_byte1): New function.
4055 (charset_get_byte2): New function.
4056 (Vdefault_coded_charset_priority_list): New variable.
4057 (vars_of_mule_charset): Add new variable
4058 `default-coded-charset-priority-list'.
4060 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4062 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4063 (XCHARSET_GET_BYTE2): New inline function.
4064 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4065 `XCHARSET_GET_BYTE2'.
4067 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4069 * mule-charset.c (make_charset): Initialize
4070 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4071 NULL if table is not defined.
4073 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4075 * text-coding.c (char_encode_shift_jis): Use
4076 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4077 `ucs_to_latin_jisx0201'.
4079 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4080 (ucs_to_latin_iso8859_2): Deleted.
4081 (ucs_to_latin_iso8859_3): Deleted.
4082 (ucs_to_latin_iso8859_4): Deleted.
4083 (ucs_to_latin_iso8859_9): Deleted.
4084 (ucs_to_latin_viscii_lower): Deleted.
4085 (ucs_to_latin_viscii_upper): Deleted.
4086 (ucs_to_latin_tcvn5712): Deleted.
4087 (make_charset): Add new argument `decoding_table'; set up
4088 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4089 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4090 `decoding_table' is defined in UTF-2000.
4091 (Fmake_charset): Modify for `make_charset'.
4092 (Fmake_reverse_direction_charset): Likewise.
4093 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4094 and `GENERATE_96_SET'.
4096 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4097 (ucs_to_latin_jisx0201): Deleted.
4098 (latin_iso8859_2_to_ucs): Deleted.
4099 (ucs_to_latin_iso8859_2): Deleted.
4100 (latin_iso8859_3_to_ucs): Deleted.
4101 (ucs_to_latin_iso8859_3): Deleted.
4102 (latin_iso8859_4_to_ucs): Deleted.
4103 (ucs_to_latin_iso8859_4): Deleted.
4104 (latin_iso8859_9_to_ucs): Deleted.
4105 (ucs_to_latin_iso8859_9): Deleted.
4106 (latin_viscii_lower_to_ucs): Deleted.
4107 (ucs_to_latin_viscii_lower): Deleted.
4108 (latin_viscii_upper_to_ucs): Deleted.
4109 (ucs_to_latin_viscii_upper): Deleted.
4110 (struct Lisp_Charset): Renamed `encoding_table' to
4111 `to_byte1_table'; add `to_byte2_table'.
4112 (CHARSET_DECODING_TABLE): New macro.
4113 (CHARSET_TO_BYTE1_TABLE): New macro.
4114 (CHARSET_TO_BYTE2_TABLE): New macro.
4115 (XCHARSET_DECODING_TABLE): New macro.
4116 (XCHARSET_TO_BYTE1_TABLE): New macro.
4117 (XCHARSET_TO_BYTE2_TABLE): New macro.
4118 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4120 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4121 don't use `ucs_to_*' tables.
4123 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4125 * text-coding.c (Fmake_coding_system): Don't set up
4126 `codesys->fixed.size'.
4127 (encode_coding_no_conversion): Use `if' instead of `switch'.
4129 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4131 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4133 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4134 (Fmake_charset): Modify for `make_charset'.
4135 (Fmake_reverse_direction_charset): Likewise.
4136 (complex_vars_of_mule_charset): Likewise.
4138 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4140 * text-coding.c (char_encode_shift_jis): Use table
4141 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4143 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4145 * text-coding.c (text_encode_generic): Use `if' instead of
4147 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4150 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4152 * text-coding.c (encode_coding_sjis): Deleted.
4153 (char_encode_shift_jis): New function.
4154 (char_finish_shift_jis): New function.
4155 (reset_encoding_stream): Set up `encode_char' and `finish' for
4156 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4157 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4158 (char_encode_utf8): Treat `eol_type'.
4160 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4162 * file-coding.c (decode_coding_iso2022): Use
4163 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4165 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4167 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4170 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4172 * char-lb.h (CHAR_COLUMNS): New macro.
4174 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4176 * text-coding.c (char_encode_ucs4): New function.
4177 (char_finish_ucs4): New function.
4178 (encode_coding_ucs4): Deleted.
4179 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4180 (text_encode_generic): Delete local variable `charset' and `half'.
4181 (ucs_to_mule_table): Deleted.
4182 (mule_to_ucs_table): Deleted.
4183 (Fset_ucs_char): Deleted.
4184 (ucs_to_char): Deleted.
4185 (Fucs_char): Deleted.
4186 (Fset_char_ucs): Deleted.
4187 (Fchar_ucs): Deleted.
4188 (decode_ucs4): Deleted.
4189 (mule_char_to_ucs4): Deleted.
4190 (encode_ucs4): Deleted.
4191 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4192 (decode_coding_utf8): Likewise.
4193 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4194 (char_encode_iso2022): Fixed.
4195 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4196 `Fset_char_ucs' and `Fchar_ucs'.
4197 (complex_vars_of_file_coding): Don't initialize
4198 `ucs_to_mule_table'.
4200 * objects-tty.c (tty_initialize_font_instance): Don't use
4203 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4206 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4207 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4209 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4210 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4211 (emchar_string_displayed_columns): Likewise.
4213 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4214 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4215 (string_column_at_point): Likewise.
4216 (Fmove_to_column): Likewise.
4218 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4219 `encoding_table' and `decoding_table'.
4220 (CHARSET_REP_BYTES): Deleted.
4221 (XCHARSET_REP_BYTES): Deleted.
4222 (XCHARSET_COLUMNS): Deleted.
4223 (CHAR_COLUMNS): New macro.
4224 (lookup_composite_char): Deleted unconditionally.
4225 (composite_char_string): Likewise.
4227 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4229 * char-ucs.h (Emchar_to_byte_table): New type.
4230 (get_byte_from_character_table): New function interface.
4231 (Vcharset_latin_jisx0201): New variable.
4232 (latin_jisx0201_to_ucs): New variable.
4233 (ucs_to_latin_jisx0201): New variable.
4234 (Vcharset_latin_iso8859_2): New variable.
4235 (latin_iso8859_2_to_ucs): New variable.
4236 (ucs_to_latin_iso8859_2): New variable.
4237 (Vcharset_latin_iso8859_3): New variable.
4238 (latin_iso8859_3_to_ucs): New variable.
4239 (ucs_to_latin_iso8859_3): New variable.
4240 (Vcharset_latin_iso8859_4): New variable.
4241 (latin_iso8859_4_to_ucs): New variable.
4242 (ucs_to_latin_iso8859_4): New variable.
4243 (Vcharset_latin_iso8859_9): New variable.
4244 (latin_iso8859_9_to_ucs): New variable.
4245 (ucs_to_latin_iso8859_9): New variable.
4246 (Vcharset_latin_viscii_lower): New variable.
4247 (latin_viscii_lower_to_ucs): New variable.
4248 (ucs_to_latin_viscii_lower): New variable.
4249 (Vcharset_latin_viscii_upper): New variable.
4250 (latin_viscii_upper_to_ucs): New variable.
4251 (ucs_to_latin_viscii_upper): New variable.
4252 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4253 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4254 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4255 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4256 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4257 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4258 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4259 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4260 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4261 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4263 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4264 (Vcharset_latin_viscii_upper): New variable.
4265 (make_byte_from_character_table): New function.
4266 (put_byte_from_character_table): New function.
4267 (get_byte_from_character_table): New function.
4268 (CHAR96): New macro.
4269 (ucs_to_latin_jisx0201): New variable.
4270 (latin_jisx0201_to_ucs): New variable.
4271 (ucs_to_latin_iso8859_2): New variable.
4272 (latin_iso8859_2_to_ucs): New variable.
4273 (ucs_to_latin_iso8859_3): New variable.
4274 (latin_iso8859_3_to_ucs): New variable.
4275 (ucs_to_latin_iso8859_4): New variable.
4276 (latin_iso8859_4_to_ucs): New variable.
4277 (ucs_to_latin_iso8859_9): New variable.
4278 (latin_iso8859_9_to_ucs): New variable.
4279 (ucs_to_latin_viscii_lower): New variable.
4280 (latin_viscii_lower_to_ucs): New variable.
4281 (ucs_to_latin_viscii_upper): New variable.
4282 (latin_viscii_upper_to_ucs): New variable.
4283 (ucs_to_latin_tcvn5712): New variable.
4284 (latin_tcvn5712_to_ucs): New variable.
4285 (Qlatin_viscii_lower): New variable.
4286 (Qlatin_viscii_upper): New variable.
4287 (syms_of_mule_charset): Set up new symbol
4288 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4289 (complex_vars_of_mule_charset): Set up new charset
4290 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4291 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4292 `ucs_to_<CHARSET>' tables.
4294 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4296 * text-coding.c: New file.
4298 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4300 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4302 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4303 (MAKE_CHAR): Modify for `ucs-bmp'.
4304 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4305 non-MULE characters of BMP.
4307 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4309 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4312 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4315 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4316 - Include character.h for `CHAR_ASCII_P'.
4318 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4320 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4321 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4323 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4324 (BYTE_C0_P): Likewise.
4325 (BYTE_C1_P): Likewise.
4326 (Lstream_get_emchar_1): Likewise.
4327 (Lstream_fput_emchar): Likewise.
4328 (Lstream_funget_emchar): Likewise.
4329 (copy_internal_to_external): Likewise.
4330 (copy_external_to_internal): Likewise.
4332 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4333 (BYTE_C0_P): Likewise.
4334 (BYTE_C1_P): Likewise.
4335 (Lstream_get_emchar_1): Likewise.
4336 (Lstream_fput_emchar): Likewise.
4337 (Lstream_funget_emchar): Likewise.
4338 (copy_internal_to_external): Likewise.
4339 (copy_external_to_internal): Likewise.
4341 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4342 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4344 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4345 (BYTE_ASCII_P): Moved to mb-1byte.h.
4347 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4349 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4351 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4352 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4353 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4354 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4355 (VALIDATE_CHARPTR_FORWARD): Likewise.
4356 (simple_charptr_emchar): Moved to mb-multibyte.h.
4357 (simple_set_charptr_emchar): Likewise.
4358 (simple_charptr_copy_char): Likewise.
4359 (non_ascii_charptr_emchar): Likewise.
4360 (non_ascii_set_charptr_emchar): Likewise.
4361 (non_ascii_charptr_copy_char): Likewise.
4362 (charptr_emchar): Moved to mb-*byte.h.
4363 (set_charptr_emchar): Likewise.
4364 (charptr_copy_char): Likewise.
4366 * mb-1byte.h, mb-multibyte.h: New files.
4368 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4370 * mb-utf-8.h (MULTIBYTE): New macro.
4371 (MAX_EMCHAR_LEN): Moved from buffer.h.
4372 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4374 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4376 * mb-lb.h, multibyte.h: New files.
4378 * char-1byte.h (Charset_ID): Moved from buffer.h.
4379 (MIN_LEADING_BYTE): Likewise.
4380 (LEADING_BYTE_ASCII): Likewise.
4381 (NUM_LEADING_BYTES): Likewise.
4382 (CHARSETP): Likewise.
4383 (CHARSET_BY_LEADING_BYTE): Likewise.
4384 (XCHARSET_LEADING_BYTE): Likewise.
4385 (XCHARSET_GRAPHIC): Likewise.
4386 (XCHARSET_COLUMNS): Likewise.
4387 (XCHARSET_DIMENSION): Likewise.
4388 (CHAR_CHARSET): Likewise.
4389 (CHAR_LEADING_BYTE): Likewise.
4390 (BREAKUP_CHAR): Likewise.
4391 (Vcharset_ascii): Likewise.
4393 * buffer.h: Include multibyte.h unconditionally.
4394 (VALID_CHARPTR_P): Moved to multibyte.h.
4395 (ASSERT_VALID_CHARPTR): Likewise.
4396 (REAL_INC_CHARPTR): Likewise.
4397 (REAL_INC_CHARBYTIND): Likewise.
4398 (REAL_DEC_CHARPTR): Likewise.
4399 (INC_CHARPTR): Likewise.
4400 (INC_CHARBYTIND): Likewise.
4401 (DEC_CHARPTR): Likewise.
4402 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4403 (VALIDATE_CHARPTR_FORWARD): Likewise.
4404 (charptr_n_addr): Likewise.
4405 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4406 (simple_charptr_emchar): Moved to multibyte.h.
4407 (simple_set_charptr_emchar): Likewise.
4408 (simple_charptr_copy_char): Likewise.
4409 (non_ascii_charptr_emchar): Likewise.
4410 (non_ascii_set_charptr_emchar): Likewise.
4411 (non_ascii_charptr_copy_char): Likewise.
4412 (charptr_emchar): Likewise.
4413 (set_charptr_emchar): Likewise.
4414 (charptr_copy_char): Likewise.
4415 (charptr_emchar_n): Likewise.
4416 (Charset_ID): Moved to char-1byte.h.
4417 (Vcharset_ascii): Likewise.
4418 (CHAR_CHARSET): Likewise.
4419 (CHAR_LEADING_BYTE): Likewise.
4420 (LEADING_BYTE_ASCII): Likewise.
4421 (NUM_LEADING_BYTES): Likewise.
4422 (MIN_LEADING_BYTE): Likewise.
4423 (CHARSETP): Likewise.
4424 (CHARSET_BY_LEADING_BYTE): Likewise.
4425 (XCHARSET_LEADING_BYTE): Likewise.
4426 (XCHARSET_GRAPHIC): Likewise.
4427 (XCHARSET_COLUMNS): Likewise.
4428 (XCHARSET_DIMENSION): Likewise.
4429 (BREAKUP_CHAR): Likewise.
4431 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4433 * character.h: Add document about interface for characters.
4435 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4436 (MAKE_CHAR): Delete comment about
4437 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4438 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4439 (BREAKUP_CHAR): Modify name of arguments.
4440 (CHAR_CHARSET): Modify name of argument.
4442 * buffer.h: Delete document about Emchar accessors.
4444 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4446 * character.h (CHAR_INTP): Moved from buffer.h
4447 (CHAR_OR_CHAR_INTP): Likewise.
4448 (XCHAR_OR_CHAR_INT): Likewise.
4449 (CHECK_CHAR_COERCE_INT): Likewise.
4451 * buffer.h (CHAR_INTP): Moved to character.h
4452 (CHAR_OR_CHAR_INTP): Likewise.
4453 (XCHAR_OR_CHAR_INT): Likewise.
4454 (CHECK_CHAR_COERCE_INT): Likewise.
4456 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4459 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4460 - Include char-1byte.h, char-lb.h or char-ucs.h.
4462 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4464 * buffer.h: Include character unconditionally.
4465 (valid_char_p): Moved to char-*.h.
4466 (non_ascii_valid_char_p): Moved to char-lb.h.
4468 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4470 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4472 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4473 in UTF-2000 because it is not ported yet and not to use
4474 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4475 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4476 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4478 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4479 (CHAR_ASCII_P): Moved from character.h.
4481 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4482 (CHAR_ASCII_P): Likewise.
4483 (CHAR_FIELD1_MASK): Deleted.
4484 (CHAR_FIELD2_MASK): Deleted.
4485 (CHAR_FIELD3_MASK): Deleted.
4486 (MAX_CHAR_BASIC_LATIN): New macro.
4487 (CHAR_FIELD1): Deleted.
4488 (CHAR_FIELD2_INTERNAL): Deleted.
4489 (CHAR_FIELD3_INTERNAL): Deleted.
4490 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4491 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4492 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4493 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4494 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4495 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4496 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4497 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4498 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4499 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4500 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4501 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4502 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4503 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4504 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4505 (MIN_CHAR_COMPOSITION): Deleted.
4506 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4507 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4509 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4511 * buffer.h: Include mb-utf-8.h in UTF-2000.
4513 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4515 * mb-utf-8.h: New file.
4517 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4519 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4522 * mule-charset.h, buffer.h (Charset_ID): New type.
4524 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4526 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4527 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4528 instead of `MULE_CHAR_PRIVATE_OFFSET',
4529 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4530 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4531 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4533 * character.h (Vcharset_japanese_jisx0212): New variable
4536 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4538 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4539 (charset_by_attributes): Delete array about direction.
4540 (latin_a_char_to_charset): New variable in UTF-2000.
4541 (latin_a_char_to_byte1): New variable in UTF-2000.
4542 (latin_a_char_to_byte2): New variable in UTF-2000.
4543 (Qucs_bmp): New variable.
4544 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4546 (next_allocated_2_byte_leading_byte): Likewise.
4547 (non_ascii_set_charptr_emchar): Likewise.
4548 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4549 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4550 `charset_by_attributes'.
4551 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4552 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4553 and `CHARSET_BY_LEADING_BYTE'.
4554 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4555 `utf-2000-version' to `vars_of_mule_charset'.
4556 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4557 define `leading-code-private-11' in UTF-2000; move setting of
4558 `utf-2000-version' from `syms_of_mule_charset'.
4559 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4562 * character.h (Charset_ID): New type.
4563 (LEADING_BYTE_UCS_BMP): New macro.
4564 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4565 (CHARSET_ID_OFFSET_94): New macro.
4566 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4567 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4568 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4570 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4571 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4572 (CHARSET_ID_OFFSET_96): New macro.
4573 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4574 CHARSET_ID_OFFSET_96 and final-byte.
4575 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4576 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4577 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4578 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4579 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4580 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4581 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4582 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4583 (LEADING_BYTE_THAI_TIS620): Likewise.
4584 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4585 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4586 (CHARSET_ID_OFFSET_94x94): New macro.
4587 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4588 CHARSET_ID_OFFSET_94x94 and final-byte.
4589 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4590 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4591 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4592 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4593 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4594 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4595 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4596 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4597 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4598 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4599 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4600 (CHARSET_TYPE_128X128): New macro.
4601 (CHARSET_TYPE_256X256): New macro.
4602 (XCHARSET_PRIVATE_P): Delete unconditionally.
4603 (charset_by_attributes): Delete array about direction.
4604 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4605 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4606 (MIN_CHAR_94): New macro.
4607 (MAX_CHAR_94): New macro.
4608 (MIN_CHAR_96): New macro.
4609 (MAX_CHAR_96): New macro.
4610 (MIN_CHAR_94x94): New macro.
4611 (MAX_CHAR_94x94): New macro.
4612 (MIN_CHAR_96x96): New macro.
4613 (MAX_CHAR_96x96): New macro.
4614 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4615 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4616 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4618 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4619 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4620 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4621 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4622 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4623 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4624 `XCHARSET_LEADING_BYTE' to make code-point.
4625 (latin_a_char_to_charset): New variable.
4626 (latin_a_char_to_byte1): New variable.
4627 (latin_a_char_to_byte2): New variable.
4628 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4629 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4630 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4632 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4633 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4634 (find_charsets_in_emchar_string): Likewise.
4635 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4637 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4639 (decode_coding_iso2022): Likewise.
4641 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4644 * redisplay.c (redisplay_text_width_emchar_string): Use
4645 `Charset_ID' instead of `unsigned char'.
4646 (redisplay_frame_text_width_string): Likewise.
4648 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4651 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4652 instead of `unsigned char'.
4653 (face_cachel_charset_font_metric_info): Likewise.
4655 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4656 (get_non_ascii_char_table_value): Likewise.
4657 (get_char_table): Likewise.
4658 (put_char_table): Likewise.
4659 (map_over_other_charset): Likewise.
4660 (map_char_table): Likewise.
4662 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4663 instead of `unsigned char'.
4665 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4667 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4668 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4670 * mule-charset.c (leading_code_private_11): Don't define in
4673 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4674 in UTF-2000 because it is not ported yet and not to use
4675 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4677 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4679 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4681 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4683 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4686 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4687 of unsigned char to store leading-byte.
4689 * chartab.c (get_non_ascii_char_table_value): Don't use
4690 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4692 * file-coding.c (encode_coding_big5): Delete bogus implementation
4695 * character.h (LEADING_BYTE_*): Delete definition for
4697 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4698 (LEADING_BYTE_PREFIX_P): Deleted.
4699 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4700 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4701 (BUFBYTE_LEADING_BYTE_P): Deleted.
4702 (CHARSET_PRIVATE_P): Deleted unconditionally.
4703 (rep_bytes_by_first_byte): Deleted unconditionally.
4704 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4705 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4706 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4707 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4708 (CHAR_FIELD2): Deleted.
4709 (CHAR_FIELD3): Deleted.
4710 (MAKE_CHAR): Delete definition for non-UTF-2000.
4711 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4712 (breakup_char_1): New implementation.
4713 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4714 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4716 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4718 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4721 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4723 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4724 (CHARSET_PRIVATE_P): Likewise.
4725 (XCHARSET_PRIVATE_P): Likewise.
4726 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4728 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4730 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4732 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4734 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4735 (NUM_LEADING_BYTES): Changed from 128 to 256.
4736 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4737 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4739 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4741 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4743 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4744 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4745 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4746 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4747 (Qchinese_cns11643_3): New variable in UTF2000.
4748 (Qchinese_cns11643_4): New variable in UTF2000.
4749 (Qchinese_cns11643_5): New variable in UTF2000.
4750 (Qchinese_cns11643_6): New variable in UTF2000.
4751 (Qchinese_cns11643_7): New variable in UTF2000.
4752 (syms_of_mule_charset): Define `chinese-cns11643-3',
4753 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4754 and `chinese-cns11643-7' in UTF2000.
4755 (vars_of_mule_charset): Initialize
4756 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4758 (complex_vars_of_mule_charset): Setup charset
4759 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4760 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4762 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4764 * mule-charset.c: Move setting for `leading-code-private-11' from
4765 `syms_of_mule_charset' to `vars_of_mule_charset'.
4767 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4769 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4770 and `NUM_LEADING_BYTES' in assert.
4772 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4774 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4776 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4777 `NUM_LEADING_BYTES' instead of 128.
4779 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4781 * mule-charset.h (charset_by_leading_byte): Use
4782 `NUM_LEADING_BYTES' instead of 128.
4783 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4785 * mule-charset.c (charset_by_leading_byte): Use
4786 `NUM_LEADING_BYTES' instead of 128.
4787 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4789 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4792 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4794 * mule-charset.c (syms_of_mule_charset): Update to
4797 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4799 * file-coding.c (encode_coding_sjis): New implementation for
4800 UTF2000. (decode_coding_sjis): Ditto.
4802 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4804 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4805 Don't define in UTF2000.
4807 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4810 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4811 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4814 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4816 * config.h.in (CHAR_IS_UCS4): New macro.
4818 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4819 conventional MULE representation.
4820 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4822 * mule-charset.h: Reverted to original.
4824 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4825 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4826 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4828 * character.h: New file.
4830 * file-coding.c (Fmake_coding_system): Set 1 to
4831 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4833 (encode_coding_no_conversion): New implementation for UTF2000.
4835 * file-coding.h (struct Lisp_Coding_System): Add new member
4838 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4840 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4841 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4842 (encode_coding_iso2022): New implementation for UTF2000.
4844 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4846 * mule-canna.c (c2mu): New implementation for UTF2000.
4849 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4851 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4853 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4855 * file-coding.c (reset_encoding_stream): Set 0 to
4856 `str->iso2022.current_char_boundary' in UTF2000.
4857 (encode_utf8): Don't define in UTF2000.
4858 (encode_coding_utf8): New implementation for UTF-8 representation
4860 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4862 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4864 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4866 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4868 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4870 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4872 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4873 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4874 as UTF-8 in UTF2000.
4875 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4876 (non_ascii_valid_char_p): Don't define in UTF2000.
4877 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4878 (Lstream_get_emchar_1): Likewise.
4879 (utf-2000-version): New variable in UTF2000.
4881 * lread.c (read_escape): Add new reader `u'.
4883 * insdel.c (three_to_one_table): Don't define in UTF2000.
4884 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4885 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4887 (bytind_to_bufpos_func): Likewise.
4888 (buffer_mule_signal_inserted_region): Likewise.
4889 (vars_of_insdel): Don't initialize `three_to_one_table'.
4890 (init_buffer_text): Use `buf->text->mule_size' instead of
4891 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4894 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4895 UTF-8 representation in UTF2000.
4896 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4897 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4898 (decode_coding_iso2022): Don't define local variable `lb' in
4899 UTF2000; don't use LEADING_BYTE in UTF2000; use
4900 `DECODE_ADD_UCS_CHAR' in UTF2000.
4901 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4903 * config.h.in (UTF2000): New macro.
4905 * buffer.h (struct buffer_text): Add new member `mule_size' and
4906 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4907 (valid_char_p): Return always 1 in UTF2000.
4908 (MAX_EMCHAR_LEN): 6 in UTF2000.
4909 (three_to_one_table): Don't define in UTF2000.
4910 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4912 (real_bytind_to_bufpos): Likewise.
4914 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4916 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4918 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4919 representation change.
4920 (Vutf_2000_version): New variable.
4921 (leading_code_private_11): New variable.
4922 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4923 `leading-code-private-11'.
4925 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4926 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4927 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4928 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4929 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4930 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4931 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4932 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4933 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4934 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4935 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4936 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4937 (MIN_CHAR_GREEK): New macro.
4938 (MAX_CHAR_GREEK): New macro.
4939 (MIN_CHAR_CYRILLIC): New macro.
4940 (MAX_CHAR_CYRILLIC): New macro.
4941 (MIN_CHAR_HEBREW): New macro.
4942 (MAX_CHAR_HEBREW): New macro.
4943 (MIN_CHAR_THAI): New macro.
4944 (MAX_CHAR_THAI): New macro.
4945 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4946 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4947 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4948 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4949 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4950 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4951 (CHAR_FIELD2): New inline function.
4952 (CHAR_FIELD3): New inline function.
4953 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4954 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4955 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4956 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4957 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4958 (MIN_CHAR_COMPOSITION): Likewise.
4959 (CHAR_LEADING_BYTE): Modified for character representation change.
4960 (MAKE_CHAR): Likewise.
4962 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4963 (Vcharset_greek_iso8859_7): Likewise.
4964 (Vcharset_cyrillic_iso8859_5): Likewise.
4965 (Vcharset_hebrew_iso8859_8): Likewise.
4966 (Vcharset_thai_tis620): Likewise.
4967 (Vcharset_katakana_jisx0201): Likewise.
4969 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
4971 * XEmacs 21.4.12 "Portable Code" is released.
4973 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
4975 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
4976 * s/cygwin.sc: new linker file.
4978 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
4980 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
4982 * redisplay-x.c (x_output_string): Use X11-specified types.
4983 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
4984 * emacs.c (__free_hook): Use typeof with Intel compiler.
4985 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
4987 2003-01-08 Andy Piper <andy@xemacs.org>
4989 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
4990 reserve size during unexec().
4992 2003-01-07 Daiki Ueno <daiki@xemacs.org>
4994 * process-unix.c (unix_create_process): Don't let outchannel block.
4996 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
4998 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
4999 Needed for IsBadReadPtr().
5001 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5003 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5005 2002-12-14 Ben Wing <ben@xemacs.org>
5007 * callint.c: Declaration error.
5009 * dumper.c (pdump_load): Warning fix.
5010 * process.c: GCPRO error.
5011 * glyphs.c (unmap_subwindow):
5012 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5013 * event-stream.c (maybe_kbd_translate): Wrong argument to
5014 character_to_event().
5016 * alloc.c (garbage_collect_1):
5018 * emacs.c (debug_can_access_memory):
5019 * emacs.c (fatal_error_signal):
5020 * emacs.c (mswindows_handle_hardware_exceptions):
5023 * emacs.c (assert_failed):
5024 * emacs.c (syms_of_emacs):
5027 * print.c (std_handle_out_va):
5028 * print.c (write_string_to_stdio_stream):
5029 * print.c (write_fmt_string):
5030 * print.c (printing_badness):
5031 * print.c (printing_major_badness):
5032 * print.c (print_internal):
5033 * print.c (debug_print_no_newline):
5034 * print.c (debug_backtrace):
5035 Be more defensive in handling bad values when printing. Add code
5036 from trunk involving inhibit_non_essential_printing_operations.
5037 When going down or in debug_print(), don't do external conversion
5038 and such and try really, really hard when printing to avoid core
5039 dumping. Add force-debugging-signal, debug_break().
5041 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5043 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5044 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5046 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5048 * database.c: Fix open_database. Berkeley DB API has changed in
5049 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5051 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5053 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5055 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5057 * event-Xt.c (Xt_timeout):
5058 (Xt_timeout_callback):
5059 (emacs_Xt_add_timeout):
5060 (emacs_Xt_remove_timeout):
5061 (Xt_timeout_to_emacs_event):
5062 Turn completed_timeouts from a stack into a queue. Fixes
5063 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5065 2002-11-07 Wolfram Gloger <wg@malloc.de>
5067 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5068 * emacs.c (main): Assert that mmap'd allocation is disabled.
5070 2002-10-14 Andy Piper <andy@xemacs.org>
5072 * glyphs-widget.c (layout_query_geometry): add in fiddle
5073 factor. Include border text in width layout calculation.
5074 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5076 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5078 * XEmacs 21.4.10 "Military Intelligence" is released.
5080 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5082 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5083 using the NAS private array SoundFileInfo that no longer exists in
5084 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5085 and earlier. This is broken for some versions between 1.5a and
5088 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5090 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5092 * emacs.c (shut_down_emacs): Improve crash message.
5094 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5096 * file-coding.c (determine_real_coding_system): Check for coding
5097 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5098 shebangs and Python PEP 263.
5100 2002-10-08 Andy Piper <andy@xemacs.org>
5102 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5103 if static sizes haven't been set.
5105 2002-08-30 Mike Alexander <mta@arbortext.com>
5107 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5110 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5112 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5114 2002-09-20 Mike Sperber <mike@xemacs.org>
5116 (This partially gets back my patch from 2002-07-20 without the
5118 * callproc.c (child_setup): Remove Ben's comment noting confusion
5119 over the file descriptors >= 3: close_process_descs() doesn't
5120 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5121 * process-unix.c (unix_create_process): Call
5122 begin_dont_check_for_quit to inhibit unwanted interaction (and
5123 thus breaking of X event synchronicity) in the child.
5125 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5127 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5130 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5132 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5133 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5134 the xemacs process did not exit, but looped infinitely here. This
5137 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5139 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5140 (find_context): Improve comments.
5142 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5143 (re_match_2): An XCHAR_TABLE operation was missing.
5145 Many of the following changes were inspired by Andy Piper's (now
5146 obsolete) patch to make syntax-table text property lookup optional.
5150 * syntax.h (top level): Document semantics of syntax flags.
5151 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5152 * syntax.c, syntax.h (top level): Document syntax cache better in
5155 [Instrument syntax caching (temporary change)]
5157 * syntax.h (enum syntax_cache_statistics_functions, struct
5158 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5159 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5160 * syntax.c (scan_words, Fforward_comment, scan_lists,
5161 Fbackward_prefix_characters):
5162 * font-lock.c (find_context):
5163 Use them to instrument syntax caching.
5164 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5165 syntax_cache_statistics_function_names): New type and variables.
5166 * syntax.c (update_syntax_cache): Update and report statistics.
5168 [Major syntax cache optimizations]
5170 syntax.c (lookup_syntax_properties): Default off.
5172 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5173 * syntax.c (update_syntax_cache):
5174 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5176 [Minor syntax cache optimizations and code clarifications]
5178 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5179 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5180 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5181 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5182 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5183 (Code clarification.)
5185 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5186 scan_lists): Compute code from syncode, use Boolean macros instead
5187 of redundant masking operations. (Code clarification; any decent
5188 compiler can do this optimization.)
5190 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5193 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5194 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5195 use F*_single_property_change instead of F*_extent_change.
5196 Currently F*_single_property_change is _much_ less efficient.
5198 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5199 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5200 syntax_cache.object properly, don't leave Qt or Qnil.
5201 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5202 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5203 tests for Qt or Qnil.
5205 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5207 * redisplay.c (point_in_line_start_cache):
5208 * extents.c (print_extent_1):
5211 * extents.c (Fset_extent_property): Document `syntax-table' property.
5213 * extents.h (Fnext_single_property_change): EXFUN it.
5215 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5217 * search.c (clear_unused_search_regs): New static function.
5221 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5222 Minor clarifications in comments.
5224 * regex.c (re_match_2_internal): Ensure no stale submatches.
5226 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5228 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5230 2002-08-29 Jerry James <james@xemacs.org>
5232 * lisp.h: structrures -> structures.
5234 2002-06-03 Andy Piper <andy@xemacs.org>
5236 * frame.c (frame_conversion_internal): add conversion appropriate
5237 for setting frame dimensions in pixels.
5239 * console.h (struct console_methods): add device-specific widget
5242 * emacs.c (main_1): initialize glyph vars.
5244 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5245 (handle_focus_event_2): new function. Allow focus to
5246 be set to a particular window and widget.
5247 (enqueue_focus_event): new function. Create a
5248 synthetic focus event.
5249 (emacs_Xt_handle_magic_event): call
5250 handle_focus_event_2.
5252 * frame.c (Fset_frame_pixel_height): new function. Allow
5253 pixel-based sizing. Does the right thing on character-oriented
5255 (Fset_frame_pixel_width): ditto.
5256 (Fset_frame_pixel_size): ditto.
5257 (syms_of_frame): declare.
5259 * general-slots.h: add :vertically-justify and
5260 :horizontally-justify.
5262 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5263 (mswindows_widget_border_width): new function.
5264 (mswindows_combo_box_instantiate): set border widths.
5265 (console_type_create_glyphs_mswindows): declare.
5268 (check_valid_justification): allow vertical and horizontal
5270 (widget_border_width): new function. Call device methods.
5271 (widget_instance_border_width): ditto.
5272 (logical_unit_height): new function. Determine the height of a
5273 logical-unit. Logical units are intended to provide grid-like
5274 layout for subcontrols in a layout. If the layout is
5275 :vertically-justify top then subcontrols will be positioned on
5276 logical-unit boundaries, thus allowing adjacent subcontrols to
5278 (widget_logical_unit_height): ditto for widgets.
5279 (redisplay_widget): misc cleanup.
5280 (widget_spacing): new function. Call device specific
5281 methods. Intended to be the default gap between adjacent widgets.
5282 (widget_query_geometry): use new spacing functions to determine
5283 appropriate geometry.
5284 (initialize_widget_image_instance): initialize horizontal and
5285 vertical justification.
5286 (widget_instantiate): use logica-units where appropriate for
5287 sizing large widgets.
5288 (button_query_geometry): use widget_instance_border_width.
5289 (tree_view_query_geometry): ditto.
5290 (tab_control_query_geometry): ditto.
5291 (edit_field_query_geometry): new function.
5292 (layout_update): pick up :justify, :horizontally-justify and
5293 :vertically-justify none of which worked previously. :justify is
5294 used as a fallback for both horizontal and vertical justification.
5295 (layout_query_geometry): use logical units to size appropriately.
5296 (layout_layout): ditto.
5297 (Fwidget_logical_to_character_width): new function. Allow users to
5298 convert from logical units to characters so that frame sizes can
5299 be set appropriately.
5300 (Fwidget_logical_to_character_height): ditto.
5301 (syms_of_glyphs_widget): declare.
5302 (image_instantiator_edit_fields): add edit_field_query_geometry.
5303 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5304 :horizontally-justify.
5305 (specifier_vars_of_glyphs_widget): new function. Declare
5306 Vwidget_border_width which is not yet used.
5308 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5309 (x_widget_border_width): new function.
5310 (x_widget_instantiate): create a sensible name for widgets.
5311 (console_type_create_glyphs_x): declare x_widget_border_width.
5313 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5314 (struct Lisp_Image_Instance): add :vertically-justify and
5315 :horizontally-justify.
5316 (LAYOUT_JUSTIFY_TOP): new.
5317 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5318 (ROUND_UP): new macro. Round argument up to next integral
5321 * redisplay-output.c (redisplay_output_layout): misc formatting.
5323 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5325 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5327 * XEmacs 21.4.9 "Informed Management" is released.
5329 2002-08-19 Andy Piper <andy@xemacs.org>
5331 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5334 * realpath.c (xrealpath): normalize drive spec also so that dir
5335 sep chars are not mixed on cygwin.
5337 2002-08-06 Jerry James <james@xemacs.org>
5339 * window.c (Fsplit_window): Count only half of the divider width
5340 against the left window when splitting horizontally.
5342 2002-06-24 Andy Piper <andy@xemacs.org>
5344 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5345 toolbar was cleared.
5347 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5348 function. Split out from mswindows_output_frame_toolbars.
5349 (mswindows_output_frame_toolbars): move clear pieces to
5350 mswindows_output_frame_toolbars.
5352 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5353 out from gtk_output_frame_toolbars.
5354 (gtk_output_frame_toolbars): move clear pieces to
5355 gtk_clear_frame_toolbars.
5357 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5358 the frame is cleared. How this ever worked before is a mystery.
5359 (x_output_frame_toolbars): Only output toolbars.
5360 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5362 * gutter.c (update_gutter_geometry):
5363 Mark frame layout changed.
5364 (update_frame_gutter_geometry, update_frame_gutters):
5365 Respect frame_layout_changed.
5367 * console.h (struct console_methods): add
5368 clear_frame_toolbars_method.
5370 * redisplay.c (redisplay_frame): call
5371 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5373 * toolbar.h: declare update_frame_toolbars_geometry.
5375 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5376 out from update_frame_toolbars. Call clear_frame_toolbars.
5377 (update_frame_toolbars): only output, do not change geometry.
5379 * redisplay.c: add frame_layout_changed.
5381 * redisplay.h: add frame_layout_changed.
5382 (CLASS_RESET_CHANGED_FLAGS): set it.
5383 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5384 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5385 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5387 * device.h (struct device): add frame_layout_changed.
5388 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5390 * frame.h (struct frame): add frame_layout_changed.
5391 (MARK_FRAME_LAYOUT_CHANGED): new.
5393 2002-06-30 Mike Alexander <mta@arbortext.com>
5395 * event-msw.c (mswindows_need_event): Don't wait for a new message
5396 if the queue is not empty. Suggested by Paul Moore.
5398 2002-06-12 Andy Piper <andy@xemacs.org>
5400 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5401 for printing on accurately.
5403 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5405 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5406 WM_ACTIVATE message. Make sure that the frame is visible if the
5407 window is visible. This seemss to fix the problem where XEmacs
5408 appears to freeze after switching desktops with certain virtual
5410 (debug_output_mswin_message): Added code to output message
5411 parameters for WM_WINDOWPOSCHANGED,
5412 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5414 2002-05-25 Andy Piper <andy@xemacs.org>
5416 * select-x.c (vars_of_select_x): Fix docstring of
5417 x-selection-strict-motif-ownership
5419 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5421 * keymap.c (get_keymap):
5422 Add comment about do_autoload GCPROs own args.
5424 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5426 * bytecode.c (execute_optimized_program): check_opcode ifdef
5427 ERROR_CHECK_BYTE_CODE.
5429 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5431 Thanks to Ben Wing and Michael Sperber.
5433 * eval.c (Fcommand_execute):
5436 (Fmacroexpand_internal):
5437 (function_argcount):
5438 callint.c (Fcall_interactively):
5439 Add comment about do_autoload GCPROs own args.
5441 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5443 * eval.c (Ffuncall): Extra braces to placate GCC.
5445 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5447 * backtrace.h (grow_specpdl):
5449 * EmacsFrame.c (EmacsFrameSetValues):
5450 * eval.c (grow_specpdl):
5451 * ExternalShell.c (hack_event_masks_1):
5452 * glyphs-x.c (convert_EImage_to_XImage):
5453 (x_finalize_image_instance):
5454 * ralloc.c (page_size):
5456 * xgccache.c (gc_cache_hash):
5457 Fix unsigned comparison warnings.
5459 2002-07-29 Jerry James <james@xemacs.org>
5461 * lread.c (locate_file): Any nonnegative return value indicates
5462 success if MODE is nonnegative.
5464 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5466 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5469 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5471 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5473 * dumper.c (pdump_get_indirect_count):
5474 (pdump_scan_by_alignment):
5475 (pdump_dump_root_struct_ptrs):
5476 (pdump_dump_rtables):
5477 (pdump_dump_root_objects):
5479 * nas.c (WaveOpenDataForReading):
5480 * fns.c (print_bit_vector):
5481 * font-lock.c (SINGLE_SYNTAX_STYLE):
5482 * glyphs.c (check_for_ignored_expose):
5483 (find_matching_subwindow):
5485 * imgproc.c (get_histogram):
5486 * redisplay.c (point_in_line_start_cache):
5487 * redisplay-output.c (redisplay_unmap_subwindows):
5488 * symbols.c (defsymbol_massage_name_1):
5489 (defkeyword_massage_name):
5490 (deferror_massage_name_and_message):
5491 * redisplay-x.c (x_output_string):
5492 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5493 * frame.h (struct frame):
5494 * filelock.c (current_lock_owner):
5495 * doprnt.c (emacs_doprnt_1):
5496 * lisp.h (struct Lisp_Bit_Vector):
5500 2002-02-13 Ben Wing <ben@xemacs.org>
5502 * event-stream.c (reset_key_echo):
5503 * event-stream.c (reset_this_command_keys):
5504 * event-stream.c (execute_command_event):
5505 If console is dead as a result of C-x 5 0, then post-command stuff
5506 needs to be careful and do only non-console-specific stuff.
5508 2002-07-01 Mike Sperber <mike@xemacs.org>
5510 * process-unix.c (unix_send_process): Mark coding_outstream as
5511 non-open upon SIGPIPE.
5513 * event-stream.c (Fnext_event): Reorder switch cases to something
5516 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5518 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5519 Don't bogusly reinitialize ascii_character property.
5521 2002-07-08 Mike Sperber <mike@xemacs.org>
5523 * process.c (Fstart_process_internal): Do error checking before we
5524 fork off the child, so the child can't muck with the state of the
5527 2002-07-08 Mike Sperber <mike@xemacs.org>
5529 * ralloc.c (init_ralloc): Allocate properly for pdump.
5531 2002-06-12 Andy Piper <andy@xemacs.org>
5533 * glyphs.c (query_string_geometry): check the string.
5535 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5538 2002-06-17 Jerry James <james@xemacs.org>
5540 * sysdll.c: Remove RTLD_GLOBAL initialization.
5541 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5543 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5545 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5547 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5549 * sysdep.c (sys_rename): Make sys_rename work for the case where
5550 Windows rename sets errno to EACCES if target file exists.
5552 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5554 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5555 Fix detection of metric units to work on Win95
5557 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5559 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5561 2002-04-25 Andy Piper <andy@xemacs.org>
5563 * redisplay.c (create_text_block): Remove extra comment trailer.
5565 2002-04-24 Andy Piper <andy@xemacs.org>
5567 * redisplay.c (create_text_block): Don't actually add propagation
5568 data if the line ends after we have added a glyph.
5570 2002-04-22 Andy Piper <andy@xemacs.org>
5572 * extents.c (extent_fragment_update): check for glyphs we have
5573 previously displayed.
5574 * extents.c (print_extent_1): warning removal.
5575 * extents.h: change prototype.
5576 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5577 widths correctly for wide glyphs.
5578 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5579 * redisplay.c (prop_type): add PROP_GLYPH.
5580 * redisplay.c (struct prop_block): add glyph type
5581 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5582 to the propagation data.
5583 * redisplay.c (create_text_block): if there is a glyph in the
5584 propagation data use it to salt extent_fragment_update.
5585 * redisplay.c (create_string_text_block): ditto.
5587 2002-04-13 Nix <nix@esperi.demon.co.uk>
5589 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5590 * redisplay-output.c (compare_runes): Compare them.
5591 * redisplay.c: Update copyright date.
5592 * redisplay.c (pos_data): Add need_baseline_computation field.
5593 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5594 need_baseline_computation; zero yoffset. Set max_pixmap_height
5595 for all pixmaps, not just automatically positioned ones.
5596 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5597 * redisplay.c (calculate_baseline): New, compute textual baseline.
5598 * redisplay.c (add_glyph_rune): Call them.
5599 * redisplay.c (create_text_block): Likewise.
5600 * redisplay.c (create_overlay_glyph_block): Likewise.
5601 * redisplay.c (add_margin_runes): Likewise.
5602 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5604 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5605 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5606 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5607 * redisplay-msw.c (mswindows_output_string): Likewise.
5608 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5609 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5610 * redisplay-x.c (x_output_display_block): Likewise.
5612 2002-03-28 Ben Wing <ben@xemacs.org>
5614 * redisplay.c: Fixed bug in redisplay
5615 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5616 and down of the lines, since they're bigger than the line
5617 size. (It was seen most obviously when there's a horizontal scroll
5618 bar, e.g. do C-h a glyph or something like that.) The problem was
5619 that the glyph-contrib-p setting on glyphs was ignored even if it
5620 was set properly, which it wasn't until now.
5622 2002-04-24 Andy Piper <andy@xemacs.org>
5624 * lisp.h (Dynarr_end): Fix definition.
5626 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5628 * redisplay.c (mark_redisplay): Remove call to
5629 update_frame_window_mirror.
5631 2001-11-15 Andy Piper <andy@xemacs.org>
5633 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5636 2002-02-13 Andy Piper <andy@xemacs.org>
5638 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5639 we did in fact enqueue the XM_MAPFRAME event.
5641 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5643 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5644 to fix problem switching between virtual desktops under virtuawin
5645 virtual window manager.
5647 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5649 * event-msw.c: Typo fix.
5650 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5651 magic XM_MAPFRAME event has been sent.
5653 2001-11-23 Andy Piper <andy@xemacs.org>
5655 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5657 2001-11-21 Andy Piper <andy@xemacs.org>
5659 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5660 mouse events outside the frame.
5662 2002-03-20 Andy Piper <andy@xemacs.org>
5664 * menubar-msw.c (mswindows_popup_menu): warning removal.
5665 * dialog-msw.c (dialog_popped_down): ditto.
5667 2001-12-11 Andy Piper <andy@xemacs.org>
5669 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5670 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5672 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5673 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5674 * menubar-msw.c (mswindows_popup_menu): ditto.
5676 2001-10-29 Andy Piper <andy@xemacs.org>
5678 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5681 2002-01-03 Andy Piper <andy@xemacs.org>
5683 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5687 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5689 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5690 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5691 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5692 Detect and handle case where machine is set up for metric units
5694 2002-04-02 Andy Piper <andy@xemacs.org>
5696 * dired-msw.c (mswindows_get_files):
5697 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5698 completely handled by XEmacs. Suggested by Thomas Vogler
5699 <mail@thomas-vogler.de>.
5701 2001-11-14 Andy Piper <andy@xemacs.org>
5703 * nt.c (REG_ROOT): change registry key to XEmacs.
5705 2002-04-27 Andy Piper <andy@xemacs.org>
5707 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5709 2002-04-26 Andy Piper <andy@xemacs.org>
5711 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5714 2002-03-14 Mike Alexander <mta@arbortext.com>
5716 * event-msw.c (mswindows_unwait_process): New, remove process from
5718 * process-nt.c (nt_finalize_process_data): Call
5719 mswindows_unwait_process
5720 * console-msw.h: Declare mswindows_unwait_process
5722 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5724 * editfns.c (Fdecode_time):
5725 (Fformat_time_string):
5726 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5727 (make_time): Warning elimination (change arg name).
5729 2001-11-24 Andy Piper <andy@xemacs.org>
5731 * window.c (Fsplit_window): Doc return type.
5733 2002-04-01 Andy Piper <andy@xemacs.org>
5735 * emacs.c (Fkill_emacs): Only output message box in interactive
5738 2002-04-26 Andy Piper <andy@xemacs.org>
5740 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5743 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5745 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5748 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5750 * XEmacs 21.4.8 "Honest Recruiter" is released.
5752 2002-05-07 Nix <nix@esperi.demon.co.uk>
5754 Supersedes 2002-04-17 patch.
5756 * process.h (PROCESS_LIVE_P): Use the process status as
5757 evidence of health, not the state of the input stream.
5758 (PROCESS_READABLE_P): Say if the process is readable
5759 from. (It may be dead nonetheless.)
5760 (CHECK_READABLE_PROCESS): Test for that condition.
5762 * process.c (create_process): Use PROCESS_READABLE_P.
5763 (read_process_output, set_process_filter): Likewise.
5765 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5766 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5768 This code is #if 0'd, this is not the time to add new functions:
5770 * process.c (Fprocess_readable_p): Report readability status.
5771 * process.c (Qprocess_readable_p): New, associated symbol...
5772 * process.c (syms_of_process): ... initialize it.
5774 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5776 * XEmacs 21.4.7 "Economic Science" is released.
5778 2002-04-17 Nix <nix@esperi.demon.co.uk>
5780 * process.h (PROCESS_LIVE_P): Use the process status as
5781 evidence of health, not the state of the input stream.
5783 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5785 * sysdep.c (sys_siglist): change "signum" to "signal"
5787 2001-04-21 Martin Buchholz <martin@xemacs.org>
5789 * s/darwin.h: New file.
5790 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5792 2002-04-23 Andreas Jaeger <aj@suse.de>
5794 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5795 which use lib64 for 64-bit libs.
5796 (START_FILES): Likewise.
5798 2002-02-11 Mike Sperber <mike@xemacs.org>
5801 (x_IO_error_handler):
5802 (x_init_device): Temporarily keep device in static variable
5803 `device_being_initialized' so we can recover gracefully from
5804 internal XOpenDevice failure. (XOpenDevice is documented to
5805 return NULL on failure, but sometimes calls the IO error handler
5808 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5810 * dired.c (Ffile_name_all_completions): Change documentation --
5811 remove reference to completion-ignored-extensions.
5812 * dired.c (vars_of_dired): Change documentation for
5813 completion-ignored-extensions -- remove reference to
5814 file-name-all-completions.
5816 2002-03-06 Jerry James <james@xemacs.org>
5818 * emodules.c (emodules_load): Fix multiple loading of same module.
5820 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5821 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5822 RTLD_LAZY to avoid incorrect symbol binding when using nested
5823 shared libraries on Solaris.
5825 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5827 * fileio.c (Ffind_file_name_handler): Improve docstring.
5829 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5831 * fns.c (Fmapconcat): Improve docstring.
5833 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5835 * device-gtk.c: Add prototype for
5836 emacs_gtk_selection_clear_event_handle.
5837 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5838 selection. Setup signal handler for "selection_clear_event"
5839 (emacs_gtk_selection_clear_event_handle).
5841 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5842 other applications owning the clipboard (based on
5843 x_handle_selection_clear).
5845 2001-12-23 William M. Perry <wmperry@gnu.org>
5847 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5849 2002-01-04 Martin Buchholz <martin@xemacs.org>
5851 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5853 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5855 * XEmacs 21.4.6 "Common Lisp" is released.
5857 2001-12-16 Torsten Duwe <duwe@caldera.de>
5859 * search.c (Freplace_match): Add missing sub-expression functionality.
5861 * buffer.c (decode_buffer): Add a check for pointer type to
5862 decode_buffer, before gcc's CSE optimization reorders a
5863 dereference in front of the allow_string test.
5865 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5867 * window.c (window_loop): Fix bug that sometimes prevented
5868 window_loop() from iterating across multiple devices. Also, at
5869 Ben's request, changed infloop-detecting code to abort() instead
5870 of silently terminating window_loop().
5872 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5874 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5875 * editfns.c (make_time): New function.
5876 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5877 * lisp.h (make_time): Prototype and comment it.
5878 * dired.c (wasteful_word_to_lisp): Deprecate.
5879 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5881 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5883 * fileio.c (auto_save_1): Use current coding system, not
5886 2001-11-13 Ben Wing <ben@xemacs.org>
5889 * window.c (window_truncation_on):
5890 * window.c (syms_of_window):
5891 truncate-partial-width-windows should respect the buffer being
5892 displayed, like other redisplay vars.
5894 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5896 * event-stream.c (Fread_key_sequence): save current buffer.
5898 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5900 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5902 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5904 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5906 2001-10-26 Mike Alexander <mta@arbortext.com>
5908 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5910 2001-10-25 Andy Piper <andy@xemacs.org>
5913 * dialog-msw.c (handle_directory_proc): new function.
5914 (handle_directory_dialog_box): new fucntion.
5915 (handle_file_dialog_box): use new directory dialog support.
5916 (mswindows_make_dialog_box_internal): ditto.
5917 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5919 (mswindows_find_frame): make global.
5920 * fileio.c (Fexpand_file_name): build fix.
5921 * general-slots.h: add Qdirectory.
5922 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5924 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5925 cygwin not leaving win32 paths unchanged.
5926 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5927 cygwin runtime to do path conversion.
5928 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5929 (syms_of_win32): add new function.
5930 * window.c (window_loop): build fix.
5932 2001-10-15 Andy Piper <andy@xemacs.org>
5934 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5936 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5938 * XEmacs 21.4.5 "Civil Service" is released.
5940 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5942 * glyphs-x.c: Force buffer-tab highlight update when moving the
5943 buffer, avoiding an ugly black border, used for keyboard focus
5944 indication, on a widget that can never have keyboard focus, the
5947 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5949 * process-unix.c (unix_open_multicast_group): Remove too much
5950 conversion between host and network byte order.
5952 2001-09-10 Nix <nix@esperi.demon.co.uk>
5954 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5955 before replacing them.
5957 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5960 * src/window.c (undedicate_windows): Use it.
5961 * src/window.h: Add prototype.
5963 2001-09-17 Ben Wing <ben@xemacs.org>
5965 * fileio.c (normalize_filename):
5966 * fileio.c (Fexpand_file_name):
5967 Fix various C++ compile errors in Andy's recent code.
5969 * callint.c (Fcall_interactively):
5970 * editfns.c (Ftemp_directory):
5971 * editfns.c (Fuser_full_name):
5972 * emacs.c (argmatch):
5973 * lread.c (locate_file_map_suffixes):
5974 * redisplay-x.c (x_ring_bell):
5975 Fix sign-compare warnings.
5977 2001-09-08 Andy Piper <andy@xemacs.org>
5979 * fileio.c (normalize_filename): copied from nt.c
5980 * (Ffile_name_directory): enable win32 paths under cygwin.
5981 * (Ffile_name_nondirectory): ditto.
5982 * (directory_file_name): ditto.
5983 * (Fexpand_file_name): ditto.
5984 * (Ffile_truename): ditto.
5985 * (Fsubstitute_in_file_name): ditto.
5986 * (Ffile_name_absolute_p): ditto.
5987 * (Ffile_readable_p): ditto.
5989 2001-09-08 Andy Piper <andy@xemacs.org>
5991 * device-msw.c (mswindows_finish_init_device): remove dde
5993 * device-msw.c (mswindows_init_dde): factor out from
5994 mswindows_finish_init_device()
5995 * device-msw.c (init_mswindows_very_early): new function
5996 initialize but don't enable dde.
5997 * emacs.c (main_1): call init_mswindows_very_early.
5999 * event-msw.c (mswindows_dde_callback): only execute when we are
6001 * symsinit.h: declare init_mswindows_very_early.
6003 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6005 [sjt: This has been in 21.5 for months with no complaints.]
6007 * console.h (struct console_methods): Added flags member.
6008 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6009 (CONMETH_IMPL_FLAG):
6010 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6011 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6013 * device.c (window_system_pixelated_geometry): Use the above macros.
6015 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6016 implememntation flag.
6017 * device.h (DEVICE_DISPLAY_P): Use it.
6019 * frame.c (delete_frame_internal): Use the above macro.
6021 * redisplay.c (redisplay_device): Use it.
6022 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6023 (redisplay_frame): Ditto.
6025 * device-msw.c (mswindows_device_implementation_flags): Removed.
6026 (msprinter_device_implementation_flags): Removed.
6027 (console_type_create_device_mswindows): Removed references to
6028 implementation_flags methods, set implementation flags here.
6029 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6031 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6032 (console_type_create_device_gtk): Removed method declaration.
6033 Added commented out statement which semantically matches the
6034 commented out statement in the above removed method.
6036 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6038 The attached patch fixes a few warnings.
6040 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6041 * src/frame-gtk.c: guard against GNOME calls in GTK only
6042 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6043 * src/select-gtk.c: prototype lisp_to_time
6045 2001-06-08 Ben Wing <ben@xemacs.org>
6047 ------ gc-in-window-procedure fixes ------
6050 * alloc.c (struct post_gc_action):
6051 * alloc.c (register_post_gc_action):
6052 * alloc.c (run_post_gc_actions):
6053 * alloc.c (garbage_collect_1):
6054 Create "post-gc actions", to avoid those dreaded "GC during window
6055 procedure" problems.
6058 Abort, clean and simple, when GC in window procedure. We want
6059 to flush these puppies out.
6062 * glyphs-msw.c (finalize_destroy_window):
6063 * glyphs-msw.c (mswindows_finalize_image_instance):
6064 Use a post-gc action when destroying subwindows.
6067 Declare register_post_gc_action().
6070 * scrollbar-msw.c (unshow_that_mofo):
6071 Use a post-gc action when unshowing scrollbar windows, if in gc.
6073 * redisplay.c (mark_redisplay):
6074 Add comment about the utter evilness of what's going down here.
6076 ------ cygwin setitimer fixes ------
6078 * Makefile.in.in (sheap_objs):
6079 * Makefile.in.in (profile_objs):
6080 * Makefile.in.in (objs):
6081 Compile profile.c only when HAVE_SETITIMER.
6083 * nt.c (mswindows_sigset):
6084 * nt.c (mswindows_sighold):
6085 * nt.c (mswindows_sigrelse):
6086 * nt.c (mswindows_sigpause):
6087 * nt.c (mswindows_raise):
6088 * nt.c (close_file_data):
6092 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6095 * profile.c (Fstart_profiling):
6096 * profile.c (Fstop_profiling):
6097 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6098 instead of just plain setitimer().
6101 * signal.c (set_one_shot_timer):
6103 Define qxe_setitimer() as an encapsulation around setitimer() --
6104 call setitimer() directly unless Cygwin or MS Win, in which case
6105 we use our simulated version in win32.c.
6108 * systime.h (struct itimerval):
6109 * systime.h (ITIMER_REAL):
6110 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6111 comment about "qxe" and the policy regarding encapsulation.
6114 * win32.c (setitimer_helper_proc):
6115 * win32.c (setitimer_helper_period):
6116 * win32.c (setitimer_helper):
6117 * win32.c (mswindows_setitimer):
6118 Move setitimer() emulation here, so Cygwin can use it.
6119 Rename a couple of functions and variables to be longer and more
6120 descriptive. In setitimer_helper_proc(), send the signal
6121 using either mswindows_raise() or (on Cygwin) kill(). If for
6122 some reason we are still getting lockups, we'll change the kill()
6123 to directly invoke the signal handlers.
6125 ------ windows shell fixes ------
6129 Comments about how these two files must die.
6131 * callproc.c (init_callproc):
6132 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6133 not just COMSPEC. (more correct and closer to FSF.) Don't
6134 force a value for SHELL into the environment. (Comments added
6135 to explain why not.)
6137 * nt.c (init_user_info):
6138 Don't shove a fabricated SHELL into the environment. See above.
6140 2001-06-01 Ben Wing <ben@xemacs.org>
6142 * Makefile.in.in (ldflags):
6143 eliminate that pesky "defaulting to 00401000" warning.
6147 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6149 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6150 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6152 2001-04-24 Jerry James <james@xemacs.org>
6154 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6157 2001-06-01 Ben Wing <ben@xemacs.org>
6159 * event-msw.c (debug_mswin_messages):
6160 conditionalize the messages that were causing compile errors.
6161 (if only macros could generate #ifdef statements ...)
6163 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6165 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6167 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6169 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6171 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6173 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6174 * process-unix.c (unix_canonicalize_host_name):
6175 sysdep.c (init_system_name):
6176 Use it to conditionally support IPv6 canonicalization.
6178 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6181 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6183 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6185 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6186 attempt is made to scroll when no scroll bar is available.
6188 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6190 * input-method-motif.c (XIM_delete_frame): New callback.
6191 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6192 got deleted from 21.4.3.)
6194 2001-06-01 Ben Wing <ben@xemacs.org>
6196 * nt.c (mswindows_utime):
6197 * nt.c (close_file_data):
6198 fix off-by-one-indirection error.
6200 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6202 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6203 because set_file_times() now takes Lisp_Object path, instead of
6205 * nt.c: Include buffer.h.
6206 * nt.c (convert_from_time_t): New.
6207 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6208 not set mtime correctly.
6209 * nt.h: Declare mswindows_utime().
6210 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6211 path, instead of char*.
6212 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6214 2001-05-30 Ben Wing <ben@xemacs.org>
6218 (Stephen, just take all event-msw.c patches. This includes
6219 the "iconify" fix below.)
6222 * event-msw.c (mswindows_dequeue_dispatch_event):
6223 * event-msw.c (assert):
6224 * event-msw.c (emacs_mswindows_quit_p):
6225 * event-msw.c (debug_mswin_messages):
6226 * event-msw.c (debug_output_mswin_message):
6227 * event-msw.c (vars_of_event_mswindows):
6228 Fix yet more problems with C-g handling.
6229 Implement debug-mswindows-events.
6231 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6233 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6235 2001-05-23 Ben Wing <ben@xemacs.org>
6237 * event-msw.c (winsock_writer):
6238 * event-msw.c (winsock_closer):
6239 prior kludgy code was clobbering the buffer, thinking it was
6240 "unused" space to store an unneeded return value; instead, use
6241 the variable we've already got staring us in the face.
6243 2001-05-17 Andy Piper <andy@xemacs.org>
6245 * sysfile.h: don't assume that file attributes are boolean
6247 2001-05-23 Ben Wing <ben@xemacs.org>
6249 * device-msw.c (msprinter_init_device):
6250 signal an error rather than crash with an unavailable network
6251 printer (from Mike Alexander).
6254 * event-msw.c (struct winsock_stream):
6255 * event-msw.c (winsock_writer):
6256 * event-msw.c (winsock_closer):
6257 * event-msw.c (make_winsock_stream_1):
6258 cleanup headers. fix (hopefully) an error with data corruption
6259 when sending to a network connection.
6261 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6262 to handle the ~user prefix by (a) always assuming we're referencing
6263 ourselves and not even verifying the user -- hence any file with
6264 a tilde as its first char is invalid! (b) if there wasn't a slash
6265 following the filename, the pointer was set *past* the end of
6266 file and we started reading from uninitialized memory. Now we
6267 simply treat these as files, always.
6269 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6271 2001-05-19 Ben Wing <ben@xemacs.org>
6273 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6276 * process-nt.c (vars_of_process_nt):
6277 remove unused mswindows-quote-process-args. rec for 21.4.
6279 2001-05-12 Ben Wing <ben@xemacs.org>
6281 * event-msw.c (mswindows_dde_callback):
6282 * event-msw.c (mswindows_wnd_proc):
6283 eliminate cygwin warnings.
6285 2001-05-06 Ben Wing <ben@xemacs.org>
6289 * device-msw.c (print_dialog_worker):
6290 * device-msw.c (mswindows_handle_print_dialog_box):
6291 * device-msw.c (syms_of_device_mswindows):
6292 * dialog-msw.c (mswindows_make_dialog_box_internal):
6294 implement printing the selection when it's selected.
6296 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6298 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6300 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6302 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6303 EMACS_INT is signed.
6305 2001-04-15 Michael Lausch <mla@1012surf.net>
6307 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6308 gtk_widget_request_size() to give scrollbar >0 width for
6311 2001-05-30 William M. Perry <wmperry@gnu.org>
6313 * event-gtk.c: Check for buttons as modifier keys.
6315 2001-05-25 Craig Lanning <CraigL@Knology.net>
6318 Properly find MinGW's <process.h> inside Cygwin's restructured
6319 include directories. Don't try to include <cygwin/version.h>
6320 since we are dropping support for MinGW in versions of Cygwin
6323 Drop support for MinGW in versions of Cygwin before b21.
6325 Properly find MinGW's <process.h> inside Cygwin's restructured
6326 include directories.
6328 Drop support for MinGW in versions of Cygwin before b21.
6330 Even though a.out.h is no longer detected by configure, allow
6331 MinGW to use it until we figure out how to do the job with Win32.
6333 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6335 * syntax.c (find_start_of_comment):
6336 Fix `unbalanced parentheses' bug when dealing with mixed comment
6337 styles in c++/java/etc. mode
6339 2001-05-29 Mike Alexander <mta@arbortext.com>
6341 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6342 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6344 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6346 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6348 2001-03-31 Mike Sperber <mike@xemacs.org>
6350 * search.c (Freplace_match): Support FSF-style specification of
6351 match subexpression when applied to a buffer.
6353 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6355 * event-stream.c (is_scrollbar_event): add missing semicolon
6357 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6359 * Makefile.in.in: Use TAR macro instead of hardcoding
6360 tar. Allows use of GNU tar instead of system tar
6362 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6364 * event-stream.c (is_scrollbar_event): add missing semicolon
6366 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6368 * XEmacs 21.4.3 "Academic Rigor" is released.
6370 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6372 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6374 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6376 * buffer.c (Vcase_fold_search): Remove obsolete
6377 comment about non ASCII case-fold-search. This
6378 bug has been fixed by case-table changes.
6380 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6382 * event-msw.c: Restore include of events-mod.h.
6384 2001-04-22 zhaoway <zw@debian.org>
6386 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6389 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6391 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6393 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6395 * mule-charset.c (Fmake_charset): Add missing else.
6397 2001-04-23 Ben Wing <ben@xemacs.org>
6399 * event-msw.c (FAKE_MOD_QUIT):
6400 * event-msw.c (mswindows_dequeue_dispatch_event):
6401 * event-msw.c (mswindows_wnd_proc):
6402 * event-msw.c (emacs_mswindows_quit_p):
6403 Get critical quit working.
6405 2001-05-05 Ben Wing <ben@xemacs.org>
6409 * device-msw.c (mswindows_get_default_margin):
6410 * frame-msw.c (mswindows_size_frame_internal):
6411 * frame-msw.c (msprinter_init_frame_1):
6412 * frame-msw.c (vars_of_frame_mswindows):
6413 Change top/bottom margin defaults to 0.5 inches.
6415 2001-05-01 Martin Buchholz <martin@xemacs.org>
6417 Fix link error with gcc 3.0 on Linux.
6418 * terminfo.c (UP): Remove.
6419 * terminfo.c (BC): Remove.
6420 * terminfo.c (PC): Remove.
6421 They weren't used, and in any case, these symbols should be
6422 defined in the *library*.
6424 2001-05-03 Martin Buchholz <martin@xemacs.org>
6426 * s/aix4.h: Fix crash with xlc -O3.
6427 Improve comment explaining how -O3 works.
6429 2001-04-15 Ben Wing <ben@xemacs.org>
6432 * event-stream.c (Fnext_event):
6433 * event-stream.c (is_scrollbar_event):
6434 * event-stream.c (execute_command_event):
6435 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6436 crash' problem. His fix introduces other problems. We filter
6437 out scrollbar events specifically, making them somewhat invisible
6438 to command-building, and not appearing in `this-command-keys'.
6439 More work is still needed (see comments in event-stream.c), but
6440 this fixes all the major problems.
6442 2001-04-20 Ben Wing <ben@xemacs.org>
6444 * .cvsignore: Added stuff for Windows.
6446 2001-04-28 Ben Wing <ben@xemacs.org>
6448 * buffer.c (Ferase_buffer):
6449 * editfns.c (buffer_insert1):
6450 * editfns.c (Finsert_before_markers):
6451 * editfns.c (Finsert_string):
6452 * editfns.c (Finsert_char):
6453 * editfns.c (Fdelete_region):
6454 * editfns.c (Fwiden):
6455 * editfns.c (Fnarrow_to_region):
6456 remove bogus lines setting zmacs_region_stays to 0.
6458 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6460 * process-unix.c (unix_open_network_stream): If connect() fails
6461 invalidate file descriptor after closing it.
6463 2001-03-08 Mike Alexander <mta@arbortext.com>
6465 * event-msw.c (mswindows_need_event_in_modal_loop):
6466 Don't dispatch a message if we didn't get one.
6467 (mswindows_need_event):
6468 Terminate the correct process when one exits instead of the first
6469 one on Vprocess_list and look for process termination when in
6470 mswindows_protect_modal_loop.
6472 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6474 * XEmacs 21.4.1 "Copyleft" is released.
6476 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6478 * input-method-motif.c (XIM_delete_frame): New callback.
6479 (XIM_init_frame): Register it.
6481 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6483 * XEmacs 21.4.0 "Solid Vapor" is released.
6485 2001-04-15 Ben Wing <ben@xemacs.org>
6487 * cmdloop.c (call_command_loop):
6488 Fix braino in bit-rotting code.
6490 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6492 * extents.c (Fset_extent_endpoints): Force creation of extent info
6493 in buffer_or_string.
6495 * extents.c (process_extents_for_insertion_mapper): Correctly
6496 check for open-open zero-length extents.
6498 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6500 * lisp.h: New typedefs Memory_count, Element_count.
6503 Sign-compare warning elimination: several unsigned -> signed.
6504 Based on work by Ben Wing <ben@xemacs.org>.
6506 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6508 * XEmacs 21.2.47 "Zephir" is released.
6510 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6512 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6514 2001-04-03 Mike Sperber <mike@xemacs.org>
6516 * search.c: Revert previous patch due because of release.
6518 2001-03-30 Ben Wing <ben@xemacs.org>
6521 Add missing killpg prototype.
6524 Add a comment about fixing problems when a new entry is added
6527 * frame-msw.c (mswindows_init_frame_1):
6528 Fix compile warnings.
6530 * menubar.c (vars_of_menubar):
6531 Provide `menu-accelerator-support' to indicate that we properly
6532 support %_ in menu specifications, so that package code can
6533 conditionalize on this (and remove %_ from menu specifications
6538 * scrollbar-msw.c (can_scroll):
6540 Fix handling of mouse wheel under Windows to follow standards --
6541 now scrolls window under pointer, not selected window.
6543 2001-03-31 Mike Sperber <mike@xemacs.org>
6545 * search.c (Freplace_match): Support FSF-style specification of
6546 match subexpression when applied to a buffer.
6548 2001-03-15 Martin Buchholz <martin@xemacs.org>
6550 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6551 function to modify KEYMAP, so map over a copy of the hash table.
6553 2001-03-21 Martin Buchholz <martin@xemacs.org>
6555 * XEmacs 21.2.46 "Urania" is released.
6557 2001-03-20 Dan Holmsand <dan@eyebee.com>
6559 * realpath.c (xrealpath): Make file-truename work with symlinks to
6560 /cygdrive paths on cygwin. Always lowercase drive-letters on
6562 (cygwin_readlink): Don't try to find canonical filename unless
6565 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6567 * ChangeLog: Log GTK merge.
6573 Revert gratuitous whitespace changes from GTK merge.
6575 * emacs.c: Document end of complex #ifdef @ l. 1495.
6578 2001-03-12 Andy Piper <andy@xemacs.org>
6580 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6581 have to do likewise.
6583 2001-03-12 Andy Piper <andy@xemacs.org>
6585 * sysdep.c: we only support mingw now.
6587 2001-03-09 Andy Piper <andy@xemacs.org>
6589 * unexcw.c (copy_executable_and_dump_data_section): making approx
6590 overrun a warning only.
6592 2001-03-10 William M. Perry <wmperry@aventail.com>
6594 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6595 satisfy Stephen's identical-after-cpp plea.
6597 2001-03-02 Ben Wing <ben@xemacs.org>
6600 * cmds.c (Fforward_char):
6604 Augment documentation of the most common motion commands to make
6605 note of the shifted-motion support.
6607 2001-03-02 Ben Wing <ben@xemacs.org>
6609 * nt.c (mswindows_fstat):
6610 * nt.c (mswindows_stat):
6611 * search.c (boyer_moore):
6612 Fix compile warnings under Windows.
6614 * sysdep.c (sys_readdir):
6615 Fix buggy filename-conversion code under Mule.
6617 2001-03-09 William M. Perry <wmperry@aventail.com>
6639 * redisplay-output.c:
6645 The Great GTK Merge.
6652 * emacs-widget-accessors.c:
6666 * native-gtk-toolbar.c:
6677 The Great GTK Merge: new files.
6679 2001-02-26 Ben Wing <ben@xemacs.org>
6681 Reapplied Lstream change.
6683 2001-02-26 Ben Wing <ben@xemacs.org>
6685 Undid the last change, since it is more controversial than I
6686 thought. It should be back in at some point soon.
6688 2001-02-25 Ben Wing <ben@xemacs.org>
6691 * callproc.c (Fold_call_process_internal):
6692 * event-msw.c (ntpipe_slurp_reader):
6693 * event-msw.c (ntpipe_shove_writer):
6694 * event-msw.c (winsock_reader):
6695 * event-msw.c (winsock_writer):
6697 * file-coding.c (detect_eol_type):
6698 * file-coding.c (detect_coding_type):
6699 * file-coding.c (determine_real_coding_system):
6700 * file-coding.c (Fdetect_coding_region):
6701 * file-coding.c (decoding_reader):
6702 * file-coding.c (decoding_writer):
6703 * file-coding.c (mule_decode):
6704 * file-coding.c (Fdecode_coding_region):
6705 * file-coding.c (encoding_reader):
6706 * file-coding.c (encoding_writer):
6707 * file-coding.c (mule_encode):
6708 * file-coding.c (Fencode_coding_region):
6709 * file-coding.c (detect_coding_sjis):
6710 * file-coding.c (decode_coding_sjis):
6711 * file-coding.c (encode_coding_sjis):
6712 * file-coding.c (detect_coding_big5):
6713 * file-coding.c (decode_coding_big5):
6714 * file-coding.c (encode_coding_big5):
6715 * file-coding.c (detect_coding_ucs4):
6716 * file-coding.c (decode_coding_ucs4):
6717 * file-coding.c (encode_coding_ucs4):
6718 * file-coding.c (detect_coding_utf8):
6719 * file-coding.c (decode_coding_utf8):
6720 * file-coding.c (encode_coding_utf8):
6721 * file-coding.c (detect_coding_iso2022):
6722 * file-coding.c (decode_coding_iso2022):
6723 * file-coding.c (encode_coding_iso2022):
6724 * file-coding.c (decode_coding_no_conversion):
6725 * file-coding.c (encode_coding_no_conversion):
6726 * glyphs-x.c (write_lisp_string_to_temp_file):
6727 * gpmevent.c (tty_get_foreign_selection):
6730 * lstream.c (Lstream_flush_out):
6731 * lstream.c (Lstream_adding):
6732 * lstream.c (Lstream_write_1):
6733 * lstream.c (Lstream_write):
6734 * lstream.c (Lstream_raw_read):
6735 * lstream.c (Lstream_read_more):
6736 * lstream.c (Lstream_read):
6737 * lstream.c (Lstream_unread):
6738 * lstream.c (Lstream_fputc):
6739 * lstream.c (stdio_reader):
6740 * lstream.c (stdio_writer):
6741 * lstream.c (filedesc_reader):
6742 * lstream.c (filedesc_writer):
6743 * lstream.c (lisp_string_reader):
6744 * lstream.c (struct fixed_buffer_stream):
6745 * lstream.c (make_fixed_buffer_input_stream):
6746 * lstream.c (make_fixed_buffer_output_stream):
6747 * lstream.c (fixed_buffer_reader):
6748 * lstream.c (fixed_buffer_writer):
6749 * lstream.c (struct resizing_buffer_stream):
6750 * lstream.c (resizing_buffer_writer):
6751 * lstream.c (dynarr_writer):
6752 * lstream.c (lisp_buffer_reader):
6753 * lstream.c (lisp_buffer_writer):
6755 * lstream.h (lstream_implementation):
6756 * lstream.h (struct lstream):
6758 * process-nt.c (nt_send_process):
6759 * process-unix.c (unix_send_process):
6761 Correct Lstream lossage due to mixing of signed and unsigned
6762 quantities. All Lstream uses of size_t and ssize_t are now a
6763 single signed data type Lstream_data_count. This fixes problems
6764 under Windows with sending large quantities of data to a process,
6765 and may well fix other subtle bugs.
6767 2001-02-23 Martin Buchholz <martin@xemacs.org>
6769 * XEmacs 21.2.45 "Thelxepeia" is released.
6771 2001-02-21 Martin Buchholz <martin@xemacs.org>
6773 * lisp-union.h (XSETINT):
6776 Reverse previous change of 2001-02-06.
6778 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6780 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6782 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6783 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6784 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6785 * regex.c (POS_AS_IN_BUFFER): removed
6786 * regex.c (re_search_2):
6787 * regex.c (re_match_2):
6788 Don't use an offset of 1 when calculating buffer positions, since
6789 `BI_BUF_BEGV' does it already.
6791 2001-02-18 Wim Dumon <wim@easics.be>
6793 * insdel.c (prepare_to_modify_buffer): Also check for
6794 supersession when clash-detection is enabled.
6796 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6798 * regex.c (re_match_2_internal):
6799 Convert temp characters from 'const unsigned char' to 're_char'.
6800 Fix crashing bug with extended characters under mule.
6801 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6802 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6803 font-lock, pdump, and new syntax-table code.
6804 * syntax.c (find_start_of_comment):
6805 (find_end_of_comment):
6807 Fix crashing bugs involving moving beyond end of buffer.
6808 * syntax.c (find_start_of_comment):
6809 Fixed logic to allow proper detection of cases where the same
6810 character is used to end both a two-char comment start and a
6811 two-char comment end sequence. Fixes `(forward-comment -1)'.
6812 * syntax.c (find_start_of_comment):
6813 Return position just past last comment-end character for all cases
6814 (previously was only done for two-char comment-end sequences).
6815 * syntax.c (forward-comment):
6816 Take value returned from `find_end_of_comment', rather than
6818 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6819 Properly deal with BUFFERP (syntax_cache.object)
6821 2001-02-17 Martin Buchholz <martin@xemacs.org>
6823 * alloc.c (Fgarbage_collect):
6824 * alloc.c (make_bit_vector_from_byte_vector):
6825 -Wsign-compare-correctness.
6827 2001-02-16 Martin Buchholz <martin@xemacs.org>
6829 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6830 (XSETCHAR): Likewise.
6831 (XSETOBJ): Likewise.
6833 2001-02-15 Martin Buchholz <martin@xemacs.org>
6835 * mule-canna.c (canna-func-delete_previous):
6836 Rename to canna-func-delete-previous.
6838 2001-02-14 Martin Buchholz <martin@xemacs.org>
6840 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6842 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6844 * font-lock.c (find_context): Fix C++ compile errors introduced by
6847 2001-02-13 Martin Buchholz <martin@xemacs.org>
6849 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6850 pragma, but earlier ones barf on the same pragma.
6852 2001-02-06 Mike Sperber <mike@xemacs.org>
6854 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6855 `configure-mule-lisp-directory'.
6857 2001-02-12 Martin Buchholz <martin@xemacs.org>
6859 Make sure dump-id.c is compiled in the same way as other .c's.
6860 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6861 * dump-id.h: Remove.
6862 * emacs.c: Move dump-id.h into dumper.h.
6863 * dumper.h: Move dump-id.h into dumper.h.
6865 Use standard .c.o rule for building dump-id.o.
6866 Remove preprocessor flags from link command.
6867 Add dump-id.o to ${otherobjs} if PDUMP.
6869 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6871 Port FSF 20.7 syntax table improvements.
6875 Fixups for new syntax table stuff.
6876 * dired.c: Include syntax.c.
6877 (Fdirectory_files): Initialize regex_match_object and
6879 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6880 and Fget_char_property.
6882 Use ported FSF 20.7 syntax table improvements.
6887 2001-02-09 Martin Buchholz <martin@xemacs.org>
6889 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6890 Unixware's enum boolean from sys/types.h.
6892 2001-02-10 Martin Buchholz <martin@xemacs.org>
6894 Fix support for building with latest Purify.
6895 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6896 (PURIFY_FLAGS): Likewise.
6898 2001-02-09 Martin Buchholz <martin@xemacs.org>
6900 * fileio.c (lisp_string_set_file_times): New.
6901 * fileio.c (Fcopy_file): Use it.
6903 (copy-file filename non-ascii-filename t t)
6904 ==> No such file or directory, non-ascii-filename
6906 2001-02-10 Martin Buchholz <martin@xemacs.org>
6908 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6909 USHRT_MAX seems clearer than ~0 anyways.
6911 2001-02-09 Martin Buchholz <martin@xemacs.org>
6913 dumper improvements. Inspired by Olivier.
6914 * dumper.c (pdump_max_align): New.
6915 * dumper.c (pdump_add_entry): Use pdump_max_align.
6916 * dumper.c (pdump_get_entry_list): Likewise.
6917 * dumper.c (pdump_scan_by_alignment): Likewise.
6918 Don't iterate through unnecessary alignments.
6919 * dumper.c (pdump_file_get): No need to align result of malloc().
6920 * dumper.c (pdump_mallocadr): Remove.
6921 The result of malloc() is guaranteed to be maximally aligned.
6922 * dumper.c: s/elmt/elt/g;
6923 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6924 * dumper.c (pdump_alert_undump_object): Likewise.
6925 * dumper.c (pdump_align_table):
6926 Don't support alignments > 64.
6927 Store ALIGNOF's, not shift counts, in table.
6929 2001-02-09 Martin Buchholz <martin@xemacs.org>
6931 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6932 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6933 * systime.h: Use HAVE_UTIME.
6934 * sysdep.c (struct utimbuf): Remove.
6935 * sysdep.c (set_file_times): Prefer utime() to utimes().
6936 * config.h.in (HAVE_UTIME): New.
6937 * config.h.in (HAVE_UTIME_H): Remove.
6938 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6940 2001-02-09 Martin Buchholz <martin@xemacs.org>
6942 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6944 2001-02-08 Martin Buchholz <martin@xemacs.org>
6946 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6948 2001-02-08 Martin Buchholz <martin@xemacs.org>
6950 * XEmacs 21.2.44 "Thalia" is released.
6952 2001-02-06 Martin Buchholz <martin@xemacs.org>
6954 Fixes crashes in kill-emacs on some systems.
6955 * process-unix.c (unix_kill_child_process):
6956 It's OK for kill() to fail with ESRCH.
6958 2001-02-07 Martin Buchholz <martin@xemacs.org>
6960 Contortions to make .gdbinit tricks work on most systems.
6961 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6962 * alloc.c (dbg_valmask): Make non-const.
6963 * alloc.c (dbg_typemask): Make non-const.
6964 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6965 * alloc.c (dbg_valbits): Make non-const.
6966 * alloc.c (dbg_gctypebits): Make non-const.
6967 * .gdbinit (decode_object): Make it work with AIX cc.
6969 2001-02-06 Martin Buchholz <martin@xemacs.org>
6971 * elhash.c (make_general_lisp_hash_table):
6972 Use simpler and more efficient calloc to clear entries.
6974 2001-02-07 Martin Buchholz <martin@xemacs.org>
6976 * window.c (window_scroll): Work around an AIX C compiler bug.
6977 Fixes 'scroll-up' does nothing problem with xlC.
6979 2001-02-05 Martin Buchholz <martin@xemacs.org>
6981 * .gdbinit: Remove obsolete comment.
6983 2001-01-31 Mike Alexander <mta@arbortext.com>
6985 * select.c (Fown_selection_internal): Set owned_p for device
6988 2001-02-01 Martin Buchholz <martin@xemacs.org>
6991 "not" cannot be used as a macro name as it is an operator in C++
6992 * config.h.in: Stop #defining `not'.
6993 * chartab.c (check_category_char): not ==> not_p
6994 * chartab.h: Likewise.
6995 * regex.c (re_match_2_internal): Likewise.
6997 2001-02-02 Martin Buchholz <martin@xemacs.org>
6999 * lisp-disunion.h: Fix up comments.
7001 2001-01-31 Martin Buchholz <martin@xemacs.org>
7003 * keymap.c (define_key_check_and_coerce_keysym):
7005 Support mouse-6 and mouse-7 bindings in the obvious way.
7007 2001-02-01 Martin Buchholz <martin@xemacs.org>
7009 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7011 2001-01-30 Martin Buchholz <martin@xemacs.org>
7013 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7014 Previous patch missed DEFVAR_INT_MAGIC.
7015 Make sure future DEFVAR_foo use correct types.
7016 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7017 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7018 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7019 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7020 * (DEFVAR_INT): Likewise.
7021 * redisplay.c (vertical_clip): Should be of type Fixnum.
7022 * redisplay.c (horizontal_clip): Likewise.
7023 * lisp.h (dump_add_opaque_int): New.
7024 (dump_add_opaque_fixnum): New.
7026 2001-01-29 Andy Piper <andy@xemacs.org>
7028 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7029 since they can be eval'ed
7031 2001-01-29 Martin Buchholz <martin@xemacs.org>
7033 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7034 Oops, XEmacs redefines `class'. Use `typename' instead.
7036 2001-01-28 Martin Buchholz <martin@xemacs.org>
7038 * dumper.c: Fix C++ compile errors.
7040 2001-01-29 Martin Buchholz <martin@xemacs.org>
7042 * tparam.c: Use correct prototypes.
7044 2001-01-28 Martin Buchholz <martin@xemacs.org>
7046 * sysproc.h: #include util.h for NetBSD's openpty.
7048 2001-01-27 Martin Buchholz <martin@xemacs.org>
7050 More 64-bit correctness.
7051 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7052 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7054 This finally finishes the 64-bit SGI port.
7055 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7056 * symbols.c: Fix up comments and type casts.
7057 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7058 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7059 * symeval.h (Fixnum): New type.
7060 * symeval.h (symbol_value_type): Fix up comment.
7076 * mule-canna.c: A million DEFVAR_INTs here...
7077 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7090 s/int/Fixnum/g in DEFVAR_INT declarations.
7092 2001-01-26 Martin Buchholz <martin@xemacs.org>
7094 Port pdump to SGI alignment-sensitive environment.
7095 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7096 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7098 Define and use aligned reading and writing macros.
7099 Use buffered stdio instead of posix i/o for faster dumping.
7100 Eliminate kludgy 256 byte space for header.
7101 Read and write from dump file using structs for alignment safety.
7102 * dumper.c (pdump_align_stream): New.
7103 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7104 * dumper.c (PDUMP_READ_ALIGNED): New.
7105 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7106 * dumper.c (pdump_static_Lisp_Object): New struct.
7107 * dumper.c (pdump_static_pointer): New struct.
7108 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7109 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7110 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7111 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7113 * dumper.c (pdump_backtrace):
7114 * dumper.c (pdump_get_indirect_count):
7115 * dumper.c (pdump_register_object):
7116 * dumper.c (pdump_register_struct):
7117 * dumper.c (pdump_reloc_one):
7118 * dumper.c (pdump_scan_by_alignment):
7119 * dumper.c (pdump_dump_from_root_struct_ptrs):
7120 * dumper.c (pdump_dump_opaques):
7121 * dumper.c (pdump_dump_rtables):
7122 * dumper.c (pdump_dump_from_root_objects):
7124 * dumper.c (pdump_load_finish):
7125 Use aligned reading and writing.
7127 * dumper.c (pdump_free): Make static.
7128 * dumper.c (pdump_hFile): Likewise.
7129 * dumper.c (pdump_hMap): Likewise.
7131 2001-01-26 Martin Buchholz <martin@xemacs.org>
7133 * XEmacs 21.2.43 "Terspichore" is released.
7135 2001-01-25 Martin Buchholz <martin@xemacs.org>
7137 Type fiddling for window_config.saved_windows_count
7138 * window.c (struct window_config):
7139 Make saved_windows_count member unsigned.
7140 * window.c (sizeof_window_config_for_n_windows):
7141 Make parameter unsigned.
7142 * window.c (mark_window_config):
7143 * window.c (window_config_equal):
7144 * window.c (free_window_configuration):
7145 * window.c (Fset_window_configuration):
7146 * window.c (count_windows):
7147 * window.c (Fcurrent_window_configuration):
7148 * window.c (reinit_vars_of_window):
7149 Update all callers and users.
7151 2001-01-25 Martin Buchholz <martin@xemacs.org>
7153 Alignment correctness for flexible arrays.
7154 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7155 Make alignment-correct. Add interesting comments.
7156 * alloc.c (size_vector):
7157 * alloc.c (make_vector_internal):
7158 * alloc.c (make_bit_vector_internal):
7159 * alloc.c (sweep_bit_vectors_1):
7160 * fns.c (size_bit_vector):
7161 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7162 * window.c (sizeof_window_config_for_n_windows):
7163 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7165 2001-01-24 Martin Buchholz <martin@xemacs.org>
7167 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7169 2001-01-23 Andy Piper <andy@xemacs.org>
7171 * select.c (Fown_selection_internal): pass owned_p
7173 * select-msw.c (mswindows_own_selection): New Signature.
7175 * console.h (struct console_methods): add owned_p to
7178 * select-x.c (x_own_selection): pass owned_p
7179 (hack_motif_clipboard_selection): use owned_p
7180 (vars_of_select_x): new variable -
7181 x_selection_strict_motif_ownership.
7183 2001-01-23 Martin Buchholz <martin@xemacs.org>
7185 * specifier.h (specifier_data_offset): Remove pointless parens.
7186 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7188 2001-01-24 Martin Buchholz <martin@xemacs.org>
7190 Make Lisp_Object sizeof methods be alignment-correct.
7191 pdump must restore objects to the same alignment as the C compiler
7192 assumes. It really matters on SGIs.
7193 * lstream.c (aligned_sizeof_lstream): New.
7194 (sizeof_lstream): Use aligned_sizeof_lstream.
7195 (Lstream_new): Likewise.
7196 * opaque.c (aligned_sizeof_opaque): New.
7197 (sizeof_opaque): Use aligned_sizeof_opaque.
7198 (make_opaque): Likewise.
7199 * specifier.c (aligned_sizeof_specifier): New.
7200 (sizeof_specifier): Use aligned_sizeof_specifier.
7201 (make_specifier_internal): Likewise.
7203 2001-01-23 Martin Buchholz <martin@xemacs.org>
7205 * lstream.h (struct lstream): Use max_align_t for trailing data.
7206 * specifier.h (struct Lisp_Specifier): Likewise.
7208 2001-01-22 Martin Buchholz <martin@xemacs.org>
7210 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7211 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7212 (CCL_SUSPEND): Likewise.
7213 (CCL_INVALID_CMD): Likewise.
7214 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7215 (ccl_driver): Likewise.
7216 (CCL_WRITE_CHAR): Macro hygiene.
7217 (CCL_WRITE_STRING): Macro hygiene.
7219 2001-01-22 Martin Buchholz <martin@xemacs.org>
7221 Port "portable" dumper to SunOS 4 and HP-UX.
7222 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7223 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7224 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7226 2001-01-22 Martin Buchholz <martin@xemacs.org>
7228 * lisp.h (ALIGNOF): A better definition for C++.
7230 2001-01-20 Martin Buchholz <martin@xemacs.org>
7233 Fix printf warnings: int format, long int arg.
7234 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7235 (PUSH_FAILURE_POINT): Use correct printf formats.
7236 (POP_FAILURE_POINT): Use correct printf formats.
7237 Use do {...} while (0)
7239 2001-01-20 Martin Buchholz <martin@xemacs.org>
7241 * XEmacs 21.2.42 "Poseidon" is released.
7243 2001-01-20 Martin Buchholz <martin@xemacs.org>
7245 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7247 2001-01-19 Martin Buchholz <martin@xemacs.org>
7249 De-kludgify FIXED_TYPE free list frobbing.
7250 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7251 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7252 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7253 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7254 * alloc.c (LRECORD_FREE_P): New.
7255 * alloc.c (MARK_LRECORD_AS_FREE): New.
7256 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7257 * alloc.c (STRUCT_FREE_P): Deleted.
7258 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7259 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7260 * alloc.c (STRING_CHARS_FREE_P): New.
7261 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7262 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7263 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7264 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7265 * alloc.c (resize_string): Use new definitions.
7266 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7267 * alloc.c (verify_string_chars_integrity): Use new definitions.
7268 * alloc.c (compact_string_chars): Use new definitions.
7269 * alloc.c: Update monster comments.
7270 * lrecord.h (lrecord_type): Add some new lrecord types for
7273 2001-01-18 Martin Buchholz <martin@xemacs.org>
7275 Improve alignment hackery.
7276 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7277 (max_align_t): Moved from opaque.h - general purpose.
7278 (ALIGN_PTR): Use size_t, not long.
7279 * opaque.h (max_align_t): Move to lisp.h.
7281 2001-01-18 Norbert Koch <nk@LF.net>
7283 * gui.h: Fix and add prototypes to fix build problems.
7285 2001-01-18 Martin Buchholz <martin@xemacs.org>
7287 temacs is going away, so `dump-temacs' is now a bad name.
7288 * .dbxrc (dump-temacs): Rename to `dmp'.
7289 * .gdbinit (dump-temacs): Rename to `dmp'.
7291 2001-01-17 Andy Piper <andy@xemacs.org>
7293 * glyphs.c (print_image_instance): comment to make martin happy.
7295 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7298 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7300 (mswindows_tab_control_redisplay): warning suppression.
7302 * glyphs-widget.c (widget_update): re-write to cope with updated
7304 (widget_instantiate): use new gui_item functions.
7305 (tab_control_update): deleted.
7306 (progress_gauge_update): deleted.
7307 (image_instantiator_progress_guage): take out update reference.
7308 (image_instantiator_tree_view): ditto.
7309 (image_instantiator_tab_control): ditto.
7311 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7313 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7314 return whether anything was changed.
7315 (update_gui_item_keywords): as it sounds.
7317 * gui.h: declare widget_gui_parse_item_keywords.
7319 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7320 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7322 2001-01-17 Martin Buchholz <martin@xemacs.org>
7324 * XEmacs 21.2.41 "Polyhymnia" is released.
7326 2001-01-16 Didier Verna <didier@xemacs.org>
7328 * glyphs.c (image_instantiate): don't use fallbacks when
7329 instantiating a face's background pixmap by inheritance.
7331 2001-01-14 Mike Sperber <mike@xemacs.org>
7333 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7334 Conditionalize accordingly.
7336 2001-01-16 Martin Buchholz <martin@xemacs.org>
7338 * dumper.c (pdump_file_get): Fix a compiler warning.
7340 2001-01-15 Martin Buchholz <martin@xemacs.org>
7342 Make Purify happy when pdumping.
7343 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7344 iniitalizing all bits of new lisp object memory.
7345 * symbols.c (Fmake_local_variable): Likewise.
7346 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7347 * symbols.c (Fdefvaralias): Likewise.
7348 * mule-charset.c (vars_of_mule_charset): Likewise.
7350 2001-01-15 Martin Buchholz <martin@xemacs.org>
7351 Add the `-nd' flag when running pre-dump operations under the debugger.
7352 * .dbxrc (run-temacs): Add `-nd'.
7353 * .dbxrc (update-elc): Likewise.
7354 * .dbxrc (dump-temacs): Likewise.
7355 * .gdbinit (run-temacs): Likewise.
7356 * .gdbinit (check-temacs): Likewise.
7357 * .gdbinit (update-elc): Likewise.
7358 * .gdbinit (dump-temacs): Likewise.
7360 2001-01-14 Martin Buchholz <martin@xemacs.org>
7362 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7363 export OBJECT_MODE=64
7364 configure --pdump --use-union-type=no
7365 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7366 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7368 * miscplay.c (sndcnv8U_2mono):
7369 Avoid two uses of `++' in the same expression.
7370 Suppresses a GCC warning.
7372 2001-01-13 Martin Buchholz <martin@xemacs.org>
7374 Make sure future compilers don't miscompile alloc.c.
7376 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7377 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7379 2001-01-12 Martin Buchholz <martin@xemacs.org>
7381 * dumper.c: A little post-pdump-rename comment fixup.
7383 2001-01-09 Jerry James <james@eecs.ku.edu>
7385 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7387 2001-01-13 Martin Buchholz <martin@xemacs.org>
7389 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7393 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7396 replace_symbol pdump_wire_lists pdump_weak_object_chains
7397 replace_symbol pdump_wire_list dump_add_weak_object_chain
7399 replace_symbol pdump_wires pdump_root_objects
7400 replace_symbol pdump_wire dump_add_root_object
7402 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7403 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7405 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7406 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7407 replace_symbol dumpstructinfo pdump_root_struct_ptr
7408 replace_symbol dumpstruct dump_add_root_struct_ptr
7410 replace_symbol dumpopaque dump_add_opaque
7411 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7412 replace_symbol dumpopaqueinfos pdump_opaques
7413 replace_symbol dumpopaqueinfo pdump_opaque
7415 replace_symbol nb_structdump nb_root_struct_ptrs
7416 replace_symbol nb_opaquedump nb_opaques
7418 replace_symbol align_table pdump_align_table
7419 replace_symbol dump_header pdump_header
7421 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7422 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7425 2001-01-12 Martin Buchholz <martin@xemacs.org>
7427 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7428 optimizing bytecount_to_charcount().
7430 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7433 (HAVE_DLFCN_H): Removed.
7434 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7436 2001-01-06 Martin Buchholz <martin@xemacs.org>
7438 Portable dumper maintainability improvements.
7439 * alloc.c (staticpro):
7440 * alloc.c (staticpro_nodump):
7441 * alloc.c (garbage_collect_1):
7442 * alloc.c (reinit_alloc_once_early):
7443 * alloc.c (init_alloc_once_early):
7444 * alloc.c: Move dumper functions to alloc.c.
7445 * dumper.c (pdump_backtrace):
7446 * dumper.c (pdump_dump_structs):
7447 * dumper.c (pdump_dump_opaques):
7448 * dumper.c (pdump_dump_rtables):
7449 * dumper.c (pdump_dump_wired):
7451 * dumper.c (pdump_load_check):
7452 * dumper.c (pdump_load_finish):
7453 * dumper.c (pdump_file_unmap):
7454 * dumper.c (pdump_file_get):
7455 * dumper.c (pdump_resource_free):
7456 * dumper.c (pdump_resource_get):
7457 * dumper.c (pdump_file_free):
7458 * dumper.c (pdump_file_try):
7459 * dumper.c (pdump_load):
7460 Remove fixed size limits on staticpro(), staticpro_nodump(),
7461 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7462 Remove custom code for dumping lrecord_implementations_table - use
7464 Remove (most of the) custom code for dumping staticpros - dump it
7465 like any other dynarr.
7467 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7468 * dumper.c: Moved functions from alloc.c.
7469 * alloc.c (dumpstruct): Moved to dumper.c.
7470 * alloc.c (dumpopaque): Likewise.
7471 * alloc.c (pdump_wire): Likewise.
7472 * alloc.c (pdump_wire_list): Likewise.
7474 * lisp.h (Dynarr_sizeof): New.
7475 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7476 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7477 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7479 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7480 * lisp.h (dumpopaque): ditto.
7481 * lisp.h (pdump_wire): ditto.
7482 * lisp.h (pdump_wire_list): ditto.
7484 2001-01-09 Martin Buchholz <martin@xemacs.org>
7486 * make-src-depend (PrintPatternDeps):
7487 Use `sort' to make output independent of perl version.
7489 2001-01-08 Martin Buchholz <martin@xemacs.org>
7492 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7493 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7495 2001-01-03 Didier Verna <didier@xemacs.org>
7497 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7498 that `focus_frame' is alive before thinking of calling
7499 `redisplay_redraw_cursor' on it.
7501 2001-01-08 Martin Buchholz <martin@xemacs.org>
7503 * XEmacs 21.2.40 is released.
7505 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7507 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7509 2001-01-06 Martin Buchholz <martin@xemacs.org>
7511 * alloc.c (dbg_valmask): Make const.
7512 * alloc.c (dbg_typemask): Make const.
7513 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7514 * alloc.c (dbg_valbits): Make const.
7515 * alloc.c (dbg_gctypebits): Make const.
7517 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7519 * redisplay-x.c (x_bevel_area):
7520 redisplay.h (struct rune):
7521 Typo fixes in comments.
7523 2001-01-05 Andy Piper <andy@xemacs.org>
7525 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7528 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7530 2001-01-05 Martin Buchholz <martin@xemacs.org>
7532 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7534 * mule-ccl.c (stack_idx_of_map_multiple):
7535 Non const global data must not be initialized!
7536 Found by MIYASHITA Hisashi.
7538 2001-01-02 Andy Piper <andy@xemacs.org>
7540 * frame.c (change_frame_size): make sure frame size is always
7543 * glyphs.c (image_instance_layout): minor code reuse.
7545 * window.c (Fcurrent_window_configuration): revert previous
7548 2001-01-02 Martin Buchholz <martin@xemacs.org>
7551 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7553 2000-12-31 Andy Piper <andy@xemacs.org>
7555 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7556 when widget gets unmapped.
7558 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7559 function. Make sure widgets losing focus don't just drop it.
7560 (handle_focus_event_1): record the widget with focus.
7562 2000-12-31 Andy Piper <andy@xemacs.org>
7564 * window.c (allocate_window): use
7565 make_image_instance_cache_hash_table.
7566 (make_dummy_parent): ditto.
7567 (Fset_window_configuration): ditto.
7569 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7571 * glyphs.c (process_image_string_instantiator): use
7573 (get_image_instantiator_governing_domain): ditto.
7574 (normalize_image_instantiator): ditto.
7575 (instantiate_image_instantiator): ditto.
7576 (make_image_instance_1): ditto.
7577 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7578 (instantiator_eq_equal): new function for use with instance hash
7580 (instantiator_eq_hash): ditto.
7581 (make_image_instance_cache_hash_table): create a suitable hash
7582 table for storing image instances.
7584 * elhash.h (hash_table_weakness): new internal weakness type
7585 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7586 declare new functions.
7588 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7589 another weakness type for glyphs.
7590 (make_standard_lisp_hash_table): new function split out from
7591 make_general_lisp_hash_table.
7592 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7593 (hash_table_instantiate): ditto.
7594 (Fmake_hash_table): ditto.
7596 2000-12-31 Martin Buchholz <martin@xemacs.org>
7598 * XEmacs 21.2.39 is released.
7600 2000-12-29 Andy Piper <andy@xemacs.org>
7602 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7604 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7605 the frame has changed so that we pick up geometry changes such as
7608 2000-12-28 Andy Piper <andy@xemacs.org>
7610 * lastfile.c (my_ebss): make a char array so we can pad the
7611 bss. Fixes cygwin unexec.
7613 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7615 2000-12-26 Andy Piper <andy@xemacs.org>
7617 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7618 comments and try and be more precise about a non-/SIGIO world.
7619 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7622 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7623 we don't normalize to zero width or height.
7625 2000-12-24 Andy Piper <andy@xemacs.org>
7627 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7629 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7631 * s/sco5.h: SCO 5 has pty support.
7633 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7635 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7636 input-method-xlib.c contains whole contents of input-method-xfs.c,
7637 so we can use input-method-xlib.c's code for USE_XFONTSET
7639 * input-method-xfs.c: removed.
7641 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7643 * file-coding.h (enum coding_category_type): reorder enumerators to
7644 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7645 (now one greater than largest real coding_category_type enumerator).
7646 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7647 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7648 Fcoding_category_list, Fset_coding_priority_list,
7649 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7650 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7652 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7654 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7655 * redisplay-output.c (redisplay_output_window): Clear top of window
7656 when face is changed.
7657 * redisplay-x.c (x_redraw_exposed_window): Call
7658 redisplay_clear_top_of_window.
7659 * redisplay.h: Publish redisplay_clear_top_of_window.
7661 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7663 * buffer.c (Fkill_buffer): Map over all devices.
7664 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7665 (list_windows): New function.
7666 (list_all_windows): Ditto.
7667 (Freplace_buffer_in_windows): Use them.
7669 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7671 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7672 (Fopen_database): Use `db_create' instead of `db_open'.
7673 (syms_of_database): Initialize Qqueue.
7675 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7677 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7678 buffer_local_face_property.
7679 * buffer.h (struct buffer): New member buffer_local_face_property.
7680 * window.c (Fset_window_buffer): Mark window's face as changed
7681 when buffer has buffer local face.
7682 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7683 * objects.c (color_after_change): Set buffer_local_face_property
7684 when locale of face specifier is buffer.
7685 * objects.c (font_after_change): Ditto.
7686 * objects.c (face_boolean_after_change): Ditto.
7687 * glyphs.c (image_after_change): Ditto.
7689 2000-12-09 Dan Holmsand <dan@eyebee.com>
7691 * nt.c (mswindows_fstat): Report file permissions, volume serial
7692 number, etc. Code adapted from FSF Emacs 20.7.
7694 2000-12-09 Dan Holmsand <dan@eyebee.com>
7696 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7697 of stat when we don't have symbolic links, to make sure
7698 mswindows_stat is called on mswindows.
7700 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7702 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7704 2000-12-12 Martin Buchholz <martin@xemacs.org>
7706 * doprnt.c (emacs_doprnt_1): More printing fixes.
7707 Make printing of numbers compatible with libc and FSF Emacs.
7708 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7709 Use the system printf to do most of the hard work of formatting,
7710 instead of doprnt_1().
7711 Calculate memory to allocate for format string.
7712 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7713 (doprnt_1): Cleaner code and documentation.
7715 2000-12-01 Jerry James <james@eecs.ukans.edu>
7717 * Makefile.in.in: Use the loop variable to install headers.
7719 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7721 * window.c (Fsplit_window): Don't invalidate face cache.
7723 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7725 * minibuf.c (Fall_completions): Undo the previous change
7726 which removed checking elements start with space.
7728 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7730 * mule-canna.c: Didier suppression.
7732 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7734 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7735 (warning suppression). Add English comment translations.
7737 2000-12-05 Martin Buchholz <martin@xemacs.org>
7739 * unexelfsgi.c (unexec): Better test for mmap failure.
7741 2000-12-05 Martin Buchholz <martin@xemacs.org>
7743 * XEmacs 21.2.38 is released.
7745 2000-12-05 Martin Buchholz <martin@xemacs.org>
7747 * redisplay.c (bar-cursor): Make a user variable.
7749 * symsinit.h: Add init_postgresql_from_environment.
7751 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7753 * regex.c: Convert to clean C.
7755 2000-12-05 Dan Holmsand <dan@eyebee.com>
7758 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7760 (sys_readlink): renamed to system_readlink to avoid conflict with
7761 the other sys_readlink.
7763 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7765 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7767 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7769 * postgresql.c (init_postgresql_from_environment): new function.
7770 (vars_of_postgresql): Move code initializing Lisp variables out and
7771 into init_postgresql_from_environment.
7772 emacs.c (main_1): Call init_postgresql_from_environment if and only
7773 if running a dumped XEmacs.
7775 2000-08-31 Dan Holmsand <dan@eyebee.com>
7777 * buffer.c: Make find-file-compare-truenames default to true on
7780 * realpath.c (win32_abs_start):
7782 (win32_readlink): New functions.
7783 (xrealpath): Return really real filenames on windows.
7785 * fileio.c (Ffile_truename): Make file-truename work on windows.
7787 2000-11-29 Didier Verna <didier@xemacs.org>
7789 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7790 * faces.c (update_face_cachel_data): use it.
7791 * faces.c (add_face_cachel): use it. Complete background pixmap
7792 frobbing in face cache if `update_face_cachel_data' has not done so.
7794 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7796 * search.c (string_match_1): Don't set last_thing_searched
7799 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7801 * buffer.c: Include casetab.h
7802 (common_init_complex_vars_of_buffer): Use new case-table object.
7803 * buffer.h: Include casetab.h
7804 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7805 (DOWNCASE_TABLE_OF): Ditto.
7806 * bufslots.h: Remove char-tables and add case-table.
7807 * casetab.c: Include casetab.h
7808 (CASE_TABLE_P): Removed.
7809 (mark_case_table): New function.
7810 (allocate_case_table): New function.
7811 (Fcase_table_p): Use new case-table.
7812 (case_table_char): New function.
7813 (Fget_case_table): Ditto.
7814 (Fput_case_table): Ditto.
7815 (Fput_case_table_pair): Ditto.
7816 (Fcopy_case_table): Ditto.
7817 (Fcurrent_case_table): Return case-table.
7818 (Fstandard_case_table): Return case-table.
7819 (Fset_case_table): Fix doc-string.
7820 (set_case_table): Use case-table
7821 (syms_of_casetab): DEFSUBR new functions.
7822 (complex_vars_of_casetab): Set up standard case-table.
7823 * casetab.h: New file.
7824 * editfns.c: Include casetab.h
7825 (Fcompare_buffer_substrings): Use case-table.
7826 * inline.c: Include casetab.h
7827 * lisp.h: Remove bogus extern.
7828 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7829 * search.c: Include casetab.h
7830 (TRANSLATE_ASCII): Removed.
7831 (TRANSLATE): Unconditionally translate character.
7832 (looking_at_1): Use case-table.
7833 (string_match_1): Ditto.
7834 (fast_string_match): Ditto.
7835 (search_command): Ditto.
7836 (search_buffer): Separate boyer_moore. Check whether
7837 boyer_moore is possible.
7838 (simple_search): New function.
7839 (boyer_moore): Separated from search_buffer. Translate char.
7841 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7843 * regex.c (RE_TR_ASCII): Removed.
7844 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7845 (PATFETCH): Call PATFETCH_RAW.
7846 (PATFETCH_RAW): Fetch Emchar.
7847 (PATUNFETCH): Decrement charptr.
7848 (GET_BUFFER_SPACE): Rename b to buf_end.
7850 (BUF_PUSH_2): Ditto.
7851 (BUF_PUSH_3): Ditto.
7852 (EXTEND_BUFFER): Ditto.
7853 (SET_LIST_BIT): Ditto.
7854 (regex_compile): Ditto. Translate non ASCII char.
7855 (compile_range): Ditto.
7856 (re_search_2): Ditto.
7857 (re_match_2_internal): Compare Emchar.
7858 (bcmp_translate): Ditto.
7860 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7862 * lisp.h (basic char/int typedefs): comment improvement.
7864 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7866 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7867 unstomp inhibit_site_lisp. Improve comments.
7869 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7871 * mule-charset.c (Fcharset_property): improve type checking, comments.
7873 2000-11-28 Andy Piper <andy@xemacs.org>
7875 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7876 clipped display for windows in the gutter also.
7877 (redisplay_display_boxes_in_window_p): change semantics of return
7878 codes to be more intuitive.
7880 * gutter.h: declare display_boxes_in_gutter_p.
7882 * gutter.c (display_boxes_in_gutter_p): new function for
7885 2000-11-22 Andy Piper <andy@xemacs.org>
7887 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7890 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7892 * callproc.c (Fold_call_process_internal):
7893 * gpm.c (Freceive_gpm_event):
7894 (tty_get_foreign_selection): Might be just warning supression.
7895 * fileio.c (Fwrite_region_internal):
7896 (Fset_visited_file_modtime):
7897 * keymap.c (event_matches_key_specifier_p):
7898 Initialize GCPROed variable.
7900 * menubar-x.c (command_builder_find_menu_accelerator):
7901 Initialize before use.
7903 2000-11-23 Andy Piper <andy@xemacs.org>
7905 * unexcw.c (unexec): make the resulting executable executable.
7907 2000-11-21 Martin Buchholz <martin@xemacs.org>
7909 * doc.c (get_doc_string):
7910 Use size_t, not int, for result of XSTRING_LENGTH.
7912 * cmds.c (Fdelete_char):
7913 * cmds.c (Fpoint_at_eol):
7914 * cmds.c (Fself_insert_command):
7915 Use EMACS_INT, not int, for result of XINT.
7916 Someday, someone will want to insert more than 2**31 identical characters.
7918 * cmds.c (Fdelete_char):
7919 * cmds.c (Fdelete_backward_char):
7920 * syntax.c (Fforward_word):
7921 * syntax.c (Fforward_comment):
7922 Make COUNT argument optional, for consistency with forward-char et al.
7924 2000-11-22 Martin Buchholz <martin@xemacs.org>
7927 * print.c (long_to_string):
7928 Return a useful value: the pointer at end of data written.
7931 Use `static const char * const' for constant strings.
7932 (union printf_arg): Delete `i', `ui' members.
7935 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7936 Do all printf-ing via the `l' specifier.
7937 Use EMACS_INT instead of int.
7940 2000-11-20 Didier Verna <didier@xemacs.org>
7942 * faces.c (update_face_cachel_data): don't frob the background
7943 pixmap when the window is being created. The face is needed but
7946 2000-11-20 Andy Piper <andy@xemacs.org>
7948 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7949 messing with a debug environment.
7951 2000-11-20 Martin Buchholz <martin@xemacs.org>
7953 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7955 2000-11-20 Martin Buchholz <martin@xemacs.org>
7957 * casetab.c (Fcase_table_p): Fix compile error and crash.
7959 2000-11-18 Philip Aston <philipa@mail.com>
7961 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7963 2000-11-18 Martin Buchholz <martin@xemacs.org>
7965 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7966 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7968 2000-11-17 Martin Buchholz <martin@xemacs.org>
7970 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7971 * unexelf.c: Use HAVE_ELF_H.
7972 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7973 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7974 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7975 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7977 So this is an unexelfsgi.c from a different line of development.
7979 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7981 * regex.c (RE_TR_ASCII): New function.
7982 (RE_TRANSLATE): Call it.
7984 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7986 * buffer.h (TRT_TABLE_OF): Remove assert.
7987 (IN_TRT_TABLE_DOMAIN): Removed.
7989 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7991 * free-hook.c (log_gcpro):
7992 (show_gcprohist): Add support for GCPRO5.
7994 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7996 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7998 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8000 * symeval.h: Declare flush_all_buffer_local_cache.
8002 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8003 (flush_buffer_local_cache): Added.
8004 (flush_all_buffer_local_cache): Added.
8006 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8008 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8009 (pdump_dump_data): Ditto.
8010 (pdump_reloc_one): Ditto.
8011 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8015 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8017 * buffer.c: Remove if 0'ed entry.
8018 * buffer.h: Rewrite TRT to use char-table.
8019 * bufslots.h: Remove mirror tables.
8020 * casetab.c: Remove mirror tables.
8021 (CASE_TABLE_P): New macro.
8022 (Fcase_table_p): Element of a case table is string or char-table.
8023 (make_mirror_trt_table): Removed.
8024 (set_case_table): Setup char-table from strings for backward
8026 * dired.c (Fdirectory_files):
8027 * dired-msw.c: (mswindows_get_files):
8028 * lisp.h: Change prototype of re_pattern_buffer.
8029 * regex.c: (RE_TRANSLATE): New macro.
8030 (TRANSLATE_P): Ditto.
8031 Change translate to type RE_TRANSLATE_TYPE.
8032 * regex.h: Define RE_TRANSLATE_TYPE
8033 * search.c (TRANSLATE): New macro.
8034 (TRANSLATE_ASCII): New macro.
8035 Translate table is changed to Lisp_Object.
8036 (signal_failure): Inhibit return.
8038 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8045 Do UNGCPRO before return.
8047 2000-11-14 Martin Buchholz <martin@xemacs.org>
8049 * XEmacs 21.2.37 is released.
8051 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8053 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8054 Add comments about discarded return value.
8056 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8059 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8061 2000-10-27 Andy Piper <andy@xemacs.org>
8063 * gutter.c (Fset_default_gutter_position): default left and right
8065 (calculate_gutter_size): calculate resonable heuristic for left
8066 and right gutter sizes.
8067 (specifier_vars_of_gutter): change left and right gutter sizes to
8069 (calculate_gutter_size_from_display_lines): new function.
8070 (output_gutter): check for resizing on left and right gutters.
8071 (clear_gutter): don't special case top and left gutters.
8072 (specifier_vars_of_gutter): use new signature for
8073 set_specifier_caching.
8075 * glyphs-x.c (x_redisplay_widget): spelling fix.
8076 * glyphs.c (specifier_vars_of_glyphs):
8077 * menubar.c (specifier_vars_of_menubar):
8078 * redisplay.c (specifier_vars_of_redisplay):
8079 * toolbar.c (specifier_vars_of_toolbar):
8080 * window.c (specifier_vars_of_window):
8081 * scrollbar.c (specifier_vars_of_scrollbar):
8082 (complex_vars_of_scrollbar): use new signature for
8083 set_specifier_caching.
8085 * specifier.c (set_specifier_caching): include recompute flag.
8086 (recompute_one_cached_specifier_in_window): always recompute if
8088 (recompute_one_cached_specifier_in_frame): ditto.
8090 * specifier.h (struct specifier_caching): add recompute flag.
8092 2000-10-24 Andy Piper <andy@xemacs.org>
8094 * unexcw.c (copy_executable_and_dump_data_section): add new
8095 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8098 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8100 * console-x.h (x_device): New member modifier_release_time.
8101 * event-Xt.c (x_handle_sticky_modifiers):
8102 Bound interval modifier keys are sticky.
8103 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8104 * events.h: extern it.
8106 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8108 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8110 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8112 * event-stream.c (execute_command_event): Preserve current_events
8113 and the like when event is misc-user-event.
8114 Inhibit quit during the call to maybe_echo_keys.
8116 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8118 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8119 symlink when buffer is killed.
8120 (inhibit_clash_detection): New variable.
8122 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8124 * console.c (Fset_input_method): Trigger redisplay on tty.
8126 2000-11-07 Martin Buchholz <martin@xemacs.org>
8128 * process.c (Fprocess_status): Revert to previous behavior:
8129 (process-status "nosuchprocess") ==> nil
8131 2000-11-06 Martin Buchholz <martin@xemacs.org>
8133 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8134 Work around another GCC 2.95.2 optimizer bug.
8136 2000-11-02 Martin Buchholz <martin@xemacs.org>
8138 * process.c (Fget_process): Use LIST_LOOP_2.
8139 (kill_buffer_processes): Use LIST_LOOP_2.
8141 * minibuf.c (Fall_completions):
8142 Delete old non-functional code for FSF fourth argument.
8144 * frame.c (frame_matches_frame_spec):
8145 Renamed from `frame_matches_frametype'. Update all callers.
8146 (device_matches_device_spec):
8147 Renamed from 'device_matches_console_spec'. Update all callers.
8149 * doc.c (Fsubstitute_command_keys):
8150 Remove buffer overflow crash. Small code cleanups.
8152 * casetab.c (check_case_table): Simpler code.
8154 * window.c (Freplace_buffer_in_windows):
8155 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8156 (and similar implementation) as Fdelete_windows_on.
8159 * alloc.c (Fmake_list):
8160 * alloc.c (make_vector):
8161 * alloc.c (Fmake_vector):
8162 * alloc.c (make_bit_vector):
8163 * alloc.c (Fmake_bit_vector):
8164 * alloc.c (Fbit_vector):
8165 * alloc.c (Fmake_string):
8166 * alloc.c (Fpurecopy):
8167 * alloc.c (Fmemory_limit):
8169 * buffer.c (Fget_buffer):
8170 * buffer.c (Fkill_buffer):
8171 * buffer.c (complex_vars_of_buffer):
8172 * bytecode.c (Fcompiled_function_stack_depth):
8173 * callint.c (Fprefix_numeric_value):
8175 * event-stream.c (Fread_key_sequence):
8177 * casetab.c (Fcase_table_p):
8178 * casetab.c (check_case_table):
8179 * casetab.c (Fset_case_table):
8180 * casetab.c (Fset_standard_case_table):
8182 * chartab.c (Fchar_table_type):
8183 * chartab.c (Freset_char_table):
8184 * chartab.c (Fget_char_table):
8185 * chartab.c (Fget_range_char_table):
8186 * chartab.c (Fput_char_table):
8187 * chartab.c (Fmap_char_table):
8188 * chartab.c (Fcategory_table_p):
8189 * chartab.c (Fcheck_category_at):
8190 * chartab.c (Fchar_in_category_p):
8191 * chartab.c (Fcategory_table):
8192 * chartab.c (Fcopy_category_table):
8193 * chartab.c (Fset_category_table):
8194 * chartab.c (Fcategory_designator_p):
8195 * chartab.c (Fcategory_table_value_p):
8196 * cmds.c (Fdelete_char):
8197 * cmds.c (Fdelete_backward_char):
8198 * cmds.c (Fself_insert_command):
8199 * cmds.c (Fself_insert_internal):
8200 * console.c (Fvalid_console_type_p):
8201 * console.c (Fcdfw_console):
8202 * console.c (Fconsole_type):
8203 * console.c (Fconsole_name):
8204 * console.c (Fconsole_device_list):
8205 * console.c (Fconsole_on_window_system_p):
8209 * data.c (Fsubr_interactive):
8210 * data.c (Fchar_to_int):
8211 * data.c (Fint_to_char):
8214 * data.c (Fnumber_to_string):
8215 * data.c (Fstring_to_number):
8217 * database.c (mark_database):
8218 * database.c (finalize_database):
8219 * database.c (Fdatabase_live_p):
8220 * database.c (Fdatabasep):
8221 * device-x.c (Fx_get_resource):
8222 * device.c (Fdfw_device):
8224 * dired.c (Ffile_name_completion):
8225 * dired.c (Ffile_name_all_completions):
8226 * dired.c (Fuser_name_completion):
8227 * dired.c (Fuser_name_completion_1):
8228 * dired.c (Fuser_name_all_completions):
8229 * doc.c (Fdocumentation):
8230 * doc.c (Fdocumentation_property):
8231 * doc.c (Fsubstitute_command_keys):
8233 * editfns.c (Fchar_to_string):
8234 * editfns.c (Fstring_to_char):
8235 * editfns.c (Ftemp_directory):
8236 * editfns.c (Finsert_char):
8237 * editfns.c (Fbuffer_substring_no_properties):
8238 * editfns.c (Fnarrow_to_region):
8239 * editfns.c (Fchar_equal):
8240 * editfns.c (Fchar_Equal):
8241 * editfns.c (Ftranspose_regions):
8242 * emacs.c (Fdump_emacs):
8244 * eval.c (Fcommand_execute):
8245 * eval.c (Fautoload):
8246 * eval.c (Fbacktrace):
8247 * eval.c (Fbacktrace_frame):
8249 * events.c (Fcopy_event):
8250 * events.c (Fcharacter_to_event):
8251 * events.c (Fevent_button):
8252 * events.c (Fevent_process):
8254 * extents.c (Fnext_extent_change):
8255 * extents.c (Fextent_property):
8257 * faces.c (Fmake_face):
8259 * file-coding.c (Fencode_shift_jis_char):
8260 * file-coding.c (Fencode_big5_char):
8261 * fileio.c (Ffile_name_directory):
8262 * fileio.c (Ffile_name_nondirectory):
8263 * fileio.c (Ffile_name_as_directory):
8264 * fileio.c (Fdirectory_file_name):
8265 * fileio.c (Ffile_truename):
8266 * fileio.c (Fsubstitute_in_file_name):
8267 * fileio.c (Ffile_modes):
8268 * fileio.c (Fset_file_modes):
8269 * fileio.c (Fset_default_file_modes):
8270 * fileio.c (Fverify_visited_file_modtime):
8271 * floatfns.c (Facos):
8272 * floatfns.c (Fasin):
8273 * floatfns.c (Fatan):
8274 * floatfns.c (Fcos):
8275 * floatfns.c (Fsin):
8276 * floatfns.c (Ftan):
8277 * floatfns.c (Fbessel_j0):
8278 * floatfns.c (Fbessel_j1):
8279 * floatfns.c (Fbessel_jn):
8280 * floatfns.c (Fbessel_y0):
8281 * floatfns.c (Fbessel_y1):
8282 * floatfns.c (Fbessel_yn):
8283 * floatfns.c (Ferf):
8284 * floatfns.c (Ferfc):
8285 * floatfns.c (Flog_gamma):
8286 * floatfns.c (Fexp):
8287 * floatfns.c (Fexpt):
8288 * floatfns.c (Flog):
8289 * floatfns.c (Flog10):
8290 * floatfns.c (Fsqrt):
8291 * floatfns.c (Fcube_root):
8292 * floatfns.c (Facosh):
8293 * floatfns.c (Fasinh):
8294 * floatfns.c (Fatanh):
8295 * floatfns.c (Fcosh):
8296 * floatfns.c (Fsinh):
8297 * floatfns.c (Ftanh):
8298 * floatfns.c (Fabs):
8299 * floatfns.c (Ffloat):
8300 * floatfns.c (Flogb):
8301 * floatfns.c (Fceiling):
8302 * floatfns.c (Ffloor):
8303 * floatfns.c (Fround):
8304 * floatfns.c (Ftruncate):
8305 * floatfns.c (Ffceiling):
8306 * floatfns.c (Fffloor):
8307 * floatfns.c (Ffround):
8308 * floatfns.c (Fftruncate):
8309 * fns.c (Fstring_equal):
8310 * fns.c (Fstring_lessp):
8315 * fns.c (Fsubstring):
8317 * fns.c (Fold_assoc):
8318 * fns.c (assoc_no_quit):
8320 * fns.c (Fold_assq):
8321 * fns.c (assq_no_quit):
8323 * fns.c (Fold_rassoc):
8325 * fns.c (Fold_rassq):
8326 * fns.c (rassq_no_quit):
8327 * fns.c (Fremassoc):
8328 * fns.c (remassoc_no_quit):
8330 * fns.c (remassq_no_quit):
8331 * fns.c (Fremrassoc):
8332 * fns.c (Fremrassq):
8333 * fns.c (remrassq_no_quit):
8335 * fns.c (Fplist_get):
8336 * fns.c (Fplist_put):
8337 * fns.c (Fplist_remprop):
8338 * fns.c (Fplist_member):
8339 * fns.c (Flax_plist_get):
8340 * fns.c (Flax_plist_put):
8341 * fns.c (Flax_plist_remprop):
8342 * fns.c (Flax_plist_member):
8344 * fns.c (Fold_equal):
8346 * fns.c (Fbase64_encode_region):
8347 * fns.c (Fbase64_encode_string):
8348 * fns.c (Fbase64_decode_region):
8350 * frame.c (frame_matches_frame_spec):
8351 * frame.c (device_matches_device_spec):
8352 * frame.c (next_frame):
8353 * frame.c (previous_frame):
8354 * frame.c (Fnext_frame):
8355 * frame.c (Fprevious_frame):
8356 * frame.c (Fframe_property):
8357 * frame.c (Fset_frame_height):
8358 * frame.c (Fset_frame_size):
8362 * glyphs.c (decode_error_behavior_flag):
8363 * glyphs.c (Fmake_image_instance):
8364 * indent.c (Findent_to):
8365 * intl.c (Fignore_defer_gettext):
8366 * keymap.c (Fkeymapp):
8367 * keymap.c (Flookup_key):
8369 * lread.c (Fload_internal):
8370 * lread.c (Feval_buffer):
8371 * lread.c (Feval_region):
8372 * macros.c (Fexecute_kbd_macro):
8373 * marker.c (set_marker_internal):
8374 * marker.c (Fset_marker):
8375 * marker.c (set_marker_restricted):
8376 * marker.c (Fcopy_marker):
8377 * marker.c (noseeum_copy_marker):
8379 * menubar.c (Fpopup_menu):
8381 * mule-charset.c (Fcharset_name):
8382 * mule-charset.c (Fchar_charset):
8383 * mule-charset.c (Fchar_octet):
8384 * mule-charset.c (Fsplit_char):
8385 * mule-wnnfns.c (Fwnn_open):
8386 * mule-wnnfns.c (Fwnn_dict_comment):
8387 * mule-wnnfns.c (Fwnn_quit_henkan):
8388 * mule-wnnfns.c (Fwnn_word_toroku):
8389 * mule-wnnfns.c (Fwnn_word_sakujo):
8390 * mule-wnnfns.c (Fwnn_word_use):
8391 * mule-wnnfns.c (Fwnn_hindo_set):
8393 * objects.c (Fmake_color_instance):
8394 * objects.c (Fmake_font_instance):
8395 * print.c (Fwrite_char):
8397 * process.c (mark_process):
8398 * process.c (print_process):
8399 * process.c (get_process_from_usid):
8400 * process.c (Fprocessp):
8401 * process.c (Fprocess_live_p):
8402 * process.c (Fget_process):
8403 * process.c (Fget_buffer_process):
8404 * process.c (get_process):
8405 * process.c (Fprocess_id):
8406 * process.c (Fprocess_name):
8407 * process.c (Fprocess_command):
8408 * process.c (init_process_io_handles):
8409 * process.c (start_process_unwind):
8410 * process.c (Fstart_process_internal):
8411 * process.c (Fopen_multicast_group_internal):
8412 * process.c (Fset_process_window_size):
8413 * process.c (read_process_output):
8414 * process.c (send_process):
8415 * process.c (Fprocess_tty_name):
8416 * process.c (Fset_process_buffer):
8417 * process.c (Fprocess_buffer):
8418 * process.c (Fprocess_mark):
8419 * process.c (set_process_filter):
8420 * process.c (Fset_process_filter):
8421 * process.c (Fprocess_filter):
8422 * process.c (Fprocess_send_region):
8423 * process.c (Fprocess_send_string):
8424 * process.c (exec_sentinel):
8425 * process.c (Fset_process_sentinel):
8426 * process.c (Fprocess_sentinel):
8427 * process.c (status_notify):
8428 * process.c (Fprocess_status):
8429 * process.c (Fprocess_exit_status):
8430 * process.c (process_send_signal):
8431 * process.c (Fprocess_send_eof):
8432 * process.c (deactivate_process):
8433 * process.c (remove_process):
8434 * process.c (Fdelete_process):
8435 * process.c (kill_buffer_processes):
8436 * process.c (Fprocess_kill_without_query):
8437 * process.c (Fprocess_kill_without_query_p):
8439 * rangetab.c (Fget_range_table):
8440 * rangetab.c (Fput_range_table):
8441 * rangetab.c (Fremove_range_table):
8442 * rangetab.c (Fclear_range_table):
8444 * search.c (Fskip_chars_forward):
8445 * search.c (Fskip_chars_backward):
8446 * search.c (Fskip_syntax_forward):
8447 * search.c (Fskip_syntax_backward):
8448 * search.c (search_command):
8449 * search.c (Freplace_match):
8450 * search.c (Fregexp_quote):
8451 * select.c (Fown_selection_internal):
8452 * select.c (Fselection_owner_p):
8453 * select.c (Fselection_exists_p):
8454 * select.c (Fget_selection_internal):
8457 * symbols.c (Fintern):
8458 * symbols.c (Fintern_soft):
8459 * symbols.c (Funintern):
8460 * symbols.c (Fapropos_internal):
8461 * symbols.c (Fset_default):
8463 * syntax.c (Fsyntax_table_p):
8464 * syntax.c (Fcopy_syntax_table):
8465 * syntax.c (Fset_syntax_table):
8466 * syntax.c (Fchar_syntax):
8467 * syntax.c (syntax_match):
8468 * syntax.c (Fmatching_paren):
8469 * syntax.c (Fforward_word):
8470 * syntax.c (scan_lists):
8471 * syntax.c (Fscan_lists):
8472 * syntax.c (Fscan_sexps):
8473 * syntax.c (Fparse_partial_sexp):
8474 * toolbar.c (Fcheck_toolbar_button_syntax):
8477 * window.c (Fwindowp):
8478 * window.c (Fwindow_live_p):
8479 * window.c (Fwindow_point):
8480 * window.c (Fdelete_window):
8481 * window.c (Fnext_window):
8482 * window.c (Fprevious_window):
8483 * window.c (Fother_window):
8484 * window.c (window_loop):
8485 * window.c (Fget_lru_window):
8486 * window.c (Fsplit_window):
8487 * window.c (Fenlarge_window):
8488 * window.c (Fenlarge_window_pixels):
8489 * window.c (Fshrink_window):
8490 * window.c (Fshrink_window_pixels):
8491 * window.c (change_window_height):
8492 * window.c (Fwindow_configuration_p):
8493 * window.c (Fcurrent_window_configuration):
8495 * casefiddle.c (casify_object):
8496 * casefiddle.c (Fupcase):
8497 * casefiddle.c (Fdowncase):
8498 * casefiddle.c (Fcapitalize):
8499 * casefiddle.c (Fupcase_initials):
8500 * casefiddle.c (casify_region_internal):
8501 * casefiddle.c (casify_region):
8502 * casefiddle.c (Fupcase_region):
8503 * casefiddle.c (Fdowncase_region):
8504 * casefiddle.c (Fcapitalize_region):
8505 * casefiddle.c (Fupcase_initials_region):
8506 * casefiddle.c (Fupcase_word):
8507 * casefiddle.c (Fdowncase_word):
8508 * casefiddle.c (Fcapitalize_word):
8509 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8510 Replace 0 with '\0' when working with bytes.
8511 Replace initial "(" with "\(" in docstrings.
8513 2000-11-01 Martin Buchholz <martin@xemacs.org>
8515 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8517 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8519 2000-10-31 Martin Buchholz <martin@xemacs.org>
8521 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8523 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8525 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8528 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8530 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8531 (inhibit_auto_save_session): New variable.
8532 (vars_of_fileio): Declare and initialize them.
8533 * fileio.c (Fdo_auto_save): Don't create session file if
8534 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8536 2000-10-31 Martin Buchholz <martin@xemacs.org>
8538 * sgiplay.c (play_internal): C++ compilability.
8539 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8540 * callproc.c (Fold_call_process_internal):
8541 Remove unused vars `env', `first'.
8542 * scrollbar.c (update_scrollbar_instance):
8543 #### unused var `current_window'.
8544 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8545 etc. within #ifdef NOT_YET.
8546 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8547 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8548 * specifier.c (specifier_instance):
8549 #### unused var `tag'.
8550 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8552 2000-10-27 Martin Buchholz <martin@xemacs.org>
8555 * fns.c (list_sort):
8556 * fns.c (Ffillarray):
8557 * fns.c (bytecode_nconc2):
8560 * fns.c (Fmapconcat):
8561 Be pedantically 64-bit correct. For the time when someone will
8562 want to have a list with length > 2**32.
8564 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8565 Work around MIPSpro compiler bug.
8567 * process-unix.c (unix_kill_child_process): Add snarky comment.
8568 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8570 * config.h.in: Oops, _getpt ==> _getpty
8572 2000-10-26 Martin Buchholz <martin@xemacs.org>
8576 Use void*, not char*, as return type of alloca().
8578 * alloc.c (free_marker): Side effect inside assert expression!
8580 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8582 * mule-charset.c (Fset_charset_ccl_program): To check
8583 if the given ccl program is valid, use setup_ccl_program()
8584 instead of CHECK_VECTOR().
8585 (Fmake_charset): Likewise.
8587 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8589 * faces.c (get_extent_fragment_face_cache_index):
8590 Fix cachel.merged_faces memory leak.
8592 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8594 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8595 Reset MSB of octets obtained by DECODE_SJIS
8596 because of the incompatibility with Emacs.
8597 (ccl_driver)<CCL_ENCODE_SJIS>:
8598 Set MSB of octets before passing them to
8599 ENCODE_SJIS because of the incompatibility
8602 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8604 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8605 (DECLARE_LRECORD): Undo the last change.
8606 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8608 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8610 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8611 the implementation to lrecord_implementations_table.
8613 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8615 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8616 initial value of `lrecord_type_##c_name' and
8617 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8618 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8619 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8620 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8621 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8623 2000-10-17 Martin Buchholz <martin@xemacs.org>
8625 * miscplay.c (sndcnv8S_2mono):
8626 (sndcnv2monounsigned):
8627 (sndcnvULaw_2linear):
8629 Remove implementation-defined behavior.
8631 2000-10-12 Martin Buchholz <martin@xemacs.org>
8633 * input-method-xlib.c: Warning suppression.
8635 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8637 * mule-ccl.c: Sync up with Emacs 21.0.90.
8638 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8640 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8642 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8643 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8644 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8645 leading char belongs to official 2-dimensional charset.
8646 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8647 write the given character as is. Otherwise,
8648 if it is a multibyte char, convert it by
8649 non_ascii_set_charptr_emchar, then write it.
8650 (CCL_WRITE_STRING): Likewise.
8651 (ccl_get_compiled_code): New function.
8652 (setup_ccl_program): When ccl_prog is invalid,
8654 (Fregister_code_conversion_map): New function.
8655 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8657 * mule-ccl.h: Sync up with Emacs 21.0.90.
8658 (Fregister_ccl_program): export it.
8660 * redisplay-msw.c (separate_textual_runs):
8661 If ccl program is not valid, don't do ccl conversion.
8663 * redisplay-x.c (separate_textual_runs): Ditto.
8665 * file-coding.c (Fmake_coding_system):
8666 When type is ccl and value is vector, register it
8667 with a proper symbol. And checks whether the
8668 given ccl program is valid.
8669 (mule_decode): When calling ccl_driver, if src indicates
8670 NULL pointer, set an empty string instead.
8671 (mule_encode): Likewise.
8673 2000-10-11 Martin Buchholz <martin@xemacs.org>
8675 The following large batch of changes gets us back to a state of
8676 C++ compilability. Extbyte is now a char, which means that
8677 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8679 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8681 * sound.c (Fplay_sound): Type correctness.
8683 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8684 (x_get_window_property): Type correctness.
8685 (receive_incremental_selection): unsigned char ==> Extbyte
8686 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8687 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8688 (Fx_store_cutbuffer_internal): Type correctness.
8690 * process-unix.c (try_to_initialize_subtty): Type correctness.
8692 * objects-x.c (x_print_color_instance): Type correctness.
8693 (x_print_font_instance): Type correctness.
8694 (x_list_fonts): SExtbyte ==> Extbyte.
8695 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8696 (x_find_charset_font): SExtbyte ==> Extbyte.
8697 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8698 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8699 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8702 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8703 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8704 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8705 (BYTE_C0_P): Use bit ops for char-signedness safety.
8706 (BYTE_C1_P): Use bit ops for char-signedness safety.
8707 (CHARSET_BY_LEADING_BYTE):
8708 (CHARSET_BY_ATTRIBUTES):
8709 Always use inline function.
8710 Use type_checking_assert.
8713 * mule-charset.c (non_ascii_charptr_copy_char):
8714 Modify to work with both ASCII and non-ASCII characters.
8715 Improve docs and variable names.
8716 Replace over-clever fall-through switch with a simple loop.
8717 (Lstream_get_emchar_1):
8718 Replace over-clever fall-through switch with a simple loop.
8720 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8721 Warning suppression.
8723 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8724 the return value of Lstream_getc, which could be EOF as well.
8726 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8728 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8729 APIs can be used on Extbytes without casts. Risky!
8733 * input-method-xlib.c (XIM_init_device):
8734 Use Xlib.h instead of IntrinsicP.h.
8735 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8736 which will break in X11R7.
8737 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8738 to call XRegisterIMInstantiateCallback with correct types.
8740 * gui-x.c (button_item_to_widget_value): Type correctness.
8742 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8744 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8745 (xbm_instantiate_1): Type correctness.
8746 (BUILD_GLYPH_INST): Type correctness.
8748 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8751 (decode_coding_sjis):
8752 (decode_coding_big5):
8753 (decode_coding_ucs4):
8754 (decode_coding_utf8):
8755 (decode_coding_iso2022):
8756 (decode_coding_no_conversion):
8757 Make all decoding functions take an Extbyte * arg.
8758 (encode_coding_sjis):
8759 (encode_coding_big5):
8760 (encode_coding_ucs4):
8761 (encode_coding_utf8):
8762 (encode_coding_iso2022):
8763 (encode_coding_no_conversion):
8764 Make all encoding functions take a Bufbyte * arg.
8765 Use size_t instead of unsigned int for memory sizes.
8766 Only cast to unsigned char whenever dereferencing Extbyte *.
8768 * doc.c (unparesseuxify_doc_string): Type correctness.
8770 * console-x.c (split_up_display_spec):
8771 Rewrite without using details of internal string representation.
8772 (x_semi_canonicalize_device_connection): Type correctness.
8775 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8776 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8777 (HAVE_XFREE386): Removed.
8779 * buffer.h (DEC_CHARPTR): `const' correctness.
8780 (bufbyte_strcmp): New.
8781 (bufbyte_memcmp): New.
8783 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8785 * buffer.h (XCHAR_OR_CHAR_INT):
8786 Always use inline function.
8787 Remove redundant type checking assert() - XINT will abort quite nicely.
8789 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8791 * search.c (Freplace_match): Set newtext to an empty string.
8793 2000-10-10 Martin Buchholz <martin@xemacs.org>
8795 * s/decosf1-3.h: Remove #include of stropts.h
8796 * s/ptx.h: Remove #include of stropts.h
8797 * s/usg5-4.h: Remove #include of stropts.h
8800 Use stropts.h, not sys/stropts.h.
8801 Use strtio.h, not sys/strtio.h.
8803 2000-10-04 Martin Buchholz <martin@xemacs.org>
8805 * XEmacs 21.2.36 is released.
8807 2000-09-21 Andy Piper <andy@xemacs.org>
8809 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8810 changes still involve copying the widget tree.
8811 (update_widget_face): make sure a change is register in the widget
8812 tree. Call update_tab_widget_face appropriately.
8813 (update_tab_widget_face): ditto.
8814 (x_tab_control_redisplay): make sure non-structural changes still
8815 involve copying the widget tree.
8817 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8819 * lread.c (locate_file): Check the path element is non-nil.
8821 2000-10-02 Martin Buchholz <martin@xemacs.org>
8823 * lisp.h: Warning suppression for SCO compilers.
8825 * redisplay-tty.c (reset_tty_modes): Fix crash.
8826 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8828 2000-09-27 Martin Buchholz <martin@xemacs.org>
8830 Big signal/process handling overhaul. Bugs fixed:
8831 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8832 M-x comint-kill-subjob should work for both values nil and t of
8833 process-connection-type. It was broken on most platforms.
8834 Testing on Irix and Cygwin still needed. Other plaforms tested.
8835 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8836 * process-unix.c: Signal/Process handling overhaul.
8837 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8838 (allocate_pty): Use all available modern methods of allocating
8839 ptys, falling back to old style BSD allocation as a last resort.
8840 Use allegedly more secure Unix98 pty allocation by default.
8841 (allocate_pty_the_old_fashioned_way): New. the last resort.
8842 (unix_create_process): Push ptem, ldterm, ttcompat where
8843 available. Autoconfiscate.
8844 (try_to_initialize_subtty): New.
8845 (unix_kill_child_process): Proper signal handling for ptys on most
8846 platforms, using special knowledge of AIX, BSD, etc...
8847 (unix_create_process): Always disconnect_controlling_terminal() for
8848 subprocesses, whether using ptys or not.
8849 * process.h: Remove old getpt-dependent PTY code.
8850 * process.c (Fprocess_send_signal): New, obvious generic function.
8851 (decode_signal): New.
8852 (Finterrupt_process):
8856 (Fcontinue_process):
8857 (Fsignal_process): Use decode_signal.
8858 (process_send_signal):
8859 Many docstring corrections.
8860 Allow any signal to be sent to a process object.
8861 * config.h.in: Add symbols for big signal/process overhaul.
8862 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8863 * sysproc.h: Include process-related headers, where available:
8864 sys/stropts.h sys/strtio.h pty.h libutil.h
8872 Remove old S&M pty stuff.
8873 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8874 * systty.h: Simplify cpp hackery, improve comments.
8875 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8877 * editfns.c (Fformat_time_string):
8878 Be a little more paranoid with the return value of ctime.
8880 * fileio.c (check_executable):
8882 Use symbolic constants X_OK, W_OK.
8884 * console-x.c (split_up_display_spec): Fix a warning.
8886 2000-10-02 Martin Buchholz <martin@xemacs.org>
8888 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8889 * ntproc.c (sys_spawnve): make_string ==> build_string
8890 Small clarity improvements.
8892 2000-09-30 Martin Buchholz <martin@xemacs.org>
8894 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8896 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8898 * config.h.in (HAVE_STRCASECMP): Remove.
8900 2000-09-29 Martin Buchholz <martin@xemacs.org>
8902 * redisplay-output.c (redisplay_output_pixmap):
8903 Cleaner and possibly more 64-bit correct code.
8905 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8907 * dumper.c (pdump_load_finish): move restoration of
8908 `noninteractive1' to emacs.c (main_1).
8909 * emacs.c (main_1): protect LISP-visible command-line flags
8912 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8914 * Makefile.in.in (versionclean): Use EXE_TARGET and
8915 DUMP_TARGET instead of literal program names.
8917 2000-09-20 Martin Buchholz <martin@xemacs.org>
8919 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8921 2000-09-19 Martin Buchholz <martin@xemacs.org>
8923 * *: Spelling mega-patch
8925 2000-09-19 Martin Buchholz <martin@xemacs.org>
8927 * fns.c (bad_bad_turtle):
8928 Delete "Eek!" comment, since we fixed the bug to which it refers.
8930 2000-09-16 Martin Buchholz <martin@xemacs.org>
8932 * alloca.c: Replace REGISTER with register.
8934 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8936 * file-coding.c (ucs_to_char): Use countof.
8938 2000-09-16 Martin Buchholz <martin@xemacs.org>
8940 * file-coding.c: (ucs_to_char):
8941 (complex_vars_of_file_coding):
8942 Use countof instead of sizeof.
8943 Use CHECK_NATNUM instead of CHECK_INT.
8945 * sysdep.c (strcasecmp): Remove.
8946 * device-x.c (ascii_strcasecmp): New.
8947 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8948 Avoid using non-standard non-portable strcasecmp.
8950 2000-09-16 Martin Buchholz <martin@xemacs.org>
8952 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8953 * font-lock.c: remove reference to emacsfns.h.
8954 * search.c: small doc improvement.
8955 * event-Xt.c: correct file names in comments.
8956 * console-x.h Correct file names in comments.
8957 * frame.c: Correct file names in comments.
8958 * event-stream.c: remove Energize from comments.
8960 2000-09-15 Martin Buchholz <martin@xemacs.org>
8962 * symeval.h (DEFERROR_STANDARD):
8965 (DEFSYMBOL_NO_DUMP):
8966 (DEFSYMBOL_MULTIWORD_PREDICATE):
8967 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8969 The construct &##name is not sensible C.
8970 Fixes compilation errors with Unixware native compiler.
8972 2000-09-14 Martin Buchholz <martin@xemacs.org>
8974 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8975 (next_frame_internal): Removed. We now just have next_frame.
8977 Write a simpler and cleaner one-pass algorithm.
8978 Remove called_from_delete_device arg and #ifdefed-out code.
8980 Renamed from prev_frame. Update callers.
8981 Cleaned up to have an analogous implementation to next_frame.
8982 (other_visible_frames_internal): Remove the
8983 called_from_delete_device bogus arg, and hence, remove this
8984 function. Just use other_visible_frames().
8986 * window.c (Fnext_window):
8988 Since next_frame() is guaranteed to return a frame, remove check
8989 for nil inserted in previous patch.
8992 Make code look more like Fnext_window.
8994 Respect the `console' arg when iterating through windows.
8995 Fixes bug: (get-buffer-window buffer t device) not respecting
8997 This function needs more work, as others have pointed out.
8999 * frame.h: Rename prev_frame to previous_frame.
9000 device_matches_console_spec no longer takes a `frame' arg.
9005 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9006 From "Golubev I. N." <gin@mo.msk.ru>.
9008 * make-src-depend: Fix typo.
9010 2000-09-13 Martin Buchholz <martin@xemacs.org>
9012 * window.c (Fnext_window):
9013 next_frame() might return nil, not a frame.
9015 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9017 * frame.c (next_frame_internal):
9018 We've passed a frame if we've passed its device.
9020 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9021 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9023 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9025 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9026 Allow option to suppress accelerators in menu/dialog items.
9027 (populate_or_checksum_helper): Pass dialog title through above.
9029 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9031 * event-msw.c (mswindows_key_to_emacs_keysym):
9032 Add "pause" key, fix "menu" key.
9034 2000-09-09 Martin Buchholz <martin@xemacs.org>
9036 * eval.c (reinit_vars_of_eval):
9037 Increase max_lisp_eval_depth to 1000,
9038 required for thai-xtis.el to byte-compile under some circumstances.
9040 2000-09-04 Martin Buchholz <martin@xemacs.org>
9042 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9045 2000-09-01 Martin Buchholz <martin@xemacs.org>
9047 * make-src-depend: Make the generated Makefiles smaller.
9049 * s/hpux.h (SETUP_SLAVE_PTY):
9050 Provide a %d in the format string for the errno argument.
9052 * editfns.c (Ftemp_directory):
9054 Avoid buffer overrun on very long file name.
9056 * input-method-xlib.c (XIM_init_device):
9057 6th parameter of XRegisterIMInstantiateCallback has different
9058 pointer types on different OSes, so simply cast to (void *).
9060 * unexhp9k800.c: Warning fixes. Fiddly changes.
9062 * sysdll.c (dll_open):
9063 shl_load will hang hard if passed a NULL filename.
9064 Simply return NULL for compatibility with dlopen.
9065 * sysdll.c: Conform to XEmacs coding standards.
9067 * sysdep.c (get_pty_max_bytes):
9068 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9070 2000-08-31 Martin Buchholz <martin@xemacs.org>
9072 * tooltalk.c: Add #include <syssignal.h>
9074 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9076 * s/hpux.h: Don't use undefined function sigunblock().
9078 2000-08-31 Martin Buchholz <martin@xemacs.org>
9080 * config.h.in: Add HAVE_BALLOON_HELP.
9081 * emacs.c: Use HAVE_BALLOON_HELP.
9082 * Makefile.in.in (x_objs):
9083 Make Balloon Help conditional on finding shape.h.
9085 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9087 * syntax.c (regex_emacs_buffer_p): New variable.
9088 * syntax.h (regex_emacs_buffer_p): extern.
9089 * search.c (looking_at_1):
9091 (fast_string_match):
9092 (search_buffer): Set regex_emacs_buffer_p.
9093 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9094 when before_dot, at_dot, after_dot.
9096 2000-08-23 Andy Piper <andy@xemacs.org>
9098 * gui-x.c (popup_selection_callback): Only set action_occurred
9099 when we really have an image instance.
9100 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9102 2000-08-23 Andy Piper <andy@xemacs.org>
9104 * gui-msw.c (mswindows_handle_gui_wm_command): set
9106 * gui-x.c (popup_selection_callback): ditto.
9108 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9109 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9110 (struct Lisp_Image_Instance): add action_occurred flag.
9112 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9113 (image_instance_changed): ditto.
9114 (reset_frame_subwindow_instance_cache): only unmap windows - do
9115 not remove them from the cache also.
9117 * glyphs-widget.c (tab_control_update): better debug.
9118 (progress_gauge_update): ditto.
9119 (layout_update): ditto.
9120 (layout_instantiate): ditto.
9121 (tab_control_order_only_changed): cope with null pending items.
9123 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9124 debug. Force selection of an item when an action occurred. Cope
9125 with null pending_items.
9126 (mswindows_progress_gauge_redisplay): better debug.
9127 * glyphs-x.c (x_tab_control_redisplay): ditto.
9129 * redisplay.c (redisplay_frame): reset the frame cache if the
9132 * window.c (Fset_window_configuration): potentially re-enable
9134 (window_unmap_subwindows): need to finalize instances here since
9135 it is only used in mark_window_as_deleted.
9137 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9139 * nas.c (SndOpenDataForReading):
9140 nas.c (WaveOpenDataForReading):
9141 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9142 Somehow escaped from the 2000-08-14 patch.
9144 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9146 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9147 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9149 2000-08-21 Andy Piper <andy@xemacs.org>
9151 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9152 window if it is not already displayed.
9154 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9155 it is not already displayed.
9157 * window.c (Fset_window_configuration): don't reset the frame
9160 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9161 instances from the frame cache if we are actually finalizing them.
9162 (reset_frame_subwindow_instance_cache): reset frame cache only
9163 after unmapping everything.
9164 (map_subwindow): set displayed flag after mapping.
9166 2000-08-21 Martin Buchholz <martin@xemacs.org>
9168 * data.c (indirect_function):
9169 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9171 * eval.c (function_argcount):
9172 Use original function when signaling errors.
9174 2000-08-18 Andy Piper <andy@xemacs.org>
9176 * frame.c (delete_frame_internal): use new
9177 free_frame_subwindow_instances name.
9179 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9180 (add_tab_item): make return type correct.
9181 (mswindows_tab_control_instantiate): assert index of tab.
9182 (mswindows_tab_control_redisplay): Re-code to use
9183 gui_item_equal_sans_selected and gui_item_list_find_selected.
9185 * glyphs-widget.c (tab_control_update): Correct comment.
9187 * window.c (window_unmap_subwindows): use new
9188 unmap_subwindow_instance_cache_mapper.
9189 (window_unmap_subwindows_cache_mapper): deleted.
9190 (Fset_window_configuration): comparisons should now be with
9191 EQ. Preserve the subwindow instance cache across configuration
9193 (allocate_window): ditto.
9194 (make_dummy_parent): ditto.
9196 * glyphs.c (free_frame_subwindow_instances): rename from
9197 free_frame_subwindow_instance_cache. finalize all instances rather
9198 than just those in the display cache.
9199 (finalize_all_subwindow_instances): walk windows unmapping and
9200 finalizing subwindows.
9201 (unmap_subwindow_instance_cache_mapper): moved from
9202 window.c. Allow finalization as well as unmapping.
9204 * gui.c (gui_item_list_find_selected): new function.
9206 * gui.h (gui_item_list_find_selected): declare.
9208 * glyphs-x.c (x_tab_control_redisplay): pick tab
9209 explicitly. Re-code to use gui_item_equal_sans_selected and
9210 gui_item_list_find_selected.
9212 * glyphs-x.h: add lwlib-utils.h
9214 * buffer.c (Frecord_buffer): undo previous change.
9216 2000-08-09 Vin Shelton <acs@xemacs.org>
9218 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9219 possible. Create temporary files more securely. The patch was
9220 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9221 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9222 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9225 2000-08-07 Ben Wing <ben@xemacs.org>
9227 * getloadavg.c: remove duplicate (and windows-breaking)
9228 includes of fcntl.h and sys/file.h.
9230 * nt.c: remove duplicate getloadavg() definition.
9232 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9235 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9237 * eval.c (function_argcount): If function needs to be autoloaded
9238 actually use the loaded definition.
9241 2000-08-05 Ben Wing <ben@xemacs.org>
9243 * getloadavg.c: add prototype for getloadavg(). remove
9244 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9245 of the code). remove duplicate header includes.
9247 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9249 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9250 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9251 useful load average.
9253 * alloc.c (reinit_alloc_once_early): removed references to
9254 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9255 the lisp vars are the only things referencing the malloc_sbrk_*
9256 vars, and they were already if 0'd out. these vars only exist
9257 in the older malloc.c, which is basically unused, and they're
9258 only for informational purposes.
9260 * m\*.h: removed useless VIRT_ADDR_VARIES.
9262 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9264 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9266 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9267 color if the image is a mono pixmap.
9269 2000-07-30 Ben Wing <ben@xemacs.org>
9271 * Makefile.in.in (release):
9274 * buffer.c (directory_is_current_directory):
9275 * dired-msw.c (mswindows_get_files):
9277 * dired.c (Fdirectory_files):
9278 * dired.c (file_name_completion_stat):
9279 * dired.c (Ffile_attributes):
9280 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9281 preprocessor tricks, to avoid problems on some machines
9284 * callproc.c (egetenv): GC docs.
9287 * console-msw.h (struct mswindows_dialog_id):
9288 * lrecord.h (lrecord_type):
9289 New object for use with MSW dialogs.
9291 * console.h (struct console_methods):
9292 New enable/disable frame methods, for proper modal dialogs.
9294 * device-msw.c (msprinter_default_printer): Fix to follow
9295 proper Mule conventions.
9298 * device-msw.c (signal_open_printer_error):
9299 * device-msw.c (msprinter_init_device):
9300 * device-msw.c (ensure_not_printing):
9301 * device-msw.c (plist_get_margin):
9302 * device-msw.c (Fmsprinter_select_settings):
9303 * device-msw.c (finalize_devmode):
9304 * device-msw.c (Fmsprinter_settings_despecialize):
9305 * device-msw.c (signal_enum_priner_error):
9306 * extents.c (decode_extent):
9307 * extents.c (decode_map_extents_flags):
9308 * extents.c (decode_extent_at_flag):
9309 * extents.c (Fextent_at):
9310 * extents.c (Fextents_at):
9311 * extents.c (symbol_to_glyph_layout):
9312 [[[[2]]]] Use structured errors.
9315 * dialog-msw.c (mswindows_is_dialog_msg):
9316 * dialog-msw.c (mark_mswindows_dialog_id):
9317 * dialog-msw.c (dialog_proc):
9318 * dialog-msw.c (handle_question_dialog_box):
9319 * dialog-msw.c (syms_of_dialog_mswindows):
9320 Define new object to clean up marking; use it as a dialog identifier.
9321 Call new delete-dialog-box-hook.
9323 * dialog-x.c (dbox_selection_callback):
9324 * dialog-x.c (dbox_descriptor_to_widget_value):
9325 * dialog-x.c (x_make_dialog_box_internal):
9326 Call new delete-dialog-box-hook.
9330 * dialog.c (syms_of_dialog):
9331 * dialog.c (vars_of_dialog):
9332 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9335 * eval.c (signal_call_debugger):
9336 when noninteractive, output stack traces on the console instead
9337 of in a (never-seen) buffer.
9339 * eval.c (signal_type_error):
9340 * eval.c (invalid_argument_2):
9342 new funs for use w/structured errors.
9345 * event-Xt.c (x_to_emacs_keysym):
9346 * event-Xt.c (describe_event):
9347 * event-Xt.c (emacs_Xt_event_handler):
9348 * event-Xt.c (vars_of_event_Xt):
9350 * event-msw.c (mswindows_wnd_proc):
9351 * event-msw.c (vars_of_event_mswindows):
9352 rename {x,mswindows}-debug-events to debug-{}-events for
9353 consistency with other debug-foo variables.
9356 document next-event more clearly.
9358 * fileio.c (Ffile_name_directory):
9359 * fileio.c (Ffile_name_nondirectory):
9360 * fileio.c (Funhandled_file_name_directory):
9361 * fileio.c (file_name_as_directory):
9362 * fileio.c (Ffile_name_as_directory):
9363 * fileio.c (directory_file_name):
9364 * fileio.c (Fdirectory_file_name):
9365 * fileio.c (Fmake_temp_name):
9366 * fileio.c (Ffile_truename):
9367 * fileio.c (Fsubstitute_in_file_name):
9368 * fileio.c (expand_and_dir_to_file):
9369 * fileio.c (barf_or_query_if_file_exists):
9370 * fileio.c (check_executable):
9371 * fileio.c (Ffile_exists_p):
9372 * fileio.c (Ffile_writable_p):
9373 * fileio.c (Ffile_directory_p):
9374 * fileio.c (Ffile_regular_p):
9375 * fileio.c (Ffile_modes):
9376 * fileio.c (Ffile_newer_than_file_p):
9377 * fileio.c (Fverify_visited_file_modtime):
9378 * fileio.c (Fset_visited_file_modtime):
9379 * fileio.c (auto_save_1):
9384 * frame-msw.c (mswindows_init_frame_1):
9385 * frame-msw.c (mswindows_enable_frame):
9386 * frame-msw.c (error_frame_unsizable):
9387 * frame-msw.c (msprinter_init_frame_1):
9388 * frame-msw.c (msprinter_init_frame_3):
9389 * frame-msw.c (console_type_create_frame_mswindows):
9391 implement new enable/disable frame methods.
9394 * frame-x.c (x_enable_frame):
9395 * frame-x.c (console_type_create_frame_x):
9396 implement new enable/disable frame methods.
9399 * frame.c (Fdisable_frame):
9400 * frame.c (syms_of_frame):
9401 * frame.h (struct frame):
9402 implement new enable/disable frame methods/functions.
9407 * glyphs-msw.c (mswindows_widget_instantiate):
9408 comment that initial-focus should be implemented.
9411 * glyphs-widget.c (check_valid_instantiator):
9412 * glyphs-widget.c (check_valid_orientation):
9413 * glyphs-widget.c (check_valid_tab_orientation):
9414 * glyphs-widget.c (check_valid_justification):
9415 * glyphs-widget.c (check_valid_border):
9416 * glyphs-widget.c (check_valid_callback):
9417 * glyphs-widget.c (check_valid_int_or_function):
9418 * glyphs-widget.c (check_valid_string_or_vector):
9419 * glyphs-widget.c (check_valid_item_list_1):
9420 * glyphs-widget.c (widget_validate):
9421 * glyphs-widget.c (combo_box_validate):
9422 * glyphs-widget.c (widget_instantiate):
9423 * glyphs-widget.c (syms_of_glyphs_widget):
9424 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9425 * glyphs-widget.c (image_instantiator_combo_box):
9426 * glyphs-widget.c (image_instantiator_scrollbar):
9427 * glyphs-widget.c (image_instantiator_tab_control):
9428 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9430 support (unimplemented) keyword initial-focus.
9431 reindent long macros.
9433 * glyphs-x.c (x_redisplay_widget):
9434 * glyphs-x.c (x_button_instantiate):
9435 * glyphs-x.c (x_button_redisplay):
9436 * glyphs-x.c (x_progress_gauge_instantiate):
9437 * glyphs-x.c (x_edit_field_instantiate):
9438 * glyphs-x.c (x_combo_box_instantiate):
9439 * glyphs-x.c (x_tab_control_instantiate):
9440 * glyphs-x.c (x_label_instantiate):
9442 * gui-x.c (button_item_to_widget_value):
9443 * gui-x.c (gui_items_to_widget_values_1):
9444 * gui-x.c (gui_item_children_to_widget_values):
9445 * gui-x.c (gui_items_to_widget_values):
9447 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9448 add new flag to gui-parsing routines to indicate whether
9449 accelerator specs should be supported.
9451 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9453 * glyphs.h (struct Lisp_Image_Instance):
9454 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9455 add initial-focus flag.
9458 * gui.c (syms_of_gui):
9459 * gui.c (vars_of_gui):
9460 clean up menu-no-selection-hook.
9463 support delete-dialog-box-hook.
9465 * lread.c (Fload_internal):
9466 * lread.c (locate_file_in_directory_mapper):
9470 * lrecord.h (struct toolbar_button):
9471 * lrecord.h (syms_of_toolbar):
9472 document how to create a new object.
9474 * menubar-msw.c (mswindows_char_is_accelerator):
9475 may be called on frames w/o menus.
9477 * menubar.c (vars_of_menubar):
9478 clean up :filter docs.
9485 * process-nt.c (validate_signal_number):
9486 * process-nt.c (signal_cannot_launch):
9487 * process-nt.c (nt_create_process):
9488 * process-nt.c (nt_send_process):
9489 * process-nt.c (nt_kill_child_process):
9490 * process-nt.c (nt_open_network_stream):
9491 * process-nt.c (syms_of_process_nt):
9493 delete quote-handling. call new lisp code that does it better.
9495 * process-unix.c (connect_to_file_descriptor):
9496 * process-unix.c (allocate_pty):
9497 * process-unix.c (unix_send_process):
9498 * process-unix.c (unix_kill_child_process):
9499 * process-unix.c (unix_open_network_stream):
9500 * process-unix.c (unix_open_multicast_group):
9504 * process.c (Fstart_process_internal):
9505 (2). need to canonicalize process path even if absolute.
9507 * select-msw.c (symbol_to_ms_cf):
9508 * select-msw.c (ms_cf_to_symbol):
9509 * select-msw.c (cf_is_autofreed):
9510 * select-msw.c (mswindows_destroy_selection):
9512 * select.c (syms_of_select):
9514 support dibv5, fix bugs. (from Mike Alexander)
9516 * select.c (Fget_selection_internal):
9517 * select.c (select_convert_out):
9520 * sysdep.c (xemacs_stat):
9525 but keep original stat() here because we provide encapsulation
9529 * sysfile.h (fstat):
9530 remove stat garbage.
9534 don't include tchar.h. it's inappropriate because it makes
9535 compile-time distinctions when we want runtime distinctions.
9536 (we provide our own tchar replacements)
9539 use default object printer for toolbar-button.
9542 make sure we don't encapsulate.
9544 * window.c (vars_of_window):
9545 emphasize that temp-buffer-show-hook is obsolete.
9547 2000-08-05 Martin Buchholz <martin@xemacs.org>
9549 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9550 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9552 * events.c (Fevent_timestamp_lessp):
9553 Not 64-bit clean. Use EMACS_INT, not int.
9555 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9557 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9558 unsigned int and changed the last enum to
9559 lrecord_type_last_built_in_type.
9560 (lrecord_implementations_table): changed prototype to know how
9561 long the array is supposed to be.
9562 (lrecord_type_count): new unsigned int to keep track of the
9563 current number of lisp lrecord types.
9564 (DEFINE_EXTERNAL_LRECORD):
9565 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9566 dynamic-modules to declare new lisp types. They are the same
9567 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9568 int for each new type, and increment lrecord_type_count by 1.
9570 * alloc.c (lrecord_implementations_table): Changed to reference
9571 lrecord_type_last_built_in_type for the size of the array.
9572 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9574 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9576 * glyphs.h (check_valid_item_list): Renamed from
9577 check_valid_item_list_1.
9579 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9581 * select.c (Qselect_coerce): New.
9582 * select.c (Vselection_coercion_alist): New.
9583 * select.c (syms_of_select): Declare.
9584 * select.c (get-selection-internal): Use it.
9585 Use the new select-coerce functionality.
9587 * select.c (select_coerce): New.
9588 * select.h (select_coerce): Declare.
9589 New function to coerce one type of data into another.
9591 2000-08-03 Martin Buchholz <martin@xemacs.org>
9593 * callproc.c (Fcall_process_internal):
9594 (Fcall_process_internal):
9595 * process-unix.c (unix_create_process):
9596 Save and restore the value of errno, so that error messages are accurate.
9598 2000-08-01 Martin Buchholz <martin@xemacs.org>
9600 * elhash.c (print_hash_table):
9601 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9602 Prettify docstrings and indentation.
9604 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9606 * window.c (Fwindow_pixel_edges): Subtract frame border and
9609 2000-07-31 Andy Piper <andy@xemacs.org>
9611 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9612 will acknowledge the change.
9614 * glyphs.h: declare tab_control_order_only_changed.
9616 * glyphs-x.c (x_tab_control_redisplay): use
9617 tab_control_order_only_changed.
9619 * glyphs-widget.c (tab_control_order_only_changed): new function.
9621 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9622 tab_control_order_only_changed.
9624 * gui.c (gui_item_equal_sans_selected): new function.
9625 (gui_item_equal): use it.
9627 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9628 :properties in favor of :items..
9630 * glyphs-widget.c (check_valid_item_list): rename from
9631 check_valid_item_list_1.
9632 (check_valid_item_list_1): renamed.
9633 (combo_box_validate): deprecate :properties in favor of :items.
9634 (widget_instantiate): ditto.
9635 (tab_control_update): ditto.
9636 (image_instantiator_combo_box): ditto.
9637 (image_instantiator_tree_view): ditto.
9638 (image_instantiator_tab_control): ditto.
9639 (layout_post_instantiate): remove dead code.
9641 * print.c (debug_print_no_newline): only write to debugger if in
9644 * elhash.c (Fmake_hash_table): update doc string.
9646 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9647 messages whilst in GC. This at least stops XEmacs crashing but has
9648 the potential for wierd behaviour.
9650 2000-07-31 Martin Buchholz <martin@xemacs.org>
9653 Make existence of s&m files optional.
9655 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9656 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9657 * s/gnu.h: Remove HAVE_GETLOADAVG.
9658 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9659 * s/sol2.h: Remove HAVE_GETLOADAVG.
9660 * lisp.h: Remove getloadavg() declaration.
9662 Include <sys/loadavg.h> if available.
9663 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9664 * config.h.in: Group together getloadavg()-related macros.
9665 Use only configure-time tests to detect getloadavg().
9667 2000-07-30 Martin Buchholz <martin@xemacs.org>
9669 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9671 2000-07-25 Andy Piper <andy@xemacs.org>
9673 * syswindows.h: add tchar.h for native builds.
9675 * frame.c (syms_of_frame): remove set-glyph-image.
9677 * general-slots.h: add Qset_glyph_image.
9679 * glyphs-widget.c (layout_update): add domain arg to
9681 (syms_of_glyphs_widget): remove set-glyph-image.
9683 2000-07-23 Ben Wing <ben@xemacs.org>
9685 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9688 2000-07-22 Andy Piper <andy@xemacs.org>
9690 * symsinit.h: add syms_of_win32().
9692 * gui-msw.c (syms_of_gui_mswindows): remove
9693 Fmswindows_shell_execute.
9694 (Fmswindows_shell_execute): moved to win32.c.
9696 * emacs.c (main_1): add syms_of_win32 ().
9698 * win32.c (init_potentially_nonexistent_functions): rewrite in
9699 compiler-friendly terms.
9700 (Fmswindows_shell_execute): move here from gui-msw.c.
9701 (syms_of_win32): new.
9703 * device-msw.c (Fmswindows_printer_list): clean up args to
9705 Don't include tchar under cygwin or mingw.
9706 (msprinter_default_printer): make cygwin-friendly.
9708 2000-07-21 Andy Piper <andy@xemacs.org>
9710 * glyphs-widget.c (image_instantiator_tree_view): use tab
9711 control's update function.
9712 (layout_property): new function. Retrieve items.
9714 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9715 function. Re-populate the tree view from the pending items.
9717 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9718 is designated the parent if the domain is an image instance. This
9719 is needed so that dirtiness can be cascade up the hierarchy and
9720 thus for layout children to be redisplayed correctly.
9721 (allocate_image_instance): rename glyph -> parent.
9723 * redisplay.h: change redisplay_output_layout signature.
9725 * redisplay-msw.c (mswindows_output_display_block): use domain
9728 * redisplay-x.c (x_output_display_block): use domain arg.
9730 2000-07-10 Andy Piper <andy@xemacs.org>
9732 * window.c (Fset_window_configuration): add comment.
9734 * redisplay-output.c (compare_runes):
9735 (redisplay_output_subwindow): redisplay rather than update subwindow.
9736 (redisplay_output_layout): ditto.
9738 * redisplay-msw.c (mswindows_frame_output_end):
9739 (mswindows_frame_output_end): make defer window pos optional.
9741 * lisp.h: add Flast.
9743 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9744 normalize method. Change update method to be for changed
9745 instantiators. Add redisplay method. Change signature of layout
9747 (struct Lisp_Image_Instance): add instantiator.
9748 (IMAGE_INSTANCE_INSTANTIATOR): new.
9749 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9750 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9751 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9754 (find_instantiator_differences): new function.
9755 (Fset_instantiator_property): new convenience function.
9756 (check_image_instance_structure): strictly check for vector
9758 (normalize_image_instantiator): make non-static.
9759 (instantiate_image_instantiator): pass on dest_mask and use new
9760 signatures for image_instance_layout and friends.
9761 (mark_image_instance): mark the instantiator. Mark the subwindow
9762 face not the widget face.
9763 (image_instance_equal): add instantiator.
9764 (image_instance_hash): ditto.
9765 (allocate_image_instance): ditto.
9766 (Fset_image_instance_property): removed.
9767 (Fimage_instance_file_name): ditto.
9768 (Fcolorize_image_instance): ditto.
9769 (image_instance_layout): add offsets to be set.
9770 (update_image_instance): new function. update an image instance
9771 from its changed instantiator.
9772 (inherit_normalize): add dest_mask.
9773 (xbm_normalize): ditto.
9774 (xface_normalize): ditto.
9775 (xpm_normalize): ditto.
9776 (text_update): set_property -> update.
9777 (image_instantiate): use the glyph identity as a hash key, not the
9779 (glyph_width): use new image_instance_layout signature.
9780 (glyph_ascent): ditto.
9781 (glyph_descent): ditto.
9782 (glyph_height): ditto.
9783 (glyph_query_geometry): ressurrect.
9784 (glyph_layout): ditto.
9785 (redisplay_subwindow): update -> redisplay.
9786 (syms_of_glyphs): add Fset_instantiator_property.
9787 (image_instantiator_format_create): set_property -> update.
9790 (autodetect_normalize): add dest_maks to signature.
9791 (x_redisplay_subwindow): update -> redisplay.
9792 (x_redisplay_widget): ditto.
9793 (x_button_redisplay): ditto.
9794 (x_progress_gauge_redisplay): ditto.
9795 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9797 (console_type_create_glyphs_x): update -> redisplay.
9798 (image_instantiator_format_create_glyphs_x): ditto.
9801 (check_valid_instantiator): disallow glyphs in the instantiator,
9802 they must now be vectors.
9803 (check_valid_instantiator_list): ditto.
9804 (glyph_instantiator_to_glyph): use internal symbol rather than
9806 (widget_update): renamed from widget_set_property. Call cascaded
9808 (redisplay_widget): renamed from update_widget.
9809 (widget_layout): image_instance_layout now takes position as well
9811 (widget_normalize): ditto.
9812 (widget_instantiate): ditto.
9813 (tab_control_query_geometry) ditto.:
9814 (tab_control_update): renamed from tab_control_set_property.
9815 (progress_gauge_update): set_property -> update.
9816 (layout_normalize): rewrite so that child instantiators are
9818 (layout_update): new function. Create glyphs from the normalized
9819 children and cope with any other layout keywords. We do not
9820 instantiate children here that will be take care of by
9821 redisplay_output_layout.
9822 (layout_instantiate): call layout_update and not much else.
9823 (layout_post_instantiate): not sure whether this is needed
9825 (layout_query_geometry): query glyph geometry rather than
9826 image_instance geometry.
9827 (layout_layout): set offsets from pass in parameters. Use glyph
9828 geometry and layout functions rather than image instance ones.
9829 (native_layout_layout): ditto.
9830 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9831 (image_instantiator_widget): set_property -> update.
9832 (image_instantiator_buttons): ditto.
9833 (image_instantiator_progress_guage): ditto.
9834 (image_instantiator_tab_control): ditto.
9835 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9836 (image_instantiator_layout): add update method.
9838 * glyphs-msw.c (bmp_normalize):
9839 (mswindows_resource_normalize): add dest_mask so that it can be
9840 proprogated by layout_normalize.
9841 (begin_defer_window_pos): make optional because it may not be the
9842 right thing to do and it introduces differences with X.
9843 (mswindows_unmap_subwindow): ditto.
9844 (mswindows_map_subwindow): ditto.
9845 (mswindows_redisplay_subwindow): renamed from
9846 mswindows_update_subwindow.
9847 (mswindows_redisplay_widget): ditto.
9848 (mswindows_button_redisplay): renamed from
9849 mswindows_button_update. Update is now what the instantiation
9850 function does for a changed instantiator.
9851 (mswindows_progress_gauge_instantiate): set the progress value
9852 here if appropriate.
9853 (mswindows_tab_control_redisplay): cope with re-ordering of the
9854 members of the tab widget by simply selecting the new top
9855 widget. This makes things appear ok if you click on a tab.
9856 (mswindows_combo_box_instantiate): image_instance_layout now takes
9857 position as well as size.
9858 (mswindows_progress_gauge_redisplay): renamed from
9859 mswindows_progress_gauge_update.
9860 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9861 (image_instantiator_format_create_glyphs_mswindows): ditto.
9863 * glyphs-eimage.c (jpeg_normalize):
9866 (tiff_normalize): add dest_mask so that it can be proprogated by
9871 (hash_table_weakness_validate):
9872 (decode_hash_table_weakness):
9873 (Fhash_table_weakness):
9875 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9877 * console.h (struct console_methods): move update_* to
9880 2000-07-20 Ben Wing <ben@xemacs.org>
9882 * *.[ch] (XSETOBJ): remove unused middle argument.
9883 lisp-disunion.h: correct wrap_object() to one argument.
9885 2000-07-15 Ben Wing <ben@xemacs.org>
9888 * s/cygwin32.h (CYGWIN_CONV_PATH):
9889 Add missing logb prototype for v1.1.
9890 Use post-b20 names and alias to pre-b20 names when pre-b20.
9892 * s/windowsnt.h: [5].
9894 2000-07-15 Ben Wing <ben@xemacs.org>
9896 * Makefile.in.in (x_objs):
9897 * Makefile.in.in (sheap_objs):
9898 * Makefile.in.in (objs):
9899 added win32.o, cosmetic cleanups.
9901 * alloc.c (Fmake_byte_code):
9902 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9903 etc. macros which declare their own args now.
9905 * alloc.c (syms_of_alloc):
9906 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9909 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9911 * buffer.c (Fget_file_buffer):
9912 Fixed GCPRO problem.
9914 * buffer.c (get_truename_buffer):
9915 Fixed comment about GC checking.
9917 * buffer.c (syms_of_buffer):
9918 Undeclared those dedicated frame funs.
9922 Define convenience macros for internal/external conversions.
9923 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9924 and Qenvironment_variable_encoding for cleaner code.
9927 Remove dedicated-frame; in lisp.
9929 * bytecode.c (funcall_compiled_function):
9932 * bytecode.c (syms_of_bytecode):
9936 * console-msw.c (mswindows_show_console): Rewrote.
9938 * console-msw.c (Fmswindows_debugging_output): New.
9939 Sends to OutputDebugString (special MSWin debugger interface).
9941 * console-msw.c (Fmswindows_message_box):
9942 Fixed stupid bugs so it works when called from kill-emacs.
9944 * console-msw.c (syms_of_console_mswindows):
9945 Declare Fmswindows_debugging_output.
9948 New MSWin prototypes.
9950 * console-msw.h (struct mswindows_frame):
9951 New entry last-click-mods for improved button-modifier support.
9953 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9954 New struct entry `popup' with corresponding accessor.
9957 * console-x.c (split_up_display_spec):
9958 * console-x.c (get_display_arg_connection):
9959 * console-x.c (x_semi_canonicalize_console_connection):
9960 * console-x.c (x_canonicalize_device_connection):
9961 [[[6]]]: Change char to more specific type.
9962 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9964 * console-x.c (x_semi_canonicalize_console_connection):
9965 * console-x.c (x_canonicalize_device_connection):
9966 [[[9]]]: Fix up error signalling to use new structured error system.
9969 [[[4]]]: Define codesys aliases:
9970 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9971 Qx_color_name_encoding, Qx_display_name_encoding.
9973 * console.h (struct console_methods):
9974 New method make_dialog_box_internal supersedes older
9975 popup_dialog_box method.
9978 Define many new errors, part of new structured errors.
9980 * data.c (init_errors_once_early):
9981 * data.c (syms_of_data):
9984 * device-msw.c (mswindows_init_device):
9985 [[[5]]]: Cleanup to support NT 3.51.
9987 * device-msw.c (decode_devmode): Cleanup.
9989 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9990 * device-msw.c (mswindows_handle_print_dialog_box):
9991 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9992 * device-msw.c (syms_of_device_mswindows):
9993 Delete the dialog box primitives recently introduced by Kirill and
9994 instead interface to general dialog box interface.
9997 * device-x.c (compute_x_app_name):
9998 * device-x.c (x_init_device):
9999 * device-x.c (Fx_valid_keysym_name_p):
10000 * device-x.c (Fx_set_font_path):
10004 * device.h (wrap_device): New.
10005 First of its kind; meant to replace XSETDEVICE.
10007 * dialog-msw.c: Many file-dialog symbols.
10009 * dialog-msw.c (mswindows_register_popup_frame): New.
10010 * dialog-msw.c (mswindows_is_dialog_msg): New.
10011 For supporting kbd traversal in dialog boxes.
10013 * dialog-msw.c (dialog_proc):
10014 Support hitting ESC in dialogs.
10016 * dialog-msw.c (struct):
10017 Common dialog box errors.
10019 * dialog-msw.c (handle_file_dialog_box): New.
10020 Add file dialog code.
10022 * dialog-msw.c (handle_question_dialog_box):
10023 Redo existing code to support new question dialog syntax.
10025 * dialog-msw.c (console_type_create_dialog_mswindows):
10026 We support new dialog console method.
10028 * dialog-msw.c (syms_of_dialog_mswindows):
10029 * dialog-msw.c (vars_of_dialog_mswindows):
10030 New file dialog symbols, vars.
10033 * dialog-x.c (maybe_run_dbox_text_callback):
10034 * dialog-x.c (dbox_descriptor_to_widget_value):
10035 * dialog-x.c (x_make_dialog_box_internal):
10036 * dialog-x.c (console_type_create_dialog_x):
10037 Mule-ize entire file.
10038 Redo to support question dialog syntax.
10042 * dialog.c (Fmake_dialog_box_internal):
10043 * dialog.c (syms_of_dialog):
10044 Kill old popup-dialog-box, replace with new primitive.
10045 Just call device method or signal error.
10047 * eldap.c (Fldap_open):
10048 * eldap.c (Fldap_search_basic):
10049 * eldap.c (Fldap_add):
10050 * eldap.c (Fldap_modify):
10055 * emacs.c (make_arg_list_1):
10056 * emacs.c (make_arg_list):
10057 Mule-ize call to dll_init().
10061 * emacs.c (make_argc_argv):
10062 * emacs.c (free_argc_argv):
10063 * emacs.c (init_cmdargs):
10064 * emacs.c (main_1):
10065 * emacs.c (Fkill_emacs):
10066 * emacs.c (Fdump_emacs):
10067 Update comments about what can be used in syms_* etc.
10068 Call init_win32() when necessary.
10069 Fix up MS Win dialog box in kill-buffer to actually work right.
10080 * eval.c (condition_case_3):
10082 * eval.c (function_argcount):
10083 * eval.c (funcall_lambda):
10086 * eval.c (type_error): New.
10087 * eval.c (maybe_type_error): New.
10088 * eval.c (continuable_type_error): New.
10089 * eval.c (maybe_continuable_type_error): New.
10090 * eval.c (type_error_with_frob): New.
10091 * eval.c (maybe_type_error_with_frob): New.
10092 * eval.c (continuable_type_error_with_frob): New.
10093 * eval.c (maybe_continuable_type_error_with_frob): New.
10094 New functions for use with structured errors.
10097 * event-Xt.c (x_event_to_emacs_event):
10098 Buttons are now modifiers too.
10100 * event-Xt.c (emacs_Xt_current_event_timestamp):
10101 Implement new event method.
10102 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10105 * event-msw.c (ntpipe_shove_writer): [5].
10106 * event-msw.c (mswindows_enqueue_mouse_button_event):
10107 * event-msw.c (mswindows_drain_windows_queue):
10108 * event-msw.c (mswindows_wnd_proc): [7].
10109 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10110 * event-msw.c (mswindows_modifier_state):
10111 Throughout: support new button modifiers.
10113 * event-msw.c (emacs_mswindows_current_event_timestamp):
10114 Implement new event method.
10115 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10118 * event-stream.c (event_stream_current_event_timestamp): New.
10119 * event-stream.c (maybe_kbd_translate): New functionality.
10120 * event-stream.c (vars_of_event_stream):
10121 Document new kbd-translate-table functionality.
10123 * event-stream.c (Fcurrent_event_timestamp): New.
10124 New primitive for use in fabricated events.
10125 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10127 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10130 * events.c (Fmake_event):
10131 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10135 * events.c (format_event_object): fix gcc warnings.
10137 * events.c (Fevent_timestamp): Document new primitives.
10139 * events.c (TIMESTAMP_HALFSPACE): New.
10141 * events.c (Fevent_timestamp_lessp): New. New primitive for
10142 comparing timestamps correctly (half-space algorithm).
10144 * events.c (Fevent_modifier_bits): Doc fix.
10146 * events.c (Fevent_modifiers): Major doc addition.
10147 * events.c (event_x_y_pixel_internal): Typo fix.
10148 * events.c (syms_of_events): Declare new primitives.
10151 Update long comment for button modifiers, timestamps.
10153 * events.h (struct event_stream):
10154 New current_event_timestamp method.
10157 * extents.c (extent_in_region_p):
10158 * extents.c (decode_extent):
10159 * extents.c (Fset_extent_parent):
10160 * extents.c (decode_map_extents_flags):
10164 * extents.c (struct extent_at_arg):
10165 * extents.c (decode_extent_at_flag):
10166 * extents.c (extent_at_mapper):
10167 * extents.c (extent_at_bytind):
10168 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10169 * extents.c (Fextents_at): New primitive. [9].
10170 * extents.c (symbol_to_glyph_layout): [9].
10171 Support new primitive `extents-at'.
10174 * extents.c (get_text_property_bytind):
10175 extent_at_bytind has another arg.
10178 * extents.c (syms_of_extents): New primitive.
10180 * file-coding.c (Fmake_coding_system): [1].
10181 * file-coding.c (subsidiary_coding_system): fix gcc warning
10182 * file-coding.c (syms_of_file_coding): [2].
10184 * fileio.c (Fexpand_file_name):
10185 * fileio.c (Fsysnetunam):
10186 * fileio.c (Ffile_exists_p):
10187 * fileio.c (Ffile_executable_p):
10188 * fileio.c (Fverify_visited_file_modtime):
10191 * fileio.c (syms_of_fileio): [2].
10193 * filelock.c (lock_file_1):
10194 * filelock.c (current_lock_owner):
10195 * filelock.c (lock_if_free):
10196 * filelock.c (lock_file):
10197 * filelock.c (unlock_file):
10200 * fns.c (concat): Fix gcc warning.
10203 * fns.c (Fold_member):
10205 * fns.c (Fold_memq):
10206 * fns.c (memq_no_quit):
10208 * fns.c (Fold_assoc):
10210 * fns.c (Fold_assq):
10211 * fns.c (assq_no_quit):
10213 * fns.c (Fold_rassoc):
10215 * fns.c (Fold_rassq):
10216 * fns.c (rassq_no_quit):
10218 * fns.c (Fold_delete):
10220 * fns.c (Fold_delq):
10221 * fns.c (delq_no_quit):
10222 * fns.c (Fremassoc):
10223 * fns.c (Fremassq):
10224 * fns.c (remassq_no_quit):
10225 * fns.c (Fremrassoc):
10226 * fns.c (Fremrassq):
10227 * fns.c (remrassq_no_quit):
10228 * fns.c (Freverse):
10232 * frame-msw.c (mswindows_init_frame_1):
10233 * frame-msw.c (mswindows_delete_frame):
10234 Register popups with dialog code so keyboard traversing works.
10236 * frame-tty.c (tty_raise_frame_no_select): [1].
10239 * frame-x.c (x_set_frame_text_value):
10240 * frame-x.c (x_set_frame_properties):
10241 * frame-x.c (x_create_widgets):
10245 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10247 * frame.h (wrap_frame): New.
10248 Macro like wrap_device.
10251 * general.c (SYMBOL):
10252 * general.c (syms_of_general):
10253 Major reorg. This is now just a wrapper and symbols themselves
10254 are listed in general-slots.h.
10256 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10257 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10259 * glyphs-msw.c (mswindows_native_layout_instantiate):
10260 Add DS_CONTROL so keyboard traversal will work.
10263 * glyphs-widget.c (syms_of_glyphs_widget):
10264 Move some symbols to general-slots.h.
10267 * glyphs-x.c (xbm_instantiate_1):
10268 * glyphs-x.c (x_xbm_instantiate):
10269 * glyphs-x.c (x_xface_instantiate):
10270 * glyphs-x.c (autodetect_instantiate):
10271 * glyphs-x.c (cursor_font_instantiate):
10272 * glyphs-x.c (x_update_widget):
10273 * glyphs-x.c (x_widget_instantiate):
10274 * glyphs.c (bitmap_to_lisp_data):
10275 * glyphs.c (pixmap_to_lisp_data):
10278 * glyphs.c (syms_of_glyphs):
10282 * gui-x.c (print_widget_value):
10283 * gui-x.c (menu_separator_style_and_to_external):
10284 * gui-x.c (add_accel_and_to_external):
10285 * gui-x.c (button_item_to_widget_value):
10286 * gui-x.c (gui_items_to_widget_values_1):
10287 * gui-x.c (gui_items_to_widget_values):
10288 * gui-x.c (syms_of_gui_x):
10289 * gui-x.c (vars_of_gui_x):
10290 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10294 Muleize, prototype changes matching gui-x.c.
10297 * gui.c (separator_string_p):
10298 * gui.c (gui_item_add_keyval_pair):
10299 * gui.c (make_gui_item_from_keywords_internal):
10300 * gui.c (signal_too_long_error):
10301 * gui.c (parse_gui_item_tree_item):
10302 * gui.c (syms_of_gui):
10303 * gui.c (vars_of_gui):
10305 menu-no-selection-hook moved here (used by MSWin).
10306 Move some symbols to general-slots.h.
10310 * insdel.c (get_buffer_pos_char):
10311 * insdel.c (get_buffer_range_char):
10314 * keymap.c (keymap_lookup_directly):
10315 * keymap.c (keymap_store):
10316 * keymap.c (ensure_meta_prefix_char_keymapp):
10317 * keymap.c (describe_map):
10319 Support new button modifiers.
10321 * lisp-disunion.h (wrap_object):
10322 * lisp-disunion.h (XSETOBJ):
10323 Rename make_obj to wrap_object.
10326 * lisp-union.h (make_int):
10327 * lisp-union.h (make_char):
10328 Support wrap_object.
10331 * lisp.h (LIST_LOOP):
10332 * lisp.h (EXTERNAL_LIST_LOOP):
10333 * lisp.h (LIST_LOOP_2):
10334 * lisp.h (EXTERNAL_LIST_LOOP_1):
10335 * lisp.h (EXTERNAL_LIST_LOOP_2):
10336 * lisp.h (EXTERNAL_LIST_LOOP_3):
10337 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10338 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10339 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10340 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10341 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10342 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10343 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10344 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10345 * lisp.h (struct Lisp_Symbol):
10346 * lisp.h (maybe_continuable_error_with_frob):
10347 Fix up section comments.
10348 Add new types for char to indicate usage.
10349 Delete symbols auto-generated from general-slots.h.
10350 Add prototypes for structured error functions.
10351 Add long comments describing looping macros and change interface
10352 so that lvalues are automatically declared.
10353 Add NO_DECLARE macro in case callers want to declare lvalues
10356 * lread.c (read_syntax_error):
10357 * lread.c (continuable_read_syntax_error):
10358 * lread.c (read_structure):
10359 * lread.c (sequence_reader):
10360 * lread.c (read_list_conser):
10361 * lread.c (read_compiled_function):
10362 Rename syntax_error and continuable_syntax_error to avoid clash
10363 with same-named structured error functions.
10365 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10366 * menubar-msw.c (populate_menu_add_item):
10367 * menubar-msw.c (populate_or_checksum_helper):
10372 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10373 Mule-ize whole file.
10375 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10377 * mule-charset.c (Fmake_charset):
10378 * mule-wnnfns.c (Fwnn_set_param):
10381 * ntproc.c (create_child):
10382 * ntproc.c (Fwin32_set_current_locale):
10383 Add comments portending doom.
10386 * objects-msw.c (old_font_enum_callback_2):
10387 * objects-msw.c (font_enum_callback_1):
10388 * objects-msw.c (mswindows_enumerate_fonts):
10392 * objects-x.c (allocate_nearest_color):
10393 * objects-x.c (x_parse_nearest_color):
10394 * objects-x.c (x_initialize_color_instance):
10395 * objects-x.c (x_print_color_instance):
10396 * objects-x.c (x_finalize_color_instance):
10397 * objects-x.c (x_valid_color_name_p):
10398 * objects-x.c (x_initialize_font_instance):
10399 * objects-x.c (x_print_font_instance):
10400 * objects-x.c (valid_x_font_name_p):
10401 * objects-x.c (truename_via_FONT_prop):
10402 * objects-x.c (truename_via_random_props):
10403 * objects-x.c (truename_via_XListFonts):
10404 * objects-x.c (x_font_truename):
10405 * objects-x.c (x_font_instance_truename):
10406 * objects-x.c (x_font_instance_properties):
10407 * objects-x.c (x_list_fonts):
10408 * objects-x.c (x_find_charset_font):
10409 Mule-ize entire file.
10416 * print.c (std_handle_out_external):
10417 * print.c (debug_print_no_newline):
10418 * print.c (syms_of_print):
10419 Output to all debugger kinds in debug-print.
10420 Fix console-output code under MSWin to actually work.
10422 * process-nt.c (send_signal):
10423 * process-nt.c (nt_create_process):
10424 Use newer Unicode macros.
10426 * process-unix.c (unix_create_process):
10427 * process-unix.c (unix_canonicalize_host_name):
10428 * process-unix.c (unix_open_network_stream):
10434 * search.c (syms_of_search):
10437 * select-msw.c (mswindows_destroy_selection):
10440 * select-x.c (symbol_to_x_atom):
10443 * select.c (syms_of_select):
10446 * sound.c (Fplay_sound_file):
10450 * specifier.c (decode_specifier_type):
10451 * specifier.c (Fvalid_specifier_locale_type_p):
10452 * specifier.c (check_valid_locale_or_locale_type):
10453 * specifier.c (decode_locale):
10454 * specifier.c (decode_locale_type):
10455 * specifier.c (decode_locale_list):
10456 * specifier.c (check_valid_domain):
10457 * specifier.c (decode_specifier_tag_set):
10458 * specifier.c (Fcanonicalize_tag_set):
10459 * specifier.c (Fdefine_specifier_tag):
10460 * specifier.c (Fspecifier_tag_predicate):
10461 * specifier.c (check_valid_inst_list):
10462 * specifier.c (check_valid_spec_list):
10463 * specifier.c (decode_how_to_add_specification):
10464 * specifier.c (check_modifiable_specifier):
10465 * specifier.c (specifier_add_spec):
10466 * specifier.c (boolean_validate):
10467 * specifier.c (display_table_validate):
10470 * specifier.c (syms_of_specifier):
10471 Move some symbols to general-slots.h.
10475 * symbols.c (Fmapatoms):
10476 * symbols.c (Fapropos_internal):
10479 * symbols.c (set_default_buffer_slot_variable):
10480 * symbols.c (set_default_console_slot_variable):
10483 * symbols.c (defsymbol_massage_name_1):
10484 * symbols.c (defkeyword_massage_name):
10485 * symbols.c (deferror_1):
10486 * symbols.c (deferror):
10487 * symbols.c (deferror_massage_name_and_message):
10489 * symeval.h (DEFSYMBOL):
10490 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10492 * symbols.c (syms_of_symbols):
10496 * symsinit.h (init_win32): New.
10497 Also new is syms_of_dialog_mswindows.
10500 Add new Unicode macros, missing Cygwin wide-char functions,
10501 convenience conversion macros for Qmswindows_tstr, macros for
10502 encapsulating required MSWin <-> Cygwin filename conversions,
10503 prototype for dynamically-extracted (not in NT 3.51) functions.
10508 * tooltalk.c (Fadd_tooltalk_message_arg):
10509 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10510 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10513 * tooltalk.c (syms_of_tooltalk):
10517 * unexnt.c (unexec):
10518 Fix up headers, declaration of unexec() to be more standard.
10520 2000-07-20 Martin Buchholz <martin@xemacs.org>
10522 * offix.h: Revert change to guard macros - they're used in offix.c!
10524 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10526 * lisp.h: Defsubred Fdelete.
10528 * console-msw.h: (msprinter_default_printer): Added.
10530 * console-msw.c (msprinter_canonicalize_console_connection):
10531 (msprinter_canonicalize_device_connection): Added.
10533 * device-msw.c (msprinter_default_printer):
10534 (Fmswingows_get_default_printer):
10535 (signal_enum_priner_error):
10536 (Fmswingows_printer_list): Added.
10538 2000-07-19 Martin Buchholz <martin@xemacs.org>
10540 * XEmacs 21.2.35 is released.
10542 2000-07-19 Martin Buchholz <martin@xemacs.org>
10544 * select-x.c (x_handle_selection_request):
10545 Text selected in xemacs and pasted into xterm failed to appear.
10546 Spelling fixes and cosmetic changes.
10548 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10550 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10551 XEmacs frame (fix for doubling chars in dialog boxes).
10553 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10555 * select.c (select_convert_in, select_convert_out):
10556 Don't call intern() every time.
10558 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10559 * select.c (vars_of_select): Initialise them.
10561 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10563 * select.c (selection-coercible-types): New.
10565 * select.c (own-selection-internal):
10566 * select.c (get-selection-internal):
10567 MULE bug fix - these should default to COMPOUND_TEXT and not
10568 STRING for MULE. I think.
10570 * select.c (select_convert_out): Use selection-coercible-types
10571 to find types that we can attempt to perform coercions on.
10573 2000-07-18 Martin Buchholz <martin@xemacs.org>
10577 Add coding: cookie to identify encoding.
10579 * mule-canna.c (CANNA_mode_keys): make static.
10580 Use proper prototypes, even for functions of no arguments.
10581 Remove external prototype for Fding().
10583 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10585 * select.c (syms_of_select): Add missing DEFSUBR.
10587 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10589 * select.c (get_selection_internal, own_selection_internal):
10590 Make the type default to STRING, rather than placing a nil type
10591 into Vselection_alist.
10593 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10595 * gpmevent.c (tty_selection_exists_p):
10596 * gpmevent.c (tty_own_selection):
10597 Updated parameter lists.
10599 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10601 * select.h (selection-alist): Removed declaration.
10603 * select.h (get_local_selection):
10604 * select.c (get_local_selection):
10607 * select.h (convert_selection): Removed declaration.
10608 * select.c (convert_selection): Removed.
10609 This function belongs in Lisp.
10611 * select.h (select_convert_in): Declare.
10612 * select.h (select_convert_out): Declare.
10613 * select.c (select_convert_in): New.
10614 * select.c (select_convert_out): New.
10615 New conversion functions for other files to call.
10617 * select.h (select_notify_buffer_kill): Declare.
10618 * select.c (select_notify_buffer_kill): New.
10619 New functions that get called from kill-buffer.
10621 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10622 X-specific lisp code.
10624 * select.h: Declare some of the lisp-visible functions for
10627 * select.c (clean_local_selection_data): Removed. This was
10628 a disgusting function, and previously should have been in
10629 select-x.c in any case. The functionality is now provided
10630 in select-convert-from-integer (select.el).
10632 * select.c (available-selection-types): Fixed stupidity where
10633 INTEGER and ATOM got added twice. Also add STRING when we see an
10636 * select.c (get-selection-internal): Removed symbol stripping. No
10637 longer causes conversion when data comes from the internal cache.
10639 * select.c (syms_of_select): Added new functions.
10641 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10642 error checking - previously this called abort!
10644 * select-x.c (x_own_selection): Changed comment.
10646 * select-x.c (x_handle_selection_request): Use select_convert_out.
10647 Don't mess with selection-alist; it's an internal variable of select.c.
10649 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10651 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10652 rather than messing with selection-alist.
10654 * select-msw.c (mswindows_get_foreign_selection):
10655 Use TO_INTERNAL_FORMAT rather than hacking.
10657 2000-07-14 Martin Buchholz <martin@xemacs.org>
10659 * process-unix.c (unix_open_multicast_group):
10660 (unix_open_multicast_group): Remove useless casts.
10662 2000-07-13 Martin Buchholz <martin@xemacs.org>
10664 * sound.c (Fplay_sound): Fix `unused variable' warning.
10666 * emacs.c (main): Use correct type for _environ on SCO5.
10668 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10670 * console.h (own_selection_method):
10671 * console.h (selection_exists_p_method):
10672 * console.h (available_selection_types_method): New.
10673 * console.h (register_selection_data_type_method): New.
10674 * console.h (selection_data_type_name): New.
10676 * console-msw.h (mswindows_destroy_selection): Declare it. New
10677 function & alist to track GlobalAlloc()'d handles that need
10678 releasing when the clipboard data gets replaced or emptied.
10680 * event-msw.c (mswindows_wnd_proc): Call it.
10682 * lisp.h, general.c (Qappend): New symbol representing a
10685 * select.c (own-selection-internal):
10686 * select.c (selection-exists-p):
10687 * select.c (available-selection-types): New.
10688 * select.c (register-selection-data-type): New.
10689 * select.c (selection-data-type-name): New. New functions to deal
10690 with device-specific selection data formats.
10691 * select.c (selection-converter-out-alist): Renamed.
10692 * select.c (selection-converter-in-alist): New.
10693 * select.c (selection-appender-alist): New. Added new alists.
10694 * select.c (syms_of_select, vars_of_select): Added new symbols &
10696 * select.c (get_local_selection): Split.
10697 * select.c: Removed spurious type checking - selections may now be
10698 of any type, not just strings.
10699 * select.c (own-selection-internal):
10701 * select.h, select.c (convert_selection): New. Created
10702 convert_selection() function based on get_local_selection().
10703 * select.h, select.c (QCF_*): New symbols representing mswindows
10705 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10706 symbols representing `how-to-add' modes.
10708 * select-msw.c (x_sym_p): New.
10709 * select-msw.c (symbol_to_ms_cf): New.
10710 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10711 symbols & clipboard formats. Can also handle string names.
10712 * select-msw.c (mswindows_own_selection):
10713 * select-msw.c (mswindows_selection_exists_p):
10714 Added `data-type' parameter. Use it.
10715 * select-msw.c (mswindows_available_selection_types): New.
10716 * select-msw.c (mswindows_register_selection_data_type): New.
10717 * select-msw.c (mswindows_selection_data_type_name): New.
10718 * select-msw.c (mswindows_own_selection):
10719 * select-msw.c (mswindows_get_foreign_selection):
10720 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10721 * select-msw.c (console_create_select_mswindows): Added new methods.
10722 * select-msw.c (mswindows_destroy_selection): New.
10723 * select-msw.c (Vhandle_alist): New list.
10724 * select-msw.c (mswindows_own_selection):
10726 * select-x.c (x_own_selection):
10727 * select-x.c (x_selection_exists_p):
10728 * select-x.c: Added some comments about maybe using new
10730 * select-x.c (x_own_selection):
10732 * specifier.c: Remove definition of Qappend (now in general.c)
10733 * specifier.c (syms_of_specifier): Remove Qappend.
10735 2000-07-12 Martin Buchholz <martin@xemacs.org>
10737 * config.h.in: Add socklen_t.
10739 * s/decosf4-0.h: No special compiler flags needed or desired.
10740 In particular, undefine _BSD for DEC OSF 4.0.
10742 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10744 * redisplay-msw.c (msprinter_frame_output_end): Added.
10745 (console_type_create_redisplay_mswindows): Referred the above.
10747 * frame.c (setup_frame_without_minibuffer): Do not create a
10748 default minibuffer frame on a printer device.
10750 * frame-msw.c (apply_dc_geometry): Added.
10751 (msprinter_start_page):
10752 (msprinter_init_frame_3):
10753 (msprinter_eject_page): Use it.
10755 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10756 and removed residual duplex and orientation properties.
10758 2000-07-11 Martin Buchholz <martin@xemacs.org>
10760 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10762 * unexalpha.c: Remove system prototypes from C sources!
10764 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10766 * eval.c: Remove references to M-x edit-options in DEFUNs for
10767 `defvar' and `defconst'.
10769 2000-07-09 Martin Buchholz <martin@xemacs.org>
10771 * config.h.in: Remove SMART_INCLUDE hackery.
10773 PostgreSQL hacking:
10774 * config.h.in: Don't use SMART_INCLUDE.
10776 * postgresql.h: Include libpq-fe.h here. Fix typo.
10777 * inline.c: Simply #include "postgresql.h"
10779 - Don't use SMART_INCLUDE
10780 - Use simply "const".
10781 - Use standard doc string conventions.
10782 - Use correct type for result of PQstatus.
10784 2000-07-09 Martin Buchholz <martin@xemacs.org>
10786 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10788 C++ compilation changes.
10789 * config.h.in (EXTERN_C): Define.
10790 * config.h.in (not): This is also a C++ keyword.
10791 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10792 * cm.c: Use EXTERN_C.
10793 * redisplay-tty.c: Use EXTERN_C.
10794 * sysdep.c: Use EXTERN_C. Remove Gould support.
10796 2000-07-09 Martin Buchholz <martin@xemacs.org>
10798 * general.c: Remove duplicate definition for Qfunction.
10800 2000-07-08 Ben Wing <ben@xemacs.org>
10802 * device-msw.c (msprinter_init_device):
10803 * device-msw.c (sync_printer_with_devmode):
10804 * device-msw.c (handle_devmode_changes):
10805 * device-msw.c (print_dialog_worker):
10806 * device-msw.c (Fmsprinter_apply_settings):
10807 * device-msw.c (hash_devmode):
10808 * device-msw.c (Fmsprinter_settings_despecialize):
10809 use Qmswindows_tstr, not Qctext.
10811 * vm-limit.c (check_memory_limits):
10812 avoid infinite loop printing warning messages.
10814 2000-07-05 Craig Lanning <lanning@scra.org>
10816 * Makefile.in.in: Add support for including the Windows resources
10817 when building with the cygwin and mingw targets.
10819 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10820 not set or not correct.
10821 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10822 (init_initial_directory): Don't try to use $PWD on the
10823 WIN32_NATIVE target.
10826 [[Add -mwindows to eliminate console window.]] not required --ben
10827 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10828 (MAIL_USE_POP): removed; now handled by configure.
10830 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10831 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10832 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10833 (MAIL_USE_POP): removed; now handled by configure.
10834 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10835 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10836 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10838 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10839 up from <winsock.h> via systime.h.
10840 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10841 (getpagesize): from Dan Holmsand, added.
10842 Added #endif which was left dangling by Ben's mega patch; added
10843 comment to help prevent this in the future.
10845 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10847 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10849 * console-msw.h (struct mswindows_device): Removed unnecessary
10850 cached device geometry values.
10851 Added update_tick and an accessor macro.
10852 (Lisp_Devmode): Added lrecord declaration.
10853 (struct msprinter_device): Contain devmode as a Lisp object.
10854 Added mswindows_get_selected_frame_hwnd();
10856 * console.h (struct console_methods): Indentation nitpicking.
10858 * device-msw.c (mswindows_init_device): Do not initialize geometry
10859 cache. Initialize update tick.
10860 (mswindows_device_system_metrics): Ask the device for its geometry.
10861 (global_free_2_maybe):
10862 (devmode_to_hglobal):
10863 (handle_printer_changes):
10864 (ensure_not_printing):
10865 (print_dialog_worker):
10866 (Fmsprinter_print_setup_dialog):
10867 (Fmsprinter_print_dialog):
10868 (plist_get_margin):
10869 (plist_set_margin):
10870 (Fmsprinter_page_setup_dialog): Added functions.
10871 (sync_printer_with_devmode):
10872 (handle_devmode_changes):
10873 (Fmsprinter_get_settings):
10874 (Fmsprinter_select_settings):
10875 (Fmsprinter_apply_settings):
10876 (allocate_devmode):
10877 (Fmsprinter_settings_copy):
10878 (Fmsprinter_settings_despecialize):
10880 (finalize_devmode):
10882 (hash_devmode): Added functions
10883 (syms_of_device_mswindows): Init devmode lrecord class.
10885 * device.h: Added an exfun for find-device.
10887 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10888 geometry; although, recreate the device compatible DC.
10890 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10891 (msprinter_init_frame_3):
10892 (msprinter_frame_property):
10893 (msprinter_internal_frame_property_p):
10894 (msprinter_frame_properties):
10895 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10896 print job properties (will move to device settings).
10898 * lisp.h: Added symbols.
10900 * general.c (syms_of_general): Declared them.
10902 * hash.c (string_hash): Added.
10904 * lrecord.h (lrecord_type): Added devmode lrecord type.
10906 2000-07-02 Mike Sperber <mike@xemacs.org>
10908 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10911 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10913 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10916 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10918 * data.c (Fstring_to_number): Don't recognize floating point if
10921 2000-06-22 Martin Buchholz <martin@xemacs.org>
10923 * glyphs-widget.c (tab_control_query_geometry):
10924 (widget_query_geometry):
10925 (button_query_geometry):
10926 * glyphs.c (text_query_geometry):
10927 Enforce type correctness.
10929 2000-06-18 Martin Buchholz <martin@xemacs.org>
10931 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10932 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10934 2000-06-17 Martin Buchholz <martin@xemacs.org>
10936 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10937 conflicts with gcc's fixincluded version of FOO.h.
10939 * glyphs.h (image_instance_geometry): Remove trailing `,'
10941 2000-06-08 Mike Alexander <mta@arbortext.com>
10943 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10944 (shove_thread): Don't write the same output twice
10945 (make_ntpipe_output_stream): Increase priority of shove thread
10946 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10948 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10951 2000-06-12 Ben Wing <ben@xemacs.org>
10953 * s\mingw32.h (sigset):
10954 * s\windowsnt.h (sigset):
10955 rename msw_ to mswindows_ for consistency with general convention.
10957 2000-06-12 Ben Wing <ben@xemacs.org>
10960 * console-msw.c (mswindows_get_console_hwnd):
10961 * console-msw.c (mswindows_ensure_console_allocated):
10962 * console-msw.c (mswindows_hide_console):
10963 * console-msw.c (mswindows_show_console):
10964 * console-msw.c (mswindows_ensure_console_buffered):
10965 * console-msw.c (mswindows_output_console_string):
10966 * console-msw.c (mswindows_windows9x_p):
10968 * device-msw.c (mswindows_get_workspace_coords):
10969 * device-msw.c (mswindows_device_system_metrics):
10970 * dialog-msw.c (mswindows_popup_dialog_box):
10971 * event-msw.c (mswindows_wnd_proc):
10972 * frame-msw.c (mswindows_size_frame_internal):
10973 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10974 * menubar-msw.c (displayable_menu_item):
10975 * menubar-msw.c (mswindows_char_is_accelerator):
10977 * nt.c (mswindows_sigset):
10978 * nt.c (mswindows_sigrelse):
10979 * nt.c (mswindows_sigpause):
10980 * nt.c (mswindows_raise):
10981 * nt.c (timer_proc):
10983 * ntproc.c (find_child_console):
10984 * ntproc.c (sys_kill):
10986 * print.c (std_handle_out_external):
10987 * process-nt.c (find_child_console):
10988 * process-nt.c (send_signal_the_95_way):
10989 * process-nt.c (ensure_console_window_exists):
10990 * process-nt.c (nt_create_process):
10992 rename msw_ to mswindows_ for consistency with general convention.
10996 include nt.h, not syswindows.h.
10998 * nt.c (mswindows_fstat):
10999 * nt.c (mswindows_stat):
11000 prefix mswindows_ instead of attempting to directly override the
11001 library functions. fix declarations.
11004 include syswindows.h. move some sysdep.h stuff here.
11007 include syswindows.h, not <windows.h>.
11015 * sysdep.c (sys_fstat):
11016 * sysdep.c (sys_stat):
11017 call mswindows versions when appropriate.
11020 move mswin decls to nt.h.
11023 add long comment describing appropriate use of the various windows
11026 2000-06-11 Ben Wing <ben@xemacs.org>
11028 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11030 2000-06-10 Ben Wing <ben@xemacs.org>
11032 * Makefile.in.in (release):
11033 Correction to make sure xemacs.exe always dumped when correct.
11037 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11039 * buffer.c (set_buffer_internal):
11040 [[[[2]]]]: Remove HAVE_FEP code.
11042 * buffer.c (init_initial_directory):
11046 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11050 * callproc.c (call_process_cleanup):
11051 * callproc.c (Fold_call_process_internal):
11052 * callproc.c (child_setup):
11053 * callproc.c (getenv_internal):
11054 * callproc.c (init_callproc):
11055 * callproc.c (vars_of_callproc):
11056 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11057 __CYGWIN32__ -> CYGWIN.
11058 DOS_NT -> WIN32_NATIVE.
11059 Remove MSDOS support/references, converting to WIN32_NATIVE
11061 __MINGW32__ -> MINGW.
11062 Fix windows.h includes.
11063 Remove bogus HAVE_NTGUI.
11069 mswindows_message_outputted added for use in allowing startup
11070 errors on the console to be seen.
11072 * console-msw.c (msw_ensure_console_allocated):
11073 * console-msw.c (msw_output_console_string):
11074 * console-msw.c (DHEADER):
11075 * console-msw.c (DOPAQUE_DATA):
11076 * console-msw.c (DEVENT):
11077 * console-msw.c (DCONS):
11078 * console-msw.c (DCONSCDR):
11079 * console-msw.c (DSTRING):
11080 * console-msw.c (DVECTOR):
11081 * console-msw.c (DSYMBOL):
11082 * console-msw.c (DSYMNAME):
11085 * console-stream.c (stream_init_console):
11086 Fix text/binary problems.
11089 * device-msw.c (mswindows_finish_init_device):
11090 * device-msw.c (mswindows_delete_device):
11093 * device.c (handle_asynch_device_change):
11097 * dgif_lib.c (DGifOpenFileName):
11098 * dgif_lib.c (DGifOpenFileHandle):
11099 * dgif_lib.c (DGifGetLine):
11100 * dgif_lib.c (DGifGetPixel):
11101 Added config.h/lisp.h, fix up includes.
11108 * dired.c (file_name_completion):
11109 * dired.c (Ffile_attributes):
11110 * dired.c (syms_of_dired):
11114 * dumper.c (pdump_file_unmap):
11115 * dumper.c (pdump_load):
11119 * editfns.c (Ftemp_directory):
11120 * editfns.c (user_login_name):
11121 * editfns.c (Fuser_real_login_name):
11122 * editfns.c (get_home_directory):
11125 * elhash.c (finish_marking_weak_hash_tables):
11126 [[[[5]]]]: Fix GCC warnings.
11129 * emacs.c (mswindows_handle_hardware_exceptions):
11130 * emacs.c (make_arg_list_1):
11131 * emacs.c (main_1):
11132 * emacs.c (Fkill_emacs):
11133 * emacs.c (Fdump_emacs):
11135 Fix problems with nested crashes, add long comment.
11137 * event-Xt.c (init_event_Xt_late):
11141 * event-msw.c (mswindows_dde_callback):
11142 * event-msw.c (mswindows_handle_sticky_modifiers):
11143 * event-msw.c (mswindows_wnd_proc):
11147 * events.c (character_to_event):
11151 * fileio.c (Ffile_name_directory):
11152 * fileio.c (Ffile_name_nondirectory):
11153 * fileio.c (directory_file_name):
11154 * fileio.c (Fexpand_file_name):
11155 * fileio.c (Fsubstitute_in_file_name):
11156 * fileio.c (Ffile_name_absolute_p):
11157 * fileio.c (check_executable):
11158 * fileio.c (Ffile_readable_p):
11159 * fileio.c (Ffile_accessible_directory_p):
11160 * fileio.c (Ffile_modes):
11161 * fileio.c (Funix_sync):
11162 * fileio.c (vars_of_fileio):
11165 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11167 Expand getdefdir defn.
11168 Fix bogus rename() comment.
11170 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11171 to use standard XEmacs include files, e.g. sysfile.h, rather
11172 than system-specific includes.
11178 * frame.c (vars_of_frame):
11182 * getloadavg.c (getloadavg):
11184 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11185 (We don't use it elsewhere in the code; just add a comment.)
11192 * glyphs-msw.c (mswindows_resource_instantiate):
11195 * glyphs-x.c (x_native_layout_instantiate):
11198 * gui-msw.c (Fmswindows_shell_execute):
11207 * lread.c (locate_file_in_directory_mapper):
11214 * mem-limits.h (get_lim_data):
11226 * nt.c (rva_to_section):
11227 * nt.c (mswindows_executable_type):
11229 Fix closedir() defn.
11232 [[[[8]]]]: *_OK defs moved to sysfile.h.
11241 * print.c (std_handle_out_external):
11245 * process-nt.c (nt_create_process):
11247 try to fix process quoting somewhat.
11249 * process-unix.c (unix_create_process):
11253 * process.c (vars_of_process):
11260 * realpath.c (xrealpath):
11263 * redisplay-tty.c (init_tty_for_redisplay):
11273 * sheap.c (more_static_core):
11274 * sheap.c (report_sheap_usage):
11278 * signal.c (alarm_signal):
11285 * strftime.c (zone_name):
11288 * symsinit.h (init_sunpro):
11292 commctrl.h not in Cygwin b20.1.
11295 * sysdep.c (endif):
11296 * sysdep.c (sys_subshell):
11297 * sysdep.c (init_baud_rate):
11298 * sysdep.c (emacs_get_tty):
11299 * sysdep.c (emacs_set_tty):
11300 * sysdep.c (tty_init_sys_modes_on_device):
11301 * sysdep.c (init_system_name):
11302 * sysdep.c (sys_open):
11303 * sysdep.c (interruptible_open):
11304 * sysdep.c (sys_fopen):
11305 * sysdep.c (sys_mkdir):
11306 * sysdep.c (sys_rename):
11307 * sysdep.c (get_process_times_1):
11314 * sysdir.h (DIRENTRY_NONEMPTY):
11317 * sysdll.c (dll_init):
11323 added text/binary defs.
11329 * sysproc.h (EDESTADDRREQ):
11330 * sysproc.h (poll_fds_for_input):
11347 Always define WIN32_LEAN_AND_MEAN.
11349 * unexcw.c (unexec):
11353 * unexec.c (copy_text_and_data):
11354 * unexec.c (adjust_lnnoptrs):
11358 * unexnt.c (_start):
11361 2000-06-07 Ben Wing <ben@xemacs.org>
11363 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11364 was used only as a model. We've long since extracted any useful
11365 logic or code out of this. (I just did an exhaustive search.)
11367 * s\msdos.h: Removed.
11369 * s\windows95.h: Removed.
11371 2000-06-10 Ben Wing <ben@xemacs.org>
11375 Don't use extern with fun defs.
11379 Remove nt\inc include.
11380 Remove getdisk, getdefdir. (The former is unused, the latter
11381 expanded in fileio.h.)
11384 * s\windowsnt.h (WIN32_NATIVE):
11385 * s\windowsnt.h (HAVE_STRCASECMP):
11387 Add long comment about preprocessor changes.
11388 Remove getdisk, getdefdir. (The former is unused, the latter
11389 expanded in fileio.h.)
11391 2000-06-10 Ben Wing <ben@xemacs.org>
11400 Remove bogus/unused NO_SOCK_SIGIO.
11402 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11404 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11407 2000-06-04 Mike Sperber <mike@xemacs.org>
11409 * casetab.c (set_case_table): For `set-standard-case-table',
11410 actually deposit the new case tables where the rest of XEmacs can
11413 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11415 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11417 2000-06-05 Ben Wing <ben@xemacs.org>
11419 * callproc.c (child_setup): Don't do close_load_descs() under
11420 MS Windows. Put in a comment explaining why.
11422 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11424 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11425 Toolkit shell" which breaks `kill-compilation' on Windows NT
11426 native, retaining STDERR handling improvements.
11428 2000-06-01 Andreas Jaeger <aj@suse.de>
11430 * s/s390.h: Support for S390, based on a patch by Martin
11431 Schwidefsky <schwidefsky@de.ibm.com>.
11433 2000-05-30 Andy Piper <andy@xemacs.org>
11435 * window.c (allocate_window):
11436 (make_dummy_parent):
11437 (Fset_window_configuration): use new hashtable type.
11439 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11440 (struct image_instantiator_methods):
11441 (struct Lisp_Image_Instance): make instance geometry signed.
11443 * glyphs.c (instantiate_image_instantiator):
11444 (image_instance_query_geometry):
11445 (image_instance_layout):
11446 (image_instance_layout):
11447 (query_string_geometry):
11448 (text_query_geometry):
11449 (image_instantiate):
11450 (image_instantiate):
11451 (cache_subwindow_instance_in_frame_maybe):
11452 (subwindow_query_geometry): make instance geometry signed.
11454 * glyphs-widget.c (widget_query_geometry):
11456 (button_query_geometry):
11457 (tree_view_query_geometry):
11458 (tab_control_query_geometry):
11459 (layout_query_geometry):
11461 (native_layout_layout): make instance geometry signed.
11463 2000-05-29 Olivier Galibert <galibert@pobox.com>
11465 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11468 * general.c (syms_of_general): Add Qfull_assoc symbol.
11470 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11472 (decode_weak_list_type): Decode full-assoc type.
11473 (encode_weak_list_type): Encode full-assoc type.
11474 (Fmake_weak_list): Update doc string.
11476 2000-05-30 Andy Piper <andy@xemacs.org>
11478 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11480 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11481 (decode_hash_table_weakness): ditto.
11482 (Fhash_table_weakness): ditto.
11483 (Fhash_table_type): ditto.
11484 (finish_marking_weak_hash_tables): ditto.
11485 (hash_table_weakness_validate): ditto.
11486 (syms_of_elhash): ditto.
11488 2000-05-28 Martin Buchholz <martin@xemacs.org>
11490 * XEmacs 21.2.34 is released.
11492 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11494 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11496 (updating_line_start_cache): Gone.
11497 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11498 generic code to force a minimum of 1 line laid out in the
11501 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11503 * glyphs.c (instantiate_image_instantiator): Check for initialized
11504 height & width no longer special cases IMAGE_NOTHING.
11505 (nothing_instantiate): Set height and width of instance.
11507 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11509 * unexelf.c (unexec): Search for ".data" section.
11510 Initialize new_data2_offset from old_data_index.
11511 Remove redundant check for ElfW.
11513 2000-05-23 Andy Piper <andy@xemacs.org>
11515 * glyphs.c (get_image_instantiator_governing_domain): allow more
11516 specific domains as the governing domain rather than expecting an
11517 exact match. This fixes problems with layouts.
11519 2000-05-22 Andy Piper <andy@xemacs.org>
11521 * redisplay-output.c (compare_runes): check for non-images
11523 * glyphs.c (set_glyph_dirty_p): ditto.
11524 (update_glyph_cachel_data): ditto.
11526 * glyphs-widget.c (layout_post_instantiate): ditto.
11527 (layout_post_instantiate): ditto.
11529 * event-msw.c (mswindows_wnd_proc): warning removal.
11531 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11533 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11535 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11537 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11539 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11540 (mswindows_executable_type): mingw32 now has enough headers for
11543 2000-05-20 Andy Piper <andy@xemacs.org>
11545 * console-msw.c (mswindows_output_last_error): ; -> ,
11547 2000-05-12 Andy Piper <andy@xemacs.org>
11549 * console-msw.c (FROB): compare ints with ints.
11551 2000-05-11 Andy Piper <andy@xemacs.org>
11553 * glyphs-x.c (x_finalize_image_instance): make minimal build
11556 2000-05-20 Ben Wing <ben@xemacs.org>
11559 * event-Xt.c (vars_of_event_Xt):
11560 move modifier-keys-are-sticky to event-stream.c.
11563 * event-msw.c (mswindows_enqueue_mouse_button_event):
11564 * event-msw.c (key_needs_default_processing_p):
11565 * event-msw.c (XEMSW_LCONTROL):
11566 * event-msw.c (mswindows_handle_sticky_modifiers):
11567 * event-msw.c (FROB):
11568 * event-msw.c (clear_sticky_modifiers):
11569 * event-msw.c (output_modifier_keyboard_state):
11570 * event-msw.c (output_alt_keyboard_state):
11571 * event-msw.c (mswindows_wnd_proc):
11572 * event-msw.c (mswindows_modifier_state):
11573 * event-msw.c (emacs_mswindows_handle_magic_event):
11574 implement sticky modifiers.
11577 * event-stream.c (vars_of_event_stream):
11578 move modifier-keys-are-sticky here.
11581 add CHECK_FUNCTION.
11584 implement map-range-table.
11587 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11589 * redisplay-tty.c (reset_tty_modes):
11590 (tty_redisplay_shutdown): Adjust argument type to
11591 tty_frame_output_end.
11593 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11595 * eval.c (Fbacktrace): Don't output a line with only right
11598 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11600 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11601 (Fpq_reset_poll): Ditto.
11603 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11605 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11607 2000-05-16 Ben Wing <ben@xemacs.org>
11610 * buffer.c (dfc_convert_to/from_internal_format):
11611 * buffer.c (reinit_vars_of_buffer):
11612 Fix conversion functions to allow reentrancy.
11615 * console-msw.c (mswindows_output_last_error):
11616 New fun, generally useful -- output a human-readable
11617 version of GetLastError() on the console.
11620 * console-msw.h (struct mswindows_frame):
11621 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11623 * console-stream.c (stream_output_begin):
11624 * console-stream.c (stream_output_end):
11625 * console-stream.c (stream_output_vertical_divider):
11626 * console-stream.c (stream_clear_region):
11627 * console-stream.c (stream_flash):
11628 * console-stream.c (console_type_create_stream):
11629 Delete blank stream methods, not needed.
11631 * console.h (struct console_methods):
11632 Split begin/end methods into window and frame.
11635 * event-msw.c (mswindows_handle_paint):
11636 * event-msw.c (output_alt_keyboard_state):
11637 * event-msw.c (mswindows_wnd_proc):
11638 * event-msw.c (vars_of_event_mswindows):
11639 Comment about problems with ignored-expose.
11640 Define mswindows-debug-events; not really implemented.
11642 * frame-msw.c (mswindows_init_frame_1):
11646 * glyphs-msw.c (begin_defer_window_pos):
11647 * glyphs-msw.c (mswindows_unmap_subwindow):
11648 * glyphs-msw.c (mswindows_map_subwindow):
11649 * glyphs-msw.c (mswindows_resize_subwindow):
11650 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11652 * glyphs.c (make_image_instance_1):
11655 * gutter.c (Fredisplay_gutter_area):
11656 Use new begin/end methods.
11658 * lisp.h (Dynarr_new2):
11662 * redisplay-msw.c (mswindows_frame_output_begin):
11663 * redisplay-msw.c (mswindows_frame_output_end):
11664 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11665 New begin/end methods -- handle DeferWindowPos.
11667 * redisplay-output.c (redisplay_move_cursor):
11668 * redisplay-output.c (redraw_cursor_in_window):
11669 * redisplay-output.c (redisplay_update_line):
11670 * redisplay-output.c (redisplay_output_window):
11671 New begin/end methods.
11674 * redisplay-tty.c (tty_frame_output_begin):
11675 * redisplay-tty.c (tty_frame_output_end):
11676 * redisplay-tty.c (console_type_create_redisplay_tty):
11677 New begin/end methods.
11680 * redisplay-x.c (x_window_output_begin):
11681 * redisplay-x.c (x_window_output_end):
11682 * redisplay-x.c (console_type_create_redisplay_x):
11683 New begin/end methods.
11685 * redisplay.c (redisplay_frame):
11686 * redisplay.c (Fredisplay_echo_area):
11687 New begin/end methods.
11688 use MAYBE_DEVMETH for clear_frame; it may not exist.
11690 * window.h (WINDOW_XFRAME):
11691 WINDOW_XFOO macros -- get locale and decode struct pointer.
11694 2000-05-12 Ben Wing <ben@xemacs.org>
11697 * emacs.c (ensure_no_quitting_from_now_on):
11698 * emacs.c (fatal_error_signal):
11699 * emacs.c (mswindows_handle_hardware_exceptions):
11701 * emacs.c (Fkill_emacs):
11702 * emacs.c (shut_down_emacs):
11703 * emacs.c (assert_failed):
11704 various improvements in fatal error handling.
11707 move preparing_for_armageddon to emacs.c.
11710 declare fatal_error_in_progress.
11713 * print.c (std_handle_out_external):
11714 * print.c (std_handle_out_va):
11715 * print.c (stderr_out):
11716 * print.c (stdout_out):
11717 use console under mswin when no standard output.
11718 don't do code conversion during fatal error.
11720 * scrollbar.c (Fscrollbar_page_up):
11721 * scrollbar.c (Fscrollbar_page_down):
11722 fix missing else. reindent.
11724 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11728 * glyphs.h (GLYPH_CACHEL_DESCENT):
11729 (GLYPH_CACHEL_DESCENT):
11730 (GLYPH_CACHEL_DESCENT):
11731 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11732 used in case these are inline functions.
11733 Use more absurd values to error check.
11735 include window.h for error check functions.
11737 2000-05-11 Ben Wing <ben@xemacs.org>
11739 * cmdloop.c (Freally_early_error_handler):
11740 Display message box under windows; otherwise, message will disappear
11741 before it can be viewed.
11744 * console-msw.c (Fmswindows_message_box):
11745 * console-msw.c (FROB):
11746 * console-msw.c (syms_of_console_mswindows):
11747 Define new fun `mswindows-message-box'.
11748 #### I will merge this into `popup-dialog-box'; just give me
11752 * general.c (syms_of_general):
11753 Some new symbols used in `mswindows-message-box'.
11756 * glyphs.c (Fset_image_instance_property):
11757 put warning in this fun.
11760 * glyphs.h (GLYPH_CACHEL_WIDTH):
11761 * glyphs.h (GLYPH_CACHEL_ASCENT):
11762 * glyphs.h (GLYPH_CACHEL):
11763 * glyphs.h (GLYPH_CACHEL_GLYPH):
11764 define error-checking versions to try to catch a bug i've seen --
11765 redisplay gets in an infinite loop because the glyph width of the
11766 continuation glyph is 65535.
11769 Extern message-box stuff.
11771 * window.c (allocate_window):
11772 * window.c (make_dummy_parent):
11773 * window.c (Fset_window_configuration):
11774 Use EQUAL not EQ for subwindow caches to make them work a bit
11775 better. (Something is still very broken.)
11778 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11780 * glyphs.c (image_instantiate): Suppress gcc warnings.
11781 (Fmake_image_instance): Fix doc string.
11782 * specifier.c (Fmake_specifier): Ditto.
11784 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11786 * paths.h.in (PATH_LOCK): Removed.
11787 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11788 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11790 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11792 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11793 Document (featurep '(and xemacs 21.02)).
11795 2000-05-09 Ben Wing <ben@xemacs.org>
11797 * buffer.c (complex_vars_of_buffer):
11798 update modeline-format doc.
11801 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11804 timeline of all released versions of Emacs, for use in creating
11805 authorship comments and in synching up.
11807 * glyphs-widget.c (image_instantiator_buttons):
11808 * glyphs-widget.c (image_instantiator_edit_fields):
11809 * glyphs-widget.c (image_instantiator_combo_box):
11810 * glyphs-widget.c (image_instantiator_scrollbar):
11811 * glyphs-widget.c (image_instantiator_progress_guage):
11812 * glyphs-widget.c (image_instantiator_tree_view):
11813 * glyphs-widget.c (image_instantiator_tab_control):
11814 * glyphs-widget.c (image_instantiator_labels):
11815 * glyphs-widget.c (image_instantiator_layout):
11816 * glyphs-widget.c (image_instantiator_native_layout):
11817 rename decode_domain method to governing_domain.
11820 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11821 * glyphs.c (add_entry_to_device_ii_format_list):
11822 make sure we don't put an entry more than once into the list.
11823 * glyphs.c (check_instance_cache_mapper):
11824 *************************************************************
11825 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11827 *************************************************************
11828 * glyphs.c (get_image_instantiator_governing_domain):
11829 clean up, expand on new concept of governing domain.
11830 * glyphs.c (instantiate_image_instantiator):
11831 * glyphs.c (allocate_image_instance):
11832 use governing_domain instead of cache_domain in naming.
11833 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11834 * glyphs.c (make_image_instance_1):
11835 * glyphs.c (Fmake_image_instance):
11836 allow for any domain (not just device), and process the
11837 governing domain correctly. very big doc fix.
11838 * glyphs.c (Fimage_instance_domain):
11839 new primitive, to retrieve the governing domain of an image instance.
11840 * glyphs.c (image_instantiate):
11841 use new governing_domain stuff. this fixes a crash you could get
11842 by instantiating certain widget glyphs in frame locales. (should
11843 signal an error instead of crashing.)
11844 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11845 * glyphs.c (Fglyphp): clean up doc.
11846 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11847 * glyphs.c (syms_of_glyphs):
11848 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11849 * glyphs.c (image_instantiator_format_create): add some comments about
11851 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11852 for current-display-table. (Apparently Hrjove implemented in 1998 a
11853 design I wrote up in 1996, but didn't update the doc string.)
11855 * glyphs.h: clean up a doc string.
11856 * glyphs.h (governing_domain):
11857 * glyphs.h (struct image_instantiator_methods):
11858 changes for governing_domain stuff.
11861 * gutter.c (Fgutter_specifier_p):
11862 * gutter.c (Fgutter_size_specifier_p):
11863 * gutter.c (Fgutter_visible_specifier_p):
11865 * objects.c (Fcolor_specifier_p):
11866 * objects.c (Ffont_specifier_p):
11867 * objects.c (Fface_boolean_specifier_p):
11868 doc strings moved to make-*-specifier.
11870 * redisplay.c (add_disp_table_entry_runes_1):
11871 * redisplay.c (generate_fstring_runes):
11872 * redisplay.c (screen):
11873 add random comments and doc strings.
11876 * specifier.c (Fmake_specifier):
11877 major overhaul of this doc string.
11879 * specifier.c (Fvalid_specifier_domain_p):
11880 comment about the bogosity of image instances being domains.
11881 * specifier.c (decode_domain):
11882 now non-static, used in glyphs.c.
11883 * specifier.c (specifier_instance):
11884 comment about the bogosity of image instances being domains.
11885 * specifier.c (Fgeneric_specifier_p):
11886 move doc string to make-generic-specifier.
11887 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11891 * specifier.h (DOMAIN_FRAME):
11892 * specifier.h (DOMAIN_LIVE_P):
11893 * specifier.h (DOMAIN_XDEVICE):
11895 add comments about problems with these macros.
11896 prototype for decode_domain.
11899 * toolbar.c (Ftoolbar_specifier_p):
11900 move doc string to `make-toolbar-specifier'.
11902 * window.c (window_unmap_subwindows_cache_mapper):
11903 *************************************************************
11904 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11906 *************************************************************
11908 2000-05-09 Andy Piper <andy@xemacs.org>
11910 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11912 * window.c (Fset_window_configuration): reset the frame subwindow
11913 cache and re-initialize the window subwindow caches.
11915 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11917 2000-05-09 Ben Wing <ben@xemacs.org>
11919 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11922 2000-04-26 Mike Woolley <mike@bulsara.com>
11924 * ntheap.c: Changed recreate_heap to limit the amount reserved
11925 for the heap to that which is actually available. Also now
11926 displays a message box (with some dignostics) in the event that
11927 it still can't start.
11929 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11931 * callproc.c (Fold_call_process_internal): GCPRO path
11933 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11935 Patch by Bill Perry.
11937 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11938 back data instead of #ifdef.
11939 (Fscrollbar_page_down): ditto.
11941 2000-05-07 Ben Wing <ben@xemacs.org>
11944 Kludge for defining Qmswindows_tstr.
11947 * nt.c (open_input_file):
11948 * nt.c (open_output_file):
11949 * nt.c (rva_to_section):
11950 * nt.c (mswindows_executable_type):
11951 Move all memory-mapped-file routines here (some were in unexnt.c,
11952 which is bad because they are used by process-nt.c, and unexnt
11953 won't be around when portable dumping). Synched the above routines
11957 Removed ifdef'd out bogus code.
11958 Fixed some prototypes.
11960 * nt.h (file_data):
11961 * nt.h (OFFSET_TO_RVA):
11962 * nt.h (RVA_TO_OFFSET):
11963 * nt.h (RVA_TO_PTR):
11964 Moved the memory-mapped-file structures, macros and prototypes
11965 here, to parallel nt.c. ntheap.h should really be removed
11966 entirely, and it's a non-portable-dumper specific file.
11968 * ntheap.h (round_to_next):
11969 Moved the memory-mapped-file structures, macros and prototypes
11972 * ntproc.c (compare_env):
11973 Moved rva_to_section and mswindows_executable_type to nt.c.
11974 Moved compare_env to process-nt.c.
11975 ntproc.c will die, one day.
11977 * ntproc.c (sys_spawnve):
11978 Account for win32_ -> mswindows_.
11981 * process-nt.c (struct nt_process_data):
11982 * process-nt.c (ensure_console_window_exists):
11983 * process-nt.c (compare_env):
11984 * process-nt.c (nt_create_process):
11985 * process-nt.c (nt_kill_process_by_pid):
11986 * process-nt.c (syms_of_process_nt):
11987 * process-nt.c (vars_of_process_nt):
11988 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11989 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11990 changes). Eliminate our old `nt-quote-process-args' mechanism.
11991 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11992 Move compare_env here from ntproc.c.
11994 * process.c (Fprocess_send_region):
11995 Takes an optional fourth argument, BUFFER, which should fix some
11996 problems with call-process.
11999 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12002 Move ICC_BAR_CLASSES to syscommctrl.h.
12003 Add preliminary macros for MSWindows/Mule. More to come.
12006 * unexnt.c (unexec):
12007 open_output_file moved to nt.c.
12010 2000-05-05 Andy Piper <andy@xemacs.org>
12012 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12013 instance from the frame cache also since GC may catch up too late
12014 to make frame deletion sane.
12016 2000-05-04 Andy Piper <andy@xemacs.org>
12018 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12019 (x_finalize_image_instance): ungcpro on deletion.
12021 * glyphs.c (image_instantiator_format_create): give pointers a
12022 query geometry method so that the geometry is at least set.
12024 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12025 initialize layouts if using widgets.
12027 2000-05-03 Andy Piper <andy@xemacs.org>
12029 * nt.c: remove bogus reference to sysmmsystem.h
12031 * gui-x.c (popup_selection_callback): fix no selection abort.
12033 2000-05-02 Andy Piper <andy@xemacs.org>
12035 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12036 (mswindows_widget_instantiate): ditto.
12038 * glyphs-widget.c (initialize_widget_image_instance): initialize
12039 children correctly.
12040 (widget_instantiate): cope with children and items in the same
12043 * glyphs.c (mark_image_instance): cope with children as a first
12045 (image_instance_equal): ditto.
12046 (image_instance_hash): ditto.
12047 (image_instance_changed): ditto.
12049 2000-04-30 Andy Piper <andy@xemacs.org>
12051 * glyphs.c (subwindow_query_geometry): new function. Return some
12053 (subwindow_instantiate): don't assign dimensions if none have been
12055 (image_instantiator_format_create): add subwindow_query_geometry.
12056 (print_image_instance): cope with layouts as widgets.
12058 2000-04-29 Andy Piper <andy@xemacs.org>
12060 * frame.c (delete_frame_internal): call
12061 free_frame_subwindow_instance_cache so that all subwindows are
12062 finalized before their parent.
12063 (mark_frame): remove subwindow_cachels.
12064 (Fmake_frame): remove subwindow_cachel manipulation.
12065 (allocate_frame_core): subwindow_instance_cache is a weak list.
12066 (delete_frame_internal): set subwindow_instance_cache to nil.
12068 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12070 (mswindows_finalize_image_instance): use the device
12071 not the domain as the domain may have died already.
12073 * glyphs-x.c (x_finalize_image_instance): ditto.
12074 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12077 * redisplay-output.c (redisplay_unmap_subwindows): update for
12078 subwindow instance cache as a weak list.
12079 (redisplay_unmap_subwindows_maybe): ditto.
12080 (redisplay_unmap_subwindows_except_us): ditto.
12082 * glyphs.c (unmap_subwindow): error checking will check the domain
12083 so don't deal with it here. Don't use cachels anymore.
12084 (map_subwindow): ditto.
12085 (update_subwindow_cachel_data): remove old accessor names.
12086 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12087 (Fresize_subwindow): don't update cachel.
12088 (mark_subwindow_cachels):
12089 (update_subwindow_cachel_data):
12090 (add_subwindow_cachel):
12091 (get_subwindow_cachel_index):
12092 (update_subwindow_cachel):
12093 (reset_subwindow_cachels):
12094 (mark_subwindow_cachels_as_not_updated): deleted.
12095 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12096 subwindow instance to the frame cache.
12097 (find_matching_subwindow): update for subwindow instance cache as
12099 (update_widget_instances): ditto.
12100 (image_instance_type_to_mask):inlined.
12101 (free_frame_subwindow_instance_cache): new function. finalize all
12102 subwindows that are instantiated.
12104 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12105 of cachel information.
12106 (IMAGE_INSTANCE_DISPLAY_X):
12107 (IMAGE_INSTANCE_DISPLAY_Y):
12108 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12109 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12110 (XIMAGE_INSTANCE_DISPLAY_X):
12111 (XIMAGE_INSTANCE_DISPLAY_Y):
12112 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12113 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12114 remove subwindow_cachel structure and function references.
12115 (image_instance_type_to_mask): inline from glyphs.c
12117 * redisplay.c (redisplay_frame): remove subwindow_cachel
12120 * frame.h (struct frame): remove subwindow_cachels.
12121 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12123 * frameslots.h: add subwindow_instance_cache.
12125 * window.c (replace_window): check subwindow cache of replacement.
12126 (window_unmap_subwindows_cache_mapper):
12127 (window_unmap_subwindows): new functions. Unmap all subwindows
12128 cached on this window.
12129 (mark_window_as_deleted): unmap all subwindows.
12131 2000-04-27 Andy Piper <andy@xemacs.org>
12133 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12135 * glyphs-widget.c (widget_layout): return something.
12136 (layout_layout): return something. Fail if not initialized.
12137 (layout_query_geometry): ditto.
12138 (image_instantiator_native_layout): new function. Initialized the
12139 native layout type.
12140 (widget_instantiate): don't do layout stuff here.
12142 * glyphs.c (instantiate_image_instantiator): reorded calling or
12143 instantiate and post_instantiate with layout in between.
12144 (image_instance_layout): be more selective about deciding whether
12145 the layout has been done or not.
12147 * glyphs.h (struct image_instantiator_methods): return a value
12148 from layout_method.
12150 2000-04-26 Andy Piper <andy@xemacs.org>
12152 * glyphs.c (allocate_image_instance): make initial width and
12153 height unspecified. Set initialized to 0.
12155 * syscommctrl.h new file. Encapsulates commctrl.h.
12157 * syswindows.h new file. Encapsulates windows.h.
12159 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12161 * console-msw.h: ditto.
12163 * redisplay-tty.c (tty_output_display_block): remove layout references.
12165 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12166 window handle rather than just the frame.
12168 * glyphs.c (mark_image_instance): remove layout references.
12169 (print_image_instance): ditto.
12170 (image_instance_equal): ditto.
12171 (image_instance_hash): ditto.
12172 (decode_image_instance_type): ditto.
12173 (encode_image_instance_type): ditto.
12174 (image_instantiate): ditto.
12175 (allocate_glyph): ditto.
12176 (Fimage_instance_height): ditto.
12177 (Fimage_instance_width): ditto.
12178 (update_subwindow): ditto.
12180 * redisplay-x.c (x_output_display_block): recode for layouts as
12183 * redisplay-output.c (redisplay_output_layout): recode for layouts
12185 (compare_runes): remove layout references.
12187 * redisplay-msw.c (mswindows_output_display_block): recode for
12188 layouts as widgets.
12190 * glyphs-widget.c (image_instantiator_layout): remove
12191 layout_possible_dest_types.
12192 (layout_possible_dest_types): deleted.
12194 * glyphs.h (image_instance_type): remove layout references.
12195 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12196 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12197 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12199 2000-04-25 Andy Piper <andy@xemacs.org>
12201 * glyphs-widget.c (image_instantiator_buttons):
12202 (image_instantiator_edit_fields):
12203 (image_instantiator_combo_box):
12204 (image_instantiator_scrollbar):
12205 (image_instantiator_progress_guage):
12206 (image_instantiator_tree_view):
12207 (image_instantiator_tab_control):
12208 (image_instantiator_labels):
12209 (image_instantiator_layout): call default post_instantiate method.
12210 (widget_post_instantiate): new function. Simply lays out the
12213 * glyphs.h (struct image_instantiator_methods): add
12214 post_instantiate method.
12216 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12219 2000-04-23 Andy Piper <andy@xemacs.org>
12221 * glyphs.h (struct image_instantiator_methods): add
12222 decode_domain_method.
12223 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12224 derived from the domain.
12225 (IMAGE_INSTANCE_FRAME): new accessor.
12226 (XIMAGE_INSTANCE_FRAME): ditto.
12228 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12229 instead of _SUBWINDOW_FRAME.
12230 (finalize_image_instance): ditto.
12231 (Fimage_instance_foreground): ditto.
12232 (Fimage_instance_background): ditto.
12233 (image_instantiate): ditto.
12234 (update_subwindow_cachel): ditto.
12235 (update_subwindow): ditto.
12236 (unmap_subwindow): ditto.
12237 (map_subwindow): ditto
12238 (subwindow_instantiate): ditto.
12239 * glyphs-msw.c (mswindows_update_widget): ditto.
12240 (mswindows_progress_gauge_instantiate): ditto.
12241 (mswindows_tab_control_update): ditto.
12242 * glyphs-x.c (x_update_widget): ditto.
12243 (x_widget_instantiate): ditto.
12244 (x_tab_control_instantiate): ditto.
12245 (x_tab_control_update): ditto.
12246 * event-msw.c (mswindows_wnd_proc): ditto
12248 * glyphs-widget.c (image_instantiator_layout): use
12249 subwindow_decode_domain.
12250 (image_instantiator_buttons): ditto.
12251 (image_instantiator_edit_fields): ditto.
12252 (image_instantiator_combo_box): ditto.
12253 (image_instantiator_scrollbar): ditto.
12254 (image_instantiator_progress_guage): ditto.
12255 (image_instantiator_tree_view): ditto.
12256 (image_instantiator_tab_control): ditto.
12257 (image_instantiator_labels): ditto.
12258 (image_instantiator_layout): ditto.
12260 * glyphs.c: add instance error checking to many functions.
12261 (instantiate_image_instantiator): decode device from cache_domain.
12262 (image_instantiate): partially rewrite by using
12263 decode_image_instantiator_domain to determine what domain the
12264 instance needs to be cached in.
12265 (decode_image_instantiator_domain): new function. Determine what
12266 domain the image needs to be cached in.
12267 (check_window_subwindow_cache): new error checking function.
12268 (check_instance_cache_mapper): ditto.
12269 (check_image_instance_structure): ditto.
12270 (subwindow_decode_domain): new function. Encodes a window as a
12271 subwindow's cache domain.
12272 (image_instantiator_format_create): use it for text and
12275 2000-04-21 Andy Piper <andy@xemacs.org>
12277 * glyphs.c (image_instance_device): new function.
12278 (image_instance_frame): new function.
12279 (image_instance_window): new function.
12280 (image_instance_live_p): new function.
12282 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12285 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12286 (IMAGE_INSTANCE_DOMAIN): new accessor.
12287 (XIMAGE_INSTANCE_DOMAIN): ditto.
12289 * glyphs-x.c (x_finalize_image_instance): device->domain.
12291 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12292 (mswindows_finalize_image_instance): ditto.
12294 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12295 (gif_instantiate): ditto.
12296 (png_instantiate): ditto.
12297 (tiff_instantiate): ditto.
12299 * glyphs.c (instantiate_image_instantiator): use domain rather
12301 (mark_image_instance): device -> domain.
12302 (print_image_instance): ditto.
12303 (finalize_image_instance): ditto.
12304 (image_instance_equal): ditto.
12305 (allocate_image_instance): ditto.
12306 (Fcolorize_image_instance): ditto.
12307 (query_string_geometry): ditto.
12308 (image_instantiate): ditto
12309 (query_string_font): ditto.
12310 (image_instantiate): ditto.
12311 (update_subwindow): ditto.
12312 (unmap_subwindow): ditto.
12313 (map_subwindow): ditto.
12314 (subwindow_instantiate): ditto.
12316 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12317 (DOMAIN_FRAME): ditto.
12318 (DOMAIN_WINDOW): ditto.
12319 (DOMAIN_LIVE_P): ditto.
12320 (XDOMAIN_DEVICE): ditto.
12321 (XDOMAIN_FRAME): ditto.
12322 (XDOMAIN_WINDOW): ditto.
12324 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12325 a valid specifier domain.
12327 2000-04-19 Andy Piper <andy@xemacs.org>
12329 * glyphs-widget.c (syms_of_glyphs_widget): remove
12330 widget-callback-current-channel.
12331 (vars_of_glyphs_widget): ditto.
12334 * gui.c (get_gui_callback): revert to previous behaviour.
12336 2000-04-18 Andy Piper <andy@xemacs.org>
12338 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12339 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12340 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12342 * glyphs.c (image_instance_equal): add margin_width.
12343 (image_instance_hash): ditto.
12345 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12346 (layout_query_geometry): ditto.
12347 (layout_layout): ditto.
12348 (syms_of_glyphs_widget): add margin-width.
12349 (image_instantiator_layout): allow margin-width.
12351 * glyphs.c (update_widget_instances): make a normal function.
12352 (syms_of_glyphs): remove Qupdate_widget_instances.
12355 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12356 so that we don't corrupt ideas about the last event or
12357 command. Remove widget-callback-current-channel fiddling.
12358 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12360 2000-05-01 Martin Buchholz <martin@xemacs.org>
12362 * XEmacs 21.2.33 is released.
12364 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12366 * make-src-depend: Allow dots in header file name.
12368 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12370 * mule-charset.h (struct charset_lookup): Add
12371 next_allocated_1_byte_leading_byte and
12372 next_allocated_2_byte_leading_byte.
12373 * mule-charset.c: Move above two variables so that those values
12376 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12378 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12379 when string length is zero.
12380 (find_charsets_in_emchar_string): Ditto.
12382 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12384 * lisp.h: extern Qdialog and Qmenubar.
12386 * gui-x.c: added events.h.
12387 also fixed typo which made the file uncompilable.
12389 * general.c: Added Qmenubar and Qdialog
12391 2000-04-28 Ben Wing <ben@xemacs.org>
12393 * frame-msw.c (mswindows_init_frame_1):
12394 * frame-msw.c (mswindows_mark_frame):
12395 * event-msw.c (mswindows_enqueue_dispatch_event):
12397 * console-msw.h (struct mswindows_frame):
12398 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12399 there are now three hash tables for callbacks.
12400 mswindows_enqueue_dispatch_event is no longer static.
12402 * dialog-x.c (maybe_run_dbox_text_callback):
12403 * dialog-x.c (dbox_descriptor_to_widget_value):
12404 switch to new cons3 form for callbacks.
12406 * glyphs-msw.c (mswindows_register_gui_item):
12407 * glyphs-msw.c (mswindows_widget_instantiate):
12408 * glyphs-msw.c (add_tree_item):
12409 * glyphs-msw.c (add_tab_item):
12410 new image instance parameter, so it can be passed to callback-ex.
12411 respect :callback-ex as well as :callback.
12413 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12416 * glyphs.c (print_image_instance):
12417 prettify, e.g. now prints widget type.
12420 certain funs have new image instance parameter.
12423 * gui.c (get_gui_callback):
12424 * gui.c (gui_item_add_keyval_pair):
12425 * gui.c (gui_item_init):
12426 * gui.c (gui_add_item_keywords_to_plist):
12427 * gui.c (mark_gui_item):
12428 * gui.c (gui_item_hash):
12429 * gui.c (gui_item_equal):
12430 * gui.c (copy_gui_item):
12431 * gui.c (syms_of_gui):
12432 recognize callback-ex in a number of places.
12433 also, fix the annoying "can't get out of yes-no dialog" bug.
12436 * gui.h (struct Lisp_Gui_Item):
12437 recognize callback-ex in a number of places.
12439 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12440 new parameter in button_item_to_widget_value.
12442 * glyphs-x.c (x_update_widget):
12443 * glyphs-x.c (x_button_instantiate):
12444 * glyphs-x.c (x_button_update):
12445 * glyphs-x.c (x_progress_gauge_instantiate):
12446 * glyphs-x.c (x_edit_field_instantiate):
12447 * glyphs-x.c (x_combo_box_instantiate):
12448 * glyphs-x.c (x_tab_control_instantiate):
12449 * glyphs-x.c (x_label_instantiate):
12450 new image instance parameter in various places.
12453 * event-Xt.c (enqueue_Xt_dispatch_event):
12454 this fun gets exported.
12457 * gui-msw.c (mswindows_handle_gui_wm_command):
12458 handle both :callback and :callback-ex, and generate our own
12459 event because it's one of the callback-ex arguments.
12462 * gui-x.c (popup_selection_callback):
12463 handle both :callback and :callback-ex, and generate our own
12464 event because it's one of the callback-ex arguments.
12465 * gui-x.c (button_item_to_widget_value):
12466 * gui-x.c (gui_items_to_widget_values_1):
12467 * gui-x.c (gui_item_children_to_widget_values):
12468 * gui-x.c (gui_items_to_widget_values):
12469 new image instance parameter in various places.
12471 * fns.c (Freplace_list):
12472 fix small typo in doc string.
12475 declare enqueue_Xt_dispatch_event.
12477 2000-04-28 Ben Wing <ben@xemacs.org>
12480 * buffer.c (Frecord_buffer):
12481 * buffer.c (syms_of_buffer):
12482 delete record-buffer-hook.
12485 * fns.c (Freplace_list):
12486 * fns.c (syms_of_fns):
12487 new primitive replace-list.
12490 slot for old buffer-alist.
12493 exfun replace-list.
12496 * redisplay.c (redisplay_frame):
12497 * redisplay.c (syms_of_redisplay):
12498 * redisplay.c (vars_of_redisplay):
12499 new hook buffer-list-changed-hook.
12502 2000-04-27 Ben Wing <ben@xemacs.org>
12504 * extents.h: extern in_modeline_generation.
12506 * redisplay.c (generate_formatted_string_db): set
12507 in_modeline_generation.
12509 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12510 flags if in modeline generation. otherwise frame-modified-tick
12511 is ticked far too often.
12512 Declare in_modeline_generation.
12514 2000-04-26 Ben Wing <ben@xemacs.org>
12516 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12518 (vars_of_emacs): add quick-build as an error-checking option.
12519 A bit kludgy, but there doesn't seem much point in creating
12520 a real var for this.
12522 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12524 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12526 * redisplay.h (struct display_line): Add a new variable,
12529 * redisplay.c (create_text_block): Set dl->line_continuation if
12530 the line continues.
12531 (create_string_text_block): Ditto.
12532 (regenerate_window_incrementally): Use line_continuation instead
12533 of searching continuation glyph.
12534 (add_margin_runes): Call add_glyph_rune.
12535 (add_glyph_rune): Handle margin glyph.
12537 2000-04-20 Martin Buchholz <martin@xemacs.org>
12539 * filelock.c (fill_in_lock_file_name):
12541 Check for IS_ANY_SEP instead of '/'.
12543 Avoid generating gratuitous garbage. Call user_login_name() directly.
12544 Never check errno without first seeing that system call failed.
12545 (unlock_file): Add GCPRO.
12546 (Flock_buffer): Fix docstring.
12547 (Ffile_locked_p): Fix docstring. Add GCPRO.
12549 2000-04-19 Martin Buchholz <martin@xemacs.org>
12551 * sysdep.c (get_pty_max_bytes):
12552 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12553 strings longer than 252 bytes.
12555 * md5.c: Unconditionally include ANSI header <limits.h>
12557 * glyphs-x.c (convert_EImage_to_XImage):
12558 * lisp-union.h (union Lisp_Object):
12559 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12561 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12563 * filelock.c (current_lock_owner): Remove unused variable o, p.
12565 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12567 * callint.c: Remove multiply defined symbol Qlet
12568 (syms_of_callint): ditto.
12570 2000-04-14 Andy Piper <andy@xemacs.org>
12572 * general.c (syms_of_general): add last-command, this-command, let
12575 * lisp.h: declare various symbols.
12577 * glyphs.h: declare Qwidget_callback_current_channel;
12579 * glyphs-widget.c (syms_of_glyphs_widget): add
12580 Qgui_callback_current_channel.
12581 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12583 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12584 widget-callback-current-channel when invoking the interactive
12585 arg. Also bind last-command and next-command when invoking the
12587 * gui-x.c (popup_selection_callback): ditto.
12589 * gui.c (get_gui_callback): massage args so that we are always
12590 calling eval. This allows us to add our own variable bindings
12593 * glyphs-x.c (x_button_instantiate): use
12594 gui_items_to_widget_values since this is GC safe.
12595 (x_progress_gauge_instantiate): ditto.
12596 (x_edit_field_instantiate): ditto.
12597 (x_label_instantiate): ditto.
12599 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12600 (emacs_Xt_event_widget_focus_out): new function
12601 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12603 (emacs_Xt_event_add_widget_actions): new function. add focus
12604 functions as actions.
12605 (init_event_Xt_late): use it.
12607 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12609 * event-stream.c (Fdispatch_event): Doc fix.
12611 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12613 * postgresql.c: Remove all references to PQsetenv*.
12615 * postgresql.h: Remove references to PGsetenvHandler object.
12616 * lrecord.h (lrecord_type): Ditto.
12618 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12620 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12621 real_heigh and real_width members, and accessor macros for these.
12623 * glyphs-msw.c (init_image_instance_geometry): New function.
12624 (init_image_instance_from_dibitmap): Use it.
12625 (mswindows_resource_instantiate): Use it.
12626 (init_image_instance_from_xbm_inline): Use it.
12627 (mswindows_initialize_image_instance_mask): Use real bitmap
12629 (mswindows_create_resized_bitmap): Ditto.
12630 (mswindows_create_resized_mask): Ditto.
12632 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12633 and bitmap to their surface size.
12635 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12637 * process-unix.c (unix_send_process): Guard against process MIA
12638 after Faccept_process_output.
12640 2000-04-11 Ben Wing <ben@xemacs.org>
12642 * eval.c (unbind_to_hairy): fix brokenness introduced by
12643 nanosecond speed improvements.
12645 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12647 * sunplay.c (init_device): To play sounds correctly, the device
12648 apparently needs to be initialized at least once by XEmacs. Make
12651 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12653 * redisplay.c (add_margin_runes): Add text image glyph
12656 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12658 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12659 gcc is newer than 2.5.
12661 2000-04-06 Colin Rafferty <colin@xemacs.org>
12663 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12665 * fns.c (size_bit_vector):
12666 * alloc.c (size_vector):
12667 (make_vector_internal):
12668 (make_bit_vector_internal):
12669 (sweep_bit_vectors_1):
12670 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12672 2000-04-06 Andy Piper <andy@xemacs.org>
12674 * gmalloc.c (malloc): undo previous change.
12679 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12681 * line-number.c (buffer_line_number): Revert to former version.
12683 2000-04-06 Andy Piper <andy@xemacs.org>
12685 * gmalloc.c (malloc): add error checking.
12690 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12691 button_item_to_widget_value arg.
12693 * glyphs-x.c (x_button_instantiate): add extra
12694 button_item_to_widget_value arg.
12695 (x_progress_gauge_instantiate): ditto.
12696 (x_edit_field_instantiate): ditto.
12697 (x_label_instantiate): ditto.
12699 * gui-x.c (gui_items_to_widget_values_1): add extra
12700 button_item_to_widget_value arg.
12701 (button_item_to_widget_value): add extra menu_item_p arg.
12703 * gui-x.h: change signature of button_item_to_widget_value.
12705 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12706 button_item_to_widget_value arg.
12708 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12710 * buffer.h (struct buffer): auto_save_modified should be long.
12712 2000-04-05 Andy Piper <andy@xemacs.org>
12714 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12716 (button_query_geometry): give a little more room so that athena
12719 2000-04-05 Andy Piper <andy@xemacs.org>
12721 * faces.c (complex_vars_of_faces): The widget face should inherit
12722 the font of the gui-element face.
12724 2000-04-04 Andy Piper <andy@xemacs.org>
12726 * glyphs-x.c (x_button_update): new function. unconditionally
12727 update a button's state when the instance is dirty.
12728 (image_instantiator_format_create_glyphs_x): add x_button_update.
12729 (x_widget_instantiate): remove old resize cruft.
12731 2000-04-02 Andy Piper <andy@xemacs.org>
12733 * frame.c (change_frame_size_1): The introduction of gutters means
12734 that we need to allow 0 as a potential frame dimension.
12736 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12738 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12739 image glyph if allow_cursor.
12740 (add_hscroll_rune): Don't allow cursor to border glyph.
12741 (create_text_block): Ditto.
12743 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12744 text not in buffer.
12745 (redisplay_output_layout): Call ensure_face_cachel_complete for
12749 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12751 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12753 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12756 * redisplay-tty.c (tty_output_display_block): Delete the routine
12757 for text image glyph
12758 * redisplay-x.c (x_output_display_block): ditto
12759 * redisplay-msw.c (mswindows_output_display_block): ditto
12761 2000-02-02 Mike Alexander <mta@arbortext.com>
12763 Note: Some of these were committed by accident as part of other
12766 * regex.c (regex_compile): Avoid compiler warnings.
12768 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12770 * nt.h: Declare term_ntproc correctly.
12772 * nt.c: Remove incorrect declaration of get_home_directory which
12773 is declared correctly in lisp.h.
12775 * keymap.c (get_keyelt): Avoid compiler warnings.
12776 (raw_lookup_key_mapper): Avoid compiler warnings.
12778 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12780 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12782 * filemode.c (mode_string): Avoid compiler warnings.
12784 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12787 * events-mod.h: Undef some things that winuser.h defines differently.
12789 * data.c (Faset): Avoid compiler warnings.
12791 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12793 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12795 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12796 Fall through to simple beep on error.
12797 Replace "extern" by real header file.
12799 * linuxplay.c: Use nativesound.h
12800 (play_sound_data): Return error code. Be less verbose on error.
12802 * sunplay.c: Use nativesound.h
12803 (play_sound_data): Return error code. Be less verbose on error.
12805 * ntplay.c: Use nativesound.h
12806 (play_sound_data): Return fake error code
12808 * sgiplay.c: Use nativesound.h
12809 (play_sound_data): Return error code
12811 * hpplay.c: Use nativesound.h, partially implement
12812 new error code. Break compilation until finished.
12813 (play_sound_data): error code.
12815 * nativesound.h (play_sound_file):
12816 (play_sound_data): Prototype in new header.
12818 2000-03-31 Andy Piper <andy@xemacs.org>
12820 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12821 for toggle and radio buttons.
12822 (image_instantiator_buttons): use it.
12824 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12826 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12827 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12828 found. Scrollbar event probably belonged to some old config.
12830 2000-03-31 Andy Piper <andy@xemacs.org>
12832 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12834 (initialize_widget_image_instance): default layout to
12835 LAYOUT_HORIZONTAL rather than 0.
12836 (widget_instantiate): reverse the item list at the end rather than
12838 (layout_layout): re-code for the border text at the front of the
12839 item list rather than at the end.
12840 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12841 provided by the user.
12842 (widget_query_geometry): comment.
12844 2000-03-30 Andy Piper <andy@xemacs.org>
12846 * glyphs-widget.c (image_instantiator_layout): allow standard
12847 widget keywords in layouts.
12849 * gutter.c (output_gutter): cope with nil gutter contents.
12851 * frame.c (Fset_frame_properties): add gutter docs.
12853 2000-03-29 Andy Piper <andy@xemacs.org>
12855 * toolbar-msw.c (TBSTYLE_FLAT): add.
12856 (mswindows_output_toolbar): minor fiddling.
12858 2000-03-29 Andy Piper <andy@xemacs.org>
12860 * gutter.c (output_gutter): force gutter size recalculation if
12861 what we are trying to display won't fit.
12862 (update_gutter_geometry): new function. A per-gutter version of
12863 update_frame_gutter_geometry.
12864 (update_frame_gutter_geometry): use it.
12865 (redraw_exposed_gutter): add extra debugging output.
12867 2000-03-28 Mike Alexander <mta@arbortext.com>
12869 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12870 (pdump_file_unmap): Implement it on Windows
12871 (pdump_file_get): Save alocated handles for pdump_file_unmap
12873 2000-03-28 Andy Piper <andy@xemacs.org>
12875 * gui.c (get_gui_callback): treat Quit specially.
12877 2000-03-27 Andy Piper <andy@xemacs.org>
12879 * glyphs.c (image_instantiate): be careful to check in the same
12882 2000-03-27 Didier Verna <didier@xemacs.org>
12884 * config.h.in: define the proper SMART_INCLUDE macro.
12885 handle renaming of `foo_h_path' to `foo_h_file'.
12887 * database.c: ditto.
12891 * linuxplay.c: ditto.
12893 * terminfo.c: ditto.
12895 * tooltalk.h: ditto.
12897 2000-03-27 Andy Piper <andy@xemacs.org>
12899 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12900 gets updated whenever the face might have changed.
12902 2000-03-26 Mike Alexander <mta@arbortext.com>
12904 * dumper.c (pdump_resource_free): Fix the comment.
12906 2000-03-21 Olivier Galibert <galibert@pobox.com>
12908 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12910 2000-03-22 Mike Alexander <mta@arbortext.com>
12912 * dumper.c: Include Windows headers on Windows
12913 (pdump_resource_free): Add a body to the function
12914 (pdump_load): exe_name -> exe_path and add some comments.
12916 2000-03-25 Mike Alexander <mta@arbortext.com>
12918 * gui.c (copy_gui_item_tree): Return a value in all cases
12920 2000-03-21 Didier Verna <didier@xemacs.org>
12922 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12924 (SMART_INCLUDE): new macro.
12925 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12926 the proper location.
12928 * postgresql.c: use it.
12932 2000-03-24 Andy Piper <andy@xemacs.org>
12934 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12937 2000-03-24 Andy Piper <andy@xemacs.org>
12939 * redisplay-output.c (compare_runes): use image_instance_changed
12940 to detect changes. Do not depend on glyphs_changed, only depend on
12942 (redisplay_output_layout): add debug messages.
12943 (compare_runes): ditto.
12945 * glyphs.h: declare new functions.
12946 (struct Lisp_Image_Instance): remove percent and associated
12949 * gui.h: declare new copying functions.
12951 * gui.c (copy_gui_item_tree): new function.
12952 (copy_gui_item): new function.
12953 (gui_item_id_hash): revert to standard hash.
12954 (gui_item_hash): ditto.
12955 (gui_item_hash_internal): deleted.
12956 (mark_gui_item): mark value.
12957 (gui_item_add_keyval_pair): add value.
12958 (gui_item_init): ditto.
12959 (gui_add_item_keywords_to_plist): ditto.
12960 (gui_item_equal): ditto.
12961 (syms_of_gui): add Q_value.
12963 * glyphs-x.c (x_progress_gauge_update): use pending items and
12964 value for setting the state.
12965 (x_update_widget): don't set items from pending here.
12967 * glyphs-widget.c (update_widget): update items here.
12968 (progress_gauge_set_property): use items for storing value. Put
12969 new value in pending items.
12971 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12972 items for new value. Convert percent -> value.
12973 (mswindows_tab_control_update): don't update items here.
12975 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12976 (update_subwindow): ditto.
12977 (image_instance_changed): new function. Compare hash values and
12978 past and present widget items.
12979 (image_instantiate): We more careful about where we instantiate
12981 (image_instantiate): add error checking.
12983 * gutter.c (syms_of_gutter): use -hook.
12985 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12987 * console-tty.c (Fset_console_tty_input_coding_system): Use
12989 (Fset_console_tty_output_coding_system): Use Qterminal.
12990 (tty_init_console): Use Qkeyboard and Qterminal.
12992 2000-03-21 Ben Wing <ben@xemacs.org>
12994 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12995 From Mike Alexander <mta@arbortext.com>.
12997 2000-03-21 Ben Wing <ben@xemacs.org>
12999 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13000 process brokenness. Proper implementation to come.
13002 Rename call-process-internal to old-call-process-internal.
13003 New impl. in process.el.
13005 2000-03-21 Martin Buchholz <martin@xemacs.org>
13007 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13009 2000-03-20 Andy Piper <andy@xemacs.org>
13011 * glyphs.c (full_list_hash): make hashes of the same elements in
13012 different orders return different values.
13014 2000-03-20 Martin Buchholz <martin@xemacs.org>
13016 * XEmacs 21.2.32 is released.
13018 2000-03-20 Martin Buchholz <martin@xemacs.org>
13020 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13021 (DFC_MALLOC_USE_CONVERTED_DATA):
13022 Add aliasing-safe casts to allow use with char* or unsigned char*
13025 * eldap.c (Fldap_open):
13026 (Fldap_search_basic):
13029 Make C++-compilable.
13030 Make sure GCPRO'ed variables are initialized.
13031 Use temp variables to avoid repeated calls to Flength.
13033 2000-03-16 Martin Buchholz <martin@xemacs.org>
13036 Make sure PATH_MAX is always defined.
13037 Include limits.h for PATH_MAX.
13038 Deprecate use of MAXPATHLEN.
13040 2000-03-10 Martin Buchholz <martin@xemacs.org>
13042 * emacs.c: Add reinit_vars_of_fileio.
13043 * symsinit.h: Add reinit_vars_of_fileio.
13044 * fileio.c (reinit_vars_of_fileio): New.
13045 * fileio.c (Fmake_temp_name):
13046 Initialize temp_name random number from microseconds to make
13047 collisions even less likely. Initialize always at process startup
13048 time. (make-temp-name) used to return the same file name twice in
13050 Random stylistic fiddling.
13053 2000-03-20 Andy Piper <andy@xemacs.org>
13055 * glyphs.c (image_instantiate): allow text glyphs to be
13056 instantiated in the minibuffer window.
13058 2000-03-19 Andy Piper <andy@xemacs.org>
13060 * glyphs.c (image_instance_hash): be careful about which items we
13063 * glyphs-widget.c (tab_control_set_property): record into pending
13064 items rather than the actual items.
13066 * glyphs-x.c (x_update_widget): use pending items to update with.
13068 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13071 * glyphs.c (mark_image_instance): mark pending items.
13073 * window.c (Fset_window_configuration): record the buffer.
13074 (Fselect_window): totally revert previous change which breaks many
13077 2000-03-18 Andy Piper <andy@xemacs.org>
13079 * glyphs-msw.c (mswindows_tab_control_update): force selected
13082 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13083 window domain cache, otherwise we get inconsistencies at
13084 startup. There is something fishy at startup which can lead to the
13085 minibuffer being the selected window when the gutter content is
13088 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13090 (parse_gui_item_tree_children): ditto.
13091 (parse_gui_item_tree_item): ditto.
13093 * glyphs.c (Fupdate_widget_instances): return something.
13095 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13097 * window.c (Fselect_window): Undo 2000-03-17 change.
13099 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13101 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13102 against v7.0 libraries. Insta-coredump city until the postgres
13105 2000-03-17 Andy Piper <andy@xemacs.org>
13107 * faces.c (complex_vars_of_faces): don't give the widget face an
13108 inherited background pixmap.
13110 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13113 * event-stream.c (Fdispatch_non_command_events): return something.
13115 * gutter.c (output_gutter): use widget face.
13116 (clear_gutter): ditto.
13118 * NEWS: adjust again.
13120 * window.c (Fselect_window): make sure this runs to completion to
13121 avoid oddities with Fset_window_configuration.
13122 (Fcurrent_window_configuration): in general do not save the
13123 minibuffer as the selected window.
13125 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13127 2000-03-16 Olivier Galibert <galibert@pobox.com>
13129 * emacs.c (Frunning_temacs_p): Revert previous patch.
13130 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13132 2000-03-16 Andy Piper <andy@xemacs.org>
13134 * glyphs-x.c (x_tab_control_update): if no widget values then
13137 * NEWS: update for new features.
13139 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13140 synthetic event to the native system.
13141 (reinit_vars_of_event_Xt): set force_event_pending to
13142 emacs_Xt_force_event_pending.
13144 * events.h (struct event_stream): add force_event_pending.
13146 * specifier.c (recompute_one_cached_specifier_in_window): add
13149 * redisplay.c (redisplay_frame): don't call
13150 update_frame_subwindows. Reset subwindow cachels when
13151 subwindows_changed, removing this was an optimization too far.
13153 * redisplay-output.c (compare_runes): reorganize so that we catch
13154 glyph changes when we want them. Set optimize_output when this
13155 would help layouts.
13156 (redisplay_output_layout): remove frame_really_changed, use
13157 optimize_output instead.
13159 * redisplay-msw.c (mswindows_output_display_block): reset
13160 optimize_output after outputting a glyph.
13161 * redisplay-x.c (x_output_display_block): ditto.
13162 * redisplay-tty.c (tty_output_display_block): ditto.
13164 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13166 (gutter_specs_changed): do specific gutter positions.
13167 (top_gutter_specs_changed): new function. Only update the
13168 specified gutter specs.
13169 (bottom_gutter_specs_changed): ditto.
13170 (left_gutter_specs_changed): ditto.
13171 (right_gutter_specs_changed): ditto.
13173 * gui.c (gui_item_hash_internal): new function, does a real hash.
13174 (gui_item_id_hash): use it.
13175 (gui_item_hash): hash the eval'ed gui_item.
13177 * gui-x.c (popup_selection_callback): send an eval event to call
13178 Fupdate_widget_instances.
13180 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13181 to call Fupdate_widget_instances.
13183 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13184 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13186 * glyphs.c: (update_frame_subwindows): deleted.
13187 (Fupdate_widget_instances): new function for updating the dirty
13188 state of widgets that might have changed.
13189 (syms_of_glyphs): add Qupdate_widget_instances.
13190 (full_list_hash): hash a list completely.
13191 (image_instance_hash): use it for items and properties.
13193 * frame-msw.c (mswindows_size_frame_internal): remove unused
13196 * faces.h (struct face_cachel): fix comment.
13198 * event-stream.c (Fdispatch_non_command_events): new
13199 function. Process non-command events, forcing an event cycle
13201 (syms_of_event_stream): declare.
13202 (event_stream_force_event_pending): new function. Force an event
13203 on the native event queue so that an event cycle will occur next
13207 (struct ntpipe_shove_stream):
13208 (mswindows_enqueue_dispatch_event):
13209 (mswindows_dequeue_dispatch_event):
13210 (mswindows_cancel_dispatch_event):
13211 (mswindows_pump_outstanding_events):
13212 (mswindows_drain_windows_queue):
13213 (mswindows_handle_paint):
13214 (mswindows_wnd_proc):
13215 (mswindows_key_to_emacs_keysym):
13216 (get_process_input_waitable):
13217 (emacs_mswindows_delete_stream_pair): re-indent file.
13218 (mswindows_need_event): do not process further fds if the windows
13219 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13220 fixes the 100% cpu problem.
13221 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13223 2000-03-15 Olivier Galibert <galibert@pobox.com>
13229 * emacs.c: Moved dump file searching to dumper.c.
13230 (Frunning_temacs_p): Fixed.
13232 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13233 last_lrecord_type_index_assigned.
13235 2000-02-20 Olivier Galibert <galibert@pobox.com>
13237 * symsinit.h: Added reinit parameter to init_console_stream
13240 * lisp.h: Added file parameter to pdump_load declaration.
13242 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13243 support. Added dump file searching.
13245 * config.h.in: Added EMACS_PROGNAME.
13247 * console-stream.c (init_console_stream): Fix reinitialisation
13248 when running from temacs.
13250 * alloc.c (pdump): Add id support.
13251 (pdump_load): Add file parameter and signature/id support.
13253 * Makefile.in.in: Add full pdump support.
13255 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13257 * postgresql.c: Update documentation to reflect latest code
13259 (print_result): Show tuple counts in printed representation when
13261 (Fpq_put_nbytes): MULE-ize.
13262 (Fpq_get_line_async): Ditto.
13264 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13266 * postgresql.c (Fpq_lo_import): Fix return value.
13267 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13269 2000-03-13 Ben Wing <ben@xemacs.org>
13271 * alloc.c (pdump_load):
13272 Fix compile warning under mswin.
13274 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13276 * postgresql.c: Mule-ization, bug fixes.
13277 Use PG_CODING to encapsulate coding system name changes.
13278 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13279 (pg-coding-system): Create.
13281 (Fpq_conn_defaults): Mule-ize.
13282 (Fpq_connectdb): Mule-ize & bug fix.
13283 (Fpq_connect_start): Mule-ize.
13284 (Fpq_set_client_encoding): Mule-ize.
13285 (Fpq_finish): Document `DEAD' connection status.
13286 (Fpq_clear): Ditto.
13287 (Fpq_pgconn): Mule-ize.
13288 (Fpq_exec): Mule-ize & bug fix.
13289 (Fpq_send_query): Ditto.
13290 (Fpq_get_result): Ditto.
13291 (Fpq_res_status): Mule-ize.
13292 (Fpq_result_error_message): Mule-ize.
13293 (Fpq_ntuples): fix comments.
13294 (Fpq_fname): Mule-ize.
13295 (Fpq_fnumber): Mule-ize.
13296 (Fpq_ftype): fix comments.
13297 (Fpq_get_value): Mule-ize.
13298 (Fpq_cmd_status): Ditto.
13299 (Fpq_cmd_tuples): Ditto.
13300 (Fpq_oid_value): Ditto.
13301 (Fpq_notifies): Ditto.
13302 (Fpq_lo_import): Ditto.
13303 (Fpq_lo_export): Ditto.
13304 (Fpq_get_line): Ditto.
13305 (Fpq_put_line): Mule-ize and bug fix.
13306 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13308 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13310 * postgresql.c (vars_of_postgresql): Mule-ize.
13311 (Fpq_conn_defaults): Ditto.
13313 2000-03-12 Ben Wing <ben@xemacs.org>
13315 * alloc.c (Fmake_byte_code):
13316 * alloc.c (debug_string_purity_print):
13317 * alloc.c (pdump_backtrace):
13318 * alloc.c (pdump_get_indirect_count):
13319 * alloc.c (pdump_register_sub):
13320 * alloc.c (pdump_register_object):
13321 * alloc.c (pdump_register_struct):
13322 * alloc.c (pdump_dump_data):
13323 * alloc.c (pdump_reloc_one):
13327 * console-msw.c (GetConsoleHwnd):
13328 * console-msw.c (msw_hide_console):
13329 * console-msw.c (msw_show_console):
13330 * console-msw.c (msw_ensure_console_buffered):
13331 * console-msw.c (msw_output_console_string):
13332 * console-msw.c (console_type_create_mswindows):
13334 a) Added functions to manipulate the console window for use with
13337 b) Added support for writing text to the console, which is now
13338 used under Windows when xemacs is not being run non-interactively,
13339 to write text that would otherwise be destined for stdout because
13340 under these circumstances, text written to stdout tends to
13341 disappear and not be seen.
13345 * event-Xt.c (x_event_to_emacs_event):
13346 * event-Xt.c (describe_event_window):
13347 * events-mod.h (XEMACS_MOD_CONTROL):
13349 * events.c (Fmake_event):
13350 * events.c (character_to_event):
13351 * events.c (event_to_character):
13352 * events.c (format_event_object):
13353 * events.c (Fevent_modifiers):
13355 * events.h (struct key_data):
13356 * events.h (struct button_data):
13357 * events.h (struct misc_user_data):
13358 * frame-x.c (Fcde_start_drag_internal):
13359 * frame-x.c (Foffix_start_drag_internal):
13360 * gpmevent.c (Freceive_gpm_event):
13362 * keymap.c (bucky_sym_to_bucky_bit):
13363 * keymap.c (control_meta_superify):
13364 * keymap.c (make_key_description):
13365 * keymap.c (keymap_lookup_directly):
13366 * keymap.c (create_bucky_submap):
13367 * keymap.c (keymap_store):
13368 * keymap.c (define_key_check_and_coerce_keysym):
13369 * keymap.c (define_key_parser):
13370 * keymap.c (define_key_alternate_name):
13371 * keymap.c (Fdefine_key):
13372 * keymap.c (raw_lookup_key_mapper):
13373 * keymap.c (struct map_keymap_unsorted_closure):
13374 * keymap.c (map_keymap_unsorted_mapper):
13375 * keymap.c (map_keymap_sort_predicate):
13376 * keymap.c (map_keymap_sorted):
13377 * keymap.c (accessible_keymaps_mapper_1):
13378 * keymap.c (where_is_recursive_mapper):
13379 * keymap.c (describe_map_mapper):
13380 * keymap.c (describe_map_sort_predicate):
13381 * keymap.c (describe_map):
13382 * keymap.c (complex_vars_of_keymap):
13383 And a number of other files, the key modifier preprocessor
13384 constants that xemacs uses have names that conflict with constants
13385 defined under MS Windows for other purposes, so they were renamed
13386 to begin with the prefix XEMACS_. The variables that hold such
13387 modifiers were changed to consistently be of type int to fix
13388 various compile warnings.
13390 * console.c (complex_vars_of_console):
13393 * device-msw.c (mswindows_finish_init_device):
13394 * device-msw.c (msw_get_workspace_coords):
13395 * device-msw.c (mswindows_device_system_metrics):
13396 and various other files, added support for a new
13397 device property called offset-workspace which returns the position
13398 of the upper left corner of the workspace area and goes along with
13399 the existing size-workspace property.
13402 * dialog-msw.c (push_bufbyte_string_as_unicode):
13403 * dialog-msw.c (mswindows_popup_dialog_box):
13404 Added support for XEmacs-style accelerator specifications in
13405 button text. Note: I didn't add support for this under X Windows,
13406 and somebody needs to do this.
13409 * dialog.c (Fpopup_dialog_box):
13410 Documented the support for accelerators that was just mentioned.
13412 editfns.c (get_home_directory): Changed behavior under Windows
13413 when HOME not defined; former behavior was irretrievably broken.
13416 * emacs.c (main_1):
13418 * minibuf.c (clear_echo_area_internal):
13419 * minibuf.c (echo_area_append):
13421 * print.c (std_handle_out_external):
13422 * print.c (std_handle_out_va):
13424 * print.c (write_string_to_stdio_stream):
13425 * print.c (output_string):
13426 * print.c (debug_print):
13427 * print.c (debug_backtrace):
13428 * print.c (debug_short_backtrace):
13429 Cleaned up the code that prints text to stdout so that this can be
13430 changed to output into a console window instead under MS Windows,
13431 as described above.
13434 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13435 * eval.c (internal_catch):
13436 * eval.c (unwind_to_catch):
13437 * eval.c (throw_or_bomb_out):
13438 * eval.c (condition_case_1):
13439 * eval.c (signal_1):
13440 * eval.c (check_error_state_sanity):
13441 * eval.c (call_with_suspended_errors_1):
13442 * eval.c (call_with_suspended_errors):
13443 * eval.c (reinit_vars_of_eval):
13444 Added code to catch throw loops and check for a pesky bug that may
13448 * event-msw.c (key_needs_default_processing_p):
13449 * event-msw.c (mswindows_wnd_proc):
13450 * event-msw.c (mswindows_modifier_state):
13451 * event-msw.c (emacs_mswindows_quit_p):
13452 * event-msw.c (vars_of_event_mswindows):
13453 a) Added support for using the alt key to select menu items as is
13454 standard under MS Windows. This is controlled using the variable
13455 menu-accelerator-enabled, just like under X Windows. There is an
13456 option on the options menu to turn this support on. I really
13457 think that it should be on by default under Windows, but I'm not
13458 going to make this change yet.
13460 b) Added support for dynamic display size changes under Windows.
13463 * event-stream.c (maybe_echo_keys):
13464 * event-stream.c (Fnext_event):
13465 * event-stream.c (command_builder_find_leaf):
13466 * event-stream.c (lookup_command_event):
13467 * event-stream.c (execute_command_event):
13468 * event-stream.c (pre_command_hook):
13469 * event-stream.c (post_command_hook):
13470 * event-stream.c (syms_of_event_stream):
13471 * event-stream.c (vars_of_event_stream):
13472 * event-stream.c (complex_vars_of_event_stream):
13473 * events.h (struct command_builder):
13475 a) Tried to clean up a little bit the horribly written x-specific
13476 accelerator code that crept into this file. I moved this code
13477 into menubar-x.c where it belongs. I also needed to move the
13478 command builder structure into the file events.h because it is
13479 accessed directly by this accelerator code. What I didn't do, but
13480 which should be done at some point, is to properly abstract this
13481 code using device methods instead of the kludgy way that it
13482 currently hooks into the event code.
13484 b) Added the lisp variables this-command-properties and
13485 last-command- properties, which should be used to synchronize two
13486 adjacent commands in preference to playing games with the variable
13487 this-command, which is typically what happens.
13489 c) Added some slightly nasty code to hook into the lisp support
13490 for shifted- motion-key selection. This is actually necessary for
13491 somewhat complicated reasons, which are described in
13492 simple.el. (NB: I think the proper thing would be to have the code
13493 that calls the pre and post command hooks also call out to generic
13494 lisp functions in simple.el, where all built-in stuff could be
13495 added. I will think about this more.)
13497 * event-unixoid.c (poll_fds_for_input):
13498 * lread.c (readchar):
13499 * redisplay-tty.c (tty_clear_frame):
13500 * redisplay-x.c (x_get_gc):
13501 * signal.c (interrupt_signal):
13502 And a whole bunch of other files: fixed up places that printed
13503 directly to stderr to instead call the function stderr_out so that
13504 the changes I made under Windows work correctly.
13506 * filemode.c (mode_string):
13510 * frame-msw.c (mswindows_size_frame_internal):
13511 Fixed the computation of frame size and position to keep the frame
13512 within the workspace area, rather than within the physical
13513 dimensions of the screen, so that the frame doesn't overlap window
13514 manager decorations, such as the start menu and toolbar, typically
13515 at the bottom of the screen.
13517 * frame.c (vars_of_frame):
13518 Changed the default frame title format under MS Windows to consist
13519 of buffername-XEmacs, which is standard under MS Windows. I think
13520 it might be a good idea to change this everywhere because I think
13521 it is superior to the current frame title format, but this is the
13522 kind of change that is likely to cause some people to get annoyed,
13523 so I'm not making it.
13525 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13527 * gui-msw.c (mswindows_handle_gui_wm_command):
13528 Fixed compile warnings.
13531 * gui-x.c (strdup_and_add_accel):
13532 * gui-x.c (button_item_to_widget_value):
13534 Added code to automatically put an accelerator onto the beginning
13535 of menu items that don't have one as is now the standard, and is
13536 described more later. Also fixed things so that the menu item
13537 name can be an evaluated expression, again a new standard.
13540 * gui.c (gui_item_add_keyval_pair):
13541 * gui.c (make_gui_item_from_keywords_internal):
13542 * gui.c (gui_add_item_keywords_to_plist):
13543 * gui.c (gui_item_accelerator):
13544 * gui.c (gui_name_accelerator):
13545 * gui.c (gui_item_included_p):
13546 * gui.c (gui_item_display_flush_left):
13547 * gui.c (gui_item_display_flush_right):
13548 * gui.c (parse_gui_item_tree_item):
13549 * gui.c (parse_gui_item_tree_children):
13550 * gui.c (parse_gui_item_tree_list):
13551 Mule-ized. Cleanup. GCPRO addition.
13553 * line-number.c (buffer_line_number):
13555 * lisp.h (EMACS_INT_MAX):
13556 Added the manifest constant EMACS_INT_MIN corresponding to the
13557 existing constant EMACS_INT_MAX. This is partially to fix compile
13558 warnings under Windows, and partly for cleanliness.
13561 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13562 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13563 * menubar-msw.c (displayable_menu_item):
13564 * menubar-msw.c (populate_menu_add_item):
13565 * menubar-msw.c (populate_or_checksum_helper):
13566 * menubar-msw.c (populate_menu):
13567 * menubar-msw.c (update_frame_menubar_maybe):
13568 * menubar-msw.c (prune_menubar):
13569 * menubar-msw.c (msw_char_is_accelerator):
13570 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13571 * menubar-msw.c (mswindows_handle_wm_command):
13572 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13573 * menubar-msw.c (mswindows_handle_wm_initmenu):
13574 * menubar-msw.c (mswindows_update_frame_menubars):
13575 * menubar-msw.c (mswindows_free_frame_menubars):
13576 * menubar-msw.c (mswindows_popup_menu):
13577 Fixed a bug in handling accelerators where an extra character
13578 would be displayed in the menu item. Also generalized the
13579 function displayable_menu_item because it is now used by the
13580 dialog box code as well. And finally, added code in the functions
13581 that create the menubar to extract a list of accelerators for the
13582 top level menubar, which is used in the event code to determine
13583 whether a particular alt-key combination should be used to invoke
13584 a menu item, or should be passed through to access the standard
13585 XEmacs keymap binding for this key combination.
13587 Much needed GCPROing.
13590 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13591 * menubar-x.c (menu_item_descriptor_to_widget_value):
13592 * menubar-x.c (restore_in_menu_callback):
13593 * menubar-x.c (x_popup_menu):
13594 * menubar-x.c (menu_move_up):
13595 * menubar-x.c (menu_move_down):
13596 * menubar-x.c (menu_move_left):
13597 * menubar-x.c (menu_move_right):
13598 * menubar-x.c (menu_select_item):
13599 * menubar-x.c (command_builder_operate_menu_accelerator):
13600 * menubar-x.c (menu_accelerator_junk_on_error):
13601 * menubar-x.c (command_builder_find_menu_accelerator):
13602 * menubar-x.c (Faccelerate_menu):
13604 Moved a whole bunch of code here that was previously in
13605 event-stream.c as described above. There is also code connected
13606 to the new standard of adding an accelerator to the beginning of
13607 menu items that don't have one as described above and below.
13610 * menubar.c (menu_parse_submenu_keywords):
13611 * menubar.c (Fmenu_find_real_submenu):
13612 * menubar.c (Fnormalize_menu_item_name):
13613 * menubar.c (syms_of_menubar):
13614 * menubar.c (vars_of_menubar):
13615 * menubar.c (complex_vars_of_menubar):
13617 a) Cleaned up a bunch of documentation and improved it.
13619 b) XEmacs now automatically adds an accelerator onto the beginning
13620 of any menu items that don't have one. I did this because there
13621 will inevitably be some menu items on the main menubar that don't
13622 have accelerators on them because the package that adds that
13623 particular menu item hasn't yet been fixed up to have accelerators
13624 in them and it looked rather strange to have some items with and
13625 some items without accelerators, especially since even in items
13626 without accelerators, you can, at least under windows, still
13627 access the item through an accelerator corresponding to the first
13628 character in the item's name. If people don't like this behavior,
13629 I can add a variable to turn it off optionally, but I'm not sure
13630 this is a good idea because we really do need to have accelerators
13631 on all of the menu items, and if a package doesn't like the
13632 accelerators being put on the first character, then it should put
13633 the accelerators where they belong.
13635 c) I made a behavior change, which is that the descriptor that
13636 specifies the text of the menu item, which formerly was just a
13637 string, can now also be an evaluated expression. This makes this
13638 descriptor parallel with all of the others, which could also be
13639 evaluated expressions. This also obviates the need for the
13640 keyword :label, which was previously listed in the documentation
13641 as unimplemented, and which was for the same purpose.
13646 * ntproc.c (new_child):
13647 * ntproc.c (sys_spawnve):
13648 * ntproc.c (find_child_console):
13649 * ntproc.c (sys_kill):
13650 Fixed compile warnings. By the way, this file should really go
13651 away entirely, and this will happen as soon as Kirill makes his
13652 final round of process cleanups, which affect the function
13656 * process-nt.c (struct nt_process_data):
13657 * process-nt.c (find_process_from_pid):
13658 * process-nt.c (send_signal_the_nt_way):
13659 * process-nt.c (enable_child_signals):
13660 * process-nt.c (find_child_console):
13661 * process-nt.c (send_signal_the_95_way):
13662 * process-nt.c (nt_finalize_process_data):
13663 * process-nt.c (ensure_console_window_exists):
13664 * process-nt.c (nt_create_process):
13665 * process-nt.c (nt_kill_child_process):
13666 * process-nt.c (nt_kill_process_by_pid):
13667 * process-nt.c (nt_open_network_stream):
13668 * process-nt.c (vars_of_process_nt):
13669 Copied over code from Emacs 20.5 to correctly send signals to sub-
13670 processes under Windows 95. Also added code to automatically
13671 create and hide console window when a sub-process is created under
13672 Windows 95, which obviates the need for the separate runemacs.exe
13673 executable, and finally implemented some variables that were
13674 implemented in Emacs 20.5, but previously not in XEmacs. These
13675 include mswindows- start-process-share-console and
13676 mswindows-start-process-inherit-error-mode. (Both of these only
13677 apply to Windows 95.)
13679 * regex.c (regex_compile): Fixed a compile warning.
13682 * select-msw.c (mswindows_own_selection):
13683 * select-msw.c (mswindows_get_foreign_selection):
13684 * select-msw.c (mswindows_disown_selection):
13685 * select-msw.c (console_type_create_select_mswindows):
13686 * select-msw.c (syms_of_select_mswindows):
13687 Cleaned up the file and implemented the device method
13688 selection_exists_p, which had accidentally been left out. Also
13689 removed four lisp functions that were remnants from before the
13690 time when the selection code was properly device abstracted.
13691 These functions are no longer needed because there are generic
13692 equivalents, and because they were added recently and don't exist
13693 in FSF Emacs, I don't think there's any problem with just deleting
13697 * sysdep.c (sys_subshell):
13698 Fixed a compile warning, although in this case there's probably
13699 something wrong with this code, and it ought to be looked into
13700 more thoroughly by somebody who understands it.
13703 * window.c (Fwindow_text_area_height):
13704 * window.c (Fwindow_width):
13705 * window.c (Fwindow_full_width):
13706 * window.c (Fwindow_pixel_width):
13707 * window.c (debug_print_window):
13708 * window.c (syms_of_window):
13709 Added functions window-text-area-height and window-full-width,
13710 which are functions for returning various width and height
13711 characteristics of a window. (One of these functions is necessary
13712 for making the file dialog box work correctly, and the other one
13713 was added for completeness.) Also added a table to the
13714 documentation for window-height which describes the entire scheme
13715 for accessing width and height characteristics of a window.
13717 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13719 * nt.c (fstat): Added a comment for another problem with
13720 non-encapsulated [f]stat(), reported by Adrian Aichner
13721 <aichner@ecf.teradyne.com>.
13723 2000-03-11 Andy Piper <andy@xemacs.org>
13725 * window.c (make_dummy_parent): initialize subwindow instance
13727 (Fset_window_configuration): zero extent_modiff.
13729 2000-03-10 Andy Piper <andy@xemacs.org>
13731 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13732 more changes can be triggered.
13733 (Fredisplay_frame): ditto.
13734 (Fredraw_device): ditto.
13735 (Fredisplay_device): ditto.
13736 (redisplay_frame): make non-static.
13737 (redisplay_frame): call update_frame_gutter_geometry outside of
13740 * gutter.h: declare update_frame_gutter_geometry.
13742 * redisplay.h: declare redisplay_frame.
13744 * gutter.c (update_frame_gutter_geometry): move geometry changes
13745 in update_frame_gutters here. Geometry changes can only occur
13746 outside of redisplay.
13747 (update_frame_gutters): remove geometry change code.
13748 (Fredisplay_gutter_area): make sure that we are in display when we
13749 update and that we have flushed any size changes.
13751 2000-03-11 Andy Piper <andy@xemacs.org>
13753 * alloc.c (pdump_dump_data): remove i & count shadows.
13755 2000-02-27 Mike Alexander <mta@arbortext.com>
13757 * sysdep.h: Declare pdump_read_file
13759 * sysdep.c (pdump_read_file): New function
13761 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13764 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13766 * lrecord.h: add `lrecord_type_pgsetenv'.
13768 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13770 * symsinit.h: declare (vars|syms)_of* functions.
13771 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13773 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13775 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13777 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13780 * emacs.c (main_1): Call postgres initialization code.
13782 * postgresql.h: New file. PostgreSQL RDBMS support.
13783 * postgresql.c: New file.
13785 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13787 * redisplay-output.c (redisplay_output_display_block): Disable
13790 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13792 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13793 (Fcanna_henkan_next): Ditto.
13794 (Fcanna_bunsetu_henkou): Ditto.
13795 (Fcanna_henkan_kakutei): Ditto.
13796 (Fcanna_henkan_end): Ditto.
13797 (Fcanna_henkan_quit): Ditto.
13798 (Fcanna_henkan_next): Set retun value correctly.
13799 (c2mu): Use unsigned char instead of signed char.
13801 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13803 * emacs.c (main_1): Always call syms_of_gui.
13804 * inline.c: include gui.h
13806 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13808 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13809 converted to Lisp_Object.
13810 (Qtop_bottom): New variable.
13811 (syms_of_redisplay): Initialize it.
13812 * redisplay.h (Vvisible_bell): Ditto.
13813 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13814 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13815 only flash top and bottom.
13817 2000-03-08 Andy Piper <andy@xemacs.org>
13819 * buffer.c (Frename_buffer): record new buffer name the right way.
13821 2000-03-08 Andy Piper <andy@xemacs.org>
13823 * glyphs.c (update_subwindow): increase hash depth so that widget
13824 items get picked up properly.
13826 * redisplay-output.c (compare_runes): increase hash depth so that
13827 widget items get picked up properly.
13829 2000-03-08 Andy Piper <andy@xemacs.org>
13831 * gutter.c (output_gutter): add some debug.
13833 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13834 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13835 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13837 * redisplay-output.c (compare_runes): use display_hash to
13838 determine if glyphs really are not the same.
13840 * glyphs.c (update_subwindow): check display_hash to see if
13841 anything really needs to be updated. If not then do
13842 nothing. Record the display_hash after updating.
13843 (image_instance_equal): compare the image_instance face also.
13845 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13847 * redisplay.h: Fix comment style.
13849 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13851 * consle-msw.h (struct mswindows_frame):
13852 Added new member paint_pending to indicate whether a WM_PAINT
13853 magic event has been queued for this frame.
13855 * event-msw.c (mswindows_drain_windows_queue):
13856 Don't queue a WM_PAINT magic event if one is already queued.
13857 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13859 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13861 2000-03-07 Didier Verna <didier@xemacs.org>
13863 * dired.c: #include `regex.h' after `sysfile.h'.
13865 2000-03-06 Martin Buchholz <martin@xemacs.org>
13867 * sound.c (init_nas_sound): Fix compiler warning.
13869 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13871 (MARK_STRUCT_AS_FREE):
13872 (MARK_STRUCT_AS_NOT_FREE):
13873 Make `gcc -fstrict-aliasing' work properly.
13875 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13877 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13878 (mswindows_delete_device): Call CoUnnitialize().
13880 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13882 2000-02-25 <CraigL@DyCon.com>
13884 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13887 * sysdep.c: This extern declaration for environ prevents MinGW
13888 from finding the variable in CRTDLL.DLL.
13890 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13892 (SHGFI_EXETYPE): ..
13893 (WM_MOUSEWHEEL): ..
13894 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13896 (MMRESULT): Removed, now defined in cygwin's windows headers.
13898 (uid_t,gid_t,pid_t,ssize_t): ..
13899 (_timeb): Removed, MinGW defines both _timeb and timeb.
13900 (HAVE_H_ERRNO): Added.
13901 (HAVE_TZNAME): Added, configure is not detecting this.
13903 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13905 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13906 * syntax.c (syntax_match): Use it.
13908 * cmds.c: Import auto-fill-chars from FSF Emacs.
13909 (Vauto_fill_chars): New variables.
13910 (internal_self_insert): Check Vauto_fill_chars.
13912 Declare auto-fill-chars as a Lisp variable and initialize it.
13914 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13916 * fileio.c (Fmake_symbolic_link):
13918 Run handlers even if local machine doesn't have symlinks.
13920 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13922 * event-msw.c (mswindows_drain_windows_queue):
13923 Don't generate paint magic events for non-XEmacs frames.
13925 2000-03-05 Andy Piper <andy@xemacs.org>
13927 * redisplay.c (redisplay_frame): generate_displayable_area and
13928 friends assumes that we are not in GC, we therefore have to make
13929 sure that this doesn't happen.
13931 * gutter.c (calculate_gutter_size): generate_displayable_area
13932 assumes that we are not in GC, we therefore have to make sure that
13933 this doesn't happen.
13935 2000-03-05 Martin Buchholz <martin@xemacs.org>
13937 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13939 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13941 * redisplay.c (regenerate_window): Make sure we set a sane value
13942 for end_pos even if we jump out of the loop.
13943 (regenerate_window): Answer Ben's question :-).
13944 (start_end_of_last_line): Add may_error argument.
13945 (start_of_last_line):
13946 (end_of_last_line): Pass may_error = 0.
13947 (end_of_last_line_may_error): New function.
13948 (pixel_to_glyph_translation): Use it, so we don't crash in
13951 2000-03-04 Andy Piper <andy@xemacs.org>
13953 * window.h (struct window): add gutter_extent_modiff.
13955 * window.c (allocate_window): zero out gutter_extent_modiff.
13957 * redisplay.h: declare sync_display_line_structs.
13959 * redisplay.c (add_glyph_rune): add a better comment.
13961 * redisplay-output.c (sync_display_line_structs): made non-static.
13962 (compare_runes): remove unneccesary glyph cachel access.
13964 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13966 * gutter.c (output_gutter): don't output the gutter if extent
13967 changes only involve extents in buffers. use 4 sets of display
13969 (gutter_extent_signal_changed_region_maybe): new function. Mark
13970 extents in gutters as changed.
13971 (update_frame_gutters): use 4 sets of display lines.
13972 (reset_gutter_display_lines): ditto.
13973 (free_frame_gutters): ditto.
13974 (redraw_exposed_gutter): force output of gutters.
13976 * frame.h (struct frame): add 4 sets of gutter display lines.
13978 * extents.c: (extent_changed_for_redisplay): signal changes to
13979 extents in strings in the gutter as well as extents in buffers.
13981 2000-03-02 Andy Piper <andy@xemacs.org>
13983 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13985 * frame.c (Fmake_frame): make sure the gutters get initialized
13986 after the frame is visible.
13987 (set_frame_selected_window): re-arrange compilation macros a
13989 (change_frame_size_1): mark gutters changed.
13991 * device.c (Fset_device_class): mark gutters changed.
13993 2000-03-01 Andy Piper <andy@xemacs.org>
13995 * window.c (window_top_frame_gutter_height): deleted.
13996 (window_bottom_frame_gutter_height): ditto.
13997 (window_left_frame_gutter_height): ditto.
13998 (window_right_frame_gutter_height): ditto.
13999 (window_top_gutter_height): don't use them.
14000 (window_bottom_gutter_height): ditto.
14001 (window_left_gutter_width): ditto.
14002 (window_right_gutter_width): ditto.
14003 (Fsplit_window): ditto.
14004 (Fwindow_pixel_edges): don't use border dimensions here.
14006 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14007 (update_scrollbar_instance): ditto.
14009 * redisplay.c (generate_modeline): don't take gutters into account.
14010 (generate_modeline): ditto.
14011 (redisplay_frame): small gutter display optimization.
14013 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14015 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14016 gutters into account.
14018 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14019 for window position and type.
14021 * gutter.c (get_gutter_coords): fix for frame gutters.
14022 (update_frame_gutters): update frame geometry if the gutters have
14024 (init_frame_gutters): record current gutter geometries.
14026 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14028 (mswindows_widget_instantiate): ditto.
14030 * frame.h (struct frame): add current_gutter_bounds.
14032 * frame.c (change_frame_size_1): position window and minibuffer
14033 appropriately taking into account the frame gutters.
14035 * frame-x.c: (x_initialize_frame_size): take into account the
14038 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14040 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14042 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14044 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14046 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14048 * file-coding.c (reset_decoding_stream): Clear previous
14049 detection state when autodetect.
14051 2000-02-29 Didier Verna <didier@xemacs.org>
14053 * extents.c (set_extent_glyph_1): don't require extents to be
14056 2000-02-27 Andy Piper <andy@xemacs.org>
14058 * gutter.c (Fset_default_gutter_position): don't default left and
14059 right gutter visibility to t.
14060 (Fset_default_gutter_position): run
14061 default-gutter-position-changed-hook.
14062 (syms_of_gutter): add default-gutter-position-changed-hook.
14064 2000-02-26 Andy Piper <andy@xemacs.org>
14066 * specifier.c (Fmake_specifier): add gutter references.
14068 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14070 * lisp.h: declare Fvalid_plist_p.
14072 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14074 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14075 well as its visibility so that it gets reconstructed.
14076 (construct_window_gutter_spec): new function. Construct a string
14077 to be displayed in the gutter from a plist of strings. Take care
14078 to only use elements that are declared as visible.
14079 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14081 (gutter_validate): allow plists of strings in the specifier.
14082 (gutter_specs_changed): construct the real_gutter from the gutter
14083 specs using construct_window_gutter_spec.
14084 (gutter_visible_validate): gutter-visible is a new specifier type.
14085 (Fgutter_visible_specifier_p): new function for the new specifier.
14086 (syms_of_gutter): declare gutter-visible and
14087 Fgutter_visible_specifier_p.
14088 (specifier_type_create_gutter): intitalize new gutter-visible
14090 (reinit_specifier_type_create_gutter): ditto.
14091 (specifier_vars_of_gutter): use new specifier type for gutter
14093 (init_frame_gutters): construct real_gutter correctly.
14094 (Fgutter_specifier_p): beef up documentation.
14095 (Fgutter_size_specifier_p): ditto.
14097 * winslots.h: add real_gutter slots.
14099 2000-02-25 Andy Piper <andy@xemacs.org>
14101 * device-msw.c: Be kind to older cygwin versions. From Raymond
14102 Toy <toy@rtp.ericsson.se>.
14104 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14105 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14107 2000-02-25 Martin Buchholz <martin@xemacs.org>
14109 * elhash.c (MARK_OBJ): Practice macro hygiene.
14111 2000-02-24 Martin Buchholz <martin@xemacs.org>
14113 * miscplay.c: s/__inline__/inline/g;
14114 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14115 (get_device_compdc): INLINE ==> static inline
14116 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14117 find -name '*.h' | \
14118 xargs global-replace \
14119 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14121 2000-02-25 Andy Piper <andy@xemacs.org>
14123 * window.c (window_top_frame_gutter_height): new function.
14124 (window_top_window_gutter_height): ditto.
14125 (window_top_gutter_height): use them.
14126 (window_bottom_frame_gutter_height): new function.
14127 (window_bottom_window_gutter_height): ditto.
14128 (window_bottom_gutter_height): use them.
14129 (window_left_window_gutter_width): new function.
14130 (window_left_frame_gutter_width): ditto.
14131 (window_left_gutter_width): use them.
14132 (window_right_window_gutter_width): new function.
14133 (window_right_frame_gutter_width): ditto.
14134 (window_right_gutter_width): use them.
14135 (window_pixel_height): new function. calulate window pixel height
14136 with frame gutter involvement.
14137 (Fsplit_window): calculate new sizes taking frame gutters into
14139 (window_char_height_to_pixel_height): don't include frame gutters.
14140 (window_char_height): use window_pixel_height.
14141 (window_pixheight): rename from window_pixel_height.
14142 (change_window_height): use it.
14143 (window_pixel_height_to_char_height): don't include frame gutters.
14144 (window_char_width_to_pixel_width): ditto.
14146 2000-02-25 Andy Piper <andy@xemacs.org>
14148 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14151 2000-02-24 Martin Buchholz <martin@xemacs.org>
14153 * alloc.c (staticpro):
14154 (staticpro_nodump):
14159 (compact_string_chars):
14160 (pdump_dump_wired):
14161 Convert: if (foo) abort(); ==> assert (! foo);
14163 * eldap.c (Fldap_search_basic):
14167 Fix compiler warnings, and possible crashes if (random) return
14168 value were to be used.
14170 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14172 * device-msw.c: Workaround ResetDC failure.
14174 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14175 applying a devmode.
14177 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14178 (mswindows_text_width): Do not start printer page.
14180 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14182 * glyphs-msw.c: Added image methods to msprinter console and
14183 msprinter-specific image instantiation.
14185 2000-02-20 Mike Alexander <mta@arbortext.com>
14187 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14188 to avoid crashes when selection-sets-clipboard is on
14189 (mswindows_own_selection): ditto
14191 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14194 * redisplay-msw.c (get_frame_dc):
14195 (get_frame_compdc):
14197 * device-msw.c (mswindows_init_device):
14198 (mswindows_delete_device):
14199 (msprinter_init_device):
14200 (msprinter_delete_device):
14201 * frame-msw.c (mswindows_init_frame_1):
14202 (mswindows_delete_frame):
14203 (msprinter_init_frame_3):
14204 (msprinter_delete_frame): Move compatible DC to device object from
14205 frame object, for both mswindows and msprinter. Only one at a time
14206 is needed, it is a real waste to have one per frame!
14208 2000-02-23 Andy Piper <andy@xemacs.org>
14210 * glyphs.c: add dynamic width and height elements.
14211 (image_instance_equal): ditto.
14213 * glyphs-widget.c (widget_query_geometry): calculate width and
14214 height dynamically if required.
14215 (initialize_widget_image_instance): initialize dynamic dimensions.
14216 (widget_instantiate): pick-up dynamic dimensions.
14218 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14219 dynamic determination. Add appropriate macros.
14221 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14223 (WINDOW_GUTTER_SIZE): ditto.
14224 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14226 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14228 (get_frame_dc): ditto.
14230 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14233 2000-02-23 Martin Buchholz <martin@xemacs.org>
14235 * XEmacs 21.2.31 is released.
14237 2000-02-22 Ben Wing <ben@xemacs.org>
14239 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14241 2000-02-22 Andy Piper <andy@xemacs.org>
14243 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14245 2000-02-21 Mike Sperber <mike@xemacs.org>
14249 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14252 2000-02-21 Mike Sperber <mike@xemacs.org>
14254 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14256 2000-02-21 Martin Buchholz <martin@xemacs.org>
14258 * XEmacs 21.2.30 is released.
14260 2000-02-20 Martin Buchholz <martin@xemacs.org>
14262 Performance hacking.
14264 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14265 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14266 * emacs.c (main_1):
14268 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14269 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14270 * symeval.h (DEFVAR_SYMVAL_FWD):
14271 * symbols.c (guts_of_unbound_marker):
14272 Make all c_readonly objects also lisp_readonly and marked for life.
14273 * lrecord.h (struct lrecord_implementation):
14274 Document flags better.
14275 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14276 * lrecord.h (DECLARE_LRECORD):
14277 * lrecord.h (XSETRECORD):
14278 * lrecord.h (RECORDP):
14279 * lrecord.h (RECORD_TYPEP):
14280 * lrecord.h (RECORD_MARKER): New.
14281 * lrecord.h (error_check_*):
14282 * lrecord.h (CONCHECK_NONRECORD):
14283 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14284 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14285 * lrecord.h (set_lheader_implementation):
14286 * lrecord.h (enum lrecord_type): New.
14287 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14288 * alloc.c (disksave_object_finalization_1):
14289 * alloc.c (mark_object):
14290 * alloc.c (lrecord_type_index):
14291 * alloc.c (tick_lcrecord_stats):
14292 * alloc.c (Fgarbage_collect):
14293 * alloc.c (init_alloc_once_early):
14294 * alloc.c (pdump_load):
14295 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14296 * alloc.c (lrecord_type_index): Delete.
14297 Make lisp object type indexes be constant.
14298 Makes (byte-compile) 5% faster.
14299 Put all marker functions into their own array.
14300 Makes (garbage-collect) 5% faster.
14301 Optimize SYMBOL_VALUE_MAGIC_P.
14302 Makes (byte-compile) 2-3% faster.
14303 * config.h.in (gc_checking_assert): New.
14304 * alloc.c: Use gc_checking_assert().
14305 * .dbxrc: Make compatible with new object type implementation.
14306 * .gdbinit: Make compatible with new object type implementation.
14307 * alloc.c: Delete all symbols defined only for debugging, such as
14308 Lisp_Type_Vector and lrecord_charset.
14310 2000-02-21 Andy Piper <andy@xemacs.org>
14312 * gui-msw.c (Fmswindows_shell_execute): fix file location
14315 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14316 unshowing so that set_window_buffer doesn't undo
14317 kill_buffer_hook's hard work.
14319 * glyphs-widget.c (tab_control_query_geometry): don't count the
14320 first item when calculating geometry.
14322 * glyphs.c (map_subwindow): remove redundant code.
14323 (update_frame_subwindows): be more circumspect about when to
14326 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14327 when items haven't changed. Update faces if faces have changed as
14328 well as just the widget face.
14329 (x_tab_control_update): Update faces if faces have changed as well
14330 as just the widget face.
14332 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14334 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14336 (build_syscolor_string): Use mswindows_color_to_string to try to
14338 (mswindows_device_system_metrics): Reverse the foreground and
14339 background colors so that they match the documentation.
14341 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14342 they match the default Windows palette.
14343 (mswindows_color_to_string): New function.
14345 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14347 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14349 2000-02-18 Olivier Galibert <galibert@pobox.com>
14351 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14352 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14354 * symbols.c (init_symbols_once_early): Removed obsolete
14355 DATA_SEG_BITS related kludge.
14356 (defvar_magic): Ditto.
14358 * malloc.c: Removed obsolete DATA_SEG_BITS
14360 * mem-limits.h: Ditto.
14362 * Makefile.in.in: Removed obsolete HAVE_SHM
14365 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14367 * device-msw.c (mswindows_delete_device): Free DDE string
14370 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14372 * keymap.c (get_keyelt):
14373 * unexnt.c (unexec):
14374 * vm-limit.c (memory_warnings):
14375 * ntheap.c (recreate_heap):
14376 * ntheap.h (UNINIT_PTR):
14377 * select-msw.c (Fmswindows_get_clipboard):
14378 (Fmswindows_set_clipboard):
14379 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14381 * menubar-msw.c (displayable_menu_item):
14383 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14384 * sysdep.c (sys_subshell):
14385 * process-nt.c (nt_create_process):
14386 * nt.c (normalize_filename):
14387 (dostounix_filename):
14388 (unixtodos_filename):
14389 * ntproc.c (win32_executable_type):
14390 * ntplay.c (play_sound_data_1):
14392 * editfns.c (get_home_directory):
14393 * event-msw.c (struct winsock_stream):
14394 (mswindows_dde_callback):
14395 * device-msw.c (msprinter_init_device):
14396 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14398 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14399 mswindows_clear_toolbar were swapped!
14401 * objects-msw.c:(colormap_t):
14403 * emacs.c (struct standard_args): Fixed const jumble.
14405 * glyphs-widget.c (update_widget): Fixed comparison notation.
14407 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14409 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14410 __declspec(noreturn) syntax.
14412 2000-02-19 Martin Buchholz <martin@xemacs.org>
14414 * eldap.c (Fldap_open):
14415 (Fldap_search_basic):
14418 Use new coding system conversion macros.
14420 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14422 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14424 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14426 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14427 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14429 * eldap.c (Qadd, Qreplace): New constant symbols
14430 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14431 interruptions by XEmacs signals
14432 Remove unnecessary calls to slow_down_interrupts and
14433 speed_up_interrupts
14434 (Fldap_search_basic): Renamed from Fldap_search_internal
14435 Added new optional parameter VERBOSE that triggers the
14436 display of progress messages
14437 Remove unnecessary calls to slow_down_interrupts and
14438 speed_up_interrupts
14439 LDAP result code analysis rewritten
14440 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14441 (syms_of_eldap): Define the new symbols and functions
14444 2000-02-17 Martin Buchholz <martin@xemacs.org>
14446 * realpath.c: Determine PATH_MAX maximally portably.
14448 * insdel.c (bytecount_to_charcount): Optimize.
14449 The function used to be optimized for entirely ASCII sequences.
14450 Now it is optimized for successive characters from the same
14451 charset. This also wins big for _mostly_ ASCII sequences.
14453 * fileio.c (Ffile_truename): convert return from realpath() using
14454 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14455 - Rewrite GCPROing slightly.
14457 * sysdep.c (sys_open): Do filename conversion, like all other
14458 sys_* functions. Fixes bug:
14459 (let ((file-name-coding-system 'iso-8859-2))
14460 (write-region x y latin2-name))
14461 ==> writes filename using internal encoding.
14463 2000-02-18 Martin Buchholz <martin@xemacs.org>
14465 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14466 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14467 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14468 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14469 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14470 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14471 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14472 (CONST_IF_NOT_DEBUG): Delete.
14473 * alloc.c (this_one_is_unmarkable): Delete.
14474 (mark_object): Don't check for this_one_is_unmarkable. Use the
14475 c_readonly flag instead.
14476 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14478 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14480 * event-msw.c (mswindows_drain_windows_queue):
14481 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14482 away redundant repaint events.
14484 2000-02-17 Andy Piper <andy@xemacs.org>
14486 * redisplay.h: declare mark_redisplay_structs.
14488 * redisplay.c (redisplay_window):
14489 (redisplay_frame): don't check subwindows_state_changed.
14490 (mark_redisplay): mark gutters here.
14492 * glyphs.c: (instantiate_image_instantiator): always layout if we
14493 haven't done so already.
14494 (allocate_image_instance): don't mark as dirty.
14495 (update_subwindow): bind inhibit_quit.
14497 * gutter.c (mark_gutters): new function.
14499 * glyphs-x.c (x_update_widget): Always resize to get round a
14502 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14503 breaking absolutely everything.
14505 * gutter.h: declare mark_gutters.
14507 2000-02-16 Martin Buchholz <martin@xemacs.org>
14509 * XEmacs 21.2.29 is released.
14511 2000-02-15 Olivier Galibert <galibert@pobox.com>
14513 * fns.c (size_bit_vector): Fix computation of the size.
14515 2000-02-15 Martin Buchholz <martin@xemacs.org>
14517 * *.[ch]: Change CONST to const globally.
14518 find -name '*.[ch]' | \
14519 xargs global-replace \
14520 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14521 - Remove vestigial references to CONST_IS_LOSING
14523 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14525 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14526 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14527 events instead of dispatching them directly.
14528 (mswindows_handle_paint): New function to do repainting.
14529 (mswindows_wnd_proc):
14530 (emacs_mswindows_handle_magic_event): Call above function.
14532 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14534 * objects-msw.c (mswindows_create_font_variant): Return the new
14536 (initialize_font_instance): Get font metrics from the underlined
14537 variant of the font to cope with the case where the underlined
14538 font has a bigger descent.
14540 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14542 * gui.c (gui_item_accelerator): Return the first underlined
14543 character in item name.
14545 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14547 * lisp.h: Added Qprinter.
14549 * general.c (syms_of_general): Initialized it.
14551 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14553 (get_frame_compdc): Made inline.
14555 * console.h (struct console_methods): Added eject_page method.
14557 * frame.h: Added FRAME_DISPLAY_P and friends.
14558 Aligned backslahes in many macros in more readable fashion.
14559 Added page_number to struct frame, and an accessor macro
14562 * defice.h: Added DEVICE_DISPLAY_P and friends.
14564 * device.c (Fdevice_printer_p): Used these.
14566 * frame.c (allocate_frame_core): Initialize page number.
14567 (Fprint_job_page_number):
14568 (Fprint_job_eject_page): Implemented.
14570 * frame-msw.c (msprinter_eject_page): Added method.
14571 (msprinter_start_page): Added.
14573 * window.c (Fwindow_truncated_p): Fixed docstring.
14574 (Fwindow_last_line_visible_height): Implemented.
14576 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14578 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14580 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14582 * syntax.c (scan_words): Always advance at least one character.
14584 2000-02-13 Andy Piper <andy@xemacs.org>
14586 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14587 to make sure the glyph is in the cachels.
14589 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14590 global image instance flag.
14591 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14592 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14594 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14595 (Fset_image_instance_property): mark layout as changed.
14596 (invalidate_glyph_geometry_maybe): mark layout as changed.
14597 (glyph_width): use new NEEDS_LAYOUT macro.
14598 (glyph_ascent): ditto.
14599 (glyph_descent): ditto.
14600 (glyph_height): ditto.
14601 (image_instance_layout): mark layout as clean after laying out.
14602 (update_subwindow): don't mark layout as clean here.
14604 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14605 should no longer be needed.
14607 * glyphs-x.c (x_update_widget): sanitize asserts.
14608 (x_finalize_image_instance): sanitize assignment to widgets.
14610 * glyphs-widget.c (widget_instantiate): don't need to clear the
14613 2000-02-13 Martin Buchholz <martin@xemacs.org>
14615 * sysdep.c (getcwd): Use standard prototype.
14616 * sysdep.h (getcwd): Use standard prototype.
14618 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14619 (sequence, start, end).
14620 Remove redundant type checking.
14621 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14622 view of `caller-protects') to avoid a crash where the real fix was
14625 2000-02-12 Martin Buchholz <martin@xemacs.org>
14627 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14629 * s/sol2.h: Remove feature macro initialization.
14631 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14632 (vector_hash): New. Code from internal_hash.
14634 Fix up allocation subsystem comments.
14636 * config.h.in: Add __EXTENSIONS__ for Solaris.
14638 * systime.h (EMACS_GETTIMEOFDAY): New.
14639 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14640 Remove Solaris-specific code.
14641 Use void* for the (ignored) second arg for gettimeofday().
14643 * elhash.c (hash_table_hash): Implement it, finally.
14644 * elhash.c: Use hashcode_t.
14646 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14647 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14649 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14650 * fns.c (size_bit_vector):
14651 * alloc.c (size_vector):
14652 (make_vector_internal):
14653 (make_bit_vector_internal):
14654 (sweep_bit_vectors_1):
14655 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14657 2000-02-10 Martin Buchholz <martin@xemacs.org>
14659 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14660 Include strings.h to avoid warnings for bzero and strcasecmp.
14662 2000-02-10 Olivier Galibert <galibert@pobox.com>
14664 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14665 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14667 * fns.c (size_bit_vector): New. Declare bit vectors as a
14670 2000-02-10 Olivier Galibert <galibert@pobox.com>
14672 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14673 use a value field instead.
14674 (symbol_value_forward_forward): Use value field.
14675 (DEFVAR_SYMVAL_FWD): Use value field.
14676 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14677 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14678 (DEFVAR_CONST_INT): Ditto.
14679 (DEFVAR_BOOL): Ditto.
14680 (DEFVAR_CONST_BOOL): Ditto.
14681 (DEFVAR_INT_MAGIC): Ditto.
14682 (DEFVAR_BOOL_MAGIC): Ditto.
14684 * symbols.c (guts_of_unbound_marker): Use value field.
14685 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14686 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14688 * lisp.h: Declare dumpopaque and noninteractive1.
14690 * alloc.c (dumpopaque): Added.
14691 (pdump_dump_opaquevec): Added.
14692 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14693 (pdump_load): Reload opaque data. Sync noninteractive1 with
14696 2000-02-10 Andy Piper <andy@xemacs.org>
14698 * glyphs.c (image_instance_layout): if the size changes, mark it
14701 * redisplay-output.c (redisplay_output_layout): Update the
14703 (redisplay_output_subwindow): ditto.
14705 * glyphs.c (update_subwindow): make sure we reset flags for
14706 layouts as well as everything else.
14708 * glyphs-widget.c (layout_layout): don't need to set the instances
14711 2000-02-09 Martin Buchholz <martin@xemacs.org>
14713 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14714 not HAVE_DLOPEN, which is a lower-level thing.
14716 * .cvsignore: Ignore gmon.out
14718 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14720 * .cvsignore: Ignore portable dumper xemacs.dmp file
14722 2000-02-09 Andy Piper <andy@xemacs.org>
14724 * redisplay-output.c (redisplay_output_layout): be more clever
14725 about when we output based on the changed flags.
14727 * glyphs.h (struct image_instantiator_methods): add update_method.
14728 (struct Lisp_Image_Instance): add changed flags. Declare new
14729 macros for manipulating them.
14731 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14732 (image_instance_parent_glyph): find an image_instance's parent
14733 glyph or image_instance.
14734 (image_instance_layout): mark the size as changed.
14735 (set_image_instance_dirty_p): new function. mark an image
14736 instance, plus all of its parents, as dirty.
14737 (Fset_image_instance_property): use it.
14738 (Fglyph_animated_timeout_handler): use it.
14739 (update_subwindow): call update_widget and device methods for
14740 update_subwindow. Mark all changed flags as clean.
14741 (Fresize_subwindow): mark size as changed.
14743 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14745 (x_update_subwindow): only resize subwindows here.
14746 (x_update_widget): new function. Update all changed properties of
14748 (x_resize_subwindow): deleted.
14749 (x_widget_set_property): deleted.
14750 (x_progress_gauge_set_property): deleted.
14751 (x_progress_gauge_update): new function. Implement recorded
14753 (x_tab_control_update): ditto.
14754 (x_tab_control_set_property): deleted.
14755 (console_type_create_glyphs_x): declare new functions.
14756 (image_instantiator_format_create_glyphs_x): ditto.
14758 * glyphs-widget.c (widget_set_property): mark text changed.
14759 (update_widget): new function. Update properties of a widget.
14760 (widget_instantiate): for layouts make sure we set their
14761 children's parent correctly.
14762 (tab_control_set_property): new function. Record changes that will
14763 take place under redisplay's control.
14764 (progress_gauge_set_property): ditto.
14765 (image_instantiator_progress_guage): declare new functions.
14766 (image_instantiator_tab_control): ditto.
14768 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14770 (mswindows_update_widget): new function. Update all properties on
14771 a widget that have changed.
14772 (mswindows_button_update): new function. Update a button's set
14774 (mswindows_tab_control_update): new function. Update the items in
14776 (mswindows_tab_control_set_property): deleted.
14777 (mswindows_progress_gauge_update): new function. Update the
14778 progress gauge's progress.
14779 (mswindows_widget_set_property): deleted. This is all done
14780 asynchronously now.
14781 (mswindows_progress_gauge_set_property): ditto.
14782 (console_type_create_glyphs_mswindows): declare new methods.
14783 (image_instantiator_format_create_glyphs_mswindows): ditto.
14785 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14786 (msprinter_set_frame_properties): ditto.
14788 * console.h (struct console_methods): Add update_widget_method.
14790 2000-02-09 Andy Piper <andy@xemacs.org>
14792 * gui-msw.c (Fmswindows_shell_execute): Make
14793 mswindows-shell-execute industrial strength.
14795 2000-02-08 Martin Buchholz <martin@xemacs.org>
14797 * lrecord.h: Make macro argument `props' match member function `plist'.
14800 * fns.c (Fremprop):
14801 * fns.c (Fobject_plist):
14804 Object property list frobbing cleanup.
14805 - Allow any lisp object (compared with `eq'), not just symbols, as
14806 keys in object plists.
14807 - Move symbol plist frobbing into symbols.c, where it belongs.
14808 - Move string plist frobbing into alloc.c, where it belongs.
14809 - Everything's an lrecord now, so no need to test for symbolp, etc.
14810 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14812 * extents.c: Reorder code to remove declarations.
14814 * frame.h (store_in_alist): Remove useless declaration.
14816 2000-02-07 Martin Buchholz <martin@xemacs.org>
14818 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14819 * config.h.in: Add HAVE_XCONVERTCASE.
14821 2000-02-07 Andy Piper <andy@xemacs.org>
14823 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14824 it breaks many things.
14826 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14828 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14829 actually can start a common comment type.
14830 * src/syntax.h (SYNTAX_END_P): ditto for end.
14832 2000-02-07 Martin Buchholz <martin@xemacs.org>
14834 * XEmacs 21.2.28 is released.
14836 2000-02-06 Martin Buchholz <martin@xemacs.org>
14838 * event-Xt.c (x_keysym_to_character): New.
14839 (maybe_define_x_key_as_self_inserting_character): New.
14840 (x_has_keysym): New.
14841 Auto-define all keys on the keyboard as self-insert-key.
14843 2000-02-02 Martin Buchholz <martin@xemacs.org>
14845 * menubar.c (vars_of_menubar): A small code simplification.
14847 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14850 * ExternalClient.c:
14851 * EmacsShell-sub.c:
14854 Use consistent style for specifying X resources.
14856 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14857 This makes (dontusethis-set-symbol-value-handler) actually usable.
14859 * lrecord.h (lrecord_decription_type):
14860 * alloc.c (pdump_register_sub):
14863 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14864 Comply with XEmacs coding style.
14865 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14866 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14868 * keymap.c (Faccessible_keymaps):
14869 Make (accessible-keymaps map "\C-h") do the Right Thing.
14870 Make (accessible-keymaps map []) do the Right Thing.
14871 Make (accessible-keymaps map "") do the Right Thing.
14872 (check_keymap_definition_loop): New function.
14873 (keymap_store_internal): Keep luser from shooting self in foot,
14874 via (define-key ctl-x-4-map "p" global-map).
14875 Remove fullness slot from struct Lisp_Keymap, since hash tables
14877 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14879 2000-01-30 Martin Buchholz <martin@xemacs.org>
14881 * redisplay.c (init_redisplay): Fix small memory leak.
14883 * elhash.c (pdump_reorganize_hash_table):
14884 Rename from reorganize_hash_table. Change prototype.
14885 Reuse the original memory for hentries. Save 100k.
14886 * alloc.c (PDUMP_READ): new macro.
14887 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14888 * alloc.c: No need to #ifndef before #undef.
14890 * print.c: Allow debug_print() to print readably by modifying
14891 debug_print_readably. Use consistent variable names.
14893 * .dbxrc: Try to get things to work even if stopped in a function
14894 without source available by explicitly specifying source files.
14895 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14897 * unexnt.c (_start): Removed bogus code which caused loading heap
14898 from differrent executable file.
14899 Removed bogus assignment to _fmode, which caused inconsistencies.
14901 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14903 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14904 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14905 Do not preliminary `#define signal sigset'.
14907 * systime.h: Do not prototype environ on windows nt and cygwin,
14908 this conflicts with system header.
14910 * syssignal.h: Use correct define for WINDOWSNT
14912 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14913 with system header.
14915 * sysdep.c (near start of file): Fixed commentary and rearranged
14916 ifdefs in readable order.
14917 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14920 (end_of_data): Do not compile in if using PDUMP.
14922 * symsinit.h: Prototyped vars_of_nt().
14924 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14925 (find_child_console): Use it.
14926 (sys_kill): Use it.
14928 * ntheap.h: Do not extern os_subtype.
14930 * ntheap.c (cache_system_info): Do not cache unneeded:
14931 nt_major_version, nt_minor_version and os_subtype.
14932 (recreate_heap): Do not compile in when PDUMPing.
14934 * nt.c (geteuid and friends): Use the new varibale
14935 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14936 (init_user_info): Removed the above mentioned hackery.
14937 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14938 stat has been fixed in the C runtime.
14939 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14941 * file-coding.c (struct file_coding_dump): Do not define
14942 ucs_to_mule_table in the struct if not MULE.
14943 (struct struct lrecord_description fcd_description_1): Do not dump
14946 * emacs.c (main_1): Call vars_of_nt().
14947 (right before Fdump_emacs_data): Don't need lastfile if using both
14948 portabe dumper and system malloc.
14950 * alloc.c (Fmemory_limit): Conditionalized out.
14951 (pdump): Use OPEN_BINARY for the portable dump file.
14952 (pdump_load): Ditto.
14954 2000-02-02 Mike Alexander <mta@arbortext.com>
14956 * nt.c (convert_time): Set tm_isdst before calling mktime and
14957 avoid calling it at all if the compiler supports 64 bit integers.
14958 Also initialize utc_base_ft before using it.
14960 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14962 * frame.c (change_frame_size_1): Take f->internal_border_width
14963 into consideration when calculating the width of the frame.
14965 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14967 * window.c (frame_min_height):
14968 (frame_size_valid_p):
14969 (frame_pixsize_valid_p): Added.
14970 (check_frame_size): Generalized.
14972 * window.h: Prototyped the above.
14975 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14976 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14977 Deleted Vwin32_* and Vbinary_process_* unused variables.
14979 * device-msw.c (msprinter_init_device): Do not get printer font
14980 list; Added DEVMODE functions.
14982 * frame-msw.c: Added lots of printer code.
14984 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14987 * console-msw.h: Added more msprinter device private slots.
14989 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14991 * event-msw.c (key_needs_default_processing_p): Added.
14992 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14994 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14996 * glyphs.c (image_instance_layout): Mark image instance as clean
14998 (glyph_dirty_p): Removed redundant function.
14999 (invalidate_glyph_geometry_maybe): Added.
15000 (update_glyph_cachel_data): Call it.
15002 * glyphs.h: Prototyped it.
15004 * redisplay.c (add_glyph_rune): Call it.
15005 (redisplay_window): Reset glyphs cachels when frame faces have
15006 changed, thus forcing recomputation of built-in border glyphs.
15008 2000-01-30 Martin Buchholz <martin@xemacs.org>
15010 * Makefile.in.in: Make portable dumper and purify play well together.
15011 Add imperfect, but better than nothing, support for pdump.
15012 Remove xemacs.dmp when temacs is re-generated.
15013 Don't ignore errors when dumping xemacs.
15015 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15017 2000-01-28 Andy Piper <andy@xemacs.org>
15019 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15020 (setup_normal_frame): ditto.
15021 (setup_frame_without_minibuffer): ditto.
15022 (setup_minibuffer_frame): ditto.
15023 (delete_frame_internal): ditto.
15024 (Fmake_frame_invisible): ditto.
15025 (Ficonify_frame): ditto.
15027 * window.h: change Fset_window_buffer signature.
15029 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15030 (Fset_window_buffer): allow recording of buffer if the window is
15031 the selected window.
15032 (window_loop): Use new Fset_window signature.
15034 2000-01-23 Daniel Pittman <daniel@danann.net>
15036 * config.h.in: Added template for `HAVE_ATHENA_3D'
15038 2000-01-29 Andy Piper <andy@xemacs.org>
15040 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15042 * gutter.c (output_gutter): Don't output if the window isn't live.
15044 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15046 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15047 of 01/12/00: Moved SetFocus back here where it belongs.
15049 2000-01-23 Andy Piper <andy@xemacs.org>
15051 * s/cygwin32.h: declare printer things.
15053 2000-01-26 Andy Piper <andy@xemacs.org>
15055 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15058 2000-01-24 Andy Piper <andy@xemacs.org>
15060 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15061 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15063 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15065 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15067 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15069 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15070 (mswindows_output_display_block): Avoid local shadows.
15072 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15073 (mswindows_enqueue_mouse_button_event): ditto.
15074 (mswindows_handle_gui_wm_command): remove declaration.
15076 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15079 * console-msw.h: Avoid shadows.
15080 (mswindows_get_toolbar_button_text):
15081 (emacs_mswindows_create_stream_pair):
15082 (emacs_mswindows_delete_stream_pair):
15083 (mswindows_handle_toolbar_wm_command): declare.
15085 * device-msw.c (build_syscolor_string): Avoid shadows.
15087 2000-01-23 Andy Piper <andy@xemacs.org>
15089 * glyphs-widget.c (widget_instantiate): reverse the items for
15090 layouts so that children are in the expected order.
15092 2000-01-28 Martin Buchholz <martin@xemacs.org>
15094 * ralloc.c: safe_bcopy ==> memmove
15095 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15096 * s/msdos.h: Remove BCOPY macros.
15097 * insdel.c (gap_right): Remove BCOPY conditional code.
15098 * insdel.c (gap_left): Remove BCOPY conditional code.
15099 XEmacs demands a working ANSI C compiler - hence memmove.
15101 * regex.c (regex_compile): Remove accidental use of trigraphs.
15103 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15105 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15108 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15110 * event-msw.c (mswindows_drain_windows_queue): Added the
15112 (mswindows_need_event): Commented the call to
15113 mswindows_drain_windows_queue().
15114 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15117 * console-msw.h: Moved a few function prototypes here from
15120 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15121 parameter from unsigned short to unsigned long.
15122 (Fmswindows_shell_execute): Added return value.
15124 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15126 * sysdep.c (init_system_name):
15127 process-unix.c (unix_canonicalized_host_name):
15128 Don't call freeaddrinfo() if getaddrinfo() fails.
15130 * process-unix.c (unix_open_unix_network_stream):
15131 Moved the code to get a port # into address loop.
15133 2000-01-27 Martin Buchholz <martin@xemacs.org>
15135 * buffer.c (reinit_vars_of_buffer):
15136 The right place to initialize conversion_in_dynarr and
15137 conversion_out_dynarr.
15139 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15141 * process-unix.c (unix_canonicalize_host_name): Muleize.
15142 (unix_open_network_stream): Muleize.
15144 * buffer.h: Fix up prototypes for ralloc.c functions.
15146 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15147 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15148 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15149 instead of gethostbyname()
15150 * process-unix.c: In unix_canonicalize_host_name() and
15151 unix_open_network_stream(), add code to use getaddrinfo()
15152 instead of gethostbyname().
15154 2000-01-27 Daniel Pittman <daniel@danann.net>
15156 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15157 libs when built with flat Athena.
15159 2000-01-27 Martin Buchholz <martin@xemacs.org>
15161 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15162 Use coding standards for function prototypes.
15164 2000-01-25 Martin Buchholz <martin@xemacs.org>
15166 * dialog-msw.c (push_lisp_string_as_unicode):
15167 * doc.c (unparesseuxify_doc_string):
15168 * dired.c (Fuser_name_completion_1):
15169 * dired.c (Fuser_name_all_completions):
15170 * dired.c (free_user_cache):
15171 * dired.c (user_name_completion):
15172 * console-x.c (get_display_arg_connection):
15173 * minibuf.c (clear_echo_area_internal):
15174 * minibuf.c (echo_area_append):
15175 * eldap.c (Fldap_open):
15176 * eldap.c (Fldap_search_internal):
15177 * frame-x.c (x_set_frame_text_value):
15178 * frame-x.c (x_set_frame_properties):
15179 * frame-x.c (x_create_widgets):
15180 * redisplay-tty.c (term_get_fkeys_1):
15181 * objects-x.c (x_parse_nearest_color):
15182 * objects-x.c (x_valid_color_name_p):
15183 * objects-x.c (x_initialize_font_instance):
15184 * objects-x.c (x_list_fonts):
15185 * objects-x.c (x_find_charset_font):
15186 * tooltalk.c (Fadd_tooltalk_message_arg):
15187 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15188 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15189 * process-unix.c (unix_create_process):
15190 * ntproc.c (sys_spawnve):
15191 * sound.c (Fplay_sound_file):
15192 * sound.c (Fplay_sound):
15193 * buffer.c (init_initial_directory):
15194 * buffer.c (init_buffer):
15195 * editfns.c (init_editfns):
15196 * editfns.c (Ftemp_directory):
15197 * editfns.c (Fuser_full_name):
15198 * editfns.c (uncache_home_directory):
15199 * editfns.c (get_home_directory):
15200 * editfns.c (Fuser_home_directory):
15201 * editfns.c (Fformat_time_string):
15202 * editfns.c (Fcurrent_time_string):
15203 * gui-x.c (button_item_to_widget_value):
15204 * database.c (Fopen_database):
15205 * event-Xt.c (x_to_emacs_keysym):
15206 * event-Xt.c (x_event_to_emacs_event):
15207 * event-Xt.c (describe_event_window):
15208 * event-msw.c (mswindows_wnd_proc):
15209 * glyphs-eimage.c (jpeg_instantiate):
15210 * glyphs-eimage.c (gif_instantiate):
15211 * glyphs-eimage.c (png_instantiate):
15212 * glyphs-eimage.c (tiff_instantiate):
15213 * glyphs-x.c (xbm_instantiate_1):
15214 * glyphs-x.c (x_xbm_instantiate):
15215 * glyphs-x.c (x_xface_instantiate):
15216 * glyphs-x.c (autodetect_instantiate):
15217 * glyphs-x.c (cursor_font_instantiate):
15218 * glyphs-x.c (x_widget_instantiate):
15219 * glyphs-x.c (x_widget_set_property):
15220 * glyphs-x.c (x_widget_property):
15221 * glyphs-x.c (BUILD_GLYPH_INST):
15222 * print.c (write_string_to_stdio_stream):
15223 * print.c (output_string):
15224 * print.c (Falternate_debugging_output):
15225 * print.c (Fexternal_debugging_output):
15226 * glyphs-msw.c (extract_xpm_color_names):
15227 * glyphs-msw.c (mswindows_xpm_instantiate):
15228 * glyphs-msw.c (bmp_instantiate):
15229 * glyphs-msw.c (resource_name_to_resource):
15230 * glyphs-msw.c (mswindows_resource_instantiate):
15231 * glyphs-msw.c (xbm_instantiate_1):
15232 * glyphs-msw.c (mswindows_xbm_instantiate):
15233 * glyphs-msw.c (mswindows_xface_instantiate):
15234 * glyphs-msw.c (mswindows_widget_instantiate):
15235 * glyphs-msw.c (add_tree_item):
15236 * glyphs-msw.c (add_tab_item):
15237 * glyphs-msw.c (mswindows_combo_box_instantiate):
15238 * glyphs-msw.c (mswindows_widget_property):
15239 * glyphs-msw.c (mswindows_combo_box_property):
15240 * glyphs-msw.c (mswindows_widget_set_property):
15241 * console.c (stuff_buffered_input):
15242 * objects-msw.c (mswindows_initialize_color_instance):
15243 * objects-msw.c (mswindows_valid_color_name_p):
15244 * objects-msw.c (mswindows_list_fonts):
15245 * objects-msw.c (mswindows_font_instance_truename):
15246 * bytecode.c (optimize_compiled_function):
15247 * select-x.c (symbol_to_x_atom):
15248 * select-x.c (x_atom_to_symbol):
15249 * select-x.c (hack_motif_clipboard_selection):
15250 * select-x.c (selection_data_to_lisp_data):
15251 * select-x.c (lisp_data_to_selection_data):
15252 * select-x.c (Fx_get_cutbuffer_internal):
15253 * select-x.c (Fx_store_cutbuffer_internal):
15254 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15255 * buffer.h (TO_INTERNAL_FORMAT): New function.
15256 * emacs.c (make_arg_list_1):
15257 * emacs.c (make_argc_argv):
15258 * emacs.c (main_1):
15259 * emacs.c (Fdump_emacs):
15260 * emacs.c (split_string_by_emchar_1):
15265 * device-x.c (x_init_device):
15266 * device-x.c (Fx_valid_keysym_name_p):
15267 * device-x.c (Fx_get_font_path):
15268 * device-x.c (Fx_set_font_path):
15269 * glyphs.c (bitmap_to_lisp_data):
15270 * glyphs.c (pixmap_to_lisp_data):
15271 * alloc.c (make_ext_string): Use coding system arguments. Update
15273 * alloc.c (build_string):
15274 * callproc.c (child_setup):
15275 * callproc.c (init_callproc):
15276 * fileio.c (lisp_strerror):
15277 * fileio.c (directory_file_name):
15278 * fileio.c (Fexpand_file_name):
15279 * fileio.c (Ffile_truename):
15280 * fileio.c (Fsysnetunam):
15281 * fileio.c (Fdo_auto_save):
15282 * sysdep.c (sys_readdir):
15283 * tests.c: New file. Allow adding C tests.
15284 Replace GET_* macros with a more comprehensible and flexible
15285 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15287 Any coding system can be used to do format conversion.
15288 Eliminate enum external_data_format.
15289 Eliminate convert_to_external_format.
15290 Eliminate convert_to_internal_format.
15291 Make sure file-name, keyboard, terminal, and ctext are always
15292 defined as coding systems or aliases. Make
15293 file-name-coding-system, terminal-coding-system, and
15294 keyboard-coding-system magical variables that are equivalent to
15295 defining the corresponding coding system aliases.
15297 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15298 * file-coding.c (Fcoding_system_alias_p): New function.
15299 * file-coding.c (Fcoding_system_aliasee): New function.
15300 * file-coding.c (append_suffix_to_symbol): New function.
15301 * file-coding.c (dangling_coding_system_alias_p): New function.
15302 * file-coding.c (Ffind_coding_system):
15303 * file-coding.c (Fcopy_coding_system):
15304 * file-coding.c (encode_coding_no_conversion):
15305 * file-coding.c (syms_of_file_coding):
15306 * file-coding.c (vars_of_file_coding):
15307 Rewrite coding system alias code.
15308 Allow nested aliases, like symbolic links.
15309 Allow redefinition of coding system aliases.
15310 Prevent existence of dangling coding system aliases.
15312 * dired.c (Fuser_name_completion_1):
15313 * dired.c (Fuser_name_all_completions):
15314 A crash would happen if user did QUIT in the middle of building
15315 user_name_cache. Remove redundant code in mainline and unwind_protect.
15318 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15320 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15321 an unsigned char *. Update all callers.
15323 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15325 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15327 2000-01-25 Martin Buchholz <martin@xemacs.org>
15329 * elhash.c (hentry_description): Use more portable definition.
15330 (resize_hash_table): Initialize new hentries using
15331 xnew_array_and_zero, thereby simplifying the code.
15333 * mule-charset.c (make_charset): Make sure entire object is
15334 initialized, to avoid Purify warnings.
15336 * alloc.c (resize_string): Fix unlikely crash with big strings.
15338 2000-01-24 Martin Buchholz <martin@xemacs.org>
15340 * realpath.c (xrealpath):
15341 Don't call getwd().
15343 2000-01-25 Martin Buchholz <martin@xemacs.org>
15345 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15347 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15349 * unexelfsgi.c (unexec): Change the way we decide which segment
15350 should be extended.
15352 Assumption that .bss section should be outside the PT_LOADable
15353 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15354 it's present) is inside the 'data' segment. This would fail the
15355 test which was used to find a segment to grow and cover new
15356 heap. Instead of this assumption, I created another one - on IRIX
15357 the segment to grow should start below .bss and it's address
15358 should extent above the end of .bss. Once this segment is
15359 identified, it's grown to accommodate the new heap and new
15360 zero-length .bss section is added at the end of .data2.
15362 2000-01-25 Martin Buchholz <martin@xemacs.org>
15364 * eval.c (Feval): Wrong number of arguments should use original
15365 function, not the indirect_function version of it.
15367 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15369 * glyphs-x.c (x_button_instantiate): Don't add image if
15370 it is not a pixmap.
15371 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15374 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15376 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15378 (DEFVAR_INT_MAGIC): Ditto.
15379 (DEFVAR_BOOL_MAGIC): Ditto.
15380 * glyphs.h: Reindent backslash.
15382 2000-01-24 Martin Buchholz <martin@xemacs.org>
15384 * glyphs-widget.c (layout_query_geometry):
15385 (layout_layout): Use correct types for gheight, gwidth.
15387 2000-01-24 Martin Buchholz <martin@xemacs.org>
15389 * EmacsManager.c (QueryGeometry): Purified.
15391 2000-01-23 Martin Buchholz <martin@xemacs.org>
15393 * alloc.c (make_float): Make sure entire object is initialized, to
15394 avoid Purify warnings.
15395 (pdump_register_sub): Remove useless assignment.
15396 (pdump): Use xmalloc, not malloc.
15397 (pdump_load): Use xmalloc, not malloc.
15399 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15406 * sysdep.c: Removed redundant #include <windows.h>
15408 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15410 * frame.c (delete_frame_internal): Do not delete device when its
15411 implementation so declares.
15412 (delete_frame_internal): Set device selected frame to nil when
15413 last frame goes away.
15415 * device-msw.c (msprinter_device_system_metrics): Implemented.
15416 (mswindows_device_system_metrics): Added 'device-dpi property.
15418 * device.c: (Fdevice_printer_p): Added.
15419 Added 'offset-workspace device metric.
15421 * console.h (device_metrics): Declared DM_offset_workspace.
15423 2000-01-23 Martin Buchholz <martin@xemacs.org>
15425 * fileio.c (Ffile_truename): Remove pointless and confusing
15426 initialization of elen.
15428 * glyphs-widget.c: Compiler warning fixes.
15430 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15432 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15433 instead of a Lisp_Object as argument to make it consistent with
15434 the other LIVE_P macros.
15435 (CHECK_LIVE_PROCESS): New macro.
15437 * process.c: Declare Qprocess_live_p.
15438 (Fprocess_live_p): New function.
15439 (create_process): Use PROCESS_LIVE_P.
15440 (read_process_output): Ditto.
15441 (set_process_filter): Ditto.
15442 (Fdelete_process): Ditto.
15443 (kill_buffer_processes): Ditto
15444 (process_send_signal): Use CHECK_LIVE_PROCESS.
15445 (Fprocess_input_coding_system): Check whether process is still
15446 alive (fix PR#1061).
15447 (Fprocess_output_coding_system): Ditto.
15448 (Fprocess_coding_system): Ditto.
15449 (Fset_process_input_coding_system): Ditto.
15450 (Fset_process_output_coding_system): Ditto.
15452 2000-01-23 Andy Piper <andy@xemacs.org>
15454 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15457 * glyphs.c (mark_image_instance): take into account changed
15458 image_instance format.
15459 (image_instance_equal): ditto.
15460 (image_instance_hash): ditto.
15462 * glyphs-widget.c (widget_instantiate): Incorporate layout
15463 instantiation here. Delay layout of the layout until later.
15464 (layout_instantiate): deleted.
15465 (layout_query_geometry): new function. get the geometry of a
15467 (layout_layout): layout a layout dynamically.
15468 (image_instantiator_widget): New function - splitting up
15469 image_instantiator_format_create_glyphs_widget for netwinder
15471 (image_instantiator_buttons):
15472 (image_instantiator_edit_fields):
15473 (image_instantiator_combo_box):
15474 (image_instantiator_scrollbar):
15475 (image_instantiator_progress_guage):
15476 (image_instantiator_tree_view):
15477 (image_instantiator_tab_control):
15478 (image_instantiator_labels):
15479 (image_instantiator_layout): ditto.
15480 (image_instantiator_format_create_glyphs_widget): Call preceding
15483 2000-01-22 Martin Buchholz <martin@xemacs.org>
15485 * process.c (Fset_process_coding_system):
15486 * device-x.c (Fx_keysym_hash_table):
15489 * lstream.c (Lstream_write): Return documented value, not 0.
15491 * fileio.c (directory_file_name):
15492 (Fsubstitute_in_file_name):
15493 (Fsubstitute_insert_file_contents_internal):
15494 (Fwrite_region_internal):
15499 Remove vestigial APOLLO-conditional code.
15501 2000-01-21 Martin Buchholz <martin@xemacs.org>
15503 * getpagesize.h: Add guard macros.
15504 * libsst.h: Add guard macros.
15505 * libst.h: Add guard macros.
15506 * line-number.h: Add guard macros.
15507 * ndir.h: Add guard macros.
15508 * sysfloat.h: Add guard macros.
15509 * sysfile.h: Add guard macros.
15510 * sysproc.h: Add guard macros.
15511 * syswait.h: Add guard macros.
15512 * xintrinsic.h: Add guard macros.
15513 * xintrinsicp.h: Add guard macros.
15514 * xmmanager.h: Add guard macros.
15515 * xmmanagerp.h: Add guard macros.
15516 * xmprimitive.h: Add guard macros.
15517 * xmu.h: Add guard macros.
15518 * gpmevent.h: Add copyright statement. Add guard macros.
15519 * miscplay.h: Add guard macros.
15520 * *.h: Use consistent C-standards-approved guard macro names.
15522 * opaque.c (make_opaque): Switch parameter order.
15523 * opaque.h (make_opaque): Switch parameter order.
15524 Update all callers.
15525 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15527 * config.h.in (type_checking_assert): Added.
15528 (bufpos_checking_assert): Added.
15530 2000-01-21 Martin Buchholz <martin@xemacs.org>
15532 * alloc.c: Harmless pdump changes.
15534 - spell alignment correctly.
15535 * sysdep.c: Use countof()
15537 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15539 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15540 initially_selected_for_input() console method, default to 0.
15541 (semi_canonicalize_console_connection): Try to delegate to
15542 canonicalize_console_connection if no such console method.
15543 (canonicalize_console_connection): Vice versa.
15544 (print_console): Do not print nil connection.
15546 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15547 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15548 (XDEVIMPF_FRAMELESS_OK): Added.
15549 (CONSOLE_INHERITS_METHOD): Added.
15551 * console-msw.c (mswindows_canonicalize_console_connection):
15553 (mswindows_canonicalize_device_connection): Added.
15555 * console-msw.h (struct msprinter_device): Added this struct and
15557 (mswindows_device): Made fontlist a lisp object.
15559 * device.c (semi_canonicalize_device_connection): Try to delegate
15560 to canonicalize_device_connection if no such console method.
15561 (canonicalize_device_connection): Vice versa.
15562 (print_device): Do not print nil connection.
15564 * device-msw.c (mswindows_init_device): Call InitCommonControls
15566 (mswindows_delete_device): Removed fontlist deallocation.
15567 (mswindows_mark_device): Added.
15569 * events.c (event_equal): Added abort() at unreached code.
15570 (event_hash): Ditto.
15572 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15573 fallback tags of Windows devices.
15575 * general.c (syms_of_general): Initialized Qmsprinter.
15577 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15578 of fallback tags of Windows devices.
15580 * lisp.h: Declared Qmsprinter.
15582 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15584 (mswindows_list_fonts): Ditto.
15585 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15586 that it can be used by both mswindows and msprinter devices.
15587 (initialize_font_instance): Added.
15588 (mswindows_initialize_font_instance): Use it.
15589 (msprinter_initialize_font_instance): Added.
15591 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15592 and implementation flags check.
15593 (redisplay_without_hooks): Changed the call to the above.
15594 (Fredraw_device): Ditto.
15595 (Fredisplay_device): Ditto.
15597 * redisplay-msw.c (get_frame_dc): Implemented.
15598 (get_frame_compdc): Implemented.
15599 (many functions): Use the two functions above to get device
15600 contexts, ether for a window or a printer.
15602 2000-01-21 Olivier Galibert <galibert@pobox.com>
15604 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15605 initialization here.
15606 (init_symbols_once_early): Call it.
15607 * emacs.c (main_1): Call it.
15608 * symsinit.h: Declare it.
15610 2000-01-19 Olivier Galibert <galibert@pobox.com>
15612 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15614 (pdump_backtrace): Ditto.
15615 (pdump_register_object): Ditto. Cleanup use of the pointers.
15616 (pdump_get_entry): Abort if trying to register a null pointer.
15617 (pdump_dump_data): Cleanup types when relocating.
15618 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15619 (pdump_dump_rtables): Remove bad casts.
15620 (pdump_load): Cleanup relocation w.r.t union type. Use a
15621 Lisp_Object instead of a EMACS_INT for the hashtable
15624 2000-01-20 Martin Buchholz <martin@xemacs.org>
15626 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15628 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15630 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15632 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15634 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15636 * faces.h (FACE_STRIKETHRU_P): Added.
15638 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15641 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15642 (mswindows_set_dc_font): New function, aware of font variants,
15643 separated from mswindows_update_dc.
15645 * objects-msw.h (struct mswindows_font_instance_data): Added
15648 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15649 cached fonts and the data structure.
15650 (mswindows_initialize_font_instance): Added creation of font data
15652 (mswindows_print_font_instance): Print at least something.
15653 (mswindows_create_font_variant): Implemented.
15654 (mswindows_get_hfont): Implemented.
15656 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15658 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15659 prototyping problem with msvc.
15661 * emacs.c (main_1): added syms_of_gui_mswindows() call
15663 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15664 syms_of_gui_mswindows() function
15666 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15668 2000-01-18 Martin Buchholz <martin@xemacs.org>
15670 * XEmacs 21.2.27 is released.
15672 2000-01-18 Martin Buchholz <martin@xemacs.org>
15674 * glyphs-eimage.c (struct tiff_error_struct):
15676 (tiff_warning_func):
15677 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15682 * unexec.c: Remove vestigial Lucid C code.
15686 * libsst.c: Ansify.
15687 Remove declarations of errno and strerror().
15689 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15691 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15693 2000-01-16 Martin Buchholz <martin@xemacs.org>
15695 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15698 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15703 Change enum eol_type to eol_type_t.
15705 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15707 * gui.c (get_gui_callback): Check cons before accessing car.
15709 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15711 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15712 (XSETSPECIFIER_TYPE): Ditto.
15714 2000-01-17 Didier Verna <didier@xemacs.org>
15716 * redisplay.c (generate_fstring_runes): compute string size in
15717 characters, not bytes.
15719 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15721 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15723 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15725 * print.c (print_error_message): Call print_prepare().
15727 2000-01-14 Martin Buchholz <martin@xemacs.org>
15729 * .dbxrc: Renamed from dbxrc.
15731 * events.c (event_to_character):
15732 Use `assert (foo)' instead of `if (!foo) abort()'
15734 * .gdbinit (xtype): Add documentation.
15735 * .gdbinit (check-temacs): New function.
15736 * .gdbinit (check-xemacs): New function.
15737 * dbxrc (check-xemacs): New function.
15738 * dbxrc (check-xemacs): New function.
15740 2000-01-14 Andy Piper <andy@xemacs.org>
15742 * glyphs-widget.c (widget_query_geometry): Make sure that we
15743 calculate default dimensions correctly.
15745 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15747 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15749 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15750 pdump_wire'd variable.
15752 * emacs.c: (main_1): Conditionalized calls to
15753 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15755 2000-01-13 Martin Buchholz <martin@xemacs.org>
15757 * window.c (Fset_window_configuration):
15758 * sysdep.c (_start):
15759 * input-method-motif.c (res):
15760 * event-Xt.c (Xt_process_to_emacs_event):
15761 Simple compiler warning fixes.
15763 * bytecode.c (funcall_compiled_function): Use the original
15764 function symbol on the backtrace list in preference to the
15765 compiled_function object in error messages.
15767 2000-01-13 Andy Piper <andy@xemacs.org>
15769 * glyphs-x.c (update_widget_face): Make sure we update the widget
15770 background as well as foreground.
15772 2000-01-13 Andy Piper <andy@xemacs.org>
15774 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15775 fields to subwindow.
15776 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15777 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15778 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15779 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15781 * glyphs-widget.c (check_valid_tab_orientation): new function.
15782 (initialize_widget_image_instance): zero orientation and
15784 (widget_instantiate): pick up orientation.
15785 (tab_control_query_geometry): return appropriate values for
15788 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15789 appropriate creation flags for left, right and bottom tabs.
15791 * s/cygwin32.h: add tab definitions.
15793 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15795 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15796 frame upon hiding a subwindow.
15797 (mswindows_button_instantiate): Changed the push button style to
15799 (mswindows_button_instantiate): Removed button BS_NOTIFY
15801 (mswindows_button_instantiate): Removed redundant check for
15802 a disabled gui item.
15803 (mswindows_button_instantiate): Made use of WS_TABSTOP
15804 consistent: "operable" controls (edit, button, tree, scroll) have
15805 this style, "display-only" ones (static, progress gauge) do
15806 not. This style is currently ignored by XEmacs though. Also,
15807 removed the WS_EX_CONTROLPARENT style - it is not for children,
15808 it is for their parents!
15809 (mswindows_edit_field_instantiate): Ditto.
15810 (mswindows_progress_gauge_instantiate): Ditto.
15811 (mswindows_tree_view_instantiate): Ditto.
15812 (mswindows_tab_control_instantiate): Ditto.
15813 (mswindows_scrollbar_instantiate): Ditto.
15814 (mswindows_combo_box_instantiate): Ditto.
15815 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15816 style to the "clip" window.
15817 (mswindows_button_instantiate): Removed compilation warning by
15818 equally typing terms of the ?: operator.
15820 2000-01-12 Didier Verna <didier@xemacs.org>
15822 * redisplay.c (generate_fstring_runes): new parameter holding the
15823 last modeline-format extent.
15824 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15825 extent, fill the glyph block with it.
15826 (generate_fstring_runes): handle these parameters.
15827 (generate_formatted_string_db): ditto.
15829 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15830 glyphs'extents in the modeline.
15832 1999-01-11 Mike Woolley <mike@bulsara.com>
15834 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15835 256Mb, as a workaround for the non-starting problem many people
15838 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15840 * console-tty.c (Fset_console_tty_output_coding_system):
15841 Force redrawing tty frame.
15843 2000-01-10 Didier Verna <didier@xemacs.org>
15845 * redisplay.c (generate_fstring_runes): fix size computation bug.
15847 2000-01-09 William M. Perry <wmperry@aventail.com>
15849 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15851 2000-01-09 Andy Piper <andy@xemacs.org>
15853 * glyphs-msw.c: index -> i to avoid shadows.
15854 (xbm_create_bitmap_from_data): make static.
15855 (check_valid_string_or_int): deleted.
15856 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15858 * glyphs-x.c (x_update_subwindow): remove unused args.
15860 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15861 back pointer - this is done in allocate_image_instance.
15862 (query_string_font): return Qnil to make the compiler happy.
15863 (unmap_subwindow): set to ~0 to make the compiler happy.
15864 (glyph_query_geometry): comment out until used.
15865 (glyph_layout): ditto.
15867 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15869 * insdel.c (signal_after_change): Remove extraneous unbind_to().