1 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
3 * chartab.c (Fput_char_table_map_function): Fixed.
4 (word_boundary_p): Don't check charset in XEmacs CHISE.
6 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
8 * mule-charset.c (Fsave_charset_mapping_table): Use
9 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
10 instead of `chise_open_decoding_table'; refer
11 `default_chise_data_source'; use `chise_dt_close' instead of
12 `chise_close_decoding_table'.
13 (load_char_decoding_entry_maybe): Likewise.
15 * chartab.c (default_chise_data_source): New variable when `CHISE'
17 (Fcopy_char_table): `ct->ds' is deleted.
18 (open_chise_data_source_maybe): New function.
19 (Fclose_char_data_source): New function.
20 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
21 use `chise_ds_open_feature_table' instead of
22 `chise_open_feature_table'.
23 (char_table_close_db_maybe): Use `chise_ft_close' instead of
24 `chise_close_feature_table'; `cit->ds' is deleted.
25 (syms_of_chartab): Add new builtin function
26 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
28 * chartab.h (default_chise_data_source): New extern variable.
29 (open_chise_data_source_maybe): New prototype.
30 (struct Lisp_Char_Table): Delete `ds'.
32 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
34 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
37 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
39 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
40 not defined; add code for non-libchise setting.
41 (char_table_close_db_maybe): Likewise.
42 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
44 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
45 even if `CHISE' is not defined.
46 (Freset_char_attribute_table): Likewise.
47 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
48 `char_table_close_db_maybe' even if `CHISE' is not defined; use
50 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
51 `char_table_close_db_maybe' even if `CHISE' is not defined.
53 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
55 * chartab.c (char_table_open_db_maybe): New function.
56 (char_table_close_db_maybe): New function.
57 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
58 (Freset_char_attribute_table): Likewise.
59 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
60 `char_table_close_db_maybe'.
61 (Fload_char_attribute_table): Likewise.
63 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
65 * chartab.c: Don't include <chise.h> because it is included in
67 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
69 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
71 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
73 (Fclose_char_attribute_table): Close `ct->feature_table' and
74 `ct->ds' when `CHISE' is defined.
75 (Freset_char_attribute_table): Likewise.
76 (load_char_attribute_maybe): Use `cit->ds' and
77 `cit->feature_table' when `CHISE' is defined.
78 (Fload_char_attribute_table): Likewise.
80 * chartab.h: Include <chise.h> when `CHISE' is defined.
81 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
82 when `CHISE' is defined.
84 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
86 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
88 (char_table_description): Likewise.
89 (Fmake_char_table): Likewise.
90 (Fcopy_char_table): Likewise.
91 (Fmount_char_attribute_table): Likewise.
92 (Fclose_char_attribute_table): Likewise.
93 (Freset_char_attribute_table): Likewise.
94 (load_char_attribute_maybe): Likewise.
95 (Fload_char_attribute_table): Likewise.
97 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
100 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
102 * chartab.c (load_char_attribute_table_map_func): New function
103 when CHISE is defined.
104 (Qload_char_attribute_table_map_function): Don't define when CHISE
106 (Fload_char_attribute_table_map_function): Likewise.
107 (Fload_char_attribute_table): Use libchise when `CHISE' is
109 (syms_of_chartab): Don't define
110 `load-char-attribute-table-map-function' when CHISE is defined.
112 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
114 * chartab.c: Include <chise.h> when `CHISE' is defined.
115 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
117 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
119 * mule-charset.c (charset_code_point): Fix problem when searching
120 in mother CCS fails with `defined_only' mode.
122 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
124 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
125 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
126 (put_char_composition): Likewise.
127 (Fput_char_attribute): Likewise.
128 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
130 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
132 * chartab.c (Q_ucs): Deleted.
133 (Fput_char_attribute): Don't refer `->ucs'.
134 (Fdefine_char): Likewise.
135 (Ffind_char): Likewise.
136 (syms_of_chartab): Delete `->ucs'.
138 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
140 * mule-charset.c (Qmap_cns11643_2): Renamed from
141 `Qchinese_cns11643_2'.
142 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
143 `chinese-cns11643-2'.
144 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
147 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
149 * mule-charset.c (Qmap_cns11643_1): Renamed from
150 `Qchinese_cns11643_1'.
151 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
152 `chinese-cns11643-1'.
153 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
156 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
158 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
159 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
161 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
164 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
166 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
167 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
169 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
172 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
174 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
175 (syms_of_mule_charset): Add new symbol `=big5' instead of
177 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
179 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
181 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
182 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
184 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
187 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
189 * mule-charset.c (Qmap_jis_x0212): Renamed from
190 `Qjapanese_jisx0212'.
191 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
193 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
196 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
198 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
199 `Qjapanese_jisx0208'.
200 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
201 of `japanese-jisx0208'.
202 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
205 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
207 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
208 `Qjapanese_jisx0208_1978'.
209 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
210 of `japanese-jisx0208-1978'.
211 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
214 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
216 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
217 only for XEmacs CHISE.
219 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
221 * char-ucs.h: Compact non-ISO-IR charset-ids.
222 (LEADING_BYTE_UCS): Changed to -177.
223 (LEADING_BYTE_CONTROL_1): Changed to -77.
224 (LEADING_BYTE_UCS_BMP): Changed to -176.
225 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
227 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * mule-charset.c (Qiso_ir): New variable.
230 (Fmake_charset): Recognise new property `iso-ir'.
231 (syms_of_mule_charset): Add new symbol `iso-ir'.
233 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
235 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
236 n to -n; charset-id of non ISO-IR sets are changed to positive
239 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
241 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
242 for &MCS-XXXXXXXX; values.
244 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
246 * mule.c (Vxemacs_chise_version): Renamed from
248 (vars_of_mule): Add new variable `xemacs-chise-version'; define
249 `utf-2000-version' as an alias for `xemacs-chise-version'.
251 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
253 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
254 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
257 * config.h.in (CHISE): New macro.
259 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
261 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
263 (Qmap_ucs): New variable.
264 (syms_of_mule_charset): Add new symbol `=ucs'.
265 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
267 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
268 (simplify_char_spec): Likewise.
270 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
272 * char-ucs.h (Qmap_ucs): New extern variable.
274 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
277 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
278 don't define it when UTF2000 is not defined.
279 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
280 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
281 when UTF2000 is not defined.
282 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
283 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
285 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
289 * mule-charset.c (Vcharset_ucs_gb): Deleted.
291 (syms_of_mule_charset): Delete `ucs-gb'.
292 (complex_vars_of_mule_charset): Likewise.
294 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
296 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
298 * mule-charset.c (Vcharset_ucs_cns): Deleted.
300 (syms_of_mule_charset): Delete `ucs-cns'.
301 (complex_vars_of_mule_charset): Likewise.
303 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
305 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
307 * mule-charset.c (Vcharset_ucs_jis): Deleted.
309 (syms_of_mule_charset): Delete `ucs-jis'.
310 (complex_vars_of_mule_charset): Likewise.
312 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
314 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
316 * mule-charset.c (Vcharset_ucs_ks): Deleted.
318 (syms_of_mule_charset): Delete `ucs-ks'.
319 (complex_vars_of_mule_charset): Likewise.
321 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
323 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
324 (Qideograph_daikanwa_2): Deleted.
325 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
326 (complex_vars_of_mule_charset): Likewise.
328 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
329 (LEADING_BYTE_DAIKANWA_1): Deleted.
330 (LEADING_BYTE_DAIKANWA_2): Deleted.
331 (MIN_CHAR_DAIKANWA): Deleted.
332 (MAX_CHAR_DAIKANWA): Deleted.
334 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
336 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
337 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
338 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
340 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
341 (Vcharset_ideograph_daikanwa): Deleted.
342 (Qideograph_hanziku_{1..12}): Deleted.
343 (Qideograph_daikanwa): Deleted.
344 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
345 Vcharset_ideograph_daikanwa.
346 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
347 `ideograph-hanziku-{1..12}'.
348 (complex_vars_of_mule_charset): Likewise.
350 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
352 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
354 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
355 (Qideograph_gt_pj_{1..11}): Deleted.
356 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
357 (complex_vars_of_mule_charset): Likewise.
359 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
361 * mule-charset.c (Vcharset_ucs_big5): Deleted.
362 (Vcharset_ideograph_gt): Deleted.
363 (Qucs_big5): Deleted.
364 (Qideograph_gt): Deleted.
365 (syms_of_mule_charset): Delete symbol `ucs-big5' and
367 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
370 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
371 (LEADING_BYTE_GT): Deleted.
372 (MIN_CHAR_GT): Deleted.
373 (MAX_CHAR_GT): Deleted.
375 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
377 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
379 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
381 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
382 (save_uint16_byte_table): Likewise.
383 (save_byte_table): Likewise; convert values by it.
384 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
385 for `ideographic-structure'.
386 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
387 as the filter for `ideographic-structure'.
389 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
391 * chartab.c (put_char_composition): New function.
392 (Fput_char_attribute): Use `put_char_composition'; use
393 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
395 * fns.c (simplify_char_spec): New function.
396 (char_ref_simplify_spec): New function.
397 (Fchar_refs_simplify_char_specs): New function.
398 (syms_of_fns): Add new builtin function
399 `char-refs-simplify-char-specs'.
401 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
403 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
404 (Qideograph_cbeta): Deleted.
405 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
406 (complex_vars_of_mule_charset): Likewise.
408 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
409 (MIN_CHAR_CBETA): Comment out.
410 (MAX_CHAR_CBETA): Likewise.
412 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
414 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
415 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
416 CHISE client feature.
418 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
420 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
422 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
424 * mule-charset.c (charset_lookup_description_1): Use
425 `NUM_LEADING_BYTES' in UTF-2000.
427 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
429 * char-ucs.h (GC_CHARSETP): Deleted.
431 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * char-ucs.h (MAX_CHAR_GT): Updated.
435 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
437 * text-coding.c: Sync with XEmacs 21.4.10.
439 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
441 * mule-charset.c (Vcharset_china3_jef): Deleted.
442 (Qchina3_jef): Deleted.
443 (syms_of_mule_charset): Don't define `china3-jef'.
444 (complex_vars_of_mule_charset): Likewise.
446 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
447 (MIN_CHAR_CHINA3_JEF): Comment out.
448 (MAX_CHAR_CHINA3_JEF): Comment out.
450 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * mule-charset.c (Vcharset_ucs_gb): New variable.
453 (Qucs_gb): New variable.
454 (syms_of_mule_charset): Add new symbol `ucs-gb'.
455 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
457 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
459 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * mule-charset.c (charset_code_point): if a coded-charset has a
462 final-byte, don't inherit the builtin range of the mother CCS.
464 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
466 * mule-charset.c (charset_code_point): Fix problem about
469 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
471 * mule-charset.c (decode_builtin_char): Reorganized.
473 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * text-coding.c (char_encode_as_entity_reference): Modify for
476 `charset_code_point'.
477 (char_encode_shift_jis): Likewise.
478 (char_encode_big5): Likewise.
479 (char_encode_utf8): Likewise.
480 (char_encode_iso2022): Likewise.
482 * mule-charset.c (charset_code_point): Add new argument
484 (Fencode_char): Add new optional argument `defined_only'.
486 * chartab.c (put_char_table): Modify for `charset_code_point'.
488 * char-ucs.h (charset_code_point): Add new argument
490 (encode_char_1): Modify for `charset_code_point'.
492 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
494 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
495 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
497 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
499 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
500 (Qjis_x0208): Likewise.
501 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
502 XCHARSET_FINAL(charset).
503 (charset_code_point): Modify condition for final-byte based
505 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
506 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
507 in UTF-2000; specify `=jis-x0208' as the mother of
508 `japanese-jisx0208-1978', `japanese-jisx0208' and
509 `japanese-jisx0208-1990' in UTF-2000.
511 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
513 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
515 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
517 * text-coding.c (decode_coding_utf16): Support UTF-16.
518 (char_encode_utf16): Fixed.
520 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * text-coding.c (Qutf16): New variable in MULE.
523 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
524 (Fcoding_system_type): Add `utf-16' in MULE.
525 (struct detection_state): Add a structure for utf16 in MULE.
526 (detect_coding_type): Setup st->utf16.mask in MULE.
527 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
529 (reset_encoding_stream): Use `char_encode_utf16' and
530 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
531 (detect_coding_utf16): New function [incomplete].
532 (decode_coding_utf16): New function [support only UCS-2].
533 (char_encode_utf16): New function.
534 (char_finish_utf16): New function.
535 (syms_of_file_coding): Add new symbol `utf-16'; setup
536 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
538 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
540 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
541 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
543 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
545 * chartab.c (put_char_table): When a charset is specified as a
546 range in UTF-2000, don't support builtin characters.
548 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
550 * mule-charset.c (decode_defined_char): Don't refer external
551 database if Qunbound or Qnil are found.
552 (Fsave_charset_mapping_table): Don't define it if
553 HAVE_CHISE_CLIENT is not defined.
554 (Freset_charset_mapping_table): New function.
555 (load_char_decoding_entry_maybe): Store Qnil if a character is not
556 found in external database.
557 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
558 if HAVE_CHISE_CLIENT is not defined; add new builtin function
559 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
561 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
563 * text-coding.c (decode_coding_utf8): Check CCS is specified or
566 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
568 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
569 Q_lowercase, Q_uppercase in UTF-2000.
571 * chartab.c (get_char_table): Add special code for the standard
572 case table to use character attribute `->downcase' and
573 `->uppercase' for case operations in UTF-2000.
575 * casetab.c (Qflippedcase): New variable in UTF-2000.
576 (Q_lowercase): Likewise.
577 (Q_uppercase): Likewise.
578 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
579 and `->uppercase' in UTF-2000.
580 (complex_vars_of_casetab): Assign attribute name `downcase' to
581 downcase and CANON table of Vstandard_case_table in UTF-2000;
582 assign attribute name `flippedcase' to upcase and EQV table of
583 Vstandard_case_table in UTF-2000.
585 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * text-coding.c (decode_add_er_char): Support isolated-chars.
588 (char_encode_as_entity_reference): Likewise.
590 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
592 * emacs.c (Vutf_2000_lisp_directory): New variable.
593 (Vconfigure_utf_2000_lisp_directory): Likewise.
594 (complex_vars_of_emacs): Add new variable
595 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
597 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
599 * char-ucs.h (DECODE_CHAR): Delete special code for
600 `chinese-big5-1' and `chinese-big5-2'.
602 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
604 (decode_defined_char): Support CONVERSION_BIG5_1 and
606 (decode_builtin_char): Likewise.
607 (charset_code_point): Likewise.
608 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
609 'conversion in UTF-2000.
610 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
611 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
612 `chinese-big5-2' as children of `chinese-big5'.
614 * char-ucs.h (CONVERSION_BIG5_1): New macro.
615 (CONVERSION_BIG5_2): New macro.
617 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
619 * text-coding.c (char_encode_big5): Support entity-reference.
621 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
623 * text-coding.c (char_encode_as_entity_reference): New function.
624 (char_encode_utf8): Use `char_encode_as_entity_reference'.
626 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
628 * text-coding.c (decode_coding_big5): Support entity-reference
631 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
633 * text-coding.c (allocate_coding_system): Initialize initial
634 charsets for CODESYS_UTF8.
635 (Fmake_coding_system): Accept charset-g0, charset-g1 and
636 charset-g2 for CODESYS_UTF8.
637 (decode_coding_utf8): Use charset-g0.
638 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
639 to force variants to map to UCS.
641 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
643 * text-coding.c (Qutf_8_mcs): New variable.
644 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
645 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
646 instead of `utf-8' in UTF-2000.
648 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
650 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
651 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
652 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
653 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
654 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
655 CONVERSION_96x96x96x96 are introduced.
656 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
657 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
658 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
660 * char-ucs.h (CONVERSION_94): New macro.
661 (CONVERSION_96): New macro.
662 (CONVERSION_94x94): New macro.
663 (CONVERSION_96x96): New macro.
664 (CONVERSION_94x94x94): New macro.
665 (CONVERSION_96x96x96): New macro.
666 (CONVERSION_94x94x94x60): New macro.
667 (CONVERSION_94x94x94x94): New macro.
668 (CONVERSION_96x96x96x96): New macro.
670 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
672 * chartab.c (Vcharacter_variant_table): Deleted.
673 (Fchar_variants): Use character-attribute `->ucs-variants' instead
674 of `Vcharacter_variant_table'.
675 (Fput_char_attribute): Likewise.
676 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
677 (complex_vars_of_chartab): Likewise.
679 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
681 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
683 * fns.c (Qideographic_structure): New variable.
684 (Qkeyword_char): New variable.
685 (ids_format_unit): New function.
686 (Fideographic_structure_to_ids): New function.
687 (syms_of_fns): Add new symbols `ideographic-structure' and
688 `:char'; add new builtin function `ideographic-structure-to-ids'.
690 * data.c (Fchar_ref_p): New function.
691 (syms_of_data): Add new builtin function `char-ref-p'.
693 * chartab.h: Add an EXFUN for `Ffind_char'.
695 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
697 * text-coding.c (Vcharacter_composition_table): Deleted.
698 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
701 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
703 (Vcharacter_composition_table): Deleted.
704 (Fget_composite_char): Use the implementation for external-DB
705 support in every UTF-2000.
706 (Fput_char_attribute): Likewise.
707 (char_attribute_system_db_file): Don't define if external-DB
708 feature is not available.
709 (Fsave_char_attribute_table): Likewise.
710 (Fmount_char_attribute_table): Likewise.
711 (Fclose_char_attribute_table): Likewise.
712 (Freset_char_attribute_table): Likewise.
713 (Fload_char_attribute_table): Likewise.
714 (syms_of_chartab): Don't define `save-char-attribute-table',
715 `mount-char-attribute-table', `reset-char-attribute-table',
716 `close-char-attribute-table' and `load-char-attribute-table' if
717 external-DB feature is not available.
718 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
720 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
722 * text-coding.c (Qcomposition): Add extern if external-DB feature
724 (Vcharacter_composition_table): Don't add extern if external-DB
725 feature is supported.
726 (COMPOSE_ADD_CHAR): Modify for new data-representation of
727 character composition rule if external-DB feature is supported.
729 * chartab.c (Vcharacter_composition_table): Don't define if
730 external-DB feature is supported.
731 (Qcomposition): New variable.
732 (Fget_composite_char): New implementation for external-DB support.
733 (Fput_char_attribute): Use `composition' property of each
734 character instead of `Vcharacter_composition_table' to store
735 character-composition rules if external-DB feature is supported.
736 (syms_of_chartab): Add new symbol `composition'.
737 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
738 external-DB feature is supported.
740 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
742 * chartab.c (Vchar_db_stingy_mode): New variable.
743 (load_char_attribute_maybe): Close database if
744 Vchar_db_stingy_mode is not NIL.
745 (Fload_char_attribute_table_map_function): Use
746 `get_char_id_table_0' instead of `get_char_id_table'.
747 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
749 * chartab.h (get_char_id_table_0): New inline function.
750 (get_char_id_table): Use `get_char_id_table_0'.
752 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
754 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
755 and `COMPOSE_ADD_CHAR'.
756 (decode_coding_iso2022): Use `decode_flush_er_chars'.
758 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
760 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
761 instead of `DECODE_ADD_UCS_CHAR'.
762 (COMPOSE_ADD_CHAR): Likewise.
764 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
766 * text-coding.c (decode_flush_er_chars): New inline function.
767 (decode_add_er_char): New function.
768 (decode_coding_utf8): Use `decode_flush_er_chars' and
769 `decode_add_er_char'.
771 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
773 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
774 done before `decode_output_utf8_partial_char'.
776 * mule-charset.c (complex_vars_of_mule_charset): Specify
777 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
778 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
780 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
782 * mule-charset.c (decode_defined_char): New function; search
784 (decode_builtin_char): Don't search mother if
785 XCHARSET_MAX_CODE(charset) == 0.
786 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
787 == 0 even if code >= XCHARSET_MAX_CODE(charset).
788 (Fdecode_char): Use `decode_defined_char' instead of
789 `DECODE_DEFINED_CHAR'.
790 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
791 mother of `Vcharset_ucs_jis'.
793 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
794 instead of `DECODE_DEFINED_CHAR'.
796 * char-ucs.h (decode_defined_char): Renamed from
797 `DECODE_DEFINED_CHAR'; changed to normal function.
798 (DECODE_CHAR): Use `decode_defined_char' instead of
799 `DECODE_DEFINED_CHAR'.
801 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
803 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
807 * text-coding.c (Vcoded_charset_entity_reference_alist): New
809 (Quse_entity_reference): New variable.
813 (coding_system_description): Add description for
815 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
816 (allocate_coding_system): Initialize `ccs_priority_list' in
818 (Fmake_coding_system): Add description about
819 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
821 (Fcoding_system_property): Accept `disable-composition' and
822 `use-entity-reference' in UTF-2000.
823 (struct decoding_stream): Add new member `er_counter' and `er_buf'
825 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
826 (decode_coding_utf8): Decode entity-reference if
827 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
828 (char_encode_utf8): Encode non-Unicode characters as
829 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
831 (syms_of_file_coding): Add new symbols `use-entity-reference',
833 (vars_of_file_coding): Add new variable
834 `coded-charset-entity-reference-alist'.
835 (complex_vars_of_file_coding): Declare `disable-composition' and
836 `use-entity-reference' to be coding-system-properties in UTF-2000.
838 * file-coding.h (struct Lisp_Coding_System): Add new member
839 `use_entity_reference' and `ccs_priority_list'.
840 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
841 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
842 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
844 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
846 * chartab.c (save_uint8_byte_table): Don't clear the table.
847 (save_uint16_byte_table): Likewise.
848 (save_byte_table): Likewise.
849 (Fmount_char_attribute_table): New function.
850 (syms_of_chartab): Add new builtin function
851 `mount-char-attribute-table'.
853 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
855 * mule-charset.c (Fsave_charset_mapping_table): Open database as
857 (load_char_decoding_entry_maybe): Open database as read-only mode.
859 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
860 open database as "w+" mode.
861 (load_char_attribute_maybe): Open database as read-only mode.
862 (Fload_char_attribute_table): Likewise.
864 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
866 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
867 (char_table_description): Delete member `db_file'.
868 (Fmake_char_table): Don't refer `ct->db_file'.
869 (Fcopy_char_table): Likewise.
870 (Fsave_char_attribute_table): Likewise.
871 (Fclose_char_attribute_table): Likewise.
872 (Freset_char_attribute_table): Likewise.
873 (load_char_attribute_maybe): Likewise.
874 (Fload_char_attribute_table): Likewise.
876 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
878 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
880 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
881 (Fsave_char_attribute_table): Don't check `ct->db_file' if
883 (load_char_attribute_maybe): Likewise.
884 (Fload_char_attribute_table): Likewise.
886 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
888 * chartab.c (Fclose_char_attribute_table): Set Qnil on
889 `ct->db_file' unconditionally.
891 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
893 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
895 (char_table_description): Add description for `db_file' and `db'
897 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
899 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
900 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
901 (Fclose_char_attribute_table): New function.
902 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
903 (load_char_attribute_maybe): Change interface; use `cit->db_file'
905 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
906 (syms_of_chartab): Add new builtin function
907 `Fclose_char_attribute_table'.
909 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
911 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
913 (load_char_attribute_maybe): Change interface.
914 (get_char_id_table): Modify for `load_char_attribute_maybe'.
916 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
918 * database.h: Add an EXFUN for `Fdatabase_live_p'.
920 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
923 instead of `DECODE_CHAR' for mother; don't use special code for
924 chinese-big5 to use code space of chinese-big5-1 and
926 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
927 `MAX_CHAR_BIG5_CDP' for chinese-big5.
929 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
930 (MAX_CHAR_BIG5_CDP): Revival.
932 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
935 the XLFD registry-encoding name of `chinese-big5'.
937 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
939 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
940 (Qchinese_big5_cdp): Deleted.
941 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
942 (complex_vars_of_mule_charset): Delete coded-charset
945 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
946 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
947 `CHARSET_ID_OFFSET - n' for private CCS.
948 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
949 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
950 of `MIN_LEADING_BYTE'.
951 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
952 `(CHARSET_ID_OFFSET - 97)'.
953 (MIN_CHAR_BIG5_CDP): Deleted.
954 (MAX_CHAR_BIG5_CDP): Deleted.
956 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
958 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
960 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
962 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
963 (vars_of_mule): Add new variable `utf-2000-version' [moved from
966 * chartab.c (Vutf_2000_version): Moved to mule.c.
967 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
969 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
971 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
972 when HAVE_CHISE_CLIENT is not defined.
974 * mule.c (vars_of_mule): Provide feature `chise' when
975 HAVE_CHISE_CLIENT is defined.
977 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
979 * config.h.in (UTF2000): Add comment.
980 (HAVE_CHISE_CLIENT): New macro.
982 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
984 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
986 (Fput_char_attribute): Likewise.
987 (char_attribute_system_db_file): Encode file-name of attribute.
988 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
991 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
993 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
994 (Fsave_charset_mapping_table): Use
995 `char_attribute_system_db_file'.
996 (load_char_decoding_entry_maybe): Likewise.
998 * chartab.h (Qsystem_char_id): New external variable.
999 (char_attribute_system_db_file): New prototype.
1001 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1002 (char_attribute_system_db_file): New function.
1003 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1004 (Freset_char_attribute_table): Likewise.
1005 (load_char_attribute_maybe): Likewise.
1006 (Fload_char_attribute_table): Likewise.
1007 (syms_of_chartab): Add new symbol `system-char-id'.
1009 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1011 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1012 `XCHARSET_GRAPHIC(ccs)'.
1014 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1016 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1018 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1020 * chartab.c (Q_ucs_variants): New variable.
1021 (syms_of_chartab): Add new symbol `->ucs-variants'.
1022 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1023 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1024 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1026 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1028 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1029 `HAVE_DATABASE' is defined.
1030 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1031 `HAVE_DATABASE' is defined.
1033 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1035 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1037 (Freset_char_attribute_table): New function.
1038 (syms_of_chartab): Add new builtin function
1039 `reset-char-attribute-table'.
1041 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1043 * chartab.c (load_char_attribute_maybe): Don't make directories.
1045 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1047 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1049 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1052 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1054 * mule-charset.c (Fsave_charset_mapping_table): Use
1055 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1057 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1058 instead of `XCHARSET_CHARS'.
1060 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1062 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1063 (XCHARSET_BYTE_SIZE): Likewise.
1065 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1067 (XCHARSET_BYTE_SIZE): Likewise.
1069 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1071 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1072 data-directory to store database.
1073 (Fsave_char_attribute_table): Likewise.
1074 (load_char_attribute_maybe): Likewise.
1075 (Fload_char_attribute_table): Likewise.
1077 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1079 * mule-charset.c (Fsave_charset_mapping_table): New function.
1080 (syms_of_mule_charset): Add new builtin function
1081 `save-charset-mapping-table'.
1083 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1085 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1086 (get_ccs_octet_table): New inline function.
1087 (put_ccs_octet_table): Likewise.
1088 (decoding_table_put_char): Use `get_ccs_octet_table' and
1089 `put_ccs_octet_table'.
1090 (decoding_table_remove_char): Use `decoding_table_put_char'.
1091 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1093 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1094 into encoding_table.
1095 (make_charset): Use Qunbound instead Qnil as initial value of
1098 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1100 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1101 element is Qunloaded.
1102 (map_over_uint16_byte_table): Likewise.
1103 (map_over_byte_table): Likewise.
1104 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1105 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1106 database support, load encoding-table of the specified
1107 coded-charset if it is not loaded yet.
1108 (save_uint8_byte_table): New function of UTF-2000 with external
1110 (save_uint16_byte_table): Likewise.
1111 (save_byte_table): Likewise.
1112 (Fput_char_attribute): Don't store value into external database
1113 even if the external database feature is supported in UTF-2000;
1114 set `attribute' as name of char-table if the external database
1115 feature is supported.
1116 (Fsave_char_attribute_table): New function in UTF-2000.
1117 (syms_of_chartab): Add new builtin function
1118 `save-char-attribute-table' in UTF-2000.
1120 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1122 * chartab.c (char_attribute_table_to_put): New variable in
1124 (Qput_char_table_map_function): Likewise.
1125 (value_to_put): Likewise.
1126 (Fput_char_table_map_function): New function in UTF-2000.
1127 (put_char_table): Use `Fmap_char_attribute' for
1128 CHARTAB_RANGE_CHARSET in UTF-2000.
1129 (Fput_char_attribute): Store symbol instead of string in
1130 `XCHAR_TABLE_NAME (table)'.
1131 (load_char_attribute_maybe): Likewise.
1132 (syms_of_chartab): Add new symbol/function
1133 `put-char-table-map-function'.
1135 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1137 * database.h: Add new EXFUN for `Fmap_database'.
1139 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1140 (syms_of_database): Likewise.
1142 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1144 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1145 (XCHAR_TABLE_UNLOADED): Likewise.
1147 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1148 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1149 HAVE_DATABASE is defined.
1150 (char_attribute_table_to_load): New variable of UTF-2000 with
1151 external database support.
1152 (Qload_char_attribute_table_map_function): Likewise.
1153 (Fload_char_attribute_table_map_function): New function of
1154 UTF-2000 with external database support.
1155 (Fload_char_attribute_table): New function of UTF-2000.
1156 (Fmap_char_attribute): Call Fload_char_attribute_table if
1157 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1158 (syms_of_chartab): Add new symbol and function
1159 `load-char-attribute-table-map-function' in UTF-2000 with external
1160 database support; add new function `load-char-attribute-table' in
1163 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1165 * chartab.h (load_char_attribute_maybe): New prototype for
1166 UTF-2000 with DATABASE support.
1167 (get_char_id_table): Use `load_char_attribute_maybe' if
1168 HAVE_DATABASE is defined.
1170 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1171 with DATABASE support.
1173 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1175 * chartab.c (Fput_char_attribute): Use S-expression as key of
1178 * chartab.h (get_char_id_table): Use S-expression as key of
1181 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1183 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1184 if an element is not loaded, load the corresponding attributes
1185 from an external database.
1186 (map_over_uint16_byte_table): Likewise.
1187 (map_over_byte_table): Likewise.
1188 (map_char_table): Modify for `map_over_uint8_byte_table',
1189 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1190 element is not loaded, load the corresponding attributes from an
1192 (Fput_char_attribute): Change initial values to Qunloaded.
1194 * chartab.h (get_char_id_table): If a character attribute is not
1195 loaded and the attribute value is not found in an external
1196 database, store Qunbound as the attribute value.
1198 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1200 * chartab.c (BT_UINT8_unloaded): New macro.
1201 (UINT8_VALUE_P): Accept Qunloaded.
1202 (UINT8_ENCODE): Likewise.
1203 (UINT8_DECODE): Likewise.
1204 (BT_UINT16_unloaded): New macro.
1205 (UINT16_VALUE_P): Accept Qunloaded.
1206 (UINT16_ENCODE): Likewise.
1207 (UINT16_DECODE): Likewise.
1208 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1210 (mark_char_table): Mark `ct->name' in UTF-2000.
1211 (char_table_description): Add `name' in UTF-2000.
1212 (Fmake_char_table): Initialize `ct->name'.
1213 (Fcopy_char_table): Copy `ct->name'.
1214 (Fput_char_attribute): Store value into an external database if
1215 HAVE_DATABASE is defined.
1217 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1219 (CHAR_TABLE_NAME): New macro in UTF-2000.
1220 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1221 (get_char_id_table): Try to read an external database if Qunloaded
1222 is stored in a table.
1224 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1227 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1229 * database.h: Add EXFUN definitions for Fopen_database,
1230 Fput_database, Fget_database and Fclose_database.
1232 * data.c (Qunloaded): New variable in UTF-2000.
1234 * lisp.h (Qunloaded): New variable in UTF-2000.
1236 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1238 * mule-charset.c (put_char_ccs_code_point): Modify for
1239 `decoding_table_remove_char' and `decoding_table_put_char'.
1240 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1242 * char-ucs.h (decoding_table_remove_char): Change arguments to
1243 hide decoding_table vector.
1244 (decoding_table_put_char): Likewise.
1246 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1248 * mule-charset.c (decoding_table_remove_char): Moved to
1250 (decoding_table_put_char): Likewise.
1252 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1253 from mule-charset.c].
1254 (decoding_table_remove_char): New inline function [moved from
1256 (decoding_table_put_char): Likewise.
1258 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1260 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1263 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1265 * mule-charset.c (decode_builtin_char): Support mother charsets.
1267 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1269 * mule-charset.c (Q94x94x60): New variable.
1270 (charset_code_point): Support conversion `94x94x60'.
1271 (Fmake_charset): Likewise.
1272 (syms_of_mule_charset): Add new symbol `94x94x60'.
1274 * char-ucs.h (CONVERSION_94x94x60): New macro.
1276 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1278 * mule-charset.c (charset_code_point): Unify code about
1281 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1283 * mule-charset.c (charset_code_point): Merge code about builtin
1284 characters into code about mother charsets; don't use
1285 `range_charset_code_point'.
1286 (range_charset_code_point): Deleted.
1288 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1290 * mule-charset.c (Qcode_offset): New variable.
1291 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1292 `max-code'; accept new property `code-offset'.
1293 (syms_of_mule_charset): Add new symbol `code-offset'.
1295 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1297 * mule-charset.c (range_charset_code_point): Fixed.
1299 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1301 * mule-charset.c (decode_builtin_char): Change semantics of
1302 code-offset of coded-charset.
1303 (charset_code_point): Likewise.
1304 (range_charset_code_point): Likewise.
1305 (complex_vars_of_mule_charset): Modify for the change.
1307 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1309 * mule-charset.c (Fencode_char): Reverse arguments.
1311 * mule-charset.c (charset_code_point): Fixed.
1313 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1315 * mule-charset.c (Vcharset_mojikyo): Deleted.
1316 (Vcharset_mojikyo_2022_1): Deleted.
1317 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1318 (Qmin_code): New variable in UTF-2000.
1319 (Qmax_code): Likewise.
1320 (Qmother): Likewise.
1321 (Qconversion): Likewise.
1323 (Qmojikyo): Deleted.
1324 (Qmojikyo_2022_1): Deleted.
1325 (Qmojikyo_pj_{1..22}): Deleted.
1326 (mark_charset): Mark `cs->mother'.
1327 (charset_description): Add description for `mother'.
1328 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1329 new arguments `mother' and `conversion'; use
1330 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1331 (charset_code_point): Moved from char-ucs.h; support `mother'
1333 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1334 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1335 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1336 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1337 allow 2 as the value of `graphic' in UTF-2000; add new properties
1338 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1339 require `final' in UTF-2000; modify for `make_charset'.
1340 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1341 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1342 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1343 (Fencode_char): New function.
1344 (syms_of_mule_charset): Add new builtin function `encode-char' in
1345 UTF-2000; add new symbols `min-code', `max-code', `mother',
1346 `conversion' and `94x60'; delete symbols `mojikyo',
1347 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1348 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1349 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1350 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1352 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1353 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1355 * char-ucs.h (Vcharset_mojikyo): Deleted.
1356 (Vcharset_mojikyo_2022_1): Deleted.
1357 (LEADING_BYTE_MOJIKYO): Deleted.
1358 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1359 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1360 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1361 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1362 add new member `mother'; add new member `conversion'.
1363 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1364 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1365 (CHARSET_MOTHER): New macro.
1366 (CHARSET_CONVERSION): New macro.
1367 (CONVERSION_IDENTICAL): New macro.
1368 (CONVERSION_94x60): New macro.
1369 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1370 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1371 (XCHARSET_MOTHER): New macro.
1372 (XCHARSET_CONVERSION): New macro.
1373 (MIN_CHAR_MOJIKYO): Deleted.
1374 (MAX_CHAR_MOJIKYO): Deleted.
1375 (DECODE_MOJIKYO_2022): Deleted.
1376 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1377 (charset_code_point): Changed to non-inline function.
1378 (encode_char_1): Use `charset_code_point'.
1379 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1381 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1383 * lread.c (read_compiled_function): Fix prototype.
1384 (read_vector): Likewise.
1386 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1388 * lrecord.h (struct lrecord_header): Delete `older'.
1389 (set_lheader_implementation): Delete code for `older'.
1390 (set_lheader_older_implementation): Deleted.
1391 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1392 (OLDER_RECORD_P): Deleted.
1393 (OLDER_RECORD_HEADER_P): Deleted.
1394 (alloc_older_lcrecord): Deleted.
1395 (alloc_older_lcrecord_type): Deleted.
1397 * alloc.c (all_older_lcrecords): Deleted.
1398 (alloc_older_lcrecord): Deleted.
1399 (disksave_object_finalization_1): Delete code for older objects.
1400 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1401 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1403 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1405 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1406 instead of `make_older_vector'.
1407 (put_char_ccs_code_point): Likewise.
1408 (mark_charset): Mark `cs->decoding_table'.
1409 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1411 * lisp.h (make_older_vector): Deleted.
1412 (make_vector_newer): Deleted.
1414 * config.h.in (HAVE_GGC): Deleted.
1416 * alloc.c (make_older_vector): Deleted.
1417 (make_vector_newer_1): Deleted.
1418 (make_vector_newer): Deleted.
1420 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1422 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1423 (Qideograph_daikanwa_2): New variable.
1424 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1425 (complex_vars_of_mule_charset): Add new coded-charset
1426 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1427 `LEADING_BYTE_DAIKANWA'.
1429 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1430 (LEADING_BYTE_DAIKANWA_1): New macro.
1431 (LEADING_BYTE_DAIKANWA_2): New macro.
1432 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1434 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1436 * mule-charset.c (complex_vars_of_mule_charset): Change
1437 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1438 the second revised version.
1440 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1442 * mule-charset.c (Vcharset_ucs_smp): New variable.
1443 (Vcharset_ucs_sip): New variable.
1444 (Qucs_smp): New variable.
1445 (Qucs_sip): New variable.
1446 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1447 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1448 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1449 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1450 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1451 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1453 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1454 (LEADING_BYTE_UCS_SIP): New macro.
1455 (MIN_CHAR_SMP): New macro.
1456 (MAX_CHAR_SMP): New macro.
1457 (MIN_CHAR_SIP): New macro.
1458 (MAX_CHAR_SIP): New macro.
1460 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1462 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1465 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1467 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1468 value; don't store value into `encoding_table' of `Lisp_Charset'.
1469 (mark_charset): `encoding_table' was deleted.
1470 (charset_description): Likewise.
1471 (make_charset): Likewise.
1472 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1473 `put_char_ccs_code_point'.
1475 * chartab.h (Fput_char_attribute): New EXFUN.
1477 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1478 is unified with normal symbol space.
1479 (Fget_char_attribute): Likewise.
1480 (Fput_char_attribute): Likewise; behavior of
1481 `put_char_ccs_code_point' is changed.
1483 * char-ucs.h: Include "elhash.h".
1484 (Vchar_attribute_hash_table): New external variable.
1485 (struct Lisp_Charset): Delete `encoding_table'.
1486 (CHARSET_ENCODING_TABLE): New implementation; refer
1487 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1490 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1492 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1495 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1497 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1500 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1502 * chartab.c (uint8_byte_table_description): New constant.
1503 (uint8-byte-table): Use `uint8_byte_table_description'.
1504 (uint16_byte_table_description): New constant.
1505 (uint16-byte-table): Use `uint16_byte_table_description'.
1507 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1509 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1510 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1512 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1514 * mule-charset.c (Vcharset_ucs_ks): New variable.
1515 (Qucs_ks): New variable.
1516 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1517 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1519 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1521 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1523 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1524 (Fdecode_char): Likewise.
1526 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1528 (Fdefine_char): Modify for Fdecode_char.
1529 (Ffind_char): Likewise.
1531 * mule-charset.c (Fdecode_char): Add new optional argument
1533 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1535 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1537 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1538 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1539 (allocate_coding_system): Initialize initial-charsets of
1540 CODESYS_BIG5 in XEmacs UTF-2000.
1541 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1542 CODESYS_BIG5 in XEmacs UTF-2000.
1543 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1544 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1546 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1548 (Qideograph_hanziku_{1 .. 12}): Likewise.
1549 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1551 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1552 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1553 `ideograph-hanziku-{1 .. 12}'.
1555 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1556 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1557 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1558 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1559 (DECODE_DEFINED_CHAR): New inline function.
1560 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1562 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1564 * mule-charset.c (Vcharset_china3_jef): Renamed from
1565 `Vcharset_japanese_jef_china3'.
1566 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1567 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1568 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1569 (syms_of_mule_charset): Rename `china3-jef' from
1570 `japanese-jef-china3'.
1571 (complex_vars_of_mule_charset): Likewise; rename
1572 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1574 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1575 `LEADING_BYTE_JEF_CHINA3'.
1576 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1577 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1579 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1581 * mule-charset.c (encode_builtin_char_1): Comment out special code
1582 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1584 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1585 (MAX_CHAR_MOJIKYO_0): Comment out.
1586 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1587 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1588 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1589 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1591 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1593 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1594 (Qideograph_cbeta): New variable.
1595 (encode_builtin_char_1): Comment out special code for
1596 coded-charset `mojikyo' and `japanese-jef-china3'.
1597 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1598 (complex_vars_of_mule_charset): Add new coded-charset
1601 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1602 (MIN_CHAR_CBETA): New macro.
1603 (MAX_CHAR_CBETA): New macro.
1605 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1607 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1608 (LEADING_BYTE_JEF_CHINA3): New macro.
1609 (MIN_CHAR_JEF_CHINA3): New macro.
1610 (MAX_CHAR_JEF_CHINA3): Likewise.
1611 (DECODE_CHAR): Fixed.
1613 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1615 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1616 (Qjapanese_jef_china3): New variable.
1617 (encode_builtin_char_1): Support `japanese-jef-china3'.
1618 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1619 (complex_vars_of_mule_charset): Add new coded-charset
1620 `japanese-jef-china3'.
1622 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1624 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1625 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1626 94^4, 96^3, 96^4, 128^n and 256^n set.
1627 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1628 (map_char_table): Likewise.
1630 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1632 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1635 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1637 * chartab.h (get_char_id_table): New inline function.
1639 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1642 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1644 * chartab.h (decode_char_table_range): New prototype in XEmacs
1646 (put_char_id_table): New inline function in XEmacs UTF-2000.
1648 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1650 (decode_char_table_range): Delete static declaration in XEmacs
1653 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1655 * chartab.c (put_char_id_table): Use `put_char_table'.
1657 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1659 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1660 (map_over_uint16_byte_table): Likewise.
1661 (map_over_byte_table): Likewise.
1662 (map_char_table): Modify for `map_over_uint8_byte_table',
1663 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1666 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1668 * chartab.c (struct map_char_table_for_charset_arg): New
1670 (map_char_table_for_charset_fun): New function.
1671 (map_char_table): Use `map_char_table' for encoding_table of
1674 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1676 * chartab.c (map_char_table): Check a character is found in
1677 range->charset instead of non default value is defined in
1678 char-table when range is CHARTAB_RANGE_ROW.
1680 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1682 * chartab.c (map_char_id_table): Deleted.
1683 (Fmap_char_attribute): Use `map_char_table' instead of
1684 `map_char_id_table'.
1686 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1688 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1690 (update_syntax_table): Deleted in XEmacs UTF-2000.
1692 * syntax.c (find_defun_start): Use `syntax_table' instead of
1693 `mirror_syntax_table' in XEmacs UTF-2000.
1694 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1696 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1698 (Fmatching_paren): Likewise.
1699 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1701 (find_start_of_comment): Likewise.
1702 (find_end_of_comment): Likewise.
1703 (Fforward_comment): Likewise.
1704 (scan_lists): Likewise.
1705 (char_quoted): Likewise.
1706 (Fbackward_prefix_chars): Likewise.
1707 (scan_sexps_forward): Likewise.
1708 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1709 (update_syntax_table): Likewise.
1711 * search.c (skip_chars): Use `syntax_table' instead of
1712 `mirror_syntax_table' in XEmacs UTF-2000.
1713 (wordify): Likewise.
1714 (Freplace_match): Likewise.
1716 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1717 `mirror_syntax_table' in XEmacs UTF-2000.
1718 (WORDCHAR_P_UNSAFE): Likewise.
1719 (re_match_2_internal): Likewise.
1721 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1722 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1724 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1725 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1727 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1730 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1732 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1733 (char_table_description): Delete `mirror_table' in XEmacs
1735 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1737 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1738 (Fcopy_char_table): Likewise.
1739 (put_char_table): Don't call `update_syntax_table' in XEmacs
1742 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1743 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1744 (casify_region_internal): Likewise.
1746 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1748 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1749 `mirror_syntax_table' in XEmacs UTF-2000.
1751 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1752 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1753 (Fexpand_abbrev): Likewise.
1755 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1757 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1759 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1761 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1762 (map_over_uint16_byte_table): Likewise.
1763 (map_over_byte_table): Likewise.
1764 (get_char_id_table): Refer `cit->default_value'.
1765 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1766 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1767 of character-id ranges.
1768 (mark_char_table): Mark `ct->default_value'.
1769 (char_table_description): Add `default_value'.
1770 (fill_char_table): Use `default_value'.
1771 (decode_char_table_range): Decode `nil' as
1772 `CHARTAB_RANGE_DEFAULT'.
1773 (get_char_id_table): Refer `cit->default_value'.
1774 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1775 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1776 temporary hack; check value of char-table is bound or not.
1777 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1779 * chartab.h (struct Lisp_Char_Table): Add new member
1780 `default_value' in XEmacs UTF-2000.
1781 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1782 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1785 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1787 * chartab.h (Lisp_Char_ID_Table): Deleted.
1789 * chartab.c (char_table_description): Fix typo.
1790 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1791 `Lisp_Char_ID_Table'.
1793 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1795 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1798 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1801 * chartab.h (XCHAR_ID_TABLE): Deleted.
1802 (XSETCHAR_ID_TABLE): Deleted.
1803 (CHAR_ID_TABLE_P): Deleted.
1805 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1807 (Fget_composite_char): Likewise.
1808 (put_char_table): Likewise.
1809 (add_char_attribute_alist_mapper): Fixed.
1810 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1812 (Fget_char_attribute): Likewise.
1813 (Fget_char_attribute): Likewise.
1814 (Fmap_char_attribute): Likewise.
1816 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1818 (encode_char_1): Likewise.
1820 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1822 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1825 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1826 instead of `XCHAR_ID_TABLE'.
1827 (remove_char_ccs): Likewise.
1829 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1831 (Fget_composite_char): Likewise.
1832 (Fchar_variants): Likewise.
1833 (put_char_table): Likewise.
1834 (add_char_attribute_alist_mapper): Likewise.
1835 (Fchar_attribute_alist): Likewise.
1836 (Fget_char_attribute): Likewise.
1837 (Fput_char_attribute): Likewise.
1838 (Fmap_char_attribute): Likewise.
1839 (Fmap_char_attribute): Likewise.
1841 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1843 (encode_char_1): Likewise.
1845 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1847 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1848 `Lisp_Char_ID_Table'.
1849 (mark_char_id_table): Deleted.
1850 (print_char_id_table): Likewise.
1851 (char_id_table_equal): Likewise.
1852 (char_id_table_hash): Likewise.
1853 (char_id_table_description): Likewise.
1854 (char_id_table): Likewise.
1855 (make_char_id_table): Use `Fmake_char_table' and
1857 (get_char_id_table): Use `Lisp_Char_Table' instead of
1858 `Lisp_Char_ID_Table'.
1859 (put_char_id_table): Likewise.
1860 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1862 (Fremove_char_attribute): Likewise.
1863 (syms_of_chartab): Don't define type `char-id-table'.
1865 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1866 (char_id_table): Likewise.
1867 (GC_CHAR_ID_TABLE_P): Likewise.
1868 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1869 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1870 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1871 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1872 (get_char_id_table): Use `Lisp_Char_Table' instead of
1873 `Lisp_Char_ID_Table'.
1874 (put_char_id_table_0): Likewise.
1875 (put_char_id_table): Likewise.
1877 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1879 * chartab.h: Lisp_Byte_Table related codes are moved from
1882 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1884 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1886 * chartab.h: Don't include "chartab.h".
1887 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1888 (Lisp_Char_ID_Table): Likewise.
1889 (char_id_table): Likewise.
1890 (XCHAR_ID_TABLE): Likewise.
1891 (XSETCHAR_ID_TABLE): Likewise.
1892 (CHAR_ID_TABLE_P): Likewise.
1893 (GC_CHAR_ID_TABLE_P): Likewise.
1894 (get_char_id_table): Likewise.
1896 * char-ucs.h: Include "chartab.h".
1897 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1898 (Lisp_Char_ID_Table): Likewise.
1899 (char_id_table): Likewise.
1900 (XCHAR_ID_TABLE): Likewise.
1901 (XSETCHAR_ID_TABLE): Likewise.
1902 (CHAR_ID_TABLE_P): Likewise.
1903 (GC_CHAR_ID_TABLE_P): Likewise.
1904 (get_char_id_table): Likewise.
1906 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1908 * chartab.c (copy_uint8_byte_table): New function.
1909 (copy_uint16_byte_table): New function.
1910 (copy_byte_table): New function.
1911 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1913 (map_over_uint16_byte_table): Likewise.
1914 (map_over_byte_table): Likewise.
1915 (get_byte_table): Move prototype to chartab.h.
1916 (put_byte_table): Likewise.
1917 (put_char_id_table_0): Moved to chartab.h.
1918 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1919 (char_table_entry_equal): Likewise.
1920 (char_table_entry_hash): Likewise.
1921 (char_table_entry_description): Likewise.
1922 (char_table_entry): Likewise.
1923 (make_char_table_entry): Likewise.
1924 (copy_char_table_entry): Likewise.
1925 (get_non_ascii_char_table_value): Likewise.
1926 (map_over_charset_ascii): Likewise.
1927 (map_over_charset_control_1): Likewise.
1928 (map_over_charset_row): Likewise.
1929 (map_over_other_charset): Likewise.
1930 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1931 (print_char_table): Likewise.
1932 (char_table_equal): Likewise.
1933 (char_table_hash): Likewise.
1934 (char_table_description): Likewise.
1935 (fill_char_table): Likewise.
1936 (Fcopy_char_table): Likewise.
1937 (get_char_table): Likewise.
1938 (Fget_range_char_table): Likewise.
1939 (put_char_table): Likewise.
1940 (map_char_table): Likewise.
1941 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1944 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1946 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
1947 `Vauto_fill_chars' in XEmacs UTF-2000.
1949 * chartab.h (get_byte_table): New prototype [moved from
1951 (put_byte_table): Likewise [moved from chartab.c].
1952 (put_char_id_table_0): New inline function [moved from chartab.c].
1953 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
1954 (Lisp_Char_Table_Entry): Likewise.
1955 (char_table_entry): Likewise.
1956 (XCHAR_TABLE_ENTRY): Likewise.
1957 (XSETCHAR_TABLE_ENTRY): Likewise.
1958 (CHAR_TABLE_ENTRYP): Likewise.
1959 (CHECK_CHAR_TABLE_ENTRY): Likewise.
1960 (NUM_ASCII_CHARS): Likewise.
1961 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
1962 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
1964 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1966 * chartab.c (get_char_id_table): Change interface.
1967 (put_char_id_table_0): New function.
1968 (put_char_id_table): Change interface; new implementation.
1969 (Fget_composite_char): Modify for interface change of
1970 `get_char_id_table'.
1971 (Fchar_variants): Likewise.
1972 (add_char_attribute_alist_mapper): Likewise.
1973 (Fchar_attribute_alist): Likewise.
1974 (Fget_char_attribute): Likewise.
1975 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
1976 as same as character as the first argument like `put-char-table';
1977 modify for interface change of `put_char_id_table'.
1978 (Fremove_char_attribute): Modify for interface change of
1979 `put_char_id_table'.
1981 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1983 * text-coding.c: Sync up with XEmacs 21.2.41.
1984 (COMPOSE_ADD_CHAR): Modify for interface change of
1985 `get_char_id_table'.
1987 * mule-charset.c (put_char_ccs_code_point): Modify for interface
1988 change of `put_char_id_table'.
1989 (remove_char_ccs): Likewise.
1991 * chartab.h (put_char_id_table): Change interface.
1993 * char-ucs.h (get_char_id_table): Change interface.
1994 (charset_code_point): Modify for interface change of
1995 `get_char_id_table'.
1996 (encode_char_1): Likewise.
1998 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2000 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2002 (map_over_uint16_byte_table): Likewise.
2003 (map_over_byte_table): Likewise.
2004 (map_char_id_table): Add new argument `range' like
2006 (Fmap_char_attribute): Add new argument `range' like
2009 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2011 * chartab.c (map_over_uint8_byte_table): Change interface of
2012 mapping function to use struct chartab_range instead of Emchar.
2013 (map_over_uint16_byte_table): Likewise.
2014 (map_over_byte_table): Likewise.
2015 (map_char_id_table): Likewise.
2016 (struct slow_map_char_id_table_arg): Deleted.
2017 (slow_map_char_id_table_fun): Deleted.
2018 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2019 function `slow_map_char_table_fun' instead of struct
2020 `slow_map_char_id_table_arg' and function
2021 `slow_map_char_id_table_fun'.
2023 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2025 * mule-charset.c: Move char-it-table related codes to chartab.c.
2026 (Vutf_2000_version): Moved to chartab.c.
2027 (Fdefine_char): Likewise.
2028 (Ffind_char): Likewise.
2029 (syms_of_mule_charset): Move types `uint8-byte-table',
2030 `uint16-byte-table', `byte-table' and `char-id-table' to
2031 chartab.c; move functions `char_attribute_list,
2032 `find_char_attribute_table, `char_attribute_alist,
2033 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2034 `map_char_attribute, `define_char, `find_char, `char_variants and
2035 `get_composite_char to chartab.c; move symbols `=>ucs',
2036 `->decomposition', `compat', `isolated', `initial', `medial',
2037 `final', `vertical', `noBreak', `fraction', `super', `sub',
2038 `circle', `square', `wide', `narrow', `small' and `font' to
2040 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2041 setting codes for `Vcharacter_composition_table' and
2042 `Vcharacter_variant_table' to chartab.c.
2043 (complex_vars_of_mule_charset): Move setting code for
2044 `Vchar_attribute_hash_table' to chartab.c.
2046 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2047 (make_char_id_table): New prototype.
2048 (put_char_id_table): Likewise.
2049 (Fget_char_attribute): Likewise.
2051 * chartab.c: Move char-id-table related code from mule-charset.c.
2052 (Vutf_2000_version): Moved from mule-charset.c.
2054 * char-ucs.h (Qucs): New external variable.
2055 (put_char_ccs_code_point): New prototype.
2056 (remove_char_ccs): Likewise.
2058 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2060 * mule-charset.c (Vcharset_ucs_jis): New variable.
2061 (Qucs_jis): Likewise.
2062 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2063 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2065 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2067 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2069 * mule-charset.c (map_over_uint8_byte_table): New function.
2070 (map_over_uint16_byte_table): Likewise.
2071 (map_over_byte_table): Likewise.
2072 (map_char_id_table): Likewise.
2073 (slow_map_char_id_table_fun): Likewise.
2074 (Fmap_char_attribute): Likewise.
2075 (syms_of_mule_charset): Add new function `map-char-attribute'.
2077 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2079 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2080 (syms_of_mule_charset): Add new function `find-char'.
2082 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2084 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2086 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2087 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2089 (complex_vars_of_mule_charset): Add new coded-charset
2090 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2091 `ideograph-gt-pj-*'.
2093 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2095 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2097 * mule-charset.c (encode_builtin_char_1): Purge codes about
2098 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2099 {MIN|MAX}_CHAR_HEBREW.
2100 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2101 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2103 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2104 (MAX_CHAR_GREEK): Purged.
2105 (MIN_CHAR_CYRILLIC): Purged.
2106 (MAX_CHAR_CYRILLIC): Purged.
2107 (MIN_CHAR_HEBREW): Commented out.
2108 (MAX_CHAR_HEBREW): Likewise.
2110 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2112 * mule-charset.c (Qto_ucs): New variable.
2113 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2114 (Fdefine_char): Likewise.
2115 (syms_of_mule_charset): Add new symbol `=>ucs'.
2117 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2119 * mule-charset.c (Fdecode_char): Fixed.
2121 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2123 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2124 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2127 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2129 * mule-charset.c (Vcharset_ucs_big5): New variable.
2130 (Qucs_big5): Likewise.
2131 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2132 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2134 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2136 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2138 * mule-charset.c (decode_builtin_char): Check Big5 code range
2139 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2141 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2143 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2144 (Qchinese_gb12345): Likewise.
2145 (Fdecode_builtin_char): Fixed.
2146 (syms_of_mule_charset): Add `chinese-gb12345'.
2147 (complex_vars_of_mule_charset): Add coded-charset
2150 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2151 (LEADING_BYTE_CHINESE_GB12345): New macro.
2153 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2155 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2156 and `latin-viscii-upper' for `latin-viscii'.
2158 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2160 * mule-charset.c (Fdecode_builtin_char): Comment out
2161 regularization code for ISO-IR GR representation.
2163 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2165 * mule-charset.c (decode_builtin_char): New function; renamed from
2166 `make_builtin_char'; return -1 instead of signal.
2167 (Fdecode_builtin_char): Use `decode_builtin_char'.
2169 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2170 `make_builtin_char'.
2171 (DECODE_CHAR): Use `decode_builtin_char' instead of
2172 `make_builtin_char'; use mapping table of `chinese-big5' for
2173 `chinese-big5-{1,2}'.
2175 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2177 * text-coding.c (char_encode_big5): New function.
2178 (char_finish_big5): Likewise.
2179 (reset_encoding_stream): Use `char_encode_big5' and
2180 `char_finish_big5' for CODESYS_BIG5.
2181 (mule_encode): Don't use `encode_coding_big5'.
2182 (encode_coding_big5): Deleted.
2184 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2186 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2187 0x81- in XEmacs UTF-2000.
2188 (detect_coding_big5): Likewise.
2190 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2192 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2193 generate character-id if the CCS property does not have
2194 corresponding predefined character.
2195 (make_builtin_char): Return -1 if corresponding predefined
2196 character is not found.
2197 (Fdecode_char): Return nil if corresponding character is not
2199 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2200 don't map to builtin ucs space.
2202 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2204 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2205 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2207 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2209 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2210 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2211 (Qideograph_gt): Likewise.
2212 (Qideograph_gt_pj_{1..11}): Likewise.
2213 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2214 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2215 `ideograph-gt-pj-11'.
2216 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2217 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2218 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2220 * char-ucs.h (LEADING_BYTE_GT): New macro.
2221 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2222 (MIN_CHAR_GT): Likewise.
2223 (MAX_CHAR_GT): Likewise.
2225 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2227 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2228 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2230 * doprnt.c (unsigned_int_converters): Add `c'.
2231 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2233 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2234 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2236 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2237 (MAX_CHAR_MOJIKYO_0): New macro.
2238 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2240 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2242 * mule-charset.c (Fdefine_char): Delete cemented out code.
2243 (encode_builtin_char_1): Modify for new allocation of builtin
2246 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2248 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2250 * mule-charset.c (Vcharset_ucs_cns): New variable.
2251 (Qucs_cns): New variable.
2252 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2253 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2255 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2257 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2259 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2261 * search.c (search_buffer): Make `charset_base_code' as
2262 character-id >> 6 to eliminate the corresponding last byte in
2263 UTF-8 representation [I'm not sure it is right thing].
2264 (boyer_moore): Likewise.
2266 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2268 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2269 representation in MULE.
2271 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2273 * text-coding.c (Fmake_coding_system): Use
2274 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2275 `EXTERNAL_PROPERTY_LIST_LOOP'.
2277 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2279 * text-coding.c (decode_output_utf8_partial_char): New function.
2280 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2282 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2284 * text-coding.c (decode_coding_utf8): Output original byte
2285 sequence if it is broken; change order of conditions.
2287 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2290 * mb-multibyte.h (BYTE_ASCII_P):
2291 Use bit ops for char-signedness safety.
2292 (BYTE_C0_P): Use bit ops for char-signedness safety.
2293 (BYTE_C1_P): Use bit ops for char-signedness safety.
2295 * character.h: (XCHAR_OR_CHAR_INT):
2296 Always use inline function.
2297 Remove redundant type checking assert() - XINT will abort quite
2300 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2302 * text-coding.c: (Fencode_shift_jis_char):
2303 (Fencode_big5_char):
2304 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2305 Replace 0 with '\0' when working with bytes.
2306 Replace initial "(" with "\(" in docstrings.
2308 (Fmake_coding_system):
2309 When type is ccl and value is vector, register it with a proper
2310 symbol. And checks whether the given ccl program is valid.
2311 (mule_decode): When calling ccl_driver, if src indicates
2312 NULL pointer, set an empty string instead.
2313 (mule_encode): Likewise.
2316 (detect_coding_sjis):
2317 (decode_coding_sjis):
2318 (detect_coding_big5):
2319 (decode_coding_big5):
2320 (detect_coding_ucs4):
2321 (decode_coding_ucs4):
2322 (detect_coding_utf8):
2323 (decode_coding_utf8):
2324 (detect_coding_iso2022):
2325 (decode_coding_iso2022):
2326 (decode_coding_no_conversion):
2328 Make all detecting and decoding functions take an Extbyte * arg.
2329 (text_encode_generic):
2330 (encode_coding_big5):
2331 (encode_coding_no_conversion):
2333 Make all encoding functions take a Bufbyte * arg.
2334 Use size_t instead of unsigned int for memory sizes.
2335 Only cast to unsigned char whenever dereferencing Extbyte *.
2337 (struct lrecord_description fcd_description_1): Use countof.
2338 (complex_vars_of_file_coding):
2339 Use countof instead of sizeof.
2340 Use CHECK_NATNUM instead of CHECK_INT.
2342 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2344 * mule-charset.c (Fget_char_attribute): Add new optional argument
2346 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2347 (remove_char_ccs): Likewise.
2349 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2351 * text-coding.c (char_encode_shift_jis): New implementation in
2353 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2356 * mule-charset.c (Vcharset_chinese_big5): New variable in
2358 (Qchinese_big5): New variable in UTF-2000.
2359 (BIG5_SAME_ROW): New macro in UTF-2000.
2360 (make_builtin_char): Use builtin characters of
2361 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2362 characters of `Vcharset_chinese_big5'.
2363 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2364 (complex_vars_of_mule_charset): Add new coded-charset
2365 `chinese-big5' in UTF-2000.
2367 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2368 (Vcharset_chinese_big5): New external variable declaration.
2369 (Vcharset_japanese_jisx0208_1990): Likewise.
2371 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2373 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2375 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2377 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2379 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2380 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2381 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2384 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2386 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2388 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2390 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2393 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2395 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2396 for `CHARSET_BY_ATTRIBUTES'.
2397 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2398 `CHARSET_BY_ATTRIBUTES'.
2400 * text-coding.c (struct decoding_stream): Rename member `CH' to
2402 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2403 (decode_coding_sjis): Likewise.
2404 (decode_coding_big5): Likewise.
2405 (decode_coding_ucs4): Likewise.
2406 (decode_coding_utf8): Likewise.
2407 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2408 `CHARSET_BY_ATTRIBUTES'.
2409 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2410 `str->counter'; decode 3, 4 bytes sets.
2411 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2413 (decode_coding_no_conversion): Use `str->cpos' instead of
2416 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2417 (Qmojikyo_2022_1): New variable.
2418 (make_charset): Don't use `CHARSET_TYPE_*'.
2419 (range_charset_code_point): Support coded-charset
2421 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2422 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2423 `CHARSET_BY_ATTRIBUTES'.
2424 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2425 `CHARSET_BY_ATTRIBUTES'.
2426 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2427 (complex_vars_of_mule_charset): Add new coded-charset
2430 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2431 interface; changed to inline function.
2433 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2434 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2435 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2436 (CHARSET_TYPE_94): Deleted.
2437 (CHARSET_TYPE_94X94): Deleted.
2438 (CHARSET_TYPE_96): Deleted.
2439 (CHARSET_TYPE_96X96): Deleted.
2440 (CHARSET_TYPE_128): Deleted.
2441 (CHARSET_TYPE_128X128): Deleted.
2442 (CHARSET_TYPE_256): Deleted.
2443 (CHARSET_TYPE_256X256): Deleted.
2444 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2446 (DECODE_MOJIKYO_2022): New inline function.
2447 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2448 `Vcharset_mojikyo_2022_1'.
2450 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2452 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2454 (put_byte_table): Likewise.
2455 (char_id_table_equal): Use `get_byte_table' [new implementation].
2457 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2459 * mule-charset.c: Include <limits.h> in UTF-2000.
2460 (BT_UINT8_MIN): New macro in UTF-2000.
2461 (BT_UINT8_MAX): New macro in UTF-2000.
2462 (BT_UINT8_t): New macro in UTF-2000.
2463 (BT_UINT8_nil): New macro in UTF-2000.
2464 (BT_UINT8_unbound): New macro in UTF-2000.
2465 (INT_UINT8_P): New inline function in UTF-2000.
2466 (UINT8_VALUE_P): New inline function in UTF-2000.
2467 (UINT8_ENCODE): New inline function in UTF-2000.
2468 (UINT8_DECODE): New inline function in UTF-2000.
2469 (mark_uint8_byte_table): New function in UTF-2000.
2470 (print_uint8_byte_table): New function in UTF-2000.
2471 (uint8_byte_table_equal): New function in UTF-2000.
2472 (uint8_byte_table_hash): New function in UTF-2000.
2473 (make_uint8_byte_table): New function in UTF-2000.
2474 (uint8_byte_table_same_value_p): New function in UTF-2000.
2475 (BT_UINT16_MIN): New macro in UTF-2000.
2476 (BT_UINT16_MAX): New macro in UTF-2000.
2477 (BT_UINT16_t): New macro in UTF-2000.
2478 (BT_UINT16_nil): New macro in UTF-2000.
2479 (BT_UINT16_unbound): New macro in UTF-2000.
2480 (INT_UINT16_P): New inline function in UTF-2000.
2481 (UINT16_VALUE_P): New inline function in UTF-2000.
2482 (UINT16_ENCODE): New inline function in UTF-2000.
2483 (UINT16_DECODE): New inline function in UTF-2000.
2484 (UINT8_TO_UINT16): New inline function in UTF-2000.
2485 (mark_uint16_byte_table): New function in UTF-2000.
2486 (print_uint16_byte_table): New function in UTF-2000.
2487 (uint16_byte_table_equal): New function in UTF-2000.
2488 (uint16_byte_table_hash): New function in UTF-2000.
2489 (make_uint16_byte_table): New function in UTF-2000.
2490 (uint16_byte_table_same_value_p): New function in UTF-2000.
2491 (print_byte_table): New function in UTF-2000.
2492 (byte-table): Use `print_byte_table' as printer.
2493 (make_byte_table): Delete second argument `older'.
2494 (byte_table_same_value_p): New function in UTF-2000.
2495 (copy_byte_table): Deleted.
2496 (get_byte_table): New function in UTF-2000.
2497 (put_byte_table): New function in UTF-2000.
2498 (print_char_id_table): New function in UTF-2000.
2499 (char-id-table): Use `print_char_id_table' as printer.
2500 (make_char_id_table): Delete second argument `older'.
2501 (get_char_id_table): Use `get_byte_table [new implementation].
2502 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2504 (Ffind_char_attribute_table): New function in UTF-2000.
2505 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2506 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2507 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2508 (syms_of_mule_charset): Add new function
2509 `find-char-attribute-table' in UTF-2000.
2511 * lrecord.h (enum lrecord_type): Add
2512 `lrecord_type_uint16_byte_table' and
2513 `lrecord_type_uint8_byte_table'.
2515 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2516 (Lisp_Uint8_Byte_Table): New type.
2517 (XUINT8_BYTE_TABLE): New macro.
2518 (XSETUINT8_BYTE_TABLE): New macro.
2519 (UINT8_BYTE_TABLE_P): New macro.
2520 (GC_UINT8_BYTE_TABLE_P): New macro.
2521 (struct Lisp_Uint16_Byte_Table): New structure.
2522 (Lisp_Uint16_Byte_Table): New type.
2523 (XUINT16_BYTE_TABLE): New macro.
2524 (XSETUINT16_BYTE_TABLE): New macro.
2525 (UINT16_BYTE_TABLE_P): New macro.
2526 (GC_UINT16_BYTE_TABLE_P): New macro.
2528 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2530 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2531 (Vcharacter_ideographic_strokes_table): Deleted.
2532 (Vcharacter_total_strokes_table): Deleted.
2533 (Vcharacter_morohashi_daikanwa_table): Deleted.
2534 (Vcharacter_decomposition_table): Deleted.
2535 (Qname): Deleted because it is duplicated.
2536 (Qideographic_radical): Deleted.
2537 (Qideographic_strokes): Deleted.
2538 (Qtotal_strokes): Deleted.
2539 (Qmorohashi_daikanwa): Deleted.
2540 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2541 `ideographic-radical', `ideographic-strokes', `total-strokes',
2542 `morohashi-daikanwa' and `->decomposition'.
2543 (Fget_char_attribute): Likewise.
2544 (Fput_char_attribute): Likewise; use `make-vector' instead of
2545 `make_older_vector' for `->decomposition' value.
2546 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2547 `ideograph-daikanwa'.
2548 (syms_of_mule_charset): Delete builtin symbols `name',
2549 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2550 `morohashi-daikanwa'.
2551 (vars_of_mule_charset): Don't setup
2552 `Vcharacter_ideographic_radical_table',
2553 `Vcharacter_ideographic_strokes_table',
2554 `Vcharacter_total_strokes_table',
2555 `Vcharacter_morohashi_daikanwa_table' and
2556 `Vcharacter_decomposition_table'.
2558 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2560 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2561 `make_older_vector', `make_vector_newer_1' and
2562 `make_vector_newer'.
2564 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2565 `make_older_vector' and `make_vector_newer'.
2567 * config.h.in (HAVE_GGC): New macro.
2569 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2571 * mule-charset.c (struct char_attribute_list_closure): New
2572 structure in UTF-2000.
2573 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2574 (Fchar_attribute_list): Likewise.
2575 (Fset_charset_mapping_table): Use `make_vector_newer'.
2576 (Fdecode_builtin_char): New function in UTF-2000.
2577 (syms_of_mule_charset): Add new function `char-attribute-list' and
2578 `decode-builtin-char' in UTF-2000.
2580 * lisp.h (make_vector_newer): New prototype.
2582 * alloc.c (make_vector_newer_1): New function.
2583 (make_vector_newer): New function.
2585 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2587 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2590 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2592 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2593 (Vcharacter_attribute_table): Deleted.
2594 (Vcharacter_name_table): Deleted.
2595 (put_char_attribute): Deleted.
2596 (remove_char_attribute): Deleted.
2597 (struct char_attribute_alist_closure): New structure.
2598 (add_char_attribute_alist_mapper): New function.
2599 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2600 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2601 (Fget_char_attribute): Likewise.
2602 (Fput_char_attribute): Likewise.
2603 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2604 of `remove_char_attribute'.
2605 (Fdefine_char): Return character.
2606 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2607 and `Vcharacter_name_table'.
2608 (complex_vars_of_mule_charset): Likewise
2609 `Vchar_attribute_hash_table'.
2611 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2613 * character.h (CHARC_CHARSET): New macro.
2614 (CHARC_CHARSET_ID): New macro.
2615 (CHARC_CODE_POINT): New macro.
2616 (CHARC_COLUMNS): New macro.
2617 (CHARC_TO_CHAR): New inline function.
2618 (CHARC_EQ): New inline function.
2619 (CHARC_ASCII_EQ): New inline function.
2620 (CHARC_IS_SPACE): New inline function.
2621 (ASCII_TO_CHARC): New inline function.
2623 * char-ucs.h (encode_char_2): Deleted.
2624 (ENCODE_CHAR): Use `encode_char_1' again.
2625 (breakup_char_1): Likewise.
2626 (CHAR_TO_CHARC): New inline function.
2628 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2630 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2632 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2633 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2634 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2635 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2636 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2638 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2640 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2642 (x_output_display_block): Use `CHARC_CHARSET' and
2645 * redisplay-tty.c (tty_output_display_block): Use
2647 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2649 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2651 * insdel.c (find_charsets_in_charc_string): Use
2653 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2654 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2655 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2656 (convert_charc_string_into_malloced_string): Likewise.
2658 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2660 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2661 instead of <Emchar_dynarr *> for buf; use
2662 `convert_bufbyte_string_into_charc_dynarr' instead of
2663 `convert_bufbyte_string_into_emchar_dynarr'; use
2664 `find_charsets_in_charc_string' instead of
2665 `find_charsets_in_emchar_string'.
2668 - Include "character.h".
2669 (struct rune): New member `cglyph'; delete member `chr'.
2671 * redisplay.c (redisplay_text_width_charc_string): New function;
2672 delete `redisplay_text_width_emchar_string'.
2673 (rtw_charc_dynarr): New variable; renamed from
2674 `rtw_emchar_dynarr'.
2675 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2676 `rtw_emchar_dynarr'; use
2677 `convert_bufbyte_string_into_charc_dynarr' instead of
2678 `convert_bufbyte_string_into_emchar_dynarr'; use
2679 `redisplay_text_width_charc_string' instead of
2680 `redisplay_text_width_emchar_string'.
2681 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2682 instead of `rtw_emchar_dynarr'; use
2683 `convert_bufbyte_string_into_charc_dynarr' instead of
2684 `convert_bufbyte_string_into_emchar_dynarr'.
2685 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2686 `redisplay_text_width_charc_string' instead of
2687 `redisplay_text_width_emchar_string'.
2688 (create_text_block): Modify for <struct rune> change.
2689 (generate_formatted_string_db): Likewise.
2690 (create_string_text_block): Likewise.
2691 (pixel_to_glyph_translation): Likewise.
2693 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2694 instead of <const Emchar *>.
2695 (x_text_width): Likewise.
2696 (x_output_display_block): Use <Charc_dynarr *> instead
2697 <Emchar_dynarr *>; modify for <structure rune> change.
2698 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2701 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2702 <const Emchar *>; use `charc_string_displayed_columns' instead of
2703 `emchar_string_displayed_columns'.
2704 (tty_output_display_block): Use <Charc_dynarr *> instead of
2705 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2706 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2707 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2708 `tty_output_emchar_dynarr_dynarr'.
2709 (tty_output_charc_dynarr): New function; delete
2710 `tty_output_charc_dynarr'.
2712 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2713 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2714 <Emchar_dynarr *> for buf; use
2715 `convert_bufbyte_string_into_charc_dynarr' instead of
2716 `convert_bufbyte_string_into_emchar_dynarr'.
2718 * frame.c (title_string_charc_dynarr): New variable; renamed from
2719 `title_string_emchar_dynarr'.
2720 (generate_title_string): Use `title_string_charc_dynarr' instead
2721 of `title_string_emchar_dynarr'; use
2722 `convert_charc_string_into_malloced_string' instead of
2723 `convert_emchar_string_into_malloced_string'.
2724 (init_frame): Use `title_string_charc_dynarr' instead of
2725 `title_string_emchar_dynarr'.
2728 - Include "character.h".
2729 (struct console_methods): Use <const Charc *> instead of <const
2730 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2731 <Emchar_dynarr *> in output_string_method.
2733 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2736 * console-stream.c (stream_text_width): Use <const Charc *>
2737 instead of <const Emchar *>.
2739 * character.h (Charc_dynarr): New type.
2741 * char-ucs.h (structure Charc): New structure; define new type
2744 * char-lb.h (DECODE_CHAR): New inline function.
2745 (encode_char_1): New inline function.
2746 (ENCODE_CHAR): New macro.
2747 (structure Charc): New structure; define new type `Charc'.
2749 * char-1byte.h (Vcharset_control_1): New macro.
2750 (Vcharset_latin_iso8859_1): New macro.
2751 (DECODE_CHAR): New inline function.
2752 (encode_char_1): New inline function.
2753 (ENCODE_CHAR): New macro.
2754 (structure Charc): New structure; define new type `Charc'.
2756 * insdel.c (find_charsets_in_charc_string): New function; delete
2757 `find_charsets_in_emchar_string'.
2758 (charc_string_displayed_columns): New function; delete
2759 `emchar_string_displayed_columns'.
2760 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2761 `convert_bufbyte_string_into_emchar_dynarr'.
2762 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2763 `convert_charc_string_into_bufbyte_dynarr'.
2764 (convert_charc_string_into_malloced_string): New function; delete
2765 `convert_charc_string_into_malloced_string'.
2767 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2768 `find_charsets_in_emchar_string'.
2769 (charc_string_displayed_columns): New prototype; delete
2770 `emchar_string_displayed_columns'.
2771 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2772 `convert_charc_string_into_bufbyte_dynarr'.
2773 (convert_charc_string_into_malloced_string): New prototype; delete
2774 `convert_charc_string_into_malloced_string'.
2776 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2778 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2780 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2782 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2784 * char-ucs.h: Use <short> for <Charset_ID>.
2786 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2789 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2791 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2794 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2796 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2798 (Qmorohashi_daikanwa): New variable.
2799 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2800 for `morohashi-daikanwa' attribute.
2801 (Fget_char_attribute): Likewise.
2802 (Fput_char_attribute): Likewise.
2803 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2804 has the same value of `ideograph-daikanwa'.
2805 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2806 (vars_of_mule_charset): Setup
2807 `Vcharacter_morohashi_daikanwa_table'.
2809 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2811 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2813 (add_charset_to_list_mapper): Add `key' instead of
2814 `XCHARSET_NAME (value)' to return aliases.
2816 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2818 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2820 (Vcharacter_ideographic_strokes_table): New variable.
2821 (Qideographic_radical): New variable.
2822 (Qideographic_strokes): New variable.
2823 (Fchar_attribute_alist): Use
2824 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2825 attribute; use `Vcharacter_ideographic_strokes_table' for
2826 `ideographic-strokes' attribute.
2827 (Fget_char_attribute): Likewise.
2828 (Fput_char_attribute): Likewise.
2829 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2830 `ideographic-strokes'.
2831 (vars_of_mule_charset): Setup
2832 `Vcharacter_ideographic_radical_table' and
2833 `Vcharacter_ideographic_strokes_table'.
2835 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2837 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2838 (Qtotal_strokes): New variable.
2839 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2840 `total-strokes' attribute.
2841 (Fget_char_attribute): Likewise.
2842 (Fput_char_attribute): Likewise.
2843 (syms_of_mule_charset): Add new symbol `total-strokes'.
2844 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2846 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2848 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2849 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2851 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2852 `->decomposition' attribute.
2853 (Fput_char_attribute): Likewise.
2854 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2856 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2858 * mule-charset.c (decoding_table_check_elements): New function.
2859 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2861 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2863 * mule-charset.c (Fset_charset_mapping_table): Use
2864 `put_char_ccs_code_point'.
2866 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2868 * mule-charset.c (decoding_table_put_char): New inline function.
2869 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2871 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2873 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2874 (XCHARSET_BYTE_SIZE): New macro.
2875 (decoding_table_remove_char): New inline function.
2876 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2877 `decoding_table_remove_char'.
2878 (remove_char_ccs): Use `decoding_table_remove_char'.
2879 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2881 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2883 * mule-charset.c (Vcharacter_name_table): New variable.
2884 (Qname): New variable.
2885 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2887 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2888 `Vcharacter_name_table' for `name' attribute.
2889 (Fremove_char_attribute): Use function `remove_char_ccs'.
2890 (put_char_ccs_code_point): New function.
2891 (remove_char_ccs): New function.
2892 (syms_of_mule_charset): Add new symbol `name'.
2893 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2895 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2897 * mule-charset.c (make_byte_table): Add new argument `older'.
2898 (make_char_id_table): Likewise.
2899 (copy_char_id_table): Comment out because it is not used.
2900 (put_char_id_table): Modify for `make_byte_table'.
2901 (Fput_char_attribute): Make encoding_table as older object;
2902 inherit older bit of `Vcharacter_composition_table'.
2903 (mark_charset): Don't mark `cs->encoding_table'.
2904 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2905 normal object; make `Vcharacter_composition_table' as an older
2906 object; delete staticpro for `Vcharacter_composition_table'; make
2907 `Vcharacter_variant_table' as a normal object.
2909 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2910 (mark_object): Don't check older object in UTF-2000.
2912 * lrecord.h (struct lrecord_header): Add new member `older' in
2914 (set_lheader_implementation): Setup `SLI_header->older' in
2916 (set_lheader_older_implementation): New macro in UTF-2000.
2917 (OLDER_RECORD_P): New macro in UTF-2000.
2918 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2919 (alloc_older_lcrecord): New prototype in UTF-2000.
2920 (alloc_older_lcrecord_type): New macro in UTF-2000.
2922 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2924 * mule-charset.c (byte_table_description): Use
2925 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2926 (char_id_table_description): Delete bogus `, 1'.
2927 (Fget_char_attribute): Refer encoding_table of each coded-charset
2928 to get value of coded-charset attribute of a character.
2929 (Fput_char_attribute): Use `make_older_vector' instead of
2930 `make_vector'; use encoding_table of each coded-charset to store
2931 value of coded-charset attribute of a character.
2932 (Fremove_char_attribute): Use encoding_table of each coded-charset
2933 to store value of coded-charset attribute of a character.
2934 (mark_charset): Mark `cs->encoding_table'; don't mark
2935 `cs->decoding_table'.
2936 (charset_description): Add description of new member
2938 (make_charset): Initialize `encoding_table'.
2940 * char-ucs.h (struct Lisp_Charset): Add new member
2942 (CHARSET_ENCODING_TABLE): New macro.
2943 (XCHARSET_ENCODING_TABLE): New macro.
2944 (charset_code_point): New implementation.
2945 (encode_char_1): Likewise.
2947 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
2948 (disksave_object_finalization_1): Call finalizers of
2949 `all_older_lcrecords' in UTF-2000.
2950 (make_older_vector): New function in UTF-2000.
2951 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
2954 * lisp.h (make_older_vector): New prototype in UTF-2000.
2956 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2958 * lrecord.h (enum lrecord_type): Rename
2959 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
2961 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
2962 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
2963 `get_char_code_table'.
2965 * mule-charset.c (mark_char_id_table): Renamed from
2966 `mark_char_code_table'.
2967 (char_id_table_equal): Renamed from `char_code_table_equal'.
2968 (char_id_table_hash): Renamed from `char_code_table_hash'.
2969 (make_char_id_table): Renamed from `make_char_code_table'.
2970 (copy_char_id_table): Renamed from `copy_char_code_table'.
2971 (get_char_id_table): Renamed from `get_char_code_table'.
2972 (put_char_id_table): Renamed from `put_char_code_table'.
2973 (to_char_id): Renamed from `to_char_code'.
2975 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
2976 `Lisp_Char_Code_Table'.
2977 (char_id_table): Renamed from `char_code_table'.
2978 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
2979 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
2980 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
2981 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
2982 (get_char_id_table): Renamed from `get_char_code_table'.
2984 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2986 * lrecord.h (enum lrecord_type): Rename
2987 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
2989 * mule-charset.c (mark_byte_table): Renamed from
2990 `mark_char_byte_table'.
2991 (byte_table_equal): Renamed from `char_byte_table_equal'.
2992 (byte_table_hash): Renamed from `byte_table_hash'.
2993 (make_byte_table): Renamed from `make_byte_table'.
2994 (copy_byte_table): Renamed from `copy_char_byte_table'.
2996 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
2997 `Lisp_Char_Byte_Table'.
2998 (byte_table): Renamed from `char_byte_table'.
2999 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3000 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3001 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3002 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3004 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3006 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3007 (dfc_convert_to_internal_format): Likewise.
3009 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3010 * text-coding.c (Fcoding_system_alias_p): New function.
3011 * text-coding.c (Fcoding_system_aliasee): New function.
3012 * text-coding.c (append_suffix_to_symbol): New function.
3013 * text-coding.c (dangling_coding_system_alias_p): New function.
3014 * text-coding.c (Ffind_coding_system):
3015 * text-coding.c (Fcopy_coding_system):
3016 * text-coding.c (encode_coding_no_conversion):
3017 * text-coding.c (syms_of_file_coding):
3018 * text-coding.c (vars_of_file_coding):
3019 Rewrite coding system alias code.
3020 Allow nested aliases, like symbolic links.
3021 Allow redefinition of coding system aliases.
3022 Prevent existence of dangling coding system aliases.
3023 Eliminate convert_to_external_format.
3024 Eliminate convert_to_internal_format.
3026 * text-coding.c: Change enum eol_type to eol_type_t.
3028 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3030 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3031 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3033 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3034 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3036 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3038 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3039 `ideograph-daikanwa'.
3041 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3042 (Vcharset_ucs_bmp): Likewise.
3043 (Vcharset_mojikyo): Add new extern variable definition.
3044 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3045 (Vcharset_latin_iso8859_3): Likewise.
3046 (Vcharset_latin_iso8859_4): Likewise.
3047 (Vcharset_latin_iso8859_9): Likewise.
3048 (Vcharset_latin_viscii_lower): Likewise.
3049 (Vcharset_latin_viscii_upper): Likewise.
3050 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3051 `mojikyo' code-point is used to decode.
3052 (encode_char_2): New function [to convert `mojikyo' code-point to
3053 Mojikyo font encoding].
3054 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3055 (breakup_char_1): Likewise.
3056 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3058 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3060 * text-coding.c (Fmake_coding_system): Add document about
3061 `disable-composition' property.
3063 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3065 * text-coding.c (Qdisable_composition): New variable; delete
3067 (Fmake_coding_system): Add new property `disable-composite';
3068 delete property `composite'.
3069 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3070 instead of `!CODING_SYSTEM_COMPOSITE'.
3071 (syms_of_file_coding): Add new symbol `disable-composition';
3072 delete symbol `composite'.
3074 * file-coding.h (struct Lisp_Coding_System): Add
3075 `disable_composition'; delete `enable_composition'.
3076 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3077 `CODING_SYSTEM_COMPOSITE'.
3078 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3079 `XCODING_SYSTEM_COMPOSITE'.
3081 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3083 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3086 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3088 * text-coding.c (Qcomposite): New variable.
3089 (Fmake_coding_system): Add new property `composite'.
3090 (struct decoding_stream): Add `combined_char_count',
3091 `combined_chars' and `combining_table' in UTF-2000.
3092 (COMPOSE_FLUSH_CHARS): New macro.
3093 (COMPOSE_ADD_CHAR): New macro.
3094 (reset_decoding_stream): Reset `str->combined_char_count' and
3095 `str->combining_table' in UTF-2000.
3096 (decode_coding_iso2022): Modify for character-decomposition.
3097 (syms_of_file_coding): Add new symbol `composite'.
3099 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3101 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3102 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3103 of `Vcharacter_composition_table' if `->decomposition' property
3105 (Qlatin_tcvn5712): New variable.
3106 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3107 (complex_vars_of_mule_charset): Add new coded-charset
3110 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3112 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3114 * file-coding.h (struct Lisp_Coding_System): Add
3115 `enable_composition'.
3116 (CODING_SYSTEM_COMPOSITE): New macro.
3117 (XCODING_SYSTEM_COMPOSITE): New macro.
3119 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3121 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3123 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3125 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3126 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3128 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3130 * mule-charset.c (Vcharset_mojikyo): New variable.
3131 (Fdefine_char): Don't use coded-charset which does not have
3132 non-builtin character range to allocate character-id.
3133 (Qmojikyo): New variable.
3134 (syms_of_mule_charset): Add new symbol `mojikyo'.
3135 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3137 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3138 (LEADING_BYTE_MOJIKYO): New macro.
3139 (MIN_CHAR_MOJIKYO): New macro.
3140 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3141 (MAX_CHAR_MOJIKYO): New macro.
3143 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3145 * mule-charset.c (remove_char_attribute): Fixed.
3147 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3149 * mule-charset.c (remove_char_attribute): New function.
3150 (Fremove_char_attribute): New function.
3151 (encode_builtin_char_1): Comment out builtin-support for
3152 greek-iso8859-7 and cyrillic-iso8859-5.
3153 (Fdecode_char): Check `code' is an integer.
3154 (syms_of_mule_charset): Add `remove-char-attribute'.
3155 (MIN_CHAR_GREEK): Deleted.
3156 (MAX_CHAR_GREEK): Likewise.
3157 (MIN_CHAR_CYRILLIC): Likewise.
3158 (MAX_CHAR_CYRILLIC): Likewise.
3159 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3160 MAX_CHAR_GREEK for `greek-iso8859-7'.
3162 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3163 (MAX_CHAR_GREEK): Likewise.
3164 (MIN_CHAR_CYRILLIC): Likewise.
3165 (MAX_CHAR_CYRILLIC): Likewise.
3167 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3169 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3170 format is used without `ucs' property.
3171 (Fdecode_char): Fix problem with GR representation.
3172 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3173 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3175 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3177 * mule-charset.c (make_builtin_char): New function.
3178 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3179 (Fset_charset_mapping_table): Modify for new representation of
3181 (Fdecode_char): New function.
3182 (syms_of_mule_charset): Add new builtin function `decode-char' in
3185 * char-ucs.h (make_builtin_char): New prototype.
3186 (DECODE_CHAR): New inline function.
3187 (MAKE_CHAR): Use `DECODE_CHAR'.
3189 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3191 * text-coding.c (parse_charset_conversion_specs): Use
3192 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3194 (iso2022_designate): Likewise.
3196 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3197 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3199 * mule-charset.c (Vcharset_ucs): New variable.
3200 (print_charset): Change design; use `CHARSET_CHARS' and
3201 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3202 (make_charset): Change signature to specify `chars' and
3203 `dimension' instead of `type'.
3204 (range_charset_code_point): Modify for 256^n-set.
3205 (encode_builtin_char_1): Encode as `ucs' in default.
3206 (Fmake_charset): Modify for `make_charset'.
3207 (Fmake_reverse_direction_charset): Likewise.
3208 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3210 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3213 * char-ucs.h (Vcharset_ucs): New variable.
3214 (LEADING_BYTE_UCS): New macro.
3215 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3216 and `chars' to `unsigned short' from `unsigned int'.
3217 (CHARSET_TYPE): Deleted.
3218 (XCHARSET_TYPE): Deleted.
3220 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3222 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3224 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3225 (ENCODE_CHAR): New macro.
3227 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3229 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3230 to 0.14 (Kawachi-Katakami).
3232 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3234 * text-coding.c (char_encode_shift_jis): Modify for
3235 `charset_code_point'.
3236 (char_encode_iso2022): Likewise.
3238 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3239 (integer) instead of list of <Lisp_Object>s (integers) as the
3240 format of code-point of a coded-charset.
3241 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3242 (encode_builtin_char_1): New function; delete
3243 `split_builtin_char'.
3244 (charset_code_point): Return <int> instead of <Lisp_Object>.
3245 (Fsplit_char): Don't use `SPLIT_CHAR'.
3247 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3248 prototype for `split_builtin_char'.
3249 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3250 (charset_code_point): Likewise.
3251 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3252 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3254 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3256 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3257 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3259 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3261 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3263 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3264 (MAX_CHAR_OBS_94x94): Deleted.
3266 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3268 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3270 * char-ucs.h (MAX_CHAR_BMP): New macro.
3272 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3274 * text-coding.c: Sync with r21-2-24.
3276 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3278 * file-coding.c: Modify for UTF-2000.
3280 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3282 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3285 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3287 * mule-charset.c (split_builtin_char): Delete builtin support for
3288 `katakana-jisx0201'.
3289 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3290 BMP area in builtin representation.
3292 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3293 `Vcharset_katakana_jisx0201'.
3295 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3297 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3298 (Qisolated): New variable.
3299 (Qinitial): New variable.
3300 (Qmedial): New variable.
3301 (Qfinal): New variable.
3302 (Qvertical): New variable.
3303 (Qsmall): New variable.
3304 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3305 `Qvertical' and `Qsmall'.
3306 (Qmojikyo_pj_[1 .. 21]): New variable.
3307 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3308 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3309 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3312 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3314 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3315 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3316 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3318 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3320 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3321 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3323 (Qjapanese_jisx0208_1990): New variable.
3324 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3325 (complex_vars_of_mule_charset): Add new coded-charset
3326 `japanese-jisx0208-1990'.
3328 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3329 (MIN_CHAR_JIS_X0208_1990): New macro.
3330 (MAX_CHAR_JIS_X0208_1990): New macro.
3332 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3334 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3335 coded-charset is not found.
3337 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3339 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3340 (Fdefine_char): Use `Fmake_char'.
3342 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3344 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3345 (Vcharset_hiragana_jisx0208): Deleted.
3346 (Vcharset_katakana_jisx0208): Deleted.
3347 (Qideograph_daikanwa): New variable.
3348 (Qhiragana_jisx0208): Deleted.
3349 (Qkatakana_jisx0208): Deleted.
3350 (split_builtin_char): Split `ideograph-daikanwa'.
3351 (Fsplit_char): New implementation for UTF-2000.
3352 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3353 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3354 (complex_vars_of_mule_charset): Add new coded-charset
3355 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3356 `katakana-jisx0208'.
3358 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3359 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3360 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3361 (MIN_CHAR_DAIKANWA): New macro.
3362 (MAX_CHAR_DAIKANWA): New macro.
3364 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3366 * data.c (Fstring_to_number): Don't recognize floating point if
3369 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3371 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3373 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3375 * mule-charset.c (Qsquare): New variable.
3376 (to_char_code): Add `Qsquare'.
3377 (syms_of_mule_charset): Add new symbol `square'.
3379 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3381 * mule-charset.c (Qcircle): New variable.
3382 (to_char_code): Add `Qcircle'.
3383 (syms_of_mule_charset): Add new symbol `circle'.
3385 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3387 * mule-charset.c (Qfont): New variable.
3388 (to_char_code): Add `Qfont'.
3389 (syms_of_mule_charset): Add new symbol `font'.
3391 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3393 * mule-charset.c (Qsub): New variable.
3394 (to_char_code): Add `Qsub'.
3395 (syms_of_mule_charset): Add new symbol `sub'.
3397 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3399 * mule-charset.c (Fput_char_attribute): Convert each element of
3400 VALUE to GL position if ATTRIBUTE is a GR-set,
3402 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3404 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3405 coded-charset is a GR-set.
3407 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3409 * mule-charset.c (Fput_char_attribute): Check each element of
3410 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3412 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3414 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3416 (Qethiopic_ucs): New variable in UTF-2000.
3417 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3418 (complex_vars_of_mule_charset): Add new coded-charset
3419 `ethiopic-ucs' in UTF-2000.
3421 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3422 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3424 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3426 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3428 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3430 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3433 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3435 * mule-charset.c (Vcharacter_variant_table): New variable.
3436 (Q_ucs): New variable.
3437 (Fchar_variants): New function.
3438 (Fput_char_attribute): Register `->ucs' value to
3439 `Vcharacter_variant_table'.
3440 (syms_of_mule_charset): Add new function `char-variants' and new
3442 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3444 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3446 * mule-charset.c (get_char_code_table): Allow negative character
3448 (put_char_code_table): Likewise.
3449 (Vcharacter_composition_table): New variable.
3450 (Q_decomposition): New variable.
3451 (Qwide): New variable.
3452 (Qnarrow): New variable.
3453 (Qcompat): New variable.
3454 (QnoBreak): New variable.
3455 (Qsuper): New variable.
3456 (Qfraction): New variable.
3457 (to_char_code): New function.
3458 (Fget_composite_char): New function.
3459 (Fput_char_attribute): Register `->decomposition' value to
3460 `Vcharacter_composition_table'.
3461 (syms_of_mule_charset): Add new function `get-composite-char', new
3462 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3463 `super' and `fraction'.
3464 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3466 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3468 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3469 character; copy the return value.
3471 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3473 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3475 * mule-charset.c (range_charset_code_point): Must use make_int.
3476 (split_builtin_char): New function.
3478 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3480 * mule-charset.c (char_byte_table): Change name from
3481 "char-code-table" to "char-byte-table".
3482 (mark_char_code_table): New function.
3483 (char_code_table_equal): New function.
3484 (char_code_table_hash): New function.
3485 (char_code_table_description): New constant.
3486 (char_code_table): New type.
3487 (make_char_code_table): New function.
3488 (copy_char_code_table): New function.
3489 (get_char_code_table): Modify for `char_code_table' type.
3490 (put_char_code_table): Likewise.
3491 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3494 * char-ucs.h (char_code_table): New type.
3495 (XCHAR_CODE_TABLE): New macro.
3496 (XSETCHAR_CODE_TABLE): New macro.
3497 (CHAR_CODE_TABLE_P): New macro.
3498 (GC_CHAR_CODE_TABLE_P): New macro.
3499 (struct Lisp_Char_Code_Table): New structure.
3501 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3503 * mule-charset.c (Fmake_charset): Setup byte_offset for
3506 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3508 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3511 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3513 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3516 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3518 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3519 charset, it is regarded as a charset.
3520 (put_char_attribute): New function in UTF-2000.
3521 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3522 charset, mapping-table of the charset is modified.
3523 (Fdefine_char): New function in UTF-2000.
3524 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3525 `Fput_char_attribute'.
3526 (syms_of_mule_charset): Add new function `define-char' and new
3527 symbol `ucs' in UTF-2000.
3528 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3530 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3532 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3533 non-UTF-2000 configuration.
3535 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3537 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3538 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3540 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3542 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3543 (Fset_charset_mapping_table): Likewise.
3545 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3546 (CHARSET_ENCODING_TABLE): Delete.
3547 (XCHARSET_ENCODING_TABLE): Delete.
3548 (charset_code_point): New interface.
3550 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3552 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3553 instead of `charset_get_byte1' and `charset_get_byte2'.
3555 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3556 (charset_get_byte2): Deleted.
3558 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3560 * char-ucs.h (SPLIT_CHAR): New inline function.
3561 (breakup_char_1): Use `SPLIT_CHAR'.
3563 * mule-charset.c (range_charset_code_point): New function.
3564 (charset_code_point): New function.
3566 * char-ucs.h (range_charset_code_point): New interface.
3567 (breakup_char_1): Use `range_charset_code_point'.
3569 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3571 * mule-charset.c (Fmake_charset): Delete unused local variable
3574 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3575 (breakup_char_1): Find a charset and code-point in
3576 `Vcharacter_attribute_table'.
3578 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3580 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3583 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3585 * mule-charset.c (Vcharacter_attribute_table): New variable.
3586 (Fchar_attribute_alist): New function.
3587 (Fget_char_attribute): New function.
3588 (Fput_char_attribute): New function.
3589 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3591 (syms_of_mule_charset): Add new function `char-attribute-alist',
3592 `get-char-attribute' and `put-char-attribute'.
3593 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3595 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3597 * mule-charset.c (Fmake_charset): Just use
3598 `get_unallocated_leading_byte'.
3600 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3601 sets; don't use final-byte based number for private sets.
3603 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3605 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3608 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3610 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3613 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3615 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3616 of `CHAR_LEADING_BYTE' in UTF-2000.
3618 * insdel.c (find_charsets_in_bufbyte_string): Use
3619 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3620 (find_charsets_in_emchar_string): Likewise.
3622 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3623 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3625 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3626 (CHAR_CHARSET_ID): New macro.
3628 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3630 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3631 charset-id - MIN_LEADING_BYTE.
3632 (put_char_table): Likewise.
3634 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3636 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3637 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3638 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3639 (CHARSET_ID_OFFSET): New macro.
3640 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3641 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3642 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3643 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3645 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3647 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3648 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3649 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3650 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3651 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3653 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3655 * mule-charset.c (next_allocated_leading_byte): New variable in
3657 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3658 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3659 (get_unallocated_leading_byte): Simply use
3660 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3661 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3664 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3665 (MAX_LEADING_BYTE_PRIVATE): New macro.
3666 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3667 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3669 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3671 * mule-charset.c (Fmake_charset): Allocate final-byte based
3672 charset-id for 94-set, 96-set and 94x94-set.
3674 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3676 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3678 (Fmake_charset): Likewise.
3679 (complex_vars_of_mule_charset): Modify the font registry of
3680 `ucs-bmp' not to match `Ethiopic-Unicode'.
3682 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3684 * mule-charset.c (complex_vars_of_mule_charset): Add font
3685 registory of `ucs-bmp'.
3687 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3689 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3690 coded-charsets in `default-coded-charset-priority-list' when
3691 breaking up a character.
3693 * mule-charset.c (Vcharset_latin_viscii): New variable.
3694 (Qlatin_viscii): New variable.
3695 (make_charset): Don't use `decoding_table'.
3696 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3698 (Fset_charset_mapping_table): New implementation.
3699 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3700 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3701 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3702 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3703 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3704 charset `latin_viscii'.
3706 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3707 (CHARSET_TYPE_94X94): Change to 1 from 2.
3708 (CHARSET_TYPE_96): Change to 2 from 1.
3709 (CHARSET_TYPE_128): New macro.
3710 (CHARSET_TYPE_128X128): Change to 5 from 4.
3711 (CHARSET_TYPE_256): New macro.
3712 (CHARSET_TYPE_256X256): Change to 7 from 5.
3713 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3715 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3717 * text-coding.c (char_encode_shift_jis): Refer
3718 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3719 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3721 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3722 (char_byte_table_equal): New function in UTF-2000.
3723 (char_byte_table_hash): New function in UTF-2000.
3724 (char_byte_table_description): New constant in UTF-2000.
3725 (char_byte_table): New type in UTF-2000.
3726 (make_char_byte_table): New function in UTF-2000.
3727 (copy_char_byte_table): New function in UTF-2000.
3728 (make_char_code_table): New macro in UTF-2000.
3729 (get_char_code_table): New function in UTF-2000.
3730 (put_char_code_table): New function in UTF-2000.
3731 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3732 (charset_description): Add setting in UTF-2000.
3733 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3734 `CHARSET_TO_BYTE1_TABLE(cs)'.
3735 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3736 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3737 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3738 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3739 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3740 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3741 `CHARSET_TO_BYTE2_TABLE(cs)'.
3743 * char-ucs.h (char_byte_table): New type.
3744 (XCHAR_BYTE_TABLE): New macro.
3745 (XSETCHAR_BYTE_TABLE): New macro.
3746 (CHAR_BYTE_TABLE_P): New macro.
3747 (GC_CHAR_BYTE_TABLE_P): New macro.
3748 (struct Lisp_Char_Byte_Table): New structure.
3749 (get_char_code_table): New interface.
3750 (Emchar_to_byte_table): Deleted.
3751 (get_byte_from_character_table): Deleted.
3752 (struct Lisp_Charset): Add `encoding_table'; delete
3753 `to_byte1_table' and `to_byte2_table'.
3754 (CHARSET_ENCODING_TABLE): New macro.
3755 (CHARSET_TO_BYTE1_TABLE): Deleted.
3756 (CHARSET_TO_BYTE2_TABLE): Deleted.
3757 (XCHARSET_ENCODING_TABLE): New macro.
3758 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3759 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3761 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3763 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3764 `vietnamese-viscii-*'.
3766 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3768 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3769 (Qvietnamese_viscii_upper): New variable.
3770 (Fdefine_charset_alias): New function.
3771 (syms_of_mule_charset): Add new function `define-charset-alias'.
3772 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3773 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3776 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3778 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3779 (MAX_CHAR_OBS_94x94): New macro.
3780 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3783 * mule-charset.c (put_byte_from_character_table): Change unit size
3785 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3787 (Fmake_reverse_direction_charset): Modify dummy argument of
3788 `make_charset' for non-UTF-2000 environment.
3790 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3792 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3794 * mule-charset.c (destroy_byte_from_character_table): New macro.
3795 (latin_jisx0201_to_ucs): Deleted.
3796 (latin_iso8859_2_to_ucs): Deleted.
3797 (latin_iso8859_3_to_ucs): Deleted.
3798 (latin_iso8859_4_to_ucs): Deleted.
3799 (latin_iso8859_9_to_ucs): Deleted.
3800 (latin_viscii_lower_to_ucs): Deleted.
3801 (latin_viscii_upper_to_ucs): Deleted.
3802 (mark_charset): Mark `cs->decoding_table'.
3803 (Fcharset_mapping_table): Fix DOC-string.
3804 (Fset_charset_mapping_table): New function.
3805 (syms_of_mule_charset): Add nwe function
3806 `set-charset-mapping-table'.
3807 (complex_vars_of_mule_charset): Don't setup and use
3810 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3812 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3815 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3817 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3818 (Vcharset_katakana_jisx0208): New variable.
3819 (Qhiragana_jisx0208): New variable.
3820 (Qkatakana_jisx0208): New variable.
3821 (make_charset): Add new argument `byte_offset'.
3822 (charset_get_byte1): Modify for new coded-charset definition; use
3823 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3824 `XCHARSET_BYTE_OFFSET'.
3825 (Fmake_charset): Modify for `make_charset'.
3826 (Fmake_reverse_direction_charset): Likewise.
3827 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3828 `katakana-jisx0208'.
3829 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3830 `.' in font registry of charset `katakana-jisx0201',
3831 `latin-jisx0201', `vietnamese-viscii-lower' and
3832 `vietnamese-viscii-upper'; modify DOC-string of charset
3833 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3834 registry of charset `japanese-jisx0208' not to use font for JIS
3835 X0208:1990; add new charset `hiragana-jisx0208' and
3836 `katakana-jisx0208'.
3838 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3839 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3840 (struct Lisp_Charset): Add `byte_offset'.
3841 (CHARSET_BYTE_OFFSET): New macro.
3842 (XCHARSET_UCS_MIN): New macro.
3843 (XCHARSET_UCS_MAX): New macro.
3844 (XCHARSET_CODE_OFFSET): New macro.
3845 (XCHARSET_BYTE_OFFSET): New macro.
3846 (MIN_CHAR_HIRAGANA): New macro.
3847 (MAX_CHAR_HIRAGANA): New macro.
3848 (MIN_CHAR_KATAKANA): New macro.
3849 (MAX_CHAR_KATAKANA): New macro.
3850 (MAKE_CHAR): Modify for new coded-charset definition; use
3851 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3852 `XCHARSET_BYTE_OFFSET'.
3854 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3856 * mule-charset.c (CHAR96): Deleted.
3857 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3859 (latin_iso8859_2_to_ucs): Likewise.
3860 (latin_iso8859_3_to_ucs): Likewise.
3861 (latin_iso8859_4_to_ucs): Likewise.
3862 (latin_iso8859_9_to_ucs): Likewise.
3863 (latin_viscii_lower_to_ucs): Likewise.
3864 (latin_viscii_upper_to_ucs): Likewise.
3865 (latin_tcvn5712_to_ucs): Commented out.
3866 (make_charset): Change type of argument `decoding_table' from
3867 <Emchar*> to <Lisp_Object> [vector of characters].
3868 (Fmake_charset): Modify for `make_charset'.
3869 (Fmake_reverse_direction_charset): Likewise.
3870 (Fcharset_mapping_table): New function in UTF-2000.
3871 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3873 (complex_vars_of_mule_charset): Modify for type change of
3874 `*_to_ucs'; modify for `make_charset'.
3876 * char-ucs.h (struct Lisp_Charset): Change type of
3877 `decoding_table' from <Emchar*> to <Lisp_Object>.
3878 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3880 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3882 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3883 error with non-UTF-2000-Mule.
3885 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3887 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3889 (Vcharset_chinese_cns11643_4): Likewise.
3890 (Vcharset_chinese_cns11643_5): Likewise.
3891 (Vcharset_chinese_cns11643_6): Likewise.
3892 (Vcharset_chinese_cns11643_7): Likewise.
3893 (Qchinese_cns11643_3): Likewise.
3894 (Qchinese_cns11643_4): Likewise.
3895 (Qchinese_cns11643_5): Likewise.
3896 (Qchinese_cns11643_6): Likewise.
3897 (Qchinese_cns11643_7): Likewise.
3898 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3899 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3900 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3901 (complex_vars_of_mule_charset): Likewise.
3903 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3905 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3907 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3908 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3910 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3912 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3914 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3915 (breakup_char_1): Likewise.
3917 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3918 one of them includes the specified character.
3920 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3922 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3924 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3926 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3928 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3930 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3931 definition for non-UTF-2000 Mule.
3932 (latin_iso8859_3_to_ucs): Likewise.
3933 (latin_iso8859_4_to_ucs): Likewise.
3934 (latin_iso8859_9_to_ucs): Likewise.
3935 (latin_jisx0201_to_ucs): Likewise.
3936 (MIN_CHAR_THAI): Likewise.
3937 (MAX_CHAR_THAI): Likewise.
3938 (MIN_CHAR_GREEK): Likewise.
3939 (MAX_CHAR_GREEK): Likewise.
3940 (MIN_CHAR_HEBREW): Likewise.
3941 (MAX_CHAR_HEBREW): Likewise.
3942 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3943 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3944 (MIN_CHAR_CYRILLIC): Likewise.
3945 (MAX_CHAR_CYRILLIC): Likewise.
3947 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3949 * char-ucs.h (breakup_char_1): Use
3950 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
3951 thai-tis620 and katakana-jisx0201 area.
3953 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3955 * char-ucs.h (breakup_char_1): Use
3956 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
3959 * text-coding.c (reset_encoding_stream): Fixed.
3960 (char_encode_ucs4): Delete `& 255'.
3962 * char-ucs.h (breakup_char_1): Use
3963 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
3965 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3967 * file-coding.c (Fmake_coding_system): Don't set up
3968 `codesys->fixed.size'.
3969 (encode_coding_no_conversion): Don't refer
3970 `str->codesys->fixed.size'.
3972 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3974 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
3975 (latin_a_char_to_byte1): Deleted.
3976 (latin_a_char_to_byte2): Deleted.
3978 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3980 * mule-charset.c (make_charset): Add new argument `ucs_min',
3981 `ucs_max' and `code_offset'.
3982 (charset_get_byte1): New implementation [delete specific charset
3983 depended implementations].
3984 (Fmake_charset): Modify for `make_charset'.
3985 (Fmake_reverse_direction_charset): Likewise.
3986 (complex_vars_of_mule_charset): Likewise.
3988 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
3990 (CHARSET_UCS_MIN): New macro.
3991 (CHARSET_UCS_MAX): New macro.
3992 (CHARSET_CODE_OFFSET): New macro.
3993 (MAKE_CHAR): Delete charset depended definitions [except
3996 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3998 * char-ucs.h (breakup_char_1): Use
3999 `Vdefault_coded_charset_priority_list' for C0-Controls,
4000 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4002 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4004 * char-ucs.h (charset_get_byte1): New function.
4005 (XCHARSET_GET_BYTE1): Deleted.
4006 (charset_get_byte2): New function.
4007 (XCHARSET_GET_BYTE2): Deleted.
4008 (Vdefault_coded_charset_priority_list): New external variable.
4009 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4010 `Vdefault_preferred_coded_charset_list'.
4012 * mule-charset.c (charset_get_byte1): New function.
4013 (charset_get_byte2): New function.
4014 (Vdefault_coded_charset_priority_list): New variable.
4015 (vars_of_mule_charset): Add new variable
4016 `default-coded-charset-priority-list'.
4018 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4020 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4021 (XCHARSET_GET_BYTE2): New inline function.
4022 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4023 `XCHARSET_GET_BYTE2'.
4025 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4027 * mule-charset.c (make_charset): Initialize
4028 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4029 NULL if table is not defined.
4031 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4033 * text-coding.c (char_encode_shift_jis): Use
4034 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4035 `ucs_to_latin_jisx0201'.
4037 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4038 (ucs_to_latin_iso8859_2): Deleted.
4039 (ucs_to_latin_iso8859_3): Deleted.
4040 (ucs_to_latin_iso8859_4): Deleted.
4041 (ucs_to_latin_iso8859_9): Deleted.
4042 (ucs_to_latin_viscii_lower): Deleted.
4043 (ucs_to_latin_viscii_upper): Deleted.
4044 (ucs_to_latin_tcvn5712): Deleted.
4045 (make_charset): Add new argument `decoding_table'; set up
4046 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4047 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4048 `decoding_table' is defined in UTF-2000.
4049 (Fmake_charset): Modify for `make_charset'.
4050 (Fmake_reverse_direction_charset): Likewise.
4051 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4052 and `GENERATE_96_SET'.
4054 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4055 (ucs_to_latin_jisx0201): Deleted.
4056 (latin_iso8859_2_to_ucs): Deleted.
4057 (ucs_to_latin_iso8859_2): Deleted.
4058 (latin_iso8859_3_to_ucs): Deleted.
4059 (ucs_to_latin_iso8859_3): Deleted.
4060 (latin_iso8859_4_to_ucs): Deleted.
4061 (ucs_to_latin_iso8859_4): Deleted.
4062 (latin_iso8859_9_to_ucs): Deleted.
4063 (ucs_to_latin_iso8859_9): Deleted.
4064 (latin_viscii_lower_to_ucs): Deleted.
4065 (ucs_to_latin_viscii_lower): Deleted.
4066 (latin_viscii_upper_to_ucs): Deleted.
4067 (ucs_to_latin_viscii_upper): Deleted.
4068 (struct Lisp_Charset): Renamed `encoding_table' to
4069 `to_byte1_table'; add `to_byte2_table'.
4070 (CHARSET_DECODING_TABLE): New macro.
4071 (CHARSET_TO_BYTE1_TABLE): New macro.
4072 (CHARSET_TO_BYTE2_TABLE): New macro.
4073 (XCHARSET_DECODING_TABLE): New macro.
4074 (XCHARSET_TO_BYTE1_TABLE): New macro.
4075 (XCHARSET_TO_BYTE2_TABLE): New macro.
4076 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4078 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4079 don't use `ucs_to_*' tables.
4081 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4083 * text-coding.c (Fmake_coding_system): Don't set up
4084 `codesys->fixed.size'.
4085 (encode_coding_no_conversion): Use `if' instead of `switch'.
4087 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4089 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4091 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4092 (Fmake_charset): Modify for `make_charset'.
4093 (Fmake_reverse_direction_charset): Likewise.
4094 (complex_vars_of_mule_charset): Likewise.
4096 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4098 * text-coding.c (char_encode_shift_jis): Use table
4099 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4101 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4103 * text-coding.c (text_encode_generic): Use `if' instead of
4105 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4108 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4110 * text-coding.c (encode_coding_sjis): Deleted.
4111 (char_encode_shift_jis): New function.
4112 (char_finish_shift_jis): New function.
4113 (reset_encoding_stream): Set up `encode_char' and `finish' for
4114 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4115 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4116 (char_encode_utf8): Treat `eol_type'.
4118 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4120 * file-coding.c (decode_coding_iso2022): Use
4121 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4123 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4125 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4128 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4130 * char-lb.h (CHAR_COLUMNS): New macro.
4132 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4134 * text-coding.c (char_encode_ucs4): New function.
4135 (char_finish_ucs4): New function.
4136 (encode_coding_ucs4): Deleted.
4137 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4138 (text_encode_generic): Delete local variable `charset' and `half'.
4139 (ucs_to_mule_table): Deleted.
4140 (mule_to_ucs_table): Deleted.
4141 (Fset_ucs_char): Deleted.
4142 (ucs_to_char): Deleted.
4143 (Fucs_char): Deleted.
4144 (Fset_char_ucs): Deleted.
4145 (Fchar_ucs): Deleted.
4146 (decode_ucs4): Deleted.
4147 (mule_char_to_ucs4): Deleted.
4148 (encode_ucs4): Deleted.
4149 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4150 (decode_coding_utf8): Likewise.
4151 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4152 (char_encode_iso2022): Fixed.
4153 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4154 `Fset_char_ucs' and `Fchar_ucs'.
4155 (complex_vars_of_file_coding): Don't initialize
4156 `ucs_to_mule_table'.
4158 * objects-tty.c (tty_initialize_font_instance): Don't use
4161 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4164 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4165 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4167 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4168 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4169 (emchar_string_displayed_columns): Likewise.
4171 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4172 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4173 (string_column_at_point): Likewise.
4174 (Fmove_to_column): Likewise.
4176 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4177 `encoding_table' and `decoding_table'.
4178 (CHARSET_REP_BYTES): Deleted.
4179 (XCHARSET_REP_BYTES): Deleted.
4180 (XCHARSET_COLUMNS): Deleted.
4181 (CHAR_COLUMNS): New macro.
4182 (lookup_composite_char): Deleted unconditionally.
4183 (composite_char_string): Likewise.
4185 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4187 * char-ucs.h (Emchar_to_byte_table): New type.
4188 (get_byte_from_character_table): New function interface.
4189 (Vcharset_latin_jisx0201): New variable.
4190 (latin_jisx0201_to_ucs): New variable.
4191 (ucs_to_latin_jisx0201): New variable.
4192 (Vcharset_latin_iso8859_2): New variable.
4193 (latin_iso8859_2_to_ucs): New variable.
4194 (ucs_to_latin_iso8859_2): New variable.
4195 (Vcharset_latin_iso8859_3): New variable.
4196 (latin_iso8859_3_to_ucs): New variable.
4197 (ucs_to_latin_iso8859_3): New variable.
4198 (Vcharset_latin_iso8859_4): New variable.
4199 (latin_iso8859_4_to_ucs): New variable.
4200 (ucs_to_latin_iso8859_4): New variable.
4201 (Vcharset_latin_iso8859_9): New variable.
4202 (latin_iso8859_9_to_ucs): New variable.
4203 (ucs_to_latin_iso8859_9): New variable.
4204 (Vcharset_latin_viscii_lower): New variable.
4205 (latin_viscii_lower_to_ucs): New variable.
4206 (ucs_to_latin_viscii_lower): New variable.
4207 (Vcharset_latin_viscii_upper): New variable.
4208 (latin_viscii_upper_to_ucs): New variable.
4209 (ucs_to_latin_viscii_upper): New variable.
4210 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4211 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4212 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4213 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4214 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4215 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4216 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4217 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4218 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4219 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4221 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4222 (Vcharset_latin_viscii_upper): New variable.
4223 (make_byte_from_character_table): New function.
4224 (put_byte_from_character_table): New function.
4225 (get_byte_from_character_table): New function.
4226 (CHAR96): New macro.
4227 (ucs_to_latin_jisx0201): New variable.
4228 (latin_jisx0201_to_ucs): New variable.
4229 (ucs_to_latin_iso8859_2): New variable.
4230 (latin_iso8859_2_to_ucs): New variable.
4231 (ucs_to_latin_iso8859_3): New variable.
4232 (latin_iso8859_3_to_ucs): New variable.
4233 (ucs_to_latin_iso8859_4): New variable.
4234 (latin_iso8859_4_to_ucs): New variable.
4235 (ucs_to_latin_iso8859_9): New variable.
4236 (latin_iso8859_9_to_ucs): New variable.
4237 (ucs_to_latin_viscii_lower): New variable.
4238 (latin_viscii_lower_to_ucs): New variable.
4239 (ucs_to_latin_viscii_upper): New variable.
4240 (latin_viscii_upper_to_ucs): New variable.
4241 (ucs_to_latin_tcvn5712): New variable.
4242 (latin_tcvn5712_to_ucs): New variable.
4243 (Qlatin_viscii_lower): New variable.
4244 (Qlatin_viscii_upper): New variable.
4245 (syms_of_mule_charset): Set up new symbol
4246 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4247 (complex_vars_of_mule_charset): Set up new charset
4248 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4249 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4250 `ucs_to_<CHARSET>' tables.
4252 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4254 * text-coding.c: New file.
4256 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4258 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4260 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4261 (MAKE_CHAR): Modify for `ucs-bmp'.
4262 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4263 non-MULE characters of BMP.
4265 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4267 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4270 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4273 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4274 - Include character.h for `CHAR_ASCII_P'.
4276 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4278 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4279 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4281 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4282 (BYTE_C0_P): Likewise.
4283 (BYTE_C1_P): Likewise.
4284 (Lstream_get_emchar_1): Likewise.
4285 (Lstream_fput_emchar): Likewise.
4286 (Lstream_funget_emchar): Likewise.
4287 (copy_internal_to_external): Likewise.
4288 (copy_external_to_internal): Likewise.
4290 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4291 (BYTE_C0_P): Likewise.
4292 (BYTE_C1_P): Likewise.
4293 (Lstream_get_emchar_1): Likewise.
4294 (Lstream_fput_emchar): Likewise.
4295 (Lstream_funget_emchar): Likewise.
4296 (copy_internal_to_external): Likewise.
4297 (copy_external_to_internal): Likewise.
4299 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4300 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4302 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4303 (BYTE_ASCII_P): Moved to mb-1byte.h.
4305 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4307 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4309 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4310 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4311 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4312 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4313 (VALIDATE_CHARPTR_FORWARD): Likewise.
4314 (simple_charptr_emchar): Moved to mb-multibyte.h.
4315 (simple_set_charptr_emchar): Likewise.
4316 (simple_charptr_copy_char): Likewise.
4317 (non_ascii_charptr_emchar): Likewise.
4318 (non_ascii_set_charptr_emchar): Likewise.
4319 (non_ascii_charptr_copy_char): Likewise.
4320 (charptr_emchar): Moved to mb-*byte.h.
4321 (set_charptr_emchar): Likewise.
4322 (charptr_copy_char): Likewise.
4324 * mb-1byte.h, mb-multibyte.h: New files.
4326 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4328 * mb-utf-8.h (MULTIBYTE): New macro.
4329 (MAX_EMCHAR_LEN): Moved from buffer.h.
4330 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4332 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4334 * mb-lb.h, multibyte.h: New files.
4336 * char-1byte.h (Charset_ID): Moved from buffer.h.
4337 (MIN_LEADING_BYTE): Likewise.
4338 (LEADING_BYTE_ASCII): Likewise.
4339 (NUM_LEADING_BYTES): Likewise.
4340 (CHARSETP): Likewise.
4341 (CHARSET_BY_LEADING_BYTE): Likewise.
4342 (XCHARSET_LEADING_BYTE): Likewise.
4343 (XCHARSET_GRAPHIC): Likewise.
4344 (XCHARSET_COLUMNS): Likewise.
4345 (XCHARSET_DIMENSION): Likewise.
4346 (CHAR_CHARSET): Likewise.
4347 (CHAR_LEADING_BYTE): Likewise.
4348 (BREAKUP_CHAR): Likewise.
4349 (Vcharset_ascii): Likewise.
4351 * buffer.h: Include multibyte.h unconditionally.
4352 (VALID_CHARPTR_P): Moved to multibyte.h.
4353 (ASSERT_VALID_CHARPTR): Likewise.
4354 (REAL_INC_CHARPTR): Likewise.
4355 (REAL_INC_CHARBYTIND): Likewise.
4356 (REAL_DEC_CHARPTR): Likewise.
4357 (INC_CHARPTR): Likewise.
4358 (INC_CHARBYTIND): Likewise.
4359 (DEC_CHARPTR): Likewise.
4360 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4361 (VALIDATE_CHARPTR_FORWARD): Likewise.
4362 (charptr_n_addr): Likewise.
4363 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4364 (simple_charptr_emchar): Moved to multibyte.h.
4365 (simple_set_charptr_emchar): Likewise.
4366 (simple_charptr_copy_char): Likewise.
4367 (non_ascii_charptr_emchar): Likewise.
4368 (non_ascii_set_charptr_emchar): Likewise.
4369 (non_ascii_charptr_copy_char): Likewise.
4370 (charptr_emchar): Likewise.
4371 (set_charptr_emchar): Likewise.
4372 (charptr_copy_char): Likewise.
4373 (charptr_emchar_n): Likewise.
4374 (Charset_ID): Moved to char-1byte.h.
4375 (Vcharset_ascii): Likewise.
4376 (CHAR_CHARSET): Likewise.
4377 (CHAR_LEADING_BYTE): Likewise.
4378 (LEADING_BYTE_ASCII): Likewise.
4379 (NUM_LEADING_BYTES): Likewise.
4380 (MIN_LEADING_BYTE): Likewise.
4381 (CHARSETP): Likewise.
4382 (CHARSET_BY_LEADING_BYTE): Likewise.
4383 (XCHARSET_LEADING_BYTE): Likewise.
4384 (XCHARSET_GRAPHIC): Likewise.
4385 (XCHARSET_COLUMNS): Likewise.
4386 (XCHARSET_DIMENSION): Likewise.
4387 (BREAKUP_CHAR): Likewise.
4389 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4391 * character.h: Add document about interface for characters.
4393 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4394 (MAKE_CHAR): Delete comment about
4395 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4396 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4397 (BREAKUP_CHAR): Modify name of arguments.
4398 (CHAR_CHARSET): Modify name of argument.
4400 * buffer.h: Delete document about Emchar accessors.
4402 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4404 * character.h (CHAR_INTP): Moved from buffer.h
4405 (CHAR_OR_CHAR_INTP): Likewise.
4406 (XCHAR_OR_CHAR_INT): Likewise.
4407 (CHECK_CHAR_COERCE_INT): Likewise.
4409 * buffer.h (CHAR_INTP): Moved to character.h
4410 (CHAR_OR_CHAR_INTP): Likewise.
4411 (XCHAR_OR_CHAR_INT): Likewise.
4412 (CHECK_CHAR_COERCE_INT): Likewise.
4414 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4417 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4418 - Include char-1byte.h, char-lb.h or char-ucs.h.
4420 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4422 * buffer.h: Include character unconditionally.
4423 (valid_char_p): Moved to char-*.h.
4424 (non_ascii_valid_char_p): Moved to char-lb.h.
4426 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4428 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4430 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4431 in UTF-2000 because it is not ported yet and not to use
4432 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4433 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4434 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4436 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4437 (CHAR_ASCII_P): Moved from character.h.
4439 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4440 (CHAR_ASCII_P): Likewise.
4441 (CHAR_FIELD1_MASK): Deleted.
4442 (CHAR_FIELD2_MASK): Deleted.
4443 (CHAR_FIELD3_MASK): Deleted.
4444 (MAX_CHAR_BASIC_LATIN): New macro.
4445 (CHAR_FIELD1): Deleted.
4446 (CHAR_FIELD2_INTERNAL): Deleted.
4447 (CHAR_FIELD3_INTERNAL): Deleted.
4448 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4449 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4450 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4451 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4452 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4453 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4454 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4455 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4456 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4457 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4458 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4459 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4460 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4461 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4462 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4463 (MIN_CHAR_COMPOSITION): Deleted.
4464 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4465 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4467 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4469 * buffer.h: Include mb-utf-8.h in UTF-2000.
4471 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4473 * mb-utf-8.h: New file.
4475 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4477 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4480 * mule-charset.h, buffer.h (Charset_ID): New type.
4482 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4484 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4485 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4486 instead of `MULE_CHAR_PRIVATE_OFFSET',
4487 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4488 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4489 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4491 * character.h (Vcharset_japanese_jisx0212): New variable
4494 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4496 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4497 (charset_by_attributes): Delete array about direction.
4498 (latin_a_char_to_charset): New variable in UTF-2000.
4499 (latin_a_char_to_byte1): New variable in UTF-2000.
4500 (latin_a_char_to_byte2): New variable in UTF-2000.
4501 (Qucs_bmp): New variable.
4502 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4504 (next_allocated_2_byte_leading_byte): Likewise.
4505 (non_ascii_set_charptr_emchar): Likewise.
4506 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4507 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4508 `charset_by_attributes'.
4509 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4510 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4511 and `CHARSET_BY_LEADING_BYTE'.
4512 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4513 `utf-2000-version' to `vars_of_mule_charset'.
4514 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4515 define `leading-code-private-11' in UTF-2000; move setting of
4516 `utf-2000-version' from `syms_of_mule_charset'.
4517 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4520 * character.h (Charset_ID): New type.
4521 (LEADING_BYTE_UCS_BMP): New macro.
4522 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4523 (CHARSET_ID_OFFSET_94): New macro.
4524 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4525 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4526 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4528 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4529 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4530 (CHARSET_ID_OFFSET_96): New macro.
4531 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4532 CHARSET_ID_OFFSET_96 and final-byte.
4533 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4534 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4535 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4536 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4537 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4538 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4539 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4540 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4541 (LEADING_BYTE_THAI_TIS620): Likewise.
4542 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4543 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4544 (CHARSET_ID_OFFSET_94x94): New macro.
4545 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4546 CHARSET_ID_OFFSET_94x94 and final-byte.
4547 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4548 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4549 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4550 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4551 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4552 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4553 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4554 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4555 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4556 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4557 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4558 (CHARSET_TYPE_128X128): New macro.
4559 (CHARSET_TYPE_256X256): New macro.
4560 (XCHARSET_PRIVATE_P): Delete unconditionally.
4561 (charset_by_attributes): Delete array about direction.
4562 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4563 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4564 (MIN_CHAR_94): New macro.
4565 (MAX_CHAR_94): New macro.
4566 (MIN_CHAR_96): New macro.
4567 (MAX_CHAR_96): New macro.
4568 (MIN_CHAR_94x94): New macro.
4569 (MAX_CHAR_94x94): New macro.
4570 (MIN_CHAR_96x96): New macro.
4571 (MAX_CHAR_96x96): New macro.
4572 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4573 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4574 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4576 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4577 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4578 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4579 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4580 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4581 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4582 `XCHARSET_LEADING_BYTE' to make code-point.
4583 (latin_a_char_to_charset): New variable.
4584 (latin_a_char_to_byte1): New variable.
4585 (latin_a_char_to_byte2): New variable.
4586 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4587 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4588 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4590 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4591 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4592 (find_charsets_in_emchar_string): Likewise.
4593 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4595 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4597 (decode_coding_iso2022): Likewise.
4599 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4602 * redisplay.c (redisplay_text_width_emchar_string): Use
4603 `Charset_ID' instead of `unsigned char'.
4604 (redisplay_frame_text_width_string): Likewise.
4606 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4609 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4610 instead of `unsigned char'.
4611 (face_cachel_charset_font_metric_info): Likewise.
4613 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4614 (get_non_ascii_char_table_value): Likewise.
4615 (get_char_table): Likewise.
4616 (put_char_table): Likewise.
4617 (map_over_other_charset): Likewise.
4618 (map_char_table): Likewise.
4620 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4621 instead of `unsigned char'.
4623 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4625 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4626 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4628 * mule-charset.c (leading_code_private_11): Don't define in
4631 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4632 in UTF-2000 because it is not ported yet and not to use
4633 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4635 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4637 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4639 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4641 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4644 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4645 of unsigned char to store leading-byte.
4647 * chartab.c (get_non_ascii_char_table_value): Don't use
4648 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4650 * file-coding.c (encode_coding_big5): Delete bogus implementation
4653 * character.h (LEADING_BYTE_*): Delete definition for
4655 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4656 (LEADING_BYTE_PREFIX_P): Deleted.
4657 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4658 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4659 (BUFBYTE_LEADING_BYTE_P): Deleted.
4660 (CHARSET_PRIVATE_P): Deleted unconditionally.
4661 (rep_bytes_by_first_byte): Deleted unconditionally.
4662 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4663 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4664 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4665 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4666 (CHAR_FIELD2): Deleted.
4667 (CHAR_FIELD3): Deleted.
4668 (MAKE_CHAR): Delete definition for non-UTF-2000.
4669 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4670 (breakup_char_1): New implementation.
4671 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4672 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4674 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4676 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4679 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4681 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4682 (CHARSET_PRIVATE_P): Likewise.
4683 (XCHARSET_PRIVATE_P): Likewise.
4684 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4686 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4688 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4690 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4692 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4693 (NUM_LEADING_BYTES): Changed from 128 to 256.
4694 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4695 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4697 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4699 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4701 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4702 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4703 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4704 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4705 (Qchinese_cns11643_3): New variable in UTF2000.
4706 (Qchinese_cns11643_4): New variable in UTF2000.
4707 (Qchinese_cns11643_5): New variable in UTF2000.
4708 (Qchinese_cns11643_6): New variable in UTF2000.
4709 (Qchinese_cns11643_7): New variable in UTF2000.
4710 (syms_of_mule_charset): Define `chinese-cns11643-3',
4711 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4712 and `chinese-cns11643-7' in UTF2000.
4713 (vars_of_mule_charset): Initialize
4714 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4716 (complex_vars_of_mule_charset): Setup charset
4717 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4718 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4720 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4722 * mule-charset.c: Move setting for `leading-code-private-11' from
4723 `syms_of_mule_charset' to `vars_of_mule_charset'.
4725 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4727 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4728 and `NUM_LEADING_BYTES' in assert.
4730 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4732 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4734 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4735 `NUM_LEADING_BYTES' instead of 128.
4737 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4739 * mule-charset.h (charset_by_leading_byte): Use
4740 `NUM_LEADING_BYTES' instead of 128.
4741 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4743 * mule-charset.c (charset_by_leading_byte): Use
4744 `NUM_LEADING_BYTES' instead of 128.
4745 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4747 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4750 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4752 * mule-charset.c (syms_of_mule_charset): Update to
4755 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4757 * file-coding.c (encode_coding_sjis): New implementation for
4758 UTF2000. (decode_coding_sjis): Ditto.
4760 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4762 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4763 Don't define in UTF2000.
4765 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4768 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4769 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4772 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4774 * config.h.in (CHAR_IS_UCS4): New macro.
4776 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4777 conventional MULE representation.
4778 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4780 * mule-charset.h: Reverted to original.
4782 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4783 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4784 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4786 * character.h: New file.
4788 * file-coding.c (Fmake_coding_system): Set 1 to
4789 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4791 (encode_coding_no_conversion): New implementation for UTF2000.
4793 * file-coding.h (struct Lisp_Coding_System): Add new member
4796 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4798 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4799 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4800 (encode_coding_iso2022): New implementation for UTF2000.
4802 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4804 * mule-canna.c (c2mu): New implementation for UTF2000.
4807 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4809 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4811 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4813 * file-coding.c (reset_encoding_stream): Set 0 to
4814 `str->iso2022.current_char_boundary' in UTF2000.
4815 (encode_utf8): Don't define in UTF2000.
4816 (encode_coding_utf8): New implementation for UTF-8 representation
4818 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4820 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4822 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4824 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4826 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4828 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4830 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4831 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4832 as UTF-8 in UTF2000.
4833 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4834 (non_ascii_valid_char_p): Don't define in UTF2000.
4835 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4836 (Lstream_get_emchar_1): Likewise.
4837 (utf-2000-version): New variable in UTF2000.
4839 * lread.c (read_escape): Add new reader `u'.
4841 * insdel.c (three_to_one_table): Don't define in UTF2000.
4842 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4843 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4845 (bytind_to_bufpos_func): Likewise.
4846 (buffer_mule_signal_inserted_region): Likewise.
4847 (vars_of_insdel): Don't initialize `three_to_one_table'.
4848 (init_buffer_text): Use `buf->text->mule_size' instead of
4849 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4852 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4853 UTF-8 representation in UTF2000.
4854 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4855 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4856 (decode_coding_iso2022): Don't define local variable `lb' in
4857 UTF2000; don't use LEADING_BYTE in UTF2000; use
4858 `DECODE_ADD_UCS_CHAR' in UTF2000.
4859 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4861 * config.h.in (UTF2000): New macro.
4863 * buffer.h (struct buffer_text): Add new member `mule_size' and
4864 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4865 (valid_char_p): Return always 1 in UTF2000.
4866 (MAX_EMCHAR_LEN): 6 in UTF2000.
4867 (three_to_one_table): Don't define in UTF2000.
4868 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4870 (real_bytind_to_bufpos): Likewise.
4872 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4874 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4876 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4877 representation change.
4878 (Vutf_2000_version): New variable.
4879 (leading_code_private_11): New variable.
4880 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4881 `leading-code-private-11'.
4883 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4884 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4885 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4886 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4887 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4888 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4889 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4890 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4891 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4892 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4893 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4894 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4895 (MIN_CHAR_GREEK): New macro.
4896 (MAX_CHAR_GREEK): New macro.
4897 (MIN_CHAR_CYRILLIC): New macro.
4898 (MAX_CHAR_CYRILLIC): New macro.
4899 (MIN_CHAR_HEBREW): New macro.
4900 (MAX_CHAR_HEBREW): New macro.
4901 (MIN_CHAR_THAI): New macro.
4902 (MAX_CHAR_THAI): New macro.
4903 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4904 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4905 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4906 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4907 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4908 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4909 (CHAR_FIELD2): New inline function.
4910 (CHAR_FIELD3): New inline function.
4911 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4912 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4913 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4914 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4915 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4916 (MIN_CHAR_COMPOSITION): Likewise.
4917 (CHAR_LEADING_BYTE): Modified for character representation change.
4918 (MAKE_CHAR): Likewise.
4920 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4921 (Vcharset_greek_iso8859_7): Likewise.
4922 (Vcharset_cyrillic_iso8859_5): Likewise.
4923 (Vcharset_hebrew_iso8859_8): Likewise.
4924 (Vcharset_thai_tis620): Likewise.
4925 (Vcharset_katakana_jisx0201): Likewise.
4927 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
4929 * XEmacs 21.4.12 "Portable Code" is released.
4931 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
4933 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
4934 * s/cygwin.sc: new linker file.
4936 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
4938 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
4940 * redisplay-x.c (x_output_string): Use X11-specified types.
4941 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
4942 * emacs.c (__free_hook): Use typeof with Intel compiler.
4943 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
4945 2003-01-08 Andy Piper <andy@xemacs.org>
4947 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
4948 reserve size during unexec().
4950 2003-01-07 Daiki Ueno <daiki@xemacs.org>
4952 * process-unix.c (unix_create_process): Don't let outchannel block.
4954 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
4956 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
4957 Needed for IsBadReadPtr().
4959 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
4961 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
4963 2002-12-14 Ben Wing <ben@xemacs.org>
4965 * callint.c: Declaration error.
4967 * dumper.c (pdump_load): Warning fix.
4968 * process.c: GCPRO error.
4969 * glyphs.c (unmap_subwindow):
4970 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
4971 * event-stream.c (maybe_kbd_translate): Wrong argument to
4972 character_to_event().
4974 * alloc.c (garbage_collect_1):
4976 * emacs.c (debug_can_access_memory):
4977 * emacs.c (fatal_error_signal):
4978 * emacs.c (mswindows_handle_hardware_exceptions):
4981 * emacs.c (assert_failed):
4982 * emacs.c (syms_of_emacs):
4985 * print.c (std_handle_out_va):
4986 * print.c (write_string_to_stdio_stream):
4987 * print.c (write_fmt_string):
4988 * print.c (printing_badness):
4989 * print.c (printing_major_badness):
4990 * print.c (print_internal):
4991 * print.c (debug_print_no_newline):
4992 * print.c (debug_backtrace):
4993 Be more defensive in handling bad values when printing. Add code
4994 from trunk involving inhibit_non_essential_printing_operations.
4995 When going down or in debug_print(), don't do external conversion
4996 and such and try really, really hard when printing to avoid core
4997 dumping. Add force-debugging-signal, debug_break().
4999 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5001 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5002 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5004 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5006 * database.c: Fix open_database. Berkeley DB API has changed in
5007 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5009 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5011 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5013 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5015 * event-Xt.c (Xt_timeout):
5016 (Xt_timeout_callback):
5017 (emacs_Xt_add_timeout):
5018 (emacs_Xt_remove_timeout):
5019 (Xt_timeout_to_emacs_event):
5020 Turn completed_timeouts from a stack into a queue. Fixes
5021 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5023 2002-11-07 Wolfram Gloger <wg@malloc.de>
5025 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5026 * emacs.c (main): Assert that mmap'd allocation is disabled.
5028 2002-10-14 Andy Piper <andy@xemacs.org>
5030 * glyphs-widget.c (layout_query_geometry): add in fiddle
5031 factor. Include border text in width layout calculation.
5032 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5034 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5036 * XEmacs 21.4.10 "Military Intelligence" is released.
5038 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5040 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5041 using the NAS private array SoundFileInfo that no longer exists in
5042 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5043 and earlier. This is broken for some versions between 1.5a and
5046 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5048 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5050 * emacs.c (shut_down_emacs): Improve crash message.
5052 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5054 * file-coding.c (determine_real_coding_system): Check for coding
5055 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5056 shebangs and Python PEP 263.
5058 2002-10-08 Andy Piper <andy@xemacs.org>
5060 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5061 if static sizes haven't been set.
5063 2002-08-30 Mike Alexander <mta@arbortext.com>
5065 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5068 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5070 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5072 2002-09-20 Mike Sperber <mike@xemacs.org>
5074 (This partially gets back my patch from 2002-07-20 without the
5076 * callproc.c (child_setup): Remove Ben's comment noting confusion
5077 over the file descriptors >= 3: close_process_descs() doesn't
5078 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5079 * process-unix.c (unix_create_process): Call
5080 begin_dont_check_for_quit to inhibit unwanted interaction (and
5081 thus breaking of X event synchronicity) in the child.
5083 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5085 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5088 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5090 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5091 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5092 the xemacs process did not exit, but looped infinitely here. This
5095 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5097 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5098 (find_context): Improve comments.
5100 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5101 (re_match_2): An XCHAR_TABLE operation was missing.
5103 Many of the following changes were inspired by Andy Piper's (now
5104 obsolete) patch to make syntax-table text property lookup optional.
5108 * syntax.h (top level): Document semantics of syntax flags.
5109 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5110 * syntax.c, syntax.h (top level): Document syntax cache better in
5113 [Instrument syntax caching (temporary change)]
5115 * syntax.h (enum syntax_cache_statistics_functions, struct
5116 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5117 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5118 * syntax.c (scan_words, Fforward_comment, scan_lists,
5119 Fbackward_prefix_characters):
5120 * font-lock.c (find_context):
5121 Use them to instrument syntax caching.
5122 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5123 syntax_cache_statistics_function_names): New type and variables.
5124 * syntax.c (update_syntax_cache): Update and report statistics.
5126 [Major syntax cache optimizations]
5128 syntax.c (lookup_syntax_properties): Default off.
5130 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5131 * syntax.c (update_syntax_cache):
5132 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5134 [Minor syntax cache optimizations and code clarifications]
5136 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5137 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5138 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5139 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5140 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5141 (Code clarification.)
5143 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5144 scan_lists): Compute code from syncode, use Boolean macros instead
5145 of redundant masking operations. (Code clarification; any decent
5146 compiler can do this optimization.)
5148 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5151 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5152 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5153 use F*_single_property_change instead of F*_extent_change.
5154 Currently F*_single_property_change is _much_ less efficient.
5156 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5157 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5158 syntax_cache.object properly, don't leave Qt or Qnil.
5159 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5160 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5161 tests for Qt or Qnil.
5163 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5165 * redisplay.c (point_in_line_start_cache):
5166 * extents.c (print_extent_1):
5169 * extents.c (Fset_extent_property): Document `syntax-table' property.
5171 * extents.h (Fnext_single_property_change): EXFUN it.
5173 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5175 * search.c (clear_unused_search_regs): New static function.
5179 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5180 Minor clarifications in comments.
5182 * regex.c (re_match_2_internal): Ensure no stale submatches.
5184 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5186 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5188 2002-08-29 Jerry James <james@xemacs.org>
5190 * lisp.h: structrures -> structures.
5192 2002-06-03 Andy Piper <andy@xemacs.org>
5194 * frame.c (frame_conversion_internal): add conversion appropriate
5195 for setting frame dimensions in pixels.
5197 * console.h (struct console_methods): add device-specific widget
5200 * emacs.c (main_1): initialize glyph vars.
5202 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5203 (handle_focus_event_2): new function. Allow focus to
5204 be set to a particular window and widget.
5205 (enqueue_focus_event): new function. Create a
5206 synthetic focus event.
5207 (emacs_Xt_handle_magic_event): call
5208 handle_focus_event_2.
5210 * frame.c (Fset_frame_pixel_height): new function. Allow
5211 pixel-based sizing. Does the right thing on character-oriented
5213 (Fset_frame_pixel_width): ditto.
5214 (Fset_frame_pixel_size): ditto.
5215 (syms_of_frame): declare.
5217 * general-slots.h: add :vertically-justify and
5218 :horizontally-justify.
5220 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5221 (mswindows_widget_border_width): new function.
5222 (mswindows_combo_box_instantiate): set border widths.
5223 (console_type_create_glyphs_mswindows): declare.
5226 (check_valid_justification): allow vertical and horizontal
5228 (widget_border_width): new function. Call device methods.
5229 (widget_instance_border_width): ditto.
5230 (logical_unit_height): new function. Determine the height of a
5231 logical-unit. Logical units are intended to provide grid-like
5232 layout for subcontrols in a layout. If the layout is
5233 :vertically-justify top then subcontrols will be positioned on
5234 logical-unit boundaries, thus allowing adjacent subcontrols to
5236 (widget_logical_unit_height): ditto for widgets.
5237 (redisplay_widget): misc cleanup.
5238 (widget_spacing): new function. Call device specific
5239 methods. Intended to be the default gap between adjacent widgets.
5240 (widget_query_geometry): use new spacing functions to determine
5241 appropriate geometry.
5242 (initialize_widget_image_instance): initialize horizontal and
5243 vertical justification.
5244 (widget_instantiate): use logica-units where appropriate for
5245 sizing large widgets.
5246 (button_query_geometry): use widget_instance_border_width.
5247 (tree_view_query_geometry): ditto.
5248 (tab_control_query_geometry): ditto.
5249 (edit_field_query_geometry): new function.
5250 (layout_update): pick up :justify, :horizontally-justify and
5251 :vertically-justify none of which worked previously. :justify is
5252 used as a fallback for both horizontal and vertical justification.
5253 (layout_query_geometry): use logical units to size appropriately.
5254 (layout_layout): ditto.
5255 (Fwidget_logical_to_character_width): new function. Allow users to
5256 convert from logical units to characters so that frame sizes can
5257 be set appropriately.
5258 (Fwidget_logical_to_character_height): ditto.
5259 (syms_of_glyphs_widget): declare.
5260 (image_instantiator_edit_fields): add edit_field_query_geometry.
5261 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5262 :horizontally-justify.
5263 (specifier_vars_of_glyphs_widget): new function. Declare
5264 Vwidget_border_width which is not yet used.
5266 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5267 (x_widget_border_width): new function.
5268 (x_widget_instantiate): create a sensible name for widgets.
5269 (console_type_create_glyphs_x): declare x_widget_border_width.
5271 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5272 (struct Lisp_Image_Instance): add :vertically-justify and
5273 :horizontally-justify.
5274 (LAYOUT_JUSTIFY_TOP): new.
5275 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5276 (ROUND_UP): new macro. Round argument up to next integral
5279 * redisplay-output.c (redisplay_output_layout): misc formatting.
5281 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5283 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5285 * XEmacs 21.4.9 "Informed Management" is released.
5287 2002-08-19 Andy Piper <andy@xemacs.org>
5289 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5292 * realpath.c (xrealpath): normalize drive spec also so that dir
5293 sep chars are not mixed on cygwin.
5295 2002-08-06 Jerry James <james@xemacs.org>
5297 * window.c (Fsplit_window): Count only half of the divider width
5298 against the left window when splitting horizontally.
5300 2002-06-24 Andy Piper <andy@xemacs.org>
5302 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5303 toolbar was cleared.
5305 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5306 function. Split out from mswindows_output_frame_toolbars.
5307 (mswindows_output_frame_toolbars): move clear pieces to
5308 mswindows_output_frame_toolbars.
5310 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5311 out from gtk_output_frame_toolbars.
5312 (gtk_output_frame_toolbars): move clear pieces to
5313 gtk_clear_frame_toolbars.
5315 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5316 the frame is cleared. How this ever worked before is a mystery.
5317 (x_output_frame_toolbars): Only output toolbars.
5318 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5320 * gutter.c (update_gutter_geometry):
5321 Mark frame layout changed.
5322 (update_frame_gutter_geometry, update_frame_gutters):
5323 Respect frame_layout_changed.
5325 * console.h (struct console_methods): add
5326 clear_frame_toolbars_method.
5328 * redisplay.c (redisplay_frame): call
5329 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5331 * toolbar.h: declare update_frame_toolbars_geometry.
5333 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5334 out from update_frame_toolbars. Call clear_frame_toolbars.
5335 (update_frame_toolbars): only output, do not change geometry.
5337 * redisplay.c: add frame_layout_changed.
5339 * redisplay.h: add frame_layout_changed.
5340 (CLASS_RESET_CHANGED_FLAGS): set it.
5341 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5342 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5343 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5345 * device.h (struct device): add frame_layout_changed.
5346 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5348 * frame.h (struct frame): add frame_layout_changed.
5349 (MARK_FRAME_LAYOUT_CHANGED): new.
5351 2002-06-30 Mike Alexander <mta@arbortext.com>
5353 * event-msw.c (mswindows_need_event): Don't wait for a new message
5354 if the queue is not empty. Suggested by Paul Moore.
5356 2002-06-12 Andy Piper <andy@xemacs.org>
5358 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5359 for printing on accurately.
5361 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5363 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5364 WM_ACTIVATE message. Make sure that the frame is visible if the
5365 window is visible. This seemss to fix the problem where XEmacs
5366 appears to freeze after switching desktops with certain virtual
5368 (debug_output_mswin_message): Added code to output message
5369 parameters for WM_WINDOWPOSCHANGED,
5370 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5372 2002-05-25 Andy Piper <andy@xemacs.org>
5374 * select-x.c (vars_of_select_x): Fix docstring of
5375 x-selection-strict-motif-ownership
5377 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5379 * keymap.c (get_keymap):
5380 Add comment about do_autoload GCPROs own args.
5382 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5384 * bytecode.c (execute_optimized_program): check_opcode ifdef
5385 ERROR_CHECK_BYTE_CODE.
5387 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5389 Thanks to Ben Wing and Michael Sperber.
5391 * eval.c (Fcommand_execute):
5394 (Fmacroexpand_internal):
5395 (function_argcount):
5396 callint.c (Fcall_interactively):
5397 Add comment about do_autoload GCPROs own args.
5399 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5401 * eval.c (Ffuncall): Extra braces to placate GCC.
5403 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5405 * backtrace.h (grow_specpdl):
5407 * EmacsFrame.c (EmacsFrameSetValues):
5408 * eval.c (grow_specpdl):
5409 * ExternalShell.c (hack_event_masks_1):
5410 * glyphs-x.c (convert_EImage_to_XImage):
5411 (x_finalize_image_instance):
5412 * ralloc.c (page_size):
5414 * xgccache.c (gc_cache_hash):
5415 Fix unsigned comparison warnings.
5417 2002-07-29 Jerry James <james@xemacs.org>
5419 * lread.c (locate_file): Any nonnegative return value indicates
5420 success if MODE is nonnegative.
5422 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5424 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5427 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5429 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5431 * dumper.c (pdump_get_indirect_count):
5432 (pdump_scan_by_alignment):
5433 (pdump_dump_root_struct_ptrs):
5434 (pdump_dump_rtables):
5435 (pdump_dump_root_objects):
5437 * nas.c (WaveOpenDataForReading):
5438 * fns.c (print_bit_vector):
5439 * font-lock.c (SINGLE_SYNTAX_STYLE):
5440 * glyphs.c (check_for_ignored_expose):
5441 (find_matching_subwindow):
5443 * imgproc.c (get_histogram):
5444 * redisplay.c (point_in_line_start_cache):
5445 * redisplay-output.c (redisplay_unmap_subwindows):
5446 * symbols.c (defsymbol_massage_name_1):
5447 (defkeyword_massage_name):
5448 (deferror_massage_name_and_message):
5449 * redisplay-x.c (x_output_string):
5450 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5451 * frame.h (struct frame):
5452 * filelock.c (current_lock_owner):
5453 * doprnt.c (emacs_doprnt_1):
5454 * lisp.h (struct Lisp_Bit_Vector):
5458 2002-02-13 Ben Wing <ben@xemacs.org>
5460 * event-stream.c (reset_key_echo):
5461 * event-stream.c (reset_this_command_keys):
5462 * event-stream.c (execute_command_event):
5463 If console is dead as a result of C-x 5 0, then post-command stuff
5464 needs to be careful and do only non-console-specific stuff.
5466 2002-07-01 Mike Sperber <mike@xemacs.org>
5468 * process-unix.c (unix_send_process): Mark coding_outstream as
5469 non-open upon SIGPIPE.
5471 * event-stream.c (Fnext_event): Reorder switch cases to something
5474 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5476 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5477 Don't bogusly reinitialize ascii_character property.
5479 2002-07-08 Mike Sperber <mike@xemacs.org>
5481 * process.c (Fstart_process_internal): Do error checking before we
5482 fork off the child, so the child can't muck with the state of the
5485 2002-07-08 Mike Sperber <mike@xemacs.org>
5487 * ralloc.c (init_ralloc): Allocate properly for pdump.
5489 2002-06-12 Andy Piper <andy@xemacs.org>
5491 * glyphs.c (query_string_geometry): check the string.
5493 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5496 2002-06-17 Jerry James <james@xemacs.org>
5498 * sysdll.c: Remove RTLD_GLOBAL initialization.
5499 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5501 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5503 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5505 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5507 * sysdep.c (sys_rename): Make sys_rename work for the case where
5508 Windows rename sets errno to EACCES if target file exists.
5510 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5512 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5513 Fix detection of metric units to work on Win95
5515 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5517 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5519 2002-04-25 Andy Piper <andy@xemacs.org>
5521 * redisplay.c (create_text_block): Remove extra comment trailer.
5523 2002-04-24 Andy Piper <andy@xemacs.org>
5525 * redisplay.c (create_text_block): Don't actually add propagation
5526 data if the line ends after we have added a glyph.
5528 2002-04-22 Andy Piper <andy@xemacs.org>
5530 * extents.c (extent_fragment_update): check for glyphs we have
5531 previously displayed.
5532 * extents.c (print_extent_1): warning removal.
5533 * extents.h: change prototype.
5534 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5535 widths correctly for wide glyphs.
5536 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5537 * redisplay.c (prop_type): add PROP_GLYPH.
5538 * redisplay.c (struct prop_block): add glyph type
5539 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5540 to the propagation data.
5541 * redisplay.c (create_text_block): if there is a glyph in the
5542 propagation data use it to salt extent_fragment_update.
5543 * redisplay.c (create_string_text_block): ditto.
5545 2002-04-13 Nix <nix@esperi.demon.co.uk>
5547 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5548 * redisplay-output.c (compare_runes): Compare them.
5549 * redisplay.c: Update copyright date.
5550 * redisplay.c (pos_data): Add need_baseline_computation field.
5551 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5552 need_baseline_computation; zero yoffset. Set max_pixmap_height
5553 for all pixmaps, not just automatically positioned ones.
5554 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5555 * redisplay.c (calculate_baseline): New, compute textual baseline.
5556 * redisplay.c (add_glyph_rune): Call them.
5557 * redisplay.c (create_text_block): Likewise.
5558 * redisplay.c (create_overlay_glyph_block): Likewise.
5559 * redisplay.c (add_margin_runes): Likewise.
5560 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5562 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5563 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5564 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5565 * redisplay-msw.c (mswindows_output_string): Likewise.
5566 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5567 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5568 * redisplay-x.c (x_output_display_block): Likewise.
5570 2002-03-28 Ben Wing <ben@xemacs.org>
5572 * redisplay.c: Fixed bug in redisplay
5573 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5574 and down of the lines, since they're bigger than the line
5575 size. (It was seen most obviously when there's a horizontal scroll
5576 bar, e.g. do C-h a glyph or something like that.) The problem was
5577 that the glyph-contrib-p setting on glyphs was ignored even if it
5578 was set properly, which it wasn't until now.
5580 2002-04-24 Andy Piper <andy@xemacs.org>
5582 * lisp.h (Dynarr_end): Fix definition.
5584 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5586 * redisplay.c (mark_redisplay): Remove call to
5587 update_frame_window_mirror.
5589 2001-11-15 Andy Piper <andy@xemacs.org>
5591 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5594 2002-02-13 Andy Piper <andy@xemacs.org>
5596 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5597 we did in fact enqueue the XM_MAPFRAME event.
5599 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5601 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5602 to fix problem switching between virtual desktops under virtuawin
5603 virtual window manager.
5605 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5607 * event-msw.c: Typo fix.
5608 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5609 magic XM_MAPFRAME event has been sent.
5611 2001-11-23 Andy Piper <andy@xemacs.org>
5613 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5615 2001-11-21 Andy Piper <andy@xemacs.org>
5617 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5618 mouse events outside the frame.
5620 2002-03-20 Andy Piper <andy@xemacs.org>
5622 * menubar-msw.c (mswindows_popup_menu): warning removal.
5623 * dialog-msw.c (dialog_popped_down): ditto.
5625 2001-12-11 Andy Piper <andy@xemacs.org>
5627 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5628 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5630 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5631 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5632 * menubar-msw.c (mswindows_popup_menu): ditto.
5634 2001-10-29 Andy Piper <andy@xemacs.org>
5636 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5639 2002-01-03 Andy Piper <andy@xemacs.org>
5641 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5645 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5647 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5648 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5649 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5650 Detect and handle case where machine is set up for metric units
5652 2002-04-02 Andy Piper <andy@xemacs.org>
5654 * dired-msw.c (mswindows_get_files):
5655 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5656 completely handled by XEmacs. Suggested by Thomas Vogler
5657 <mail@thomas-vogler.de>.
5659 2001-11-14 Andy Piper <andy@xemacs.org>
5661 * nt.c (REG_ROOT): change registry key to XEmacs.
5663 2002-04-27 Andy Piper <andy@xemacs.org>
5665 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5667 2002-04-26 Andy Piper <andy@xemacs.org>
5669 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5672 2002-03-14 Mike Alexander <mta@arbortext.com>
5674 * event-msw.c (mswindows_unwait_process): New, remove process from
5676 * process-nt.c (nt_finalize_process_data): Call
5677 mswindows_unwait_process
5678 * console-msw.h: Declare mswindows_unwait_process
5680 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5682 * editfns.c (Fdecode_time):
5683 (Fformat_time_string):
5684 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5685 (make_time): Warning elimination (change arg name).
5687 2001-11-24 Andy Piper <andy@xemacs.org>
5689 * window.c (Fsplit_window): Doc return type.
5691 2002-04-01 Andy Piper <andy@xemacs.org>
5693 * emacs.c (Fkill_emacs): Only output message box in interactive
5696 2002-04-26 Andy Piper <andy@xemacs.org>
5698 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5701 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5703 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5706 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5708 * XEmacs 21.4.8 "Honest Recruiter" is released.
5710 2002-05-07 Nix <nix@esperi.demon.co.uk>
5712 Supersedes 2002-04-17 patch.
5714 * process.h (PROCESS_LIVE_P): Use the process status as
5715 evidence of health, not the state of the input stream.
5716 (PROCESS_READABLE_P): Say if the process is readable
5717 from. (It may be dead nonetheless.)
5718 (CHECK_READABLE_PROCESS): Test for that condition.
5720 * process.c (create_process): Use PROCESS_READABLE_P.
5721 (read_process_output, set_process_filter): Likewise.
5723 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5724 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5726 This code is #if 0'd, this is not the time to add new functions:
5728 * process.c (Fprocess_readable_p): Report readability status.
5729 * process.c (Qprocess_readable_p): New, associated symbol...
5730 * process.c (syms_of_process): ... initialize it.
5732 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5734 * XEmacs 21.4.7 "Economic Science" is released.
5736 2002-04-17 Nix <nix@esperi.demon.co.uk>
5738 * process.h (PROCESS_LIVE_P): Use the process status as
5739 evidence of health, not the state of the input stream.
5741 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5743 * sysdep.c (sys_siglist): change "signum" to "signal"
5745 2001-04-21 Martin Buchholz <martin@xemacs.org>
5747 * s/darwin.h: New file.
5748 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5750 2002-04-23 Andreas Jaeger <aj@suse.de>
5752 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5753 which use lib64 for 64-bit libs.
5754 (START_FILES): Likewise.
5756 2002-02-11 Mike Sperber <mike@xemacs.org>
5759 (x_IO_error_handler):
5760 (x_init_device): Temporarily keep device in static variable
5761 `device_being_initialized' so we can recover gracefully from
5762 internal XOpenDevice failure. (XOpenDevice is documented to
5763 return NULL on failure, but sometimes calls the IO error handler
5766 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5768 * dired.c (Ffile_name_all_completions): Change documentation --
5769 remove reference to completion-ignored-extensions.
5770 * dired.c (vars_of_dired): Change documentation for
5771 completion-ignored-extensions -- remove reference to
5772 file-name-all-completions.
5774 2002-03-06 Jerry James <james@xemacs.org>
5776 * emodules.c (emodules_load): Fix multiple loading of same module.
5778 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5779 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5780 RTLD_LAZY to avoid incorrect symbol binding when using nested
5781 shared libraries on Solaris.
5783 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5785 * fileio.c (Ffind_file_name_handler): Improve docstring.
5787 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5789 * fns.c (Fmapconcat): Improve docstring.
5791 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5793 * device-gtk.c: Add prototype for
5794 emacs_gtk_selection_clear_event_handle.
5795 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5796 selection. Setup signal handler for "selection_clear_event"
5797 (emacs_gtk_selection_clear_event_handle).
5799 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5800 other applications owning the clipboard (based on
5801 x_handle_selection_clear).
5803 2001-12-23 William M. Perry <wmperry@gnu.org>
5805 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5807 2002-01-04 Martin Buchholz <martin@xemacs.org>
5809 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5811 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5813 * XEmacs 21.4.6 "Common Lisp" is released.
5815 2001-12-16 Torsten Duwe <duwe@caldera.de>
5817 * search.c (Freplace_match): Add missing sub-expression functionality.
5819 * buffer.c (decode_buffer): Add a check for pointer type to
5820 decode_buffer, before gcc's CSE optimization reorders a
5821 dereference in front of the allow_string test.
5823 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5825 * window.c (window_loop): Fix bug that sometimes prevented
5826 window_loop() from iterating across multiple devices. Also, at
5827 Ben's request, changed infloop-detecting code to abort() instead
5828 of silently terminating window_loop().
5830 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5832 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5833 * editfns.c (make_time): New function.
5834 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5835 * lisp.h (make_time): Prototype and comment it.
5836 * dired.c (wasteful_word_to_lisp): Deprecate.
5837 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5839 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5841 * fileio.c (auto_save_1): Use current coding system, not
5844 2001-11-13 Ben Wing <ben@xemacs.org>
5847 * window.c (window_truncation_on):
5848 * window.c (syms_of_window):
5849 truncate-partial-width-windows should respect the buffer being
5850 displayed, like other redisplay vars.
5852 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5854 * event-stream.c (Fread_key_sequence): save current buffer.
5856 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5858 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5860 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5862 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5864 2001-10-26 Mike Alexander <mta@arbortext.com>
5866 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5868 2001-10-25 Andy Piper <andy@xemacs.org>
5871 * dialog-msw.c (handle_directory_proc): new function.
5872 (handle_directory_dialog_box): new fucntion.
5873 (handle_file_dialog_box): use new directory dialog support.
5874 (mswindows_make_dialog_box_internal): ditto.
5875 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5877 (mswindows_find_frame): make global.
5878 * fileio.c (Fexpand_file_name): build fix.
5879 * general-slots.h: add Qdirectory.
5880 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5882 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5883 cygwin not leaving win32 paths unchanged.
5884 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5885 cygwin runtime to do path conversion.
5886 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5887 (syms_of_win32): add new function.
5888 * window.c (window_loop): build fix.
5890 2001-10-15 Andy Piper <andy@xemacs.org>
5892 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5894 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5896 * XEmacs 21.4.5 "Civil Service" is released.
5898 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5900 * glyphs-x.c: Force buffer-tab highlight update when moving the
5901 buffer, avoiding an ugly black border, used for keyboard focus
5902 indication, on a widget that can never have keyboard focus, the
5905 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5907 * process-unix.c (unix_open_multicast_group): Remove too much
5908 conversion between host and network byte order.
5910 2001-09-10 Nix <nix@esperi.demon.co.uk>
5912 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5913 before replacing them.
5915 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5918 * src/window.c (undedicate_windows): Use it.
5919 * src/window.h: Add prototype.
5921 2001-09-17 Ben Wing <ben@xemacs.org>
5923 * fileio.c (normalize_filename):
5924 * fileio.c (Fexpand_file_name):
5925 Fix various C++ compile errors in Andy's recent code.
5927 * callint.c (Fcall_interactively):
5928 * editfns.c (Ftemp_directory):
5929 * editfns.c (Fuser_full_name):
5930 * emacs.c (argmatch):
5931 * lread.c (locate_file_map_suffixes):
5932 * redisplay-x.c (x_ring_bell):
5933 Fix sign-compare warnings.
5935 2001-09-08 Andy Piper <andy@xemacs.org>
5937 * fileio.c (normalize_filename): copied from nt.c
5938 * (Ffile_name_directory): enable win32 paths under cygwin.
5939 * (Ffile_name_nondirectory): ditto.
5940 * (directory_file_name): ditto.
5941 * (Fexpand_file_name): ditto.
5942 * (Ffile_truename): ditto.
5943 * (Fsubstitute_in_file_name): ditto.
5944 * (Ffile_name_absolute_p): ditto.
5945 * (Ffile_readable_p): ditto.
5947 2001-09-08 Andy Piper <andy@xemacs.org>
5949 * device-msw.c (mswindows_finish_init_device): remove dde
5951 * device-msw.c (mswindows_init_dde): factor out from
5952 mswindows_finish_init_device()
5953 * device-msw.c (init_mswindows_very_early): new function
5954 initialize but don't enable dde.
5955 * emacs.c (main_1): call init_mswindows_very_early.
5957 * event-msw.c (mswindows_dde_callback): only execute when we are
5959 * symsinit.h: declare init_mswindows_very_early.
5961 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
5963 [sjt: This has been in 21.5 for months with no complaints.]
5965 * console.h (struct console_methods): Added flags member.
5966 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
5967 (CONMETH_IMPL_FLAG):
5968 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
5969 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5971 * device.c (window_system_pixelated_geometry): Use the above macros.
5973 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
5974 implememntation flag.
5975 * device.h (DEVICE_DISPLAY_P): Use it.
5977 * frame.c (delete_frame_internal): Use the above macro.
5979 * redisplay.c (redisplay_device): Use it.
5980 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
5981 (redisplay_frame): Ditto.
5983 * device-msw.c (mswindows_device_implementation_flags): Removed.
5984 (msprinter_device_implementation_flags): Removed.
5985 (console_type_create_device_mswindows): Removed references to
5986 implementation_flags methods, set implementation flags here.
5987 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
5989 * device-gtk.c (gtk_device_implementation_flags): Removed method.
5990 (console_type_create_device_gtk): Removed method declaration.
5991 Added commented out statement which semantically matches the
5992 commented out statement in the above removed method.
5994 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
5996 The attached patch fixes a few warnings.
5998 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
5999 * src/frame-gtk.c: guard against GNOME calls in GTK only
6000 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6001 * src/select-gtk.c: prototype lisp_to_time
6003 2001-06-08 Ben Wing <ben@xemacs.org>
6005 ------ gc-in-window-procedure fixes ------
6008 * alloc.c (struct post_gc_action):
6009 * alloc.c (register_post_gc_action):
6010 * alloc.c (run_post_gc_actions):
6011 * alloc.c (garbage_collect_1):
6012 Create "post-gc actions", to avoid those dreaded "GC during window
6013 procedure" problems.
6016 Abort, clean and simple, when GC in window procedure. We want
6017 to flush these puppies out.
6020 * glyphs-msw.c (finalize_destroy_window):
6021 * glyphs-msw.c (mswindows_finalize_image_instance):
6022 Use a post-gc action when destroying subwindows.
6025 Declare register_post_gc_action().
6028 * scrollbar-msw.c (unshow_that_mofo):
6029 Use a post-gc action when unshowing scrollbar windows, if in gc.
6031 * redisplay.c (mark_redisplay):
6032 Add comment about the utter evilness of what's going down here.
6034 ------ cygwin setitimer fixes ------
6036 * Makefile.in.in (sheap_objs):
6037 * Makefile.in.in (profile_objs):
6038 * Makefile.in.in (objs):
6039 Compile profile.c only when HAVE_SETITIMER.
6041 * nt.c (mswindows_sigset):
6042 * nt.c (mswindows_sighold):
6043 * nt.c (mswindows_sigrelse):
6044 * nt.c (mswindows_sigpause):
6045 * nt.c (mswindows_raise):
6046 * nt.c (close_file_data):
6050 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6053 * profile.c (Fstart_profiling):
6054 * profile.c (Fstop_profiling):
6055 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6056 instead of just plain setitimer().
6059 * signal.c (set_one_shot_timer):
6061 Define qxe_setitimer() as an encapsulation around setitimer() --
6062 call setitimer() directly unless Cygwin or MS Win, in which case
6063 we use our simulated version in win32.c.
6066 * systime.h (struct itimerval):
6067 * systime.h (ITIMER_REAL):
6068 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6069 comment about "qxe" and the policy regarding encapsulation.
6072 * win32.c (setitimer_helper_proc):
6073 * win32.c (setitimer_helper_period):
6074 * win32.c (setitimer_helper):
6075 * win32.c (mswindows_setitimer):
6076 Move setitimer() emulation here, so Cygwin can use it.
6077 Rename a couple of functions and variables to be longer and more
6078 descriptive. In setitimer_helper_proc(), send the signal
6079 using either mswindows_raise() or (on Cygwin) kill(). If for
6080 some reason we are still getting lockups, we'll change the kill()
6081 to directly invoke the signal handlers.
6083 ------ windows shell fixes ------
6087 Comments about how these two files must die.
6089 * callproc.c (init_callproc):
6090 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6091 not just COMSPEC. (more correct and closer to FSF.) Don't
6092 force a value for SHELL into the environment. (Comments added
6093 to explain why not.)
6095 * nt.c (init_user_info):
6096 Don't shove a fabricated SHELL into the environment. See above.
6098 2001-06-01 Ben Wing <ben@xemacs.org>
6100 * Makefile.in.in (ldflags):
6101 eliminate that pesky "defaulting to 00401000" warning.
6105 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6107 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6108 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6110 2001-04-24 Jerry James <james@xemacs.org>
6112 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6115 2001-06-01 Ben Wing <ben@xemacs.org>
6117 * event-msw.c (debug_mswin_messages):
6118 conditionalize the messages that were causing compile errors.
6119 (if only macros could generate #ifdef statements ...)
6121 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6123 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6125 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6127 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6129 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6131 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6132 * process-unix.c (unix_canonicalize_host_name):
6133 sysdep.c (init_system_name):
6134 Use it to conditionally support IPv6 canonicalization.
6136 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6139 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6141 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6143 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6144 attempt is made to scroll when no scroll bar is available.
6146 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6148 * input-method-motif.c (XIM_delete_frame): New callback.
6149 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6150 got deleted from 21.4.3.)
6152 2001-06-01 Ben Wing <ben@xemacs.org>
6154 * nt.c (mswindows_utime):
6155 * nt.c (close_file_data):
6156 fix off-by-one-indirection error.
6158 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6160 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6161 because set_file_times() now takes Lisp_Object path, instead of
6163 * nt.c: Include buffer.h.
6164 * nt.c (convert_from_time_t): New.
6165 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6166 not set mtime correctly.
6167 * nt.h: Declare mswindows_utime().
6168 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6169 path, instead of char*.
6170 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6172 2001-05-30 Ben Wing <ben@xemacs.org>
6176 (Stephen, just take all event-msw.c patches. This includes
6177 the "iconify" fix below.)
6180 * event-msw.c (mswindows_dequeue_dispatch_event):
6181 * event-msw.c (assert):
6182 * event-msw.c (emacs_mswindows_quit_p):
6183 * event-msw.c (debug_mswin_messages):
6184 * event-msw.c (debug_output_mswin_message):
6185 * event-msw.c (vars_of_event_mswindows):
6186 Fix yet more problems with C-g handling.
6187 Implement debug-mswindows-events.
6189 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6191 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6193 2001-05-23 Ben Wing <ben@xemacs.org>
6195 * event-msw.c (winsock_writer):
6196 * event-msw.c (winsock_closer):
6197 prior kludgy code was clobbering the buffer, thinking it was
6198 "unused" space to store an unneeded return value; instead, use
6199 the variable we've already got staring us in the face.
6201 2001-05-17 Andy Piper <andy@xemacs.org>
6203 * sysfile.h: don't assume that file attributes are boolean
6205 2001-05-23 Ben Wing <ben@xemacs.org>
6207 * device-msw.c (msprinter_init_device):
6208 signal an error rather than crash with an unavailable network
6209 printer (from Mike Alexander).
6212 * event-msw.c (struct winsock_stream):
6213 * event-msw.c (winsock_writer):
6214 * event-msw.c (winsock_closer):
6215 * event-msw.c (make_winsock_stream_1):
6216 cleanup headers. fix (hopefully) an error with data corruption
6217 when sending to a network connection.
6219 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6220 to handle the ~user prefix by (a) always assuming we're referencing
6221 ourselves and not even verifying the user -- hence any file with
6222 a tilde as its first char is invalid! (b) if there wasn't a slash
6223 following the filename, the pointer was set *past* the end of
6224 file and we started reading from uninitialized memory. Now we
6225 simply treat these as files, always.
6227 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6229 2001-05-19 Ben Wing <ben@xemacs.org>
6231 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6234 * process-nt.c (vars_of_process_nt):
6235 remove unused mswindows-quote-process-args. rec for 21.4.
6237 2001-05-12 Ben Wing <ben@xemacs.org>
6239 * event-msw.c (mswindows_dde_callback):
6240 * event-msw.c (mswindows_wnd_proc):
6241 eliminate cygwin warnings.
6243 2001-05-06 Ben Wing <ben@xemacs.org>
6247 * device-msw.c (print_dialog_worker):
6248 * device-msw.c (mswindows_handle_print_dialog_box):
6249 * device-msw.c (syms_of_device_mswindows):
6250 * dialog-msw.c (mswindows_make_dialog_box_internal):
6252 implement printing the selection when it's selected.
6254 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6256 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6258 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6260 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6261 EMACS_INT is signed.
6263 2001-04-15 Michael Lausch <mla@1012surf.net>
6265 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6266 gtk_widget_request_size() to give scrollbar >0 width for
6269 2001-05-30 William M. Perry <wmperry@gnu.org>
6271 * event-gtk.c: Check for buttons as modifier keys.
6273 2001-05-25 Craig Lanning <CraigL@Knology.net>
6276 Properly find MinGW's <process.h> inside Cygwin's restructured
6277 include directories. Don't try to include <cygwin/version.h>
6278 since we are dropping support for MinGW in versions of Cygwin
6281 Drop support for MinGW in versions of Cygwin before b21.
6283 Properly find MinGW's <process.h> inside Cygwin's restructured
6284 include directories.
6286 Drop support for MinGW in versions of Cygwin before b21.
6288 Even though a.out.h is no longer detected by configure, allow
6289 MinGW to use it until we figure out how to do the job with Win32.
6291 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6293 * syntax.c (find_start_of_comment):
6294 Fix `unbalanced parentheses' bug when dealing with mixed comment
6295 styles in c++/java/etc. mode
6297 2001-05-29 Mike Alexander <mta@arbortext.com>
6299 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6300 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6302 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6304 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6306 2001-03-31 Mike Sperber <mike@xemacs.org>
6308 * search.c (Freplace_match): Support FSF-style specification of
6309 match subexpression when applied to a buffer.
6311 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6313 * event-stream.c (is_scrollbar_event): add missing semicolon
6315 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6317 * Makefile.in.in: Use TAR macro instead of hardcoding
6318 tar. Allows use of GNU tar instead of system tar
6320 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6322 * event-stream.c (is_scrollbar_event): add missing semicolon
6324 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6326 * XEmacs 21.4.3 "Academic Rigor" is released.
6328 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6330 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6332 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6334 * buffer.c (Vcase_fold_search): Remove obsolete
6335 comment about non ASCII case-fold-search. This
6336 bug has been fixed by case-table changes.
6338 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6340 * event-msw.c: Restore include of events-mod.h.
6342 2001-04-22 zhaoway <zw@debian.org>
6344 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6347 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6349 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6351 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6353 * mule-charset.c (Fmake_charset): Add missing else.
6355 2001-04-23 Ben Wing <ben@xemacs.org>
6357 * event-msw.c (FAKE_MOD_QUIT):
6358 * event-msw.c (mswindows_dequeue_dispatch_event):
6359 * event-msw.c (mswindows_wnd_proc):
6360 * event-msw.c (emacs_mswindows_quit_p):
6361 Get critical quit working.
6363 2001-05-05 Ben Wing <ben@xemacs.org>
6367 * device-msw.c (mswindows_get_default_margin):
6368 * frame-msw.c (mswindows_size_frame_internal):
6369 * frame-msw.c (msprinter_init_frame_1):
6370 * frame-msw.c (vars_of_frame_mswindows):
6371 Change top/bottom margin defaults to 0.5 inches.
6373 2001-05-01 Martin Buchholz <martin@xemacs.org>
6375 Fix link error with gcc 3.0 on Linux.
6376 * terminfo.c (UP): Remove.
6377 * terminfo.c (BC): Remove.
6378 * terminfo.c (PC): Remove.
6379 They weren't used, and in any case, these symbols should be
6380 defined in the *library*.
6382 2001-05-03 Martin Buchholz <martin@xemacs.org>
6384 * s/aix4.h: Fix crash with xlc -O3.
6385 Improve comment explaining how -O3 works.
6387 2001-04-15 Ben Wing <ben@xemacs.org>
6390 * event-stream.c (Fnext_event):
6391 * event-stream.c (is_scrollbar_event):
6392 * event-stream.c (execute_command_event):
6393 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6394 crash' problem. His fix introduces other problems. We filter
6395 out scrollbar events specifically, making them somewhat invisible
6396 to command-building, and not appearing in `this-command-keys'.
6397 More work is still needed (see comments in event-stream.c), but
6398 this fixes all the major problems.
6400 2001-04-20 Ben Wing <ben@xemacs.org>
6402 * .cvsignore: Added stuff for Windows.
6404 2001-04-28 Ben Wing <ben@xemacs.org>
6406 * buffer.c (Ferase_buffer):
6407 * editfns.c (buffer_insert1):
6408 * editfns.c (Finsert_before_markers):
6409 * editfns.c (Finsert_string):
6410 * editfns.c (Finsert_char):
6411 * editfns.c (Fdelete_region):
6412 * editfns.c (Fwiden):
6413 * editfns.c (Fnarrow_to_region):
6414 remove bogus lines setting zmacs_region_stays to 0.
6416 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6418 * process-unix.c (unix_open_network_stream): If connect() fails
6419 invalidate file descriptor after closing it.
6421 2001-03-08 Mike Alexander <mta@arbortext.com>
6423 * event-msw.c (mswindows_need_event_in_modal_loop):
6424 Don't dispatch a message if we didn't get one.
6425 (mswindows_need_event):
6426 Terminate the correct process when one exits instead of the first
6427 one on Vprocess_list and look for process termination when in
6428 mswindows_protect_modal_loop.
6430 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6432 * XEmacs 21.4.1 "Copyleft" is released.
6434 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6436 * input-method-motif.c (XIM_delete_frame): New callback.
6437 (XIM_init_frame): Register it.
6439 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6441 * XEmacs 21.4.0 "Solid Vapor" is released.
6443 2001-04-15 Ben Wing <ben@xemacs.org>
6445 * cmdloop.c (call_command_loop):
6446 Fix braino in bit-rotting code.
6448 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6450 * extents.c (Fset_extent_endpoints): Force creation of extent info
6451 in buffer_or_string.
6453 * extents.c (process_extents_for_insertion_mapper): Correctly
6454 check for open-open zero-length extents.
6456 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6458 * lisp.h: New typedefs Memory_count, Element_count.
6461 Sign-compare warning elimination: several unsigned -> signed.
6462 Based on work by Ben Wing <ben@xemacs.org>.
6464 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6466 * XEmacs 21.2.47 "Zephir" is released.
6468 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6470 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6472 2001-04-03 Mike Sperber <mike@xemacs.org>
6474 * search.c: Revert previous patch due because of release.
6476 2001-03-30 Ben Wing <ben@xemacs.org>
6479 Add missing killpg prototype.
6482 Add a comment about fixing problems when a new entry is added
6485 * frame-msw.c (mswindows_init_frame_1):
6486 Fix compile warnings.
6488 * menubar.c (vars_of_menubar):
6489 Provide `menu-accelerator-support' to indicate that we properly
6490 support %_ in menu specifications, so that package code can
6491 conditionalize on this (and remove %_ from menu specifications
6496 * scrollbar-msw.c (can_scroll):
6498 Fix handling of mouse wheel under Windows to follow standards --
6499 now scrolls window under pointer, not selected window.
6501 2001-03-31 Mike Sperber <mike@xemacs.org>
6503 * search.c (Freplace_match): Support FSF-style specification of
6504 match subexpression when applied to a buffer.
6506 2001-03-15 Martin Buchholz <martin@xemacs.org>
6508 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6509 function to modify KEYMAP, so map over a copy of the hash table.
6511 2001-03-21 Martin Buchholz <martin@xemacs.org>
6513 * XEmacs 21.2.46 "Urania" is released.
6515 2001-03-20 Dan Holmsand <dan@eyebee.com>
6517 * realpath.c (xrealpath): Make file-truename work with symlinks to
6518 /cygdrive paths on cygwin. Always lowercase drive-letters on
6520 (cygwin_readlink): Don't try to find canonical filename unless
6523 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6525 * ChangeLog: Log GTK merge.
6531 Revert gratuitous whitespace changes from GTK merge.
6533 * emacs.c: Document end of complex #ifdef @ l. 1495.
6536 2001-03-12 Andy Piper <andy@xemacs.org>
6538 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6539 have to do likewise.
6541 2001-03-12 Andy Piper <andy@xemacs.org>
6543 * sysdep.c: we only support mingw now.
6545 2001-03-09 Andy Piper <andy@xemacs.org>
6547 * unexcw.c (copy_executable_and_dump_data_section): making approx
6548 overrun a warning only.
6550 2001-03-10 William M. Perry <wmperry@aventail.com>
6552 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6553 satisfy Stephen's identical-after-cpp plea.
6555 2001-03-02 Ben Wing <ben@xemacs.org>
6558 * cmds.c (Fforward_char):
6562 Augment documentation of the most common motion commands to make
6563 note of the shifted-motion support.
6565 2001-03-02 Ben Wing <ben@xemacs.org>
6567 * nt.c (mswindows_fstat):
6568 * nt.c (mswindows_stat):
6569 * search.c (boyer_moore):
6570 Fix compile warnings under Windows.
6572 * sysdep.c (sys_readdir):
6573 Fix buggy filename-conversion code under Mule.
6575 2001-03-09 William M. Perry <wmperry@aventail.com>
6597 * redisplay-output.c:
6603 The Great GTK Merge.
6610 * emacs-widget-accessors.c:
6624 * native-gtk-toolbar.c:
6635 The Great GTK Merge: new files.
6637 2001-02-26 Ben Wing <ben@xemacs.org>
6639 Reapplied Lstream change.
6641 2001-02-26 Ben Wing <ben@xemacs.org>
6643 Undid the last change, since it is more controversial than I
6644 thought. It should be back in at some point soon.
6646 2001-02-25 Ben Wing <ben@xemacs.org>
6649 * callproc.c (Fold_call_process_internal):
6650 * event-msw.c (ntpipe_slurp_reader):
6651 * event-msw.c (ntpipe_shove_writer):
6652 * event-msw.c (winsock_reader):
6653 * event-msw.c (winsock_writer):
6655 * file-coding.c (detect_eol_type):
6656 * file-coding.c (detect_coding_type):
6657 * file-coding.c (determine_real_coding_system):
6658 * file-coding.c (Fdetect_coding_region):
6659 * file-coding.c (decoding_reader):
6660 * file-coding.c (decoding_writer):
6661 * file-coding.c (mule_decode):
6662 * file-coding.c (Fdecode_coding_region):
6663 * file-coding.c (encoding_reader):
6664 * file-coding.c (encoding_writer):
6665 * file-coding.c (mule_encode):
6666 * file-coding.c (Fencode_coding_region):
6667 * file-coding.c (detect_coding_sjis):
6668 * file-coding.c (decode_coding_sjis):
6669 * file-coding.c (encode_coding_sjis):
6670 * file-coding.c (detect_coding_big5):
6671 * file-coding.c (decode_coding_big5):
6672 * file-coding.c (encode_coding_big5):
6673 * file-coding.c (detect_coding_ucs4):
6674 * file-coding.c (decode_coding_ucs4):
6675 * file-coding.c (encode_coding_ucs4):
6676 * file-coding.c (detect_coding_utf8):
6677 * file-coding.c (decode_coding_utf8):
6678 * file-coding.c (encode_coding_utf8):
6679 * file-coding.c (detect_coding_iso2022):
6680 * file-coding.c (decode_coding_iso2022):
6681 * file-coding.c (encode_coding_iso2022):
6682 * file-coding.c (decode_coding_no_conversion):
6683 * file-coding.c (encode_coding_no_conversion):
6684 * glyphs-x.c (write_lisp_string_to_temp_file):
6685 * gpmevent.c (tty_get_foreign_selection):
6688 * lstream.c (Lstream_flush_out):
6689 * lstream.c (Lstream_adding):
6690 * lstream.c (Lstream_write_1):
6691 * lstream.c (Lstream_write):
6692 * lstream.c (Lstream_raw_read):
6693 * lstream.c (Lstream_read_more):
6694 * lstream.c (Lstream_read):
6695 * lstream.c (Lstream_unread):
6696 * lstream.c (Lstream_fputc):
6697 * lstream.c (stdio_reader):
6698 * lstream.c (stdio_writer):
6699 * lstream.c (filedesc_reader):
6700 * lstream.c (filedesc_writer):
6701 * lstream.c (lisp_string_reader):
6702 * lstream.c (struct fixed_buffer_stream):
6703 * lstream.c (make_fixed_buffer_input_stream):
6704 * lstream.c (make_fixed_buffer_output_stream):
6705 * lstream.c (fixed_buffer_reader):
6706 * lstream.c (fixed_buffer_writer):
6707 * lstream.c (struct resizing_buffer_stream):
6708 * lstream.c (resizing_buffer_writer):
6709 * lstream.c (dynarr_writer):
6710 * lstream.c (lisp_buffer_reader):
6711 * lstream.c (lisp_buffer_writer):
6713 * lstream.h (lstream_implementation):
6714 * lstream.h (struct lstream):
6716 * process-nt.c (nt_send_process):
6717 * process-unix.c (unix_send_process):
6719 Correct Lstream lossage due to mixing of signed and unsigned
6720 quantities. All Lstream uses of size_t and ssize_t are now a
6721 single signed data type Lstream_data_count. This fixes problems
6722 under Windows with sending large quantities of data to a process,
6723 and may well fix other subtle bugs.
6725 2001-02-23 Martin Buchholz <martin@xemacs.org>
6727 * XEmacs 21.2.45 "Thelxepeia" is released.
6729 2001-02-21 Martin Buchholz <martin@xemacs.org>
6731 * lisp-union.h (XSETINT):
6734 Reverse previous change of 2001-02-06.
6736 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6738 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6740 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6741 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6742 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6743 * regex.c (POS_AS_IN_BUFFER): removed
6744 * regex.c (re_search_2):
6745 * regex.c (re_match_2):
6746 Don't use an offset of 1 when calculating buffer positions, since
6747 `BI_BUF_BEGV' does it already.
6749 2001-02-18 Wim Dumon <wim@easics.be>
6751 * insdel.c (prepare_to_modify_buffer): Also check for
6752 supersession when clash-detection is enabled.
6754 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6756 * regex.c (re_match_2_internal):
6757 Convert temp characters from 'const unsigned char' to 're_char'.
6758 Fix crashing bug with extended characters under mule.
6759 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6760 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6761 font-lock, pdump, and new syntax-table code.
6762 * syntax.c (find_start_of_comment):
6763 (find_end_of_comment):
6765 Fix crashing bugs involving moving beyond end of buffer.
6766 * syntax.c (find_start_of_comment):
6767 Fixed logic to allow proper detection of cases where the same
6768 character is used to end both a two-char comment start and a
6769 two-char comment end sequence. Fixes `(forward-comment -1)'.
6770 * syntax.c (find_start_of_comment):
6771 Return position just past last comment-end character for all cases
6772 (previously was only done for two-char comment-end sequences).
6773 * syntax.c (forward-comment):
6774 Take value returned from `find_end_of_comment', rather than
6776 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6777 Properly deal with BUFFERP (syntax_cache.object)
6779 2001-02-17 Martin Buchholz <martin@xemacs.org>
6781 * alloc.c (Fgarbage_collect):
6782 * alloc.c (make_bit_vector_from_byte_vector):
6783 -Wsign-compare-correctness.
6785 2001-02-16 Martin Buchholz <martin@xemacs.org>
6787 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6788 (XSETCHAR): Likewise.
6789 (XSETOBJ): Likewise.
6791 2001-02-15 Martin Buchholz <martin@xemacs.org>
6793 * mule-canna.c (canna-func-delete_previous):
6794 Rename to canna-func-delete-previous.
6796 2001-02-14 Martin Buchholz <martin@xemacs.org>
6798 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6800 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6802 * font-lock.c (find_context): Fix C++ compile errors introduced by
6805 2001-02-13 Martin Buchholz <martin@xemacs.org>
6807 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6808 pragma, but earlier ones barf on the same pragma.
6810 2001-02-06 Mike Sperber <mike@xemacs.org>
6812 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6813 `configure-mule-lisp-directory'.
6815 2001-02-12 Martin Buchholz <martin@xemacs.org>
6817 Make sure dump-id.c is compiled in the same way as other .c's.
6818 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6819 * dump-id.h: Remove.
6820 * emacs.c: Move dump-id.h into dumper.h.
6821 * dumper.h: Move dump-id.h into dumper.h.
6823 Use standard .c.o rule for building dump-id.o.
6824 Remove preprocessor flags from link command.
6825 Add dump-id.o to ${otherobjs} if PDUMP.
6827 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6829 Port FSF 20.7 syntax table improvements.
6833 Fixups for new syntax table stuff.
6834 * dired.c: Include syntax.c.
6835 (Fdirectory_files): Initialize regex_match_object and
6837 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6838 and Fget_char_property.
6840 Use ported FSF 20.7 syntax table improvements.
6845 2001-02-09 Martin Buchholz <martin@xemacs.org>
6847 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6848 Unixware's enum boolean from sys/types.h.
6850 2001-02-10 Martin Buchholz <martin@xemacs.org>
6852 Fix support for building with latest Purify.
6853 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6854 (PURIFY_FLAGS): Likewise.
6856 2001-02-09 Martin Buchholz <martin@xemacs.org>
6858 * fileio.c (lisp_string_set_file_times): New.
6859 * fileio.c (Fcopy_file): Use it.
6861 (copy-file filename non-ascii-filename t t)
6862 ==> No such file or directory, non-ascii-filename
6864 2001-02-10 Martin Buchholz <martin@xemacs.org>
6866 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6867 USHRT_MAX seems clearer than ~0 anyways.
6869 2001-02-09 Martin Buchholz <martin@xemacs.org>
6871 dumper improvements. Inspired by Olivier.
6872 * dumper.c (pdump_max_align): New.
6873 * dumper.c (pdump_add_entry): Use pdump_max_align.
6874 * dumper.c (pdump_get_entry_list): Likewise.
6875 * dumper.c (pdump_scan_by_alignment): Likewise.
6876 Don't iterate through unnecessary alignments.
6877 * dumper.c (pdump_file_get): No need to align result of malloc().
6878 * dumper.c (pdump_mallocadr): Remove.
6879 The result of malloc() is guaranteed to be maximally aligned.
6880 * dumper.c: s/elmt/elt/g;
6881 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6882 * dumper.c (pdump_alert_undump_object): Likewise.
6883 * dumper.c (pdump_align_table):
6884 Don't support alignments > 64.
6885 Store ALIGNOF's, not shift counts, in table.
6887 2001-02-09 Martin Buchholz <martin@xemacs.org>
6889 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6890 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6891 * systime.h: Use HAVE_UTIME.
6892 * sysdep.c (struct utimbuf): Remove.
6893 * sysdep.c (set_file_times): Prefer utime() to utimes().
6894 * config.h.in (HAVE_UTIME): New.
6895 * config.h.in (HAVE_UTIME_H): Remove.
6896 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6898 2001-02-09 Martin Buchholz <martin@xemacs.org>
6900 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6902 2001-02-08 Martin Buchholz <martin@xemacs.org>
6904 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6906 2001-02-08 Martin Buchholz <martin@xemacs.org>
6908 * XEmacs 21.2.44 "Thalia" is released.
6910 2001-02-06 Martin Buchholz <martin@xemacs.org>
6912 Fixes crashes in kill-emacs on some systems.
6913 * process-unix.c (unix_kill_child_process):
6914 It's OK for kill() to fail with ESRCH.
6916 2001-02-07 Martin Buchholz <martin@xemacs.org>
6918 Contortions to make .gdbinit tricks work on most systems.
6919 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6920 * alloc.c (dbg_valmask): Make non-const.
6921 * alloc.c (dbg_typemask): Make non-const.
6922 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6923 * alloc.c (dbg_valbits): Make non-const.
6924 * alloc.c (dbg_gctypebits): Make non-const.
6925 * .gdbinit (decode_object): Make it work with AIX cc.
6927 2001-02-06 Martin Buchholz <martin@xemacs.org>
6929 * elhash.c (make_general_lisp_hash_table):
6930 Use simpler and more efficient calloc to clear entries.
6932 2001-02-07 Martin Buchholz <martin@xemacs.org>
6934 * window.c (window_scroll): Work around an AIX C compiler bug.
6935 Fixes 'scroll-up' does nothing problem with xlC.
6937 2001-02-05 Martin Buchholz <martin@xemacs.org>
6939 * .gdbinit: Remove obsolete comment.
6941 2001-01-31 Mike Alexander <mta@arbortext.com>
6943 * select.c (Fown_selection_internal): Set owned_p for device
6946 2001-02-01 Martin Buchholz <martin@xemacs.org>
6949 "not" cannot be used as a macro name as it is an operator in C++
6950 * config.h.in: Stop #defining `not'.
6951 * chartab.c (check_category_char): not ==> not_p
6952 * chartab.h: Likewise.
6953 * regex.c (re_match_2_internal): Likewise.
6955 2001-02-02 Martin Buchholz <martin@xemacs.org>
6957 * lisp-disunion.h: Fix up comments.
6959 2001-01-31 Martin Buchholz <martin@xemacs.org>
6961 * keymap.c (define_key_check_and_coerce_keysym):
6963 Support mouse-6 and mouse-7 bindings in the obvious way.
6965 2001-02-01 Martin Buchholz <martin@xemacs.org>
6967 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
6969 2001-01-30 Martin Buchholz <martin@xemacs.org>
6971 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
6972 Previous patch missed DEFVAR_INT_MAGIC.
6973 Make sure future DEFVAR_foo use correct types.
6974 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
6975 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
6976 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
6977 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
6978 * (DEFVAR_INT): Likewise.
6979 * redisplay.c (vertical_clip): Should be of type Fixnum.
6980 * redisplay.c (horizontal_clip): Likewise.
6981 * lisp.h (dump_add_opaque_int): New.
6982 (dump_add_opaque_fixnum): New.
6984 2001-01-29 Andy Piper <andy@xemacs.org>
6986 * glyphs-widget.c (check_valid_int_or_function): allow symbols
6987 since they can be eval'ed
6989 2001-01-29 Martin Buchholz <martin@xemacs.org>
6991 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
6992 Oops, XEmacs redefines `class'. Use `typename' instead.
6994 2001-01-28 Martin Buchholz <martin@xemacs.org>
6996 * dumper.c: Fix C++ compile errors.
6998 2001-01-29 Martin Buchholz <martin@xemacs.org>
7000 * tparam.c: Use correct prototypes.
7002 2001-01-28 Martin Buchholz <martin@xemacs.org>
7004 * sysproc.h: #include util.h for NetBSD's openpty.
7006 2001-01-27 Martin Buchholz <martin@xemacs.org>
7008 More 64-bit correctness.
7009 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7010 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7012 This finally finishes the 64-bit SGI port.
7013 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7014 * symbols.c: Fix up comments and type casts.
7015 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7016 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7017 * symeval.h (Fixnum): New type.
7018 * symeval.h (symbol_value_type): Fix up comment.
7034 * mule-canna.c: A million DEFVAR_INTs here...
7035 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7048 s/int/Fixnum/g in DEFVAR_INT declarations.
7050 2001-01-26 Martin Buchholz <martin@xemacs.org>
7052 Port pdump to SGI alignment-sensitive environment.
7053 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7054 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7056 Define and use aligned reading and writing macros.
7057 Use buffered stdio instead of posix i/o for faster dumping.
7058 Eliminate kludgy 256 byte space for header.
7059 Read and write from dump file using structs for alignment safety.
7060 * dumper.c (pdump_align_stream): New.
7061 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7062 * dumper.c (PDUMP_READ_ALIGNED): New.
7063 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7064 * dumper.c (pdump_static_Lisp_Object): New struct.
7065 * dumper.c (pdump_static_pointer): New struct.
7066 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7067 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7068 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7069 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7071 * dumper.c (pdump_backtrace):
7072 * dumper.c (pdump_get_indirect_count):
7073 * dumper.c (pdump_register_object):
7074 * dumper.c (pdump_register_struct):
7075 * dumper.c (pdump_reloc_one):
7076 * dumper.c (pdump_scan_by_alignment):
7077 * dumper.c (pdump_dump_from_root_struct_ptrs):
7078 * dumper.c (pdump_dump_opaques):
7079 * dumper.c (pdump_dump_rtables):
7080 * dumper.c (pdump_dump_from_root_objects):
7082 * dumper.c (pdump_load_finish):
7083 Use aligned reading and writing.
7085 * dumper.c (pdump_free): Make static.
7086 * dumper.c (pdump_hFile): Likewise.
7087 * dumper.c (pdump_hMap): Likewise.
7089 2001-01-26 Martin Buchholz <martin@xemacs.org>
7091 * XEmacs 21.2.43 "Terspichore" is released.
7093 2001-01-25 Martin Buchholz <martin@xemacs.org>
7095 Type fiddling for window_config.saved_windows_count
7096 * window.c (struct window_config):
7097 Make saved_windows_count member unsigned.
7098 * window.c (sizeof_window_config_for_n_windows):
7099 Make parameter unsigned.
7100 * window.c (mark_window_config):
7101 * window.c (window_config_equal):
7102 * window.c (free_window_configuration):
7103 * window.c (Fset_window_configuration):
7104 * window.c (count_windows):
7105 * window.c (Fcurrent_window_configuration):
7106 * window.c (reinit_vars_of_window):
7107 Update all callers and users.
7109 2001-01-25 Martin Buchholz <martin@xemacs.org>
7111 Alignment correctness for flexible arrays.
7112 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7113 Make alignment-correct. Add interesting comments.
7114 * alloc.c (size_vector):
7115 * alloc.c (make_vector_internal):
7116 * alloc.c (make_bit_vector_internal):
7117 * alloc.c (sweep_bit_vectors_1):
7118 * fns.c (size_bit_vector):
7119 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7120 * window.c (sizeof_window_config_for_n_windows):
7121 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7123 2001-01-24 Martin Buchholz <martin@xemacs.org>
7125 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7127 2001-01-23 Andy Piper <andy@xemacs.org>
7129 * select.c (Fown_selection_internal): pass owned_p
7131 * select-msw.c (mswindows_own_selection): New Signature.
7133 * console.h (struct console_methods): add owned_p to
7136 * select-x.c (x_own_selection): pass owned_p
7137 (hack_motif_clipboard_selection): use owned_p
7138 (vars_of_select_x): new variable -
7139 x_selection_strict_motif_ownership.
7141 2001-01-23 Martin Buchholz <martin@xemacs.org>
7143 * specifier.h (specifier_data_offset): Remove pointless parens.
7144 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7146 2001-01-24 Martin Buchholz <martin@xemacs.org>
7148 Make Lisp_Object sizeof methods be alignment-correct.
7149 pdump must restore objects to the same alignment as the C compiler
7150 assumes. It really matters on SGIs.
7151 * lstream.c (aligned_sizeof_lstream): New.
7152 (sizeof_lstream): Use aligned_sizeof_lstream.
7153 (Lstream_new): Likewise.
7154 * opaque.c (aligned_sizeof_opaque): New.
7155 (sizeof_opaque): Use aligned_sizeof_opaque.
7156 (make_opaque): Likewise.
7157 * specifier.c (aligned_sizeof_specifier): New.
7158 (sizeof_specifier): Use aligned_sizeof_specifier.
7159 (make_specifier_internal): Likewise.
7161 2001-01-23 Martin Buchholz <martin@xemacs.org>
7163 * lstream.h (struct lstream): Use max_align_t for trailing data.
7164 * specifier.h (struct Lisp_Specifier): Likewise.
7166 2001-01-22 Martin Buchholz <martin@xemacs.org>
7168 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7169 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7170 (CCL_SUSPEND): Likewise.
7171 (CCL_INVALID_CMD): Likewise.
7172 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7173 (ccl_driver): Likewise.
7174 (CCL_WRITE_CHAR): Macro hygiene.
7175 (CCL_WRITE_STRING): Macro hygiene.
7177 2001-01-22 Martin Buchholz <martin@xemacs.org>
7179 Port "portable" dumper to SunOS 4 and HP-UX.
7180 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7181 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7182 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7184 2001-01-22 Martin Buchholz <martin@xemacs.org>
7186 * lisp.h (ALIGNOF): A better definition for C++.
7188 2001-01-20 Martin Buchholz <martin@xemacs.org>
7191 Fix printf warnings: int format, long int arg.
7192 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7193 (PUSH_FAILURE_POINT): Use correct printf formats.
7194 (POP_FAILURE_POINT): Use correct printf formats.
7195 Use do {...} while (0)
7197 2001-01-20 Martin Buchholz <martin@xemacs.org>
7199 * XEmacs 21.2.42 "Poseidon" is released.
7201 2001-01-20 Martin Buchholz <martin@xemacs.org>
7203 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7205 2001-01-19 Martin Buchholz <martin@xemacs.org>
7207 De-kludgify FIXED_TYPE free list frobbing.
7208 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7209 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7210 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7211 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7212 * alloc.c (LRECORD_FREE_P): New.
7213 * alloc.c (MARK_LRECORD_AS_FREE): New.
7214 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7215 * alloc.c (STRUCT_FREE_P): Deleted.
7216 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7217 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7218 * alloc.c (STRING_CHARS_FREE_P): New.
7219 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7220 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7221 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7222 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7223 * alloc.c (resize_string): Use new definitions.
7224 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7225 * alloc.c (verify_string_chars_integrity): Use new definitions.
7226 * alloc.c (compact_string_chars): Use new definitions.
7227 * alloc.c: Update monster comments.
7228 * lrecord.h (lrecord_type): Add some new lrecord types for
7231 2001-01-18 Martin Buchholz <martin@xemacs.org>
7233 Improve alignment hackery.
7234 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7235 (max_align_t): Moved from opaque.h - general purpose.
7236 (ALIGN_PTR): Use size_t, not long.
7237 * opaque.h (max_align_t): Move to lisp.h.
7239 2001-01-18 Norbert Koch <nk@LF.net>
7241 * gui.h: Fix and add prototypes to fix build problems.
7243 2001-01-18 Martin Buchholz <martin@xemacs.org>
7245 temacs is going away, so `dump-temacs' is now a bad name.
7246 * .dbxrc (dump-temacs): Rename to `dmp'.
7247 * .gdbinit (dump-temacs): Rename to `dmp'.
7249 2001-01-17 Andy Piper <andy@xemacs.org>
7251 * glyphs.c (print_image_instance): comment to make martin happy.
7253 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7256 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7258 (mswindows_tab_control_redisplay): warning suppression.
7260 * glyphs-widget.c (widget_update): re-write to cope with updated
7262 (widget_instantiate): use new gui_item functions.
7263 (tab_control_update): deleted.
7264 (progress_gauge_update): deleted.
7265 (image_instantiator_progress_guage): take out update reference.
7266 (image_instantiator_tree_view): ditto.
7267 (image_instantiator_tab_control): ditto.
7269 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7271 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7272 return whether anything was changed.
7273 (update_gui_item_keywords): as it sounds.
7275 * gui.h: declare widget_gui_parse_item_keywords.
7277 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7278 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7280 2001-01-17 Martin Buchholz <martin@xemacs.org>
7282 * XEmacs 21.2.41 "Polyhymnia" is released.
7284 2001-01-16 Didier Verna <didier@xemacs.org>
7286 * glyphs.c (image_instantiate): don't use fallbacks when
7287 instantiating a face's background pixmap by inheritance.
7289 2001-01-14 Mike Sperber <mike@xemacs.org>
7291 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7292 Conditionalize accordingly.
7294 2001-01-16 Martin Buchholz <martin@xemacs.org>
7296 * dumper.c (pdump_file_get): Fix a compiler warning.
7298 2001-01-15 Martin Buchholz <martin@xemacs.org>
7300 Make Purify happy when pdumping.
7301 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7302 iniitalizing all bits of new lisp object memory.
7303 * symbols.c (Fmake_local_variable): Likewise.
7304 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7305 * symbols.c (Fdefvaralias): Likewise.
7306 * mule-charset.c (vars_of_mule_charset): Likewise.
7308 2001-01-15 Martin Buchholz <martin@xemacs.org>
7309 Add the `-nd' flag when running pre-dump operations under the debugger.
7310 * .dbxrc (run-temacs): Add `-nd'.
7311 * .dbxrc (update-elc): Likewise.
7312 * .dbxrc (dump-temacs): Likewise.
7313 * .gdbinit (run-temacs): Likewise.
7314 * .gdbinit (check-temacs): Likewise.
7315 * .gdbinit (update-elc): Likewise.
7316 * .gdbinit (dump-temacs): Likewise.
7318 2001-01-14 Martin Buchholz <martin@xemacs.org>
7320 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7321 export OBJECT_MODE=64
7322 configure --pdump --use-union-type=no
7323 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7324 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7326 * miscplay.c (sndcnv8U_2mono):
7327 Avoid two uses of `++' in the same expression.
7328 Suppresses a GCC warning.
7330 2001-01-13 Martin Buchholz <martin@xemacs.org>
7332 Make sure future compilers don't miscompile alloc.c.
7334 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7335 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7337 2001-01-12 Martin Buchholz <martin@xemacs.org>
7339 * dumper.c: A little post-pdump-rename comment fixup.
7341 2001-01-09 Jerry James <james@eecs.ku.edu>
7343 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7345 2001-01-13 Martin Buchholz <martin@xemacs.org>
7347 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7351 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7354 replace_symbol pdump_wire_lists pdump_weak_object_chains
7355 replace_symbol pdump_wire_list dump_add_weak_object_chain
7357 replace_symbol pdump_wires pdump_root_objects
7358 replace_symbol pdump_wire dump_add_root_object
7360 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7361 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7363 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7364 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7365 replace_symbol dumpstructinfo pdump_root_struct_ptr
7366 replace_symbol dumpstruct dump_add_root_struct_ptr
7368 replace_symbol dumpopaque dump_add_opaque
7369 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7370 replace_symbol dumpopaqueinfos pdump_opaques
7371 replace_symbol dumpopaqueinfo pdump_opaque
7373 replace_symbol nb_structdump nb_root_struct_ptrs
7374 replace_symbol nb_opaquedump nb_opaques
7376 replace_symbol align_table pdump_align_table
7377 replace_symbol dump_header pdump_header
7379 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7380 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7383 2001-01-12 Martin Buchholz <martin@xemacs.org>
7385 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7386 optimizing bytecount_to_charcount().
7388 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7391 (HAVE_DLFCN_H): Removed.
7392 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7394 2001-01-06 Martin Buchholz <martin@xemacs.org>
7396 Portable dumper maintainability improvements.
7397 * alloc.c (staticpro):
7398 * alloc.c (staticpro_nodump):
7399 * alloc.c (garbage_collect_1):
7400 * alloc.c (reinit_alloc_once_early):
7401 * alloc.c (init_alloc_once_early):
7402 * alloc.c: Move dumper functions to alloc.c.
7403 * dumper.c (pdump_backtrace):
7404 * dumper.c (pdump_dump_structs):
7405 * dumper.c (pdump_dump_opaques):
7406 * dumper.c (pdump_dump_rtables):
7407 * dumper.c (pdump_dump_wired):
7409 * dumper.c (pdump_load_check):
7410 * dumper.c (pdump_load_finish):
7411 * dumper.c (pdump_file_unmap):
7412 * dumper.c (pdump_file_get):
7413 * dumper.c (pdump_resource_free):
7414 * dumper.c (pdump_resource_get):
7415 * dumper.c (pdump_file_free):
7416 * dumper.c (pdump_file_try):
7417 * dumper.c (pdump_load):
7418 Remove fixed size limits on staticpro(), staticpro_nodump(),
7419 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7420 Remove custom code for dumping lrecord_implementations_table - use
7422 Remove (most of the) custom code for dumping staticpros - dump it
7423 like any other dynarr.
7425 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7426 * dumper.c: Moved functions from alloc.c.
7427 * alloc.c (dumpstruct): Moved to dumper.c.
7428 * alloc.c (dumpopaque): Likewise.
7429 * alloc.c (pdump_wire): Likewise.
7430 * alloc.c (pdump_wire_list): Likewise.
7432 * lisp.h (Dynarr_sizeof): New.
7433 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7434 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7435 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7437 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7438 * lisp.h (dumpopaque): ditto.
7439 * lisp.h (pdump_wire): ditto.
7440 * lisp.h (pdump_wire_list): ditto.
7442 2001-01-09 Martin Buchholz <martin@xemacs.org>
7444 * make-src-depend (PrintPatternDeps):
7445 Use `sort' to make output independent of perl version.
7447 2001-01-08 Martin Buchholz <martin@xemacs.org>
7450 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7451 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7453 2001-01-03 Didier Verna <didier@xemacs.org>
7455 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7456 that `focus_frame' is alive before thinking of calling
7457 `redisplay_redraw_cursor' on it.
7459 2001-01-08 Martin Buchholz <martin@xemacs.org>
7461 * XEmacs 21.2.40 is released.
7463 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7465 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7467 2001-01-06 Martin Buchholz <martin@xemacs.org>
7469 * alloc.c (dbg_valmask): Make const.
7470 * alloc.c (dbg_typemask): Make const.
7471 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7472 * alloc.c (dbg_valbits): Make const.
7473 * alloc.c (dbg_gctypebits): Make const.
7475 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7477 * redisplay-x.c (x_bevel_area):
7478 redisplay.h (struct rune):
7479 Typo fixes in comments.
7481 2001-01-05 Andy Piper <andy@xemacs.org>
7483 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7486 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7488 2001-01-05 Martin Buchholz <martin@xemacs.org>
7490 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7492 * mule-ccl.c (stack_idx_of_map_multiple):
7493 Non const global data must not be initialized!
7494 Found by MIYASHITA Hisashi.
7496 2001-01-02 Andy Piper <andy@xemacs.org>
7498 * frame.c (change_frame_size): make sure frame size is always
7501 * glyphs.c (image_instance_layout): minor code reuse.
7503 * window.c (Fcurrent_window_configuration): revert previous
7506 2001-01-02 Martin Buchholz <martin@xemacs.org>
7509 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7511 2000-12-31 Andy Piper <andy@xemacs.org>
7513 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7514 when widget gets unmapped.
7516 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7517 function. Make sure widgets losing focus don't just drop it.
7518 (handle_focus_event_1): record the widget with focus.
7520 2000-12-31 Andy Piper <andy@xemacs.org>
7522 * window.c (allocate_window): use
7523 make_image_instance_cache_hash_table.
7524 (make_dummy_parent): ditto.
7525 (Fset_window_configuration): ditto.
7527 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7529 * glyphs.c (process_image_string_instantiator): use
7531 (get_image_instantiator_governing_domain): ditto.
7532 (normalize_image_instantiator): ditto.
7533 (instantiate_image_instantiator): ditto.
7534 (make_image_instance_1): ditto.
7535 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7536 (instantiator_eq_equal): new function for use with instance hash
7538 (instantiator_eq_hash): ditto.
7539 (make_image_instance_cache_hash_table): create a suitable hash
7540 table for storing image instances.
7542 * elhash.h (hash_table_weakness): new internal weakness type
7543 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7544 declare new functions.
7546 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7547 another weakness type for glyphs.
7548 (make_standard_lisp_hash_table): new function split out from
7549 make_general_lisp_hash_table.
7550 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7551 (hash_table_instantiate): ditto.
7552 (Fmake_hash_table): ditto.
7554 2000-12-31 Martin Buchholz <martin@xemacs.org>
7556 * XEmacs 21.2.39 is released.
7558 2000-12-29 Andy Piper <andy@xemacs.org>
7560 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7562 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7563 the frame has changed so that we pick up geometry changes such as
7566 2000-12-28 Andy Piper <andy@xemacs.org>
7568 * lastfile.c (my_ebss): make a char array so we can pad the
7569 bss. Fixes cygwin unexec.
7571 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7573 2000-12-26 Andy Piper <andy@xemacs.org>
7575 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7576 comments and try and be more precise about a non-/SIGIO world.
7577 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7580 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7581 we don't normalize to zero width or height.
7583 2000-12-24 Andy Piper <andy@xemacs.org>
7585 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7587 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7589 * s/sco5.h: SCO 5 has pty support.
7591 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7593 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7594 input-method-xlib.c contains whole contents of input-method-xfs.c,
7595 so we can use input-method-xlib.c's code for USE_XFONTSET
7597 * input-method-xfs.c: removed.
7599 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7601 * file-coding.h (enum coding_category_type): reorder enumerators to
7602 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7603 (now one greater than largest real coding_category_type enumerator).
7604 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7605 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7606 Fcoding_category_list, Fset_coding_priority_list,
7607 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7608 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7610 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7612 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7613 * redisplay-output.c (redisplay_output_window): Clear top of window
7614 when face is changed.
7615 * redisplay-x.c (x_redraw_exposed_window): Call
7616 redisplay_clear_top_of_window.
7617 * redisplay.h: Publish redisplay_clear_top_of_window.
7619 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7621 * buffer.c (Fkill_buffer): Map over all devices.
7622 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7623 (list_windows): New function.
7624 (list_all_windows): Ditto.
7625 (Freplace_buffer_in_windows): Use them.
7627 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7629 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7630 (Fopen_database): Use `db_create' instead of `db_open'.
7631 (syms_of_database): Initialize Qqueue.
7633 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7635 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7636 buffer_local_face_property.
7637 * buffer.h (struct buffer): New member buffer_local_face_property.
7638 * window.c (Fset_window_buffer): Mark window's face as changed
7639 when buffer has buffer local face.
7640 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7641 * objects.c (color_after_change): Set buffer_local_face_property
7642 when locale of face specifier is buffer.
7643 * objects.c (font_after_change): Ditto.
7644 * objects.c (face_boolean_after_change): Ditto.
7645 * glyphs.c (image_after_change): Ditto.
7647 2000-12-09 Dan Holmsand <dan@eyebee.com>
7649 * nt.c (mswindows_fstat): Report file permissions, volume serial
7650 number, etc. Code adapted from FSF Emacs 20.7.
7652 2000-12-09 Dan Holmsand <dan@eyebee.com>
7654 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7655 of stat when we don't have symbolic links, to make sure
7656 mswindows_stat is called on mswindows.
7658 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7660 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7662 2000-12-12 Martin Buchholz <martin@xemacs.org>
7664 * doprnt.c (emacs_doprnt_1): More printing fixes.
7665 Make printing of numbers compatible with libc and FSF Emacs.
7666 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7667 Use the system printf to do most of the hard work of formatting,
7668 instead of doprnt_1().
7669 Calculate memory to allocate for format string.
7670 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7671 (doprnt_1): Cleaner code and documentation.
7673 2000-12-01 Jerry James <james@eecs.ukans.edu>
7675 * Makefile.in.in: Use the loop variable to install headers.
7677 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7679 * window.c (Fsplit_window): Don't invalidate face cache.
7681 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7683 * minibuf.c (Fall_completions): Undo the previous change
7684 which removed checking elements start with space.
7686 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7688 * mule-canna.c: Didier suppression.
7690 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7692 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7693 (warning suppression). Add English comment translations.
7695 2000-12-05 Martin Buchholz <martin@xemacs.org>
7697 * unexelfsgi.c (unexec): Better test for mmap failure.
7699 2000-12-05 Martin Buchholz <martin@xemacs.org>
7701 * XEmacs 21.2.38 is released.
7703 2000-12-05 Martin Buchholz <martin@xemacs.org>
7705 * redisplay.c (bar-cursor): Make a user variable.
7707 * symsinit.h: Add init_postgresql_from_environment.
7709 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7711 * regex.c: Convert to clean C.
7713 2000-12-05 Dan Holmsand <dan@eyebee.com>
7716 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7718 (sys_readlink): renamed to system_readlink to avoid conflict with
7719 the other sys_readlink.
7721 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7723 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7725 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7727 * postgresql.c (init_postgresql_from_environment): new function.
7728 (vars_of_postgresql): Move code initializing Lisp variables out and
7729 into init_postgresql_from_environment.
7730 emacs.c (main_1): Call init_postgresql_from_environment if and only
7731 if running a dumped XEmacs.
7733 2000-08-31 Dan Holmsand <dan@eyebee.com>
7735 * buffer.c: Make find-file-compare-truenames default to true on
7738 * realpath.c (win32_abs_start):
7740 (win32_readlink): New functions.
7741 (xrealpath): Return really real filenames on windows.
7743 * fileio.c (Ffile_truename): Make file-truename work on windows.
7745 2000-11-29 Didier Verna <didier@xemacs.org>
7747 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7748 * faces.c (update_face_cachel_data): use it.
7749 * faces.c (add_face_cachel): use it. Complete background pixmap
7750 frobbing in face cache if `update_face_cachel_data' has not done so.
7752 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7754 * search.c (string_match_1): Don't set last_thing_searched
7757 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7759 * buffer.c: Include casetab.h
7760 (common_init_complex_vars_of_buffer): Use new case-table object.
7761 * buffer.h: Include casetab.h
7762 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7763 (DOWNCASE_TABLE_OF): Ditto.
7764 * bufslots.h: Remove char-tables and add case-table.
7765 * casetab.c: Include casetab.h
7766 (CASE_TABLE_P): Removed.
7767 (mark_case_table): New function.
7768 (allocate_case_table): New function.
7769 (Fcase_table_p): Use new case-table.
7770 (case_table_char): New function.
7771 (Fget_case_table): Ditto.
7772 (Fput_case_table): Ditto.
7773 (Fput_case_table_pair): Ditto.
7774 (Fcopy_case_table): Ditto.
7775 (Fcurrent_case_table): Return case-table.
7776 (Fstandard_case_table): Return case-table.
7777 (Fset_case_table): Fix doc-string.
7778 (set_case_table): Use case-table
7779 (syms_of_casetab): DEFSUBR new functions.
7780 (complex_vars_of_casetab): Set up standard case-table.
7781 * casetab.h: New file.
7782 * editfns.c: Include casetab.h
7783 (Fcompare_buffer_substrings): Use case-table.
7784 * inline.c: Include casetab.h
7785 * lisp.h: Remove bogus extern.
7786 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7787 * search.c: Include casetab.h
7788 (TRANSLATE_ASCII): Removed.
7789 (TRANSLATE): Unconditionally translate character.
7790 (looking_at_1): Use case-table.
7791 (string_match_1): Ditto.
7792 (fast_string_match): Ditto.
7793 (search_command): Ditto.
7794 (search_buffer): Separate boyer_moore. Check whether
7795 boyer_moore is possible.
7796 (simple_search): New function.
7797 (boyer_moore): Separated from search_buffer. Translate char.
7799 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7801 * regex.c (RE_TR_ASCII): Removed.
7802 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7803 (PATFETCH): Call PATFETCH_RAW.
7804 (PATFETCH_RAW): Fetch Emchar.
7805 (PATUNFETCH): Decrement charptr.
7806 (GET_BUFFER_SPACE): Rename b to buf_end.
7808 (BUF_PUSH_2): Ditto.
7809 (BUF_PUSH_3): Ditto.
7810 (EXTEND_BUFFER): Ditto.
7811 (SET_LIST_BIT): Ditto.
7812 (regex_compile): Ditto. Translate non ASCII char.
7813 (compile_range): Ditto.
7814 (re_search_2): Ditto.
7815 (re_match_2_internal): Compare Emchar.
7816 (bcmp_translate): Ditto.
7818 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7820 * lisp.h (basic char/int typedefs): comment improvement.
7822 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7824 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7825 unstomp inhibit_site_lisp. Improve comments.
7827 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7829 * mule-charset.c (Fcharset_property): improve type checking, comments.
7831 2000-11-28 Andy Piper <andy@xemacs.org>
7833 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7834 clipped display for windows in the gutter also.
7835 (redisplay_display_boxes_in_window_p): change semantics of return
7836 codes to be more intuitive.
7838 * gutter.h: declare display_boxes_in_gutter_p.
7840 * gutter.c (display_boxes_in_gutter_p): new function for
7843 2000-11-22 Andy Piper <andy@xemacs.org>
7845 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7848 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7850 * callproc.c (Fold_call_process_internal):
7851 * gpm.c (Freceive_gpm_event):
7852 (tty_get_foreign_selection): Might be just warning supression.
7853 * fileio.c (Fwrite_region_internal):
7854 (Fset_visited_file_modtime):
7855 * keymap.c (event_matches_key_specifier_p):
7856 Initialize GCPROed variable.
7858 * menubar-x.c (command_builder_find_menu_accelerator):
7859 Initialize before use.
7861 2000-11-23 Andy Piper <andy@xemacs.org>
7863 * unexcw.c (unexec): make the resulting executable executable.
7865 2000-11-21 Martin Buchholz <martin@xemacs.org>
7867 * doc.c (get_doc_string):
7868 Use size_t, not int, for result of XSTRING_LENGTH.
7870 * cmds.c (Fdelete_char):
7871 * cmds.c (Fpoint_at_eol):
7872 * cmds.c (Fself_insert_command):
7873 Use EMACS_INT, not int, for result of XINT.
7874 Someday, someone will want to insert more than 2**31 identical characters.
7876 * cmds.c (Fdelete_char):
7877 * cmds.c (Fdelete_backward_char):
7878 * syntax.c (Fforward_word):
7879 * syntax.c (Fforward_comment):
7880 Make COUNT argument optional, for consistency with forward-char et al.
7882 2000-11-22 Martin Buchholz <martin@xemacs.org>
7885 * print.c (long_to_string):
7886 Return a useful value: the pointer at end of data written.
7889 Use `static const char * const' for constant strings.
7890 (union printf_arg): Delete `i', `ui' members.
7893 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7894 Do all printf-ing via the `l' specifier.
7895 Use EMACS_INT instead of int.
7898 2000-11-20 Didier Verna <didier@xemacs.org>
7900 * faces.c (update_face_cachel_data): don't frob the background
7901 pixmap when the window is being created. The face is needed but
7904 2000-11-20 Andy Piper <andy@xemacs.org>
7906 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7907 messing with a debug environment.
7909 2000-11-20 Martin Buchholz <martin@xemacs.org>
7911 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7913 2000-11-20 Martin Buchholz <martin@xemacs.org>
7915 * casetab.c (Fcase_table_p): Fix compile error and crash.
7917 2000-11-18 Philip Aston <philipa@mail.com>
7919 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7921 2000-11-18 Martin Buchholz <martin@xemacs.org>
7923 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7924 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7926 2000-11-17 Martin Buchholz <martin@xemacs.org>
7928 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7929 * unexelf.c: Use HAVE_ELF_H.
7930 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7931 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7932 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7933 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7935 So this is an unexelfsgi.c from a different line of development.
7937 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7939 * regex.c (RE_TR_ASCII): New function.
7940 (RE_TRANSLATE): Call it.
7942 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7944 * buffer.h (TRT_TABLE_OF): Remove assert.
7945 (IN_TRT_TABLE_DOMAIN): Removed.
7947 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
7949 * free-hook.c (log_gcpro):
7950 (show_gcprohist): Add support for GCPRO5.
7952 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
7954 * emacs.c (main_1): Improve -sd error message when --pdump=no.
7956 2000-11-16 Olivier Galibert <galibert@xemacs.org>
7958 * symeval.h: Declare flush_all_buffer_local_cache.
7960 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
7961 (flush_buffer_local_cache): Added.
7962 (flush_all_buffer_local_cache): Added.
7964 * lrecord.h: Remove unused XD_LO_RESET_NIL.
7966 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
7967 (pdump_dump_data): Ditto.
7968 (pdump_reloc_one): Ditto.
7969 (pdump): Remove unused pdump_qnil. Flush buffer local caches
7973 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
7975 * buffer.c: Remove if 0'ed entry.
7976 * buffer.h: Rewrite TRT to use char-table.
7977 * bufslots.h: Remove mirror tables.
7978 * casetab.c: Remove mirror tables.
7979 (CASE_TABLE_P): New macro.
7980 (Fcase_table_p): Element of a case table is string or char-table.
7981 (make_mirror_trt_table): Removed.
7982 (set_case_table): Setup char-table from strings for backward
7984 * dired.c (Fdirectory_files):
7985 * dired-msw.c: (mswindows_get_files):
7986 * lisp.h: Change prototype of re_pattern_buffer.
7987 * regex.c: (RE_TRANSLATE): New macro.
7988 (TRANSLATE_P): Ditto.
7989 Change translate to type RE_TRANSLATE_TYPE.
7990 * regex.h: Define RE_TRANSLATE_TYPE
7991 * search.c (TRANSLATE): New macro.
7992 (TRANSLATE_ASCII): New macro.
7993 Translate table is changed to Lisp_Object.
7994 (signal_failure): Inhibit return.
7996 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8003 Do UNGCPRO before return.
8005 2000-11-14 Martin Buchholz <martin@xemacs.org>
8007 * XEmacs 21.2.37 is released.
8009 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8011 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8012 Add comments about discarded return value.
8014 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8017 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8019 2000-10-27 Andy Piper <andy@xemacs.org>
8021 * gutter.c (Fset_default_gutter_position): default left and right
8023 (calculate_gutter_size): calculate resonable heuristic for left
8024 and right gutter sizes.
8025 (specifier_vars_of_gutter): change left and right gutter sizes to
8027 (calculate_gutter_size_from_display_lines): new function.
8028 (output_gutter): check for resizing on left and right gutters.
8029 (clear_gutter): don't special case top and left gutters.
8030 (specifier_vars_of_gutter): use new signature for
8031 set_specifier_caching.
8033 * glyphs-x.c (x_redisplay_widget): spelling fix.
8034 * glyphs.c (specifier_vars_of_glyphs):
8035 * menubar.c (specifier_vars_of_menubar):
8036 * redisplay.c (specifier_vars_of_redisplay):
8037 * toolbar.c (specifier_vars_of_toolbar):
8038 * window.c (specifier_vars_of_window):
8039 * scrollbar.c (specifier_vars_of_scrollbar):
8040 (complex_vars_of_scrollbar): use new signature for
8041 set_specifier_caching.
8043 * specifier.c (set_specifier_caching): include recompute flag.
8044 (recompute_one_cached_specifier_in_window): always recompute if
8046 (recompute_one_cached_specifier_in_frame): ditto.
8048 * specifier.h (struct specifier_caching): add recompute flag.
8050 2000-10-24 Andy Piper <andy@xemacs.org>
8052 * unexcw.c (copy_executable_and_dump_data_section): add new
8053 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8056 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8058 * console-x.h (x_device): New member modifier_release_time.
8059 * event-Xt.c (x_handle_sticky_modifiers):
8060 Bound interval modifier keys are sticky.
8061 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8062 * events.h: extern it.
8064 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8066 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8068 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8070 * event-stream.c (execute_command_event): Preserve current_events
8071 and the like when event is misc-user-event.
8072 Inhibit quit during the call to maybe_echo_keys.
8074 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8076 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8077 symlink when buffer is killed.
8078 (inhibit_clash_detection): New variable.
8080 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8082 * console.c (Fset_input_method): Trigger redisplay on tty.
8084 2000-11-07 Martin Buchholz <martin@xemacs.org>
8086 * process.c (Fprocess_status): Revert to previous behavior:
8087 (process-status "nosuchprocess") ==> nil
8089 2000-11-06 Martin Buchholz <martin@xemacs.org>
8091 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8092 Work around another GCC 2.95.2 optimizer bug.
8094 2000-11-02 Martin Buchholz <martin@xemacs.org>
8096 * process.c (Fget_process): Use LIST_LOOP_2.
8097 (kill_buffer_processes): Use LIST_LOOP_2.
8099 * minibuf.c (Fall_completions):
8100 Delete old non-functional code for FSF fourth argument.
8102 * frame.c (frame_matches_frame_spec):
8103 Renamed from `frame_matches_frametype'. Update all callers.
8104 (device_matches_device_spec):
8105 Renamed from 'device_matches_console_spec'. Update all callers.
8107 * doc.c (Fsubstitute_command_keys):
8108 Remove buffer overflow crash. Small code cleanups.
8110 * casetab.c (check_case_table): Simpler code.
8112 * window.c (Freplace_buffer_in_windows):
8113 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8114 (and similar implementation) as Fdelete_windows_on.
8117 * alloc.c (Fmake_list):
8118 * alloc.c (make_vector):
8119 * alloc.c (Fmake_vector):
8120 * alloc.c (make_bit_vector):
8121 * alloc.c (Fmake_bit_vector):
8122 * alloc.c (Fbit_vector):
8123 * alloc.c (Fmake_string):
8124 * alloc.c (Fpurecopy):
8125 * alloc.c (Fmemory_limit):
8127 * buffer.c (Fget_buffer):
8128 * buffer.c (Fkill_buffer):
8129 * buffer.c (complex_vars_of_buffer):
8130 * bytecode.c (Fcompiled_function_stack_depth):
8131 * callint.c (Fprefix_numeric_value):
8133 * event-stream.c (Fread_key_sequence):
8135 * casetab.c (Fcase_table_p):
8136 * casetab.c (check_case_table):
8137 * casetab.c (Fset_case_table):
8138 * casetab.c (Fset_standard_case_table):
8140 * chartab.c (Fchar_table_type):
8141 * chartab.c (Freset_char_table):
8142 * chartab.c (Fget_char_table):
8143 * chartab.c (Fget_range_char_table):
8144 * chartab.c (Fput_char_table):
8145 * chartab.c (Fmap_char_table):
8146 * chartab.c (Fcategory_table_p):
8147 * chartab.c (Fcheck_category_at):
8148 * chartab.c (Fchar_in_category_p):
8149 * chartab.c (Fcategory_table):
8150 * chartab.c (Fcopy_category_table):
8151 * chartab.c (Fset_category_table):
8152 * chartab.c (Fcategory_designator_p):
8153 * chartab.c (Fcategory_table_value_p):
8154 * cmds.c (Fdelete_char):
8155 * cmds.c (Fdelete_backward_char):
8156 * cmds.c (Fself_insert_command):
8157 * cmds.c (Fself_insert_internal):
8158 * console.c (Fvalid_console_type_p):
8159 * console.c (Fcdfw_console):
8160 * console.c (Fconsole_type):
8161 * console.c (Fconsole_name):
8162 * console.c (Fconsole_device_list):
8163 * console.c (Fconsole_on_window_system_p):
8167 * data.c (Fsubr_interactive):
8168 * data.c (Fchar_to_int):
8169 * data.c (Fint_to_char):
8172 * data.c (Fnumber_to_string):
8173 * data.c (Fstring_to_number):
8175 * database.c (mark_database):
8176 * database.c (finalize_database):
8177 * database.c (Fdatabase_live_p):
8178 * database.c (Fdatabasep):
8179 * device-x.c (Fx_get_resource):
8180 * device.c (Fdfw_device):
8182 * dired.c (Ffile_name_completion):
8183 * dired.c (Ffile_name_all_completions):
8184 * dired.c (Fuser_name_completion):
8185 * dired.c (Fuser_name_completion_1):
8186 * dired.c (Fuser_name_all_completions):
8187 * doc.c (Fdocumentation):
8188 * doc.c (Fdocumentation_property):
8189 * doc.c (Fsubstitute_command_keys):
8191 * editfns.c (Fchar_to_string):
8192 * editfns.c (Fstring_to_char):
8193 * editfns.c (Ftemp_directory):
8194 * editfns.c (Finsert_char):
8195 * editfns.c (Fbuffer_substring_no_properties):
8196 * editfns.c (Fnarrow_to_region):
8197 * editfns.c (Fchar_equal):
8198 * editfns.c (Fchar_Equal):
8199 * editfns.c (Ftranspose_regions):
8200 * emacs.c (Fdump_emacs):
8202 * eval.c (Fcommand_execute):
8203 * eval.c (Fautoload):
8204 * eval.c (Fbacktrace):
8205 * eval.c (Fbacktrace_frame):
8207 * events.c (Fcopy_event):
8208 * events.c (Fcharacter_to_event):
8209 * events.c (Fevent_button):
8210 * events.c (Fevent_process):
8212 * extents.c (Fnext_extent_change):
8213 * extents.c (Fextent_property):
8215 * faces.c (Fmake_face):
8217 * file-coding.c (Fencode_shift_jis_char):
8218 * file-coding.c (Fencode_big5_char):
8219 * fileio.c (Ffile_name_directory):
8220 * fileio.c (Ffile_name_nondirectory):
8221 * fileio.c (Ffile_name_as_directory):
8222 * fileio.c (Fdirectory_file_name):
8223 * fileio.c (Ffile_truename):
8224 * fileio.c (Fsubstitute_in_file_name):
8225 * fileio.c (Ffile_modes):
8226 * fileio.c (Fset_file_modes):
8227 * fileio.c (Fset_default_file_modes):
8228 * fileio.c (Fverify_visited_file_modtime):
8229 * floatfns.c (Facos):
8230 * floatfns.c (Fasin):
8231 * floatfns.c (Fatan):
8232 * floatfns.c (Fcos):
8233 * floatfns.c (Fsin):
8234 * floatfns.c (Ftan):
8235 * floatfns.c (Fbessel_j0):
8236 * floatfns.c (Fbessel_j1):
8237 * floatfns.c (Fbessel_jn):
8238 * floatfns.c (Fbessel_y0):
8239 * floatfns.c (Fbessel_y1):
8240 * floatfns.c (Fbessel_yn):
8241 * floatfns.c (Ferf):
8242 * floatfns.c (Ferfc):
8243 * floatfns.c (Flog_gamma):
8244 * floatfns.c (Fexp):
8245 * floatfns.c (Fexpt):
8246 * floatfns.c (Flog):
8247 * floatfns.c (Flog10):
8248 * floatfns.c (Fsqrt):
8249 * floatfns.c (Fcube_root):
8250 * floatfns.c (Facosh):
8251 * floatfns.c (Fasinh):
8252 * floatfns.c (Fatanh):
8253 * floatfns.c (Fcosh):
8254 * floatfns.c (Fsinh):
8255 * floatfns.c (Ftanh):
8256 * floatfns.c (Fabs):
8257 * floatfns.c (Ffloat):
8258 * floatfns.c (Flogb):
8259 * floatfns.c (Fceiling):
8260 * floatfns.c (Ffloor):
8261 * floatfns.c (Fround):
8262 * floatfns.c (Ftruncate):
8263 * floatfns.c (Ffceiling):
8264 * floatfns.c (Fffloor):
8265 * floatfns.c (Ffround):
8266 * floatfns.c (Fftruncate):
8267 * fns.c (Fstring_equal):
8268 * fns.c (Fstring_lessp):
8273 * fns.c (Fsubstring):
8275 * fns.c (Fold_assoc):
8276 * fns.c (assoc_no_quit):
8278 * fns.c (Fold_assq):
8279 * fns.c (assq_no_quit):
8281 * fns.c (Fold_rassoc):
8283 * fns.c (Fold_rassq):
8284 * fns.c (rassq_no_quit):
8285 * fns.c (Fremassoc):
8286 * fns.c (remassoc_no_quit):
8288 * fns.c (remassq_no_quit):
8289 * fns.c (Fremrassoc):
8290 * fns.c (Fremrassq):
8291 * fns.c (remrassq_no_quit):
8293 * fns.c (Fplist_get):
8294 * fns.c (Fplist_put):
8295 * fns.c (Fplist_remprop):
8296 * fns.c (Fplist_member):
8297 * fns.c (Flax_plist_get):
8298 * fns.c (Flax_plist_put):
8299 * fns.c (Flax_plist_remprop):
8300 * fns.c (Flax_plist_member):
8302 * fns.c (Fold_equal):
8304 * fns.c (Fbase64_encode_region):
8305 * fns.c (Fbase64_encode_string):
8306 * fns.c (Fbase64_decode_region):
8308 * frame.c (frame_matches_frame_spec):
8309 * frame.c (device_matches_device_spec):
8310 * frame.c (next_frame):
8311 * frame.c (previous_frame):
8312 * frame.c (Fnext_frame):
8313 * frame.c (Fprevious_frame):
8314 * frame.c (Fframe_property):
8315 * frame.c (Fset_frame_height):
8316 * frame.c (Fset_frame_size):
8320 * glyphs.c (decode_error_behavior_flag):
8321 * glyphs.c (Fmake_image_instance):
8322 * indent.c (Findent_to):
8323 * intl.c (Fignore_defer_gettext):
8324 * keymap.c (Fkeymapp):
8325 * keymap.c (Flookup_key):
8327 * lread.c (Fload_internal):
8328 * lread.c (Feval_buffer):
8329 * lread.c (Feval_region):
8330 * macros.c (Fexecute_kbd_macro):
8331 * marker.c (set_marker_internal):
8332 * marker.c (Fset_marker):
8333 * marker.c (set_marker_restricted):
8334 * marker.c (Fcopy_marker):
8335 * marker.c (noseeum_copy_marker):
8337 * menubar.c (Fpopup_menu):
8339 * mule-charset.c (Fcharset_name):
8340 * mule-charset.c (Fchar_charset):
8341 * mule-charset.c (Fchar_octet):
8342 * mule-charset.c (Fsplit_char):
8343 * mule-wnnfns.c (Fwnn_open):
8344 * mule-wnnfns.c (Fwnn_dict_comment):
8345 * mule-wnnfns.c (Fwnn_quit_henkan):
8346 * mule-wnnfns.c (Fwnn_word_toroku):
8347 * mule-wnnfns.c (Fwnn_word_sakujo):
8348 * mule-wnnfns.c (Fwnn_word_use):
8349 * mule-wnnfns.c (Fwnn_hindo_set):
8351 * objects.c (Fmake_color_instance):
8352 * objects.c (Fmake_font_instance):
8353 * print.c (Fwrite_char):
8355 * process.c (mark_process):
8356 * process.c (print_process):
8357 * process.c (get_process_from_usid):
8358 * process.c (Fprocessp):
8359 * process.c (Fprocess_live_p):
8360 * process.c (Fget_process):
8361 * process.c (Fget_buffer_process):
8362 * process.c (get_process):
8363 * process.c (Fprocess_id):
8364 * process.c (Fprocess_name):
8365 * process.c (Fprocess_command):
8366 * process.c (init_process_io_handles):
8367 * process.c (start_process_unwind):
8368 * process.c (Fstart_process_internal):
8369 * process.c (Fopen_multicast_group_internal):
8370 * process.c (Fset_process_window_size):
8371 * process.c (read_process_output):
8372 * process.c (send_process):
8373 * process.c (Fprocess_tty_name):
8374 * process.c (Fset_process_buffer):
8375 * process.c (Fprocess_buffer):
8376 * process.c (Fprocess_mark):
8377 * process.c (set_process_filter):
8378 * process.c (Fset_process_filter):
8379 * process.c (Fprocess_filter):
8380 * process.c (Fprocess_send_region):
8381 * process.c (Fprocess_send_string):
8382 * process.c (exec_sentinel):
8383 * process.c (Fset_process_sentinel):
8384 * process.c (Fprocess_sentinel):
8385 * process.c (status_notify):
8386 * process.c (Fprocess_status):
8387 * process.c (Fprocess_exit_status):
8388 * process.c (process_send_signal):
8389 * process.c (Fprocess_send_eof):
8390 * process.c (deactivate_process):
8391 * process.c (remove_process):
8392 * process.c (Fdelete_process):
8393 * process.c (kill_buffer_processes):
8394 * process.c (Fprocess_kill_without_query):
8395 * process.c (Fprocess_kill_without_query_p):
8397 * rangetab.c (Fget_range_table):
8398 * rangetab.c (Fput_range_table):
8399 * rangetab.c (Fremove_range_table):
8400 * rangetab.c (Fclear_range_table):
8402 * search.c (Fskip_chars_forward):
8403 * search.c (Fskip_chars_backward):
8404 * search.c (Fskip_syntax_forward):
8405 * search.c (Fskip_syntax_backward):
8406 * search.c (search_command):
8407 * search.c (Freplace_match):
8408 * search.c (Fregexp_quote):
8409 * select.c (Fown_selection_internal):
8410 * select.c (Fselection_owner_p):
8411 * select.c (Fselection_exists_p):
8412 * select.c (Fget_selection_internal):
8415 * symbols.c (Fintern):
8416 * symbols.c (Fintern_soft):
8417 * symbols.c (Funintern):
8418 * symbols.c (Fapropos_internal):
8419 * symbols.c (Fset_default):
8421 * syntax.c (Fsyntax_table_p):
8422 * syntax.c (Fcopy_syntax_table):
8423 * syntax.c (Fset_syntax_table):
8424 * syntax.c (Fchar_syntax):
8425 * syntax.c (syntax_match):
8426 * syntax.c (Fmatching_paren):
8427 * syntax.c (Fforward_word):
8428 * syntax.c (scan_lists):
8429 * syntax.c (Fscan_lists):
8430 * syntax.c (Fscan_sexps):
8431 * syntax.c (Fparse_partial_sexp):
8432 * toolbar.c (Fcheck_toolbar_button_syntax):
8435 * window.c (Fwindowp):
8436 * window.c (Fwindow_live_p):
8437 * window.c (Fwindow_point):
8438 * window.c (Fdelete_window):
8439 * window.c (Fnext_window):
8440 * window.c (Fprevious_window):
8441 * window.c (Fother_window):
8442 * window.c (window_loop):
8443 * window.c (Fget_lru_window):
8444 * window.c (Fsplit_window):
8445 * window.c (Fenlarge_window):
8446 * window.c (Fenlarge_window_pixels):
8447 * window.c (Fshrink_window):
8448 * window.c (Fshrink_window_pixels):
8449 * window.c (change_window_height):
8450 * window.c (Fwindow_configuration_p):
8451 * window.c (Fcurrent_window_configuration):
8453 * casefiddle.c (casify_object):
8454 * casefiddle.c (Fupcase):
8455 * casefiddle.c (Fdowncase):
8456 * casefiddle.c (Fcapitalize):
8457 * casefiddle.c (Fupcase_initials):
8458 * casefiddle.c (casify_region_internal):
8459 * casefiddle.c (casify_region):
8460 * casefiddle.c (Fupcase_region):
8461 * casefiddle.c (Fdowncase_region):
8462 * casefiddle.c (Fcapitalize_region):
8463 * casefiddle.c (Fupcase_initials_region):
8464 * casefiddle.c (Fupcase_word):
8465 * casefiddle.c (Fdowncase_word):
8466 * casefiddle.c (Fcapitalize_word):
8467 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8468 Replace 0 with '\0' when working with bytes.
8469 Replace initial "(" with "\(" in docstrings.
8471 2000-11-01 Martin Buchholz <martin@xemacs.org>
8473 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8475 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8477 2000-10-31 Martin Buchholz <martin@xemacs.org>
8479 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8481 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8483 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8486 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8488 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8489 (inhibit_auto_save_session): New variable.
8490 (vars_of_fileio): Declare and initialize them.
8491 * fileio.c (Fdo_auto_save): Don't create session file if
8492 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8494 2000-10-31 Martin Buchholz <martin@xemacs.org>
8496 * sgiplay.c (play_internal): C++ compilability.
8497 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8498 * callproc.c (Fold_call_process_internal):
8499 Remove unused vars `env', `first'.
8500 * scrollbar.c (update_scrollbar_instance):
8501 #### unused var `current_window'.
8502 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8503 etc. within #ifdef NOT_YET.
8504 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8505 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8506 * specifier.c (specifier_instance):
8507 #### unused var `tag'.
8508 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8510 2000-10-27 Martin Buchholz <martin@xemacs.org>
8513 * fns.c (list_sort):
8514 * fns.c (Ffillarray):
8515 * fns.c (bytecode_nconc2):
8518 * fns.c (Fmapconcat):
8519 Be pedantically 64-bit correct. For the time when someone will
8520 want to have a list with length > 2**32.
8522 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8523 Work around MIPSpro compiler bug.
8525 * process-unix.c (unix_kill_child_process): Add snarky comment.
8526 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8528 * config.h.in: Oops, _getpt ==> _getpty
8530 2000-10-26 Martin Buchholz <martin@xemacs.org>
8534 Use void*, not char*, as return type of alloca().
8536 * alloc.c (free_marker): Side effect inside assert expression!
8538 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8540 * mule-charset.c (Fset_charset_ccl_program): To check
8541 if the given ccl program is valid, use setup_ccl_program()
8542 instead of CHECK_VECTOR().
8543 (Fmake_charset): Likewise.
8545 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8547 * faces.c (get_extent_fragment_face_cache_index):
8548 Fix cachel.merged_faces memory leak.
8550 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8552 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8553 Reset MSB of octets obtained by DECODE_SJIS
8554 because of the incompatibility with Emacs.
8555 (ccl_driver)<CCL_ENCODE_SJIS>:
8556 Set MSB of octets before passing them to
8557 ENCODE_SJIS because of the incompatibility
8560 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8562 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8563 (DECLARE_LRECORD): Undo the last change.
8564 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8566 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8568 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8569 the implementation to lrecord_implementations_table.
8571 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8573 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8574 initial value of `lrecord_type_##c_name' and
8575 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8576 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8577 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8578 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8579 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8581 2000-10-17 Martin Buchholz <martin@xemacs.org>
8583 * miscplay.c (sndcnv8S_2mono):
8584 (sndcnv2monounsigned):
8585 (sndcnvULaw_2linear):
8587 Remove implementation-defined behavior.
8589 2000-10-12 Martin Buchholz <martin@xemacs.org>
8591 * input-method-xlib.c: Warning suppression.
8593 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8595 * mule-ccl.c: Sync up with Emacs 21.0.90.
8596 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8598 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8600 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8601 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8602 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8603 leading char belongs to official 2-dimensional charset.
8604 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8605 write the given character as is. Otherwise,
8606 if it is a multibyte char, convert it by
8607 non_ascii_set_charptr_emchar, then write it.
8608 (CCL_WRITE_STRING): Likewise.
8609 (ccl_get_compiled_code): New function.
8610 (setup_ccl_program): When ccl_prog is invalid,
8612 (Fregister_code_conversion_map): New function.
8613 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8615 * mule-ccl.h: Sync up with Emacs 21.0.90.
8616 (Fregister_ccl_program): export it.
8618 * redisplay-msw.c (separate_textual_runs):
8619 If ccl program is not valid, don't do ccl conversion.
8621 * redisplay-x.c (separate_textual_runs): Ditto.
8623 * file-coding.c (Fmake_coding_system):
8624 When type is ccl and value is vector, register it
8625 with a proper symbol. And checks whether the
8626 given ccl program is valid.
8627 (mule_decode): When calling ccl_driver, if src indicates
8628 NULL pointer, set an empty string instead.
8629 (mule_encode): Likewise.
8631 2000-10-11 Martin Buchholz <martin@xemacs.org>
8633 The following large batch of changes gets us back to a state of
8634 C++ compilability. Extbyte is now a char, which means that
8635 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8637 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8639 * sound.c (Fplay_sound): Type correctness.
8641 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8642 (x_get_window_property): Type correctness.
8643 (receive_incremental_selection): unsigned char ==> Extbyte
8644 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8645 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8646 (Fx_store_cutbuffer_internal): Type correctness.
8648 * process-unix.c (try_to_initialize_subtty): Type correctness.
8650 * objects-x.c (x_print_color_instance): Type correctness.
8651 (x_print_font_instance): Type correctness.
8652 (x_list_fonts): SExtbyte ==> Extbyte.
8653 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8654 (x_find_charset_font): SExtbyte ==> Extbyte.
8655 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8656 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8657 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8660 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8661 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8662 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8663 (BYTE_C0_P): Use bit ops for char-signedness safety.
8664 (BYTE_C1_P): Use bit ops for char-signedness safety.
8665 (CHARSET_BY_LEADING_BYTE):
8666 (CHARSET_BY_ATTRIBUTES):
8667 Always use inline function.
8668 Use type_checking_assert.
8671 * mule-charset.c (non_ascii_charptr_copy_char):
8672 Modify to work with both ASCII and non-ASCII characters.
8673 Improve docs and variable names.
8674 Replace over-clever fall-through switch with a simple loop.
8675 (Lstream_get_emchar_1):
8676 Replace over-clever fall-through switch with a simple loop.
8678 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8679 Warning suppression.
8681 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8682 the return value of Lstream_getc, which could be EOF as well.
8684 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8686 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8687 APIs can be used on Extbytes without casts. Risky!
8691 * input-method-xlib.c (XIM_init_device):
8692 Use Xlib.h instead of IntrinsicP.h.
8693 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8694 which will break in X11R7.
8695 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8696 to call XRegisterIMInstantiateCallback with correct types.
8698 * gui-x.c (button_item_to_widget_value): Type correctness.
8700 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8702 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8703 (xbm_instantiate_1): Type correctness.
8704 (BUILD_GLYPH_INST): Type correctness.
8706 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8709 (decode_coding_sjis):
8710 (decode_coding_big5):
8711 (decode_coding_ucs4):
8712 (decode_coding_utf8):
8713 (decode_coding_iso2022):
8714 (decode_coding_no_conversion):
8715 Make all decoding functions take an Extbyte * arg.
8716 (encode_coding_sjis):
8717 (encode_coding_big5):
8718 (encode_coding_ucs4):
8719 (encode_coding_utf8):
8720 (encode_coding_iso2022):
8721 (encode_coding_no_conversion):
8722 Make all encoding functions take a Bufbyte * arg.
8723 Use size_t instead of unsigned int for memory sizes.
8724 Only cast to unsigned char whenever dereferencing Extbyte *.
8726 * doc.c (unparesseuxify_doc_string): Type correctness.
8728 * console-x.c (split_up_display_spec):
8729 Rewrite without using details of internal string representation.
8730 (x_semi_canonicalize_device_connection): Type correctness.
8733 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8734 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8735 (HAVE_XFREE386): Removed.
8737 * buffer.h (DEC_CHARPTR): `const' correctness.
8738 (bufbyte_strcmp): New.
8739 (bufbyte_memcmp): New.
8741 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8743 * buffer.h (XCHAR_OR_CHAR_INT):
8744 Always use inline function.
8745 Remove redundant type checking assert() - XINT will abort quite nicely.
8747 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8749 * search.c (Freplace_match): Set newtext to an empty string.
8751 2000-10-10 Martin Buchholz <martin@xemacs.org>
8753 * s/decosf1-3.h: Remove #include of stropts.h
8754 * s/ptx.h: Remove #include of stropts.h
8755 * s/usg5-4.h: Remove #include of stropts.h
8758 Use stropts.h, not sys/stropts.h.
8759 Use strtio.h, not sys/strtio.h.
8761 2000-10-04 Martin Buchholz <martin@xemacs.org>
8763 * XEmacs 21.2.36 is released.
8765 2000-09-21 Andy Piper <andy@xemacs.org>
8767 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8768 changes still involve copying the widget tree.
8769 (update_widget_face): make sure a change is register in the widget
8770 tree. Call update_tab_widget_face appropriately.
8771 (update_tab_widget_face): ditto.
8772 (x_tab_control_redisplay): make sure non-structural changes still
8773 involve copying the widget tree.
8775 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8777 * lread.c (locate_file): Check the path element is non-nil.
8779 2000-10-02 Martin Buchholz <martin@xemacs.org>
8781 * lisp.h: Warning suppression for SCO compilers.
8783 * redisplay-tty.c (reset_tty_modes): Fix crash.
8784 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8786 2000-09-27 Martin Buchholz <martin@xemacs.org>
8788 Big signal/process handling overhaul. Bugs fixed:
8789 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8790 M-x comint-kill-subjob should work for both values nil and t of
8791 process-connection-type. It was broken on most platforms.
8792 Testing on Irix and Cygwin still needed. Other plaforms tested.
8793 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8794 * process-unix.c: Signal/Process handling overhaul.
8795 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8796 (allocate_pty): Use all available modern methods of allocating
8797 ptys, falling back to old style BSD allocation as a last resort.
8798 Use allegedly more secure Unix98 pty allocation by default.
8799 (allocate_pty_the_old_fashioned_way): New. the last resort.
8800 (unix_create_process): Push ptem, ldterm, ttcompat where
8801 available. Autoconfiscate.
8802 (try_to_initialize_subtty): New.
8803 (unix_kill_child_process): Proper signal handling for ptys on most
8804 platforms, using special knowledge of AIX, BSD, etc...
8805 (unix_create_process): Always disconnect_controlling_terminal() for
8806 subprocesses, whether using ptys or not.
8807 * process.h: Remove old getpt-dependent PTY code.
8808 * process.c (Fprocess_send_signal): New, obvious generic function.
8809 (decode_signal): New.
8810 (Finterrupt_process):
8814 (Fcontinue_process):
8815 (Fsignal_process): Use decode_signal.
8816 (process_send_signal):
8817 Many docstring corrections.
8818 Allow any signal to be sent to a process object.
8819 * config.h.in: Add symbols for big signal/process overhaul.
8820 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8821 * sysproc.h: Include process-related headers, where available:
8822 sys/stropts.h sys/strtio.h pty.h libutil.h
8830 Remove old S&M pty stuff.
8831 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8832 * systty.h: Simplify cpp hackery, improve comments.
8833 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8835 * editfns.c (Fformat_time_string):
8836 Be a little more paranoid with the return value of ctime.
8838 * fileio.c (check_executable):
8840 Use symbolic constants X_OK, W_OK.
8842 * console-x.c (split_up_display_spec): Fix a warning.
8844 2000-10-02 Martin Buchholz <martin@xemacs.org>
8846 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8847 * ntproc.c (sys_spawnve): make_string ==> build_string
8848 Small clarity improvements.
8850 2000-09-30 Martin Buchholz <martin@xemacs.org>
8852 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8854 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8856 * config.h.in (HAVE_STRCASECMP): Remove.
8858 2000-09-29 Martin Buchholz <martin@xemacs.org>
8860 * redisplay-output.c (redisplay_output_pixmap):
8861 Cleaner and possibly more 64-bit correct code.
8863 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8865 * dumper.c (pdump_load_finish): move restoration of
8866 `noninteractive1' to emacs.c (main_1).
8867 * emacs.c (main_1): protect LISP-visible command-line flags
8870 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8872 * Makefile.in.in (versionclean): Use EXE_TARGET and
8873 DUMP_TARGET instead of literal program names.
8875 2000-09-20 Martin Buchholz <martin@xemacs.org>
8877 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8879 2000-09-19 Martin Buchholz <martin@xemacs.org>
8881 * *: Spelling mega-patch
8883 2000-09-19 Martin Buchholz <martin@xemacs.org>
8885 * fns.c (bad_bad_turtle):
8886 Delete "Eek!" comment, since we fixed the bug to which it refers.
8888 2000-09-16 Martin Buchholz <martin@xemacs.org>
8890 * alloca.c: Replace REGISTER with register.
8892 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8894 * file-coding.c (ucs_to_char): Use countof.
8896 2000-09-16 Martin Buchholz <martin@xemacs.org>
8898 * file-coding.c: (ucs_to_char):
8899 (complex_vars_of_file_coding):
8900 Use countof instead of sizeof.
8901 Use CHECK_NATNUM instead of CHECK_INT.
8903 * sysdep.c (strcasecmp): Remove.
8904 * device-x.c (ascii_strcasecmp): New.
8905 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8906 Avoid using non-standard non-portable strcasecmp.
8908 2000-09-16 Martin Buchholz <martin@xemacs.org>
8910 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8911 * font-lock.c: remove reference to emacsfns.h.
8912 * search.c: small doc improvement.
8913 * event-Xt.c: correct file names in comments.
8914 * console-x.h Correct file names in comments.
8915 * frame.c: Correct file names in comments.
8916 * event-stream.c: remove Energize from comments.
8918 2000-09-15 Martin Buchholz <martin@xemacs.org>
8920 * symeval.h (DEFERROR_STANDARD):
8923 (DEFSYMBOL_NO_DUMP):
8924 (DEFSYMBOL_MULTIWORD_PREDICATE):
8925 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8927 The construct &##name is not sensible C.
8928 Fixes compilation errors with Unixware native compiler.
8930 2000-09-14 Martin Buchholz <martin@xemacs.org>
8932 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8933 (next_frame_internal): Removed. We now just have next_frame.
8935 Write a simpler and cleaner one-pass algorithm.
8936 Remove called_from_delete_device arg and #ifdefed-out code.
8938 Renamed from prev_frame. Update callers.
8939 Cleaned up to have an analogous implementation to next_frame.
8940 (other_visible_frames_internal): Remove the
8941 called_from_delete_device bogus arg, and hence, remove this
8942 function. Just use other_visible_frames().
8944 * window.c (Fnext_window):
8946 Since next_frame() is guaranteed to return a frame, remove check
8947 for nil inserted in previous patch.
8950 Make code look more like Fnext_window.
8952 Respect the `console' arg when iterating through windows.
8953 Fixes bug: (get-buffer-window buffer t device) not respecting
8955 This function needs more work, as others have pointed out.
8957 * frame.h: Rename prev_frame to previous_frame.
8958 device_matches_console_spec no longer takes a `frame' arg.
8963 Use EMACS_BLOCK_SIGNAL instead of sigblock.
8964 From "Golubev I. N." <gin@mo.msk.ru>.
8966 * make-src-depend: Fix typo.
8968 2000-09-13 Martin Buchholz <martin@xemacs.org>
8970 * window.c (Fnext_window):
8971 next_frame() might return nil, not a frame.
8973 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8975 * frame.c (next_frame_internal):
8976 We've passed a frame if we've passed its device.
8978 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
8979 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
8981 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
8983 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
8984 Allow option to suppress accelerators in menu/dialog items.
8985 (populate_or_checksum_helper): Pass dialog title through above.
8987 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
8989 * event-msw.c (mswindows_key_to_emacs_keysym):
8990 Add "pause" key, fix "menu" key.
8992 2000-09-09 Martin Buchholz <martin@xemacs.org>
8994 * eval.c (reinit_vars_of_eval):
8995 Increase max_lisp_eval_depth to 1000,
8996 required for thai-xtis.el to byte-compile under some circumstances.
8998 2000-09-04 Martin Buchholz <martin@xemacs.org>
9000 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9003 2000-09-01 Martin Buchholz <martin@xemacs.org>
9005 * make-src-depend: Make the generated Makefiles smaller.
9007 * s/hpux.h (SETUP_SLAVE_PTY):
9008 Provide a %d in the format string for the errno argument.
9010 * editfns.c (Ftemp_directory):
9012 Avoid buffer overrun on very long file name.
9014 * input-method-xlib.c (XIM_init_device):
9015 6th parameter of XRegisterIMInstantiateCallback has different
9016 pointer types on different OSes, so simply cast to (void *).
9018 * unexhp9k800.c: Warning fixes. Fiddly changes.
9020 * sysdll.c (dll_open):
9021 shl_load will hang hard if passed a NULL filename.
9022 Simply return NULL for compatibility with dlopen.
9023 * sysdll.c: Conform to XEmacs coding standards.
9025 * sysdep.c (get_pty_max_bytes):
9026 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9028 2000-08-31 Martin Buchholz <martin@xemacs.org>
9030 * tooltalk.c: Add #include <syssignal.h>
9032 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9034 * s/hpux.h: Don't use undefined function sigunblock().
9036 2000-08-31 Martin Buchholz <martin@xemacs.org>
9038 * config.h.in: Add HAVE_BALLOON_HELP.
9039 * emacs.c: Use HAVE_BALLOON_HELP.
9040 * Makefile.in.in (x_objs):
9041 Make Balloon Help conditional on finding shape.h.
9043 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9045 * syntax.c (regex_emacs_buffer_p): New variable.
9046 * syntax.h (regex_emacs_buffer_p): extern.
9047 * search.c (looking_at_1):
9049 (fast_string_match):
9050 (search_buffer): Set regex_emacs_buffer_p.
9051 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9052 when before_dot, at_dot, after_dot.
9054 2000-08-23 Andy Piper <andy@xemacs.org>
9056 * gui-x.c (popup_selection_callback): Only set action_occurred
9057 when we really have an image instance.
9058 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9060 2000-08-23 Andy Piper <andy@xemacs.org>
9062 * gui-msw.c (mswindows_handle_gui_wm_command): set
9064 * gui-x.c (popup_selection_callback): ditto.
9066 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9067 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9068 (struct Lisp_Image_Instance): add action_occurred flag.
9070 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9071 (image_instance_changed): ditto.
9072 (reset_frame_subwindow_instance_cache): only unmap windows - do
9073 not remove them from the cache also.
9075 * glyphs-widget.c (tab_control_update): better debug.
9076 (progress_gauge_update): ditto.
9077 (layout_update): ditto.
9078 (layout_instantiate): ditto.
9079 (tab_control_order_only_changed): cope with null pending items.
9081 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9082 debug. Force selection of an item when an action occurred. Cope
9083 with null pending_items.
9084 (mswindows_progress_gauge_redisplay): better debug.
9085 * glyphs-x.c (x_tab_control_redisplay): ditto.
9087 * redisplay.c (redisplay_frame): reset the frame cache if the
9090 * window.c (Fset_window_configuration): potentially re-enable
9092 (window_unmap_subwindows): need to finalize instances here since
9093 it is only used in mark_window_as_deleted.
9095 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9097 * nas.c (SndOpenDataForReading):
9098 nas.c (WaveOpenDataForReading):
9099 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9100 Somehow escaped from the 2000-08-14 patch.
9102 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9104 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9105 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9107 2000-08-21 Andy Piper <andy@xemacs.org>
9109 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9110 window if it is not already displayed.
9112 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9113 it is not already displayed.
9115 * window.c (Fset_window_configuration): don't reset the frame
9118 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9119 instances from the frame cache if we are actually finalizing them.
9120 (reset_frame_subwindow_instance_cache): reset frame cache only
9121 after unmapping everything.
9122 (map_subwindow): set displayed flag after mapping.
9124 2000-08-21 Martin Buchholz <martin@xemacs.org>
9126 * data.c (indirect_function):
9127 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9129 * eval.c (function_argcount):
9130 Use original function when signaling errors.
9132 2000-08-18 Andy Piper <andy@xemacs.org>
9134 * frame.c (delete_frame_internal): use new
9135 free_frame_subwindow_instances name.
9137 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9138 (add_tab_item): make return type correct.
9139 (mswindows_tab_control_instantiate): assert index of tab.
9140 (mswindows_tab_control_redisplay): Re-code to use
9141 gui_item_equal_sans_selected and gui_item_list_find_selected.
9143 * glyphs-widget.c (tab_control_update): Correct comment.
9145 * window.c (window_unmap_subwindows): use new
9146 unmap_subwindow_instance_cache_mapper.
9147 (window_unmap_subwindows_cache_mapper): deleted.
9148 (Fset_window_configuration): comparisons should now be with
9149 EQ. Preserve the subwindow instance cache across configuration
9151 (allocate_window): ditto.
9152 (make_dummy_parent): ditto.
9154 * glyphs.c (free_frame_subwindow_instances): rename from
9155 free_frame_subwindow_instance_cache. finalize all instances rather
9156 than just those in the display cache.
9157 (finalize_all_subwindow_instances): walk windows unmapping and
9158 finalizing subwindows.
9159 (unmap_subwindow_instance_cache_mapper): moved from
9160 window.c. Allow finalization as well as unmapping.
9162 * gui.c (gui_item_list_find_selected): new function.
9164 * gui.h (gui_item_list_find_selected): declare.
9166 * glyphs-x.c (x_tab_control_redisplay): pick tab
9167 explicitly. Re-code to use gui_item_equal_sans_selected and
9168 gui_item_list_find_selected.
9170 * glyphs-x.h: add lwlib-utils.h
9172 * buffer.c (Frecord_buffer): undo previous change.
9174 2000-08-09 Vin Shelton <acs@xemacs.org>
9176 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9177 possible. Create temporary files more securely. The patch was
9178 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9179 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9180 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9183 2000-08-07 Ben Wing <ben@xemacs.org>
9185 * getloadavg.c: remove duplicate (and windows-breaking)
9186 includes of fcntl.h and sys/file.h.
9188 * nt.c: remove duplicate getloadavg() definition.
9190 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9193 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9195 * eval.c (function_argcount): If function needs to be autoloaded
9196 actually use the loaded definition.
9199 2000-08-05 Ben Wing <ben@xemacs.org>
9201 * getloadavg.c: add prototype for getloadavg(). remove
9202 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9203 of the code). remove duplicate header includes.
9205 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9207 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9208 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9209 useful load average.
9211 * alloc.c (reinit_alloc_once_early): removed references to
9212 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9213 the lisp vars are the only things referencing the malloc_sbrk_*
9214 vars, and they were already if 0'd out. these vars only exist
9215 in the older malloc.c, which is basically unused, and they're
9216 only for informational purposes.
9218 * m\*.h: removed useless VIRT_ADDR_VARIES.
9220 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9222 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9224 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9225 color if the image is a mono pixmap.
9227 2000-07-30 Ben Wing <ben@xemacs.org>
9229 * Makefile.in.in (release):
9232 * buffer.c (directory_is_current_directory):
9233 * dired-msw.c (mswindows_get_files):
9235 * dired.c (Fdirectory_files):
9236 * dired.c (file_name_completion_stat):
9237 * dired.c (Ffile_attributes):
9238 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9239 preprocessor tricks, to avoid problems on some machines
9242 * callproc.c (egetenv): GC docs.
9245 * console-msw.h (struct mswindows_dialog_id):
9246 * lrecord.h (lrecord_type):
9247 New object for use with MSW dialogs.
9249 * console.h (struct console_methods):
9250 New enable/disable frame methods, for proper modal dialogs.
9252 * device-msw.c (msprinter_default_printer): Fix to follow
9253 proper Mule conventions.
9256 * device-msw.c (signal_open_printer_error):
9257 * device-msw.c (msprinter_init_device):
9258 * device-msw.c (ensure_not_printing):
9259 * device-msw.c (plist_get_margin):
9260 * device-msw.c (Fmsprinter_select_settings):
9261 * device-msw.c (finalize_devmode):
9262 * device-msw.c (Fmsprinter_settings_despecialize):
9263 * device-msw.c (signal_enum_priner_error):
9264 * extents.c (decode_extent):
9265 * extents.c (decode_map_extents_flags):
9266 * extents.c (decode_extent_at_flag):
9267 * extents.c (Fextent_at):
9268 * extents.c (Fextents_at):
9269 * extents.c (symbol_to_glyph_layout):
9270 [[[[2]]]] Use structured errors.
9273 * dialog-msw.c (mswindows_is_dialog_msg):
9274 * dialog-msw.c (mark_mswindows_dialog_id):
9275 * dialog-msw.c (dialog_proc):
9276 * dialog-msw.c (handle_question_dialog_box):
9277 * dialog-msw.c (syms_of_dialog_mswindows):
9278 Define new object to clean up marking; use it as a dialog identifier.
9279 Call new delete-dialog-box-hook.
9281 * dialog-x.c (dbox_selection_callback):
9282 * dialog-x.c (dbox_descriptor_to_widget_value):
9283 * dialog-x.c (x_make_dialog_box_internal):
9284 Call new delete-dialog-box-hook.
9288 * dialog.c (syms_of_dialog):
9289 * dialog.c (vars_of_dialog):
9290 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9293 * eval.c (signal_call_debugger):
9294 when noninteractive, output stack traces on the console instead
9295 of in a (never-seen) buffer.
9297 * eval.c (signal_type_error):
9298 * eval.c (invalid_argument_2):
9300 new funs for use w/structured errors.
9303 * event-Xt.c (x_to_emacs_keysym):
9304 * event-Xt.c (describe_event):
9305 * event-Xt.c (emacs_Xt_event_handler):
9306 * event-Xt.c (vars_of_event_Xt):
9308 * event-msw.c (mswindows_wnd_proc):
9309 * event-msw.c (vars_of_event_mswindows):
9310 rename {x,mswindows}-debug-events to debug-{}-events for
9311 consistency with other debug-foo variables.
9314 document next-event more clearly.
9316 * fileio.c (Ffile_name_directory):
9317 * fileio.c (Ffile_name_nondirectory):
9318 * fileio.c (Funhandled_file_name_directory):
9319 * fileio.c (file_name_as_directory):
9320 * fileio.c (Ffile_name_as_directory):
9321 * fileio.c (directory_file_name):
9322 * fileio.c (Fdirectory_file_name):
9323 * fileio.c (Fmake_temp_name):
9324 * fileio.c (Ffile_truename):
9325 * fileio.c (Fsubstitute_in_file_name):
9326 * fileio.c (expand_and_dir_to_file):
9327 * fileio.c (barf_or_query_if_file_exists):
9328 * fileio.c (check_executable):
9329 * fileio.c (Ffile_exists_p):
9330 * fileio.c (Ffile_writable_p):
9331 * fileio.c (Ffile_directory_p):
9332 * fileio.c (Ffile_regular_p):
9333 * fileio.c (Ffile_modes):
9334 * fileio.c (Ffile_newer_than_file_p):
9335 * fileio.c (Fverify_visited_file_modtime):
9336 * fileio.c (Fset_visited_file_modtime):
9337 * fileio.c (auto_save_1):
9342 * frame-msw.c (mswindows_init_frame_1):
9343 * frame-msw.c (mswindows_enable_frame):
9344 * frame-msw.c (error_frame_unsizable):
9345 * frame-msw.c (msprinter_init_frame_1):
9346 * frame-msw.c (msprinter_init_frame_3):
9347 * frame-msw.c (console_type_create_frame_mswindows):
9349 implement new enable/disable frame methods.
9352 * frame-x.c (x_enable_frame):
9353 * frame-x.c (console_type_create_frame_x):
9354 implement new enable/disable frame methods.
9357 * frame.c (Fdisable_frame):
9358 * frame.c (syms_of_frame):
9359 * frame.h (struct frame):
9360 implement new enable/disable frame methods/functions.
9365 * glyphs-msw.c (mswindows_widget_instantiate):
9366 comment that initial-focus should be implemented.
9369 * glyphs-widget.c (check_valid_instantiator):
9370 * glyphs-widget.c (check_valid_orientation):
9371 * glyphs-widget.c (check_valid_tab_orientation):
9372 * glyphs-widget.c (check_valid_justification):
9373 * glyphs-widget.c (check_valid_border):
9374 * glyphs-widget.c (check_valid_callback):
9375 * glyphs-widget.c (check_valid_int_or_function):
9376 * glyphs-widget.c (check_valid_string_or_vector):
9377 * glyphs-widget.c (check_valid_item_list_1):
9378 * glyphs-widget.c (widget_validate):
9379 * glyphs-widget.c (combo_box_validate):
9380 * glyphs-widget.c (widget_instantiate):
9381 * glyphs-widget.c (syms_of_glyphs_widget):
9382 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9383 * glyphs-widget.c (image_instantiator_combo_box):
9384 * glyphs-widget.c (image_instantiator_scrollbar):
9385 * glyphs-widget.c (image_instantiator_tab_control):
9386 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9388 support (unimplemented) keyword initial-focus.
9389 reindent long macros.
9391 * glyphs-x.c (x_redisplay_widget):
9392 * glyphs-x.c (x_button_instantiate):
9393 * glyphs-x.c (x_button_redisplay):
9394 * glyphs-x.c (x_progress_gauge_instantiate):
9395 * glyphs-x.c (x_edit_field_instantiate):
9396 * glyphs-x.c (x_combo_box_instantiate):
9397 * glyphs-x.c (x_tab_control_instantiate):
9398 * glyphs-x.c (x_label_instantiate):
9400 * gui-x.c (button_item_to_widget_value):
9401 * gui-x.c (gui_items_to_widget_values_1):
9402 * gui-x.c (gui_item_children_to_widget_values):
9403 * gui-x.c (gui_items_to_widget_values):
9405 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9406 add new flag to gui-parsing routines to indicate whether
9407 accelerator specs should be supported.
9409 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9411 * glyphs.h (struct Lisp_Image_Instance):
9412 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9413 add initial-focus flag.
9416 * gui.c (syms_of_gui):
9417 * gui.c (vars_of_gui):
9418 clean up menu-no-selection-hook.
9421 support delete-dialog-box-hook.
9423 * lread.c (Fload_internal):
9424 * lread.c (locate_file_in_directory_mapper):
9428 * lrecord.h (struct toolbar_button):
9429 * lrecord.h (syms_of_toolbar):
9430 document how to create a new object.
9432 * menubar-msw.c (mswindows_char_is_accelerator):
9433 may be called on frames w/o menus.
9435 * menubar.c (vars_of_menubar):
9436 clean up :filter docs.
9443 * process-nt.c (validate_signal_number):
9444 * process-nt.c (signal_cannot_launch):
9445 * process-nt.c (nt_create_process):
9446 * process-nt.c (nt_send_process):
9447 * process-nt.c (nt_kill_child_process):
9448 * process-nt.c (nt_open_network_stream):
9449 * process-nt.c (syms_of_process_nt):
9451 delete quote-handling. call new lisp code that does it better.
9453 * process-unix.c (connect_to_file_descriptor):
9454 * process-unix.c (allocate_pty):
9455 * process-unix.c (unix_send_process):
9456 * process-unix.c (unix_kill_child_process):
9457 * process-unix.c (unix_open_network_stream):
9458 * process-unix.c (unix_open_multicast_group):
9462 * process.c (Fstart_process_internal):
9463 (2). need to canonicalize process path even if absolute.
9465 * select-msw.c (symbol_to_ms_cf):
9466 * select-msw.c (ms_cf_to_symbol):
9467 * select-msw.c (cf_is_autofreed):
9468 * select-msw.c (mswindows_destroy_selection):
9470 * select.c (syms_of_select):
9472 support dibv5, fix bugs. (from Mike Alexander)
9474 * select.c (Fget_selection_internal):
9475 * select.c (select_convert_out):
9478 * sysdep.c (xemacs_stat):
9483 but keep original stat() here because we provide encapsulation
9487 * sysfile.h (fstat):
9488 remove stat garbage.
9492 don't include tchar.h. it's inappropriate because it makes
9493 compile-time distinctions when we want runtime distinctions.
9494 (we provide our own tchar replacements)
9497 use default object printer for toolbar-button.
9500 make sure we don't encapsulate.
9502 * window.c (vars_of_window):
9503 emphasize that temp-buffer-show-hook is obsolete.
9505 2000-08-05 Martin Buchholz <martin@xemacs.org>
9507 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9508 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9510 * events.c (Fevent_timestamp_lessp):
9511 Not 64-bit clean. Use EMACS_INT, not int.
9513 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9515 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9516 unsigned int and changed the last enum to
9517 lrecord_type_last_built_in_type.
9518 (lrecord_implementations_table): changed prototype to know how
9519 long the array is supposed to be.
9520 (lrecord_type_count): new unsigned int to keep track of the
9521 current number of lisp lrecord types.
9522 (DEFINE_EXTERNAL_LRECORD):
9523 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9524 dynamic-modules to declare new lisp types. They are the same
9525 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9526 int for each new type, and increment lrecord_type_count by 1.
9528 * alloc.c (lrecord_implementations_table): Changed to reference
9529 lrecord_type_last_built_in_type for the size of the array.
9530 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9532 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9534 * glyphs.h (check_valid_item_list): Renamed from
9535 check_valid_item_list_1.
9537 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9539 * select.c (Qselect_coerce): New.
9540 * select.c (Vselection_coercion_alist): New.
9541 * select.c (syms_of_select): Declare.
9542 * select.c (get-selection-internal): Use it.
9543 Use the new select-coerce functionality.
9545 * select.c (select_coerce): New.
9546 * select.h (select_coerce): Declare.
9547 New function to coerce one type of data into another.
9549 2000-08-03 Martin Buchholz <martin@xemacs.org>
9551 * callproc.c (Fcall_process_internal):
9552 (Fcall_process_internal):
9553 * process-unix.c (unix_create_process):
9554 Save and restore the value of errno, so that error messages are accurate.
9556 2000-08-01 Martin Buchholz <martin@xemacs.org>
9558 * elhash.c (print_hash_table):
9559 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9560 Prettify docstrings and indentation.
9562 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9564 * window.c (Fwindow_pixel_edges): Subtract frame border and
9567 2000-07-31 Andy Piper <andy@xemacs.org>
9569 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9570 will acknowledge the change.
9572 * glyphs.h: declare tab_control_order_only_changed.
9574 * glyphs-x.c (x_tab_control_redisplay): use
9575 tab_control_order_only_changed.
9577 * glyphs-widget.c (tab_control_order_only_changed): new function.
9579 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9580 tab_control_order_only_changed.
9582 * gui.c (gui_item_equal_sans_selected): new function.
9583 (gui_item_equal): use it.
9585 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9586 :properties in favor of :items..
9588 * glyphs-widget.c (check_valid_item_list): rename from
9589 check_valid_item_list_1.
9590 (check_valid_item_list_1): renamed.
9591 (combo_box_validate): deprecate :properties in favor of :items.
9592 (widget_instantiate): ditto.
9593 (tab_control_update): ditto.
9594 (image_instantiator_combo_box): ditto.
9595 (image_instantiator_tree_view): ditto.
9596 (image_instantiator_tab_control): ditto.
9597 (layout_post_instantiate): remove dead code.
9599 * print.c (debug_print_no_newline): only write to debugger if in
9602 * elhash.c (Fmake_hash_table): update doc string.
9604 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9605 messages whilst in GC. This at least stops XEmacs crashing but has
9606 the potential for wierd behaviour.
9608 2000-07-31 Martin Buchholz <martin@xemacs.org>
9611 Make existence of s&m files optional.
9613 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9614 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9615 * s/gnu.h: Remove HAVE_GETLOADAVG.
9616 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9617 * s/sol2.h: Remove HAVE_GETLOADAVG.
9618 * lisp.h: Remove getloadavg() declaration.
9620 Include <sys/loadavg.h> if available.
9621 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9622 * config.h.in: Group together getloadavg()-related macros.
9623 Use only configure-time tests to detect getloadavg().
9625 2000-07-30 Martin Buchholz <martin@xemacs.org>
9627 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9629 2000-07-25 Andy Piper <andy@xemacs.org>
9631 * syswindows.h: add tchar.h for native builds.
9633 * frame.c (syms_of_frame): remove set-glyph-image.
9635 * general-slots.h: add Qset_glyph_image.
9637 * glyphs-widget.c (layout_update): add domain arg to
9639 (syms_of_glyphs_widget): remove set-glyph-image.
9641 2000-07-23 Ben Wing <ben@xemacs.org>
9643 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9646 2000-07-22 Andy Piper <andy@xemacs.org>
9648 * symsinit.h: add syms_of_win32().
9650 * gui-msw.c (syms_of_gui_mswindows): remove
9651 Fmswindows_shell_execute.
9652 (Fmswindows_shell_execute): moved to win32.c.
9654 * emacs.c (main_1): add syms_of_win32 ().
9656 * win32.c (init_potentially_nonexistent_functions): rewrite in
9657 compiler-friendly terms.
9658 (Fmswindows_shell_execute): move here from gui-msw.c.
9659 (syms_of_win32): new.
9661 * device-msw.c (Fmswindows_printer_list): clean up args to
9663 Don't include tchar under cygwin or mingw.
9664 (msprinter_default_printer): make cygwin-friendly.
9666 2000-07-21 Andy Piper <andy@xemacs.org>
9668 * glyphs-widget.c (image_instantiator_tree_view): use tab
9669 control's update function.
9670 (layout_property): new function. Retrieve items.
9672 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9673 function. Re-populate the tree view from the pending items.
9675 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9676 is designated the parent if the domain is an image instance. This
9677 is needed so that dirtiness can be cascade up the hierarchy and
9678 thus for layout children to be redisplayed correctly.
9679 (allocate_image_instance): rename glyph -> parent.
9681 * redisplay.h: change redisplay_output_layout signature.
9683 * redisplay-msw.c (mswindows_output_display_block): use domain
9686 * redisplay-x.c (x_output_display_block): use domain arg.
9688 2000-07-10 Andy Piper <andy@xemacs.org>
9690 * window.c (Fset_window_configuration): add comment.
9692 * redisplay-output.c (compare_runes):
9693 (redisplay_output_subwindow): redisplay rather than update subwindow.
9694 (redisplay_output_layout): ditto.
9696 * redisplay-msw.c (mswindows_frame_output_end):
9697 (mswindows_frame_output_end): make defer window pos optional.
9699 * lisp.h: add Flast.
9701 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9702 normalize method. Change update method to be for changed
9703 instantiators. Add redisplay method. Change signature of layout
9705 (struct Lisp_Image_Instance): add instantiator.
9706 (IMAGE_INSTANCE_INSTANTIATOR): new.
9707 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9708 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9709 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9712 (find_instantiator_differences): new function.
9713 (Fset_instantiator_property): new convenience function.
9714 (check_image_instance_structure): strictly check for vector
9716 (normalize_image_instantiator): make non-static.
9717 (instantiate_image_instantiator): pass on dest_mask and use new
9718 signatures for image_instance_layout and friends.
9719 (mark_image_instance): mark the instantiator. Mark the subwindow
9720 face not the widget face.
9721 (image_instance_equal): add instantiator.
9722 (image_instance_hash): ditto.
9723 (allocate_image_instance): ditto.
9724 (Fset_image_instance_property): removed.
9725 (Fimage_instance_file_name): ditto.
9726 (Fcolorize_image_instance): ditto.
9727 (image_instance_layout): add offsets to be set.
9728 (update_image_instance): new function. update an image instance
9729 from its changed instantiator.
9730 (inherit_normalize): add dest_mask.
9731 (xbm_normalize): ditto.
9732 (xface_normalize): ditto.
9733 (xpm_normalize): ditto.
9734 (text_update): set_property -> update.
9735 (image_instantiate): use the glyph identity as a hash key, not the
9737 (glyph_width): use new image_instance_layout signature.
9738 (glyph_ascent): ditto.
9739 (glyph_descent): ditto.
9740 (glyph_height): ditto.
9741 (glyph_query_geometry): ressurrect.
9742 (glyph_layout): ditto.
9743 (redisplay_subwindow): update -> redisplay.
9744 (syms_of_glyphs): add Fset_instantiator_property.
9745 (image_instantiator_format_create): set_property -> update.
9748 (autodetect_normalize): add dest_maks to signature.
9749 (x_redisplay_subwindow): update -> redisplay.
9750 (x_redisplay_widget): ditto.
9751 (x_button_redisplay): ditto.
9752 (x_progress_gauge_redisplay): ditto.
9753 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9755 (console_type_create_glyphs_x): update -> redisplay.
9756 (image_instantiator_format_create_glyphs_x): ditto.
9759 (check_valid_instantiator): disallow glyphs in the instantiator,
9760 they must now be vectors.
9761 (check_valid_instantiator_list): ditto.
9762 (glyph_instantiator_to_glyph): use internal symbol rather than
9764 (widget_update): renamed from widget_set_property. Call cascaded
9766 (redisplay_widget): renamed from update_widget.
9767 (widget_layout): image_instance_layout now takes position as well
9769 (widget_normalize): ditto.
9770 (widget_instantiate): ditto.
9771 (tab_control_query_geometry) ditto.:
9772 (tab_control_update): renamed from tab_control_set_property.
9773 (progress_gauge_update): set_property -> update.
9774 (layout_normalize): rewrite so that child instantiators are
9776 (layout_update): new function. Create glyphs from the normalized
9777 children and cope with any other layout keywords. We do not
9778 instantiate children here that will be take care of by
9779 redisplay_output_layout.
9780 (layout_instantiate): call layout_update and not much else.
9781 (layout_post_instantiate): not sure whether this is needed
9783 (layout_query_geometry): query glyph geometry rather than
9784 image_instance geometry.
9785 (layout_layout): set offsets from pass in parameters. Use glyph
9786 geometry and layout functions rather than image instance ones.
9787 (native_layout_layout): ditto.
9788 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9789 (image_instantiator_widget): set_property -> update.
9790 (image_instantiator_buttons): ditto.
9791 (image_instantiator_progress_guage): ditto.
9792 (image_instantiator_tab_control): ditto.
9793 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9794 (image_instantiator_layout): add update method.
9796 * glyphs-msw.c (bmp_normalize):
9797 (mswindows_resource_normalize): add dest_mask so that it can be
9798 proprogated by layout_normalize.
9799 (begin_defer_window_pos): make optional because it may not be the
9800 right thing to do and it introduces differences with X.
9801 (mswindows_unmap_subwindow): ditto.
9802 (mswindows_map_subwindow): ditto.
9803 (mswindows_redisplay_subwindow): renamed from
9804 mswindows_update_subwindow.
9805 (mswindows_redisplay_widget): ditto.
9806 (mswindows_button_redisplay): renamed from
9807 mswindows_button_update. Update is now what the instantiation
9808 function does for a changed instantiator.
9809 (mswindows_progress_gauge_instantiate): set the progress value
9810 here if appropriate.
9811 (mswindows_tab_control_redisplay): cope with re-ordering of the
9812 members of the tab widget by simply selecting the new top
9813 widget. This makes things appear ok if you click on a tab.
9814 (mswindows_combo_box_instantiate): image_instance_layout now takes
9815 position as well as size.
9816 (mswindows_progress_gauge_redisplay): renamed from
9817 mswindows_progress_gauge_update.
9818 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9819 (image_instantiator_format_create_glyphs_mswindows): ditto.
9821 * glyphs-eimage.c (jpeg_normalize):
9824 (tiff_normalize): add dest_mask so that it can be proprogated by
9829 (hash_table_weakness_validate):
9830 (decode_hash_table_weakness):
9831 (Fhash_table_weakness):
9833 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9835 * console.h (struct console_methods): move update_* to
9838 2000-07-20 Ben Wing <ben@xemacs.org>
9840 * *.[ch] (XSETOBJ): remove unused middle argument.
9841 lisp-disunion.h: correct wrap_object() to one argument.
9843 2000-07-15 Ben Wing <ben@xemacs.org>
9846 * s/cygwin32.h (CYGWIN_CONV_PATH):
9847 Add missing logb prototype for v1.1.
9848 Use post-b20 names and alias to pre-b20 names when pre-b20.
9850 * s/windowsnt.h: [5].
9852 2000-07-15 Ben Wing <ben@xemacs.org>
9854 * Makefile.in.in (x_objs):
9855 * Makefile.in.in (sheap_objs):
9856 * Makefile.in.in (objs):
9857 added win32.o, cosmetic cleanups.
9859 * alloc.c (Fmake_byte_code):
9860 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9861 etc. macros which declare their own args now.
9863 * alloc.c (syms_of_alloc):
9864 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9867 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9869 * buffer.c (Fget_file_buffer):
9870 Fixed GCPRO problem.
9872 * buffer.c (get_truename_buffer):
9873 Fixed comment about GC checking.
9875 * buffer.c (syms_of_buffer):
9876 Undeclared those dedicated frame funs.
9880 Define convenience macros for internal/external conversions.
9881 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9882 and Qenvironment_variable_encoding for cleaner code.
9885 Remove dedicated-frame; in lisp.
9887 * bytecode.c (funcall_compiled_function):
9890 * bytecode.c (syms_of_bytecode):
9894 * console-msw.c (mswindows_show_console): Rewrote.
9896 * console-msw.c (Fmswindows_debugging_output): New.
9897 Sends to OutputDebugString (special MSWin debugger interface).
9899 * console-msw.c (Fmswindows_message_box):
9900 Fixed stupid bugs so it works when called from kill-emacs.
9902 * console-msw.c (syms_of_console_mswindows):
9903 Declare Fmswindows_debugging_output.
9906 New MSWin prototypes.
9908 * console-msw.h (struct mswindows_frame):
9909 New entry last-click-mods for improved button-modifier support.
9911 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9912 New struct entry `popup' with corresponding accessor.
9915 * console-x.c (split_up_display_spec):
9916 * console-x.c (get_display_arg_connection):
9917 * console-x.c (x_semi_canonicalize_console_connection):
9918 * console-x.c (x_canonicalize_device_connection):
9919 [[[6]]]: Change char to more specific type.
9920 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9922 * console-x.c (x_semi_canonicalize_console_connection):
9923 * console-x.c (x_canonicalize_device_connection):
9924 [[[9]]]: Fix up error signalling to use new structured error system.
9927 [[[4]]]: Define codesys aliases:
9928 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9929 Qx_color_name_encoding, Qx_display_name_encoding.
9931 * console.h (struct console_methods):
9932 New method make_dialog_box_internal supersedes older
9933 popup_dialog_box method.
9936 Define many new errors, part of new structured errors.
9938 * data.c (init_errors_once_early):
9939 * data.c (syms_of_data):
9942 * device-msw.c (mswindows_init_device):
9943 [[[5]]]: Cleanup to support NT 3.51.
9945 * device-msw.c (decode_devmode): Cleanup.
9947 * device-msw.c (mswindows_handle_print_setup_dialog_box):
9948 * device-msw.c (mswindows_handle_print_dialog_box):
9949 * device-msw.c (mswindows_handle_page_setup_dialog_box):
9950 * device-msw.c (syms_of_device_mswindows):
9951 Delete the dialog box primitives recently introduced by Kirill and
9952 instead interface to general dialog box interface.
9955 * device-x.c (compute_x_app_name):
9956 * device-x.c (x_init_device):
9957 * device-x.c (Fx_valid_keysym_name_p):
9958 * device-x.c (Fx_set_font_path):
9962 * device.h (wrap_device): New.
9963 First of its kind; meant to replace XSETDEVICE.
9965 * dialog-msw.c: Many file-dialog symbols.
9967 * dialog-msw.c (mswindows_register_popup_frame): New.
9968 * dialog-msw.c (mswindows_is_dialog_msg): New.
9969 For supporting kbd traversal in dialog boxes.
9971 * dialog-msw.c (dialog_proc):
9972 Support hitting ESC in dialogs.
9974 * dialog-msw.c (struct):
9975 Common dialog box errors.
9977 * dialog-msw.c (handle_file_dialog_box): New.
9978 Add file dialog code.
9980 * dialog-msw.c (handle_question_dialog_box):
9981 Redo existing code to support new question dialog syntax.
9983 * dialog-msw.c (console_type_create_dialog_mswindows):
9984 We support new dialog console method.
9986 * dialog-msw.c (syms_of_dialog_mswindows):
9987 * dialog-msw.c (vars_of_dialog_mswindows):
9988 New file dialog symbols, vars.
9991 * dialog-x.c (maybe_run_dbox_text_callback):
9992 * dialog-x.c (dbox_descriptor_to_widget_value):
9993 * dialog-x.c (x_make_dialog_box_internal):
9994 * dialog-x.c (console_type_create_dialog_x):
9995 Mule-ize entire file.
9996 Redo to support question dialog syntax.
10000 * dialog.c (Fmake_dialog_box_internal):
10001 * dialog.c (syms_of_dialog):
10002 Kill old popup-dialog-box, replace with new primitive.
10003 Just call device method or signal error.
10005 * eldap.c (Fldap_open):
10006 * eldap.c (Fldap_search_basic):
10007 * eldap.c (Fldap_add):
10008 * eldap.c (Fldap_modify):
10013 * emacs.c (make_arg_list_1):
10014 * emacs.c (make_arg_list):
10015 Mule-ize call to dll_init().
10019 * emacs.c (make_argc_argv):
10020 * emacs.c (free_argc_argv):
10021 * emacs.c (init_cmdargs):
10022 * emacs.c (main_1):
10023 * emacs.c (Fkill_emacs):
10024 * emacs.c (Fdump_emacs):
10025 Update comments about what can be used in syms_* etc.
10026 Call init_win32() when necessary.
10027 Fix up MS Win dialog box in kill-buffer to actually work right.
10038 * eval.c (condition_case_3):
10040 * eval.c (function_argcount):
10041 * eval.c (funcall_lambda):
10044 * eval.c (type_error): New.
10045 * eval.c (maybe_type_error): New.
10046 * eval.c (continuable_type_error): New.
10047 * eval.c (maybe_continuable_type_error): New.
10048 * eval.c (type_error_with_frob): New.
10049 * eval.c (maybe_type_error_with_frob): New.
10050 * eval.c (continuable_type_error_with_frob): New.
10051 * eval.c (maybe_continuable_type_error_with_frob): New.
10052 New functions for use with structured errors.
10055 * event-Xt.c (x_event_to_emacs_event):
10056 Buttons are now modifiers too.
10058 * event-Xt.c (emacs_Xt_current_event_timestamp):
10059 Implement new event method.
10060 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10063 * event-msw.c (ntpipe_shove_writer): [5].
10064 * event-msw.c (mswindows_enqueue_mouse_button_event):
10065 * event-msw.c (mswindows_drain_windows_queue):
10066 * event-msw.c (mswindows_wnd_proc): [7].
10067 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10068 * event-msw.c (mswindows_modifier_state):
10069 Throughout: support new button modifiers.
10071 * event-msw.c (emacs_mswindows_current_event_timestamp):
10072 Implement new event method.
10073 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10076 * event-stream.c (event_stream_current_event_timestamp): New.
10077 * event-stream.c (maybe_kbd_translate): New functionality.
10078 * event-stream.c (vars_of_event_stream):
10079 Document new kbd-translate-table functionality.
10081 * event-stream.c (Fcurrent_event_timestamp): New.
10082 New primitive for use in fabricated events.
10083 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10085 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10088 * events.c (Fmake_event):
10089 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10093 * events.c (format_event_object): fix gcc warnings.
10095 * events.c (Fevent_timestamp): Document new primitives.
10097 * events.c (TIMESTAMP_HALFSPACE): New.
10099 * events.c (Fevent_timestamp_lessp): New. New primitive for
10100 comparing timestamps correctly (half-space algorithm).
10102 * events.c (Fevent_modifier_bits): Doc fix.
10104 * events.c (Fevent_modifiers): Major doc addition.
10105 * events.c (event_x_y_pixel_internal): Typo fix.
10106 * events.c (syms_of_events): Declare new primitives.
10109 Update long comment for button modifiers, timestamps.
10111 * events.h (struct event_stream):
10112 New current_event_timestamp method.
10115 * extents.c (extent_in_region_p):
10116 * extents.c (decode_extent):
10117 * extents.c (Fset_extent_parent):
10118 * extents.c (decode_map_extents_flags):
10122 * extents.c (struct extent_at_arg):
10123 * extents.c (decode_extent_at_flag):
10124 * extents.c (extent_at_mapper):
10125 * extents.c (extent_at_bytind):
10126 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10127 * extents.c (Fextents_at): New primitive. [9].
10128 * extents.c (symbol_to_glyph_layout): [9].
10129 Support new primitive `extents-at'.
10132 * extents.c (get_text_property_bytind):
10133 extent_at_bytind has another arg.
10136 * extents.c (syms_of_extents): New primitive.
10138 * file-coding.c (Fmake_coding_system): [1].
10139 * file-coding.c (subsidiary_coding_system): fix gcc warning
10140 * file-coding.c (syms_of_file_coding): [2].
10142 * fileio.c (Fexpand_file_name):
10143 * fileio.c (Fsysnetunam):
10144 * fileio.c (Ffile_exists_p):
10145 * fileio.c (Ffile_executable_p):
10146 * fileio.c (Fverify_visited_file_modtime):
10149 * fileio.c (syms_of_fileio): [2].
10151 * filelock.c (lock_file_1):
10152 * filelock.c (current_lock_owner):
10153 * filelock.c (lock_if_free):
10154 * filelock.c (lock_file):
10155 * filelock.c (unlock_file):
10158 * fns.c (concat): Fix gcc warning.
10161 * fns.c (Fold_member):
10163 * fns.c (Fold_memq):
10164 * fns.c (memq_no_quit):
10166 * fns.c (Fold_assoc):
10168 * fns.c (Fold_assq):
10169 * fns.c (assq_no_quit):
10171 * fns.c (Fold_rassoc):
10173 * fns.c (Fold_rassq):
10174 * fns.c (rassq_no_quit):
10176 * fns.c (Fold_delete):
10178 * fns.c (Fold_delq):
10179 * fns.c (delq_no_quit):
10180 * fns.c (Fremassoc):
10181 * fns.c (Fremassq):
10182 * fns.c (remassq_no_quit):
10183 * fns.c (Fremrassoc):
10184 * fns.c (Fremrassq):
10185 * fns.c (remrassq_no_quit):
10186 * fns.c (Freverse):
10190 * frame-msw.c (mswindows_init_frame_1):
10191 * frame-msw.c (mswindows_delete_frame):
10192 Register popups with dialog code so keyboard traversing works.
10194 * frame-tty.c (tty_raise_frame_no_select): [1].
10197 * frame-x.c (x_set_frame_text_value):
10198 * frame-x.c (x_set_frame_properties):
10199 * frame-x.c (x_create_widgets):
10203 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10205 * frame.h (wrap_frame): New.
10206 Macro like wrap_device.
10209 * general.c (SYMBOL):
10210 * general.c (syms_of_general):
10211 Major reorg. This is now just a wrapper and symbols themselves
10212 are listed in general-slots.h.
10214 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10215 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10217 * glyphs-msw.c (mswindows_native_layout_instantiate):
10218 Add DS_CONTROL so keyboard traversal will work.
10221 * glyphs-widget.c (syms_of_glyphs_widget):
10222 Move some symbols to general-slots.h.
10225 * glyphs-x.c (xbm_instantiate_1):
10226 * glyphs-x.c (x_xbm_instantiate):
10227 * glyphs-x.c (x_xface_instantiate):
10228 * glyphs-x.c (autodetect_instantiate):
10229 * glyphs-x.c (cursor_font_instantiate):
10230 * glyphs-x.c (x_update_widget):
10231 * glyphs-x.c (x_widget_instantiate):
10232 * glyphs.c (bitmap_to_lisp_data):
10233 * glyphs.c (pixmap_to_lisp_data):
10236 * glyphs.c (syms_of_glyphs):
10240 * gui-x.c (print_widget_value):
10241 * gui-x.c (menu_separator_style_and_to_external):
10242 * gui-x.c (add_accel_and_to_external):
10243 * gui-x.c (button_item_to_widget_value):
10244 * gui-x.c (gui_items_to_widget_values_1):
10245 * gui-x.c (gui_items_to_widget_values):
10246 * gui-x.c (syms_of_gui_x):
10247 * gui-x.c (vars_of_gui_x):
10248 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10252 Muleize, prototype changes matching gui-x.c.
10255 * gui.c (separator_string_p):
10256 * gui.c (gui_item_add_keyval_pair):
10257 * gui.c (make_gui_item_from_keywords_internal):
10258 * gui.c (signal_too_long_error):
10259 * gui.c (parse_gui_item_tree_item):
10260 * gui.c (syms_of_gui):
10261 * gui.c (vars_of_gui):
10263 menu-no-selection-hook moved here (used by MSWin).
10264 Move some symbols to general-slots.h.
10268 * insdel.c (get_buffer_pos_char):
10269 * insdel.c (get_buffer_range_char):
10272 * keymap.c (keymap_lookup_directly):
10273 * keymap.c (keymap_store):
10274 * keymap.c (ensure_meta_prefix_char_keymapp):
10275 * keymap.c (describe_map):
10277 Support new button modifiers.
10279 * lisp-disunion.h (wrap_object):
10280 * lisp-disunion.h (XSETOBJ):
10281 Rename make_obj to wrap_object.
10284 * lisp-union.h (make_int):
10285 * lisp-union.h (make_char):
10286 Support wrap_object.
10289 * lisp.h (LIST_LOOP):
10290 * lisp.h (EXTERNAL_LIST_LOOP):
10291 * lisp.h (LIST_LOOP_2):
10292 * lisp.h (EXTERNAL_LIST_LOOP_1):
10293 * lisp.h (EXTERNAL_LIST_LOOP_2):
10294 * lisp.h (EXTERNAL_LIST_LOOP_3):
10295 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10296 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10297 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10298 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10299 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10300 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10301 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10302 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10303 * lisp.h (struct Lisp_Symbol):
10304 * lisp.h (maybe_continuable_error_with_frob):
10305 Fix up section comments.
10306 Add new types for char to indicate usage.
10307 Delete symbols auto-generated from general-slots.h.
10308 Add prototypes for structured error functions.
10309 Add long comments describing looping macros and change interface
10310 so that lvalues are automatically declared.
10311 Add NO_DECLARE macro in case callers want to declare lvalues
10314 * lread.c (read_syntax_error):
10315 * lread.c (continuable_read_syntax_error):
10316 * lread.c (read_structure):
10317 * lread.c (sequence_reader):
10318 * lread.c (read_list_conser):
10319 * lread.c (read_compiled_function):
10320 Rename syntax_error and continuable_syntax_error to avoid clash
10321 with same-named structured error functions.
10323 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10324 * menubar-msw.c (populate_menu_add_item):
10325 * menubar-msw.c (populate_or_checksum_helper):
10330 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10331 Mule-ize whole file.
10333 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10335 * mule-charset.c (Fmake_charset):
10336 * mule-wnnfns.c (Fwnn_set_param):
10339 * ntproc.c (create_child):
10340 * ntproc.c (Fwin32_set_current_locale):
10341 Add comments portending doom.
10344 * objects-msw.c (old_font_enum_callback_2):
10345 * objects-msw.c (font_enum_callback_1):
10346 * objects-msw.c (mswindows_enumerate_fonts):
10350 * objects-x.c (allocate_nearest_color):
10351 * objects-x.c (x_parse_nearest_color):
10352 * objects-x.c (x_initialize_color_instance):
10353 * objects-x.c (x_print_color_instance):
10354 * objects-x.c (x_finalize_color_instance):
10355 * objects-x.c (x_valid_color_name_p):
10356 * objects-x.c (x_initialize_font_instance):
10357 * objects-x.c (x_print_font_instance):
10358 * objects-x.c (valid_x_font_name_p):
10359 * objects-x.c (truename_via_FONT_prop):
10360 * objects-x.c (truename_via_random_props):
10361 * objects-x.c (truename_via_XListFonts):
10362 * objects-x.c (x_font_truename):
10363 * objects-x.c (x_font_instance_truename):
10364 * objects-x.c (x_font_instance_properties):
10365 * objects-x.c (x_list_fonts):
10366 * objects-x.c (x_find_charset_font):
10367 Mule-ize entire file.
10374 * print.c (std_handle_out_external):
10375 * print.c (debug_print_no_newline):
10376 * print.c (syms_of_print):
10377 Output to all debugger kinds in debug-print.
10378 Fix console-output code under MSWin to actually work.
10380 * process-nt.c (send_signal):
10381 * process-nt.c (nt_create_process):
10382 Use newer Unicode macros.
10384 * process-unix.c (unix_create_process):
10385 * process-unix.c (unix_canonicalize_host_name):
10386 * process-unix.c (unix_open_network_stream):
10392 * search.c (syms_of_search):
10395 * select-msw.c (mswindows_destroy_selection):
10398 * select-x.c (symbol_to_x_atom):
10401 * select.c (syms_of_select):
10404 * sound.c (Fplay_sound_file):
10408 * specifier.c (decode_specifier_type):
10409 * specifier.c (Fvalid_specifier_locale_type_p):
10410 * specifier.c (check_valid_locale_or_locale_type):
10411 * specifier.c (decode_locale):
10412 * specifier.c (decode_locale_type):
10413 * specifier.c (decode_locale_list):
10414 * specifier.c (check_valid_domain):
10415 * specifier.c (decode_specifier_tag_set):
10416 * specifier.c (Fcanonicalize_tag_set):
10417 * specifier.c (Fdefine_specifier_tag):
10418 * specifier.c (Fspecifier_tag_predicate):
10419 * specifier.c (check_valid_inst_list):
10420 * specifier.c (check_valid_spec_list):
10421 * specifier.c (decode_how_to_add_specification):
10422 * specifier.c (check_modifiable_specifier):
10423 * specifier.c (specifier_add_spec):
10424 * specifier.c (boolean_validate):
10425 * specifier.c (display_table_validate):
10428 * specifier.c (syms_of_specifier):
10429 Move some symbols to general-slots.h.
10433 * symbols.c (Fmapatoms):
10434 * symbols.c (Fapropos_internal):
10437 * symbols.c (set_default_buffer_slot_variable):
10438 * symbols.c (set_default_console_slot_variable):
10441 * symbols.c (defsymbol_massage_name_1):
10442 * symbols.c (defkeyword_massage_name):
10443 * symbols.c (deferror_1):
10444 * symbols.c (deferror):
10445 * symbols.c (deferror_massage_name_and_message):
10447 * symeval.h (DEFSYMBOL):
10448 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10450 * symbols.c (syms_of_symbols):
10454 * symsinit.h (init_win32): New.
10455 Also new is syms_of_dialog_mswindows.
10458 Add new Unicode macros, missing Cygwin wide-char functions,
10459 convenience conversion macros for Qmswindows_tstr, macros for
10460 encapsulating required MSWin <-> Cygwin filename conversions,
10461 prototype for dynamically-extracted (not in NT 3.51) functions.
10466 * tooltalk.c (Fadd_tooltalk_message_arg):
10467 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10468 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10471 * tooltalk.c (syms_of_tooltalk):
10475 * unexnt.c (unexec):
10476 Fix up headers, declaration of unexec() to be more standard.
10478 2000-07-20 Martin Buchholz <martin@xemacs.org>
10480 * offix.h: Revert change to guard macros - they're used in offix.c!
10482 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10484 * lisp.h: Defsubred Fdelete.
10486 * console-msw.h: (msprinter_default_printer): Added.
10488 * console-msw.c (msprinter_canonicalize_console_connection):
10489 (msprinter_canonicalize_device_connection): Added.
10491 * device-msw.c (msprinter_default_printer):
10492 (Fmswingows_get_default_printer):
10493 (signal_enum_priner_error):
10494 (Fmswingows_printer_list): Added.
10496 2000-07-19 Martin Buchholz <martin@xemacs.org>
10498 * XEmacs 21.2.35 is released.
10500 2000-07-19 Martin Buchholz <martin@xemacs.org>
10502 * select-x.c (x_handle_selection_request):
10503 Text selected in xemacs and pasted into xterm failed to appear.
10504 Spelling fixes and cosmetic changes.
10506 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10508 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10509 XEmacs frame (fix for doubling chars in dialog boxes).
10511 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10513 * select.c (select_convert_in, select_convert_out):
10514 Don't call intern() every time.
10516 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10517 * select.c (vars_of_select): Initialise them.
10519 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10521 * select.c (selection-coercible-types): New.
10523 * select.c (own-selection-internal):
10524 * select.c (get-selection-internal):
10525 MULE bug fix - these should default to COMPOUND_TEXT and not
10526 STRING for MULE. I think.
10528 * select.c (select_convert_out): Use selection-coercible-types
10529 to find types that we can attempt to perform coercions on.
10531 2000-07-18 Martin Buchholz <martin@xemacs.org>
10535 Add coding: cookie to identify encoding.
10537 * mule-canna.c (CANNA_mode_keys): make static.
10538 Use proper prototypes, even for functions of no arguments.
10539 Remove external prototype for Fding().
10541 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10543 * select.c (syms_of_select): Add missing DEFSUBR.
10545 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10547 * select.c (get_selection_internal, own_selection_internal):
10548 Make the type default to STRING, rather than placing a nil type
10549 into Vselection_alist.
10551 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10553 * gpmevent.c (tty_selection_exists_p):
10554 * gpmevent.c (tty_own_selection):
10555 Updated parameter lists.
10557 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10559 * select.h (selection-alist): Removed declaration.
10561 * select.h (get_local_selection):
10562 * select.c (get_local_selection):
10565 * select.h (convert_selection): Removed declaration.
10566 * select.c (convert_selection): Removed.
10567 This function belongs in Lisp.
10569 * select.h (select_convert_in): Declare.
10570 * select.h (select_convert_out): Declare.
10571 * select.c (select_convert_in): New.
10572 * select.c (select_convert_out): New.
10573 New conversion functions for other files to call.
10575 * select.h (select_notify_buffer_kill): Declare.
10576 * select.c (select_notify_buffer_kill): New.
10577 New functions that get called from kill-buffer.
10579 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10580 X-specific lisp code.
10582 * select.h: Declare some of the lisp-visible functions for
10585 * select.c (clean_local_selection_data): Removed. This was
10586 a disgusting function, and previously should have been in
10587 select-x.c in any case. The functionality is now provided
10588 in select-convert-from-integer (select.el).
10590 * select.c (available-selection-types): Fixed stupidity where
10591 INTEGER and ATOM got added twice. Also add STRING when we see an
10594 * select.c (get-selection-internal): Removed symbol stripping. No
10595 longer causes conversion when data comes from the internal cache.
10597 * select.c (syms_of_select): Added new functions.
10599 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10600 error checking - previously this called abort!
10602 * select-x.c (x_own_selection): Changed comment.
10604 * select-x.c (x_handle_selection_request): Use select_convert_out.
10605 Don't mess with selection-alist; it's an internal variable of select.c.
10607 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10609 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10610 rather than messing with selection-alist.
10612 * select-msw.c (mswindows_get_foreign_selection):
10613 Use TO_INTERNAL_FORMAT rather than hacking.
10615 2000-07-14 Martin Buchholz <martin@xemacs.org>
10617 * process-unix.c (unix_open_multicast_group):
10618 (unix_open_multicast_group): Remove useless casts.
10620 2000-07-13 Martin Buchholz <martin@xemacs.org>
10622 * sound.c (Fplay_sound): Fix `unused variable' warning.
10624 * emacs.c (main): Use correct type for _environ on SCO5.
10626 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10628 * console.h (own_selection_method):
10629 * console.h (selection_exists_p_method):
10630 * console.h (available_selection_types_method): New.
10631 * console.h (register_selection_data_type_method): New.
10632 * console.h (selection_data_type_name): New.
10634 * console-msw.h (mswindows_destroy_selection): Declare it. New
10635 function & alist to track GlobalAlloc()'d handles that need
10636 releasing when the clipboard data gets replaced or emptied.
10638 * event-msw.c (mswindows_wnd_proc): Call it.
10640 * lisp.h, general.c (Qappend): New symbol representing a
10643 * select.c (own-selection-internal):
10644 * select.c (selection-exists-p):
10645 * select.c (available-selection-types): New.
10646 * select.c (register-selection-data-type): New.
10647 * select.c (selection-data-type-name): New. New functions to deal
10648 with device-specific selection data formats.
10649 * select.c (selection-converter-out-alist): Renamed.
10650 * select.c (selection-converter-in-alist): New.
10651 * select.c (selection-appender-alist): New. Added new alists.
10652 * select.c (syms_of_select, vars_of_select): Added new symbols &
10654 * select.c (get_local_selection): Split.
10655 * select.c: Removed spurious type checking - selections may now be
10656 of any type, not just strings.
10657 * select.c (own-selection-internal):
10659 * select.h, select.c (convert_selection): New. Created
10660 convert_selection() function based on get_local_selection().
10661 * select.h, select.c (QCF_*): New symbols representing mswindows
10663 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10664 symbols representing `how-to-add' modes.
10666 * select-msw.c (x_sym_p): New.
10667 * select-msw.c (symbol_to_ms_cf): New.
10668 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10669 symbols & clipboard formats. Can also handle string names.
10670 * select-msw.c (mswindows_own_selection):
10671 * select-msw.c (mswindows_selection_exists_p):
10672 Added `data-type' parameter. Use it.
10673 * select-msw.c (mswindows_available_selection_types): New.
10674 * select-msw.c (mswindows_register_selection_data_type): New.
10675 * select-msw.c (mswindows_selection_data_type_name): New.
10676 * select-msw.c (mswindows_own_selection):
10677 * select-msw.c (mswindows_get_foreign_selection):
10678 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10679 * select-msw.c (console_create_select_mswindows): Added new methods.
10680 * select-msw.c (mswindows_destroy_selection): New.
10681 * select-msw.c (Vhandle_alist): New list.
10682 * select-msw.c (mswindows_own_selection):
10684 * select-x.c (x_own_selection):
10685 * select-x.c (x_selection_exists_p):
10686 * select-x.c: Added some comments about maybe using new
10688 * select-x.c (x_own_selection):
10690 * specifier.c: Remove definition of Qappend (now in general.c)
10691 * specifier.c (syms_of_specifier): Remove Qappend.
10693 2000-07-12 Martin Buchholz <martin@xemacs.org>
10695 * config.h.in: Add socklen_t.
10697 * s/decosf4-0.h: No special compiler flags needed or desired.
10698 In particular, undefine _BSD for DEC OSF 4.0.
10700 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10702 * redisplay-msw.c (msprinter_frame_output_end): Added.
10703 (console_type_create_redisplay_mswindows): Referred the above.
10705 * frame.c (setup_frame_without_minibuffer): Do not create a
10706 default minibuffer frame on a printer device.
10708 * frame-msw.c (apply_dc_geometry): Added.
10709 (msprinter_start_page):
10710 (msprinter_init_frame_3):
10711 (msprinter_eject_page): Use it.
10713 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10714 and removed residual duplex and orientation properties.
10716 2000-07-11 Martin Buchholz <martin@xemacs.org>
10718 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10720 * unexalpha.c: Remove system prototypes from C sources!
10722 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10724 * eval.c: Remove references to M-x edit-options in DEFUNs for
10725 `defvar' and `defconst'.
10727 2000-07-09 Martin Buchholz <martin@xemacs.org>
10729 * config.h.in: Remove SMART_INCLUDE hackery.
10731 PostgreSQL hacking:
10732 * config.h.in: Don't use SMART_INCLUDE.
10734 * postgresql.h: Include libpq-fe.h here. Fix typo.
10735 * inline.c: Simply #include "postgresql.h"
10737 - Don't use SMART_INCLUDE
10738 - Use simply "const".
10739 - Use standard doc string conventions.
10740 - Use correct type for result of PQstatus.
10742 2000-07-09 Martin Buchholz <martin@xemacs.org>
10744 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10746 C++ compilation changes.
10747 * config.h.in (EXTERN_C): Define.
10748 * config.h.in (not): This is also a C++ keyword.
10749 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10750 * cm.c: Use EXTERN_C.
10751 * redisplay-tty.c: Use EXTERN_C.
10752 * sysdep.c: Use EXTERN_C. Remove Gould support.
10754 2000-07-09 Martin Buchholz <martin@xemacs.org>
10756 * general.c: Remove duplicate definition for Qfunction.
10758 2000-07-08 Ben Wing <ben@xemacs.org>
10760 * device-msw.c (msprinter_init_device):
10761 * device-msw.c (sync_printer_with_devmode):
10762 * device-msw.c (handle_devmode_changes):
10763 * device-msw.c (print_dialog_worker):
10764 * device-msw.c (Fmsprinter_apply_settings):
10765 * device-msw.c (hash_devmode):
10766 * device-msw.c (Fmsprinter_settings_despecialize):
10767 use Qmswindows_tstr, not Qctext.
10769 * vm-limit.c (check_memory_limits):
10770 avoid infinite loop printing warning messages.
10772 2000-07-05 Craig Lanning <lanning@scra.org>
10774 * Makefile.in.in: Add support for including the Windows resources
10775 when building with the cygwin and mingw targets.
10777 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10778 not set or not correct.
10779 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10780 (init_initial_directory): Don't try to use $PWD on the
10781 WIN32_NATIVE target.
10784 [[Add -mwindows to eliminate console window.]] not required --ben
10785 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10786 (MAIL_USE_POP): removed; now handled by configure.
10788 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10789 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10790 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10791 (MAIL_USE_POP): removed; now handled by configure.
10792 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10793 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10794 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10796 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10797 up from <winsock.h> via systime.h.
10798 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10799 (getpagesize): from Dan Holmsand, added.
10800 Added #endif which was left dangling by Ben's mega patch; added
10801 comment to help prevent this in the future.
10803 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10805 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10807 * console-msw.h (struct mswindows_device): Removed unnecessary
10808 cached device geometry values.
10809 Added update_tick and an accessor macro.
10810 (Lisp_Devmode): Added lrecord declaration.
10811 (struct msprinter_device): Contain devmode as a Lisp object.
10812 Added mswindows_get_selected_frame_hwnd();
10814 * console.h (struct console_methods): Indentation nitpicking.
10816 * device-msw.c (mswindows_init_device): Do not initialize geometry
10817 cache. Initialize update tick.
10818 (mswindows_device_system_metrics): Ask the device for its geometry.
10819 (global_free_2_maybe):
10820 (devmode_to_hglobal):
10821 (handle_printer_changes):
10822 (ensure_not_printing):
10823 (print_dialog_worker):
10824 (Fmsprinter_print_setup_dialog):
10825 (Fmsprinter_print_dialog):
10826 (plist_get_margin):
10827 (plist_set_margin):
10828 (Fmsprinter_page_setup_dialog): Added functions.
10829 (sync_printer_with_devmode):
10830 (handle_devmode_changes):
10831 (Fmsprinter_get_settings):
10832 (Fmsprinter_select_settings):
10833 (Fmsprinter_apply_settings):
10834 (allocate_devmode):
10835 (Fmsprinter_settings_copy):
10836 (Fmsprinter_settings_despecialize):
10838 (finalize_devmode):
10840 (hash_devmode): Added functions
10841 (syms_of_device_mswindows): Init devmode lrecord class.
10843 * device.h: Added an exfun for find-device.
10845 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10846 geometry; although, recreate the device compatible DC.
10848 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10849 (msprinter_init_frame_3):
10850 (msprinter_frame_property):
10851 (msprinter_internal_frame_property_p):
10852 (msprinter_frame_properties):
10853 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10854 print job properties (will move to device settings).
10856 * lisp.h: Added symbols.
10858 * general.c (syms_of_general): Declared them.
10860 * hash.c (string_hash): Added.
10862 * lrecord.h (lrecord_type): Added devmode lrecord type.
10864 2000-07-02 Mike Sperber <mike@xemacs.org>
10866 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10869 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10871 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10874 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10876 * data.c (Fstring_to_number): Don't recognize floating point if
10879 2000-06-22 Martin Buchholz <martin@xemacs.org>
10881 * glyphs-widget.c (tab_control_query_geometry):
10882 (widget_query_geometry):
10883 (button_query_geometry):
10884 * glyphs.c (text_query_geometry):
10885 Enforce type correctness.
10887 2000-06-18 Martin Buchholz <martin@xemacs.org>
10889 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10890 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10892 2000-06-17 Martin Buchholz <martin@xemacs.org>
10894 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10895 conflicts with gcc's fixincluded version of FOO.h.
10897 * glyphs.h (image_instance_geometry): Remove trailing `,'
10899 2000-06-08 Mike Alexander <mta@arbortext.com>
10901 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10902 (shove_thread): Don't write the same output twice
10903 (make_ntpipe_output_stream): Increase priority of shove thread
10904 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10906 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10909 2000-06-12 Ben Wing <ben@xemacs.org>
10911 * s\mingw32.h (sigset):
10912 * s\windowsnt.h (sigset):
10913 rename msw_ to mswindows_ for consistency with general convention.
10915 2000-06-12 Ben Wing <ben@xemacs.org>
10918 * console-msw.c (mswindows_get_console_hwnd):
10919 * console-msw.c (mswindows_ensure_console_allocated):
10920 * console-msw.c (mswindows_hide_console):
10921 * console-msw.c (mswindows_show_console):
10922 * console-msw.c (mswindows_ensure_console_buffered):
10923 * console-msw.c (mswindows_output_console_string):
10924 * console-msw.c (mswindows_windows9x_p):
10926 * device-msw.c (mswindows_get_workspace_coords):
10927 * device-msw.c (mswindows_device_system_metrics):
10928 * dialog-msw.c (mswindows_popup_dialog_box):
10929 * event-msw.c (mswindows_wnd_proc):
10930 * frame-msw.c (mswindows_size_frame_internal):
10931 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10932 * menubar-msw.c (displayable_menu_item):
10933 * menubar-msw.c (mswindows_char_is_accelerator):
10935 * nt.c (mswindows_sigset):
10936 * nt.c (mswindows_sigrelse):
10937 * nt.c (mswindows_sigpause):
10938 * nt.c (mswindows_raise):
10939 * nt.c (timer_proc):
10941 * ntproc.c (find_child_console):
10942 * ntproc.c (sys_kill):
10944 * print.c (std_handle_out_external):
10945 * process-nt.c (find_child_console):
10946 * process-nt.c (send_signal_the_95_way):
10947 * process-nt.c (ensure_console_window_exists):
10948 * process-nt.c (nt_create_process):
10950 rename msw_ to mswindows_ for consistency with general convention.
10954 include nt.h, not syswindows.h.
10956 * nt.c (mswindows_fstat):
10957 * nt.c (mswindows_stat):
10958 prefix mswindows_ instead of attempting to directly override the
10959 library functions. fix declarations.
10962 include syswindows.h. move some sysdep.h stuff here.
10965 include syswindows.h, not <windows.h>.
10973 * sysdep.c (sys_fstat):
10974 * sysdep.c (sys_stat):
10975 call mswindows versions when appropriate.
10978 move mswin decls to nt.h.
10981 add long comment describing appropriate use of the various windows
10984 2000-06-11 Ben Wing <ben@xemacs.org>
10986 * device-x.c: Correct doc string for sixth arg of x-get-resource.
10988 2000-06-10 Ben Wing <ben@xemacs.org>
10990 * Makefile.in.in (release):
10991 Correction to make sure xemacs.exe always dumped when correct.
10995 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
10997 * buffer.c (set_buffer_internal):
10998 [[[[2]]]]: Remove HAVE_FEP code.
11000 * buffer.c (init_initial_directory):
11004 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11008 * callproc.c (call_process_cleanup):
11009 * callproc.c (Fold_call_process_internal):
11010 * callproc.c (child_setup):
11011 * callproc.c (getenv_internal):
11012 * callproc.c (init_callproc):
11013 * callproc.c (vars_of_callproc):
11014 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11015 __CYGWIN32__ -> CYGWIN.
11016 DOS_NT -> WIN32_NATIVE.
11017 Remove MSDOS support/references, converting to WIN32_NATIVE
11019 __MINGW32__ -> MINGW.
11020 Fix windows.h includes.
11021 Remove bogus HAVE_NTGUI.
11027 mswindows_message_outputted added for use in allowing startup
11028 errors on the console to be seen.
11030 * console-msw.c (msw_ensure_console_allocated):
11031 * console-msw.c (msw_output_console_string):
11032 * console-msw.c (DHEADER):
11033 * console-msw.c (DOPAQUE_DATA):
11034 * console-msw.c (DEVENT):
11035 * console-msw.c (DCONS):
11036 * console-msw.c (DCONSCDR):
11037 * console-msw.c (DSTRING):
11038 * console-msw.c (DVECTOR):
11039 * console-msw.c (DSYMBOL):
11040 * console-msw.c (DSYMNAME):
11043 * console-stream.c (stream_init_console):
11044 Fix text/binary problems.
11047 * device-msw.c (mswindows_finish_init_device):
11048 * device-msw.c (mswindows_delete_device):
11051 * device.c (handle_asynch_device_change):
11055 * dgif_lib.c (DGifOpenFileName):
11056 * dgif_lib.c (DGifOpenFileHandle):
11057 * dgif_lib.c (DGifGetLine):
11058 * dgif_lib.c (DGifGetPixel):
11059 Added config.h/lisp.h, fix up includes.
11066 * dired.c (file_name_completion):
11067 * dired.c (Ffile_attributes):
11068 * dired.c (syms_of_dired):
11072 * dumper.c (pdump_file_unmap):
11073 * dumper.c (pdump_load):
11077 * editfns.c (Ftemp_directory):
11078 * editfns.c (user_login_name):
11079 * editfns.c (Fuser_real_login_name):
11080 * editfns.c (get_home_directory):
11083 * elhash.c (finish_marking_weak_hash_tables):
11084 [[[[5]]]]: Fix GCC warnings.
11087 * emacs.c (mswindows_handle_hardware_exceptions):
11088 * emacs.c (make_arg_list_1):
11089 * emacs.c (main_1):
11090 * emacs.c (Fkill_emacs):
11091 * emacs.c (Fdump_emacs):
11093 Fix problems with nested crashes, add long comment.
11095 * event-Xt.c (init_event_Xt_late):
11099 * event-msw.c (mswindows_dde_callback):
11100 * event-msw.c (mswindows_handle_sticky_modifiers):
11101 * event-msw.c (mswindows_wnd_proc):
11105 * events.c (character_to_event):
11109 * fileio.c (Ffile_name_directory):
11110 * fileio.c (Ffile_name_nondirectory):
11111 * fileio.c (directory_file_name):
11112 * fileio.c (Fexpand_file_name):
11113 * fileio.c (Fsubstitute_in_file_name):
11114 * fileio.c (Ffile_name_absolute_p):
11115 * fileio.c (check_executable):
11116 * fileio.c (Ffile_readable_p):
11117 * fileio.c (Ffile_accessible_directory_p):
11118 * fileio.c (Ffile_modes):
11119 * fileio.c (Funix_sync):
11120 * fileio.c (vars_of_fileio):
11123 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11125 Expand getdefdir defn.
11126 Fix bogus rename() comment.
11128 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11129 to use standard XEmacs include files, e.g. sysfile.h, rather
11130 than system-specific includes.
11136 * frame.c (vars_of_frame):
11140 * getloadavg.c (getloadavg):
11142 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11143 (We don't use it elsewhere in the code; just add a comment.)
11150 * glyphs-msw.c (mswindows_resource_instantiate):
11153 * glyphs-x.c (x_native_layout_instantiate):
11156 * gui-msw.c (Fmswindows_shell_execute):
11165 * lread.c (locate_file_in_directory_mapper):
11172 * mem-limits.h (get_lim_data):
11184 * nt.c (rva_to_section):
11185 * nt.c (mswindows_executable_type):
11187 Fix closedir() defn.
11190 [[[[8]]]]: *_OK defs moved to sysfile.h.
11199 * print.c (std_handle_out_external):
11203 * process-nt.c (nt_create_process):
11205 try to fix process quoting somewhat.
11207 * process-unix.c (unix_create_process):
11211 * process.c (vars_of_process):
11218 * realpath.c (xrealpath):
11221 * redisplay-tty.c (init_tty_for_redisplay):
11231 * sheap.c (more_static_core):
11232 * sheap.c (report_sheap_usage):
11236 * signal.c (alarm_signal):
11243 * strftime.c (zone_name):
11246 * symsinit.h (init_sunpro):
11250 commctrl.h not in Cygwin b20.1.
11253 * sysdep.c (endif):
11254 * sysdep.c (sys_subshell):
11255 * sysdep.c (init_baud_rate):
11256 * sysdep.c (emacs_get_tty):
11257 * sysdep.c (emacs_set_tty):
11258 * sysdep.c (tty_init_sys_modes_on_device):
11259 * sysdep.c (init_system_name):
11260 * sysdep.c (sys_open):
11261 * sysdep.c (interruptible_open):
11262 * sysdep.c (sys_fopen):
11263 * sysdep.c (sys_mkdir):
11264 * sysdep.c (sys_rename):
11265 * sysdep.c (get_process_times_1):
11272 * sysdir.h (DIRENTRY_NONEMPTY):
11275 * sysdll.c (dll_init):
11281 added text/binary defs.
11287 * sysproc.h (EDESTADDRREQ):
11288 * sysproc.h (poll_fds_for_input):
11305 Always define WIN32_LEAN_AND_MEAN.
11307 * unexcw.c (unexec):
11311 * unexec.c (copy_text_and_data):
11312 * unexec.c (adjust_lnnoptrs):
11316 * unexnt.c (_start):
11319 2000-06-07 Ben Wing <ben@xemacs.org>
11321 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11322 was used only as a model. We've long since extracted any useful
11323 logic or code out of this. (I just did an exhaustive search.)
11325 * s\msdos.h: Removed.
11327 * s\windows95.h: Removed.
11329 2000-06-10 Ben Wing <ben@xemacs.org>
11333 Don't use extern with fun defs.
11337 Remove nt\inc include.
11338 Remove getdisk, getdefdir. (The former is unused, the latter
11339 expanded in fileio.h.)
11342 * s\windowsnt.h (WIN32_NATIVE):
11343 * s\windowsnt.h (HAVE_STRCASECMP):
11345 Add long comment about preprocessor changes.
11346 Remove getdisk, getdefdir. (The former is unused, the latter
11347 expanded in fileio.h.)
11349 2000-06-10 Ben Wing <ben@xemacs.org>
11358 Remove bogus/unused NO_SOCK_SIGIO.
11360 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11362 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11365 2000-06-04 Mike Sperber <mike@xemacs.org>
11367 * casetab.c (set_case_table): For `set-standard-case-table',
11368 actually deposit the new case tables where the rest of XEmacs can
11371 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11373 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11375 2000-06-05 Ben Wing <ben@xemacs.org>
11377 * callproc.c (child_setup): Don't do close_load_descs() under
11378 MS Windows. Put in a comment explaining why.
11380 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11382 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11383 Toolkit shell" which breaks `kill-compilation' on Windows NT
11384 native, retaining STDERR handling improvements.
11386 2000-06-01 Andreas Jaeger <aj@suse.de>
11388 * s/s390.h: Support for S390, based on a patch by Martin
11389 Schwidefsky <schwidefsky@de.ibm.com>.
11391 2000-05-30 Andy Piper <andy@xemacs.org>
11393 * window.c (allocate_window):
11394 (make_dummy_parent):
11395 (Fset_window_configuration): use new hashtable type.
11397 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11398 (struct image_instantiator_methods):
11399 (struct Lisp_Image_Instance): make instance geometry signed.
11401 * glyphs.c (instantiate_image_instantiator):
11402 (image_instance_query_geometry):
11403 (image_instance_layout):
11404 (image_instance_layout):
11405 (query_string_geometry):
11406 (text_query_geometry):
11407 (image_instantiate):
11408 (image_instantiate):
11409 (cache_subwindow_instance_in_frame_maybe):
11410 (subwindow_query_geometry): make instance geometry signed.
11412 * glyphs-widget.c (widget_query_geometry):
11414 (button_query_geometry):
11415 (tree_view_query_geometry):
11416 (tab_control_query_geometry):
11417 (layout_query_geometry):
11419 (native_layout_layout): make instance geometry signed.
11421 2000-05-29 Olivier Galibert <galibert@pobox.com>
11423 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11426 * general.c (syms_of_general): Add Qfull_assoc symbol.
11428 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11430 (decode_weak_list_type): Decode full-assoc type.
11431 (encode_weak_list_type): Encode full-assoc type.
11432 (Fmake_weak_list): Update doc string.
11434 2000-05-30 Andy Piper <andy@xemacs.org>
11436 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11438 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11439 (decode_hash_table_weakness): ditto.
11440 (Fhash_table_weakness): ditto.
11441 (Fhash_table_type): ditto.
11442 (finish_marking_weak_hash_tables): ditto.
11443 (hash_table_weakness_validate): ditto.
11444 (syms_of_elhash): ditto.
11446 2000-05-28 Martin Buchholz <martin@xemacs.org>
11448 * XEmacs 21.2.34 is released.
11450 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11452 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11454 (updating_line_start_cache): Gone.
11455 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11456 generic code to force a minimum of 1 line laid out in the
11459 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11461 * glyphs.c (instantiate_image_instantiator): Check for initialized
11462 height & width no longer special cases IMAGE_NOTHING.
11463 (nothing_instantiate): Set height and width of instance.
11465 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11467 * unexelf.c (unexec): Search for ".data" section.
11468 Initialize new_data2_offset from old_data_index.
11469 Remove redundant check for ElfW.
11471 2000-05-23 Andy Piper <andy@xemacs.org>
11473 * glyphs.c (get_image_instantiator_governing_domain): allow more
11474 specific domains as the governing domain rather than expecting an
11475 exact match. This fixes problems with layouts.
11477 2000-05-22 Andy Piper <andy@xemacs.org>
11479 * redisplay-output.c (compare_runes): check for non-images
11481 * glyphs.c (set_glyph_dirty_p): ditto.
11482 (update_glyph_cachel_data): ditto.
11484 * glyphs-widget.c (layout_post_instantiate): ditto.
11485 (layout_post_instantiate): ditto.
11487 * event-msw.c (mswindows_wnd_proc): warning removal.
11489 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11491 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11493 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11495 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11497 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11498 (mswindows_executable_type): mingw32 now has enough headers for
11501 2000-05-20 Andy Piper <andy@xemacs.org>
11503 * console-msw.c (mswindows_output_last_error): ; -> ,
11505 2000-05-12 Andy Piper <andy@xemacs.org>
11507 * console-msw.c (FROB): compare ints with ints.
11509 2000-05-11 Andy Piper <andy@xemacs.org>
11511 * glyphs-x.c (x_finalize_image_instance): make minimal build
11514 2000-05-20 Ben Wing <ben@xemacs.org>
11517 * event-Xt.c (vars_of_event_Xt):
11518 move modifier-keys-are-sticky to event-stream.c.
11521 * event-msw.c (mswindows_enqueue_mouse_button_event):
11522 * event-msw.c (key_needs_default_processing_p):
11523 * event-msw.c (XEMSW_LCONTROL):
11524 * event-msw.c (mswindows_handle_sticky_modifiers):
11525 * event-msw.c (FROB):
11526 * event-msw.c (clear_sticky_modifiers):
11527 * event-msw.c (output_modifier_keyboard_state):
11528 * event-msw.c (output_alt_keyboard_state):
11529 * event-msw.c (mswindows_wnd_proc):
11530 * event-msw.c (mswindows_modifier_state):
11531 * event-msw.c (emacs_mswindows_handle_magic_event):
11532 implement sticky modifiers.
11535 * event-stream.c (vars_of_event_stream):
11536 move modifier-keys-are-sticky here.
11539 add CHECK_FUNCTION.
11542 implement map-range-table.
11545 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11547 * redisplay-tty.c (reset_tty_modes):
11548 (tty_redisplay_shutdown): Adjust argument type to
11549 tty_frame_output_end.
11551 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11553 * eval.c (Fbacktrace): Don't output a line with only right
11556 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11558 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11559 (Fpq_reset_poll): Ditto.
11561 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11563 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11565 2000-05-16 Ben Wing <ben@xemacs.org>
11568 * buffer.c (dfc_convert_to/from_internal_format):
11569 * buffer.c (reinit_vars_of_buffer):
11570 Fix conversion functions to allow reentrancy.
11573 * console-msw.c (mswindows_output_last_error):
11574 New fun, generally useful -- output a human-readable
11575 version of GetLastError() on the console.
11578 * console-msw.h (struct mswindows_frame):
11579 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11581 * console-stream.c (stream_output_begin):
11582 * console-stream.c (stream_output_end):
11583 * console-stream.c (stream_output_vertical_divider):
11584 * console-stream.c (stream_clear_region):
11585 * console-stream.c (stream_flash):
11586 * console-stream.c (console_type_create_stream):
11587 Delete blank stream methods, not needed.
11589 * console.h (struct console_methods):
11590 Split begin/end methods into window and frame.
11593 * event-msw.c (mswindows_handle_paint):
11594 * event-msw.c (output_alt_keyboard_state):
11595 * event-msw.c (mswindows_wnd_proc):
11596 * event-msw.c (vars_of_event_mswindows):
11597 Comment about problems with ignored-expose.
11598 Define mswindows-debug-events; not really implemented.
11600 * frame-msw.c (mswindows_init_frame_1):
11604 * glyphs-msw.c (begin_defer_window_pos):
11605 * glyphs-msw.c (mswindows_unmap_subwindow):
11606 * glyphs-msw.c (mswindows_map_subwindow):
11607 * glyphs-msw.c (mswindows_resize_subwindow):
11608 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11610 * glyphs.c (make_image_instance_1):
11613 * gutter.c (Fredisplay_gutter_area):
11614 Use new begin/end methods.
11616 * lisp.h (Dynarr_new2):
11620 * redisplay-msw.c (mswindows_frame_output_begin):
11621 * redisplay-msw.c (mswindows_frame_output_end):
11622 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11623 New begin/end methods -- handle DeferWindowPos.
11625 * redisplay-output.c (redisplay_move_cursor):
11626 * redisplay-output.c (redraw_cursor_in_window):
11627 * redisplay-output.c (redisplay_update_line):
11628 * redisplay-output.c (redisplay_output_window):
11629 New begin/end methods.
11632 * redisplay-tty.c (tty_frame_output_begin):
11633 * redisplay-tty.c (tty_frame_output_end):
11634 * redisplay-tty.c (console_type_create_redisplay_tty):
11635 New begin/end methods.
11638 * redisplay-x.c (x_window_output_begin):
11639 * redisplay-x.c (x_window_output_end):
11640 * redisplay-x.c (console_type_create_redisplay_x):
11641 New begin/end methods.
11643 * redisplay.c (redisplay_frame):
11644 * redisplay.c (Fredisplay_echo_area):
11645 New begin/end methods.
11646 use MAYBE_DEVMETH for clear_frame; it may not exist.
11648 * window.h (WINDOW_XFRAME):
11649 WINDOW_XFOO macros -- get locale and decode struct pointer.
11652 2000-05-12 Ben Wing <ben@xemacs.org>
11655 * emacs.c (ensure_no_quitting_from_now_on):
11656 * emacs.c (fatal_error_signal):
11657 * emacs.c (mswindows_handle_hardware_exceptions):
11659 * emacs.c (Fkill_emacs):
11660 * emacs.c (shut_down_emacs):
11661 * emacs.c (assert_failed):
11662 various improvements in fatal error handling.
11665 move preparing_for_armageddon to emacs.c.
11668 declare fatal_error_in_progress.
11671 * print.c (std_handle_out_external):
11672 * print.c (std_handle_out_va):
11673 * print.c (stderr_out):
11674 * print.c (stdout_out):
11675 use console under mswin when no standard output.
11676 don't do code conversion during fatal error.
11678 * scrollbar.c (Fscrollbar_page_up):
11679 * scrollbar.c (Fscrollbar_page_down):
11680 fix missing else. reindent.
11682 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11686 * glyphs.h (GLYPH_CACHEL_DESCENT):
11687 (GLYPH_CACHEL_DESCENT):
11688 (GLYPH_CACHEL_DESCENT):
11689 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11690 used in case these are inline functions.
11691 Use more absurd values to error check.
11693 include window.h for error check functions.
11695 2000-05-11 Ben Wing <ben@xemacs.org>
11697 * cmdloop.c (Freally_early_error_handler):
11698 Display message box under windows; otherwise, message will disappear
11699 before it can be viewed.
11702 * console-msw.c (Fmswindows_message_box):
11703 * console-msw.c (FROB):
11704 * console-msw.c (syms_of_console_mswindows):
11705 Define new fun `mswindows-message-box'.
11706 #### I will merge this into `popup-dialog-box'; just give me
11710 * general.c (syms_of_general):
11711 Some new symbols used in `mswindows-message-box'.
11714 * glyphs.c (Fset_image_instance_property):
11715 put warning in this fun.
11718 * glyphs.h (GLYPH_CACHEL_WIDTH):
11719 * glyphs.h (GLYPH_CACHEL_ASCENT):
11720 * glyphs.h (GLYPH_CACHEL):
11721 * glyphs.h (GLYPH_CACHEL_GLYPH):
11722 define error-checking versions to try to catch a bug i've seen --
11723 redisplay gets in an infinite loop because the glyph width of the
11724 continuation glyph is 65535.
11727 Extern message-box stuff.
11729 * window.c (allocate_window):
11730 * window.c (make_dummy_parent):
11731 * window.c (Fset_window_configuration):
11732 Use EQUAL not EQ for subwindow caches to make them work a bit
11733 better. (Something is still very broken.)
11736 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11738 * glyphs.c (image_instantiate): Suppress gcc warnings.
11739 (Fmake_image_instance): Fix doc string.
11740 * specifier.c (Fmake_specifier): Ditto.
11742 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11744 * paths.h.in (PATH_LOCK): Removed.
11745 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11746 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11748 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11750 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11751 Document (featurep '(and xemacs 21.02)).
11753 2000-05-09 Ben Wing <ben@xemacs.org>
11755 * buffer.c (complex_vars_of_buffer):
11756 update modeline-format doc.
11759 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11762 timeline of all released versions of Emacs, for use in creating
11763 authorship comments and in synching up.
11765 * glyphs-widget.c (image_instantiator_buttons):
11766 * glyphs-widget.c (image_instantiator_edit_fields):
11767 * glyphs-widget.c (image_instantiator_combo_box):
11768 * glyphs-widget.c (image_instantiator_scrollbar):
11769 * glyphs-widget.c (image_instantiator_progress_guage):
11770 * glyphs-widget.c (image_instantiator_tree_view):
11771 * glyphs-widget.c (image_instantiator_tab_control):
11772 * glyphs-widget.c (image_instantiator_labels):
11773 * glyphs-widget.c (image_instantiator_layout):
11774 * glyphs-widget.c (image_instantiator_native_layout):
11775 rename decode_domain method to governing_domain.
11778 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11779 * glyphs.c (add_entry_to_device_ii_format_list):
11780 make sure we don't put an entry more than once into the list.
11781 * glyphs.c (check_instance_cache_mapper):
11782 *************************************************************
11783 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11785 *************************************************************
11786 * glyphs.c (get_image_instantiator_governing_domain):
11787 clean up, expand on new concept of governing domain.
11788 * glyphs.c (instantiate_image_instantiator):
11789 * glyphs.c (allocate_image_instance):
11790 use governing_domain instead of cache_domain in naming.
11791 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11792 * glyphs.c (make_image_instance_1):
11793 * glyphs.c (Fmake_image_instance):
11794 allow for any domain (not just device), and process the
11795 governing domain correctly. very big doc fix.
11796 * glyphs.c (Fimage_instance_domain):
11797 new primitive, to retrieve the governing domain of an image instance.
11798 * glyphs.c (image_instantiate):
11799 use new governing_domain stuff. this fixes a crash you could get
11800 by instantiating certain widget glyphs in frame locales. (should
11801 signal an error instead of crashing.)
11802 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11803 * glyphs.c (Fglyphp): clean up doc.
11804 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11805 * glyphs.c (syms_of_glyphs):
11806 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11807 * glyphs.c (image_instantiator_format_create): add some comments about
11809 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11810 for current-display-table. (Apparently Hrjove implemented in 1998 a
11811 design I wrote up in 1996, but didn't update the doc string.)
11813 * glyphs.h: clean up a doc string.
11814 * glyphs.h (governing_domain):
11815 * glyphs.h (struct image_instantiator_methods):
11816 changes for governing_domain stuff.
11819 * gutter.c (Fgutter_specifier_p):
11820 * gutter.c (Fgutter_size_specifier_p):
11821 * gutter.c (Fgutter_visible_specifier_p):
11823 * objects.c (Fcolor_specifier_p):
11824 * objects.c (Ffont_specifier_p):
11825 * objects.c (Fface_boolean_specifier_p):
11826 doc strings moved to make-*-specifier.
11828 * redisplay.c (add_disp_table_entry_runes_1):
11829 * redisplay.c (generate_fstring_runes):
11830 * redisplay.c (screen):
11831 add random comments and doc strings.
11834 * specifier.c (Fmake_specifier):
11835 major overhaul of this doc string.
11837 * specifier.c (Fvalid_specifier_domain_p):
11838 comment about the bogosity of image instances being domains.
11839 * specifier.c (decode_domain):
11840 now non-static, used in glyphs.c.
11841 * specifier.c (specifier_instance):
11842 comment about the bogosity of image instances being domains.
11843 * specifier.c (Fgeneric_specifier_p):
11844 move doc string to make-generic-specifier.
11845 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11849 * specifier.h (DOMAIN_FRAME):
11850 * specifier.h (DOMAIN_LIVE_P):
11851 * specifier.h (DOMAIN_XDEVICE):
11853 add comments about problems with these macros.
11854 prototype for decode_domain.
11857 * toolbar.c (Ftoolbar_specifier_p):
11858 move doc string to `make-toolbar-specifier'.
11860 * window.c (window_unmap_subwindows_cache_mapper):
11861 *************************************************************
11862 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11864 *************************************************************
11866 2000-05-09 Andy Piper <andy@xemacs.org>
11868 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11870 * window.c (Fset_window_configuration): reset the frame subwindow
11871 cache and re-initialize the window subwindow caches.
11873 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11875 2000-05-09 Ben Wing <ben@xemacs.org>
11877 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11880 2000-04-26 Mike Woolley <mike@bulsara.com>
11882 * ntheap.c: Changed recreate_heap to limit the amount reserved
11883 for the heap to that which is actually available. Also now
11884 displays a message box (with some dignostics) in the event that
11885 it still can't start.
11887 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11889 * callproc.c (Fold_call_process_internal): GCPRO path
11891 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11893 Patch by Bill Perry.
11895 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11896 back data instead of #ifdef.
11897 (Fscrollbar_page_down): ditto.
11899 2000-05-07 Ben Wing <ben@xemacs.org>
11902 Kludge for defining Qmswindows_tstr.
11905 * nt.c (open_input_file):
11906 * nt.c (open_output_file):
11907 * nt.c (rva_to_section):
11908 * nt.c (mswindows_executable_type):
11909 Move all memory-mapped-file routines here (some were in unexnt.c,
11910 which is bad because they are used by process-nt.c, and unexnt
11911 won't be around when portable dumping). Synched the above routines
11915 Removed ifdef'd out bogus code.
11916 Fixed some prototypes.
11918 * nt.h (file_data):
11919 * nt.h (OFFSET_TO_RVA):
11920 * nt.h (RVA_TO_OFFSET):
11921 * nt.h (RVA_TO_PTR):
11922 Moved the memory-mapped-file structures, macros and prototypes
11923 here, to parallel nt.c. ntheap.h should really be removed
11924 entirely, and it's a non-portable-dumper specific file.
11926 * ntheap.h (round_to_next):
11927 Moved the memory-mapped-file structures, macros and prototypes
11930 * ntproc.c (compare_env):
11931 Moved rva_to_section and mswindows_executable_type to nt.c.
11932 Moved compare_env to process-nt.c.
11933 ntproc.c will die, one day.
11935 * ntproc.c (sys_spawnve):
11936 Account for win32_ -> mswindows_.
11939 * process-nt.c (struct nt_process_data):
11940 * process-nt.c (ensure_console_window_exists):
11941 * process-nt.c (compare_env):
11942 * process-nt.c (nt_create_process):
11943 * process-nt.c (nt_kill_process_by_pid):
11944 * process-nt.c (syms_of_process_nt):
11945 * process-nt.c (vars_of_process_nt):
11946 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
11947 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
11948 changes). Eliminate our old `nt-quote-process-args' mechanism.
11949 Synch up nt_create_process with FSF 20.6 sys_spawnve.
11950 Move compare_env here from ntproc.c.
11952 * process.c (Fprocess_send_region):
11953 Takes an optional fourth argument, BUFFER, which should fix some
11954 problems with call-process.
11957 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
11960 Move ICC_BAR_CLASSES to syscommctrl.h.
11961 Add preliminary macros for MSWindows/Mule. More to come.
11964 * unexnt.c (unexec):
11965 open_output_file moved to nt.c.
11968 2000-05-05 Andy Piper <andy@xemacs.org>
11970 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
11971 instance from the frame cache also since GC may catch up too late
11972 to make frame deletion sane.
11974 2000-05-04 Andy Piper <andy@xemacs.org>
11976 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
11977 (x_finalize_image_instance): ungcpro on deletion.
11979 * glyphs.c (image_instantiator_format_create): give pointers a
11980 query geometry method so that the geometry is at least set.
11982 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
11983 initialize layouts if using widgets.
11985 2000-05-03 Andy Piper <andy@xemacs.org>
11987 * nt.c: remove bogus reference to sysmmsystem.h
11989 * gui-x.c (popup_selection_callback): fix no selection abort.
11991 2000-05-02 Andy Piper <andy@xemacs.org>
11993 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
11994 (mswindows_widget_instantiate): ditto.
11996 * glyphs-widget.c (initialize_widget_image_instance): initialize
11997 children correctly.
11998 (widget_instantiate): cope with children and items in the same
12001 * glyphs.c (mark_image_instance): cope with children as a first
12003 (image_instance_equal): ditto.
12004 (image_instance_hash): ditto.
12005 (image_instance_changed): ditto.
12007 2000-04-30 Andy Piper <andy@xemacs.org>
12009 * glyphs.c (subwindow_query_geometry): new function. Return some
12011 (subwindow_instantiate): don't assign dimensions if none have been
12013 (image_instantiator_format_create): add subwindow_query_geometry.
12014 (print_image_instance): cope with layouts as widgets.
12016 2000-04-29 Andy Piper <andy@xemacs.org>
12018 * frame.c (delete_frame_internal): call
12019 free_frame_subwindow_instance_cache so that all subwindows are
12020 finalized before their parent.
12021 (mark_frame): remove subwindow_cachels.
12022 (Fmake_frame): remove subwindow_cachel manipulation.
12023 (allocate_frame_core): subwindow_instance_cache is a weak list.
12024 (delete_frame_internal): set subwindow_instance_cache to nil.
12026 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12028 (mswindows_finalize_image_instance): use the device
12029 not the domain as the domain may have died already.
12031 * glyphs-x.c (x_finalize_image_instance): ditto.
12032 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12035 * redisplay-output.c (redisplay_unmap_subwindows): update for
12036 subwindow instance cache as a weak list.
12037 (redisplay_unmap_subwindows_maybe): ditto.
12038 (redisplay_unmap_subwindows_except_us): ditto.
12040 * glyphs.c (unmap_subwindow): error checking will check the domain
12041 so don't deal with it here. Don't use cachels anymore.
12042 (map_subwindow): ditto.
12043 (update_subwindow_cachel_data): remove old accessor names.
12044 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12045 (Fresize_subwindow): don't update cachel.
12046 (mark_subwindow_cachels):
12047 (update_subwindow_cachel_data):
12048 (add_subwindow_cachel):
12049 (get_subwindow_cachel_index):
12050 (update_subwindow_cachel):
12051 (reset_subwindow_cachels):
12052 (mark_subwindow_cachels_as_not_updated): deleted.
12053 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12054 subwindow instance to the frame cache.
12055 (find_matching_subwindow): update for subwindow instance cache as
12057 (update_widget_instances): ditto.
12058 (image_instance_type_to_mask):inlined.
12059 (free_frame_subwindow_instance_cache): new function. finalize all
12060 subwindows that are instantiated.
12062 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12063 of cachel information.
12064 (IMAGE_INSTANCE_DISPLAY_X):
12065 (IMAGE_INSTANCE_DISPLAY_Y):
12066 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12067 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12068 (XIMAGE_INSTANCE_DISPLAY_X):
12069 (XIMAGE_INSTANCE_DISPLAY_Y):
12070 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12071 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12072 remove subwindow_cachel structure and function references.
12073 (image_instance_type_to_mask): inline from glyphs.c
12075 * redisplay.c (redisplay_frame): remove subwindow_cachel
12078 * frame.h (struct frame): remove subwindow_cachels.
12079 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12081 * frameslots.h: add subwindow_instance_cache.
12083 * window.c (replace_window): check subwindow cache of replacement.
12084 (window_unmap_subwindows_cache_mapper):
12085 (window_unmap_subwindows): new functions. Unmap all subwindows
12086 cached on this window.
12087 (mark_window_as_deleted): unmap all subwindows.
12089 2000-04-27 Andy Piper <andy@xemacs.org>
12091 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12093 * glyphs-widget.c (widget_layout): return something.
12094 (layout_layout): return something. Fail if not initialized.
12095 (layout_query_geometry): ditto.
12096 (image_instantiator_native_layout): new function. Initialized the
12097 native layout type.
12098 (widget_instantiate): don't do layout stuff here.
12100 * glyphs.c (instantiate_image_instantiator): reorded calling or
12101 instantiate and post_instantiate with layout in between.
12102 (image_instance_layout): be more selective about deciding whether
12103 the layout has been done or not.
12105 * glyphs.h (struct image_instantiator_methods): return a value
12106 from layout_method.
12108 2000-04-26 Andy Piper <andy@xemacs.org>
12110 * glyphs.c (allocate_image_instance): make initial width and
12111 height unspecified. Set initialized to 0.
12113 * syscommctrl.h new file. Encapsulates commctrl.h.
12115 * syswindows.h new file. Encapsulates windows.h.
12117 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12119 * console-msw.h: ditto.
12121 * redisplay-tty.c (tty_output_display_block): remove layout references.
12123 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12124 window handle rather than just the frame.
12126 * glyphs.c (mark_image_instance): remove layout references.
12127 (print_image_instance): ditto.
12128 (image_instance_equal): ditto.
12129 (image_instance_hash): ditto.
12130 (decode_image_instance_type): ditto.
12131 (encode_image_instance_type): ditto.
12132 (image_instantiate): ditto.
12133 (allocate_glyph): ditto.
12134 (Fimage_instance_height): ditto.
12135 (Fimage_instance_width): ditto.
12136 (update_subwindow): ditto.
12138 * redisplay-x.c (x_output_display_block): recode for layouts as
12141 * redisplay-output.c (redisplay_output_layout): recode for layouts
12143 (compare_runes): remove layout references.
12145 * redisplay-msw.c (mswindows_output_display_block): recode for
12146 layouts as widgets.
12148 * glyphs-widget.c (image_instantiator_layout): remove
12149 layout_possible_dest_types.
12150 (layout_possible_dest_types): deleted.
12152 * glyphs.h (image_instance_type): remove layout references.
12153 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12154 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12155 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12157 2000-04-25 Andy Piper <andy@xemacs.org>
12159 * glyphs-widget.c (image_instantiator_buttons):
12160 (image_instantiator_edit_fields):
12161 (image_instantiator_combo_box):
12162 (image_instantiator_scrollbar):
12163 (image_instantiator_progress_guage):
12164 (image_instantiator_tree_view):
12165 (image_instantiator_tab_control):
12166 (image_instantiator_labels):
12167 (image_instantiator_layout): call default post_instantiate method.
12168 (widget_post_instantiate): new function. Simply lays out the
12171 * glyphs.h (struct image_instantiator_methods): add
12172 post_instantiate method.
12174 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12177 2000-04-23 Andy Piper <andy@xemacs.org>
12179 * glyphs.h (struct image_instantiator_methods): add
12180 decode_domain_method.
12181 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12182 derived from the domain.
12183 (IMAGE_INSTANCE_FRAME): new accessor.
12184 (XIMAGE_INSTANCE_FRAME): ditto.
12186 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12187 instead of _SUBWINDOW_FRAME.
12188 (finalize_image_instance): ditto.
12189 (Fimage_instance_foreground): ditto.
12190 (Fimage_instance_background): ditto.
12191 (image_instantiate): ditto.
12192 (update_subwindow_cachel): ditto.
12193 (update_subwindow): ditto.
12194 (unmap_subwindow): ditto.
12195 (map_subwindow): ditto
12196 (subwindow_instantiate): ditto.
12197 * glyphs-msw.c (mswindows_update_widget): ditto.
12198 (mswindows_progress_gauge_instantiate): ditto.
12199 (mswindows_tab_control_update): ditto.
12200 * glyphs-x.c (x_update_widget): ditto.
12201 (x_widget_instantiate): ditto.
12202 (x_tab_control_instantiate): ditto.
12203 (x_tab_control_update): ditto.
12204 * event-msw.c (mswindows_wnd_proc): ditto
12206 * glyphs-widget.c (image_instantiator_layout): use
12207 subwindow_decode_domain.
12208 (image_instantiator_buttons): ditto.
12209 (image_instantiator_edit_fields): ditto.
12210 (image_instantiator_combo_box): ditto.
12211 (image_instantiator_scrollbar): ditto.
12212 (image_instantiator_progress_guage): ditto.
12213 (image_instantiator_tree_view): ditto.
12214 (image_instantiator_tab_control): ditto.
12215 (image_instantiator_labels): ditto.
12216 (image_instantiator_layout): ditto.
12218 * glyphs.c: add instance error checking to many functions.
12219 (instantiate_image_instantiator): decode device from cache_domain.
12220 (image_instantiate): partially rewrite by using
12221 decode_image_instantiator_domain to determine what domain the
12222 instance needs to be cached in.
12223 (decode_image_instantiator_domain): new function. Determine what
12224 domain the image needs to be cached in.
12225 (check_window_subwindow_cache): new error checking function.
12226 (check_instance_cache_mapper): ditto.
12227 (check_image_instance_structure): ditto.
12228 (subwindow_decode_domain): new function. Encodes a window as a
12229 subwindow's cache domain.
12230 (image_instantiator_format_create): use it for text and
12233 2000-04-21 Andy Piper <andy@xemacs.org>
12235 * glyphs.c (image_instance_device): new function.
12236 (image_instance_frame): new function.
12237 (image_instance_window): new function.
12238 (image_instance_live_p): new function.
12240 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12243 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12244 (IMAGE_INSTANCE_DOMAIN): new accessor.
12245 (XIMAGE_INSTANCE_DOMAIN): ditto.
12247 * glyphs-x.c (x_finalize_image_instance): device->domain.
12249 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12250 (mswindows_finalize_image_instance): ditto.
12252 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12253 (gif_instantiate): ditto.
12254 (png_instantiate): ditto.
12255 (tiff_instantiate): ditto.
12257 * glyphs.c (instantiate_image_instantiator): use domain rather
12259 (mark_image_instance): device -> domain.
12260 (print_image_instance): ditto.
12261 (finalize_image_instance): ditto.
12262 (image_instance_equal): ditto.
12263 (allocate_image_instance): ditto.
12264 (Fcolorize_image_instance): ditto.
12265 (query_string_geometry): ditto.
12266 (image_instantiate): ditto
12267 (query_string_font): ditto.
12268 (image_instantiate): ditto.
12269 (update_subwindow): ditto.
12270 (unmap_subwindow): ditto.
12271 (map_subwindow): ditto.
12272 (subwindow_instantiate): ditto.
12274 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12275 (DOMAIN_FRAME): ditto.
12276 (DOMAIN_WINDOW): ditto.
12277 (DOMAIN_LIVE_P): ditto.
12278 (XDOMAIN_DEVICE): ditto.
12279 (XDOMAIN_FRAME): ditto.
12280 (XDOMAIN_WINDOW): ditto.
12282 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12283 a valid specifier domain.
12285 2000-04-19 Andy Piper <andy@xemacs.org>
12287 * glyphs-widget.c (syms_of_glyphs_widget): remove
12288 widget-callback-current-channel.
12289 (vars_of_glyphs_widget): ditto.
12292 * gui.c (get_gui_callback): revert to previous behaviour.
12294 2000-04-18 Andy Piper <andy@xemacs.org>
12296 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12297 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12298 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12300 * glyphs.c (image_instance_equal): add margin_width.
12301 (image_instance_hash): ditto.
12303 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12304 (layout_query_geometry): ditto.
12305 (layout_layout): ditto.
12306 (syms_of_glyphs_widget): add margin-width.
12307 (image_instantiator_layout): allow margin-width.
12309 * glyphs.c (update_widget_instances): make a normal function.
12310 (syms_of_glyphs): remove Qupdate_widget_instances.
12313 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12314 so that we don't corrupt ideas about the last event or
12315 command. Remove widget-callback-current-channel fiddling.
12316 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12318 2000-05-01 Martin Buchholz <martin@xemacs.org>
12320 * XEmacs 21.2.33 is released.
12322 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12324 * make-src-depend: Allow dots in header file name.
12326 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12328 * mule-charset.h (struct charset_lookup): Add
12329 next_allocated_1_byte_leading_byte and
12330 next_allocated_2_byte_leading_byte.
12331 * mule-charset.c: Move above two variables so that those values
12334 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12336 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12337 when string length is zero.
12338 (find_charsets_in_emchar_string): Ditto.
12340 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12342 * lisp.h: extern Qdialog and Qmenubar.
12344 * gui-x.c: added events.h.
12345 also fixed typo which made the file uncompilable.
12347 * general.c: Added Qmenubar and Qdialog
12349 2000-04-28 Ben Wing <ben@xemacs.org>
12351 * frame-msw.c (mswindows_init_frame_1):
12352 * frame-msw.c (mswindows_mark_frame):
12353 * event-msw.c (mswindows_enqueue_dispatch_event):
12355 * console-msw.h (struct mswindows_frame):
12356 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12357 there are now three hash tables for callbacks.
12358 mswindows_enqueue_dispatch_event is no longer static.
12360 * dialog-x.c (maybe_run_dbox_text_callback):
12361 * dialog-x.c (dbox_descriptor_to_widget_value):
12362 switch to new cons3 form for callbacks.
12364 * glyphs-msw.c (mswindows_register_gui_item):
12365 * glyphs-msw.c (mswindows_widget_instantiate):
12366 * glyphs-msw.c (add_tree_item):
12367 * glyphs-msw.c (add_tab_item):
12368 new image instance parameter, so it can be passed to callback-ex.
12369 respect :callback-ex as well as :callback.
12371 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12374 * glyphs.c (print_image_instance):
12375 prettify, e.g. now prints widget type.
12378 certain funs have new image instance parameter.
12381 * gui.c (get_gui_callback):
12382 * gui.c (gui_item_add_keyval_pair):
12383 * gui.c (gui_item_init):
12384 * gui.c (gui_add_item_keywords_to_plist):
12385 * gui.c (mark_gui_item):
12386 * gui.c (gui_item_hash):
12387 * gui.c (gui_item_equal):
12388 * gui.c (copy_gui_item):
12389 * gui.c (syms_of_gui):
12390 recognize callback-ex in a number of places.
12391 also, fix the annoying "can't get out of yes-no dialog" bug.
12394 * gui.h (struct Lisp_Gui_Item):
12395 recognize callback-ex in a number of places.
12397 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12398 new parameter in button_item_to_widget_value.
12400 * glyphs-x.c (x_update_widget):
12401 * glyphs-x.c (x_button_instantiate):
12402 * glyphs-x.c (x_button_update):
12403 * glyphs-x.c (x_progress_gauge_instantiate):
12404 * glyphs-x.c (x_edit_field_instantiate):
12405 * glyphs-x.c (x_combo_box_instantiate):
12406 * glyphs-x.c (x_tab_control_instantiate):
12407 * glyphs-x.c (x_label_instantiate):
12408 new image instance parameter in various places.
12411 * event-Xt.c (enqueue_Xt_dispatch_event):
12412 this fun gets exported.
12415 * gui-msw.c (mswindows_handle_gui_wm_command):
12416 handle both :callback and :callback-ex, and generate our own
12417 event because it's one of the callback-ex arguments.
12420 * gui-x.c (popup_selection_callback):
12421 handle both :callback and :callback-ex, and generate our own
12422 event because it's one of the callback-ex arguments.
12423 * gui-x.c (button_item_to_widget_value):
12424 * gui-x.c (gui_items_to_widget_values_1):
12425 * gui-x.c (gui_item_children_to_widget_values):
12426 * gui-x.c (gui_items_to_widget_values):
12427 new image instance parameter in various places.
12429 * fns.c (Freplace_list):
12430 fix small typo in doc string.
12433 declare enqueue_Xt_dispatch_event.
12435 2000-04-28 Ben Wing <ben@xemacs.org>
12438 * buffer.c (Frecord_buffer):
12439 * buffer.c (syms_of_buffer):
12440 delete record-buffer-hook.
12443 * fns.c (Freplace_list):
12444 * fns.c (syms_of_fns):
12445 new primitive replace-list.
12448 slot for old buffer-alist.
12451 exfun replace-list.
12454 * redisplay.c (redisplay_frame):
12455 * redisplay.c (syms_of_redisplay):
12456 * redisplay.c (vars_of_redisplay):
12457 new hook buffer-list-changed-hook.
12460 2000-04-27 Ben Wing <ben@xemacs.org>
12462 * extents.h: extern in_modeline_generation.
12464 * redisplay.c (generate_formatted_string_db): set
12465 in_modeline_generation.
12467 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12468 flags if in modeline generation. otherwise frame-modified-tick
12469 is ticked far too often.
12470 Declare in_modeline_generation.
12472 2000-04-26 Ben Wing <ben@xemacs.org>
12474 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12476 (vars_of_emacs): add quick-build as an error-checking option.
12477 A bit kludgy, but there doesn't seem much point in creating
12478 a real var for this.
12480 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12482 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12484 * redisplay.h (struct display_line): Add a new variable,
12487 * redisplay.c (create_text_block): Set dl->line_continuation if
12488 the line continues.
12489 (create_string_text_block): Ditto.
12490 (regenerate_window_incrementally): Use line_continuation instead
12491 of searching continuation glyph.
12492 (add_margin_runes): Call add_glyph_rune.
12493 (add_glyph_rune): Handle margin glyph.
12495 2000-04-20 Martin Buchholz <martin@xemacs.org>
12497 * filelock.c (fill_in_lock_file_name):
12499 Check for IS_ANY_SEP instead of '/'.
12501 Avoid generating gratuitous garbage. Call user_login_name() directly.
12502 Never check errno without first seeing that system call failed.
12503 (unlock_file): Add GCPRO.
12504 (Flock_buffer): Fix docstring.
12505 (Ffile_locked_p): Fix docstring. Add GCPRO.
12507 2000-04-19 Martin Buchholz <martin@xemacs.org>
12509 * sysdep.c (get_pty_max_bytes):
12510 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12511 strings longer than 252 bytes.
12513 * md5.c: Unconditionally include ANSI header <limits.h>
12515 * glyphs-x.c (convert_EImage_to_XImage):
12516 * lisp-union.h (union Lisp_Object):
12517 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12519 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12521 * filelock.c (current_lock_owner): Remove unused variable o, p.
12523 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12525 * callint.c: Remove multiply defined symbol Qlet
12526 (syms_of_callint): ditto.
12528 2000-04-14 Andy Piper <andy@xemacs.org>
12530 * general.c (syms_of_general): add last-command, this-command, let
12533 * lisp.h: declare various symbols.
12535 * glyphs.h: declare Qwidget_callback_current_channel;
12537 * glyphs-widget.c (syms_of_glyphs_widget): add
12538 Qgui_callback_current_channel.
12539 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12541 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12542 widget-callback-current-channel when invoking the interactive
12543 arg. Also bind last-command and next-command when invoking the
12545 * gui-x.c (popup_selection_callback): ditto.
12547 * gui.c (get_gui_callback): massage args so that we are always
12548 calling eval. This allows us to add our own variable bindings
12551 * glyphs-x.c (x_button_instantiate): use
12552 gui_items_to_widget_values since this is GC safe.
12553 (x_progress_gauge_instantiate): ditto.
12554 (x_edit_field_instantiate): ditto.
12555 (x_label_instantiate): ditto.
12557 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12558 (emacs_Xt_event_widget_focus_out): new function
12559 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12561 (emacs_Xt_event_add_widget_actions): new function. add focus
12562 functions as actions.
12563 (init_event_Xt_late): use it.
12565 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12567 * event-stream.c (Fdispatch_event): Doc fix.
12569 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12571 * postgresql.c: Remove all references to PQsetenv*.
12573 * postgresql.h: Remove references to PGsetenvHandler object.
12574 * lrecord.h (lrecord_type): Ditto.
12576 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12578 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12579 real_heigh and real_width members, and accessor macros for these.
12581 * glyphs-msw.c (init_image_instance_geometry): New function.
12582 (init_image_instance_from_dibitmap): Use it.
12583 (mswindows_resource_instantiate): Use it.
12584 (init_image_instance_from_xbm_inline): Use it.
12585 (mswindows_initialize_image_instance_mask): Use real bitmap
12587 (mswindows_create_resized_bitmap): Ditto.
12588 (mswindows_create_resized_mask): Ditto.
12590 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12591 and bitmap to their surface size.
12593 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12595 * process-unix.c (unix_send_process): Guard against process MIA
12596 after Faccept_process_output.
12598 2000-04-11 Ben Wing <ben@xemacs.org>
12600 * eval.c (unbind_to_hairy): fix brokenness introduced by
12601 nanosecond speed improvements.
12603 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12605 * sunplay.c (init_device): To play sounds correctly, the device
12606 apparently needs to be initialized at least once by XEmacs. Make
12609 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12611 * redisplay.c (add_margin_runes): Add text image glyph
12614 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12616 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12617 gcc is newer than 2.5.
12619 2000-04-06 Colin Rafferty <colin@xemacs.org>
12621 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12623 * fns.c (size_bit_vector):
12624 * alloc.c (size_vector):
12625 (make_vector_internal):
12626 (make_bit_vector_internal):
12627 (sweep_bit_vectors_1):
12628 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12630 2000-04-06 Andy Piper <andy@xemacs.org>
12632 * gmalloc.c (malloc): undo previous change.
12637 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12639 * line-number.c (buffer_line_number): Revert to former version.
12641 2000-04-06 Andy Piper <andy@xemacs.org>
12643 * gmalloc.c (malloc): add error checking.
12648 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12649 button_item_to_widget_value arg.
12651 * glyphs-x.c (x_button_instantiate): add extra
12652 button_item_to_widget_value arg.
12653 (x_progress_gauge_instantiate): ditto.
12654 (x_edit_field_instantiate): ditto.
12655 (x_label_instantiate): ditto.
12657 * gui-x.c (gui_items_to_widget_values_1): add extra
12658 button_item_to_widget_value arg.
12659 (button_item_to_widget_value): add extra menu_item_p arg.
12661 * gui-x.h: change signature of button_item_to_widget_value.
12663 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12664 button_item_to_widget_value arg.
12666 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12668 * buffer.h (struct buffer): auto_save_modified should be long.
12670 2000-04-05 Andy Piper <andy@xemacs.org>
12672 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12674 (button_query_geometry): give a little more room so that athena
12677 2000-04-05 Andy Piper <andy@xemacs.org>
12679 * faces.c (complex_vars_of_faces): The widget face should inherit
12680 the font of the gui-element face.
12682 2000-04-04 Andy Piper <andy@xemacs.org>
12684 * glyphs-x.c (x_button_update): new function. unconditionally
12685 update a button's state when the instance is dirty.
12686 (image_instantiator_format_create_glyphs_x): add x_button_update.
12687 (x_widget_instantiate): remove old resize cruft.
12689 2000-04-02 Andy Piper <andy@xemacs.org>
12691 * frame.c (change_frame_size_1): The introduction of gutters means
12692 that we need to allow 0 as a potential frame dimension.
12694 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12696 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12697 image glyph if allow_cursor.
12698 (add_hscroll_rune): Don't allow cursor to border glyph.
12699 (create_text_block): Ditto.
12701 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12702 text not in buffer.
12703 (redisplay_output_layout): Call ensure_face_cachel_complete for
12707 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12709 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12711 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12714 * redisplay-tty.c (tty_output_display_block): Delete the routine
12715 for text image glyph
12716 * redisplay-x.c (x_output_display_block): ditto
12717 * redisplay-msw.c (mswindows_output_display_block): ditto
12719 2000-02-02 Mike Alexander <mta@arbortext.com>
12721 Note: Some of these were committed by accident as part of other
12724 * regex.c (regex_compile): Avoid compiler warnings.
12726 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12728 * nt.h: Declare term_ntproc correctly.
12730 * nt.c: Remove incorrect declaration of get_home_directory which
12731 is declared correctly in lisp.h.
12733 * keymap.c (get_keyelt): Avoid compiler warnings.
12734 (raw_lookup_key_mapper): Avoid compiler warnings.
12736 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12738 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12740 * filemode.c (mode_string): Avoid compiler warnings.
12742 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12745 * events-mod.h: Undef some things that winuser.h defines differently.
12747 * data.c (Faset): Avoid compiler warnings.
12749 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12751 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12753 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12754 Fall through to simple beep on error.
12755 Replace "extern" by real header file.
12757 * linuxplay.c: Use nativesound.h
12758 (play_sound_data): Return error code. Be less verbose on error.
12760 * sunplay.c: Use nativesound.h
12761 (play_sound_data): Return error code. Be less verbose on error.
12763 * ntplay.c: Use nativesound.h
12764 (play_sound_data): Return fake error code
12766 * sgiplay.c: Use nativesound.h
12767 (play_sound_data): Return error code
12769 * hpplay.c: Use nativesound.h, partially implement
12770 new error code. Break compilation until finished.
12771 (play_sound_data): error code.
12773 * nativesound.h (play_sound_file):
12774 (play_sound_data): Prototype in new header.
12776 2000-03-31 Andy Piper <andy@xemacs.org>
12778 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12779 for toggle and radio buttons.
12780 (image_instantiator_buttons): use it.
12782 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12784 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12785 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12786 found. Scrollbar event probably belonged to some old config.
12788 2000-03-31 Andy Piper <andy@xemacs.org>
12790 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12792 (initialize_widget_image_instance): default layout to
12793 LAYOUT_HORIZONTAL rather than 0.
12794 (widget_instantiate): reverse the item list at the end rather than
12796 (layout_layout): re-code for the border text at the front of the
12797 item list rather than at the end.
12798 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12799 provided by the user.
12800 (widget_query_geometry): comment.
12802 2000-03-30 Andy Piper <andy@xemacs.org>
12804 * glyphs-widget.c (image_instantiator_layout): allow standard
12805 widget keywords in layouts.
12807 * gutter.c (output_gutter): cope with nil gutter contents.
12809 * frame.c (Fset_frame_properties): add gutter docs.
12811 2000-03-29 Andy Piper <andy@xemacs.org>
12813 * toolbar-msw.c (TBSTYLE_FLAT): add.
12814 (mswindows_output_toolbar): minor fiddling.
12816 2000-03-29 Andy Piper <andy@xemacs.org>
12818 * gutter.c (output_gutter): force gutter size recalculation if
12819 what we are trying to display won't fit.
12820 (update_gutter_geometry): new function. A per-gutter version of
12821 update_frame_gutter_geometry.
12822 (update_frame_gutter_geometry): use it.
12823 (redraw_exposed_gutter): add extra debugging output.
12825 2000-03-28 Mike Alexander <mta@arbortext.com>
12827 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12828 (pdump_file_unmap): Implement it on Windows
12829 (pdump_file_get): Save alocated handles for pdump_file_unmap
12831 2000-03-28 Andy Piper <andy@xemacs.org>
12833 * gui.c (get_gui_callback): treat Quit specially.
12835 2000-03-27 Andy Piper <andy@xemacs.org>
12837 * glyphs.c (image_instantiate): be careful to check in the same
12840 2000-03-27 Didier Verna <didier@xemacs.org>
12842 * config.h.in: define the proper SMART_INCLUDE macro.
12843 handle renaming of `foo_h_path' to `foo_h_file'.
12845 * database.c: ditto.
12849 * linuxplay.c: ditto.
12851 * terminfo.c: ditto.
12853 * tooltalk.h: ditto.
12855 2000-03-27 Andy Piper <andy@xemacs.org>
12857 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12858 gets updated whenever the face might have changed.
12860 2000-03-26 Mike Alexander <mta@arbortext.com>
12862 * dumper.c (pdump_resource_free): Fix the comment.
12864 2000-03-21 Olivier Galibert <galibert@pobox.com>
12866 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12868 2000-03-22 Mike Alexander <mta@arbortext.com>
12870 * dumper.c: Include Windows headers on Windows
12871 (pdump_resource_free): Add a body to the function
12872 (pdump_load): exe_name -> exe_path and add some comments.
12874 2000-03-25 Mike Alexander <mta@arbortext.com>
12876 * gui.c (copy_gui_item_tree): Return a value in all cases
12878 2000-03-21 Didier Verna <didier@xemacs.org>
12880 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12882 (SMART_INCLUDE): new macro.
12883 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12884 the proper location.
12886 * postgresql.c: use it.
12890 2000-03-24 Andy Piper <andy@xemacs.org>
12892 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12895 2000-03-24 Andy Piper <andy@xemacs.org>
12897 * redisplay-output.c (compare_runes): use image_instance_changed
12898 to detect changes. Do not depend on glyphs_changed, only depend on
12900 (redisplay_output_layout): add debug messages.
12901 (compare_runes): ditto.
12903 * glyphs.h: declare new functions.
12904 (struct Lisp_Image_Instance): remove percent and associated
12907 * gui.h: declare new copying functions.
12909 * gui.c (copy_gui_item_tree): new function.
12910 (copy_gui_item): new function.
12911 (gui_item_id_hash): revert to standard hash.
12912 (gui_item_hash): ditto.
12913 (gui_item_hash_internal): deleted.
12914 (mark_gui_item): mark value.
12915 (gui_item_add_keyval_pair): add value.
12916 (gui_item_init): ditto.
12917 (gui_add_item_keywords_to_plist): ditto.
12918 (gui_item_equal): ditto.
12919 (syms_of_gui): add Q_value.
12921 * glyphs-x.c (x_progress_gauge_update): use pending items and
12922 value for setting the state.
12923 (x_update_widget): don't set items from pending here.
12925 * glyphs-widget.c (update_widget): update items here.
12926 (progress_gauge_set_property): use items for storing value. Put
12927 new value in pending items.
12929 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12930 items for new value. Convert percent -> value.
12931 (mswindows_tab_control_update): don't update items here.
12933 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12934 (update_subwindow): ditto.
12935 (image_instance_changed): new function. Compare hash values and
12936 past and present widget items.
12937 (image_instantiate): We more careful about where we instantiate
12939 (image_instantiate): add error checking.
12941 * gutter.c (syms_of_gutter): use -hook.
12943 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
12945 * console-tty.c (Fset_console_tty_input_coding_system): Use
12947 (Fset_console_tty_output_coding_system): Use Qterminal.
12948 (tty_init_console): Use Qkeyboard and Qterminal.
12950 2000-03-21 Ben Wing <ben@xemacs.org>
12952 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
12953 From Mike Alexander <mta@arbortext.com>.
12955 2000-03-21 Ben Wing <ben@xemacs.org>
12957 * event-msw.c (mswindows_need_event): Horrible kludge to fix
12958 process brokenness. Proper implementation to come.
12960 Rename call-process-internal to old-call-process-internal.
12961 New impl. in process.el.
12963 2000-03-21 Martin Buchholz <martin@xemacs.org>
12965 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
12967 2000-03-20 Andy Piper <andy@xemacs.org>
12969 * glyphs.c (full_list_hash): make hashes of the same elements in
12970 different orders return different values.
12972 2000-03-20 Martin Buchholz <martin@xemacs.org>
12974 * XEmacs 21.2.32 is released.
12976 2000-03-20 Martin Buchholz <martin@xemacs.org>
12978 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
12979 (DFC_MALLOC_USE_CONVERTED_DATA):
12980 Add aliasing-safe casts to allow use with char* or unsigned char*
12983 * eldap.c (Fldap_open):
12984 (Fldap_search_basic):
12987 Make C++-compilable.
12988 Make sure GCPRO'ed variables are initialized.
12989 Use temp variables to avoid repeated calls to Flength.
12991 2000-03-16 Martin Buchholz <martin@xemacs.org>
12994 Make sure PATH_MAX is always defined.
12995 Include limits.h for PATH_MAX.
12996 Deprecate use of MAXPATHLEN.
12998 2000-03-10 Martin Buchholz <martin@xemacs.org>
13000 * emacs.c: Add reinit_vars_of_fileio.
13001 * symsinit.h: Add reinit_vars_of_fileio.
13002 * fileio.c (reinit_vars_of_fileio): New.
13003 * fileio.c (Fmake_temp_name):
13004 Initialize temp_name random number from microseconds to make
13005 collisions even less likely. Initialize always at process startup
13006 time. (make-temp-name) used to return the same file name twice in
13008 Random stylistic fiddling.
13011 2000-03-20 Andy Piper <andy@xemacs.org>
13013 * glyphs.c (image_instantiate): allow text glyphs to be
13014 instantiated in the minibuffer window.
13016 2000-03-19 Andy Piper <andy@xemacs.org>
13018 * glyphs.c (image_instance_hash): be careful about which items we
13021 * glyphs-widget.c (tab_control_set_property): record into pending
13022 items rather than the actual items.
13024 * glyphs-x.c (x_update_widget): use pending items to update with.
13026 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13029 * glyphs.c (mark_image_instance): mark pending items.
13031 * window.c (Fset_window_configuration): record the buffer.
13032 (Fselect_window): totally revert previous change which breaks many
13035 2000-03-18 Andy Piper <andy@xemacs.org>
13037 * glyphs-msw.c (mswindows_tab_control_update): force selected
13040 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13041 window domain cache, otherwise we get inconsistencies at
13042 startup. There is something fishy at startup which can lead to the
13043 minibuffer being the selected window when the gutter content is
13046 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13048 (parse_gui_item_tree_children): ditto.
13049 (parse_gui_item_tree_item): ditto.
13051 * glyphs.c (Fupdate_widget_instances): return something.
13053 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13055 * window.c (Fselect_window): Undo 2000-03-17 change.
13057 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13059 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13060 against v7.0 libraries. Insta-coredump city until the postgres
13063 2000-03-17 Andy Piper <andy@xemacs.org>
13065 * faces.c (complex_vars_of_faces): don't give the widget face an
13066 inherited background pixmap.
13068 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13071 * event-stream.c (Fdispatch_non_command_events): return something.
13073 * gutter.c (output_gutter): use widget face.
13074 (clear_gutter): ditto.
13076 * NEWS: adjust again.
13078 * window.c (Fselect_window): make sure this runs to completion to
13079 avoid oddities with Fset_window_configuration.
13080 (Fcurrent_window_configuration): in general do not save the
13081 minibuffer as the selected window.
13083 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13085 2000-03-16 Olivier Galibert <galibert@pobox.com>
13087 * emacs.c (Frunning_temacs_p): Revert previous patch.
13088 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13090 2000-03-16 Andy Piper <andy@xemacs.org>
13092 * glyphs-x.c (x_tab_control_update): if no widget values then
13095 * NEWS: update for new features.
13097 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13098 synthetic event to the native system.
13099 (reinit_vars_of_event_Xt): set force_event_pending to
13100 emacs_Xt_force_event_pending.
13102 * events.h (struct event_stream): add force_event_pending.
13104 * specifier.c (recompute_one_cached_specifier_in_window): add
13107 * redisplay.c (redisplay_frame): don't call
13108 update_frame_subwindows. Reset subwindow cachels when
13109 subwindows_changed, removing this was an optimization too far.
13111 * redisplay-output.c (compare_runes): reorganize so that we catch
13112 glyph changes when we want them. Set optimize_output when this
13113 would help layouts.
13114 (redisplay_output_layout): remove frame_really_changed, use
13115 optimize_output instead.
13117 * redisplay-msw.c (mswindows_output_display_block): reset
13118 optimize_output after outputting a glyph.
13119 * redisplay-x.c (x_output_display_block): ditto.
13120 * redisplay-tty.c (tty_output_display_block): ditto.
13122 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13124 (gutter_specs_changed): do specific gutter positions.
13125 (top_gutter_specs_changed): new function. Only update the
13126 specified gutter specs.
13127 (bottom_gutter_specs_changed): ditto.
13128 (left_gutter_specs_changed): ditto.
13129 (right_gutter_specs_changed): ditto.
13131 * gui.c (gui_item_hash_internal): new function, does a real hash.
13132 (gui_item_id_hash): use it.
13133 (gui_item_hash): hash the eval'ed gui_item.
13135 * gui-x.c (popup_selection_callback): send an eval event to call
13136 Fupdate_widget_instances.
13138 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13139 to call Fupdate_widget_instances.
13141 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13142 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13144 * glyphs.c: (update_frame_subwindows): deleted.
13145 (Fupdate_widget_instances): new function for updating the dirty
13146 state of widgets that might have changed.
13147 (syms_of_glyphs): add Qupdate_widget_instances.
13148 (full_list_hash): hash a list completely.
13149 (image_instance_hash): use it for items and properties.
13151 * frame-msw.c (mswindows_size_frame_internal): remove unused
13154 * faces.h (struct face_cachel): fix comment.
13156 * event-stream.c (Fdispatch_non_command_events): new
13157 function. Process non-command events, forcing an event cycle
13159 (syms_of_event_stream): declare.
13160 (event_stream_force_event_pending): new function. Force an event
13161 on the native event queue so that an event cycle will occur next
13165 (struct ntpipe_shove_stream):
13166 (mswindows_enqueue_dispatch_event):
13167 (mswindows_dequeue_dispatch_event):
13168 (mswindows_cancel_dispatch_event):
13169 (mswindows_pump_outstanding_events):
13170 (mswindows_drain_windows_queue):
13171 (mswindows_handle_paint):
13172 (mswindows_wnd_proc):
13173 (mswindows_key_to_emacs_keysym):
13174 (get_process_input_waitable):
13175 (emacs_mswindows_delete_stream_pair): re-indent file.
13176 (mswindows_need_event): do not process further fds if the windows
13177 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13178 fixes the 100% cpu problem.
13179 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13181 2000-03-15 Olivier Galibert <galibert@pobox.com>
13187 * emacs.c: Moved dump file searching to dumper.c.
13188 (Frunning_temacs_p): Fixed.
13190 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13191 last_lrecord_type_index_assigned.
13193 2000-02-20 Olivier Galibert <galibert@pobox.com>
13195 * symsinit.h: Added reinit parameter to init_console_stream
13198 * lisp.h: Added file parameter to pdump_load declaration.
13200 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13201 support. Added dump file searching.
13203 * config.h.in: Added EMACS_PROGNAME.
13205 * console-stream.c (init_console_stream): Fix reinitialisation
13206 when running from temacs.
13208 * alloc.c (pdump): Add id support.
13209 (pdump_load): Add file parameter and signature/id support.
13211 * Makefile.in.in: Add full pdump support.
13213 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13215 * postgresql.c: Update documentation to reflect latest code
13217 (print_result): Show tuple counts in printed representation when
13219 (Fpq_put_nbytes): MULE-ize.
13220 (Fpq_get_line_async): Ditto.
13222 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13224 * postgresql.c (Fpq_lo_import): Fix return value.
13225 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13227 2000-03-13 Ben Wing <ben@xemacs.org>
13229 * alloc.c (pdump_load):
13230 Fix compile warning under mswin.
13232 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13234 * postgresql.c: Mule-ization, bug fixes.
13235 Use PG_CODING to encapsulate coding system name changes.
13236 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13237 (pg-coding-system): Create.
13239 (Fpq_conn_defaults): Mule-ize.
13240 (Fpq_connectdb): Mule-ize & bug fix.
13241 (Fpq_connect_start): Mule-ize.
13242 (Fpq_set_client_encoding): Mule-ize.
13243 (Fpq_finish): Document `DEAD' connection status.
13244 (Fpq_clear): Ditto.
13245 (Fpq_pgconn): Mule-ize.
13246 (Fpq_exec): Mule-ize & bug fix.
13247 (Fpq_send_query): Ditto.
13248 (Fpq_get_result): Ditto.
13249 (Fpq_res_status): Mule-ize.
13250 (Fpq_result_error_message): Mule-ize.
13251 (Fpq_ntuples): fix comments.
13252 (Fpq_fname): Mule-ize.
13253 (Fpq_fnumber): Mule-ize.
13254 (Fpq_ftype): fix comments.
13255 (Fpq_get_value): Mule-ize.
13256 (Fpq_cmd_status): Ditto.
13257 (Fpq_cmd_tuples): Ditto.
13258 (Fpq_oid_value): Ditto.
13259 (Fpq_notifies): Ditto.
13260 (Fpq_lo_import): Ditto.
13261 (Fpq_lo_export): Ditto.
13262 (Fpq_get_line): Ditto.
13263 (Fpq_put_line): Mule-ize and bug fix.
13264 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13266 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13268 * postgresql.c (vars_of_postgresql): Mule-ize.
13269 (Fpq_conn_defaults): Ditto.
13271 2000-03-12 Ben Wing <ben@xemacs.org>
13273 * alloc.c (Fmake_byte_code):
13274 * alloc.c (debug_string_purity_print):
13275 * alloc.c (pdump_backtrace):
13276 * alloc.c (pdump_get_indirect_count):
13277 * alloc.c (pdump_register_sub):
13278 * alloc.c (pdump_register_object):
13279 * alloc.c (pdump_register_struct):
13280 * alloc.c (pdump_dump_data):
13281 * alloc.c (pdump_reloc_one):
13285 * console-msw.c (GetConsoleHwnd):
13286 * console-msw.c (msw_hide_console):
13287 * console-msw.c (msw_show_console):
13288 * console-msw.c (msw_ensure_console_buffered):
13289 * console-msw.c (msw_output_console_string):
13290 * console-msw.c (console_type_create_mswindows):
13292 a) Added functions to manipulate the console window for use with
13295 b) Added support for writing text to the console, which is now
13296 used under Windows when xemacs is not being run non-interactively,
13297 to write text that would otherwise be destined for stdout because
13298 under these circumstances, text written to stdout tends to
13299 disappear and not be seen.
13303 * event-Xt.c (x_event_to_emacs_event):
13304 * event-Xt.c (describe_event_window):
13305 * events-mod.h (XEMACS_MOD_CONTROL):
13307 * events.c (Fmake_event):
13308 * events.c (character_to_event):
13309 * events.c (event_to_character):
13310 * events.c (format_event_object):
13311 * events.c (Fevent_modifiers):
13313 * events.h (struct key_data):
13314 * events.h (struct button_data):
13315 * events.h (struct misc_user_data):
13316 * frame-x.c (Fcde_start_drag_internal):
13317 * frame-x.c (Foffix_start_drag_internal):
13318 * gpmevent.c (Freceive_gpm_event):
13320 * keymap.c (bucky_sym_to_bucky_bit):
13321 * keymap.c (control_meta_superify):
13322 * keymap.c (make_key_description):
13323 * keymap.c (keymap_lookup_directly):
13324 * keymap.c (create_bucky_submap):
13325 * keymap.c (keymap_store):
13326 * keymap.c (define_key_check_and_coerce_keysym):
13327 * keymap.c (define_key_parser):
13328 * keymap.c (define_key_alternate_name):
13329 * keymap.c (Fdefine_key):
13330 * keymap.c (raw_lookup_key_mapper):
13331 * keymap.c (struct map_keymap_unsorted_closure):
13332 * keymap.c (map_keymap_unsorted_mapper):
13333 * keymap.c (map_keymap_sort_predicate):
13334 * keymap.c (map_keymap_sorted):
13335 * keymap.c (accessible_keymaps_mapper_1):
13336 * keymap.c (where_is_recursive_mapper):
13337 * keymap.c (describe_map_mapper):
13338 * keymap.c (describe_map_sort_predicate):
13339 * keymap.c (describe_map):
13340 * keymap.c (complex_vars_of_keymap):
13341 And a number of other files, the key modifier preprocessor
13342 constants that xemacs uses have names that conflict with constants
13343 defined under MS Windows for other purposes, so they were renamed
13344 to begin with the prefix XEMACS_. The variables that hold such
13345 modifiers were changed to consistently be of type int to fix
13346 various compile warnings.
13348 * console.c (complex_vars_of_console):
13351 * device-msw.c (mswindows_finish_init_device):
13352 * device-msw.c (msw_get_workspace_coords):
13353 * device-msw.c (mswindows_device_system_metrics):
13354 and various other files, added support for a new
13355 device property called offset-workspace which returns the position
13356 of the upper left corner of the workspace area and goes along with
13357 the existing size-workspace property.
13360 * dialog-msw.c (push_bufbyte_string_as_unicode):
13361 * dialog-msw.c (mswindows_popup_dialog_box):
13362 Added support for XEmacs-style accelerator specifications in
13363 button text. Note: I didn't add support for this under X Windows,
13364 and somebody needs to do this.
13367 * dialog.c (Fpopup_dialog_box):
13368 Documented the support for accelerators that was just mentioned.
13370 editfns.c (get_home_directory): Changed behavior under Windows
13371 when HOME not defined; former behavior was irretrievably broken.
13374 * emacs.c (main_1):
13376 * minibuf.c (clear_echo_area_internal):
13377 * minibuf.c (echo_area_append):
13379 * print.c (std_handle_out_external):
13380 * print.c (std_handle_out_va):
13382 * print.c (write_string_to_stdio_stream):
13383 * print.c (output_string):
13384 * print.c (debug_print):
13385 * print.c (debug_backtrace):
13386 * print.c (debug_short_backtrace):
13387 Cleaned up the code that prints text to stdout so that this can be
13388 changed to output into a console window instead under MS Windows,
13389 as described above.
13392 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13393 * eval.c (internal_catch):
13394 * eval.c (unwind_to_catch):
13395 * eval.c (throw_or_bomb_out):
13396 * eval.c (condition_case_1):
13397 * eval.c (signal_1):
13398 * eval.c (check_error_state_sanity):
13399 * eval.c (call_with_suspended_errors_1):
13400 * eval.c (call_with_suspended_errors):
13401 * eval.c (reinit_vars_of_eval):
13402 Added code to catch throw loops and check for a pesky bug that may
13406 * event-msw.c (key_needs_default_processing_p):
13407 * event-msw.c (mswindows_wnd_proc):
13408 * event-msw.c (mswindows_modifier_state):
13409 * event-msw.c (emacs_mswindows_quit_p):
13410 * event-msw.c (vars_of_event_mswindows):
13411 a) Added support for using the alt key to select menu items as is
13412 standard under MS Windows. This is controlled using the variable
13413 menu-accelerator-enabled, just like under X Windows. There is an
13414 option on the options menu to turn this support on. I really
13415 think that it should be on by default under Windows, but I'm not
13416 going to make this change yet.
13418 b) Added support for dynamic display size changes under Windows.
13421 * event-stream.c (maybe_echo_keys):
13422 * event-stream.c (Fnext_event):
13423 * event-stream.c (command_builder_find_leaf):
13424 * event-stream.c (lookup_command_event):
13425 * event-stream.c (execute_command_event):
13426 * event-stream.c (pre_command_hook):
13427 * event-stream.c (post_command_hook):
13428 * event-stream.c (syms_of_event_stream):
13429 * event-stream.c (vars_of_event_stream):
13430 * event-stream.c (complex_vars_of_event_stream):
13431 * events.h (struct command_builder):
13433 a) Tried to clean up a little bit the horribly written x-specific
13434 accelerator code that crept into this file. I moved this code
13435 into menubar-x.c where it belongs. I also needed to move the
13436 command builder structure into the file events.h because it is
13437 accessed directly by this accelerator code. What I didn't do, but
13438 which should be done at some point, is to properly abstract this
13439 code using device methods instead of the kludgy way that it
13440 currently hooks into the event code.
13442 b) Added the lisp variables this-command-properties and
13443 last-command- properties, which should be used to synchronize two
13444 adjacent commands in preference to playing games with the variable
13445 this-command, which is typically what happens.
13447 c) Added some slightly nasty code to hook into the lisp support
13448 for shifted- motion-key selection. This is actually necessary for
13449 somewhat complicated reasons, which are described in
13450 simple.el. (NB: I think the proper thing would be to have the code
13451 that calls the pre and post command hooks also call out to generic
13452 lisp functions in simple.el, where all built-in stuff could be
13453 added. I will think about this more.)
13455 * event-unixoid.c (poll_fds_for_input):
13456 * lread.c (readchar):
13457 * redisplay-tty.c (tty_clear_frame):
13458 * redisplay-x.c (x_get_gc):
13459 * signal.c (interrupt_signal):
13460 And a whole bunch of other files: fixed up places that printed
13461 directly to stderr to instead call the function stderr_out so that
13462 the changes I made under Windows work correctly.
13464 * filemode.c (mode_string):
13468 * frame-msw.c (mswindows_size_frame_internal):
13469 Fixed the computation of frame size and position to keep the frame
13470 within the workspace area, rather than within the physical
13471 dimensions of the screen, so that the frame doesn't overlap window
13472 manager decorations, such as the start menu and toolbar, typically
13473 at the bottom of the screen.
13475 * frame.c (vars_of_frame):
13476 Changed the default frame title format under MS Windows to consist
13477 of buffername-XEmacs, which is standard under MS Windows. I think
13478 it might be a good idea to change this everywhere because I think
13479 it is superior to the current frame title format, but this is the
13480 kind of change that is likely to cause some people to get annoyed,
13481 so I'm not making it.
13483 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13485 * gui-msw.c (mswindows_handle_gui_wm_command):
13486 Fixed compile warnings.
13489 * gui-x.c (strdup_and_add_accel):
13490 * gui-x.c (button_item_to_widget_value):
13492 Added code to automatically put an accelerator onto the beginning
13493 of menu items that don't have one as is now the standard, and is
13494 described more later. Also fixed things so that the menu item
13495 name can be an evaluated expression, again a new standard.
13498 * gui.c (gui_item_add_keyval_pair):
13499 * gui.c (make_gui_item_from_keywords_internal):
13500 * gui.c (gui_add_item_keywords_to_plist):
13501 * gui.c (gui_item_accelerator):
13502 * gui.c (gui_name_accelerator):
13503 * gui.c (gui_item_included_p):
13504 * gui.c (gui_item_display_flush_left):
13505 * gui.c (gui_item_display_flush_right):
13506 * gui.c (parse_gui_item_tree_item):
13507 * gui.c (parse_gui_item_tree_children):
13508 * gui.c (parse_gui_item_tree_list):
13509 Mule-ized. Cleanup. GCPRO addition.
13511 * line-number.c (buffer_line_number):
13513 * lisp.h (EMACS_INT_MAX):
13514 Added the manifest constant EMACS_INT_MIN corresponding to the
13515 existing constant EMACS_INT_MAX. This is partially to fix compile
13516 warnings under Windows, and partly for cleanliness.
13519 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13520 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13521 * menubar-msw.c (displayable_menu_item):
13522 * menubar-msw.c (populate_menu_add_item):
13523 * menubar-msw.c (populate_or_checksum_helper):
13524 * menubar-msw.c (populate_menu):
13525 * menubar-msw.c (update_frame_menubar_maybe):
13526 * menubar-msw.c (prune_menubar):
13527 * menubar-msw.c (msw_char_is_accelerator):
13528 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13529 * menubar-msw.c (mswindows_handle_wm_command):
13530 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13531 * menubar-msw.c (mswindows_handle_wm_initmenu):
13532 * menubar-msw.c (mswindows_update_frame_menubars):
13533 * menubar-msw.c (mswindows_free_frame_menubars):
13534 * menubar-msw.c (mswindows_popup_menu):
13535 Fixed a bug in handling accelerators where an extra character
13536 would be displayed in the menu item. Also generalized the
13537 function displayable_menu_item because it is now used by the
13538 dialog box code as well. And finally, added code in the functions
13539 that create the menubar to extract a list of accelerators for the
13540 top level menubar, which is used in the event code to determine
13541 whether a particular alt-key combination should be used to invoke
13542 a menu item, or should be passed through to access the standard
13543 XEmacs keymap binding for this key combination.
13545 Much needed GCPROing.
13548 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13549 * menubar-x.c (menu_item_descriptor_to_widget_value):
13550 * menubar-x.c (restore_in_menu_callback):
13551 * menubar-x.c (x_popup_menu):
13552 * menubar-x.c (menu_move_up):
13553 * menubar-x.c (menu_move_down):
13554 * menubar-x.c (menu_move_left):
13555 * menubar-x.c (menu_move_right):
13556 * menubar-x.c (menu_select_item):
13557 * menubar-x.c (command_builder_operate_menu_accelerator):
13558 * menubar-x.c (menu_accelerator_junk_on_error):
13559 * menubar-x.c (command_builder_find_menu_accelerator):
13560 * menubar-x.c (Faccelerate_menu):
13562 Moved a whole bunch of code here that was previously in
13563 event-stream.c as described above. There is also code connected
13564 to the new standard of adding an accelerator to the beginning of
13565 menu items that don't have one as described above and below.
13568 * menubar.c (menu_parse_submenu_keywords):
13569 * menubar.c (Fmenu_find_real_submenu):
13570 * menubar.c (Fnormalize_menu_item_name):
13571 * menubar.c (syms_of_menubar):
13572 * menubar.c (vars_of_menubar):
13573 * menubar.c (complex_vars_of_menubar):
13575 a) Cleaned up a bunch of documentation and improved it.
13577 b) XEmacs now automatically adds an accelerator onto the beginning
13578 of any menu items that don't have one. I did this because there
13579 will inevitably be some menu items on the main menubar that don't
13580 have accelerators on them because the package that adds that
13581 particular menu item hasn't yet been fixed up to have accelerators
13582 in them and it looked rather strange to have some items with and
13583 some items without accelerators, especially since even in items
13584 without accelerators, you can, at least under windows, still
13585 access the item through an accelerator corresponding to the first
13586 character in the item's name. If people don't like this behavior,
13587 I can add a variable to turn it off optionally, but I'm not sure
13588 this is a good idea because we really do need to have accelerators
13589 on all of the menu items, and if a package doesn't like the
13590 accelerators being put on the first character, then it should put
13591 the accelerators where they belong.
13593 c) I made a behavior change, which is that the descriptor that
13594 specifies the text of the menu item, which formerly was just a
13595 string, can now also be an evaluated expression. This makes this
13596 descriptor parallel with all of the others, which could also be
13597 evaluated expressions. This also obviates the need for the
13598 keyword :label, which was previously listed in the documentation
13599 as unimplemented, and which was for the same purpose.
13604 * ntproc.c (new_child):
13605 * ntproc.c (sys_spawnve):
13606 * ntproc.c (find_child_console):
13607 * ntproc.c (sys_kill):
13608 Fixed compile warnings. By the way, this file should really go
13609 away entirely, and this will happen as soon as Kirill makes his
13610 final round of process cleanups, which affect the function
13614 * process-nt.c (struct nt_process_data):
13615 * process-nt.c (find_process_from_pid):
13616 * process-nt.c (send_signal_the_nt_way):
13617 * process-nt.c (enable_child_signals):
13618 * process-nt.c (find_child_console):
13619 * process-nt.c (send_signal_the_95_way):
13620 * process-nt.c (nt_finalize_process_data):
13621 * process-nt.c (ensure_console_window_exists):
13622 * process-nt.c (nt_create_process):
13623 * process-nt.c (nt_kill_child_process):
13624 * process-nt.c (nt_kill_process_by_pid):
13625 * process-nt.c (nt_open_network_stream):
13626 * process-nt.c (vars_of_process_nt):
13627 Copied over code from Emacs 20.5 to correctly send signals to sub-
13628 processes under Windows 95. Also added code to automatically
13629 create and hide console window when a sub-process is created under
13630 Windows 95, which obviates the need for the separate runemacs.exe
13631 executable, and finally implemented some variables that were
13632 implemented in Emacs 20.5, but previously not in XEmacs. These
13633 include mswindows- start-process-share-console and
13634 mswindows-start-process-inherit-error-mode. (Both of these only
13635 apply to Windows 95.)
13637 * regex.c (regex_compile): Fixed a compile warning.
13640 * select-msw.c (mswindows_own_selection):
13641 * select-msw.c (mswindows_get_foreign_selection):
13642 * select-msw.c (mswindows_disown_selection):
13643 * select-msw.c (console_type_create_select_mswindows):
13644 * select-msw.c (syms_of_select_mswindows):
13645 Cleaned up the file and implemented the device method
13646 selection_exists_p, which had accidentally been left out. Also
13647 removed four lisp functions that were remnants from before the
13648 time when the selection code was properly device abstracted.
13649 These functions are no longer needed because there are generic
13650 equivalents, and because they were added recently and don't exist
13651 in FSF Emacs, I don't think there's any problem with just deleting
13655 * sysdep.c (sys_subshell):
13656 Fixed a compile warning, although in this case there's probably
13657 something wrong with this code, and it ought to be looked into
13658 more thoroughly by somebody who understands it.
13661 * window.c (Fwindow_text_area_height):
13662 * window.c (Fwindow_width):
13663 * window.c (Fwindow_full_width):
13664 * window.c (Fwindow_pixel_width):
13665 * window.c (debug_print_window):
13666 * window.c (syms_of_window):
13667 Added functions window-text-area-height and window-full-width,
13668 which are functions for returning various width and height
13669 characteristics of a window. (One of these functions is necessary
13670 for making the file dialog box work correctly, and the other one
13671 was added for completeness.) Also added a table to the
13672 documentation for window-height which describes the entire scheme
13673 for accessing width and height characteristics of a window.
13675 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13677 * nt.c (fstat): Added a comment for another problem with
13678 non-encapsulated [f]stat(), reported by Adrian Aichner
13679 <aichner@ecf.teradyne.com>.
13681 2000-03-11 Andy Piper <andy@xemacs.org>
13683 * window.c (make_dummy_parent): initialize subwindow instance
13685 (Fset_window_configuration): zero extent_modiff.
13687 2000-03-10 Andy Piper <andy@xemacs.org>
13689 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13690 more changes can be triggered.
13691 (Fredisplay_frame): ditto.
13692 (Fredraw_device): ditto.
13693 (Fredisplay_device): ditto.
13694 (redisplay_frame): make non-static.
13695 (redisplay_frame): call update_frame_gutter_geometry outside of
13698 * gutter.h: declare update_frame_gutter_geometry.
13700 * redisplay.h: declare redisplay_frame.
13702 * gutter.c (update_frame_gutter_geometry): move geometry changes
13703 in update_frame_gutters here. Geometry changes can only occur
13704 outside of redisplay.
13705 (update_frame_gutters): remove geometry change code.
13706 (Fredisplay_gutter_area): make sure that we are in display when we
13707 update and that we have flushed any size changes.
13709 2000-03-11 Andy Piper <andy@xemacs.org>
13711 * alloc.c (pdump_dump_data): remove i & count shadows.
13713 2000-02-27 Mike Alexander <mta@arbortext.com>
13715 * sysdep.h: Declare pdump_read_file
13717 * sysdep.c (pdump_read_file): New function
13719 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13722 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13724 * lrecord.h: add `lrecord_type_pgsetenv'.
13726 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13728 * symsinit.h: declare (vars|syms)_of* functions.
13729 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13731 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13733 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13735 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13738 * emacs.c (main_1): Call postgres initialization code.
13740 * postgresql.h: New file. PostgreSQL RDBMS support.
13741 * postgresql.c: New file.
13743 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13745 * redisplay-output.c (redisplay_output_display_block): Disable
13748 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13750 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13751 (Fcanna_henkan_next): Ditto.
13752 (Fcanna_bunsetu_henkou): Ditto.
13753 (Fcanna_henkan_kakutei): Ditto.
13754 (Fcanna_henkan_end): Ditto.
13755 (Fcanna_henkan_quit): Ditto.
13756 (Fcanna_henkan_next): Set retun value correctly.
13757 (c2mu): Use unsigned char instead of signed char.
13759 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13761 * emacs.c (main_1): Always call syms_of_gui.
13762 * inline.c: include gui.h
13764 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13766 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13767 converted to Lisp_Object.
13768 (Qtop_bottom): New variable.
13769 (syms_of_redisplay): Initialize it.
13770 * redisplay.h (Vvisible_bell): Ditto.
13771 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13772 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13773 only flash top and bottom.
13775 2000-03-08 Andy Piper <andy@xemacs.org>
13777 * buffer.c (Frename_buffer): record new buffer name the right way.
13779 2000-03-08 Andy Piper <andy@xemacs.org>
13781 * glyphs.c (update_subwindow): increase hash depth so that widget
13782 items get picked up properly.
13784 * redisplay-output.c (compare_runes): increase hash depth so that
13785 widget items get picked up properly.
13787 2000-03-08 Andy Piper <andy@xemacs.org>
13789 * gutter.c (output_gutter): add some debug.
13791 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13792 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13793 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13795 * redisplay-output.c (compare_runes): use display_hash to
13796 determine if glyphs really are not the same.
13798 * glyphs.c (update_subwindow): check display_hash to see if
13799 anything really needs to be updated. If not then do
13800 nothing. Record the display_hash after updating.
13801 (image_instance_equal): compare the image_instance face also.
13803 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13805 * redisplay.h: Fix comment style.
13807 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13809 * consle-msw.h (struct mswindows_frame):
13810 Added new member paint_pending to indicate whether a WM_PAINT
13811 magic event has been queued for this frame.
13813 * event-msw.c (mswindows_drain_windows_queue):
13814 Don't queue a WM_PAINT magic event if one is already queued.
13815 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13817 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13819 2000-03-07 Didier Verna <didier@xemacs.org>
13821 * dired.c: #include `regex.h' after `sysfile.h'.
13823 2000-03-06 Martin Buchholz <martin@xemacs.org>
13825 * sound.c (init_nas_sound): Fix compiler warning.
13827 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13829 (MARK_STRUCT_AS_FREE):
13830 (MARK_STRUCT_AS_NOT_FREE):
13831 Make `gcc -fstrict-aliasing' work properly.
13833 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13835 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13836 (mswindows_delete_device): Call CoUnnitialize().
13838 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13840 2000-02-25 <CraigL@DyCon.com>
13842 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13845 * sysdep.c: This extern declaration for environ prevents MinGW
13846 from finding the variable in CRTDLL.DLL.
13848 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13850 (SHGFI_EXETYPE): ..
13851 (WM_MOUSEWHEEL): ..
13852 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13854 (MMRESULT): Removed, now defined in cygwin's windows headers.
13856 (uid_t,gid_t,pid_t,ssize_t): ..
13857 (_timeb): Removed, MinGW defines both _timeb and timeb.
13858 (HAVE_H_ERRNO): Added.
13859 (HAVE_TZNAME): Added, configure is not detecting this.
13861 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13863 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13864 * syntax.c (syntax_match): Use it.
13866 * cmds.c: Import auto-fill-chars from FSF Emacs.
13867 (Vauto_fill_chars): New variables.
13868 (internal_self_insert): Check Vauto_fill_chars.
13870 Declare auto-fill-chars as a Lisp variable and initialize it.
13872 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13874 * fileio.c (Fmake_symbolic_link):
13876 Run handlers even if local machine doesn't have symlinks.
13878 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13880 * event-msw.c (mswindows_drain_windows_queue):
13881 Don't generate paint magic events for non-XEmacs frames.
13883 2000-03-05 Andy Piper <andy@xemacs.org>
13885 * redisplay.c (redisplay_frame): generate_displayable_area and
13886 friends assumes that we are not in GC, we therefore have to make
13887 sure that this doesn't happen.
13889 * gutter.c (calculate_gutter_size): generate_displayable_area
13890 assumes that we are not in GC, we therefore have to make sure that
13891 this doesn't happen.
13893 2000-03-05 Martin Buchholz <martin@xemacs.org>
13895 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13897 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13899 * redisplay.c (regenerate_window): Make sure we set a sane value
13900 for end_pos even if we jump out of the loop.
13901 (regenerate_window): Answer Ben's question :-).
13902 (start_end_of_last_line): Add may_error argument.
13903 (start_of_last_line):
13904 (end_of_last_line): Pass may_error = 0.
13905 (end_of_last_line_may_error): New function.
13906 (pixel_to_glyph_translation): Use it, so we don't crash in
13909 2000-03-04 Andy Piper <andy@xemacs.org>
13911 * window.h (struct window): add gutter_extent_modiff.
13913 * window.c (allocate_window): zero out gutter_extent_modiff.
13915 * redisplay.h: declare sync_display_line_structs.
13917 * redisplay.c (add_glyph_rune): add a better comment.
13919 * redisplay-output.c (sync_display_line_structs): made non-static.
13920 (compare_runes): remove unneccesary glyph cachel access.
13922 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13924 * gutter.c (output_gutter): don't output the gutter if extent
13925 changes only involve extents in buffers. use 4 sets of display
13927 (gutter_extent_signal_changed_region_maybe): new function. Mark
13928 extents in gutters as changed.
13929 (update_frame_gutters): use 4 sets of display lines.
13930 (reset_gutter_display_lines): ditto.
13931 (free_frame_gutters): ditto.
13932 (redraw_exposed_gutter): force output of gutters.
13934 * frame.h (struct frame): add 4 sets of gutter display lines.
13936 * extents.c: (extent_changed_for_redisplay): signal changes to
13937 extents in strings in the gutter as well as extents in buffers.
13939 2000-03-02 Andy Piper <andy@xemacs.org>
13941 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13943 * frame.c (Fmake_frame): make sure the gutters get initialized
13944 after the frame is visible.
13945 (set_frame_selected_window): re-arrange compilation macros a
13947 (change_frame_size_1): mark gutters changed.
13949 * device.c (Fset_device_class): mark gutters changed.
13951 2000-03-01 Andy Piper <andy@xemacs.org>
13953 * window.c (window_top_frame_gutter_height): deleted.
13954 (window_bottom_frame_gutter_height): ditto.
13955 (window_left_frame_gutter_height): ditto.
13956 (window_right_frame_gutter_height): ditto.
13957 (window_top_gutter_height): don't use them.
13958 (window_bottom_gutter_height): ditto.
13959 (window_left_gutter_width): ditto.
13960 (window_right_gutter_width): ditto.
13961 (Fsplit_window): ditto.
13962 (Fwindow_pixel_edges): don't use border dimensions here.
13964 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
13965 (update_scrollbar_instance): ditto.
13967 * redisplay.c (generate_modeline): don't take gutters into account.
13968 (generate_modeline): ditto.
13969 (redisplay_frame): small gutter display optimization.
13971 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
13973 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
13974 gutters into account.
13976 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
13977 for window position and type.
13979 * gutter.c (get_gutter_coords): fix for frame gutters.
13980 (update_frame_gutters): update frame geometry if the gutters have
13982 (init_frame_gutters): record current gutter geometries.
13984 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
13986 (mswindows_widget_instantiate): ditto.
13988 * frame.h (struct frame): add current_gutter_bounds.
13990 * frame.c (change_frame_size_1): position window and minibuffer
13991 appropriately taking into account the frame gutters.
13993 * frame-x.c: (x_initialize_frame_size): take into account the
13996 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
13998 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14000 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14002 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14004 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14006 * file-coding.c (reset_decoding_stream): Clear previous
14007 detection state when autodetect.
14009 2000-02-29 Didier Verna <didier@xemacs.org>
14011 * extents.c (set_extent_glyph_1): don't require extents to be
14014 2000-02-27 Andy Piper <andy@xemacs.org>
14016 * gutter.c (Fset_default_gutter_position): don't default left and
14017 right gutter visibility to t.
14018 (Fset_default_gutter_position): run
14019 default-gutter-position-changed-hook.
14020 (syms_of_gutter): add default-gutter-position-changed-hook.
14022 2000-02-26 Andy Piper <andy@xemacs.org>
14024 * specifier.c (Fmake_specifier): add gutter references.
14026 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14028 * lisp.h: declare Fvalid_plist_p.
14030 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14032 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14033 well as its visibility so that it gets reconstructed.
14034 (construct_window_gutter_spec): new function. Construct a string
14035 to be displayed in the gutter from a plist of strings. Take care
14036 to only use elements that are declared as visible.
14037 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14039 (gutter_validate): allow plists of strings in the specifier.
14040 (gutter_specs_changed): construct the real_gutter from the gutter
14041 specs using construct_window_gutter_spec.
14042 (gutter_visible_validate): gutter-visible is a new specifier type.
14043 (Fgutter_visible_specifier_p): new function for the new specifier.
14044 (syms_of_gutter): declare gutter-visible and
14045 Fgutter_visible_specifier_p.
14046 (specifier_type_create_gutter): intitalize new gutter-visible
14048 (reinit_specifier_type_create_gutter): ditto.
14049 (specifier_vars_of_gutter): use new specifier type for gutter
14051 (init_frame_gutters): construct real_gutter correctly.
14052 (Fgutter_specifier_p): beef up documentation.
14053 (Fgutter_size_specifier_p): ditto.
14055 * winslots.h: add real_gutter slots.
14057 2000-02-25 Andy Piper <andy@xemacs.org>
14059 * device-msw.c: Be kind to older cygwin versions. From Raymond
14060 Toy <toy@rtp.ericsson.se>.
14062 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14063 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14065 2000-02-25 Martin Buchholz <martin@xemacs.org>
14067 * elhash.c (MARK_OBJ): Practice macro hygiene.
14069 2000-02-24 Martin Buchholz <martin@xemacs.org>
14071 * miscplay.c: s/__inline__/inline/g;
14072 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14073 (get_device_compdc): INLINE ==> static inline
14074 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14075 find -name '*.h' | \
14076 xargs global-replace \
14077 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14079 2000-02-25 Andy Piper <andy@xemacs.org>
14081 * window.c (window_top_frame_gutter_height): new function.
14082 (window_top_window_gutter_height): ditto.
14083 (window_top_gutter_height): use them.
14084 (window_bottom_frame_gutter_height): new function.
14085 (window_bottom_window_gutter_height): ditto.
14086 (window_bottom_gutter_height): use them.
14087 (window_left_window_gutter_width): new function.
14088 (window_left_frame_gutter_width): ditto.
14089 (window_left_gutter_width): use them.
14090 (window_right_window_gutter_width): new function.
14091 (window_right_frame_gutter_width): ditto.
14092 (window_right_gutter_width): use them.
14093 (window_pixel_height): new function. calulate window pixel height
14094 with frame gutter involvement.
14095 (Fsplit_window): calculate new sizes taking frame gutters into
14097 (window_char_height_to_pixel_height): don't include frame gutters.
14098 (window_char_height): use window_pixel_height.
14099 (window_pixheight): rename from window_pixel_height.
14100 (change_window_height): use it.
14101 (window_pixel_height_to_char_height): don't include frame gutters.
14102 (window_char_width_to_pixel_width): ditto.
14104 2000-02-25 Andy Piper <andy@xemacs.org>
14106 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14109 2000-02-24 Martin Buchholz <martin@xemacs.org>
14111 * alloc.c (staticpro):
14112 (staticpro_nodump):
14117 (compact_string_chars):
14118 (pdump_dump_wired):
14119 Convert: if (foo) abort(); ==> assert (! foo);
14121 * eldap.c (Fldap_search_basic):
14125 Fix compiler warnings, and possible crashes if (random) return
14126 value were to be used.
14128 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14130 * device-msw.c: Workaround ResetDC failure.
14132 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14133 applying a devmode.
14135 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14136 (mswindows_text_width): Do not start printer page.
14138 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14140 * glyphs-msw.c: Added image methods to msprinter console and
14141 msprinter-specific image instantiation.
14143 2000-02-20 Mike Alexander <mta@arbortext.com>
14145 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14146 to avoid crashes when selection-sets-clipboard is on
14147 (mswindows_own_selection): ditto
14149 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14152 * redisplay-msw.c (get_frame_dc):
14153 (get_frame_compdc):
14155 * device-msw.c (mswindows_init_device):
14156 (mswindows_delete_device):
14157 (msprinter_init_device):
14158 (msprinter_delete_device):
14159 * frame-msw.c (mswindows_init_frame_1):
14160 (mswindows_delete_frame):
14161 (msprinter_init_frame_3):
14162 (msprinter_delete_frame): Move compatible DC to device object from
14163 frame object, for both mswindows and msprinter. Only one at a time
14164 is needed, it is a real waste to have one per frame!
14166 2000-02-23 Andy Piper <andy@xemacs.org>
14168 * glyphs.c: add dynamic width and height elements.
14169 (image_instance_equal): ditto.
14171 * glyphs-widget.c (widget_query_geometry): calculate width and
14172 height dynamically if required.
14173 (initialize_widget_image_instance): initialize dynamic dimensions.
14174 (widget_instantiate): pick-up dynamic dimensions.
14176 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14177 dynamic determination. Add appropriate macros.
14179 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14181 (WINDOW_GUTTER_SIZE): ditto.
14182 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14184 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14186 (get_frame_dc): ditto.
14188 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14191 2000-02-23 Martin Buchholz <martin@xemacs.org>
14193 * XEmacs 21.2.31 is released.
14195 2000-02-22 Ben Wing <ben@xemacs.org>
14197 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14199 2000-02-22 Andy Piper <andy@xemacs.org>
14201 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14203 2000-02-21 Mike Sperber <mike@xemacs.org>
14207 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14210 2000-02-21 Mike Sperber <mike@xemacs.org>
14212 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14214 2000-02-21 Martin Buchholz <martin@xemacs.org>
14216 * XEmacs 21.2.30 is released.
14218 2000-02-20 Martin Buchholz <martin@xemacs.org>
14220 Performance hacking.
14222 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14223 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14224 * emacs.c (main_1):
14226 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14227 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14228 * symeval.h (DEFVAR_SYMVAL_FWD):
14229 * symbols.c (guts_of_unbound_marker):
14230 Make all c_readonly objects also lisp_readonly and marked for life.
14231 * lrecord.h (struct lrecord_implementation):
14232 Document flags better.
14233 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14234 * lrecord.h (DECLARE_LRECORD):
14235 * lrecord.h (XSETRECORD):
14236 * lrecord.h (RECORDP):
14237 * lrecord.h (RECORD_TYPEP):
14238 * lrecord.h (RECORD_MARKER): New.
14239 * lrecord.h (error_check_*):
14240 * lrecord.h (CONCHECK_NONRECORD):
14241 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14242 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14243 * lrecord.h (set_lheader_implementation):
14244 * lrecord.h (enum lrecord_type): New.
14245 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14246 * alloc.c (disksave_object_finalization_1):
14247 * alloc.c (mark_object):
14248 * alloc.c (lrecord_type_index):
14249 * alloc.c (tick_lcrecord_stats):
14250 * alloc.c (Fgarbage_collect):
14251 * alloc.c (init_alloc_once_early):
14252 * alloc.c (pdump_load):
14253 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14254 * alloc.c (lrecord_type_index): Delete.
14255 Make lisp object type indexes be constant.
14256 Makes (byte-compile) 5% faster.
14257 Put all marker functions into their own array.
14258 Makes (garbage-collect) 5% faster.
14259 Optimize SYMBOL_VALUE_MAGIC_P.
14260 Makes (byte-compile) 2-3% faster.
14261 * config.h.in (gc_checking_assert): New.
14262 * alloc.c: Use gc_checking_assert().
14263 * .dbxrc: Make compatible with new object type implementation.
14264 * .gdbinit: Make compatible with new object type implementation.
14265 * alloc.c: Delete all symbols defined only for debugging, such as
14266 Lisp_Type_Vector and lrecord_charset.
14268 2000-02-21 Andy Piper <andy@xemacs.org>
14270 * gui-msw.c (Fmswindows_shell_execute): fix file location
14273 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14274 unshowing so that set_window_buffer doesn't undo
14275 kill_buffer_hook's hard work.
14277 * glyphs-widget.c (tab_control_query_geometry): don't count the
14278 first item when calculating geometry.
14280 * glyphs.c (map_subwindow): remove redundant code.
14281 (update_frame_subwindows): be more circumspect about when to
14284 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14285 when items haven't changed. Update faces if faces have changed as
14286 well as just the widget face.
14287 (x_tab_control_update): Update faces if faces have changed as well
14288 as just the widget face.
14290 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14292 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14294 (build_syscolor_string): Use mswindows_color_to_string to try to
14296 (mswindows_device_system_metrics): Reverse the foreground and
14297 background colors so that they match the documentation.
14299 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14300 they match the default Windows palette.
14301 (mswindows_color_to_string): New function.
14303 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14305 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14307 2000-02-18 Olivier Galibert <galibert@pobox.com>
14309 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14310 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14312 * symbols.c (init_symbols_once_early): Removed obsolete
14313 DATA_SEG_BITS related kludge.
14314 (defvar_magic): Ditto.
14316 * malloc.c: Removed obsolete DATA_SEG_BITS
14318 * mem-limits.h: Ditto.
14320 * Makefile.in.in: Removed obsolete HAVE_SHM
14323 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14325 * device-msw.c (mswindows_delete_device): Free DDE string
14328 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14330 * keymap.c (get_keyelt):
14331 * unexnt.c (unexec):
14332 * vm-limit.c (memory_warnings):
14333 * ntheap.c (recreate_heap):
14334 * ntheap.h (UNINIT_PTR):
14335 * select-msw.c (Fmswindows_get_clipboard):
14336 (Fmswindows_set_clipboard):
14337 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14339 * menubar-msw.c (displayable_menu_item):
14341 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14342 * sysdep.c (sys_subshell):
14343 * process-nt.c (nt_create_process):
14344 * nt.c (normalize_filename):
14345 (dostounix_filename):
14346 (unixtodos_filename):
14347 * ntproc.c (win32_executable_type):
14348 * ntplay.c (play_sound_data_1):
14350 * editfns.c (get_home_directory):
14351 * event-msw.c (struct winsock_stream):
14352 (mswindows_dde_callback):
14353 * device-msw.c (msprinter_init_device):
14354 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14356 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14357 mswindows_clear_toolbar were swapped!
14359 * objects-msw.c:(colormap_t):
14361 * emacs.c (struct standard_args): Fixed const jumble.
14363 * glyphs-widget.c (update_widget): Fixed comparison notation.
14365 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14367 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14368 __declspec(noreturn) syntax.
14370 2000-02-19 Martin Buchholz <martin@xemacs.org>
14372 * eldap.c (Fldap_open):
14373 (Fldap_search_basic):
14376 Use new coding system conversion macros.
14378 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14380 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14382 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14384 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14385 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14387 * eldap.c (Qadd, Qreplace): New constant symbols
14388 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14389 interruptions by XEmacs signals
14390 Remove unnecessary calls to slow_down_interrupts and
14391 speed_up_interrupts
14392 (Fldap_search_basic): Renamed from Fldap_search_internal
14393 Added new optional parameter VERBOSE that triggers the
14394 display of progress messages
14395 Remove unnecessary calls to slow_down_interrupts and
14396 speed_up_interrupts
14397 LDAP result code analysis rewritten
14398 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14399 (syms_of_eldap): Define the new symbols and functions
14402 2000-02-17 Martin Buchholz <martin@xemacs.org>
14404 * realpath.c: Determine PATH_MAX maximally portably.
14406 * insdel.c (bytecount_to_charcount): Optimize.
14407 The function used to be optimized for entirely ASCII sequences.
14408 Now it is optimized for successive characters from the same
14409 charset. This also wins big for _mostly_ ASCII sequences.
14411 * fileio.c (Ffile_truename): convert return from realpath() using
14412 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14413 - Rewrite GCPROing slightly.
14415 * sysdep.c (sys_open): Do filename conversion, like all other
14416 sys_* functions. Fixes bug:
14417 (let ((file-name-coding-system 'iso-8859-2))
14418 (write-region x y latin2-name))
14419 ==> writes filename using internal encoding.
14421 2000-02-18 Martin Buchholz <martin@xemacs.org>
14423 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14424 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14425 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14426 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14427 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14428 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14429 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14430 (CONST_IF_NOT_DEBUG): Delete.
14431 * alloc.c (this_one_is_unmarkable): Delete.
14432 (mark_object): Don't check for this_one_is_unmarkable. Use the
14433 c_readonly flag instead.
14434 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14436 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14438 * event-msw.c (mswindows_drain_windows_queue):
14439 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14440 away redundant repaint events.
14442 2000-02-17 Andy Piper <andy@xemacs.org>
14444 * redisplay.h: declare mark_redisplay_structs.
14446 * redisplay.c (redisplay_window):
14447 (redisplay_frame): don't check subwindows_state_changed.
14448 (mark_redisplay): mark gutters here.
14450 * glyphs.c: (instantiate_image_instantiator): always layout if we
14451 haven't done so already.
14452 (allocate_image_instance): don't mark as dirty.
14453 (update_subwindow): bind inhibit_quit.
14455 * gutter.c (mark_gutters): new function.
14457 * glyphs-x.c (x_update_widget): Always resize to get round a
14460 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14461 breaking absolutely everything.
14463 * gutter.h: declare mark_gutters.
14465 2000-02-16 Martin Buchholz <martin@xemacs.org>
14467 * XEmacs 21.2.29 is released.
14469 2000-02-15 Olivier Galibert <galibert@pobox.com>
14471 * fns.c (size_bit_vector): Fix computation of the size.
14473 2000-02-15 Martin Buchholz <martin@xemacs.org>
14475 * *.[ch]: Change CONST to const globally.
14476 find -name '*.[ch]' | \
14477 xargs global-replace \
14478 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14479 - Remove vestigial references to CONST_IS_LOSING
14481 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14483 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14484 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14485 events instead of dispatching them directly.
14486 (mswindows_handle_paint): New function to do repainting.
14487 (mswindows_wnd_proc):
14488 (emacs_mswindows_handle_magic_event): Call above function.
14490 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14492 * objects-msw.c (mswindows_create_font_variant): Return the new
14494 (initialize_font_instance): Get font metrics from the underlined
14495 variant of the font to cope with the case where the underlined
14496 font has a bigger descent.
14498 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14500 * gui.c (gui_item_accelerator): Return the first underlined
14501 character in item name.
14503 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14505 * lisp.h: Added Qprinter.
14507 * general.c (syms_of_general): Initialized it.
14509 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14511 (get_frame_compdc): Made inline.
14513 * console.h (struct console_methods): Added eject_page method.
14515 * frame.h: Added FRAME_DISPLAY_P and friends.
14516 Aligned backslahes in many macros in more readable fashion.
14517 Added page_number to struct frame, and an accessor macro
14520 * defice.h: Added DEVICE_DISPLAY_P and friends.
14522 * device.c (Fdevice_printer_p): Used these.
14524 * frame.c (allocate_frame_core): Initialize page number.
14525 (Fprint_job_page_number):
14526 (Fprint_job_eject_page): Implemented.
14528 * frame-msw.c (msprinter_eject_page): Added method.
14529 (msprinter_start_page): Added.
14531 * window.c (Fwindow_truncated_p): Fixed docstring.
14532 (Fwindow_last_line_visible_height): Implemented.
14534 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14536 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14538 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14540 * syntax.c (scan_words): Always advance at least one character.
14542 2000-02-13 Andy Piper <andy@xemacs.org>
14544 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14545 to make sure the glyph is in the cachels.
14547 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14548 global image instance flag.
14549 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14550 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14552 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14553 (Fset_image_instance_property): mark layout as changed.
14554 (invalidate_glyph_geometry_maybe): mark layout as changed.
14555 (glyph_width): use new NEEDS_LAYOUT macro.
14556 (glyph_ascent): ditto.
14557 (glyph_descent): ditto.
14558 (glyph_height): ditto.
14559 (image_instance_layout): mark layout as clean after laying out.
14560 (update_subwindow): don't mark layout as clean here.
14562 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14563 should no longer be needed.
14565 * glyphs-x.c (x_update_widget): sanitize asserts.
14566 (x_finalize_image_instance): sanitize assignment to widgets.
14568 * glyphs-widget.c (widget_instantiate): don't need to clear the
14571 2000-02-13 Martin Buchholz <martin@xemacs.org>
14573 * sysdep.c (getcwd): Use standard prototype.
14574 * sysdep.h (getcwd): Use standard prototype.
14576 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14577 (sequence, start, end).
14578 Remove redundant type checking.
14579 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14580 view of `caller-protects') to avoid a crash where the real fix was
14583 2000-02-12 Martin Buchholz <martin@xemacs.org>
14585 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14587 * s/sol2.h: Remove feature macro initialization.
14589 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14590 (vector_hash): New. Code from internal_hash.
14592 Fix up allocation subsystem comments.
14594 * config.h.in: Add __EXTENSIONS__ for Solaris.
14596 * systime.h (EMACS_GETTIMEOFDAY): New.
14597 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14598 Remove Solaris-specific code.
14599 Use void* for the (ignored) second arg for gettimeofday().
14601 * elhash.c (hash_table_hash): Implement it, finally.
14602 * elhash.c: Use hashcode_t.
14604 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14605 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14607 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14608 * fns.c (size_bit_vector):
14609 * alloc.c (size_vector):
14610 (make_vector_internal):
14611 (make_bit_vector_internal):
14612 (sweep_bit_vectors_1):
14613 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14615 2000-02-10 Martin Buchholz <martin@xemacs.org>
14617 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14618 Include strings.h to avoid warnings for bzero and strcasecmp.
14620 2000-02-10 Olivier Galibert <galibert@pobox.com>
14622 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14623 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14625 * fns.c (size_bit_vector): New. Declare bit vectors as a
14628 2000-02-10 Olivier Galibert <galibert@pobox.com>
14630 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14631 use a value field instead.
14632 (symbol_value_forward_forward): Use value field.
14633 (DEFVAR_SYMVAL_FWD): Use value field.
14634 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14635 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14636 (DEFVAR_CONST_INT): Ditto.
14637 (DEFVAR_BOOL): Ditto.
14638 (DEFVAR_CONST_BOOL): Ditto.
14639 (DEFVAR_INT_MAGIC): Ditto.
14640 (DEFVAR_BOOL_MAGIC): Ditto.
14642 * symbols.c (guts_of_unbound_marker): Use value field.
14643 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14644 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14646 * lisp.h: Declare dumpopaque and noninteractive1.
14648 * alloc.c (dumpopaque): Added.
14649 (pdump_dump_opaquevec): Added.
14650 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14651 (pdump_load): Reload opaque data. Sync noninteractive1 with
14654 2000-02-10 Andy Piper <andy@xemacs.org>
14656 * glyphs.c (image_instance_layout): if the size changes, mark it
14659 * redisplay-output.c (redisplay_output_layout): Update the
14661 (redisplay_output_subwindow): ditto.
14663 * glyphs.c (update_subwindow): make sure we reset flags for
14664 layouts as well as everything else.
14666 * glyphs-widget.c (layout_layout): don't need to set the instances
14669 2000-02-09 Martin Buchholz <martin@xemacs.org>
14671 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14672 not HAVE_DLOPEN, which is a lower-level thing.
14674 * .cvsignore: Ignore gmon.out
14676 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14678 * .cvsignore: Ignore portable dumper xemacs.dmp file
14680 2000-02-09 Andy Piper <andy@xemacs.org>
14682 * redisplay-output.c (redisplay_output_layout): be more clever
14683 about when we output based on the changed flags.
14685 * glyphs.h (struct image_instantiator_methods): add update_method.
14686 (struct Lisp_Image_Instance): add changed flags. Declare new
14687 macros for manipulating them.
14689 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14690 (image_instance_parent_glyph): find an image_instance's parent
14691 glyph or image_instance.
14692 (image_instance_layout): mark the size as changed.
14693 (set_image_instance_dirty_p): new function. mark an image
14694 instance, plus all of its parents, as dirty.
14695 (Fset_image_instance_property): use it.
14696 (Fglyph_animated_timeout_handler): use it.
14697 (update_subwindow): call update_widget and device methods for
14698 update_subwindow. Mark all changed flags as clean.
14699 (Fresize_subwindow): mark size as changed.
14701 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14703 (x_update_subwindow): only resize subwindows here.
14704 (x_update_widget): new function. Update all changed properties of
14706 (x_resize_subwindow): deleted.
14707 (x_widget_set_property): deleted.
14708 (x_progress_gauge_set_property): deleted.
14709 (x_progress_gauge_update): new function. Implement recorded
14711 (x_tab_control_update): ditto.
14712 (x_tab_control_set_property): deleted.
14713 (console_type_create_glyphs_x): declare new functions.
14714 (image_instantiator_format_create_glyphs_x): ditto.
14716 * glyphs-widget.c (widget_set_property): mark text changed.
14717 (update_widget): new function. Update properties of a widget.
14718 (widget_instantiate): for layouts make sure we set their
14719 children's parent correctly.
14720 (tab_control_set_property): new function. Record changes that will
14721 take place under redisplay's control.
14722 (progress_gauge_set_property): ditto.
14723 (image_instantiator_progress_guage): declare new functions.
14724 (image_instantiator_tab_control): ditto.
14726 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14728 (mswindows_update_widget): new function. Update all properties on
14729 a widget that have changed.
14730 (mswindows_button_update): new function. Update a button's set
14732 (mswindows_tab_control_update): new function. Update the items in
14734 (mswindows_tab_control_set_property): deleted.
14735 (mswindows_progress_gauge_update): new function. Update the
14736 progress gauge's progress.
14737 (mswindows_widget_set_property): deleted. This is all done
14738 asynchronously now.
14739 (mswindows_progress_gauge_set_property): ditto.
14740 (console_type_create_glyphs_mswindows): declare new methods.
14741 (image_instantiator_format_create_glyphs_mswindows): ditto.
14743 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14744 (msprinter_set_frame_properties): ditto.
14746 * console.h (struct console_methods): Add update_widget_method.
14748 2000-02-09 Andy Piper <andy@xemacs.org>
14750 * gui-msw.c (Fmswindows_shell_execute): Make
14751 mswindows-shell-execute industrial strength.
14753 2000-02-08 Martin Buchholz <martin@xemacs.org>
14755 * lrecord.h: Make macro argument `props' match member function `plist'.
14758 * fns.c (Fremprop):
14759 * fns.c (Fobject_plist):
14762 Object property list frobbing cleanup.
14763 - Allow any lisp object (compared with `eq'), not just symbols, as
14764 keys in object plists.
14765 - Move symbol plist frobbing into symbols.c, where it belongs.
14766 - Move string plist frobbing into alloc.c, where it belongs.
14767 - Everything's an lrecord now, so no need to test for symbolp, etc.
14768 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14770 * extents.c: Reorder code to remove declarations.
14772 * frame.h (store_in_alist): Remove useless declaration.
14774 2000-02-07 Martin Buchholz <martin@xemacs.org>
14776 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14777 * config.h.in: Add HAVE_XCONVERTCASE.
14779 2000-02-07 Andy Piper <andy@xemacs.org>
14781 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14782 it breaks many things.
14784 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14786 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14787 actually can start a common comment type.
14788 * src/syntax.h (SYNTAX_END_P): ditto for end.
14790 2000-02-07 Martin Buchholz <martin@xemacs.org>
14792 * XEmacs 21.2.28 is released.
14794 2000-02-06 Martin Buchholz <martin@xemacs.org>
14796 * event-Xt.c (x_keysym_to_character): New.
14797 (maybe_define_x_key_as_self_inserting_character): New.
14798 (x_has_keysym): New.
14799 Auto-define all keys on the keyboard as self-insert-key.
14801 2000-02-02 Martin Buchholz <martin@xemacs.org>
14803 * menubar.c (vars_of_menubar): A small code simplification.
14805 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14808 * ExternalClient.c:
14809 * EmacsShell-sub.c:
14812 Use consistent style for specifying X resources.
14814 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14815 This makes (dontusethis-set-symbol-value-handler) actually usable.
14817 * lrecord.h (lrecord_decription_type):
14818 * alloc.c (pdump_register_sub):
14821 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14822 Comply with XEmacs coding style.
14823 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14824 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14826 * keymap.c (Faccessible_keymaps):
14827 Make (accessible-keymaps map "\C-h") do the Right Thing.
14828 Make (accessible-keymaps map []) do the Right Thing.
14829 Make (accessible-keymaps map "") do the Right Thing.
14830 (check_keymap_definition_loop): New function.
14831 (keymap_store_internal): Keep luser from shooting self in foot,
14832 via (define-key ctl-x-4-map "p" global-map).
14833 Remove fullness slot from struct Lisp_Keymap, since hash tables
14835 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14837 2000-01-30 Martin Buchholz <martin@xemacs.org>
14839 * redisplay.c (init_redisplay): Fix small memory leak.
14841 * elhash.c (pdump_reorganize_hash_table):
14842 Rename from reorganize_hash_table. Change prototype.
14843 Reuse the original memory for hentries. Save 100k.
14844 * alloc.c (PDUMP_READ): new macro.
14845 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14846 * alloc.c: No need to #ifndef before #undef.
14848 * print.c: Allow debug_print() to print readably by modifying
14849 debug_print_readably. Use consistent variable names.
14851 * .dbxrc: Try to get things to work even if stopped in a function
14852 without source available by explicitly specifying source files.
14853 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14855 * unexnt.c (_start): Removed bogus code which caused loading heap
14856 from differrent executable file.
14857 Removed bogus assignment to _fmode, which caused inconsistencies.
14859 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14861 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14862 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14863 Do not preliminary `#define signal sigset'.
14865 * systime.h: Do not prototype environ on windows nt and cygwin,
14866 this conflicts with system header.
14868 * syssignal.h: Use correct define for WINDOWSNT
14870 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14871 with system header.
14873 * sysdep.c (near start of file): Fixed commentary and rearranged
14874 ifdefs in readable order.
14875 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14878 (end_of_data): Do not compile in if using PDUMP.
14880 * symsinit.h: Prototyped vars_of_nt().
14882 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14883 (find_child_console): Use it.
14884 (sys_kill): Use it.
14886 * ntheap.h: Do not extern os_subtype.
14888 * ntheap.c (cache_system_info): Do not cache unneeded:
14889 nt_major_version, nt_minor_version and os_subtype.
14890 (recreate_heap): Do not compile in when PDUMPing.
14892 * nt.c (geteuid and friends): Use the new varibale
14893 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14894 (init_user_info): Removed the above mentioned hackery.
14895 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14896 stat has been fixed in the C runtime.
14897 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14899 * file-coding.c (struct file_coding_dump): Do not define
14900 ucs_to_mule_table in the struct if not MULE.
14901 (struct struct lrecord_description fcd_description_1): Do not dump
14904 * emacs.c (main_1): Call vars_of_nt().
14905 (right before Fdump_emacs_data): Don't need lastfile if using both
14906 portabe dumper and system malloc.
14908 * alloc.c (Fmemory_limit): Conditionalized out.
14909 (pdump): Use OPEN_BINARY for the portable dump file.
14910 (pdump_load): Ditto.
14912 2000-02-02 Mike Alexander <mta@arbortext.com>
14914 * nt.c (convert_time): Set tm_isdst before calling mktime and
14915 avoid calling it at all if the compiler supports 64 bit integers.
14916 Also initialize utc_base_ft before using it.
14918 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14920 * frame.c (change_frame_size_1): Take f->internal_border_width
14921 into consideration when calculating the width of the frame.
14923 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14925 * window.c (frame_min_height):
14926 (frame_size_valid_p):
14927 (frame_pixsize_valid_p): Added.
14928 (check_frame_size): Generalized.
14930 * window.h: Prototyped the above.
14933 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14934 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14935 Deleted Vwin32_* and Vbinary_process_* unused variables.
14937 * device-msw.c (msprinter_init_device): Do not get printer font
14938 list; Added DEVMODE functions.
14940 * frame-msw.c: Added lots of printer code.
14942 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
14945 * console-msw.h: Added more msprinter device private slots.
14947 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14949 * event-msw.c (key_needs_default_processing_p): Added.
14950 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
14952 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14954 * glyphs.c (image_instance_layout): Mark image instance as clean
14956 (glyph_dirty_p): Removed redundant function.
14957 (invalidate_glyph_geometry_maybe): Added.
14958 (update_glyph_cachel_data): Call it.
14960 * glyphs.h: Prototyped it.
14962 * redisplay.c (add_glyph_rune): Call it.
14963 (redisplay_window): Reset glyphs cachels when frame faces have
14964 changed, thus forcing recomputation of built-in border glyphs.
14966 2000-01-30 Martin Buchholz <martin@xemacs.org>
14968 * Makefile.in.in: Make portable dumper and purify play well together.
14969 Add imperfect, but better than nothing, support for pdump.
14970 Remove xemacs.dmp when temacs is re-generated.
14971 Don't ignore errors when dumping xemacs.
14973 * symbols.c (maybe_call_magic_handler): Remove one magic number.
14975 2000-01-28 Andy Piper <andy@xemacs.org>
14977 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
14978 (setup_normal_frame): ditto.
14979 (setup_frame_without_minibuffer): ditto.
14980 (setup_minibuffer_frame): ditto.
14981 (delete_frame_internal): ditto.
14982 (Fmake_frame_invisible): ditto.
14983 (Ficonify_frame): ditto.
14985 * window.h: change Fset_window_buffer signature.
14987 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
14988 (Fset_window_buffer): allow recording of buffer if the window is
14989 the selected window.
14990 (window_loop): Use new Fset_window signature.
14992 2000-01-23 Daniel Pittman <daniel@danann.net>
14994 * config.h.in: Added template for `HAVE_ATHENA_3D'
14996 2000-01-29 Andy Piper <andy@xemacs.org>
14998 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15000 * gutter.c (output_gutter): Don't output if the window isn't live.
15002 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15004 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15005 of 01/12/00: Moved SetFocus back here where it belongs.
15007 2000-01-23 Andy Piper <andy@xemacs.org>
15009 * s/cygwin32.h: declare printer things.
15011 2000-01-26 Andy Piper <andy@xemacs.org>
15013 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15016 2000-01-24 Andy Piper <andy@xemacs.org>
15018 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15019 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15021 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15023 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15025 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15027 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15028 (mswindows_output_display_block): Avoid local shadows.
15030 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15031 (mswindows_enqueue_mouse_button_event): ditto.
15032 (mswindows_handle_gui_wm_command): remove declaration.
15034 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15037 * console-msw.h: Avoid shadows.
15038 (mswindows_get_toolbar_button_text):
15039 (emacs_mswindows_create_stream_pair):
15040 (emacs_mswindows_delete_stream_pair):
15041 (mswindows_handle_toolbar_wm_command): declare.
15043 * device-msw.c (build_syscolor_string): Avoid shadows.
15045 2000-01-23 Andy Piper <andy@xemacs.org>
15047 * glyphs-widget.c (widget_instantiate): reverse the items for
15048 layouts so that children are in the expected order.
15050 2000-01-28 Martin Buchholz <martin@xemacs.org>
15052 * ralloc.c: safe_bcopy ==> memmove
15053 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15054 * s/msdos.h: Remove BCOPY macros.
15055 * insdel.c (gap_right): Remove BCOPY conditional code.
15056 * insdel.c (gap_left): Remove BCOPY conditional code.
15057 XEmacs demands a working ANSI C compiler - hence memmove.
15059 * regex.c (regex_compile): Remove accidental use of trigraphs.
15061 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15063 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15066 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15068 * event-msw.c (mswindows_drain_windows_queue): Added the
15070 (mswindows_need_event): Commented the call to
15071 mswindows_drain_windows_queue().
15072 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15075 * console-msw.h: Moved a few function prototypes here from
15078 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15079 parameter from unsigned short to unsigned long.
15080 (Fmswindows_shell_execute): Added return value.
15082 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15084 * sysdep.c (init_system_name):
15085 process-unix.c (unix_canonicalized_host_name):
15086 Don't call freeaddrinfo() if getaddrinfo() fails.
15088 * process-unix.c (unix_open_unix_network_stream):
15089 Moved the code to get a port # into address loop.
15091 2000-01-27 Martin Buchholz <martin@xemacs.org>
15093 * buffer.c (reinit_vars_of_buffer):
15094 The right place to initialize conversion_in_dynarr and
15095 conversion_out_dynarr.
15097 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15099 * process-unix.c (unix_canonicalize_host_name): Muleize.
15100 (unix_open_network_stream): Muleize.
15102 * buffer.h: Fix up prototypes for ralloc.c functions.
15104 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15105 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15106 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15107 instead of gethostbyname()
15108 * process-unix.c: In unix_canonicalize_host_name() and
15109 unix_open_network_stream(), add code to use getaddrinfo()
15110 instead of gethostbyname().
15112 2000-01-27 Daniel Pittman <daniel@danann.net>
15114 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15115 libs when built with flat Athena.
15117 2000-01-27 Martin Buchholz <martin@xemacs.org>
15119 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15120 Use coding standards for function prototypes.
15122 2000-01-25 Martin Buchholz <martin@xemacs.org>
15124 * dialog-msw.c (push_lisp_string_as_unicode):
15125 * doc.c (unparesseuxify_doc_string):
15126 * dired.c (Fuser_name_completion_1):
15127 * dired.c (Fuser_name_all_completions):
15128 * dired.c (free_user_cache):
15129 * dired.c (user_name_completion):
15130 * console-x.c (get_display_arg_connection):
15131 * minibuf.c (clear_echo_area_internal):
15132 * minibuf.c (echo_area_append):
15133 * eldap.c (Fldap_open):
15134 * eldap.c (Fldap_search_internal):
15135 * frame-x.c (x_set_frame_text_value):
15136 * frame-x.c (x_set_frame_properties):
15137 * frame-x.c (x_create_widgets):
15138 * redisplay-tty.c (term_get_fkeys_1):
15139 * objects-x.c (x_parse_nearest_color):
15140 * objects-x.c (x_valid_color_name_p):
15141 * objects-x.c (x_initialize_font_instance):
15142 * objects-x.c (x_list_fonts):
15143 * objects-x.c (x_find_charset_font):
15144 * tooltalk.c (Fadd_tooltalk_message_arg):
15145 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15146 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15147 * process-unix.c (unix_create_process):
15148 * ntproc.c (sys_spawnve):
15149 * sound.c (Fplay_sound_file):
15150 * sound.c (Fplay_sound):
15151 * buffer.c (init_initial_directory):
15152 * buffer.c (init_buffer):
15153 * editfns.c (init_editfns):
15154 * editfns.c (Ftemp_directory):
15155 * editfns.c (Fuser_full_name):
15156 * editfns.c (uncache_home_directory):
15157 * editfns.c (get_home_directory):
15158 * editfns.c (Fuser_home_directory):
15159 * editfns.c (Fformat_time_string):
15160 * editfns.c (Fcurrent_time_string):
15161 * gui-x.c (button_item_to_widget_value):
15162 * database.c (Fopen_database):
15163 * event-Xt.c (x_to_emacs_keysym):
15164 * event-Xt.c (x_event_to_emacs_event):
15165 * event-Xt.c (describe_event_window):
15166 * event-msw.c (mswindows_wnd_proc):
15167 * glyphs-eimage.c (jpeg_instantiate):
15168 * glyphs-eimage.c (gif_instantiate):
15169 * glyphs-eimage.c (png_instantiate):
15170 * glyphs-eimage.c (tiff_instantiate):
15171 * glyphs-x.c (xbm_instantiate_1):
15172 * glyphs-x.c (x_xbm_instantiate):
15173 * glyphs-x.c (x_xface_instantiate):
15174 * glyphs-x.c (autodetect_instantiate):
15175 * glyphs-x.c (cursor_font_instantiate):
15176 * glyphs-x.c (x_widget_instantiate):
15177 * glyphs-x.c (x_widget_set_property):
15178 * glyphs-x.c (x_widget_property):
15179 * glyphs-x.c (BUILD_GLYPH_INST):
15180 * print.c (write_string_to_stdio_stream):
15181 * print.c (output_string):
15182 * print.c (Falternate_debugging_output):
15183 * print.c (Fexternal_debugging_output):
15184 * glyphs-msw.c (extract_xpm_color_names):
15185 * glyphs-msw.c (mswindows_xpm_instantiate):
15186 * glyphs-msw.c (bmp_instantiate):
15187 * glyphs-msw.c (resource_name_to_resource):
15188 * glyphs-msw.c (mswindows_resource_instantiate):
15189 * glyphs-msw.c (xbm_instantiate_1):
15190 * glyphs-msw.c (mswindows_xbm_instantiate):
15191 * glyphs-msw.c (mswindows_xface_instantiate):
15192 * glyphs-msw.c (mswindows_widget_instantiate):
15193 * glyphs-msw.c (add_tree_item):
15194 * glyphs-msw.c (add_tab_item):
15195 * glyphs-msw.c (mswindows_combo_box_instantiate):
15196 * glyphs-msw.c (mswindows_widget_property):
15197 * glyphs-msw.c (mswindows_combo_box_property):
15198 * glyphs-msw.c (mswindows_widget_set_property):
15199 * console.c (stuff_buffered_input):
15200 * objects-msw.c (mswindows_initialize_color_instance):
15201 * objects-msw.c (mswindows_valid_color_name_p):
15202 * objects-msw.c (mswindows_list_fonts):
15203 * objects-msw.c (mswindows_font_instance_truename):
15204 * bytecode.c (optimize_compiled_function):
15205 * select-x.c (symbol_to_x_atom):
15206 * select-x.c (x_atom_to_symbol):
15207 * select-x.c (hack_motif_clipboard_selection):
15208 * select-x.c (selection_data_to_lisp_data):
15209 * select-x.c (lisp_data_to_selection_data):
15210 * select-x.c (Fx_get_cutbuffer_internal):
15211 * select-x.c (Fx_store_cutbuffer_internal):
15212 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15213 * buffer.h (TO_INTERNAL_FORMAT): New function.
15214 * emacs.c (make_arg_list_1):
15215 * emacs.c (make_argc_argv):
15216 * emacs.c (main_1):
15217 * emacs.c (Fdump_emacs):
15218 * emacs.c (split_string_by_emchar_1):
15223 * device-x.c (x_init_device):
15224 * device-x.c (Fx_valid_keysym_name_p):
15225 * device-x.c (Fx_get_font_path):
15226 * device-x.c (Fx_set_font_path):
15227 * glyphs.c (bitmap_to_lisp_data):
15228 * glyphs.c (pixmap_to_lisp_data):
15229 * alloc.c (make_ext_string): Use coding system arguments. Update
15231 * alloc.c (build_string):
15232 * callproc.c (child_setup):
15233 * callproc.c (init_callproc):
15234 * fileio.c (lisp_strerror):
15235 * fileio.c (directory_file_name):
15236 * fileio.c (Fexpand_file_name):
15237 * fileio.c (Ffile_truename):
15238 * fileio.c (Fsysnetunam):
15239 * fileio.c (Fdo_auto_save):
15240 * sysdep.c (sys_readdir):
15241 * tests.c: New file. Allow adding C tests.
15242 Replace GET_* macros with a more comprehensible and flexible
15243 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15245 Any coding system can be used to do format conversion.
15246 Eliminate enum external_data_format.
15247 Eliminate convert_to_external_format.
15248 Eliminate convert_to_internal_format.
15249 Make sure file-name, keyboard, terminal, and ctext are always
15250 defined as coding systems or aliases. Make
15251 file-name-coding-system, terminal-coding-system, and
15252 keyboard-coding-system magical variables that are equivalent to
15253 defining the corresponding coding system aliases.
15255 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15256 * file-coding.c (Fcoding_system_alias_p): New function.
15257 * file-coding.c (Fcoding_system_aliasee): New function.
15258 * file-coding.c (append_suffix_to_symbol): New function.
15259 * file-coding.c (dangling_coding_system_alias_p): New function.
15260 * file-coding.c (Ffind_coding_system):
15261 * file-coding.c (Fcopy_coding_system):
15262 * file-coding.c (encode_coding_no_conversion):
15263 * file-coding.c (syms_of_file_coding):
15264 * file-coding.c (vars_of_file_coding):
15265 Rewrite coding system alias code.
15266 Allow nested aliases, like symbolic links.
15267 Allow redefinition of coding system aliases.
15268 Prevent existence of dangling coding system aliases.
15270 * dired.c (Fuser_name_completion_1):
15271 * dired.c (Fuser_name_all_completions):
15272 A crash would happen if user did QUIT in the middle of building
15273 user_name_cache. Remove redundant code in mainline and unwind_protect.
15276 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15278 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15279 an unsigned char *. Update all callers.
15281 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15283 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15285 2000-01-25 Martin Buchholz <martin@xemacs.org>
15287 * elhash.c (hentry_description): Use more portable definition.
15288 (resize_hash_table): Initialize new hentries using
15289 xnew_array_and_zero, thereby simplifying the code.
15291 * mule-charset.c (make_charset): Make sure entire object is
15292 initialized, to avoid Purify warnings.
15294 * alloc.c (resize_string): Fix unlikely crash with big strings.
15296 2000-01-24 Martin Buchholz <martin@xemacs.org>
15298 * realpath.c (xrealpath):
15299 Don't call getwd().
15301 2000-01-25 Martin Buchholz <martin@xemacs.org>
15303 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15305 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15307 * unexelfsgi.c (unexec): Change the way we decide which segment
15308 should be extended.
15310 Assumption that .bss section should be outside the PT_LOADable
15311 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15312 it's present) is inside the 'data' segment. This would fail the
15313 test which was used to find a segment to grow and cover new
15314 heap. Instead of this assumption, I created another one - on IRIX
15315 the segment to grow should start below .bss and it's address
15316 should extent above the end of .bss. Once this segment is
15317 identified, it's grown to accommodate the new heap and new
15318 zero-length .bss section is added at the end of .data2.
15320 2000-01-25 Martin Buchholz <martin@xemacs.org>
15322 * eval.c (Feval): Wrong number of arguments should use original
15323 function, not the indirect_function version of it.
15325 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15327 * glyphs-x.c (x_button_instantiate): Don't add image if
15328 it is not a pixmap.
15329 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15332 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15334 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15336 (DEFVAR_INT_MAGIC): Ditto.
15337 (DEFVAR_BOOL_MAGIC): Ditto.
15338 * glyphs.h: Reindent backslash.
15340 2000-01-24 Martin Buchholz <martin@xemacs.org>
15342 * glyphs-widget.c (layout_query_geometry):
15343 (layout_layout): Use correct types for gheight, gwidth.
15345 2000-01-24 Martin Buchholz <martin@xemacs.org>
15347 * EmacsManager.c (QueryGeometry): Purified.
15349 2000-01-23 Martin Buchholz <martin@xemacs.org>
15351 * alloc.c (make_float): Make sure entire object is initialized, to
15352 avoid Purify warnings.
15353 (pdump_register_sub): Remove useless assignment.
15354 (pdump): Use xmalloc, not malloc.
15355 (pdump_load): Use xmalloc, not malloc.
15357 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15364 * sysdep.c: Removed redundant #include <windows.h>
15366 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15368 * frame.c (delete_frame_internal): Do not delete device when its
15369 implementation so declares.
15370 (delete_frame_internal): Set device selected frame to nil when
15371 last frame goes away.
15373 * device-msw.c (msprinter_device_system_metrics): Implemented.
15374 (mswindows_device_system_metrics): Added 'device-dpi property.
15376 * device.c: (Fdevice_printer_p): Added.
15377 Added 'offset-workspace device metric.
15379 * console.h (device_metrics): Declared DM_offset_workspace.
15381 2000-01-23 Martin Buchholz <martin@xemacs.org>
15383 * fileio.c (Ffile_truename): Remove pointless and confusing
15384 initialization of elen.
15386 * glyphs-widget.c: Compiler warning fixes.
15388 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15390 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15391 instead of a Lisp_Object as argument to make it consistent with
15392 the other LIVE_P macros.
15393 (CHECK_LIVE_PROCESS): New macro.
15395 * process.c: Declare Qprocess_live_p.
15396 (Fprocess_live_p): New function.
15397 (create_process): Use PROCESS_LIVE_P.
15398 (read_process_output): Ditto.
15399 (set_process_filter): Ditto.
15400 (Fdelete_process): Ditto.
15401 (kill_buffer_processes): Ditto
15402 (process_send_signal): Use CHECK_LIVE_PROCESS.
15403 (Fprocess_input_coding_system): Check whether process is still
15404 alive (fix PR#1061).
15405 (Fprocess_output_coding_system): Ditto.
15406 (Fprocess_coding_system): Ditto.
15407 (Fset_process_input_coding_system): Ditto.
15408 (Fset_process_output_coding_system): Ditto.
15410 2000-01-23 Andy Piper <andy@xemacs.org>
15412 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15415 * glyphs.c (mark_image_instance): take into account changed
15416 image_instance format.
15417 (image_instance_equal): ditto.
15418 (image_instance_hash): ditto.
15420 * glyphs-widget.c (widget_instantiate): Incorporate layout
15421 instantiation here. Delay layout of the layout until later.
15422 (layout_instantiate): deleted.
15423 (layout_query_geometry): new function. get the geometry of a
15425 (layout_layout): layout a layout dynamically.
15426 (image_instantiator_widget): New function - splitting up
15427 image_instantiator_format_create_glyphs_widget for netwinder
15429 (image_instantiator_buttons):
15430 (image_instantiator_edit_fields):
15431 (image_instantiator_combo_box):
15432 (image_instantiator_scrollbar):
15433 (image_instantiator_progress_guage):
15434 (image_instantiator_tree_view):
15435 (image_instantiator_tab_control):
15436 (image_instantiator_labels):
15437 (image_instantiator_layout): ditto.
15438 (image_instantiator_format_create_glyphs_widget): Call preceding
15441 2000-01-22 Martin Buchholz <martin@xemacs.org>
15443 * process.c (Fset_process_coding_system):
15444 * device-x.c (Fx_keysym_hash_table):
15447 * lstream.c (Lstream_write): Return documented value, not 0.
15449 * fileio.c (directory_file_name):
15450 (Fsubstitute_in_file_name):
15451 (Fsubstitute_insert_file_contents_internal):
15452 (Fwrite_region_internal):
15457 Remove vestigial APOLLO-conditional code.
15459 2000-01-21 Martin Buchholz <martin@xemacs.org>
15461 * getpagesize.h: Add guard macros.
15462 * libsst.h: Add guard macros.
15463 * libst.h: Add guard macros.
15464 * line-number.h: Add guard macros.
15465 * ndir.h: Add guard macros.
15466 * sysfloat.h: Add guard macros.
15467 * sysfile.h: Add guard macros.
15468 * sysproc.h: Add guard macros.
15469 * syswait.h: Add guard macros.
15470 * xintrinsic.h: Add guard macros.
15471 * xintrinsicp.h: Add guard macros.
15472 * xmmanager.h: Add guard macros.
15473 * xmmanagerp.h: Add guard macros.
15474 * xmprimitive.h: Add guard macros.
15475 * xmu.h: Add guard macros.
15476 * gpmevent.h: Add copyright statement. Add guard macros.
15477 * miscplay.h: Add guard macros.
15478 * *.h: Use consistent C-standards-approved guard macro names.
15480 * opaque.c (make_opaque): Switch parameter order.
15481 * opaque.h (make_opaque): Switch parameter order.
15482 Update all callers.
15483 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15485 * config.h.in (type_checking_assert): Added.
15486 (bufpos_checking_assert): Added.
15488 2000-01-21 Martin Buchholz <martin@xemacs.org>
15490 * alloc.c: Harmless pdump changes.
15492 - spell alignment correctly.
15493 * sysdep.c: Use countof()
15495 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15497 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15498 initially_selected_for_input() console method, default to 0.
15499 (semi_canonicalize_console_connection): Try to delegate to
15500 canonicalize_console_connection if no such console method.
15501 (canonicalize_console_connection): Vice versa.
15502 (print_console): Do not print nil connection.
15504 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15505 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15506 (XDEVIMPF_FRAMELESS_OK): Added.
15507 (CONSOLE_INHERITS_METHOD): Added.
15509 * console-msw.c (mswindows_canonicalize_console_connection):
15511 (mswindows_canonicalize_device_connection): Added.
15513 * console-msw.h (struct msprinter_device): Added this struct and
15515 (mswindows_device): Made fontlist a lisp object.
15517 * device.c (semi_canonicalize_device_connection): Try to delegate
15518 to canonicalize_device_connection if no such console method.
15519 (canonicalize_device_connection): Vice versa.
15520 (print_device): Do not print nil connection.
15522 * device-msw.c (mswindows_init_device): Call InitCommonControls
15524 (mswindows_delete_device): Removed fontlist deallocation.
15525 (mswindows_mark_device): Added.
15527 * events.c (event_equal): Added abort() at unreached code.
15528 (event_hash): Ditto.
15530 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15531 fallback tags of Windows devices.
15533 * general.c (syms_of_general): Initialized Qmsprinter.
15535 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15536 of fallback tags of Windows devices.
15538 * lisp.h: Declared Qmsprinter.
15540 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15542 (mswindows_list_fonts): Ditto.
15543 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15544 that it can be used by both mswindows and msprinter devices.
15545 (initialize_font_instance): Added.
15546 (mswindows_initialize_font_instance): Use it.
15547 (msprinter_initialize_font_instance): Added.
15549 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15550 and implementation flags check.
15551 (redisplay_without_hooks): Changed the call to the above.
15552 (Fredraw_device): Ditto.
15553 (Fredisplay_device): Ditto.
15555 * redisplay-msw.c (get_frame_dc): Implemented.
15556 (get_frame_compdc): Implemented.
15557 (many functions): Use the two functions above to get device
15558 contexts, ether for a window or a printer.
15560 2000-01-21 Olivier Galibert <galibert@pobox.com>
15562 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15563 initialization here.
15564 (init_symbols_once_early): Call it.
15565 * emacs.c (main_1): Call it.
15566 * symsinit.h: Declare it.
15568 2000-01-19 Olivier Galibert <galibert@pobox.com>
15570 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15572 (pdump_backtrace): Ditto.
15573 (pdump_register_object): Ditto. Cleanup use of the pointers.
15574 (pdump_get_entry): Abort if trying to register a null pointer.
15575 (pdump_dump_data): Cleanup types when relocating.
15576 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15577 (pdump_dump_rtables): Remove bad casts.
15578 (pdump_load): Cleanup relocation w.r.t union type. Use a
15579 Lisp_Object instead of a EMACS_INT for the hashtable
15582 2000-01-20 Martin Buchholz <martin@xemacs.org>
15584 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15586 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15588 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15590 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15592 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15594 * faces.h (FACE_STRIKETHRU_P): Added.
15596 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15599 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15600 (mswindows_set_dc_font): New function, aware of font variants,
15601 separated from mswindows_update_dc.
15603 * objects-msw.h (struct mswindows_font_instance_data): Added
15606 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15607 cached fonts and the data structure.
15608 (mswindows_initialize_font_instance): Added creation of font data
15610 (mswindows_print_font_instance): Print at least something.
15611 (mswindows_create_font_variant): Implemented.
15612 (mswindows_get_hfont): Implemented.
15614 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15616 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15617 prototyping problem with msvc.
15619 * emacs.c (main_1): added syms_of_gui_mswindows() call
15621 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15622 syms_of_gui_mswindows() function
15624 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15626 2000-01-18 Martin Buchholz <martin@xemacs.org>
15628 * XEmacs 21.2.27 is released.
15630 2000-01-18 Martin Buchholz <martin@xemacs.org>
15632 * glyphs-eimage.c (struct tiff_error_struct):
15634 (tiff_warning_func):
15635 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15640 * unexec.c: Remove vestigial Lucid C code.
15644 * libsst.c: Ansify.
15645 Remove declarations of errno and strerror().
15647 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15649 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15651 2000-01-16 Martin Buchholz <martin@xemacs.org>
15653 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15656 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15661 Change enum eol_type to eol_type_t.
15663 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15665 * gui.c (get_gui_callback): Check cons before accessing car.
15667 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15669 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15670 (XSETSPECIFIER_TYPE): Ditto.
15672 2000-01-17 Didier Verna <didier@xemacs.org>
15674 * redisplay.c (generate_fstring_runes): compute string size in
15675 characters, not bytes.
15677 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15679 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15681 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15683 * print.c (print_error_message): Call print_prepare().
15685 2000-01-14 Martin Buchholz <martin@xemacs.org>
15687 * .dbxrc: Renamed from dbxrc.
15689 * events.c (event_to_character):
15690 Use `assert (foo)' instead of `if (!foo) abort()'
15692 * .gdbinit (xtype): Add documentation.
15693 * .gdbinit (check-temacs): New function.
15694 * .gdbinit (check-xemacs): New function.
15695 * dbxrc (check-xemacs): New function.
15696 * dbxrc (check-xemacs): New function.
15698 2000-01-14 Andy Piper <andy@xemacs.org>
15700 * glyphs-widget.c (widget_query_geometry): Make sure that we
15701 calculate default dimensions correctly.
15703 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15705 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15707 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15708 pdump_wire'd variable.
15710 * emacs.c: (main_1): Conditionalized calls to
15711 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15713 2000-01-13 Martin Buchholz <martin@xemacs.org>
15715 * window.c (Fset_window_configuration):
15716 * sysdep.c (_start):
15717 * input-method-motif.c (res):
15718 * event-Xt.c (Xt_process_to_emacs_event):
15719 Simple compiler warning fixes.
15721 * bytecode.c (funcall_compiled_function): Use the original
15722 function symbol on the backtrace list in preference to the
15723 compiled_function object in error messages.
15725 2000-01-13 Andy Piper <andy@xemacs.org>
15727 * glyphs-x.c (update_widget_face): Make sure we update the widget
15728 background as well as foreground.
15730 2000-01-13 Andy Piper <andy@xemacs.org>
15732 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15733 fields to subwindow.
15734 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15735 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15736 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15737 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15739 * glyphs-widget.c (check_valid_tab_orientation): new function.
15740 (initialize_widget_image_instance): zero orientation and
15742 (widget_instantiate): pick up orientation.
15743 (tab_control_query_geometry): return appropriate values for
15746 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15747 appropriate creation flags for left, right and bottom tabs.
15749 * s/cygwin32.h: add tab definitions.
15751 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15753 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15754 frame upon hiding a subwindow.
15755 (mswindows_button_instantiate): Changed the push button style to
15757 (mswindows_button_instantiate): Removed button BS_NOTIFY
15759 (mswindows_button_instantiate): Removed redundant check for
15760 a disabled gui item.
15761 (mswindows_button_instantiate): Made use of WS_TABSTOP
15762 consistent: "operable" controls (edit, button, tree, scroll) have
15763 this style, "display-only" ones (static, progress gauge) do
15764 not. This style is currently ignored by XEmacs though. Also,
15765 removed the WS_EX_CONTROLPARENT style - it is not for children,
15766 it is for their parents!
15767 (mswindows_edit_field_instantiate): Ditto.
15768 (mswindows_progress_gauge_instantiate): Ditto.
15769 (mswindows_tree_view_instantiate): Ditto.
15770 (mswindows_tab_control_instantiate): Ditto.
15771 (mswindows_scrollbar_instantiate): Ditto.
15772 (mswindows_combo_box_instantiate): Ditto.
15773 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15774 style to the "clip" window.
15775 (mswindows_button_instantiate): Removed compilation warning by
15776 equally typing terms of the ?: operator.
15778 2000-01-12 Didier Verna <didier@xemacs.org>
15780 * redisplay.c (generate_fstring_runes): new parameter holding the
15781 last modeline-format extent.
15782 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15783 extent, fill the glyph block with it.
15784 (generate_fstring_runes): handle these parameters.
15785 (generate_formatted_string_db): ditto.
15787 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15788 glyphs'extents in the modeline.
15790 1999-01-11 Mike Woolley <mike@bulsara.com>
15792 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15793 256Mb, as a workaround for the non-starting problem many people
15796 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15798 * console-tty.c (Fset_console_tty_output_coding_system):
15799 Force redrawing tty frame.
15801 2000-01-10 Didier Verna <didier@xemacs.org>
15803 * redisplay.c (generate_fstring_runes): fix size computation bug.
15805 2000-01-09 William M. Perry <wmperry@aventail.com>
15807 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15809 2000-01-09 Andy Piper <andy@xemacs.org>
15811 * glyphs-msw.c: index -> i to avoid shadows.
15812 (xbm_create_bitmap_from_data): make static.
15813 (check_valid_string_or_int): deleted.
15814 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15816 * glyphs-x.c (x_update_subwindow): remove unused args.
15818 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15819 back pointer - this is done in allocate_image_instance.
15820 (query_string_font): return Qnil to make the compiler happy.
15821 (unmap_subwindow): set to ~0 to make the compiler happy.
15822 (glyph_query_geometry): comment out until used.
15823 (glyph_layout): ditto.
15825 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15827 * insdel.c (signal_after_change): Remove extraneous unbind_to().