1 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
4 instead of `chise_open_data_source'.
5 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
8 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
10 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
11 instead of `chise_ds_open_feature_table'.
12 (char_table_close_db_maybe): Don't use `chise_ft_close'.
14 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
16 * mule-charset.c (Fsave_charset_mapping_table): Use
17 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
18 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
19 `chise_ccs_sync' instead of `chise_ccst_close'.
20 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
22 * chartab.c (open_chise_data_source_maybe): Modify for
23 `chise_open_data_source'.
24 (char_table_open_db_maybe): Modify for
25 `chise_ds_open_feature_table'.
27 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
29 * mule-charset.c (load_char_decoding_entry_maybe): Use
30 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
33 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
35 * mule-charset.c (Fsave_charset_mapping_table): Use
36 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
37 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
38 `chise_dt_put_char' and `chise_dt_close'.
39 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
40 `chise_ccs_decode' and `chise_ccst_close' instead of
41 `chise_ds_open_decoding_table', `chise_dt_get_char' and
44 * chartab.c (char_table_get_db): Use
45 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
46 (load_char_attribute_table_map_func): Modify for
47 `chise_char_feature_value_iterate'.
48 (Fload_char_attribute_table): Use
49 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
51 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
53 * chartab.c (put_char_table): Modify for inherited coded-charsets
56 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
58 * chartab.c (Fput_char_table_map_function): Fixed.
59 (word_boundary_p): Don't check charset in XEmacs CHISE.
61 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
63 * mule-charset.c (Fsave_charset_mapping_table): Use
64 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
65 instead of `chise_open_decoding_table'; refer
66 `default_chise_data_source'; use `chise_dt_close' instead of
67 `chise_close_decoding_table'.
68 (load_char_decoding_entry_maybe): Likewise.
70 * chartab.c (default_chise_data_source): New variable when `CHISE'
72 (Fcopy_char_table): `ct->ds' is deleted.
73 (open_chise_data_source_maybe): New function.
74 (Fclose_char_data_source): New function.
75 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
76 use `chise_ds_open_feature_table' instead of
77 `chise_open_feature_table'.
78 (char_table_close_db_maybe): Use `chise_ft_close' instead of
79 `chise_close_feature_table'; `cit->ds' is deleted.
80 (syms_of_chartab): Add new builtin function
81 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
83 * chartab.h (default_chise_data_source): New extern variable.
84 (open_chise_data_source_maybe): New prototype.
85 (struct Lisp_Char_Table): Delete `ds'.
87 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
89 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
92 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
94 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
95 not defined; add code for non-libchise setting.
96 (char_table_close_db_maybe): Likewise.
97 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
99 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
100 even if `CHISE' is not defined.
101 (Freset_char_attribute_table): Likewise.
102 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
103 `char_table_close_db_maybe' even if `CHISE' is not defined; use
105 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
106 `char_table_close_db_maybe' even if `CHISE' is not defined.
108 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
110 * chartab.c (char_table_open_db_maybe): New function.
111 (char_table_close_db_maybe): New function.
112 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
113 (Freset_char_attribute_table): Likewise.
114 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
115 `char_table_close_db_maybe'.
116 (Fload_char_attribute_table): Likewise.
118 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
120 * chartab.c: Don't include <chise.h> because it is included in
122 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
124 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
126 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
128 (Fclose_char_attribute_table): Close `ct->feature_table' and
129 `ct->ds' when `CHISE' is defined.
130 (Freset_char_attribute_table): Likewise.
131 (load_char_attribute_maybe): Use `cit->ds' and
132 `cit->feature_table' when `CHISE' is defined.
133 (Fload_char_attribute_table): Likewise.
135 * chartab.h: Include <chise.h> when `CHISE' is defined.
136 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
137 when `CHISE' is defined.
139 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
141 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
143 (char_table_description): Likewise.
144 (Fmake_char_table): Likewise.
145 (Fcopy_char_table): Likewise.
146 (Fmount_char_attribute_table): Likewise.
147 (Fclose_char_attribute_table): Likewise.
148 (Freset_char_attribute_table): Likewise.
149 (load_char_attribute_maybe): Likewise.
150 (Fload_char_attribute_table): Likewise.
152 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
155 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
157 * chartab.c (load_char_attribute_table_map_func): New function
158 when CHISE is defined.
159 (Qload_char_attribute_table_map_function): Don't define when CHISE
161 (Fload_char_attribute_table_map_function): Likewise.
162 (Fload_char_attribute_table): Use libchise when `CHISE' is
164 (syms_of_chartab): Don't define
165 `load-char-attribute-table-map-function' when CHISE is defined.
167 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
169 * chartab.c: Include <chise.h> when `CHISE' is defined.
170 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
172 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * mule-charset.c (charset_code_point): Fix problem when searching
175 in mother CCS fails with `defined_only' mode.
177 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
179 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
180 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
181 (put_char_composition): Likewise.
182 (Fput_char_attribute): Likewise.
183 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
185 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
187 * chartab.c (Q_ucs): Deleted.
188 (Fput_char_attribute): Don't refer `->ucs'.
189 (Fdefine_char): Likewise.
190 (Ffind_char): Likewise.
191 (syms_of_chartab): Delete `->ucs'.
193 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
195 * mule-charset.c (Qmap_cns11643_2): Renamed from
196 `Qchinese_cns11643_2'.
197 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
198 `chinese-cns11643-2'.
199 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
202 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
204 * mule-charset.c (Qmap_cns11643_1): Renamed from
205 `Qchinese_cns11643_1'.
206 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
207 `chinese-cns11643-1'.
208 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
211 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
213 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
214 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
216 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
219 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
221 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
222 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
224 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
227 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
229 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
230 (syms_of_mule_charset): Add new symbol `=big5' instead of
232 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
234 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
237 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
239 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
242 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
244 * mule-charset.c (Qmap_jis_x0212): Renamed from
245 `Qjapanese_jisx0212'.
246 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
248 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
251 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
253 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
254 `Qjapanese_jisx0208'.
255 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
256 of `japanese-jisx0208'.
257 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
260 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
263 `Qjapanese_jisx0208_1978'.
264 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
265 of `japanese-jisx0208-1978'.
266 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
269 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
271 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
272 only for XEmacs CHISE.
274 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
276 * char-ucs.h: Compact non-ISO-IR charset-ids.
277 (LEADING_BYTE_UCS): Changed to -177.
278 (LEADING_BYTE_CONTROL_1): Changed to -77.
279 (LEADING_BYTE_UCS_BMP): Changed to -176.
280 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
282 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * mule-charset.c (Qiso_ir): New variable.
285 (Fmake_charset): Recognise new property `iso-ir'.
286 (syms_of_mule_charset): Add new symbol `iso-ir'.
288 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
290 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
291 n to -n; charset-id of non ISO-IR sets are changed to positive
294 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
296 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
297 for &MCS-XXXXXXXX; values.
299 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
301 * mule.c (Vxemacs_chise_version): Renamed from
303 (vars_of_mule): Add new variable `xemacs-chise-version'; define
304 `utf-2000-version' as an alias for `xemacs-chise-version'.
306 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
308 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
309 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
312 * config.h.in (CHISE): New macro.
314 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
316 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
318 (Qmap_ucs): New variable.
319 (syms_of_mule_charset): Add new symbol `=ucs'.
320 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
322 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
323 (simplify_char_spec): Likewise.
325 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
327 * char-ucs.h (Qmap_ucs): New extern variable.
329 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
332 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
333 don't define it when UTF2000 is not defined.
334 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
335 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
336 when UTF2000 is not defined.
337 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
338 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
340 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
344 * mule-charset.c (Vcharset_ucs_gb): Deleted.
346 (syms_of_mule_charset): Delete `ucs-gb'.
347 (complex_vars_of_mule_charset): Likewise.
349 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
351 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
353 * mule-charset.c (Vcharset_ucs_cns): Deleted.
355 (syms_of_mule_charset): Delete `ucs-cns'.
356 (complex_vars_of_mule_charset): Likewise.
358 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
360 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
362 * mule-charset.c (Vcharset_ucs_jis): Deleted.
364 (syms_of_mule_charset): Delete `ucs-jis'.
365 (complex_vars_of_mule_charset): Likewise.
367 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
369 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
371 * mule-charset.c (Vcharset_ucs_ks): Deleted.
373 (syms_of_mule_charset): Delete `ucs-ks'.
374 (complex_vars_of_mule_charset): Likewise.
376 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
378 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
379 (Qideograph_daikanwa_2): Deleted.
380 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
381 (complex_vars_of_mule_charset): Likewise.
383 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
384 (LEADING_BYTE_DAIKANWA_1): Deleted.
385 (LEADING_BYTE_DAIKANWA_2): Deleted.
386 (MIN_CHAR_DAIKANWA): Deleted.
387 (MAX_CHAR_DAIKANWA): Deleted.
389 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
391 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
392 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
393 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
395 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
396 (Vcharset_ideograph_daikanwa): Deleted.
397 (Qideograph_hanziku_{1..12}): Deleted.
398 (Qideograph_daikanwa): Deleted.
399 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
400 Vcharset_ideograph_daikanwa.
401 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
402 `ideograph-hanziku-{1..12}'.
403 (complex_vars_of_mule_charset): Likewise.
405 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
407 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
409 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
410 (Qideograph_gt_pj_{1..11}): Deleted.
411 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
412 (complex_vars_of_mule_charset): Likewise.
414 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * mule-charset.c (Vcharset_ucs_big5): Deleted.
417 (Vcharset_ideograph_gt): Deleted.
418 (Qucs_big5): Deleted.
419 (Qideograph_gt): Deleted.
420 (syms_of_mule_charset): Delete symbol `ucs-big5' and
422 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
425 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
426 (LEADING_BYTE_GT): Deleted.
427 (MIN_CHAR_GT): Deleted.
428 (MAX_CHAR_GT): Deleted.
430 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
434 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
436 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
437 (save_uint16_byte_table): Likewise.
438 (save_byte_table): Likewise; convert values by it.
439 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
440 for `ideographic-structure'.
441 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
442 as the filter for `ideographic-structure'.
444 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
446 * chartab.c (put_char_composition): New function.
447 (Fput_char_attribute): Use `put_char_composition'; use
448 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
450 * fns.c (simplify_char_spec): New function.
451 (char_ref_simplify_spec): New function.
452 (Fchar_refs_simplify_char_specs): New function.
453 (syms_of_fns): Add new builtin function
454 `char-refs-simplify-char-specs'.
456 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
458 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
459 (Qideograph_cbeta): Deleted.
460 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
461 (complex_vars_of_mule_charset): Likewise.
463 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
464 (MIN_CHAR_CBETA): Comment out.
465 (MAX_CHAR_CBETA): Likewise.
467 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
469 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
470 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
471 CHISE client feature.
473 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
475 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
477 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
479 * mule-charset.c (charset_lookup_description_1): Use
480 `NUM_LEADING_BYTES' in UTF-2000.
482 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
484 * char-ucs.h (GC_CHARSETP): Deleted.
486 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * char-ucs.h (MAX_CHAR_GT): Updated.
490 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
492 * text-coding.c: Sync with XEmacs 21.4.10.
494 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
496 * mule-charset.c (Vcharset_china3_jef): Deleted.
497 (Qchina3_jef): Deleted.
498 (syms_of_mule_charset): Don't define `china3-jef'.
499 (complex_vars_of_mule_charset): Likewise.
501 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
502 (MIN_CHAR_CHINA3_JEF): Comment out.
503 (MAX_CHAR_CHINA3_JEF): Comment out.
505 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
507 * mule-charset.c (Vcharset_ucs_gb): New variable.
508 (Qucs_gb): New variable.
509 (syms_of_mule_charset): Add new symbol `ucs-gb'.
510 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
512 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
514 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
516 * mule-charset.c (charset_code_point): if a coded-charset has a
517 final-byte, don't inherit the builtin range of the mother CCS.
519 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
521 * mule-charset.c (charset_code_point): Fix problem about
524 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
526 * mule-charset.c (decode_builtin_char): Reorganized.
528 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * text-coding.c (char_encode_as_entity_reference): Modify for
531 `charset_code_point'.
532 (char_encode_shift_jis): Likewise.
533 (char_encode_big5): Likewise.
534 (char_encode_utf8): Likewise.
535 (char_encode_iso2022): Likewise.
537 * mule-charset.c (charset_code_point): Add new argument
539 (Fencode_char): Add new optional argument `defined_only'.
541 * chartab.c (put_char_table): Modify for `charset_code_point'.
543 * char-ucs.h (charset_code_point): Add new argument
545 (encode_char_1): Modify for `charset_code_point'.
547 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
549 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
550 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
552 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
554 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
555 (Qjis_x0208): Likewise.
556 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
557 XCHARSET_FINAL(charset).
558 (charset_code_point): Modify condition for final-byte based
560 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
561 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
562 in UTF-2000; specify `=jis-x0208' as the mother of
563 `japanese-jisx0208-1978', `japanese-jisx0208' and
564 `japanese-jisx0208-1990' in UTF-2000.
566 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
568 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
570 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
572 * text-coding.c (decode_coding_utf16): Support UTF-16.
573 (char_encode_utf16): Fixed.
575 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
577 * text-coding.c (Qutf16): New variable in MULE.
578 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
579 (Fcoding_system_type): Add `utf-16' in MULE.
580 (struct detection_state): Add a structure for utf16 in MULE.
581 (detect_coding_type): Setup st->utf16.mask in MULE.
582 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
584 (reset_encoding_stream): Use `char_encode_utf16' and
585 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
586 (detect_coding_utf16): New function [incomplete].
587 (decode_coding_utf16): New function [support only UCS-2].
588 (char_encode_utf16): New function.
589 (char_finish_utf16): New function.
590 (syms_of_file_coding): Add new symbol `utf-16'; setup
591 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
593 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
595 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
596 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
598 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
600 * chartab.c (put_char_table): When a charset is specified as a
601 range in UTF-2000, don't support builtin characters.
603 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
605 * mule-charset.c (decode_defined_char): Don't refer external
606 database if Qunbound or Qnil are found.
607 (Fsave_charset_mapping_table): Don't define it if
608 HAVE_CHISE_CLIENT is not defined.
609 (Freset_charset_mapping_table): New function.
610 (load_char_decoding_entry_maybe): Store Qnil if a character is not
611 found in external database.
612 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
613 if HAVE_CHISE_CLIENT is not defined; add new builtin function
614 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
616 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
618 * text-coding.c (decode_coding_utf8): Check CCS is specified or
621 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
623 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
624 Q_lowercase, Q_uppercase in UTF-2000.
626 * chartab.c (get_char_table): Add special code for the standard
627 case table to use character attribute `->downcase' and
628 `->uppercase' for case operations in UTF-2000.
630 * casetab.c (Qflippedcase): New variable in UTF-2000.
631 (Q_lowercase): Likewise.
632 (Q_uppercase): Likewise.
633 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
634 and `->uppercase' in UTF-2000.
635 (complex_vars_of_casetab): Assign attribute name `downcase' to
636 downcase and CANON table of Vstandard_case_table in UTF-2000;
637 assign attribute name `flippedcase' to upcase and EQV table of
638 Vstandard_case_table in UTF-2000.
640 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * text-coding.c (decode_add_er_char): Support isolated-chars.
643 (char_encode_as_entity_reference): Likewise.
645 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
647 * emacs.c (Vutf_2000_lisp_directory): New variable.
648 (Vconfigure_utf_2000_lisp_directory): Likewise.
649 (complex_vars_of_emacs): Add new variable
650 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
652 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
654 * char-ucs.h (DECODE_CHAR): Delete special code for
655 `chinese-big5-1' and `chinese-big5-2'.
657 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
659 (decode_defined_char): Support CONVERSION_BIG5_1 and
661 (decode_builtin_char): Likewise.
662 (charset_code_point): Likewise.
663 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
664 'conversion in UTF-2000.
665 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
666 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
667 `chinese-big5-2' as children of `chinese-big5'.
669 * char-ucs.h (CONVERSION_BIG5_1): New macro.
670 (CONVERSION_BIG5_2): New macro.
672 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
674 * text-coding.c (char_encode_big5): Support entity-reference.
676 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
678 * text-coding.c (char_encode_as_entity_reference): New function.
679 (char_encode_utf8): Use `char_encode_as_entity_reference'.
681 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
683 * text-coding.c (decode_coding_big5): Support entity-reference
686 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
688 * text-coding.c (allocate_coding_system): Initialize initial
689 charsets for CODESYS_UTF8.
690 (Fmake_coding_system): Accept charset-g0, charset-g1 and
691 charset-g2 for CODESYS_UTF8.
692 (decode_coding_utf8): Use charset-g0.
693 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
694 to force variants to map to UCS.
696 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * text-coding.c (Qutf_8_mcs): New variable.
699 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
700 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
701 instead of `utf-8' in UTF-2000.
703 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
705 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
706 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
707 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
708 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
709 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
710 CONVERSION_96x96x96x96 are introduced.
711 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
712 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
713 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
715 * char-ucs.h (CONVERSION_94): New macro.
716 (CONVERSION_96): New macro.
717 (CONVERSION_94x94): New macro.
718 (CONVERSION_96x96): New macro.
719 (CONVERSION_94x94x94): New macro.
720 (CONVERSION_96x96x96): New macro.
721 (CONVERSION_94x94x94x60): New macro.
722 (CONVERSION_94x94x94x94): New macro.
723 (CONVERSION_96x96x96x96): New macro.
725 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
727 * chartab.c (Vcharacter_variant_table): Deleted.
728 (Fchar_variants): Use character-attribute `->ucs-variants' instead
729 of `Vcharacter_variant_table'.
730 (Fput_char_attribute): Likewise.
731 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
732 (complex_vars_of_chartab): Likewise.
734 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
736 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
738 * fns.c (Qideographic_structure): New variable.
739 (Qkeyword_char): New variable.
740 (ids_format_unit): New function.
741 (Fideographic_structure_to_ids): New function.
742 (syms_of_fns): Add new symbols `ideographic-structure' and
743 `:char'; add new builtin function `ideographic-structure-to-ids'.
745 * data.c (Fchar_ref_p): New function.
746 (syms_of_data): Add new builtin function `char-ref-p'.
748 * chartab.h: Add an EXFUN for `Ffind_char'.
750 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * text-coding.c (Vcharacter_composition_table): Deleted.
753 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
756 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
758 (Vcharacter_composition_table): Deleted.
759 (Fget_composite_char): Use the implementation for external-DB
760 support in every UTF-2000.
761 (Fput_char_attribute): Likewise.
762 (char_attribute_system_db_file): Don't define if external-DB
763 feature is not available.
764 (Fsave_char_attribute_table): Likewise.
765 (Fmount_char_attribute_table): Likewise.
766 (Fclose_char_attribute_table): Likewise.
767 (Freset_char_attribute_table): Likewise.
768 (Fload_char_attribute_table): Likewise.
769 (syms_of_chartab): Don't define `save-char-attribute-table',
770 `mount-char-attribute-table', `reset-char-attribute-table',
771 `close-char-attribute-table' and `load-char-attribute-table' if
772 external-DB feature is not available.
773 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
775 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
777 * text-coding.c (Qcomposition): Add extern if external-DB feature
779 (Vcharacter_composition_table): Don't add extern if external-DB
780 feature is supported.
781 (COMPOSE_ADD_CHAR): Modify for new data-representation of
782 character composition rule if external-DB feature is supported.
784 * chartab.c (Vcharacter_composition_table): Don't define if
785 external-DB feature is supported.
786 (Qcomposition): New variable.
787 (Fget_composite_char): New implementation for external-DB support.
788 (Fput_char_attribute): Use `composition' property of each
789 character instead of `Vcharacter_composition_table' to store
790 character-composition rules if external-DB feature is supported.
791 (syms_of_chartab): Add new symbol `composition'.
792 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
793 external-DB feature is supported.
795 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
797 * chartab.c (Vchar_db_stingy_mode): New variable.
798 (load_char_attribute_maybe): Close database if
799 Vchar_db_stingy_mode is not NIL.
800 (Fload_char_attribute_table_map_function): Use
801 `get_char_id_table_0' instead of `get_char_id_table'.
802 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
804 * chartab.h (get_char_id_table_0): New inline function.
805 (get_char_id_table): Use `get_char_id_table_0'.
807 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
809 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
810 and `COMPOSE_ADD_CHAR'.
811 (decode_coding_iso2022): Use `decode_flush_er_chars'.
813 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
815 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
816 instead of `DECODE_ADD_UCS_CHAR'.
817 (COMPOSE_ADD_CHAR): Likewise.
819 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
821 * text-coding.c (decode_flush_er_chars): New inline function.
822 (decode_add_er_char): New function.
823 (decode_coding_utf8): Use `decode_flush_er_chars' and
824 `decode_add_er_char'.
826 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
828 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
829 done before `decode_output_utf8_partial_char'.
831 * mule-charset.c (complex_vars_of_mule_charset): Specify
832 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
833 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
835 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
837 * mule-charset.c (decode_defined_char): New function; search
839 (decode_builtin_char): Don't search mother if
840 XCHARSET_MAX_CODE(charset) == 0.
841 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
842 == 0 even if code >= XCHARSET_MAX_CODE(charset).
843 (Fdecode_char): Use `decode_defined_char' instead of
844 `DECODE_DEFINED_CHAR'.
845 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
846 mother of `Vcharset_ucs_jis'.
848 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
849 instead of `DECODE_DEFINED_CHAR'.
851 * char-ucs.h (decode_defined_char): Renamed from
852 `DECODE_DEFINED_CHAR'; changed to normal function.
853 (DECODE_CHAR): Use `decode_defined_char' instead of
854 `DECODE_DEFINED_CHAR'.
856 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
858 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
860 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
862 * text-coding.c (Vcoded_charset_entity_reference_alist): New
864 (Quse_entity_reference): New variable.
868 (coding_system_description): Add description for
870 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
871 (allocate_coding_system): Initialize `ccs_priority_list' in
873 (Fmake_coding_system): Add description about
874 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
876 (Fcoding_system_property): Accept `disable-composition' and
877 `use-entity-reference' in UTF-2000.
878 (struct decoding_stream): Add new member `er_counter' and `er_buf'
880 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
881 (decode_coding_utf8): Decode entity-reference if
882 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
883 (char_encode_utf8): Encode non-Unicode characters as
884 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
886 (syms_of_file_coding): Add new symbols `use-entity-reference',
888 (vars_of_file_coding): Add new variable
889 `coded-charset-entity-reference-alist'.
890 (complex_vars_of_file_coding): Declare `disable-composition' and
891 `use-entity-reference' to be coding-system-properties in UTF-2000.
893 * file-coding.h (struct Lisp_Coding_System): Add new member
894 `use_entity_reference' and `ccs_priority_list'.
895 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
896 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
897 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
899 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
901 * chartab.c (save_uint8_byte_table): Don't clear the table.
902 (save_uint16_byte_table): Likewise.
903 (save_byte_table): Likewise.
904 (Fmount_char_attribute_table): New function.
905 (syms_of_chartab): Add new builtin function
906 `mount-char-attribute-table'.
908 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
910 * mule-charset.c (Fsave_charset_mapping_table): Open database as
912 (load_char_decoding_entry_maybe): Open database as read-only mode.
914 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
915 open database as "w+" mode.
916 (load_char_attribute_maybe): Open database as read-only mode.
917 (Fload_char_attribute_table): Likewise.
919 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
922 (char_table_description): Delete member `db_file'.
923 (Fmake_char_table): Don't refer `ct->db_file'.
924 (Fcopy_char_table): Likewise.
925 (Fsave_char_attribute_table): Likewise.
926 (Fclose_char_attribute_table): Likewise.
927 (Freset_char_attribute_table): Likewise.
928 (load_char_attribute_maybe): Likewise.
929 (Fload_char_attribute_table): Likewise.
931 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
933 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
935 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
936 (Fsave_char_attribute_table): Don't check `ct->db_file' if
938 (load_char_attribute_maybe): Likewise.
939 (Fload_char_attribute_table): Likewise.
941 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
943 * chartab.c (Fclose_char_attribute_table): Set Qnil on
944 `ct->db_file' unconditionally.
946 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
948 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
950 (char_table_description): Add description for `db_file' and `db'
952 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
954 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
955 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
956 (Fclose_char_attribute_table): New function.
957 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
958 (load_char_attribute_maybe): Change interface; use `cit->db_file'
960 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
961 (syms_of_chartab): Add new builtin function
962 `Fclose_char_attribute_table'.
964 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
966 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
968 (load_char_attribute_maybe): Change interface.
969 (get_char_id_table): Modify for `load_char_attribute_maybe'.
971 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
973 * database.h: Add an EXFUN for `Fdatabase_live_p'.
975 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
977 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
978 instead of `DECODE_CHAR' for mother; don't use special code for
979 chinese-big5 to use code space of chinese-big5-1 and
981 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
982 `MAX_CHAR_BIG5_CDP' for chinese-big5.
984 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
985 (MAX_CHAR_BIG5_CDP): Revival.
987 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
989 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
990 the XLFD registry-encoding name of `chinese-big5'.
992 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
994 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
995 (Qchinese_big5_cdp): Deleted.
996 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
997 (complex_vars_of_mule_charset): Delete coded-charset
1000 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1001 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1002 `CHARSET_ID_OFFSET - n' for private CCS.
1003 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1004 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1005 of `MIN_LEADING_BYTE'.
1006 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1007 `(CHARSET_ID_OFFSET - 97)'.
1008 (MIN_CHAR_BIG5_CDP): Deleted.
1009 (MAX_CHAR_BIG5_CDP): Deleted.
1011 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1013 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1015 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1017 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1018 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1021 * chartab.c (Vutf_2000_version): Moved to mule.c.
1022 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1024 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1026 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1027 when HAVE_CHISE_CLIENT is not defined.
1029 * mule.c (vars_of_mule): Provide feature `chise' when
1030 HAVE_CHISE_CLIENT is defined.
1032 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1034 * config.h.in (UTF2000): Add comment.
1035 (HAVE_CHISE_CLIENT): New macro.
1037 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1039 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1041 (Fput_char_attribute): Likewise.
1042 (char_attribute_system_db_file): Encode file-name of attribute.
1043 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1046 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1048 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1049 (Fsave_charset_mapping_table): Use
1050 `char_attribute_system_db_file'.
1051 (load_char_decoding_entry_maybe): Likewise.
1053 * chartab.h (Qsystem_char_id): New external variable.
1054 (char_attribute_system_db_file): New prototype.
1056 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1057 (char_attribute_system_db_file): New function.
1058 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1059 (Freset_char_attribute_table): Likewise.
1060 (load_char_attribute_maybe): Likewise.
1061 (Fload_char_attribute_table): Likewise.
1062 (syms_of_chartab): Add new symbol `system-char-id'.
1064 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1066 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1067 `XCHARSET_GRAPHIC(ccs)'.
1069 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1071 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1073 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1075 * chartab.c (Q_ucs_variants): New variable.
1076 (syms_of_chartab): Add new symbol `->ucs-variants'.
1077 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1078 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1079 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1081 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1083 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1084 `HAVE_DATABASE' is defined.
1085 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1086 `HAVE_DATABASE' is defined.
1088 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1090 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1092 (Freset_char_attribute_table): New function.
1093 (syms_of_chartab): Add new builtin function
1094 `reset-char-attribute-table'.
1096 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1098 * chartab.c (load_char_attribute_maybe): Don't make directories.
1100 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1102 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1104 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1107 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1109 * mule-charset.c (Fsave_charset_mapping_table): Use
1110 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1112 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1113 instead of `XCHARSET_CHARS'.
1115 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1117 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1118 (XCHARSET_BYTE_SIZE): Likewise.
1120 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1122 (XCHARSET_BYTE_SIZE): Likewise.
1124 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1126 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1127 data-directory to store database.
1128 (Fsave_char_attribute_table): Likewise.
1129 (load_char_attribute_maybe): Likewise.
1130 (Fload_char_attribute_table): Likewise.
1132 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1134 * mule-charset.c (Fsave_charset_mapping_table): New function.
1135 (syms_of_mule_charset): Add new builtin function
1136 `save-charset-mapping-table'.
1138 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1140 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1141 (get_ccs_octet_table): New inline function.
1142 (put_ccs_octet_table): Likewise.
1143 (decoding_table_put_char): Use `get_ccs_octet_table' and
1144 `put_ccs_octet_table'.
1145 (decoding_table_remove_char): Use `decoding_table_put_char'.
1146 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1148 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1149 into encoding_table.
1150 (make_charset): Use Qunbound instead Qnil as initial value of
1153 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1155 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1156 element is Qunloaded.
1157 (map_over_uint16_byte_table): Likewise.
1158 (map_over_byte_table): Likewise.
1159 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1160 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1161 database support, load encoding-table of the specified
1162 coded-charset if it is not loaded yet.
1163 (save_uint8_byte_table): New function of UTF-2000 with external
1165 (save_uint16_byte_table): Likewise.
1166 (save_byte_table): Likewise.
1167 (Fput_char_attribute): Don't store value into external database
1168 even if the external database feature is supported in UTF-2000;
1169 set `attribute' as name of char-table if the external database
1170 feature is supported.
1171 (Fsave_char_attribute_table): New function in UTF-2000.
1172 (syms_of_chartab): Add new builtin function
1173 `save-char-attribute-table' in UTF-2000.
1175 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1177 * chartab.c (char_attribute_table_to_put): New variable in
1179 (Qput_char_table_map_function): Likewise.
1180 (value_to_put): Likewise.
1181 (Fput_char_table_map_function): New function in UTF-2000.
1182 (put_char_table): Use `Fmap_char_attribute' for
1183 CHARTAB_RANGE_CHARSET in UTF-2000.
1184 (Fput_char_attribute): Store symbol instead of string in
1185 `XCHAR_TABLE_NAME (table)'.
1186 (load_char_attribute_maybe): Likewise.
1187 (syms_of_chartab): Add new symbol/function
1188 `put-char-table-map-function'.
1190 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1192 * database.h: Add new EXFUN for `Fmap_database'.
1194 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1195 (syms_of_database): Likewise.
1197 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1199 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1200 (XCHAR_TABLE_UNLOADED): Likewise.
1202 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1203 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1204 HAVE_DATABASE is defined.
1205 (char_attribute_table_to_load): New variable of UTF-2000 with
1206 external database support.
1207 (Qload_char_attribute_table_map_function): Likewise.
1208 (Fload_char_attribute_table_map_function): New function of
1209 UTF-2000 with external database support.
1210 (Fload_char_attribute_table): New function of UTF-2000.
1211 (Fmap_char_attribute): Call Fload_char_attribute_table if
1212 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1213 (syms_of_chartab): Add new symbol and function
1214 `load-char-attribute-table-map-function' in UTF-2000 with external
1215 database support; add new function `load-char-attribute-table' in
1218 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1220 * chartab.h (load_char_attribute_maybe): New prototype for
1221 UTF-2000 with DATABASE support.
1222 (get_char_id_table): Use `load_char_attribute_maybe' if
1223 HAVE_DATABASE is defined.
1225 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1226 with DATABASE support.
1228 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * chartab.c (Fput_char_attribute): Use S-expression as key of
1233 * chartab.h (get_char_id_table): Use S-expression as key of
1236 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1238 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1239 if an element is not loaded, load the corresponding attributes
1240 from an external database.
1241 (map_over_uint16_byte_table): Likewise.
1242 (map_over_byte_table): Likewise.
1243 (map_char_table): Modify for `map_over_uint8_byte_table',
1244 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1245 element is not loaded, load the corresponding attributes from an
1247 (Fput_char_attribute): Change initial values to Qunloaded.
1249 * chartab.h (get_char_id_table): If a character attribute is not
1250 loaded and the attribute value is not found in an external
1251 database, store Qunbound as the attribute value.
1253 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1255 * chartab.c (BT_UINT8_unloaded): New macro.
1256 (UINT8_VALUE_P): Accept Qunloaded.
1257 (UINT8_ENCODE): Likewise.
1258 (UINT8_DECODE): Likewise.
1259 (BT_UINT16_unloaded): New macro.
1260 (UINT16_VALUE_P): Accept Qunloaded.
1261 (UINT16_ENCODE): Likewise.
1262 (UINT16_DECODE): Likewise.
1263 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1265 (mark_char_table): Mark `ct->name' in UTF-2000.
1266 (char_table_description): Add `name' in UTF-2000.
1267 (Fmake_char_table): Initialize `ct->name'.
1268 (Fcopy_char_table): Copy `ct->name'.
1269 (Fput_char_attribute): Store value into an external database if
1270 HAVE_DATABASE is defined.
1272 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1274 (CHAR_TABLE_NAME): New macro in UTF-2000.
1275 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1276 (get_char_id_table): Try to read an external database if Qunloaded
1277 is stored in a table.
1279 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1282 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1284 * database.h: Add EXFUN definitions for Fopen_database,
1285 Fput_database, Fget_database and Fclose_database.
1287 * data.c (Qunloaded): New variable in UTF-2000.
1289 * lisp.h (Qunloaded): New variable in UTF-2000.
1291 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1293 * mule-charset.c (put_char_ccs_code_point): Modify for
1294 `decoding_table_remove_char' and `decoding_table_put_char'.
1295 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1297 * char-ucs.h (decoding_table_remove_char): Change arguments to
1298 hide decoding_table vector.
1299 (decoding_table_put_char): Likewise.
1301 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1303 * mule-charset.c (decoding_table_remove_char): Moved to
1305 (decoding_table_put_char): Likewise.
1307 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1308 from mule-charset.c].
1309 (decoding_table_remove_char): New inline function [moved from
1311 (decoding_table_put_char): Likewise.
1313 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1315 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1318 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1320 * mule-charset.c (decode_builtin_char): Support mother charsets.
1322 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1324 * mule-charset.c (Q94x94x60): New variable.
1325 (charset_code_point): Support conversion `94x94x60'.
1326 (Fmake_charset): Likewise.
1327 (syms_of_mule_charset): Add new symbol `94x94x60'.
1329 * char-ucs.h (CONVERSION_94x94x60): New macro.
1331 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1333 * mule-charset.c (charset_code_point): Unify code about
1336 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1338 * mule-charset.c (charset_code_point): Merge code about builtin
1339 characters into code about mother charsets; don't use
1340 `range_charset_code_point'.
1341 (range_charset_code_point): Deleted.
1343 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1345 * mule-charset.c (Qcode_offset): New variable.
1346 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1347 `max-code'; accept new property `code-offset'.
1348 (syms_of_mule_charset): Add new symbol `code-offset'.
1350 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1352 * mule-charset.c (range_charset_code_point): Fixed.
1354 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1356 * mule-charset.c (decode_builtin_char): Change semantics of
1357 code-offset of coded-charset.
1358 (charset_code_point): Likewise.
1359 (range_charset_code_point): Likewise.
1360 (complex_vars_of_mule_charset): Modify for the change.
1362 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1364 * mule-charset.c (Fencode_char): Reverse arguments.
1366 * mule-charset.c (charset_code_point): Fixed.
1368 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1370 * mule-charset.c (Vcharset_mojikyo): Deleted.
1371 (Vcharset_mojikyo_2022_1): Deleted.
1372 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1373 (Qmin_code): New variable in UTF-2000.
1374 (Qmax_code): Likewise.
1375 (Qmother): Likewise.
1376 (Qconversion): Likewise.
1378 (Qmojikyo): Deleted.
1379 (Qmojikyo_2022_1): Deleted.
1380 (Qmojikyo_pj_{1..22}): Deleted.
1381 (mark_charset): Mark `cs->mother'.
1382 (charset_description): Add description for `mother'.
1383 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1384 new arguments `mother' and `conversion'; use
1385 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1386 (charset_code_point): Moved from char-ucs.h; support `mother'
1388 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1389 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1390 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1391 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1392 allow 2 as the value of `graphic' in UTF-2000; add new properties
1393 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1394 require `final' in UTF-2000; modify for `make_charset'.
1395 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1396 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1397 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1398 (Fencode_char): New function.
1399 (syms_of_mule_charset): Add new builtin function `encode-char' in
1400 UTF-2000; add new symbols `min-code', `max-code', `mother',
1401 `conversion' and `94x60'; delete symbols `mojikyo',
1402 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1403 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1404 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1405 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1407 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1408 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1410 * char-ucs.h (Vcharset_mojikyo): Deleted.
1411 (Vcharset_mojikyo_2022_1): Deleted.
1412 (LEADING_BYTE_MOJIKYO): Deleted.
1413 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1414 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1415 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1416 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1417 add new member `mother'; add new member `conversion'.
1418 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1419 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1420 (CHARSET_MOTHER): New macro.
1421 (CHARSET_CONVERSION): New macro.
1422 (CONVERSION_IDENTICAL): New macro.
1423 (CONVERSION_94x60): New macro.
1424 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1425 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1426 (XCHARSET_MOTHER): New macro.
1427 (XCHARSET_CONVERSION): New macro.
1428 (MIN_CHAR_MOJIKYO): Deleted.
1429 (MAX_CHAR_MOJIKYO): Deleted.
1430 (DECODE_MOJIKYO_2022): Deleted.
1431 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1432 (charset_code_point): Changed to non-inline function.
1433 (encode_char_1): Use `charset_code_point'.
1434 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1436 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1438 * lread.c (read_compiled_function): Fix prototype.
1439 (read_vector): Likewise.
1441 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1443 * lrecord.h (struct lrecord_header): Delete `older'.
1444 (set_lheader_implementation): Delete code for `older'.
1445 (set_lheader_older_implementation): Deleted.
1446 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1447 (OLDER_RECORD_P): Deleted.
1448 (OLDER_RECORD_HEADER_P): Deleted.
1449 (alloc_older_lcrecord): Deleted.
1450 (alloc_older_lcrecord_type): Deleted.
1452 * alloc.c (all_older_lcrecords): Deleted.
1453 (alloc_older_lcrecord): Deleted.
1454 (disksave_object_finalization_1): Delete code for older objects.
1455 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1456 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1458 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1461 instead of `make_older_vector'.
1462 (put_char_ccs_code_point): Likewise.
1463 (mark_charset): Mark `cs->decoding_table'.
1464 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1466 * lisp.h (make_older_vector): Deleted.
1467 (make_vector_newer): Deleted.
1469 * config.h.in (HAVE_GGC): Deleted.
1471 * alloc.c (make_older_vector): Deleted.
1472 (make_vector_newer_1): Deleted.
1473 (make_vector_newer): Deleted.
1475 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1477 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1478 (Qideograph_daikanwa_2): New variable.
1479 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1480 (complex_vars_of_mule_charset): Add new coded-charset
1481 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1482 `LEADING_BYTE_DAIKANWA'.
1484 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1485 (LEADING_BYTE_DAIKANWA_1): New macro.
1486 (LEADING_BYTE_DAIKANWA_2): New macro.
1487 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1489 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1491 * mule-charset.c (complex_vars_of_mule_charset): Change
1492 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1493 the second revised version.
1495 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1497 * mule-charset.c (Vcharset_ucs_smp): New variable.
1498 (Vcharset_ucs_sip): New variable.
1499 (Qucs_smp): New variable.
1500 (Qucs_sip): New variable.
1501 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1502 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1503 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1504 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1505 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1506 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1508 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1509 (LEADING_BYTE_UCS_SIP): New macro.
1510 (MIN_CHAR_SMP): New macro.
1511 (MAX_CHAR_SMP): New macro.
1512 (MIN_CHAR_SIP): New macro.
1513 (MAX_CHAR_SIP): New macro.
1515 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1517 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1520 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1522 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1523 value; don't store value into `encoding_table' of `Lisp_Charset'.
1524 (mark_charset): `encoding_table' was deleted.
1525 (charset_description): Likewise.
1526 (make_charset): Likewise.
1527 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1528 `put_char_ccs_code_point'.
1530 * chartab.h (Fput_char_attribute): New EXFUN.
1532 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1533 is unified with normal symbol space.
1534 (Fget_char_attribute): Likewise.
1535 (Fput_char_attribute): Likewise; behavior of
1536 `put_char_ccs_code_point' is changed.
1538 * char-ucs.h: Include "elhash.h".
1539 (Vchar_attribute_hash_table): New external variable.
1540 (struct Lisp_Charset): Delete `encoding_table'.
1541 (CHARSET_ENCODING_TABLE): New implementation; refer
1542 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1545 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1547 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1550 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1552 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1555 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1557 * chartab.c (uint8_byte_table_description): New constant.
1558 (uint8-byte-table): Use `uint8_byte_table_description'.
1559 (uint16_byte_table_description): New constant.
1560 (uint16-byte-table): Use `uint16_byte_table_description'.
1562 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1564 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1565 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1567 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1569 * mule-charset.c (Vcharset_ucs_ks): New variable.
1570 (Qucs_ks): New variable.
1571 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1572 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1574 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1576 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1578 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1579 (Fdecode_char): Likewise.
1581 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1583 (Fdefine_char): Modify for Fdecode_char.
1584 (Ffind_char): Likewise.
1586 * mule-charset.c (Fdecode_char): Add new optional argument
1588 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1590 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1592 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1593 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1594 (allocate_coding_system): Initialize initial-charsets of
1595 CODESYS_BIG5 in XEmacs UTF-2000.
1596 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1597 CODESYS_BIG5 in XEmacs UTF-2000.
1598 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1599 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1601 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1603 (Qideograph_hanziku_{1 .. 12}): Likewise.
1604 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1606 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1607 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1608 `ideograph-hanziku-{1 .. 12}'.
1610 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1611 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1612 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1613 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1614 (DECODE_DEFINED_CHAR): New inline function.
1615 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1617 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1619 * mule-charset.c (Vcharset_china3_jef): Renamed from
1620 `Vcharset_japanese_jef_china3'.
1621 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1622 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1623 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1624 (syms_of_mule_charset): Rename `china3-jef' from
1625 `japanese-jef-china3'.
1626 (complex_vars_of_mule_charset): Likewise; rename
1627 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1629 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1630 `LEADING_BYTE_JEF_CHINA3'.
1631 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1632 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1634 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1636 * mule-charset.c (encode_builtin_char_1): Comment out special code
1637 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1639 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1640 (MAX_CHAR_MOJIKYO_0): Comment out.
1641 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1642 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1643 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1644 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1646 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1648 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1649 (Qideograph_cbeta): New variable.
1650 (encode_builtin_char_1): Comment out special code for
1651 coded-charset `mojikyo' and `japanese-jef-china3'.
1652 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1653 (complex_vars_of_mule_charset): Add new coded-charset
1656 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1657 (MIN_CHAR_CBETA): New macro.
1658 (MAX_CHAR_CBETA): New macro.
1660 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1662 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1663 (LEADING_BYTE_JEF_CHINA3): New macro.
1664 (MIN_CHAR_JEF_CHINA3): New macro.
1665 (MAX_CHAR_JEF_CHINA3): Likewise.
1666 (DECODE_CHAR): Fixed.
1668 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1670 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1671 (Qjapanese_jef_china3): New variable.
1672 (encode_builtin_char_1): Support `japanese-jef-china3'.
1673 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1674 (complex_vars_of_mule_charset): Add new coded-charset
1675 `japanese-jef-china3'.
1677 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1679 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1680 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1681 94^4, 96^3, 96^4, 128^n and 256^n set.
1682 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1683 (map_char_table): Likewise.
1685 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1687 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1690 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1692 * chartab.h (get_char_id_table): New inline function.
1694 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1697 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1699 * chartab.h (decode_char_table_range): New prototype in XEmacs
1701 (put_char_id_table): New inline function in XEmacs UTF-2000.
1703 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1705 (decode_char_table_range): Delete static declaration in XEmacs
1708 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1710 * chartab.c (put_char_id_table): Use `put_char_table'.
1712 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1714 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1715 (map_over_uint16_byte_table): Likewise.
1716 (map_over_byte_table): Likewise.
1717 (map_char_table): Modify for `map_over_uint8_byte_table',
1718 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1721 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1723 * chartab.c (struct map_char_table_for_charset_arg): New
1725 (map_char_table_for_charset_fun): New function.
1726 (map_char_table): Use `map_char_table' for encoding_table of
1729 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1731 * chartab.c (map_char_table): Check a character is found in
1732 range->charset instead of non default value is defined in
1733 char-table when range is CHARTAB_RANGE_ROW.
1735 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1737 * chartab.c (map_char_id_table): Deleted.
1738 (Fmap_char_attribute): Use `map_char_table' instead of
1739 `map_char_id_table'.
1741 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1743 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1745 (update_syntax_table): Deleted in XEmacs UTF-2000.
1747 * syntax.c (find_defun_start): Use `syntax_table' instead of
1748 `mirror_syntax_table' in XEmacs UTF-2000.
1749 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1751 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1753 (Fmatching_paren): Likewise.
1754 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1756 (find_start_of_comment): Likewise.
1757 (find_end_of_comment): Likewise.
1758 (Fforward_comment): Likewise.
1759 (scan_lists): Likewise.
1760 (char_quoted): Likewise.
1761 (Fbackward_prefix_chars): Likewise.
1762 (scan_sexps_forward): Likewise.
1763 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1764 (update_syntax_table): Likewise.
1766 * search.c (skip_chars): Use `syntax_table' instead of
1767 `mirror_syntax_table' in XEmacs UTF-2000.
1768 (wordify): Likewise.
1769 (Freplace_match): Likewise.
1771 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1772 `mirror_syntax_table' in XEmacs UTF-2000.
1773 (WORDCHAR_P_UNSAFE): Likewise.
1774 (re_match_2_internal): Likewise.
1776 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1777 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1779 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1780 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1782 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1785 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1787 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1788 (char_table_description): Delete `mirror_table' in XEmacs
1790 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1792 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1793 (Fcopy_char_table): Likewise.
1794 (put_char_table): Don't call `update_syntax_table' in XEmacs
1797 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1798 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1799 (casify_region_internal): Likewise.
1801 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1803 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1804 `mirror_syntax_table' in XEmacs UTF-2000.
1806 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1807 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1808 (Fexpand_abbrev): Likewise.
1810 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1812 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1814 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1816 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1817 (map_over_uint16_byte_table): Likewise.
1818 (map_over_byte_table): Likewise.
1819 (get_char_id_table): Refer `cit->default_value'.
1820 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1821 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1822 of character-id ranges.
1823 (mark_char_table): Mark `ct->default_value'.
1824 (char_table_description): Add `default_value'.
1825 (fill_char_table): Use `default_value'.
1826 (decode_char_table_range): Decode `nil' as
1827 `CHARTAB_RANGE_DEFAULT'.
1828 (get_char_id_table): Refer `cit->default_value'.
1829 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1830 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1831 temporary hack; check value of char-table is bound or not.
1832 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1834 * chartab.h (struct Lisp_Char_Table): Add new member
1835 `default_value' in XEmacs UTF-2000.
1836 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1837 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1840 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1842 * chartab.h (Lisp_Char_ID_Table): Deleted.
1844 * chartab.c (char_table_description): Fix typo.
1845 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1846 `Lisp_Char_ID_Table'.
1848 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1850 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1853 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1856 * chartab.h (XCHAR_ID_TABLE): Deleted.
1857 (XSETCHAR_ID_TABLE): Deleted.
1858 (CHAR_ID_TABLE_P): Deleted.
1860 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1862 (Fget_composite_char): Likewise.
1863 (put_char_table): Likewise.
1864 (add_char_attribute_alist_mapper): Fixed.
1865 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1867 (Fget_char_attribute): Likewise.
1868 (Fget_char_attribute): Likewise.
1869 (Fmap_char_attribute): Likewise.
1871 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1873 (encode_char_1): Likewise.
1875 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1877 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1880 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1881 instead of `XCHAR_ID_TABLE'.
1882 (remove_char_ccs): Likewise.
1884 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1886 (Fget_composite_char): Likewise.
1887 (Fchar_variants): Likewise.
1888 (put_char_table): Likewise.
1889 (add_char_attribute_alist_mapper): Likewise.
1890 (Fchar_attribute_alist): Likewise.
1891 (Fget_char_attribute): Likewise.
1892 (Fput_char_attribute): Likewise.
1893 (Fmap_char_attribute): Likewise.
1894 (Fmap_char_attribute): Likewise.
1896 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1898 (encode_char_1): Likewise.
1900 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1902 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1903 `Lisp_Char_ID_Table'.
1904 (mark_char_id_table): Deleted.
1905 (print_char_id_table): Likewise.
1906 (char_id_table_equal): Likewise.
1907 (char_id_table_hash): Likewise.
1908 (char_id_table_description): Likewise.
1909 (char_id_table): Likewise.
1910 (make_char_id_table): Use `Fmake_char_table' and
1912 (get_char_id_table): Use `Lisp_Char_Table' instead of
1913 `Lisp_Char_ID_Table'.
1914 (put_char_id_table): Likewise.
1915 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
1917 (Fremove_char_attribute): Likewise.
1918 (syms_of_chartab): Don't define type `char-id-table'.
1920 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
1921 (char_id_table): Likewise.
1922 (GC_CHAR_ID_TABLE_P): Likewise.
1923 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
1924 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
1925 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
1926 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
1927 (get_char_id_table): Use `Lisp_Char_Table' instead of
1928 `Lisp_Char_ID_Table'.
1929 (put_char_id_table_0): Likewise.
1930 (put_char_id_table): Likewise.
1932 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1934 * chartab.h: Lisp_Byte_Table related codes are moved from
1937 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
1939 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1941 * chartab.h: Don't include "chartab.h".
1942 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
1943 (Lisp_Char_ID_Table): Likewise.
1944 (char_id_table): Likewise.
1945 (XCHAR_ID_TABLE): Likewise.
1946 (XSETCHAR_ID_TABLE): Likewise.
1947 (CHAR_ID_TABLE_P): Likewise.
1948 (GC_CHAR_ID_TABLE_P): Likewise.
1949 (get_char_id_table): Likewise.
1951 * char-ucs.h: Include "chartab.h".
1952 (struct Lisp_Char_ID_Table): Moved to chartab.h.
1953 (Lisp_Char_ID_Table): Likewise.
1954 (char_id_table): Likewise.
1955 (XCHAR_ID_TABLE): Likewise.
1956 (XSETCHAR_ID_TABLE): Likewise.
1957 (CHAR_ID_TABLE_P): Likewise.
1958 (GC_CHAR_ID_TABLE_P): Likewise.
1959 (get_char_id_table): Likewise.
1961 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
1963 * chartab.c (copy_uint8_byte_table): New function.
1964 (copy_uint16_byte_table): New function.
1965 (copy_byte_table): New function.
1966 (map_over_uint8_byte_table): Modify to avoid huge numbers of
1968 (map_over_uint16_byte_table): Likewise.
1969 (map_over_byte_table): Likewise.
1970 (get_byte_table): Move prototype to chartab.h.
1971 (put_byte_table): Likewise.
1972 (put_char_id_table_0): Moved to chartab.h.
1973 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
1974 (char_table_entry_equal): Likewise.
1975 (char_table_entry_hash): Likewise.
1976 (char_table_entry_description): Likewise.
1977 (char_table_entry): Likewise.
1978 (make_char_table_entry): Likewise.
1979 (copy_char_table_entry): Likewise.
1980 (get_non_ascii_char_table_value): Likewise.
1981 (map_over_charset_ascii): Likewise.
1982 (map_over_charset_control_1): Likewise.
1983 (map_over_charset_row): Likewise.
1984 (map_over_other_charset): Likewise.
1985 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
1986 (print_char_table): Likewise.
1987 (char_table_equal): Likewise.
1988 (char_table_hash): Likewise.
1989 (char_table_description): Likewise.
1990 (fill_char_table): Likewise.
1991 (Fcopy_char_table): Likewise.
1992 (get_char_table): Likewise.
1993 (Fget_range_char_table): Likewise.
1994 (put_char_table): Likewise.
1995 (map_char_table): Likewise.
1996 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
1999 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2001 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2002 `Vauto_fill_chars' in XEmacs UTF-2000.
2004 * chartab.h (get_byte_table): New prototype [moved from
2006 (put_byte_table): Likewise [moved from chartab.c].
2007 (put_char_id_table_0): New inline function [moved from chartab.c].
2008 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2009 (Lisp_Char_Table_Entry): Likewise.
2010 (char_table_entry): Likewise.
2011 (XCHAR_TABLE_ENTRY): Likewise.
2012 (XSETCHAR_TABLE_ENTRY): Likewise.
2013 (CHAR_TABLE_ENTRYP): Likewise.
2014 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2015 (NUM_ASCII_CHARS): Likewise.
2016 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2017 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2019 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2021 * chartab.c (get_char_id_table): Change interface.
2022 (put_char_id_table_0): New function.
2023 (put_char_id_table): Change interface; new implementation.
2024 (Fget_composite_char): Modify for interface change of
2025 `get_char_id_table'.
2026 (Fchar_variants): Likewise.
2027 (add_char_attribute_alist_mapper): Likewise.
2028 (Fchar_attribute_alist): Likewise.
2029 (Fget_char_attribute): Likewise.
2030 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2031 as same as character as the first argument like `put-char-table';
2032 modify for interface change of `put_char_id_table'.
2033 (Fremove_char_attribute): Modify for interface change of
2034 `put_char_id_table'.
2036 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2038 * text-coding.c: Sync up with XEmacs 21.2.41.
2039 (COMPOSE_ADD_CHAR): Modify for interface change of
2040 `get_char_id_table'.
2042 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2043 change of `put_char_id_table'.
2044 (remove_char_ccs): Likewise.
2046 * chartab.h (put_char_id_table): Change interface.
2048 * char-ucs.h (get_char_id_table): Change interface.
2049 (charset_code_point): Modify for interface change of
2050 `get_char_id_table'.
2051 (encode_char_1): Likewise.
2053 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2055 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2057 (map_over_uint16_byte_table): Likewise.
2058 (map_over_byte_table): Likewise.
2059 (map_char_id_table): Add new argument `range' like
2061 (Fmap_char_attribute): Add new argument `range' like
2064 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2066 * chartab.c (map_over_uint8_byte_table): Change interface of
2067 mapping function to use struct chartab_range instead of Emchar.
2068 (map_over_uint16_byte_table): Likewise.
2069 (map_over_byte_table): Likewise.
2070 (map_char_id_table): Likewise.
2071 (struct slow_map_char_id_table_arg): Deleted.
2072 (slow_map_char_id_table_fun): Deleted.
2073 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2074 function `slow_map_char_table_fun' instead of struct
2075 `slow_map_char_id_table_arg' and function
2076 `slow_map_char_id_table_fun'.
2078 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2080 * mule-charset.c: Move char-it-table related codes to chartab.c.
2081 (Vutf_2000_version): Moved to chartab.c.
2082 (Fdefine_char): Likewise.
2083 (Ffind_char): Likewise.
2084 (syms_of_mule_charset): Move types `uint8-byte-table',
2085 `uint16-byte-table', `byte-table' and `char-id-table' to
2086 chartab.c; move functions `char_attribute_list,
2087 `find_char_attribute_table, `char_attribute_alist,
2088 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2089 `map_char_attribute, `define_char, `find_char, `char_variants and
2090 `get_composite_char to chartab.c; move symbols `=>ucs',
2091 `->decomposition', `compat', `isolated', `initial', `medial',
2092 `final', `vertical', `noBreak', `fraction', `super', `sub',
2093 `circle', `square', `wide', `narrow', `small' and `font' to
2095 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2096 setting codes for `Vcharacter_composition_table' and
2097 `Vcharacter_variant_table' to chartab.c.
2098 (complex_vars_of_mule_charset): Move setting code for
2099 `Vchar_attribute_hash_table' to chartab.c.
2101 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2102 (make_char_id_table): New prototype.
2103 (put_char_id_table): Likewise.
2104 (Fget_char_attribute): Likewise.
2106 * chartab.c: Move char-id-table related code from mule-charset.c.
2107 (Vutf_2000_version): Moved from mule-charset.c.
2109 * char-ucs.h (Qucs): New external variable.
2110 (put_char_ccs_code_point): New prototype.
2111 (remove_char_ccs): Likewise.
2113 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2115 * mule-charset.c (Vcharset_ucs_jis): New variable.
2116 (Qucs_jis): Likewise.
2117 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2118 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2120 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2122 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2124 * mule-charset.c (map_over_uint8_byte_table): New function.
2125 (map_over_uint16_byte_table): Likewise.
2126 (map_over_byte_table): Likewise.
2127 (map_char_id_table): Likewise.
2128 (slow_map_char_id_table_fun): Likewise.
2129 (Fmap_char_attribute): Likewise.
2130 (syms_of_mule_charset): Add new function `map-char-attribute'.
2132 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2134 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2135 (syms_of_mule_charset): Add new function `find-char'.
2137 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2139 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2141 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2142 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2144 (complex_vars_of_mule_charset): Add new coded-charset
2145 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2146 `ideograph-gt-pj-*'.
2148 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2150 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2152 * mule-charset.c (encode_builtin_char_1): Purge codes about
2153 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2154 {MIN|MAX}_CHAR_HEBREW.
2155 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2156 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2158 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2159 (MAX_CHAR_GREEK): Purged.
2160 (MIN_CHAR_CYRILLIC): Purged.
2161 (MAX_CHAR_CYRILLIC): Purged.
2162 (MIN_CHAR_HEBREW): Commented out.
2163 (MAX_CHAR_HEBREW): Likewise.
2165 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2167 * mule-charset.c (Qto_ucs): New variable.
2168 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2169 (Fdefine_char): Likewise.
2170 (syms_of_mule_charset): Add new symbol `=>ucs'.
2172 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2174 * mule-charset.c (Fdecode_char): Fixed.
2176 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2178 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2179 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2182 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2184 * mule-charset.c (Vcharset_ucs_big5): New variable.
2185 (Qucs_big5): Likewise.
2186 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2187 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2189 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2191 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2193 * mule-charset.c (decode_builtin_char): Check Big5 code range
2194 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2196 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2198 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2199 (Qchinese_gb12345): Likewise.
2200 (Fdecode_builtin_char): Fixed.
2201 (syms_of_mule_charset): Add `chinese-gb12345'.
2202 (complex_vars_of_mule_charset): Add coded-charset
2205 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2206 (LEADING_BYTE_CHINESE_GB12345): New macro.
2208 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2210 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2211 and `latin-viscii-upper' for `latin-viscii'.
2213 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2215 * mule-charset.c (Fdecode_builtin_char): Comment out
2216 regularization code for ISO-IR GR representation.
2218 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2220 * mule-charset.c (decode_builtin_char): New function; renamed from
2221 `make_builtin_char'; return -1 instead of signal.
2222 (Fdecode_builtin_char): Use `decode_builtin_char'.
2224 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2225 `make_builtin_char'.
2226 (DECODE_CHAR): Use `decode_builtin_char' instead of
2227 `make_builtin_char'; use mapping table of `chinese-big5' for
2228 `chinese-big5-{1,2}'.
2230 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2232 * text-coding.c (char_encode_big5): New function.
2233 (char_finish_big5): Likewise.
2234 (reset_encoding_stream): Use `char_encode_big5' and
2235 `char_finish_big5' for CODESYS_BIG5.
2236 (mule_encode): Don't use `encode_coding_big5'.
2237 (encode_coding_big5): Deleted.
2239 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2241 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2242 0x81- in XEmacs UTF-2000.
2243 (detect_coding_big5): Likewise.
2245 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2247 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2248 generate character-id if the CCS property does not have
2249 corresponding predefined character.
2250 (make_builtin_char): Return -1 if corresponding predefined
2251 character is not found.
2252 (Fdecode_char): Return nil if corresponding character is not
2254 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2255 don't map to builtin ucs space.
2257 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2259 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2260 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2262 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2264 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2265 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2266 (Qideograph_gt): Likewise.
2267 (Qideograph_gt_pj_{1..11}): Likewise.
2268 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2269 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2270 `ideograph-gt-pj-11'.
2271 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2272 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2273 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2275 * char-ucs.h (LEADING_BYTE_GT): New macro.
2276 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2277 (MIN_CHAR_GT): Likewise.
2278 (MAX_CHAR_GT): Likewise.
2280 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2282 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2283 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2285 * doprnt.c (unsigned_int_converters): Add `c'.
2286 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2288 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2289 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2291 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2292 (MAX_CHAR_MOJIKYO_0): New macro.
2293 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2295 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2297 * mule-charset.c (Fdefine_char): Delete cemented out code.
2298 (encode_builtin_char_1): Modify for new allocation of builtin
2301 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2303 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2305 * mule-charset.c (Vcharset_ucs_cns): New variable.
2306 (Qucs_cns): New variable.
2307 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2308 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2310 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2312 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2314 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2316 * search.c (search_buffer): Make `charset_base_code' as
2317 character-id >> 6 to eliminate the corresponding last byte in
2318 UTF-8 representation [I'm not sure it is right thing].
2319 (boyer_moore): Likewise.
2321 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2323 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2324 representation in MULE.
2326 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2328 * text-coding.c (Fmake_coding_system): Use
2329 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2330 `EXTERNAL_PROPERTY_LIST_LOOP'.
2332 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2334 * text-coding.c (decode_output_utf8_partial_char): New function.
2335 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2337 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2339 * text-coding.c (decode_coding_utf8): Output original byte
2340 sequence if it is broken; change order of conditions.
2342 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2345 * mb-multibyte.h (BYTE_ASCII_P):
2346 Use bit ops for char-signedness safety.
2347 (BYTE_C0_P): Use bit ops for char-signedness safety.
2348 (BYTE_C1_P): Use bit ops for char-signedness safety.
2350 * character.h: (XCHAR_OR_CHAR_INT):
2351 Always use inline function.
2352 Remove redundant type checking assert() - XINT will abort quite
2355 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2357 * text-coding.c: (Fencode_shift_jis_char):
2358 (Fencode_big5_char):
2359 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2360 Replace 0 with '\0' when working with bytes.
2361 Replace initial "(" with "\(" in docstrings.
2363 (Fmake_coding_system):
2364 When type is ccl and value is vector, register it with a proper
2365 symbol. And checks whether the given ccl program is valid.
2366 (mule_decode): When calling ccl_driver, if src indicates
2367 NULL pointer, set an empty string instead.
2368 (mule_encode): Likewise.
2371 (detect_coding_sjis):
2372 (decode_coding_sjis):
2373 (detect_coding_big5):
2374 (decode_coding_big5):
2375 (detect_coding_ucs4):
2376 (decode_coding_ucs4):
2377 (detect_coding_utf8):
2378 (decode_coding_utf8):
2379 (detect_coding_iso2022):
2380 (decode_coding_iso2022):
2381 (decode_coding_no_conversion):
2383 Make all detecting and decoding functions take an Extbyte * arg.
2384 (text_encode_generic):
2385 (encode_coding_big5):
2386 (encode_coding_no_conversion):
2388 Make all encoding functions take a Bufbyte * arg.
2389 Use size_t instead of unsigned int for memory sizes.
2390 Only cast to unsigned char whenever dereferencing Extbyte *.
2392 (struct lrecord_description fcd_description_1): Use countof.
2393 (complex_vars_of_file_coding):
2394 Use countof instead of sizeof.
2395 Use CHECK_NATNUM instead of CHECK_INT.
2397 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2399 * mule-charset.c (Fget_char_attribute): Add new optional argument
2401 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2402 (remove_char_ccs): Likewise.
2404 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2406 * text-coding.c (char_encode_shift_jis): New implementation in
2408 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2411 * mule-charset.c (Vcharset_chinese_big5): New variable in
2413 (Qchinese_big5): New variable in UTF-2000.
2414 (BIG5_SAME_ROW): New macro in UTF-2000.
2415 (make_builtin_char): Use builtin characters of
2416 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2417 characters of `Vcharset_chinese_big5'.
2418 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2419 (complex_vars_of_mule_charset): Add new coded-charset
2420 `chinese-big5' in UTF-2000.
2422 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2423 (Vcharset_chinese_big5): New external variable declaration.
2424 (Vcharset_japanese_jisx0208_1990): Likewise.
2426 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2428 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2430 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2432 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2434 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2435 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2436 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2439 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2441 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2443 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2445 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2448 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2450 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2451 for `CHARSET_BY_ATTRIBUTES'.
2452 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2453 `CHARSET_BY_ATTRIBUTES'.
2455 * text-coding.c (struct decoding_stream): Rename member `CH' to
2457 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2458 (decode_coding_sjis): Likewise.
2459 (decode_coding_big5): Likewise.
2460 (decode_coding_ucs4): Likewise.
2461 (decode_coding_utf8): Likewise.
2462 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2463 `CHARSET_BY_ATTRIBUTES'.
2464 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2465 `str->counter'; decode 3, 4 bytes sets.
2466 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2468 (decode_coding_no_conversion): Use `str->cpos' instead of
2471 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2472 (Qmojikyo_2022_1): New variable.
2473 (make_charset): Don't use `CHARSET_TYPE_*'.
2474 (range_charset_code_point): Support coded-charset
2476 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2477 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2478 `CHARSET_BY_ATTRIBUTES'.
2479 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2480 `CHARSET_BY_ATTRIBUTES'.
2481 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2482 (complex_vars_of_mule_charset): Add new coded-charset
2485 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2486 interface; changed to inline function.
2488 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2489 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2490 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2491 (CHARSET_TYPE_94): Deleted.
2492 (CHARSET_TYPE_94X94): Deleted.
2493 (CHARSET_TYPE_96): Deleted.
2494 (CHARSET_TYPE_96X96): Deleted.
2495 (CHARSET_TYPE_128): Deleted.
2496 (CHARSET_TYPE_128X128): Deleted.
2497 (CHARSET_TYPE_256): Deleted.
2498 (CHARSET_TYPE_256X256): Deleted.
2499 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2501 (DECODE_MOJIKYO_2022): New inline function.
2502 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2503 `Vcharset_mojikyo_2022_1'.
2505 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2507 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2509 (put_byte_table): Likewise.
2510 (char_id_table_equal): Use `get_byte_table' [new implementation].
2512 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2514 * mule-charset.c: Include <limits.h> in UTF-2000.
2515 (BT_UINT8_MIN): New macro in UTF-2000.
2516 (BT_UINT8_MAX): New macro in UTF-2000.
2517 (BT_UINT8_t): New macro in UTF-2000.
2518 (BT_UINT8_nil): New macro in UTF-2000.
2519 (BT_UINT8_unbound): New macro in UTF-2000.
2520 (INT_UINT8_P): New inline function in UTF-2000.
2521 (UINT8_VALUE_P): New inline function in UTF-2000.
2522 (UINT8_ENCODE): New inline function in UTF-2000.
2523 (UINT8_DECODE): New inline function in UTF-2000.
2524 (mark_uint8_byte_table): New function in UTF-2000.
2525 (print_uint8_byte_table): New function in UTF-2000.
2526 (uint8_byte_table_equal): New function in UTF-2000.
2527 (uint8_byte_table_hash): New function in UTF-2000.
2528 (make_uint8_byte_table): New function in UTF-2000.
2529 (uint8_byte_table_same_value_p): New function in UTF-2000.
2530 (BT_UINT16_MIN): New macro in UTF-2000.
2531 (BT_UINT16_MAX): New macro in UTF-2000.
2532 (BT_UINT16_t): New macro in UTF-2000.
2533 (BT_UINT16_nil): New macro in UTF-2000.
2534 (BT_UINT16_unbound): New macro in UTF-2000.
2535 (INT_UINT16_P): New inline function in UTF-2000.
2536 (UINT16_VALUE_P): New inline function in UTF-2000.
2537 (UINT16_ENCODE): New inline function in UTF-2000.
2538 (UINT16_DECODE): New inline function in UTF-2000.
2539 (UINT8_TO_UINT16): New inline function in UTF-2000.
2540 (mark_uint16_byte_table): New function in UTF-2000.
2541 (print_uint16_byte_table): New function in UTF-2000.
2542 (uint16_byte_table_equal): New function in UTF-2000.
2543 (uint16_byte_table_hash): New function in UTF-2000.
2544 (make_uint16_byte_table): New function in UTF-2000.
2545 (uint16_byte_table_same_value_p): New function in UTF-2000.
2546 (print_byte_table): New function in UTF-2000.
2547 (byte-table): Use `print_byte_table' as printer.
2548 (make_byte_table): Delete second argument `older'.
2549 (byte_table_same_value_p): New function in UTF-2000.
2550 (copy_byte_table): Deleted.
2551 (get_byte_table): New function in UTF-2000.
2552 (put_byte_table): New function in UTF-2000.
2553 (print_char_id_table): New function in UTF-2000.
2554 (char-id-table): Use `print_char_id_table' as printer.
2555 (make_char_id_table): Delete second argument `older'.
2556 (get_char_id_table): Use `get_byte_table [new implementation].
2557 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2559 (Ffind_char_attribute_table): New function in UTF-2000.
2560 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2561 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2562 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2563 (syms_of_mule_charset): Add new function
2564 `find-char-attribute-table' in UTF-2000.
2566 * lrecord.h (enum lrecord_type): Add
2567 `lrecord_type_uint16_byte_table' and
2568 `lrecord_type_uint8_byte_table'.
2570 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2571 (Lisp_Uint8_Byte_Table): New type.
2572 (XUINT8_BYTE_TABLE): New macro.
2573 (XSETUINT8_BYTE_TABLE): New macro.
2574 (UINT8_BYTE_TABLE_P): New macro.
2575 (GC_UINT8_BYTE_TABLE_P): New macro.
2576 (struct Lisp_Uint16_Byte_Table): New structure.
2577 (Lisp_Uint16_Byte_Table): New type.
2578 (XUINT16_BYTE_TABLE): New macro.
2579 (XSETUINT16_BYTE_TABLE): New macro.
2580 (UINT16_BYTE_TABLE_P): New macro.
2581 (GC_UINT16_BYTE_TABLE_P): New macro.
2583 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2585 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2586 (Vcharacter_ideographic_strokes_table): Deleted.
2587 (Vcharacter_total_strokes_table): Deleted.
2588 (Vcharacter_morohashi_daikanwa_table): Deleted.
2589 (Vcharacter_decomposition_table): Deleted.
2590 (Qname): Deleted because it is duplicated.
2591 (Qideographic_radical): Deleted.
2592 (Qideographic_strokes): Deleted.
2593 (Qtotal_strokes): Deleted.
2594 (Qmorohashi_daikanwa): Deleted.
2595 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2596 `ideographic-radical', `ideographic-strokes', `total-strokes',
2597 `morohashi-daikanwa' and `->decomposition'.
2598 (Fget_char_attribute): Likewise.
2599 (Fput_char_attribute): Likewise; use `make-vector' instead of
2600 `make_older_vector' for `->decomposition' value.
2601 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2602 `ideograph-daikanwa'.
2603 (syms_of_mule_charset): Delete builtin symbols `name',
2604 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2605 `morohashi-daikanwa'.
2606 (vars_of_mule_charset): Don't setup
2607 `Vcharacter_ideographic_radical_table',
2608 `Vcharacter_ideographic_strokes_table',
2609 `Vcharacter_total_strokes_table',
2610 `Vcharacter_morohashi_daikanwa_table' and
2611 `Vcharacter_decomposition_table'.
2613 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2615 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2616 `make_older_vector', `make_vector_newer_1' and
2617 `make_vector_newer'.
2619 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2620 `make_older_vector' and `make_vector_newer'.
2622 * config.h.in (HAVE_GGC): New macro.
2624 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2626 * mule-charset.c (struct char_attribute_list_closure): New
2627 structure in UTF-2000.
2628 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2629 (Fchar_attribute_list): Likewise.
2630 (Fset_charset_mapping_table): Use `make_vector_newer'.
2631 (Fdecode_builtin_char): New function in UTF-2000.
2632 (syms_of_mule_charset): Add new function `char-attribute-list' and
2633 `decode-builtin-char' in UTF-2000.
2635 * lisp.h (make_vector_newer): New prototype.
2637 * alloc.c (make_vector_newer_1): New function.
2638 (make_vector_newer): New function.
2640 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2642 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2645 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2647 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2648 (Vcharacter_attribute_table): Deleted.
2649 (Vcharacter_name_table): Deleted.
2650 (put_char_attribute): Deleted.
2651 (remove_char_attribute): Deleted.
2652 (struct char_attribute_alist_closure): New structure.
2653 (add_char_attribute_alist_mapper): New function.
2654 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2655 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2656 (Fget_char_attribute): Likewise.
2657 (Fput_char_attribute): Likewise.
2658 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2659 of `remove_char_attribute'.
2660 (Fdefine_char): Return character.
2661 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2662 and `Vcharacter_name_table'.
2663 (complex_vars_of_mule_charset): Likewise
2664 `Vchar_attribute_hash_table'.
2666 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2668 * character.h (CHARC_CHARSET): New macro.
2669 (CHARC_CHARSET_ID): New macro.
2670 (CHARC_CODE_POINT): New macro.
2671 (CHARC_COLUMNS): New macro.
2672 (CHARC_TO_CHAR): New inline function.
2673 (CHARC_EQ): New inline function.
2674 (CHARC_ASCII_EQ): New inline function.
2675 (CHARC_IS_SPACE): New inline function.
2676 (ASCII_TO_CHARC): New inline function.
2678 * char-ucs.h (encode_char_2): Deleted.
2679 (ENCODE_CHAR): Use `encode_char_1' again.
2680 (breakup_char_1): Likewise.
2681 (CHAR_TO_CHARC): New inline function.
2683 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2685 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2687 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2688 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2689 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2690 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2691 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2693 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2695 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2697 (x_output_display_block): Use `CHARC_CHARSET' and
2700 * redisplay-tty.c (tty_output_display_block): Use
2702 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2704 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2706 * insdel.c (find_charsets_in_charc_string): Use
2708 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2709 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2710 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2711 (convert_charc_string_into_malloced_string): Likewise.
2713 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2715 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2716 instead of <Emchar_dynarr *> for buf; use
2717 `convert_bufbyte_string_into_charc_dynarr' instead of
2718 `convert_bufbyte_string_into_emchar_dynarr'; use
2719 `find_charsets_in_charc_string' instead of
2720 `find_charsets_in_emchar_string'.
2723 - Include "character.h".
2724 (struct rune): New member `cglyph'; delete member `chr'.
2726 * redisplay.c (redisplay_text_width_charc_string): New function;
2727 delete `redisplay_text_width_emchar_string'.
2728 (rtw_charc_dynarr): New variable; renamed from
2729 `rtw_emchar_dynarr'.
2730 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2731 `rtw_emchar_dynarr'; use
2732 `convert_bufbyte_string_into_charc_dynarr' instead of
2733 `convert_bufbyte_string_into_emchar_dynarr'; use
2734 `redisplay_text_width_charc_string' instead of
2735 `redisplay_text_width_emchar_string'.
2736 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2737 instead of `rtw_emchar_dynarr'; use
2738 `convert_bufbyte_string_into_charc_dynarr' instead of
2739 `convert_bufbyte_string_into_emchar_dynarr'.
2740 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2741 `redisplay_text_width_charc_string' instead of
2742 `redisplay_text_width_emchar_string'.
2743 (create_text_block): Modify for <struct rune> change.
2744 (generate_formatted_string_db): Likewise.
2745 (create_string_text_block): Likewise.
2746 (pixel_to_glyph_translation): Likewise.
2748 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2749 instead of <const Emchar *>.
2750 (x_text_width): Likewise.
2751 (x_output_display_block): Use <Charc_dynarr *> instead
2752 <Emchar_dynarr *>; modify for <structure rune> change.
2753 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2756 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2757 <const Emchar *>; use `charc_string_displayed_columns' instead of
2758 `emchar_string_displayed_columns'.
2759 (tty_output_display_block): Use <Charc_dynarr *> instead of
2760 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2761 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2762 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2763 `tty_output_emchar_dynarr_dynarr'.
2764 (tty_output_charc_dynarr): New function; delete
2765 `tty_output_charc_dynarr'.
2767 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2768 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2769 <Emchar_dynarr *> for buf; use
2770 `convert_bufbyte_string_into_charc_dynarr' instead of
2771 `convert_bufbyte_string_into_emchar_dynarr'.
2773 * frame.c (title_string_charc_dynarr): New variable; renamed from
2774 `title_string_emchar_dynarr'.
2775 (generate_title_string): Use `title_string_charc_dynarr' instead
2776 of `title_string_emchar_dynarr'; use
2777 `convert_charc_string_into_malloced_string' instead of
2778 `convert_emchar_string_into_malloced_string'.
2779 (init_frame): Use `title_string_charc_dynarr' instead of
2780 `title_string_emchar_dynarr'.
2783 - Include "character.h".
2784 (struct console_methods): Use <const Charc *> instead of <const
2785 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2786 <Emchar_dynarr *> in output_string_method.
2788 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2791 * console-stream.c (stream_text_width): Use <const Charc *>
2792 instead of <const Emchar *>.
2794 * character.h (Charc_dynarr): New type.
2796 * char-ucs.h (structure Charc): New structure; define new type
2799 * char-lb.h (DECODE_CHAR): New inline function.
2800 (encode_char_1): New inline function.
2801 (ENCODE_CHAR): New macro.
2802 (structure Charc): New structure; define new type `Charc'.
2804 * char-1byte.h (Vcharset_control_1): New macro.
2805 (Vcharset_latin_iso8859_1): New macro.
2806 (DECODE_CHAR): New inline function.
2807 (encode_char_1): New inline function.
2808 (ENCODE_CHAR): New macro.
2809 (structure Charc): New structure; define new type `Charc'.
2811 * insdel.c (find_charsets_in_charc_string): New function; delete
2812 `find_charsets_in_emchar_string'.
2813 (charc_string_displayed_columns): New function; delete
2814 `emchar_string_displayed_columns'.
2815 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2816 `convert_bufbyte_string_into_emchar_dynarr'.
2817 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2818 `convert_charc_string_into_bufbyte_dynarr'.
2819 (convert_charc_string_into_malloced_string): New function; delete
2820 `convert_charc_string_into_malloced_string'.
2822 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2823 `find_charsets_in_emchar_string'.
2824 (charc_string_displayed_columns): New prototype; delete
2825 `emchar_string_displayed_columns'.
2826 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2827 `convert_charc_string_into_bufbyte_dynarr'.
2828 (convert_charc_string_into_malloced_string): New prototype; delete
2829 `convert_charc_string_into_malloced_string'.
2831 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2833 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2835 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2837 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2839 * char-ucs.h: Use <short> for <Charset_ID>.
2841 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2844 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2846 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2849 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2851 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2853 (Qmorohashi_daikanwa): New variable.
2854 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2855 for `morohashi-daikanwa' attribute.
2856 (Fget_char_attribute): Likewise.
2857 (Fput_char_attribute): Likewise.
2858 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2859 has the same value of `ideograph-daikanwa'.
2860 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2861 (vars_of_mule_charset): Setup
2862 `Vcharacter_morohashi_daikanwa_table'.
2864 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2866 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2868 (add_charset_to_list_mapper): Add `key' instead of
2869 `XCHARSET_NAME (value)' to return aliases.
2871 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2873 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2875 (Vcharacter_ideographic_strokes_table): New variable.
2876 (Qideographic_radical): New variable.
2877 (Qideographic_strokes): New variable.
2878 (Fchar_attribute_alist): Use
2879 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2880 attribute; use `Vcharacter_ideographic_strokes_table' for
2881 `ideographic-strokes' attribute.
2882 (Fget_char_attribute): Likewise.
2883 (Fput_char_attribute): Likewise.
2884 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2885 `ideographic-strokes'.
2886 (vars_of_mule_charset): Setup
2887 `Vcharacter_ideographic_radical_table' and
2888 `Vcharacter_ideographic_strokes_table'.
2890 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2892 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2893 (Qtotal_strokes): New variable.
2894 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2895 `total-strokes' attribute.
2896 (Fget_char_attribute): Likewise.
2897 (Fput_char_attribute): Likewise.
2898 (syms_of_mule_charset): Add new symbol `total-strokes'.
2899 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2901 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2903 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2904 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2906 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2907 `->decomposition' attribute.
2908 (Fput_char_attribute): Likewise.
2909 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
2911 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2913 * mule-charset.c (decoding_table_check_elements): New function.
2914 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
2916 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2918 * mule-charset.c (Fset_charset_mapping_table): Use
2919 `put_char_ccs_code_point'.
2921 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2923 * mule-charset.c (decoding_table_put_char): New inline function.
2924 (put_char_ccs_code_point): Use `decoding_table_put_char'.
2926 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2928 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
2929 (XCHARSET_BYTE_SIZE): New macro.
2930 (decoding_table_remove_char): New inline function.
2931 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
2932 `decoding_table_remove_char'.
2933 (remove_char_ccs): Use `decoding_table_remove_char'.
2934 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
2936 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2938 * mule-charset.c (Vcharacter_name_table): New variable.
2939 (Qname): New variable.
2940 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
2942 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
2943 `Vcharacter_name_table' for `name' attribute.
2944 (Fremove_char_attribute): Use function `remove_char_ccs'.
2945 (put_char_ccs_code_point): New function.
2946 (remove_char_ccs): New function.
2947 (syms_of_mule_charset): Add new symbol `name'.
2948 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
2950 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2952 * mule-charset.c (make_byte_table): Add new argument `older'.
2953 (make_char_id_table): Likewise.
2954 (copy_char_id_table): Comment out because it is not used.
2955 (put_char_id_table): Modify for `make_byte_table'.
2956 (Fput_char_attribute): Make encoding_table as older object;
2957 inherit older bit of `Vcharacter_composition_table'.
2958 (mark_charset): Don't mark `cs->encoding_table'.
2959 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
2960 normal object; make `Vcharacter_composition_table' as an older
2961 object; delete staticpro for `Vcharacter_composition_table'; make
2962 `Vcharacter_variant_table' as a normal object.
2964 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
2965 (mark_object): Don't check older object in UTF-2000.
2967 * lrecord.h (struct lrecord_header): Add new member `older' in
2969 (set_lheader_implementation): Setup `SLI_header->older' in
2971 (set_lheader_older_implementation): New macro in UTF-2000.
2972 (OLDER_RECORD_P): New macro in UTF-2000.
2973 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
2974 (alloc_older_lcrecord): New prototype in UTF-2000.
2975 (alloc_older_lcrecord_type): New macro in UTF-2000.
2977 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2979 * mule-charset.c (byte_table_description): Use
2980 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
2981 (char_id_table_description): Delete bogus `, 1'.
2982 (Fget_char_attribute): Refer encoding_table of each coded-charset
2983 to get value of coded-charset attribute of a character.
2984 (Fput_char_attribute): Use `make_older_vector' instead of
2985 `make_vector'; use encoding_table of each coded-charset to store
2986 value of coded-charset attribute of a character.
2987 (Fremove_char_attribute): Use encoding_table of each coded-charset
2988 to store value of coded-charset attribute of a character.
2989 (mark_charset): Mark `cs->encoding_table'; don't mark
2990 `cs->decoding_table'.
2991 (charset_description): Add description of new member
2993 (make_charset): Initialize `encoding_table'.
2995 * char-ucs.h (struct Lisp_Charset): Add new member
2997 (CHARSET_ENCODING_TABLE): New macro.
2998 (XCHARSET_ENCODING_TABLE): New macro.
2999 (charset_code_point): New implementation.
3000 (encode_char_1): Likewise.
3002 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3003 (disksave_object_finalization_1): Call finalizers of
3004 `all_older_lcrecords' in UTF-2000.
3005 (make_older_vector): New function in UTF-2000.
3006 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3009 * lisp.h (make_older_vector): New prototype in UTF-2000.
3011 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3013 * lrecord.h (enum lrecord_type): Rename
3014 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3016 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3017 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3018 `get_char_code_table'.
3020 * mule-charset.c (mark_char_id_table): Renamed from
3021 `mark_char_code_table'.
3022 (char_id_table_equal): Renamed from `char_code_table_equal'.
3023 (char_id_table_hash): Renamed from `char_code_table_hash'.
3024 (make_char_id_table): Renamed from `make_char_code_table'.
3025 (copy_char_id_table): Renamed from `copy_char_code_table'.
3026 (get_char_id_table): Renamed from `get_char_code_table'.
3027 (put_char_id_table): Renamed from `put_char_code_table'.
3028 (to_char_id): Renamed from `to_char_code'.
3030 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3031 `Lisp_Char_Code_Table'.
3032 (char_id_table): Renamed from `char_code_table'.
3033 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3034 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3035 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3036 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3037 (get_char_id_table): Renamed from `get_char_code_table'.
3039 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3041 * lrecord.h (enum lrecord_type): Rename
3042 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3044 * mule-charset.c (mark_byte_table): Renamed from
3045 `mark_char_byte_table'.
3046 (byte_table_equal): Renamed from `char_byte_table_equal'.
3047 (byte_table_hash): Renamed from `byte_table_hash'.
3048 (make_byte_table): Renamed from `make_byte_table'.
3049 (copy_byte_table): Renamed from `copy_char_byte_table'.
3051 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3052 `Lisp_Char_Byte_Table'.
3053 (byte_table): Renamed from `char_byte_table'.
3054 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3055 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3056 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3057 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3059 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3061 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3062 (dfc_convert_to_internal_format): Likewise.
3064 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3065 * text-coding.c (Fcoding_system_alias_p): New function.
3066 * text-coding.c (Fcoding_system_aliasee): New function.
3067 * text-coding.c (append_suffix_to_symbol): New function.
3068 * text-coding.c (dangling_coding_system_alias_p): New function.
3069 * text-coding.c (Ffind_coding_system):
3070 * text-coding.c (Fcopy_coding_system):
3071 * text-coding.c (encode_coding_no_conversion):
3072 * text-coding.c (syms_of_file_coding):
3073 * text-coding.c (vars_of_file_coding):
3074 Rewrite coding system alias code.
3075 Allow nested aliases, like symbolic links.
3076 Allow redefinition of coding system aliases.
3077 Prevent existence of dangling coding system aliases.
3078 Eliminate convert_to_external_format.
3079 Eliminate convert_to_internal_format.
3081 * text-coding.c: Change enum eol_type to eol_type_t.
3083 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3085 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3086 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3088 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3089 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3091 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3093 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3094 `ideograph-daikanwa'.
3096 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3097 (Vcharset_ucs_bmp): Likewise.
3098 (Vcharset_mojikyo): Add new extern variable definition.
3099 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3100 (Vcharset_latin_iso8859_3): Likewise.
3101 (Vcharset_latin_iso8859_4): Likewise.
3102 (Vcharset_latin_iso8859_9): Likewise.
3103 (Vcharset_latin_viscii_lower): Likewise.
3104 (Vcharset_latin_viscii_upper): Likewise.
3105 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3106 `mojikyo' code-point is used to decode.
3107 (encode_char_2): New function [to convert `mojikyo' code-point to
3108 Mojikyo font encoding].
3109 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3110 (breakup_char_1): Likewise.
3111 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3113 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3115 * text-coding.c (Fmake_coding_system): Add document about
3116 `disable-composition' property.
3118 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3120 * text-coding.c (Qdisable_composition): New variable; delete
3122 (Fmake_coding_system): Add new property `disable-composite';
3123 delete property `composite'.
3124 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3125 instead of `!CODING_SYSTEM_COMPOSITE'.
3126 (syms_of_file_coding): Add new symbol `disable-composition';
3127 delete symbol `composite'.
3129 * file-coding.h (struct Lisp_Coding_System): Add
3130 `disable_composition'; delete `enable_composition'.
3131 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3132 `CODING_SYSTEM_COMPOSITE'.
3133 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3134 `XCODING_SYSTEM_COMPOSITE'.
3136 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3138 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3141 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3143 * text-coding.c (Qcomposite): New variable.
3144 (Fmake_coding_system): Add new property `composite'.
3145 (struct decoding_stream): Add `combined_char_count',
3146 `combined_chars' and `combining_table' in UTF-2000.
3147 (COMPOSE_FLUSH_CHARS): New macro.
3148 (COMPOSE_ADD_CHAR): New macro.
3149 (reset_decoding_stream): Reset `str->combined_char_count' and
3150 `str->combining_table' in UTF-2000.
3151 (decode_coding_iso2022): Modify for character-decomposition.
3152 (syms_of_file_coding): Add new symbol `composite'.
3154 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3156 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3157 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3158 of `Vcharacter_composition_table' if `->decomposition' property
3160 (Qlatin_tcvn5712): New variable.
3161 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3162 (complex_vars_of_mule_charset): Add new coded-charset
3165 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3167 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3169 * file-coding.h (struct Lisp_Coding_System): Add
3170 `enable_composition'.
3171 (CODING_SYSTEM_COMPOSITE): New macro.
3172 (XCODING_SYSTEM_COMPOSITE): New macro.
3174 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3176 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3178 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3180 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3181 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3183 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3185 * mule-charset.c (Vcharset_mojikyo): New variable.
3186 (Fdefine_char): Don't use coded-charset which does not have
3187 non-builtin character range to allocate character-id.
3188 (Qmojikyo): New variable.
3189 (syms_of_mule_charset): Add new symbol `mojikyo'.
3190 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3192 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3193 (LEADING_BYTE_MOJIKYO): New macro.
3194 (MIN_CHAR_MOJIKYO): New macro.
3195 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3196 (MAX_CHAR_MOJIKYO): New macro.
3198 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3200 * mule-charset.c (remove_char_attribute): Fixed.
3202 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3204 * mule-charset.c (remove_char_attribute): New function.
3205 (Fremove_char_attribute): New function.
3206 (encode_builtin_char_1): Comment out builtin-support for
3207 greek-iso8859-7 and cyrillic-iso8859-5.
3208 (Fdecode_char): Check `code' is an integer.
3209 (syms_of_mule_charset): Add `remove-char-attribute'.
3210 (MIN_CHAR_GREEK): Deleted.
3211 (MAX_CHAR_GREEK): Likewise.
3212 (MIN_CHAR_CYRILLIC): Likewise.
3213 (MAX_CHAR_CYRILLIC): Likewise.
3214 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3215 MAX_CHAR_GREEK for `greek-iso8859-7'.
3217 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3218 (MAX_CHAR_GREEK): Likewise.
3219 (MIN_CHAR_CYRILLIC): Likewise.
3220 (MAX_CHAR_CYRILLIC): Likewise.
3222 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3224 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3225 format is used without `ucs' property.
3226 (Fdecode_char): Fix problem with GR representation.
3227 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3228 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3230 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3232 * mule-charset.c (make_builtin_char): New function.
3233 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3234 (Fset_charset_mapping_table): Modify for new representation of
3236 (Fdecode_char): New function.
3237 (syms_of_mule_charset): Add new builtin function `decode-char' in
3240 * char-ucs.h (make_builtin_char): New prototype.
3241 (DECODE_CHAR): New inline function.
3242 (MAKE_CHAR): Use `DECODE_CHAR'.
3244 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3246 * text-coding.c (parse_charset_conversion_specs): Use
3247 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3249 (iso2022_designate): Likewise.
3251 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3252 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3254 * mule-charset.c (Vcharset_ucs): New variable.
3255 (print_charset): Change design; use `CHARSET_CHARS' and
3256 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3257 (make_charset): Change signature to specify `chars' and
3258 `dimension' instead of `type'.
3259 (range_charset_code_point): Modify for 256^n-set.
3260 (encode_builtin_char_1): Encode as `ucs' in default.
3261 (Fmake_charset): Modify for `make_charset'.
3262 (Fmake_reverse_direction_charset): Likewise.
3263 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3265 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3268 * char-ucs.h (Vcharset_ucs): New variable.
3269 (LEADING_BYTE_UCS): New macro.
3270 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3271 and `chars' to `unsigned short' from `unsigned int'.
3272 (CHARSET_TYPE): Deleted.
3273 (XCHARSET_TYPE): Deleted.
3275 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3277 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3279 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3280 (ENCODE_CHAR): New macro.
3282 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3284 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3285 to 0.14 (Kawachi-Katakami).
3287 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3289 * text-coding.c (char_encode_shift_jis): Modify for
3290 `charset_code_point'.
3291 (char_encode_iso2022): Likewise.
3293 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3294 (integer) instead of list of <Lisp_Object>s (integers) as the
3295 format of code-point of a coded-charset.
3296 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3297 (encode_builtin_char_1): New function; delete
3298 `split_builtin_char'.
3299 (charset_code_point): Return <int> instead of <Lisp_Object>.
3300 (Fsplit_char): Don't use `SPLIT_CHAR'.
3302 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3303 prototype for `split_builtin_char'.
3304 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3305 (charset_code_point): Likewise.
3306 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3307 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3309 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3311 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3312 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3314 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3316 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3318 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3319 (MAX_CHAR_OBS_94x94): Deleted.
3321 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3323 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3325 * char-ucs.h (MAX_CHAR_BMP): New macro.
3327 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3329 * text-coding.c: Sync with r21-2-24.
3331 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3333 * file-coding.c: Modify for UTF-2000.
3335 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3337 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3340 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3342 * mule-charset.c (split_builtin_char): Delete builtin support for
3343 `katakana-jisx0201'.
3344 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3345 BMP area in builtin representation.
3347 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3348 `Vcharset_katakana_jisx0201'.
3350 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3352 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3353 (Qisolated): New variable.
3354 (Qinitial): New variable.
3355 (Qmedial): New variable.
3356 (Qfinal): New variable.
3357 (Qvertical): New variable.
3358 (Qsmall): New variable.
3359 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3360 `Qvertical' and `Qsmall'.
3361 (Qmojikyo_pj_[1 .. 21]): New variable.
3362 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3363 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3364 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3367 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3369 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3370 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3371 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3373 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3375 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3376 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3378 (Qjapanese_jisx0208_1990): New variable.
3379 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3380 (complex_vars_of_mule_charset): Add new coded-charset
3381 `japanese-jisx0208-1990'.
3383 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3384 (MIN_CHAR_JIS_X0208_1990): New macro.
3385 (MAX_CHAR_JIS_X0208_1990): New macro.
3387 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3389 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3390 coded-charset is not found.
3392 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3394 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3395 (Fdefine_char): Use `Fmake_char'.
3397 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3399 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3400 (Vcharset_hiragana_jisx0208): Deleted.
3401 (Vcharset_katakana_jisx0208): Deleted.
3402 (Qideograph_daikanwa): New variable.
3403 (Qhiragana_jisx0208): Deleted.
3404 (Qkatakana_jisx0208): Deleted.
3405 (split_builtin_char): Split `ideograph-daikanwa'.
3406 (Fsplit_char): New implementation for UTF-2000.
3407 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3408 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3409 (complex_vars_of_mule_charset): Add new coded-charset
3410 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3411 `katakana-jisx0208'.
3413 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3414 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3415 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3416 (MIN_CHAR_DAIKANWA): New macro.
3417 (MAX_CHAR_DAIKANWA): New macro.
3419 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3421 * data.c (Fstring_to_number): Don't recognize floating point if
3424 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3426 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3428 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3430 * mule-charset.c (Qsquare): New variable.
3431 (to_char_code): Add `Qsquare'.
3432 (syms_of_mule_charset): Add new symbol `square'.
3434 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3436 * mule-charset.c (Qcircle): New variable.
3437 (to_char_code): Add `Qcircle'.
3438 (syms_of_mule_charset): Add new symbol `circle'.
3440 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3442 * mule-charset.c (Qfont): New variable.
3443 (to_char_code): Add `Qfont'.
3444 (syms_of_mule_charset): Add new symbol `font'.
3446 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3448 * mule-charset.c (Qsub): New variable.
3449 (to_char_code): Add `Qsub'.
3450 (syms_of_mule_charset): Add new symbol `sub'.
3452 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3454 * mule-charset.c (Fput_char_attribute): Convert each element of
3455 VALUE to GL position if ATTRIBUTE is a GR-set,
3457 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3459 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3460 coded-charset is a GR-set.
3462 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3464 * mule-charset.c (Fput_char_attribute): Check each element of
3465 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3467 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3469 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3471 (Qethiopic_ucs): New variable in UTF-2000.
3472 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3473 (complex_vars_of_mule_charset): Add new coded-charset
3474 `ethiopic-ucs' in UTF-2000.
3476 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3477 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3479 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3481 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3483 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3485 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3488 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3490 * mule-charset.c (Vcharacter_variant_table): New variable.
3491 (Q_ucs): New variable.
3492 (Fchar_variants): New function.
3493 (Fput_char_attribute): Register `->ucs' value to
3494 `Vcharacter_variant_table'.
3495 (syms_of_mule_charset): Add new function `char-variants' and new
3497 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3499 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3501 * mule-charset.c (get_char_code_table): Allow negative character
3503 (put_char_code_table): Likewise.
3504 (Vcharacter_composition_table): New variable.
3505 (Q_decomposition): New variable.
3506 (Qwide): New variable.
3507 (Qnarrow): New variable.
3508 (Qcompat): New variable.
3509 (QnoBreak): New variable.
3510 (Qsuper): New variable.
3511 (Qfraction): New variable.
3512 (to_char_code): New function.
3513 (Fget_composite_char): New function.
3514 (Fput_char_attribute): Register `->decomposition' value to
3515 `Vcharacter_composition_table'.
3516 (syms_of_mule_charset): Add new function `get-composite-char', new
3517 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3518 `super' and `fraction'.
3519 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3521 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3523 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3524 character; copy the return value.
3526 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3528 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3530 * mule-charset.c (range_charset_code_point): Must use make_int.
3531 (split_builtin_char): New function.
3533 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3535 * mule-charset.c (char_byte_table): Change name from
3536 "char-code-table" to "char-byte-table".
3537 (mark_char_code_table): New function.
3538 (char_code_table_equal): New function.
3539 (char_code_table_hash): New function.
3540 (char_code_table_description): New constant.
3541 (char_code_table): New type.
3542 (make_char_code_table): New function.
3543 (copy_char_code_table): New function.
3544 (get_char_code_table): Modify for `char_code_table' type.
3545 (put_char_code_table): Likewise.
3546 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3549 * char-ucs.h (char_code_table): New type.
3550 (XCHAR_CODE_TABLE): New macro.
3551 (XSETCHAR_CODE_TABLE): New macro.
3552 (CHAR_CODE_TABLE_P): New macro.
3553 (GC_CHAR_CODE_TABLE_P): New macro.
3554 (struct Lisp_Char_Code_Table): New structure.
3556 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3558 * mule-charset.c (Fmake_charset): Setup byte_offset for
3561 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3563 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3566 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3568 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3571 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3573 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3574 charset, it is regarded as a charset.
3575 (put_char_attribute): New function in UTF-2000.
3576 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3577 charset, mapping-table of the charset is modified.
3578 (Fdefine_char): New function in UTF-2000.
3579 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3580 `Fput_char_attribute'.
3581 (syms_of_mule_charset): Add new function `define-char' and new
3582 symbol `ucs' in UTF-2000.
3583 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3585 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3587 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3588 non-UTF-2000 configuration.
3590 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3592 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3593 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3595 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3597 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3598 (Fset_charset_mapping_table): Likewise.
3600 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3601 (CHARSET_ENCODING_TABLE): Delete.
3602 (XCHARSET_ENCODING_TABLE): Delete.
3603 (charset_code_point): New interface.
3605 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3607 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3608 instead of `charset_get_byte1' and `charset_get_byte2'.
3610 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3611 (charset_get_byte2): Deleted.
3613 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3615 * char-ucs.h (SPLIT_CHAR): New inline function.
3616 (breakup_char_1): Use `SPLIT_CHAR'.
3618 * mule-charset.c (range_charset_code_point): New function.
3619 (charset_code_point): New function.
3621 * char-ucs.h (range_charset_code_point): New interface.
3622 (breakup_char_1): Use `range_charset_code_point'.
3624 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3626 * mule-charset.c (Fmake_charset): Delete unused local variable
3629 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3630 (breakup_char_1): Find a charset and code-point in
3631 `Vcharacter_attribute_table'.
3633 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3635 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3638 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3640 * mule-charset.c (Vcharacter_attribute_table): New variable.
3641 (Fchar_attribute_alist): New function.
3642 (Fget_char_attribute): New function.
3643 (Fput_char_attribute): New function.
3644 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3646 (syms_of_mule_charset): Add new function `char-attribute-alist',
3647 `get-char-attribute' and `put-char-attribute'.
3648 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3650 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3652 * mule-charset.c (Fmake_charset): Just use
3653 `get_unallocated_leading_byte'.
3655 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3656 sets; don't use final-byte based number for private sets.
3658 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3660 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3663 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3665 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3668 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3670 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3671 of `CHAR_LEADING_BYTE' in UTF-2000.
3673 * insdel.c (find_charsets_in_bufbyte_string): Use
3674 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3675 (find_charsets_in_emchar_string): Likewise.
3677 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3678 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3680 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3681 (CHAR_CHARSET_ID): New macro.
3683 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3685 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3686 charset-id - MIN_LEADING_BYTE.
3687 (put_char_table): Likewise.
3689 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3691 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3692 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3693 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3694 (CHARSET_ID_OFFSET): New macro.
3695 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3696 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3697 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3698 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3700 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3702 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3703 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3704 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3705 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3706 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3708 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3710 * mule-charset.c (next_allocated_leading_byte): New variable in
3712 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3713 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3714 (get_unallocated_leading_byte): Simply use
3715 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3716 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3719 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3720 (MAX_LEADING_BYTE_PRIVATE): New macro.
3721 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3722 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3724 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3726 * mule-charset.c (Fmake_charset): Allocate final-byte based
3727 charset-id for 94-set, 96-set and 94x94-set.
3729 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3731 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3733 (Fmake_charset): Likewise.
3734 (complex_vars_of_mule_charset): Modify the font registry of
3735 `ucs-bmp' not to match `Ethiopic-Unicode'.
3737 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3739 * mule-charset.c (complex_vars_of_mule_charset): Add font
3740 registory of `ucs-bmp'.
3742 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3744 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3745 coded-charsets in `default-coded-charset-priority-list' when
3746 breaking up a character.
3748 * mule-charset.c (Vcharset_latin_viscii): New variable.
3749 (Qlatin_viscii): New variable.
3750 (make_charset): Don't use `decoding_table'.
3751 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3753 (Fset_charset_mapping_table): New implementation.
3754 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3755 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3756 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3757 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3758 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3759 charset `latin_viscii'.
3761 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3762 (CHARSET_TYPE_94X94): Change to 1 from 2.
3763 (CHARSET_TYPE_96): Change to 2 from 1.
3764 (CHARSET_TYPE_128): New macro.
3765 (CHARSET_TYPE_128X128): Change to 5 from 4.
3766 (CHARSET_TYPE_256): New macro.
3767 (CHARSET_TYPE_256X256): Change to 7 from 5.
3768 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3770 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3772 * text-coding.c (char_encode_shift_jis): Refer
3773 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3774 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3776 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3777 (char_byte_table_equal): New function in UTF-2000.
3778 (char_byte_table_hash): New function in UTF-2000.
3779 (char_byte_table_description): New constant in UTF-2000.
3780 (char_byte_table): New type in UTF-2000.
3781 (make_char_byte_table): New function in UTF-2000.
3782 (copy_char_byte_table): New function in UTF-2000.
3783 (make_char_code_table): New macro in UTF-2000.
3784 (get_char_code_table): New function in UTF-2000.
3785 (put_char_code_table): New function in UTF-2000.
3786 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3787 (charset_description): Add setting in UTF-2000.
3788 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3789 `CHARSET_TO_BYTE1_TABLE(cs)'.
3790 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3791 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3792 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3793 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3794 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3795 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3796 `CHARSET_TO_BYTE2_TABLE(cs)'.
3798 * char-ucs.h (char_byte_table): New type.
3799 (XCHAR_BYTE_TABLE): New macro.
3800 (XSETCHAR_BYTE_TABLE): New macro.
3801 (CHAR_BYTE_TABLE_P): New macro.
3802 (GC_CHAR_BYTE_TABLE_P): New macro.
3803 (struct Lisp_Char_Byte_Table): New structure.
3804 (get_char_code_table): New interface.
3805 (Emchar_to_byte_table): Deleted.
3806 (get_byte_from_character_table): Deleted.
3807 (struct Lisp_Charset): Add `encoding_table'; delete
3808 `to_byte1_table' and `to_byte2_table'.
3809 (CHARSET_ENCODING_TABLE): New macro.
3810 (CHARSET_TO_BYTE1_TABLE): Deleted.
3811 (CHARSET_TO_BYTE2_TABLE): Deleted.
3812 (XCHARSET_ENCODING_TABLE): New macro.
3813 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3814 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3816 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3818 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3819 `vietnamese-viscii-*'.
3821 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3823 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3824 (Qvietnamese_viscii_upper): New variable.
3825 (Fdefine_charset_alias): New function.
3826 (syms_of_mule_charset): Add new function `define-charset-alias'.
3827 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3828 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3831 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3833 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3834 (MAX_CHAR_OBS_94x94): New macro.
3835 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3838 * mule-charset.c (put_byte_from_character_table): Change unit size
3840 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3842 (Fmake_reverse_direction_charset): Modify dummy argument of
3843 `make_charset' for non-UTF-2000 environment.
3845 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3847 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3849 * mule-charset.c (destroy_byte_from_character_table): New macro.
3850 (latin_jisx0201_to_ucs): Deleted.
3851 (latin_iso8859_2_to_ucs): Deleted.
3852 (latin_iso8859_3_to_ucs): Deleted.
3853 (latin_iso8859_4_to_ucs): Deleted.
3854 (latin_iso8859_9_to_ucs): Deleted.
3855 (latin_viscii_lower_to_ucs): Deleted.
3856 (latin_viscii_upper_to_ucs): Deleted.
3857 (mark_charset): Mark `cs->decoding_table'.
3858 (Fcharset_mapping_table): Fix DOC-string.
3859 (Fset_charset_mapping_table): New function.
3860 (syms_of_mule_charset): Add nwe function
3861 `set-charset-mapping-table'.
3862 (complex_vars_of_mule_charset): Don't setup and use
3865 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3867 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3870 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3872 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3873 (Vcharset_katakana_jisx0208): New variable.
3874 (Qhiragana_jisx0208): New variable.
3875 (Qkatakana_jisx0208): New variable.
3876 (make_charset): Add new argument `byte_offset'.
3877 (charset_get_byte1): Modify for new coded-charset definition; use
3878 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3879 `XCHARSET_BYTE_OFFSET'.
3880 (Fmake_charset): Modify for `make_charset'.
3881 (Fmake_reverse_direction_charset): Likewise.
3882 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3883 `katakana-jisx0208'.
3884 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3885 `.' in font registry of charset `katakana-jisx0201',
3886 `latin-jisx0201', `vietnamese-viscii-lower' and
3887 `vietnamese-viscii-upper'; modify DOC-string of charset
3888 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3889 registry of charset `japanese-jisx0208' not to use font for JIS
3890 X0208:1990; add new charset `hiragana-jisx0208' and
3891 `katakana-jisx0208'.
3893 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3894 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3895 (struct Lisp_Charset): Add `byte_offset'.
3896 (CHARSET_BYTE_OFFSET): New macro.
3897 (XCHARSET_UCS_MIN): New macro.
3898 (XCHARSET_UCS_MAX): New macro.
3899 (XCHARSET_CODE_OFFSET): New macro.
3900 (XCHARSET_BYTE_OFFSET): New macro.
3901 (MIN_CHAR_HIRAGANA): New macro.
3902 (MAX_CHAR_HIRAGANA): New macro.
3903 (MIN_CHAR_KATAKANA): New macro.
3904 (MAX_CHAR_KATAKANA): New macro.
3905 (MAKE_CHAR): Modify for new coded-charset definition; use
3906 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3907 `XCHARSET_BYTE_OFFSET'.
3909 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3911 * mule-charset.c (CHAR96): Deleted.
3912 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
3914 (latin_iso8859_2_to_ucs): Likewise.
3915 (latin_iso8859_3_to_ucs): Likewise.
3916 (latin_iso8859_4_to_ucs): Likewise.
3917 (latin_iso8859_9_to_ucs): Likewise.
3918 (latin_viscii_lower_to_ucs): Likewise.
3919 (latin_viscii_upper_to_ucs): Likewise.
3920 (latin_tcvn5712_to_ucs): Commented out.
3921 (make_charset): Change type of argument `decoding_table' from
3922 <Emchar*> to <Lisp_Object> [vector of characters].
3923 (Fmake_charset): Modify for `make_charset'.
3924 (Fmake_reverse_direction_charset): Likewise.
3925 (Fcharset_mapping_table): New function in UTF-2000.
3926 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
3928 (complex_vars_of_mule_charset): Modify for type change of
3929 `*_to_ucs'; modify for `make_charset'.
3931 * char-ucs.h (struct Lisp_Charset): Change type of
3932 `decoding_table' from <Emchar*> to <Lisp_Object>.
3933 (MAKE_CHAR): Modify for new specification of `decoding_table'.
3935 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3937 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
3938 error with non-UTF-2000-Mule.
3940 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
3942 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
3944 (Vcharset_chinese_cns11643_4): Likewise.
3945 (Vcharset_chinese_cns11643_5): Likewise.
3946 (Vcharset_chinese_cns11643_6): Likewise.
3947 (Vcharset_chinese_cns11643_7): Likewise.
3948 (Qchinese_cns11643_3): Likewise.
3949 (Qchinese_cns11643_4): Likewise.
3950 (Qchinese_cns11643_5): Likewise.
3951 (Qchinese_cns11643_6): Likewise.
3952 (Qchinese_cns11643_7): Likewise.
3953 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
3954 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
3955 and `chinese-cns11643-7' to lisp/mule/chinese.el.
3956 (complex_vars_of_mule_charset): Likewise.
3958 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3960 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
3962 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
3963 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
3965 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
3967 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
3969 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
3970 (breakup_char_1): Likewise.
3972 * text-coding.c (char_encode_iso2022): Keep designated charsets if
3973 one of them includes the specified character.
3975 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3977 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
3979 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3981 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
3983 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
3985 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
3986 definition for non-UTF-2000 Mule.
3987 (latin_iso8859_3_to_ucs): Likewise.
3988 (latin_iso8859_4_to_ucs): Likewise.
3989 (latin_iso8859_9_to_ucs): Likewise.
3990 (latin_jisx0201_to_ucs): Likewise.
3991 (MIN_CHAR_THAI): Likewise.
3992 (MAX_CHAR_THAI): Likewise.
3993 (MIN_CHAR_GREEK): Likewise.
3994 (MAX_CHAR_GREEK): Likewise.
3995 (MIN_CHAR_HEBREW): Likewise.
3996 (MAX_CHAR_HEBREW): Likewise.
3997 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
3998 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
3999 (MIN_CHAR_CYRILLIC): Likewise.
4000 (MAX_CHAR_CYRILLIC): Likewise.
4002 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4004 * char-ucs.h (breakup_char_1): Use
4005 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4006 thai-tis620 and katakana-jisx0201 area.
4008 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4010 * char-ucs.h (breakup_char_1): Use
4011 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4014 * text-coding.c (reset_encoding_stream): Fixed.
4015 (char_encode_ucs4): Delete `& 255'.
4017 * char-ucs.h (breakup_char_1): Use
4018 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4020 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4022 * file-coding.c (Fmake_coding_system): Don't set up
4023 `codesys->fixed.size'.
4024 (encode_coding_no_conversion): Don't refer
4025 `str->codesys->fixed.size'.
4027 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4029 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4030 (latin_a_char_to_byte1): Deleted.
4031 (latin_a_char_to_byte2): Deleted.
4033 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4035 * mule-charset.c (make_charset): Add new argument `ucs_min',
4036 `ucs_max' and `code_offset'.
4037 (charset_get_byte1): New implementation [delete specific charset
4038 depended implementations].
4039 (Fmake_charset): Modify for `make_charset'.
4040 (Fmake_reverse_direction_charset): Likewise.
4041 (complex_vars_of_mule_charset): Likewise.
4043 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4045 (CHARSET_UCS_MIN): New macro.
4046 (CHARSET_UCS_MAX): New macro.
4047 (CHARSET_CODE_OFFSET): New macro.
4048 (MAKE_CHAR): Delete charset depended definitions [except
4051 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4053 * char-ucs.h (breakup_char_1): Use
4054 `Vdefault_coded_charset_priority_list' for C0-Controls,
4055 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4057 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4059 * char-ucs.h (charset_get_byte1): New function.
4060 (XCHARSET_GET_BYTE1): Deleted.
4061 (charset_get_byte2): New function.
4062 (XCHARSET_GET_BYTE2): Deleted.
4063 (Vdefault_coded_charset_priority_list): New external variable.
4064 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4065 `Vdefault_preferred_coded_charset_list'.
4067 * mule-charset.c (charset_get_byte1): New function.
4068 (charset_get_byte2): New function.
4069 (Vdefault_coded_charset_priority_list): New variable.
4070 (vars_of_mule_charset): Add new variable
4071 `default-coded-charset-priority-list'.
4073 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4075 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4076 (XCHARSET_GET_BYTE2): New inline function.
4077 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4078 `XCHARSET_GET_BYTE2'.
4080 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4082 * mule-charset.c (make_charset): Initialize
4083 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4084 NULL if table is not defined.
4086 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4088 * text-coding.c (char_encode_shift_jis): Use
4089 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4090 `ucs_to_latin_jisx0201'.
4092 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4093 (ucs_to_latin_iso8859_2): Deleted.
4094 (ucs_to_latin_iso8859_3): Deleted.
4095 (ucs_to_latin_iso8859_4): Deleted.
4096 (ucs_to_latin_iso8859_9): Deleted.
4097 (ucs_to_latin_viscii_lower): Deleted.
4098 (ucs_to_latin_viscii_upper): Deleted.
4099 (ucs_to_latin_tcvn5712): Deleted.
4100 (make_charset): Add new argument `decoding_table'; set up
4101 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4102 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4103 `decoding_table' is defined in UTF-2000.
4104 (Fmake_charset): Modify for `make_charset'.
4105 (Fmake_reverse_direction_charset): Likewise.
4106 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4107 and `GENERATE_96_SET'.
4109 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4110 (ucs_to_latin_jisx0201): Deleted.
4111 (latin_iso8859_2_to_ucs): Deleted.
4112 (ucs_to_latin_iso8859_2): Deleted.
4113 (latin_iso8859_3_to_ucs): Deleted.
4114 (ucs_to_latin_iso8859_3): Deleted.
4115 (latin_iso8859_4_to_ucs): Deleted.
4116 (ucs_to_latin_iso8859_4): Deleted.
4117 (latin_iso8859_9_to_ucs): Deleted.
4118 (ucs_to_latin_iso8859_9): Deleted.
4119 (latin_viscii_lower_to_ucs): Deleted.
4120 (ucs_to_latin_viscii_lower): Deleted.
4121 (latin_viscii_upper_to_ucs): Deleted.
4122 (ucs_to_latin_viscii_upper): Deleted.
4123 (struct Lisp_Charset): Renamed `encoding_table' to
4124 `to_byte1_table'; add `to_byte2_table'.
4125 (CHARSET_DECODING_TABLE): New macro.
4126 (CHARSET_TO_BYTE1_TABLE): New macro.
4127 (CHARSET_TO_BYTE2_TABLE): New macro.
4128 (XCHARSET_DECODING_TABLE): New macro.
4129 (XCHARSET_TO_BYTE1_TABLE): New macro.
4130 (XCHARSET_TO_BYTE2_TABLE): New macro.
4131 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4133 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4134 don't use `ucs_to_*' tables.
4136 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4138 * text-coding.c (Fmake_coding_system): Don't set up
4139 `codesys->fixed.size'.
4140 (encode_coding_no_conversion): Use `if' instead of `switch'.
4142 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4144 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4146 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4147 (Fmake_charset): Modify for `make_charset'.
4148 (Fmake_reverse_direction_charset): Likewise.
4149 (complex_vars_of_mule_charset): Likewise.
4151 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4153 * text-coding.c (char_encode_shift_jis): Use table
4154 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4156 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4158 * text-coding.c (text_encode_generic): Use `if' instead of
4160 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4163 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4165 * text-coding.c (encode_coding_sjis): Deleted.
4166 (char_encode_shift_jis): New function.
4167 (char_finish_shift_jis): New function.
4168 (reset_encoding_stream): Set up `encode_char' and `finish' for
4169 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4170 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4171 (char_encode_utf8): Treat `eol_type'.
4173 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4175 * file-coding.c (decode_coding_iso2022): Use
4176 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4178 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4180 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4183 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4185 * char-lb.h (CHAR_COLUMNS): New macro.
4187 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4189 * text-coding.c (char_encode_ucs4): New function.
4190 (char_finish_ucs4): New function.
4191 (encode_coding_ucs4): Deleted.
4192 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4193 (text_encode_generic): Delete local variable `charset' and `half'.
4194 (ucs_to_mule_table): Deleted.
4195 (mule_to_ucs_table): Deleted.
4196 (Fset_ucs_char): Deleted.
4197 (ucs_to_char): Deleted.
4198 (Fucs_char): Deleted.
4199 (Fset_char_ucs): Deleted.
4200 (Fchar_ucs): Deleted.
4201 (decode_ucs4): Deleted.
4202 (mule_char_to_ucs4): Deleted.
4203 (encode_ucs4): Deleted.
4204 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4205 (decode_coding_utf8): Likewise.
4206 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4207 (char_encode_iso2022): Fixed.
4208 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4209 `Fset_char_ucs' and `Fchar_ucs'.
4210 (complex_vars_of_file_coding): Don't initialize
4211 `ucs_to_mule_table'.
4213 * objects-tty.c (tty_initialize_font_instance): Don't use
4216 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4219 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4220 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4222 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4223 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4224 (emchar_string_displayed_columns): Likewise.
4226 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4227 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4228 (string_column_at_point): Likewise.
4229 (Fmove_to_column): Likewise.
4231 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4232 `encoding_table' and `decoding_table'.
4233 (CHARSET_REP_BYTES): Deleted.
4234 (XCHARSET_REP_BYTES): Deleted.
4235 (XCHARSET_COLUMNS): Deleted.
4236 (CHAR_COLUMNS): New macro.
4237 (lookup_composite_char): Deleted unconditionally.
4238 (composite_char_string): Likewise.
4240 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4242 * char-ucs.h (Emchar_to_byte_table): New type.
4243 (get_byte_from_character_table): New function interface.
4244 (Vcharset_latin_jisx0201): New variable.
4245 (latin_jisx0201_to_ucs): New variable.
4246 (ucs_to_latin_jisx0201): New variable.
4247 (Vcharset_latin_iso8859_2): New variable.
4248 (latin_iso8859_2_to_ucs): New variable.
4249 (ucs_to_latin_iso8859_2): New variable.
4250 (Vcharset_latin_iso8859_3): New variable.
4251 (latin_iso8859_3_to_ucs): New variable.
4252 (ucs_to_latin_iso8859_3): New variable.
4253 (Vcharset_latin_iso8859_4): New variable.
4254 (latin_iso8859_4_to_ucs): New variable.
4255 (ucs_to_latin_iso8859_4): New variable.
4256 (Vcharset_latin_iso8859_9): New variable.
4257 (latin_iso8859_9_to_ucs): New variable.
4258 (ucs_to_latin_iso8859_9): New variable.
4259 (Vcharset_latin_viscii_lower): New variable.
4260 (latin_viscii_lower_to_ucs): New variable.
4261 (ucs_to_latin_viscii_lower): New variable.
4262 (Vcharset_latin_viscii_upper): New variable.
4263 (latin_viscii_upper_to_ucs): New variable.
4264 (ucs_to_latin_viscii_upper): New variable.
4265 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4266 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4267 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4268 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4269 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4270 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4271 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4272 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4273 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4274 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4276 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4277 (Vcharset_latin_viscii_upper): New variable.
4278 (make_byte_from_character_table): New function.
4279 (put_byte_from_character_table): New function.
4280 (get_byte_from_character_table): New function.
4281 (CHAR96): New macro.
4282 (ucs_to_latin_jisx0201): New variable.
4283 (latin_jisx0201_to_ucs): New variable.
4284 (ucs_to_latin_iso8859_2): New variable.
4285 (latin_iso8859_2_to_ucs): New variable.
4286 (ucs_to_latin_iso8859_3): New variable.
4287 (latin_iso8859_3_to_ucs): New variable.
4288 (ucs_to_latin_iso8859_4): New variable.
4289 (latin_iso8859_4_to_ucs): New variable.
4290 (ucs_to_latin_iso8859_9): New variable.
4291 (latin_iso8859_9_to_ucs): New variable.
4292 (ucs_to_latin_viscii_lower): New variable.
4293 (latin_viscii_lower_to_ucs): New variable.
4294 (ucs_to_latin_viscii_upper): New variable.
4295 (latin_viscii_upper_to_ucs): New variable.
4296 (ucs_to_latin_tcvn5712): New variable.
4297 (latin_tcvn5712_to_ucs): New variable.
4298 (Qlatin_viscii_lower): New variable.
4299 (Qlatin_viscii_upper): New variable.
4300 (syms_of_mule_charset): Set up new symbol
4301 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4302 (complex_vars_of_mule_charset): Set up new charset
4303 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4304 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4305 `ucs_to_<CHARSET>' tables.
4307 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4309 * text-coding.c: New file.
4311 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4313 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4315 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4316 (MAKE_CHAR): Modify for `ucs-bmp'.
4317 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4318 non-MULE characters of BMP.
4320 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4322 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4325 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4328 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4329 - Include character.h for `CHAR_ASCII_P'.
4331 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4333 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4334 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4336 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4337 (BYTE_C0_P): Likewise.
4338 (BYTE_C1_P): Likewise.
4339 (Lstream_get_emchar_1): Likewise.
4340 (Lstream_fput_emchar): Likewise.
4341 (Lstream_funget_emchar): Likewise.
4342 (copy_internal_to_external): Likewise.
4343 (copy_external_to_internal): Likewise.
4345 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4346 (BYTE_C0_P): Likewise.
4347 (BYTE_C1_P): Likewise.
4348 (Lstream_get_emchar_1): Likewise.
4349 (Lstream_fput_emchar): Likewise.
4350 (Lstream_funget_emchar): Likewise.
4351 (copy_internal_to_external): Likewise.
4352 (copy_external_to_internal): Likewise.
4354 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4355 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4357 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4358 (BYTE_ASCII_P): Moved to mb-1byte.h.
4360 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4362 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4364 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4365 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4366 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4367 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4368 (VALIDATE_CHARPTR_FORWARD): Likewise.
4369 (simple_charptr_emchar): Moved to mb-multibyte.h.
4370 (simple_set_charptr_emchar): Likewise.
4371 (simple_charptr_copy_char): Likewise.
4372 (non_ascii_charptr_emchar): Likewise.
4373 (non_ascii_set_charptr_emchar): Likewise.
4374 (non_ascii_charptr_copy_char): Likewise.
4375 (charptr_emchar): Moved to mb-*byte.h.
4376 (set_charptr_emchar): Likewise.
4377 (charptr_copy_char): Likewise.
4379 * mb-1byte.h, mb-multibyte.h: New files.
4381 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4383 * mb-utf-8.h (MULTIBYTE): New macro.
4384 (MAX_EMCHAR_LEN): Moved from buffer.h.
4385 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4387 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4389 * mb-lb.h, multibyte.h: New files.
4391 * char-1byte.h (Charset_ID): Moved from buffer.h.
4392 (MIN_LEADING_BYTE): Likewise.
4393 (LEADING_BYTE_ASCII): Likewise.
4394 (NUM_LEADING_BYTES): Likewise.
4395 (CHARSETP): Likewise.
4396 (CHARSET_BY_LEADING_BYTE): Likewise.
4397 (XCHARSET_LEADING_BYTE): Likewise.
4398 (XCHARSET_GRAPHIC): Likewise.
4399 (XCHARSET_COLUMNS): Likewise.
4400 (XCHARSET_DIMENSION): Likewise.
4401 (CHAR_CHARSET): Likewise.
4402 (CHAR_LEADING_BYTE): Likewise.
4403 (BREAKUP_CHAR): Likewise.
4404 (Vcharset_ascii): Likewise.
4406 * buffer.h: Include multibyte.h unconditionally.
4407 (VALID_CHARPTR_P): Moved to multibyte.h.
4408 (ASSERT_VALID_CHARPTR): Likewise.
4409 (REAL_INC_CHARPTR): Likewise.
4410 (REAL_INC_CHARBYTIND): Likewise.
4411 (REAL_DEC_CHARPTR): Likewise.
4412 (INC_CHARPTR): Likewise.
4413 (INC_CHARBYTIND): Likewise.
4414 (DEC_CHARPTR): Likewise.
4415 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4416 (VALIDATE_CHARPTR_FORWARD): Likewise.
4417 (charptr_n_addr): Likewise.
4418 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4419 (simple_charptr_emchar): Moved to multibyte.h.
4420 (simple_set_charptr_emchar): Likewise.
4421 (simple_charptr_copy_char): Likewise.
4422 (non_ascii_charptr_emchar): Likewise.
4423 (non_ascii_set_charptr_emchar): Likewise.
4424 (non_ascii_charptr_copy_char): Likewise.
4425 (charptr_emchar): Likewise.
4426 (set_charptr_emchar): Likewise.
4427 (charptr_copy_char): Likewise.
4428 (charptr_emchar_n): Likewise.
4429 (Charset_ID): Moved to char-1byte.h.
4430 (Vcharset_ascii): Likewise.
4431 (CHAR_CHARSET): Likewise.
4432 (CHAR_LEADING_BYTE): Likewise.
4433 (LEADING_BYTE_ASCII): Likewise.
4434 (NUM_LEADING_BYTES): Likewise.
4435 (MIN_LEADING_BYTE): Likewise.
4436 (CHARSETP): Likewise.
4437 (CHARSET_BY_LEADING_BYTE): Likewise.
4438 (XCHARSET_LEADING_BYTE): Likewise.
4439 (XCHARSET_GRAPHIC): Likewise.
4440 (XCHARSET_COLUMNS): Likewise.
4441 (XCHARSET_DIMENSION): Likewise.
4442 (BREAKUP_CHAR): Likewise.
4444 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4446 * character.h: Add document about interface for characters.
4448 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4449 (MAKE_CHAR): Delete comment about
4450 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4451 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4452 (BREAKUP_CHAR): Modify name of arguments.
4453 (CHAR_CHARSET): Modify name of argument.
4455 * buffer.h: Delete document about Emchar accessors.
4457 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4459 * character.h (CHAR_INTP): Moved from buffer.h
4460 (CHAR_OR_CHAR_INTP): Likewise.
4461 (XCHAR_OR_CHAR_INT): Likewise.
4462 (CHECK_CHAR_COERCE_INT): Likewise.
4464 * buffer.h (CHAR_INTP): Moved to character.h
4465 (CHAR_OR_CHAR_INTP): Likewise.
4466 (XCHAR_OR_CHAR_INT): Likewise.
4467 (CHECK_CHAR_COERCE_INT): Likewise.
4469 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4472 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4473 - Include char-1byte.h, char-lb.h or char-ucs.h.
4475 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4477 * buffer.h: Include character unconditionally.
4478 (valid_char_p): Moved to char-*.h.
4479 (non_ascii_valid_char_p): Moved to char-lb.h.
4481 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4483 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4485 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4486 in UTF-2000 because it is not ported yet and not to use
4487 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4488 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4489 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4491 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4492 (CHAR_ASCII_P): Moved from character.h.
4494 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4495 (CHAR_ASCII_P): Likewise.
4496 (CHAR_FIELD1_MASK): Deleted.
4497 (CHAR_FIELD2_MASK): Deleted.
4498 (CHAR_FIELD3_MASK): Deleted.
4499 (MAX_CHAR_BASIC_LATIN): New macro.
4500 (CHAR_FIELD1): Deleted.
4501 (CHAR_FIELD2_INTERNAL): Deleted.
4502 (CHAR_FIELD3_INTERNAL): Deleted.
4503 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4504 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4505 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4506 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4507 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4508 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4509 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4510 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4511 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4512 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4513 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4514 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4515 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4516 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4517 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4518 (MIN_CHAR_COMPOSITION): Deleted.
4519 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4520 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4522 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4524 * buffer.h: Include mb-utf-8.h in UTF-2000.
4526 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4528 * mb-utf-8.h: New file.
4530 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4532 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4535 * mule-charset.h, buffer.h (Charset_ID): New type.
4537 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4539 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4540 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4541 instead of `MULE_CHAR_PRIVATE_OFFSET',
4542 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4543 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4544 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4546 * character.h (Vcharset_japanese_jisx0212): New variable
4549 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4551 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4552 (charset_by_attributes): Delete array about direction.
4553 (latin_a_char_to_charset): New variable in UTF-2000.
4554 (latin_a_char_to_byte1): New variable in UTF-2000.
4555 (latin_a_char_to_byte2): New variable in UTF-2000.
4556 (Qucs_bmp): New variable.
4557 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4559 (next_allocated_2_byte_leading_byte): Likewise.
4560 (non_ascii_set_charptr_emchar): Likewise.
4561 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4562 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4563 `charset_by_attributes'.
4564 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4565 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4566 and `CHARSET_BY_LEADING_BYTE'.
4567 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4568 `utf-2000-version' to `vars_of_mule_charset'.
4569 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4570 define `leading-code-private-11' in UTF-2000; move setting of
4571 `utf-2000-version' from `syms_of_mule_charset'.
4572 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4575 * character.h (Charset_ID): New type.
4576 (LEADING_BYTE_UCS_BMP): New macro.
4577 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4578 (CHARSET_ID_OFFSET_94): New macro.
4579 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4580 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4581 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4583 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4584 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4585 (CHARSET_ID_OFFSET_96): New macro.
4586 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4587 CHARSET_ID_OFFSET_96 and final-byte.
4588 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4589 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4590 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4591 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4592 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4593 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4594 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4595 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4596 (LEADING_BYTE_THAI_TIS620): Likewise.
4597 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4598 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4599 (CHARSET_ID_OFFSET_94x94): New macro.
4600 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4601 CHARSET_ID_OFFSET_94x94 and final-byte.
4602 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4603 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4604 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4605 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4606 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4607 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4608 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4609 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4610 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4611 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4612 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4613 (CHARSET_TYPE_128X128): New macro.
4614 (CHARSET_TYPE_256X256): New macro.
4615 (XCHARSET_PRIVATE_P): Delete unconditionally.
4616 (charset_by_attributes): Delete array about direction.
4617 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4618 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4619 (MIN_CHAR_94): New macro.
4620 (MAX_CHAR_94): New macro.
4621 (MIN_CHAR_96): New macro.
4622 (MAX_CHAR_96): New macro.
4623 (MIN_CHAR_94x94): New macro.
4624 (MAX_CHAR_94x94): New macro.
4625 (MIN_CHAR_96x96): New macro.
4626 (MAX_CHAR_96x96): New macro.
4627 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4628 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4629 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4631 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4632 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4633 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4634 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4635 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4636 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4637 `XCHARSET_LEADING_BYTE' to make code-point.
4638 (latin_a_char_to_charset): New variable.
4639 (latin_a_char_to_byte1): New variable.
4640 (latin_a_char_to_byte2): New variable.
4641 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4642 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4643 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4645 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4646 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4647 (find_charsets_in_emchar_string): Likewise.
4648 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4650 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4652 (decode_coding_iso2022): Likewise.
4654 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4657 * redisplay.c (redisplay_text_width_emchar_string): Use
4658 `Charset_ID' instead of `unsigned char'.
4659 (redisplay_frame_text_width_string): Likewise.
4661 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4664 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4665 instead of `unsigned char'.
4666 (face_cachel_charset_font_metric_info): Likewise.
4668 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4669 (get_non_ascii_char_table_value): Likewise.
4670 (get_char_table): Likewise.
4671 (put_char_table): Likewise.
4672 (map_over_other_charset): Likewise.
4673 (map_char_table): Likewise.
4675 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4676 instead of `unsigned char'.
4678 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4680 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4681 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4683 * mule-charset.c (leading_code_private_11): Don't define in
4686 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4687 in UTF-2000 because it is not ported yet and not to use
4688 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4690 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4692 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4694 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4696 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4699 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4700 of unsigned char to store leading-byte.
4702 * chartab.c (get_non_ascii_char_table_value): Don't use
4703 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4705 * file-coding.c (encode_coding_big5): Delete bogus implementation
4708 * character.h (LEADING_BYTE_*): Delete definition for
4710 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4711 (LEADING_BYTE_PREFIX_P): Deleted.
4712 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4713 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4714 (BUFBYTE_LEADING_BYTE_P): Deleted.
4715 (CHARSET_PRIVATE_P): Deleted unconditionally.
4716 (rep_bytes_by_first_byte): Deleted unconditionally.
4717 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4718 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4719 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4720 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4721 (CHAR_FIELD2): Deleted.
4722 (CHAR_FIELD3): Deleted.
4723 (MAKE_CHAR): Delete definition for non-UTF-2000.
4724 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4725 (breakup_char_1): New implementation.
4726 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4727 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4729 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4731 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4734 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4736 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4737 (CHARSET_PRIVATE_P): Likewise.
4738 (XCHARSET_PRIVATE_P): Likewise.
4739 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4741 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4743 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4745 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4747 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4748 (NUM_LEADING_BYTES): Changed from 128 to 256.
4749 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4750 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4752 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4754 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4756 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4757 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4758 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4759 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4760 (Qchinese_cns11643_3): New variable in UTF2000.
4761 (Qchinese_cns11643_4): New variable in UTF2000.
4762 (Qchinese_cns11643_5): New variable in UTF2000.
4763 (Qchinese_cns11643_6): New variable in UTF2000.
4764 (Qchinese_cns11643_7): New variable in UTF2000.
4765 (syms_of_mule_charset): Define `chinese-cns11643-3',
4766 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4767 and `chinese-cns11643-7' in UTF2000.
4768 (vars_of_mule_charset): Initialize
4769 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4771 (complex_vars_of_mule_charset): Setup charset
4772 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4773 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4775 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4777 * mule-charset.c: Move setting for `leading-code-private-11' from
4778 `syms_of_mule_charset' to `vars_of_mule_charset'.
4780 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4782 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4783 and `NUM_LEADING_BYTES' in assert.
4785 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4787 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4789 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4790 `NUM_LEADING_BYTES' instead of 128.
4792 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4794 * mule-charset.h (charset_by_leading_byte): Use
4795 `NUM_LEADING_BYTES' instead of 128.
4796 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4798 * mule-charset.c (charset_by_leading_byte): Use
4799 `NUM_LEADING_BYTES' instead of 128.
4800 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4802 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4805 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4807 * mule-charset.c (syms_of_mule_charset): Update to
4810 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4812 * file-coding.c (encode_coding_sjis): New implementation for
4813 UTF2000. (decode_coding_sjis): Ditto.
4815 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4817 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4818 Don't define in UTF2000.
4820 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4823 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4824 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4827 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4829 * config.h.in (CHAR_IS_UCS4): New macro.
4831 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4832 conventional MULE representation.
4833 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4835 * mule-charset.h: Reverted to original.
4837 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4838 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4839 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4841 * character.h: New file.
4843 * file-coding.c (Fmake_coding_system): Set 1 to
4844 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4846 (encode_coding_no_conversion): New implementation for UTF2000.
4848 * file-coding.h (struct Lisp_Coding_System): Add new member
4851 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4853 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4854 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4855 (encode_coding_iso2022): New implementation for UTF2000.
4857 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4859 * mule-canna.c (c2mu): New implementation for UTF2000.
4862 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4864 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4866 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4868 * file-coding.c (reset_encoding_stream): Set 0 to
4869 `str->iso2022.current_char_boundary' in UTF2000.
4870 (encode_utf8): Don't define in UTF2000.
4871 (encode_coding_utf8): New implementation for UTF-8 representation
4873 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4875 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4877 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4879 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4881 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4883 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4885 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4886 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4887 as UTF-8 in UTF2000.
4888 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4889 (non_ascii_valid_char_p): Don't define in UTF2000.
4890 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4891 (Lstream_get_emchar_1): Likewise.
4892 (utf-2000-version): New variable in UTF2000.
4894 * lread.c (read_escape): Add new reader `u'.
4896 * insdel.c (three_to_one_table): Don't define in UTF2000.
4897 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4898 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4900 (bytind_to_bufpos_func): Likewise.
4901 (buffer_mule_signal_inserted_region): Likewise.
4902 (vars_of_insdel): Don't initialize `three_to_one_table'.
4903 (init_buffer_text): Use `buf->text->mule_size' instead of
4904 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4907 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4908 UTF-8 representation in UTF2000.
4909 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
4910 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
4911 (decode_coding_iso2022): Don't define local variable `lb' in
4912 UTF2000; don't use LEADING_BYTE in UTF2000; use
4913 `DECODE_ADD_UCS_CHAR' in UTF2000.
4914 (convert_to_external_format): Decode as UTF-8 in UTF2000.
4916 * config.h.in (UTF2000): New macro.
4918 * buffer.h (struct buffer_text): Add new member `mule_size' and
4919 don't add `mule_shifter' and `mule_three_p' in UTF2000.
4920 (valid_char_p): Return always 1 in UTF2000.
4921 (MAX_EMCHAR_LEN): 6 in UTF2000.
4922 (three_to_one_table): Don't define in UTF2000.
4923 (real_bufpos_to_bytind): Modify for UTF-8 representation in
4925 (real_bytind_to_bufpos): Likewise.
4927 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
4929 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4931 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
4932 representation change.
4933 (Vutf_2000_version): New variable.
4934 (leading_code_private_11): New variable.
4935 (syms_of_mule_charset): Add new variables `utf-2000-version' and
4936 `leading-code-private-11'.
4938 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
4939 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
4940 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
4941 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
4942 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
4943 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
4944 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
4945 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
4946 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
4947 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
4948 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
4949 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
4950 (MIN_CHAR_GREEK): New macro.
4951 (MAX_CHAR_GREEK): New macro.
4952 (MIN_CHAR_CYRILLIC): New macro.
4953 (MAX_CHAR_CYRILLIC): New macro.
4954 (MIN_CHAR_HEBREW): New macro.
4955 (MAX_CHAR_HEBREW): New macro.
4956 (MIN_CHAR_THAI): New macro.
4957 (MAX_CHAR_THAI): New macro.
4958 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
4959 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
4960 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
4961 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
4962 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
4963 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
4964 (CHAR_FIELD2): New inline function.
4965 (CHAR_FIELD3): New inline function.
4966 (MULE_CHAR_PRIVATE_OFFSET): New macro.
4967 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
4968 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
4969 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
4970 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
4971 (MIN_CHAR_COMPOSITION): Likewise.
4972 (CHAR_LEADING_BYTE): Modified for character representation change.
4973 (MAKE_CHAR): Likewise.
4975 * lisp.h (Vcharset_latin_iso8859_1): New variable.
4976 (Vcharset_greek_iso8859_7): Likewise.
4977 (Vcharset_cyrillic_iso8859_5): Likewise.
4978 (Vcharset_hebrew_iso8859_8): Likewise.
4979 (Vcharset_thai_tis620): Likewise.
4980 (Vcharset_katakana_jisx0201): Likewise.
4982 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
4984 * XEmacs 21.4.12 "Portable Code" is released.
4986 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
4988 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
4989 * s/cygwin.sc: new linker file.
4991 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
4993 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
4995 * redisplay-x.c (x_output_string): Use X11-specified types.
4996 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
4997 * emacs.c (__free_hook): Use typeof with Intel compiler.
4998 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5000 2003-01-08 Andy Piper <andy@xemacs.org>
5002 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5003 reserve size during unexec().
5005 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5007 * process-unix.c (unix_create_process): Don't let outchannel block.
5009 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5011 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5012 Needed for IsBadReadPtr().
5014 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5016 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5018 2002-12-14 Ben Wing <ben@xemacs.org>
5020 * callint.c: Declaration error.
5022 * dumper.c (pdump_load): Warning fix.
5023 * process.c: GCPRO error.
5024 * glyphs.c (unmap_subwindow):
5025 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5026 * event-stream.c (maybe_kbd_translate): Wrong argument to
5027 character_to_event().
5029 * alloc.c (garbage_collect_1):
5031 * emacs.c (debug_can_access_memory):
5032 * emacs.c (fatal_error_signal):
5033 * emacs.c (mswindows_handle_hardware_exceptions):
5036 * emacs.c (assert_failed):
5037 * emacs.c (syms_of_emacs):
5040 * print.c (std_handle_out_va):
5041 * print.c (write_string_to_stdio_stream):
5042 * print.c (write_fmt_string):
5043 * print.c (printing_badness):
5044 * print.c (printing_major_badness):
5045 * print.c (print_internal):
5046 * print.c (debug_print_no_newline):
5047 * print.c (debug_backtrace):
5048 Be more defensive in handling bad values when printing. Add code
5049 from trunk involving inhibit_non_essential_printing_operations.
5050 When going down or in debug_print(), don't do external conversion
5051 and such and try really, really hard when printing to avoid core
5052 dumping. Add force-debugging-signal, debug_break().
5054 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5056 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5057 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5059 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5061 * database.c: Fix open_database. Berkeley DB API has changed in
5062 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5064 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5066 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5068 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5070 * event-Xt.c (Xt_timeout):
5071 (Xt_timeout_callback):
5072 (emacs_Xt_add_timeout):
5073 (emacs_Xt_remove_timeout):
5074 (Xt_timeout_to_emacs_event):
5075 Turn completed_timeouts from a stack into a queue. Fixes
5076 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5078 2002-11-07 Wolfram Gloger <wg@malloc.de>
5080 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5081 * emacs.c (main): Assert that mmap'd allocation is disabled.
5083 2002-10-14 Andy Piper <andy@xemacs.org>
5085 * glyphs-widget.c (layout_query_geometry): add in fiddle
5086 factor. Include border text in width layout calculation.
5087 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5089 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5091 * XEmacs 21.4.10 "Military Intelligence" is released.
5093 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5095 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5096 using the NAS private array SoundFileInfo that no longer exists in
5097 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5098 and earlier. This is broken for some versions between 1.5a and
5101 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5103 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5105 * emacs.c (shut_down_emacs): Improve crash message.
5107 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5109 * file-coding.c (determine_real_coding_system): Check for coding
5110 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5111 shebangs and Python PEP 263.
5113 2002-10-08 Andy Piper <andy@xemacs.org>
5115 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5116 if static sizes haven't been set.
5118 2002-08-30 Mike Alexander <mta@arbortext.com>
5120 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5123 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5125 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5127 2002-09-20 Mike Sperber <mike@xemacs.org>
5129 (This partially gets back my patch from 2002-07-20 without the
5131 * callproc.c (child_setup): Remove Ben's comment noting confusion
5132 over the file descriptors >= 3: close_process_descs() doesn't
5133 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5134 * process-unix.c (unix_create_process): Call
5135 begin_dont_check_for_quit to inhibit unwanted interaction (and
5136 thus breaking of X event synchronicity) in the child.
5138 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5140 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5143 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5145 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5146 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5147 the xemacs process did not exit, but looped infinitely here. This
5150 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5152 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5153 (find_context): Improve comments.
5155 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5156 (re_match_2): An XCHAR_TABLE operation was missing.
5158 Many of the following changes were inspired by Andy Piper's (now
5159 obsolete) patch to make syntax-table text property lookup optional.
5163 * syntax.h (top level): Document semantics of syntax flags.
5164 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5165 * syntax.c, syntax.h (top level): Document syntax cache better in
5168 [Instrument syntax caching (temporary change)]
5170 * syntax.h (enum syntax_cache_statistics_functions, struct
5171 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5172 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5173 * syntax.c (scan_words, Fforward_comment, scan_lists,
5174 Fbackward_prefix_characters):
5175 * font-lock.c (find_context):
5176 Use them to instrument syntax caching.
5177 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5178 syntax_cache_statistics_function_names): New type and variables.
5179 * syntax.c (update_syntax_cache): Update and report statistics.
5181 [Major syntax cache optimizations]
5183 syntax.c (lookup_syntax_properties): Default off.
5185 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5186 * syntax.c (update_syntax_cache):
5187 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5189 [Minor syntax cache optimizations and code clarifications]
5191 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5192 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5193 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5194 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5195 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5196 (Code clarification.)
5198 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5199 scan_lists): Compute code from syncode, use Boolean macros instead
5200 of redundant masking operations. (Code clarification; any decent
5201 compiler can do this optimization.)
5203 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5206 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5207 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5208 use F*_single_property_change instead of F*_extent_change.
5209 Currently F*_single_property_change is _much_ less efficient.
5211 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5212 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5213 syntax_cache.object properly, don't leave Qt or Qnil.
5214 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5215 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5216 tests for Qt or Qnil.
5218 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5220 * redisplay.c (point_in_line_start_cache):
5221 * extents.c (print_extent_1):
5224 * extents.c (Fset_extent_property): Document `syntax-table' property.
5226 * extents.h (Fnext_single_property_change): EXFUN it.
5228 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5230 * search.c (clear_unused_search_regs): New static function.
5234 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5235 Minor clarifications in comments.
5237 * regex.c (re_match_2_internal): Ensure no stale submatches.
5239 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5241 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5243 2002-08-29 Jerry James <james@xemacs.org>
5245 * lisp.h: structrures -> structures.
5247 2002-06-03 Andy Piper <andy@xemacs.org>
5249 * frame.c (frame_conversion_internal): add conversion appropriate
5250 for setting frame dimensions in pixels.
5252 * console.h (struct console_methods): add device-specific widget
5255 * emacs.c (main_1): initialize glyph vars.
5257 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5258 (handle_focus_event_2): new function. Allow focus to
5259 be set to a particular window and widget.
5260 (enqueue_focus_event): new function. Create a
5261 synthetic focus event.
5262 (emacs_Xt_handle_magic_event): call
5263 handle_focus_event_2.
5265 * frame.c (Fset_frame_pixel_height): new function. Allow
5266 pixel-based sizing. Does the right thing on character-oriented
5268 (Fset_frame_pixel_width): ditto.
5269 (Fset_frame_pixel_size): ditto.
5270 (syms_of_frame): declare.
5272 * general-slots.h: add :vertically-justify and
5273 :horizontally-justify.
5275 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5276 (mswindows_widget_border_width): new function.
5277 (mswindows_combo_box_instantiate): set border widths.
5278 (console_type_create_glyphs_mswindows): declare.
5281 (check_valid_justification): allow vertical and horizontal
5283 (widget_border_width): new function. Call device methods.
5284 (widget_instance_border_width): ditto.
5285 (logical_unit_height): new function. Determine the height of a
5286 logical-unit. Logical units are intended to provide grid-like
5287 layout for subcontrols in a layout. If the layout is
5288 :vertically-justify top then subcontrols will be positioned on
5289 logical-unit boundaries, thus allowing adjacent subcontrols to
5291 (widget_logical_unit_height): ditto for widgets.
5292 (redisplay_widget): misc cleanup.
5293 (widget_spacing): new function. Call device specific
5294 methods. Intended to be the default gap between adjacent widgets.
5295 (widget_query_geometry): use new spacing functions to determine
5296 appropriate geometry.
5297 (initialize_widget_image_instance): initialize horizontal and
5298 vertical justification.
5299 (widget_instantiate): use logica-units where appropriate for
5300 sizing large widgets.
5301 (button_query_geometry): use widget_instance_border_width.
5302 (tree_view_query_geometry): ditto.
5303 (tab_control_query_geometry): ditto.
5304 (edit_field_query_geometry): new function.
5305 (layout_update): pick up :justify, :horizontally-justify and
5306 :vertically-justify none of which worked previously. :justify is
5307 used as a fallback for both horizontal and vertical justification.
5308 (layout_query_geometry): use logical units to size appropriately.
5309 (layout_layout): ditto.
5310 (Fwidget_logical_to_character_width): new function. Allow users to
5311 convert from logical units to characters so that frame sizes can
5312 be set appropriately.
5313 (Fwidget_logical_to_character_height): ditto.
5314 (syms_of_glyphs_widget): declare.
5315 (image_instantiator_edit_fields): add edit_field_query_geometry.
5316 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5317 :horizontally-justify.
5318 (specifier_vars_of_glyphs_widget): new function. Declare
5319 Vwidget_border_width which is not yet used.
5321 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5322 (x_widget_border_width): new function.
5323 (x_widget_instantiate): create a sensible name for widgets.
5324 (console_type_create_glyphs_x): declare x_widget_border_width.
5326 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5327 (struct Lisp_Image_Instance): add :vertically-justify and
5328 :horizontally-justify.
5329 (LAYOUT_JUSTIFY_TOP): new.
5330 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5331 (ROUND_UP): new macro. Round argument up to next integral
5334 * redisplay-output.c (redisplay_output_layout): misc formatting.
5336 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5338 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5340 * XEmacs 21.4.9 "Informed Management" is released.
5342 2002-08-19 Andy Piper <andy@xemacs.org>
5344 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5347 * realpath.c (xrealpath): normalize drive spec also so that dir
5348 sep chars are not mixed on cygwin.
5350 2002-08-06 Jerry James <james@xemacs.org>
5352 * window.c (Fsplit_window): Count only half of the divider width
5353 against the left window when splitting horizontally.
5355 2002-06-24 Andy Piper <andy@xemacs.org>
5357 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5358 toolbar was cleared.
5360 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5361 function. Split out from mswindows_output_frame_toolbars.
5362 (mswindows_output_frame_toolbars): move clear pieces to
5363 mswindows_output_frame_toolbars.
5365 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5366 out from gtk_output_frame_toolbars.
5367 (gtk_output_frame_toolbars): move clear pieces to
5368 gtk_clear_frame_toolbars.
5370 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5371 the frame is cleared. How this ever worked before is a mystery.
5372 (x_output_frame_toolbars): Only output toolbars.
5373 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5375 * gutter.c (update_gutter_geometry):
5376 Mark frame layout changed.
5377 (update_frame_gutter_geometry, update_frame_gutters):
5378 Respect frame_layout_changed.
5380 * console.h (struct console_methods): add
5381 clear_frame_toolbars_method.
5383 * redisplay.c (redisplay_frame): call
5384 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5386 * toolbar.h: declare update_frame_toolbars_geometry.
5388 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5389 out from update_frame_toolbars. Call clear_frame_toolbars.
5390 (update_frame_toolbars): only output, do not change geometry.
5392 * redisplay.c: add frame_layout_changed.
5394 * redisplay.h: add frame_layout_changed.
5395 (CLASS_RESET_CHANGED_FLAGS): set it.
5396 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5397 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5398 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5400 * device.h (struct device): add frame_layout_changed.
5401 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5403 * frame.h (struct frame): add frame_layout_changed.
5404 (MARK_FRAME_LAYOUT_CHANGED): new.
5406 2002-06-30 Mike Alexander <mta@arbortext.com>
5408 * event-msw.c (mswindows_need_event): Don't wait for a new message
5409 if the queue is not empty. Suggested by Paul Moore.
5411 2002-06-12 Andy Piper <andy@xemacs.org>
5413 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5414 for printing on accurately.
5416 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5418 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5419 WM_ACTIVATE message. Make sure that the frame is visible if the
5420 window is visible. This seemss to fix the problem where XEmacs
5421 appears to freeze after switching desktops with certain virtual
5423 (debug_output_mswin_message): Added code to output message
5424 parameters for WM_WINDOWPOSCHANGED,
5425 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5427 2002-05-25 Andy Piper <andy@xemacs.org>
5429 * select-x.c (vars_of_select_x): Fix docstring of
5430 x-selection-strict-motif-ownership
5432 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5434 * keymap.c (get_keymap):
5435 Add comment about do_autoload GCPROs own args.
5437 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5439 * bytecode.c (execute_optimized_program): check_opcode ifdef
5440 ERROR_CHECK_BYTE_CODE.
5442 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5444 Thanks to Ben Wing and Michael Sperber.
5446 * eval.c (Fcommand_execute):
5449 (Fmacroexpand_internal):
5450 (function_argcount):
5451 callint.c (Fcall_interactively):
5452 Add comment about do_autoload GCPROs own args.
5454 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5456 * eval.c (Ffuncall): Extra braces to placate GCC.
5458 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5460 * backtrace.h (grow_specpdl):
5462 * EmacsFrame.c (EmacsFrameSetValues):
5463 * eval.c (grow_specpdl):
5464 * ExternalShell.c (hack_event_masks_1):
5465 * glyphs-x.c (convert_EImage_to_XImage):
5466 (x_finalize_image_instance):
5467 * ralloc.c (page_size):
5469 * xgccache.c (gc_cache_hash):
5470 Fix unsigned comparison warnings.
5472 2002-07-29 Jerry James <james@xemacs.org>
5474 * lread.c (locate_file): Any nonnegative return value indicates
5475 success if MODE is nonnegative.
5477 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5479 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5482 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5484 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5486 * dumper.c (pdump_get_indirect_count):
5487 (pdump_scan_by_alignment):
5488 (pdump_dump_root_struct_ptrs):
5489 (pdump_dump_rtables):
5490 (pdump_dump_root_objects):
5492 * nas.c (WaveOpenDataForReading):
5493 * fns.c (print_bit_vector):
5494 * font-lock.c (SINGLE_SYNTAX_STYLE):
5495 * glyphs.c (check_for_ignored_expose):
5496 (find_matching_subwindow):
5498 * imgproc.c (get_histogram):
5499 * redisplay.c (point_in_line_start_cache):
5500 * redisplay-output.c (redisplay_unmap_subwindows):
5501 * symbols.c (defsymbol_massage_name_1):
5502 (defkeyword_massage_name):
5503 (deferror_massage_name_and_message):
5504 * redisplay-x.c (x_output_string):
5505 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5506 * frame.h (struct frame):
5507 * filelock.c (current_lock_owner):
5508 * doprnt.c (emacs_doprnt_1):
5509 * lisp.h (struct Lisp_Bit_Vector):
5513 2002-02-13 Ben Wing <ben@xemacs.org>
5515 * event-stream.c (reset_key_echo):
5516 * event-stream.c (reset_this_command_keys):
5517 * event-stream.c (execute_command_event):
5518 If console is dead as a result of C-x 5 0, then post-command stuff
5519 needs to be careful and do only non-console-specific stuff.
5521 2002-07-01 Mike Sperber <mike@xemacs.org>
5523 * process-unix.c (unix_send_process): Mark coding_outstream as
5524 non-open upon SIGPIPE.
5526 * event-stream.c (Fnext_event): Reorder switch cases to something
5529 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5531 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5532 Don't bogusly reinitialize ascii_character property.
5534 2002-07-08 Mike Sperber <mike@xemacs.org>
5536 * process.c (Fstart_process_internal): Do error checking before we
5537 fork off the child, so the child can't muck with the state of the
5540 2002-07-08 Mike Sperber <mike@xemacs.org>
5542 * ralloc.c (init_ralloc): Allocate properly for pdump.
5544 2002-06-12 Andy Piper <andy@xemacs.org>
5546 * glyphs.c (query_string_geometry): check the string.
5548 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5551 2002-06-17 Jerry James <james@xemacs.org>
5553 * sysdll.c: Remove RTLD_GLOBAL initialization.
5554 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5556 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5558 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5560 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5562 * sysdep.c (sys_rename): Make sys_rename work for the case where
5563 Windows rename sets errno to EACCES if target file exists.
5565 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5567 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5568 Fix detection of metric units to work on Win95
5570 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5572 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5574 2002-04-25 Andy Piper <andy@xemacs.org>
5576 * redisplay.c (create_text_block): Remove extra comment trailer.
5578 2002-04-24 Andy Piper <andy@xemacs.org>
5580 * redisplay.c (create_text_block): Don't actually add propagation
5581 data if the line ends after we have added a glyph.
5583 2002-04-22 Andy Piper <andy@xemacs.org>
5585 * extents.c (extent_fragment_update): check for glyphs we have
5586 previously displayed.
5587 * extents.c (print_extent_1): warning removal.
5588 * extents.h: change prototype.
5589 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5590 widths correctly for wide glyphs.
5591 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5592 * redisplay.c (prop_type): add PROP_GLYPH.
5593 * redisplay.c (struct prop_block): add glyph type
5594 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5595 to the propagation data.
5596 * redisplay.c (create_text_block): if there is a glyph in the
5597 propagation data use it to salt extent_fragment_update.
5598 * redisplay.c (create_string_text_block): ditto.
5600 2002-04-13 Nix <nix@esperi.demon.co.uk>
5602 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5603 * redisplay-output.c (compare_runes): Compare them.
5604 * redisplay.c: Update copyright date.
5605 * redisplay.c (pos_data): Add need_baseline_computation field.
5606 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5607 need_baseline_computation; zero yoffset. Set max_pixmap_height
5608 for all pixmaps, not just automatically positioned ones.
5609 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5610 * redisplay.c (calculate_baseline): New, compute textual baseline.
5611 * redisplay.c (add_glyph_rune): Call them.
5612 * redisplay.c (create_text_block): Likewise.
5613 * redisplay.c (create_overlay_glyph_block): Likewise.
5614 * redisplay.c (add_margin_runes): Likewise.
5615 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5617 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5618 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5619 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5620 * redisplay-msw.c (mswindows_output_string): Likewise.
5621 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5622 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5623 * redisplay-x.c (x_output_display_block): Likewise.
5625 2002-03-28 Ben Wing <ben@xemacs.org>
5627 * redisplay.c: Fixed bug in redisplay
5628 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5629 and down of the lines, since they're bigger than the line
5630 size. (It was seen most obviously when there's a horizontal scroll
5631 bar, e.g. do C-h a glyph or something like that.) The problem was
5632 that the glyph-contrib-p setting on glyphs was ignored even if it
5633 was set properly, which it wasn't until now.
5635 2002-04-24 Andy Piper <andy@xemacs.org>
5637 * lisp.h (Dynarr_end): Fix definition.
5639 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5641 * redisplay.c (mark_redisplay): Remove call to
5642 update_frame_window_mirror.
5644 2001-11-15 Andy Piper <andy@xemacs.org>
5646 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5649 2002-02-13 Andy Piper <andy@xemacs.org>
5651 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5652 we did in fact enqueue the XM_MAPFRAME event.
5654 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5656 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5657 to fix problem switching between virtual desktops under virtuawin
5658 virtual window manager.
5660 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5662 * event-msw.c: Typo fix.
5663 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5664 magic XM_MAPFRAME event has been sent.
5666 2001-11-23 Andy Piper <andy@xemacs.org>
5668 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5670 2001-11-21 Andy Piper <andy@xemacs.org>
5672 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5673 mouse events outside the frame.
5675 2002-03-20 Andy Piper <andy@xemacs.org>
5677 * menubar-msw.c (mswindows_popup_menu): warning removal.
5678 * dialog-msw.c (dialog_popped_down): ditto.
5680 2001-12-11 Andy Piper <andy@xemacs.org>
5682 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5683 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5685 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5686 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5687 * menubar-msw.c (mswindows_popup_menu): ditto.
5689 2001-10-29 Andy Piper <andy@xemacs.org>
5691 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5694 2002-01-03 Andy Piper <andy@xemacs.org>
5696 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5700 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5702 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5703 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5704 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5705 Detect and handle case where machine is set up for metric units
5707 2002-04-02 Andy Piper <andy@xemacs.org>
5709 * dired-msw.c (mswindows_get_files):
5710 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5711 completely handled by XEmacs. Suggested by Thomas Vogler
5712 <mail@thomas-vogler.de>.
5714 2001-11-14 Andy Piper <andy@xemacs.org>
5716 * nt.c (REG_ROOT): change registry key to XEmacs.
5718 2002-04-27 Andy Piper <andy@xemacs.org>
5720 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5722 2002-04-26 Andy Piper <andy@xemacs.org>
5724 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5727 2002-03-14 Mike Alexander <mta@arbortext.com>
5729 * event-msw.c (mswindows_unwait_process): New, remove process from
5731 * process-nt.c (nt_finalize_process_data): Call
5732 mswindows_unwait_process
5733 * console-msw.h: Declare mswindows_unwait_process
5735 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5737 * editfns.c (Fdecode_time):
5738 (Fformat_time_string):
5739 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5740 (make_time): Warning elimination (change arg name).
5742 2001-11-24 Andy Piper <andy@xemacs.org>
5744 * window.c (Fsplit_window): Doc return type.
5746 2002-04-01 Andy Piper <andy@xemacs.org>
5748 * emacs.c (Fkill_emacs): Only output message box in interactive
5751 2002-04-26 Andy Piper <andy@xemacs.org>
5753 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5756 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5758 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5761 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5763 * XEmacs 21.4.8 "Honest Recruiter" is released.
5765 2002-05-07 Nix <nix@esperi.demon.co.uk>
5767 Supersedes 2002-04-17 patch.
5769 * process.h (PROCESS_LIVE_P): Use the process status as
5770 evidence of health, not the state of the input stream.
5771 (PROCESS_READABLE_P): Say if the process is readable
5772 from. (It may be dead nonetheless.)
5773 (CHECK_READABLE_PROCESS): Test for that condition.
5775 * process.c (create_process): Use PROCESS_READABLE_P.
5776 (read_process_output, set_process_filter): Likewise.
5778 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5779 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5781 This code is #if 0'd, this is not the time to add new functions:
5783 * process.c (Fprocess_readable_p): Report readability status.
5784 * process.c (Qprocess_readable_p): New, associated symbol...
5785 * process.c (syms_of_process): ... initialize it.
5787 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5789 * XEmacs 21.4.7 "Economic Science" is released.
5791 2002-04-17 Nix <nix@esperi.demon.co.uk>
5793 * process.h (PROCESS_LIVE_P): Use the process status as
5794 evidence of health, not the state of the input stream.
5796 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5798 * sysdep.c (sys_siglist): change "signum" to "signal"
5800 2001-04-21 Martin Buchholz <martin@xemacs.org>
5802 * s/darwin.h: New file.
5803 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5805 2002-04-23 Andreas Jaeger <aj@suse.de>
5807 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5808 which use lib64 for 64-bit libs.
5809 (START_FILES): Likewise.
5811 2002-02-11 Mike Sperber <mike@xemacs.org>
5814 (x_IO_error_handler):
5815 (x_init_device): Temporarily keep device in static variable
5816 `device_being_initialized' so we can recover gracefully from
5817 internal XOpenDevice failure. (XOpenDevice is documented to
5818 return NULL on failure, but sometimes calls the IO error handler
5821 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5823 * dired.c (Ffile_name_all_completions): Change documentation --
5824 remove reference to completion-ignored-extensions.
5825 * dired.c (vars_of_dired): Change documentation for
5826 completion-ignored-extensions -- remove reference to
5827 file-name-all-completions.
5829 2002-03-06 Jerry James <james@xemacs.org>
5831 * emodules.c (emodules_load): Fix multiple loading of same module.
5833 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5834 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5835 RTLD_LAZY to avoid incorrect symbol binding when using nested
5836 shared libraries on Solaris.
5838 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5840 * fileio.c (Ffind_file_name_handler): Improve docstring.
5842 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5844 * fns.c (Fmapconcat): Improve docstring.
5846 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5848 * device-gtk.c: Add prototype for
5849 emacs_gtk_selection_clear_event_handle.
5850 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5851 selection. Setup signal handler for "selection_clear_event"
5852 (emacs_gtk_selection_clear_event_handle).
5854 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5855 other applications owning the clipboard (based on
5856 x_handle_selection_clear).
5858 2001-12-23 William M. Perry <wmperry@gnu.org>
5860 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5862 2002-01-04 Martin Buchholz <martin@xemacs.org>
5864 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5866 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5868 * XEmacs 21.4.6 "Common Lisp" is released.
5870 2001-12-16 Torsten Duwe <duwe@caldera.de>
5872 * search.c (Freplace_match): Add missing sub-expression functionality.
5874 * buffer.c (decode_buffer): Add a check for pointer type to
5875 decode_buffer, before gcc's CSE optimization reorders a
5876 dereference in front of the allow_string test.
5878 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5880 * window.c (window_loop): Fix bug that sometimes prevented
5881 window_loop() from iterating across multiple devices. Also, at
5882 Ben's request, changed infloop-detecting code to abort() instead
5883 of silently terminating window_loop().
5885 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5887 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5888 * editfns.c (make_time): New function.
5889 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5890 * lisp.h (make_time): Prototype and comment it.
5891 * dired.c (wasteful_word_to_lisp): Deprecate.
5892 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5894 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5896 * fileio.c (auto_save_1): Use current coding system, not
5899 2001-11-13 Ben Wing <ben@xemacs.org>
5902 * window.c (window_truncation_on):
5903 * window.c (syms_of_window):
5904 truncate-partial-width-windows should respect the buffer being
5905 displayed, like other redisplay vars.
5907 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5909 * event-stream.c (Fread_key_sequence): save current buffer.
5911 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5913 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
5915 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
5917 * alloc.c (lcrecord_stats): Add space for types defined in modules.
5919 2001-10-26 Mike Alexander <mta@arbortext.com>
5921 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
5923 2001-10-25 Andy Piper <andy@xemacs.org>
5926 * dialog-msw.c (handle_directory_proc): new function.
5927 (handle_directory_dialog_box): new fucntion.
5928 (handle_file_dialog_box): use new directory dialog support.
5929 (mswindows_make_dialog_box_internal): ditto.
5930 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
5932 (mswindows_find_frame): make global.
5933 * fileio.c (Fexpand_file_name): build fix.
5934 * general-slots.h: add Qdirectory.
5935 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
5937 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
5938 cygwin not leaving win32 paths unchanged.
5939 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
5940 cygwin runtime to do path conversion.
5941 (Fmswindows_shell_execute): fix cygwin handling of URLs.
5942 (syms_of_win32): add new function.
5943 * window.c (window_loop): build fix.
5945 2001-10-15 Andy Piper <andy@xemacs.org>
5947 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
5949 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
5951 * XEmacs 21.4.5 "Civil Service" is released.
5953 2001-04-08 Danny Colascione <qtmstr@optonline.net>
5955 * glyphs-x.c: Force buffer-tab highlight update when moving the
5956 buffer, avoiding an ugly black border, used for keyboard focus
5957 indication, on a widget that can never have keyboard focus, the
5960 2001-08-30 Daiki Ueno <ueno@unixuser.org>
5962 * process-unix.c (unix_open_multicast_group): Remove too much
5963 conversion between host and network byte order.
5965 2001-09-10 Nix <nix@esperi.demon.co.uk>
5967 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
5968 before replacing them.
5970 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
5973 * src/window.c (undedicate_windows): Use it.
5974 * src/window.h: Add prototype.
5976 2001-09-17 Ben Wing <ben@xemacs.org>
5978 * fileio.c (normalize_filename):
5979 * fileio.c (Fexpand_file_name):
5980 Fix various C++ compile errors in Andy's recent code.
5982 * callint.c (Fcall_interactively):
5983 * editfns.c (Ftemp_directory):
5984 * editfns.c (Fuser_full_name):
5985 * emacs.c (argmatch):
5986 * lread.c (locate_file_map_suffixes):
5987 * redisplay-x.c (x_ring_bell):
5988 Fix sign-compare warnings.
5990 2001-09-08 Andy Piper <andy@xemacs.org>
5992 * fileio.c (normalize_filename): copied from nt.c
5993 * (Ffile_name_directory): enable win32 paths under cygwin.
5994 * (Ffile_name_nondirectory): ditto.
5995 * (directory_file_name): ditto.
5996 * (Fexpand_file_name): ditto.
5997 * (Ffile_truename): ditto.
5998 * (Fsubstitute_in_file_name): ditto.
5999 * (Ffile_name_absolute_p): ditto.
6000 * (Ffile_readable_p): ditto.
6002 2001-09-08 Andy Piper <andy@xemacs.org>
6004 * device-msw.c (mswindows_finish_init_device): remove dde
6006 * device-msw.c (mswindows_init_dde): factor out from
6007 mswindows_finish_init_device()
6008 * device-msw.c (init_mswindows_very_early): new function
6009 initialize but don't enable dde.
6010 * emacs.c (main_1): call init_mswindows_very_early.
6012 * event-msw.c (mswindows_dde_callback): only execute when we are
6014 * symsinit.h: declare init_mswindows_very_early.
6016 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6018 [sjt: This has been in 21.5 for months with no complaints.]
6020 * console.h (struct console_methods): Added flags member.
6021 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6022 (CONMETH_IMPL_FLAG):
6023 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6024 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6026 * device.c (window_system_pixelated_geometry): Use the above macros.
6028 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6029 implememntation flag.
6030 * device.h (DEVICE_DISPLAY_P): Use it.
6032 * frame.c (delete_frame_internal): Use the above macro.
6034 * redisplay.c (redisplay_device): Use it.
6035 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6036 (redisplay_frame): Ditto.
6038 * device-msw.c (mswindows_device_implementation_flags): Removed.
6039 (msprinter_device_implementation_flags): Removed.
6040 (console_type_create_device_mswindows): Removed references to
6041 implementation_flags methods, set implementation flags here.
6042 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6044 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6045 (console_type_create_device_gtk): Removed method declaration.
6046 Added commented out statement which semantically matches the
6047 commented out statement in the above removed method.
6049 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6051 The attached patch fixes a few warnings.
6053 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6054 * src/frame-gtk.c: guard against GNOME calls in GTK only
6055 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6056 * src/select-gtk.c: prototype lisp_to_time
6058 2001-06-08 Ben Wing <ben@xemacs.org>
6060 ------ gc-in-window-procedure fixes ------
6063 * alloc.c (struct post_gc_action):
6064 * alloc.c (register_post_gc_action):
6065 * alloc.c (run_post_gc_actions):
6066 * alloc.c (garbage_collect_1):
6067 Create "post-gc actions", to avoid those dreaded "GC during window
6068 procedure" problems.
6071 Abort, clean and simple, when GC in window procedure. We want
6072 to flush these puppies out.
6075 * glyphs-msw.c (finalize_destroy_window):
6076 * glyphs-msw.c (mswindows_finalize_image_instance):
6077 Use a post-gc action when destroying subwindows.
6080 Declare register_post_gc_action().
6083 * scrollbar-msw.c (unshow_that_mofo):
6084 Use a post-gc action when unshowing scrollbar windows, if in gc.
6086 * redisplay.c (mark_redisplay):
6087 Add comment about the utter evilness of what's going down here.
6089 ------ cygwin setitimer fixes ------
6091 * Makefile.in.in (sheap_objs):
6092 * Makefile.in.in (profile_objs):
6093 * Makefile.in.in (objs):
6094 Compile profile.c only when HAVE_SETITIMER.
6096 * nt.c (mswindows_sigset):
6097 * nt.c (mswindows_sighold):
6098 * nt.c (mswindows_sigrelse):
6099 * nt.c (mswindows_sigpause):
6100 * nt.c (mswindows_raise):
6101 * nt.c (close_file_data):
6105 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6108 * profile.c (Fstart_profiling):
6109 * profile.c (Fstop_profiling):
6110 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6111 instead of just plain setitimer().
6114 * signal.c (set_one_shot_timer):
6116 Define qxe_setitimer() as an encapsulation around setitimer() --
6117 call setitimer() directly unless Cygwin or MS Win, in which case
6118 we use our simulated version in win32.c.
6121 * systime.h (struct itimerval):
6122 * systime.h (ITIMER_REAL):
6123 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6124 comment about "qxe" and the policy regarding encapsulation.
6127 * win32.c (setitimer_helper_proc):
6128 * win32.c (setitimer_helper_period):
6129 * win32.c (setitimer_helper):
6130 * win32.c (mswindows_setitimer):
6131 Move setitimer() emulation here, so Cygwin can use it.
6132 Rename a couple of functions and variables to be longer and more
6133 descriptive. In setitimer_helper_proc(), send the signal
6134 using either mswindows_raise() or (on Cygwin) kill(). If for
6135 some reason we are still getting lockups, we'll change the kill()
6136 to directly invoke the signal handlers.
6138 ------ windows shell fixes ------
6142 Comments about how these two files must die.
6144 * callproc.c (init_callproc):
6145 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6146 not just COMSPEC. (more correct and closer to FSF.) Don't
6147 force a value for SHELL into the environment. (Comments added
6148 to explain why not.)
6150 * nt.c (init_user_info):
6151 Don't shove a fabricated SHELL into the environment. See above.
6153 2001-06-01 Ben Wing <ben@xemacs.org>
6155 * Makefile.in.in (ldflags):
6156 eliminate that pesky "defaulting to 00401000" warning.
6160 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6162 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6163 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6165 2001-04-24 Jerry James <james@xemacs.org>
6167 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6170 2001-06-01 Ben Wing <ben@xemacs.org>
6172 * event-msw.c (debug_mswin_messages):
6173 conditionalize the messages that were causing compile errors.
6174 (if only macros could generate #ifdef statements ...)
6176 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6178 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6180 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6182 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6184 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6186 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6187 * process-unix.c (unix_canonicalize_host_name):
6188 sysdep.c (init_system_name):
6189 Use it to conditionally support IPv6 canonicalization.
6191 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6194 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6196 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6198 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6199 attempt is made to scroll when no scroll bar is available.
6201 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6203 * input-method-motif.c (XIM_delete_frame): New callback.
6204 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6205 got deleted from 21.4.3.)
6207 2001-06-01 Ben Wing <ben@xemacs.org>
6209 * nt.c (mswindows_utime):
6210 * nt.c (close_file_data):
6211 fix off-by-one-indirection error.
6213 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6215 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6216 because set_file_times() now takes Lisp_Object path, instead of
6218 * nt.c: Include buffer.h.
6219 * nt.c (convert_from_time_t): New.
6220 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6221 not set mtime correctly.
6222 * nt.h: Declare mswindows_utime().
6223 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6224 path, instead of char*.
6225 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6227 2001-05-30 Ben Wing <ben@xemacs.org>
6231 (Stephen, just take all event-msw.c patches. This includes
6232 the "iconify" fix below.)
6235 * event-msw.c (mswindows_dequeue_dispatch_event):
6236 * event-msw.c (assert):
6237 * event-msw.c (emacs_mswindows_quit_p):
6238 * event-msw.c (debug_mswin_messages):
6239 * event-msw.c (debug_output_mswin_message):
6240 * event-msw.c (vars_of_event_mswindows):
6241 Fix yet more problems with C-g handling.
6242 Implement debug-mswindows-events.
6244 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6246 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6248 2001-05-23 Ben Wing <ben@xemacs.org>
6250 * event-msw.c (winsock_writer):
6251 * event-msw.c (winsock_closer):
6252 prior kludgy code was clobbering the buffer, thinking it was
6253 "unused" space to store an unneeded return value; instead, use
6254 the variable we've already got staring us in the face.
6256 2001-05-17 Andy Piper <andy@xemacs.org>
6258 * sysfile.h: don't assume that file attributes are boolean
6260 2001-05-23 Ben Wing <ben@xemacs.org>
6262 * device-msw.c (msprinter_init_device):
6263 signal an error rather than crash with an unavailable network
6264 printer (from Mike Alexander).
6267 * event-msw.c (struct winsock_stream):
6268 * event-msw.c (winsock_writer):
6269 * event-msw.c (winsock_closer):
6270 * event-msw.c (make_winsock_stream_1):
6271 cleanup headers. fix (hopefully) an error with data corruption
6272 when sending to a network connection.
6274 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6275 to handle the ~user prefix by (a) always assuming we're referencing
6276 ourselves and not even verifying the user -- hence any file with
6277 a tilde as its first char is invalid! (b) if there wasn't a slash
6278 following the filename, the pointer was set *past* the end of
6279 file and we started reading from uninitialized memory. Now we
6280 simply treat these as files, always.
6282 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6284 2001-05-19 Ben Wing <ben@xemacs.org>
6286 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6289 * process-nt.c (vars_of_process_nt):
6290 remove unused mswindows-quote-process-args. rec for 21.4.
6292 2001-05-12 Ben Wing <ben@xemacs.org>
6294 * event-msw.c (mswindows_dde_callback):
6295 * event-msw.c (mswindows_wnd_proc):
6296 eliminate cygwin warnings.
6298 2001-05-06 Ben Wing <ben@xemacs.org>
6302 * device-msw.c (print_dialog_worker):
6303 * device-msw.c (mswindows_handle_print_dialog_box):
6304 * device-msw.c (syms_of_device_mswindows):
6305 * dialog-msw.c (mswindows_make_dialog_box_internal):
6307 implement printing the selection when it's selected.
6309 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6311 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6313 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6315 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6316 EMACS_INT is signed.
6318 2001-04-15 Michael Lausch <mla@1012surf.net>
6320 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6321 gtk_widget_request_size() to give scrollbar >0 width for
6324 2001-05-30 William M. Perry <wmperry@gnu.org>
6326 * event-gtk.c: Check for buttons as modifier keys.
6328 2001-05-25 Craig Lanning <CraigL@Knology.net>
6331 Properly find MinGW's <process.h> inside Cygwin's restructured
6332 include directories. Don't try to include <cygwin/version.h>
6333 since we are dropping support for MinGW in versions of Cygwin
6336 Drop support for MinGW in versions of Cygwin before b21.
6338 Properly find MinGW's <process.h> inside Cygwin's restructured
6339 include directories.
6341 Drop support for MinGW in versions of Cygwin before b21.
6343 Even though a.out.h is no longer detected by configure, allow
6344 MinGW to use it until we figure out how to do the job with Win32.
6346 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6348 * syntax.c (find_start_of_comment):
6349 Fix `unbalanced parentheses' bug when dealing with mixed comment
6350 styles in c++/java/etc. mode
6352 2001-05-29 Mike Alexander <mta@arbortext.com>
6354 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6355 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6357 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6359 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6361 2001-03-31 Mike Sperber <mike@xemacs.org>
6363 * search.c (Freplace_match): Support FSF-style specification of
6364 match subexpression when applied to a buffer.
6366 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6368 * event-stream.c (is_scrollbar_event): add missing semicolon
6370 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6372 * Makefile.in.in: Use TAR macro instead of hardcoding
6373 tar. Allows use of GNU tar instead of system tar
6375 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6377 * event-stream.c (is_scrollbar_event): add missing semicolon
6379 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6381 * XEmacs 21.4.3 "Academic Rigor" is released.
6383 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6385 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6387 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6389 * buffer.c (Vcase_fold_search): Remove obsolete
6390 comment about non ASCII case-fold-search. This
6391 bug has been fixed by case-table changes.
6393 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6395 * event-msw.c: Restore include of events-mod.h.
6397 2001-04-22 zhaoway <zw@debian.org>
6399 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6402 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6404 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6406 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6408 * mule-charset.c (Fmake_charset): Add missing else.
6410 2001-04-23 Ben Wing <ben@xemacs.org>
6412 * event-msw.c (FAKE_MOD_QUIT):
6413 * event-msw.c (mswindows_dequeue_dispatch_event):
6414 * event-msw.c (mswindows_wnd_proc):
6415 * event-msw.c (emacs_mswindows_quit_p):
6416 Get critical quit working.
6418 2001-05-05 Ben Wing <ben@xemacs.org>
6422 * device-msw.c (mswindows_get_default_margin):
6423 * frame-msw.c (mswindows_size_frame_internal):
6424 * frame-msw.c (msprinter_init_frame_1):
6425 * frame-msw.c (vars_of_frame_mswindows):
6426 Change top/bottom margin defaults to 0.5 inches.
6428 2001-05-01 Martin Buchholz <martin@xemacs.org>
6430 Fix link error with gcc 3.0 on Linux.
6431 * terminfo.c (UP): Remove.
6432 * terminfo.c (BC): Remove.
6433 * terminfo.c (PC): Remove.
6434 They weren't used, and in any case, these symbols should be
6435 defined in the *library*.
6437 2001-05-03 Martin Buchholz <martin@xemacs.org>
6439 * s/aix4.h: Fix crash with xlc -O3.
6440 Improve comment explaining how -O3 works.
6442 2001-04-15 Ben Wing <ben@xemacs.org>
6445 * event-stream.c (Fnext_event):
6446 * event-stream.c (is_scrollbar_event):
6447 * event-stream.c (execute_command_event):
6448 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6449 crash' problem. His fix introduces other problems. We filter
6450 out scrollbar events specifically, making them somewhat invisible
6451 to command-building, and not appearing in `this-command-keys'.
6452 More work is still needed (see comments in event-stream.c), but
6453 this fixes all the major problems.
6455 2001-04-20 Ben Wing <ben@xemacs.org>
6457 * .cvsignore: Added stuff for Windows.
6459 2001-04-28 Ben Wing <ben@xemacs.org>
6461 * buffer.c (Ferase_buffer):
6462 * editfns.c (buffer_insert1):
6463 * editfns.c (Finsert_before_markers):
6464 * editfns.c (Finsert_string):
6465 * editfns.c (Finsert_char):
6466 * editfns.c (Fdelete_region):
6467 * editfns.c (Fwiden):
6468 * editfns.c (Fnarrow_to_region):
6469 remove bogus lines setting zmacs_region_stays to 0.
6471 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6473 * process-unix.c (unix_open_network_stream): If connect() fails
6474 invalidate file descriptor after closing it.
6476 2001-03-08 Mike Alexander <mta@arbortext.com>
6478 * event-msw.c (mswindows_need_event_in_modal_loop):
6479 Don't dispatch a message if we didn't get one.
6480 (mswindows_need_event):
6481 Terminate the correct process when one exits instead of the first
6482 one on Vprocess_list and look for process termination when in
6483 mswindows_protect_modal_loop.
6485 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6487 * XEmacs 21.4.1 "Copyleft" is released.
6489 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6491 * input-method-motif.c (XIM_delete_frame): New callback.
6492 (XIM_init_frame): Register it.
6494 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6496 * XEmacs 21.4.0 "Solid Vapor" is released.
6498 2001-04-15 Ben Wing <ben@xemacs.org>
6500 * cmdloop.c (call_command_loop):
6501 Fix braino in bit-rotting code.
6503 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6505 * extents.c (Fset_extent_endpoints): Force creation of extent info
6506 in buffer_or_string.
6508 * extents.c (process_extents_for_insertion_mapper): Correctly
6509 check for open-open zero-length extents.
6511 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6513 * lisp.h: New typedefs Memory_count, Element_count.
6516 Sign-compare warning elimination: several unsigned -> signed.
6517 Based on work by Ben Wing <ben@xemacs.org>.
6519 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6521 * XEmacs 21.2.47 "Zephir" is released.
6523 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6525 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6527 2001-04-03 Mike Sperber <mike@xemacs.org>
6529 * search.c: Revert previous patch due because of release.
6531 2001-03-30 Ben Wing <ben@xemacs.org>
6534 Add missing killpg prototype.
6537 Add a comment about fixing problems when a new entry is added
6540 * frame-msw.c (mswindows_init_frame_1):
6541 Fix compile warnings.
6543 * menubar.c (vars_of_menubar):
6544 Provide `menu-accelerator-support' to indicate that we properly
6545 support %_ in menu specifications, so that package code can
6546 conditionalize on this (and remove %_ from menu specifications
6551 * scrollbar-msw.c (can_scroll):
6553 Fix handling of mouse wheel under Windows to follow standards --
6554 now scrolls window under pointer, not selected window.
6556 2001-03-31 Mike Sperber <mike@xemacs.org>
6558 * search.c (Freplace_match): Support FSF-style specification of
6559 match subexpression when applied to a buffer.
6561 2001-03-15 Martin Buchholz <martin@xemacs.org>
6563 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6564 function to modify KEYMAP, so map over a copy of the hash table.
6566 2001-03-21 Martin Buchholz <martin@xemacs.org>
6568 * XEmacs 21.2.46 "Urania" is released.
6570 2001-03-20 Dan Holmsand <dan@eyebee.com>
6572 * realpath.c (xrealpath): Make file-truename work with symlinks to
6573 /cygdrive paths on cygwin. Always lowercase drive-letters on
6575 (cygwin_readlink): Don't try to find canonical filename unless
6578 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6580 * ChangeLog: Log GTK merge.
6586 Revert gratuitous whitespace changes from GTK merge.
6588 * emacs.c: Document end of complex #ifdef @ l. 1495.
6591 2001-03-12 Andy Piper <andy@xemacs.org>
6593 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6594 have to do likewise.
6596 2001-03-12 Andy Piper <andy@xemacs.org>
6598 * sysdep.c: we only support mingw now.
6600 2001-03-09 Andy Piper <andy@xemacs.org>
6602 * unexcw.c (copy_executable_and_dump_data_section): making approx
6603 overrun a warning only.
6605 2001-03-10 William M. Perry <wmperry@aventail.com>
6607 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6608 satisfy Stephen's identical-after-cpp plea.
6610 2001-03-02 Ben Wing <ben@xemacs.org>
6613 * cmds.c (Fforward_char):
6617 Augment documentation of the most common motion commands to make
6618 note of the shifted-motion support.
6620 2001-03-02 Ben Wing <ben@xemacs.org>
6622 * nt.c (mswindows_fstat):
6623 * nt.c (mswindows_stat):
6624 * search.c (boyer_moore):
6625 Fix compile warnings under Windows.
6627 * sysdep.c (sys_readdir):
6628 Fix buggy filename-conversion code under Mule.
6630 2001-03-09 William M. Perry <wmperry@aventail.com>
6652 * redisplay-output.c:
6658 The Great GTK Merge.
6665 * emacs-widget-accessors.c:
6679 * native-gtk-toolbar.c:
6690 The Great GTK Merge: new files.
6692 2001-02-26 Ben Wing <ben@xemacs.org>
6694 Reapplied Lstream change.
6696 2001-02-26 Ben Wing <ben@xemacs.org>
6698 Undid the last change, since it is more controversial than I
6699 thought. It should be back in at some point soon.
6701 2001-02-25 Ben Wing <ben@xemacs.org>
6704 * callproc.c (Fold_call_process_internal):
6705 * event-msw.c (ntpipe_slurp_reader):
6706 * event-msw.c (ntpipe_shove_writer):
6707 * event-msw.c (winsock_reader):
6708 * event-msw.c (winsock_writer):
6710 * file-coding.c (detect_eol_type):
6711 * file-coding.c (detect_coding_type):
6712 * file-coding.c (determine_real_coding_system):
6713 * file-coding.c (Fdetect_coding_region):
6714 * file-coding.c (decoding_reader):
6715 * file-coding.c (decoding_writer):
6716 * file-coding.c (mule_decode):
6717 * file-coding.c (Fdecode_coding_region):
6718 * file-coding.c (encoding_reader):
6719 * file-coding.c (encoding_writer):
6720 * file-coding.c (mule_encode):
6721 * file-coding.c (Fencode_coding_region):
6722 * file-coding.c (detect_coding_sjis):
6723 * file-coding.c (decode_coding_sjis):
6724 * file-coding.c (encode_coding_sjis):
6725 * file-coding.c (detect_coding_big5):
6726 * file-coding.c (decode_coding_big5):
6727 * file-coding.c (encode_coding_big5):
6728 * file-coding.c (detect_coding_ucs4):
6729 * file-coding.c (decode_coding_ucs4):
6730 * file-coding.c (encode_coding_ucs4):
6731 * file-coding.c (detect_coding_utf8):
6732 * file-coding.c (decode_coding_utf8):
6733 * file-coding.c (encode_coding_utf8):
6734 * file-coding.c (detect_coding_iso2022):
6735 * file-coding.c (decode_coding_iso2022):
6736 * file-coding.c (encode_coding_iso2022):
6737 * file-coding.c (decode_coding_no_conversion):
6738 * file-coding.c (encode_coding_no_conversion):
6739 * glyphs-x.c (write_lisp_string_to_temp_file):
6740 * gpmevent.c (tty_get_foreign_selection):
6743 * lstream.c (Lstream_flush_out):
6744 * lstream.c (Lstream_adding):
6745 * lstream.c (Lstream_write_1):
6746 * lstream.c (Lstream_write):
6747 * lstream.c (Lstream_raw_read):
6748 * lstream.c (Lstream_read_more):
6749 * lstream.c (Lstream_read):
6750 * lstream.c (Lstream_unread):
6751 * lstream.c (Lstream_fputc):
6752 * lstream.c (stdio_reader):
6753 * lstream.c (stdio_writer):
6754 * lstream.c (filedesc_reader):
6755 * lstream.c (filedesc_writer):
6756 * lstream.c (lisp_string_reader):
6757 * lstream.c (struct fixed_buffer_stream):
6758 * lstream.c (make_fixed_buffer_input_stream):
6759 * lstream.c (make_fixed_buffer_output_stream):
6760 * lstream.c (fixed_buffer_reader):
6761 * lstream.c (fixed_buffer_writer):
6762 * lstream.c (struct resizing_buffer_stream):
6763 * lstream.c (resizing_buffer_writer):
6764 * lstream.c (dynarr_writer):
6765 * lstream.c (lisp_buffer_reader):
6766 * lstream.c (lisp_buffer_writer):
6768 * lstream.h (lstream_implementation):
6769 * lstream.h (struct lstream):
6771 * process-nt.c (nt_send_process):
6772 * process-unix.c (unix_send_process):
6774 Correct Lstream lossage due to mixing of signed and unsigned
6775 quantities. All Lstream uses of size_t and ssize_t are now a
6776 single signed data type Lstream_data_count. This fixes problems
6777 under Windows with sending large quantities of data to a process,
6778 and may well fix other subtle bugs.
6780 2001-02-23 Martin Buchholz <martin@xemacs.org>
6782 * XEmacs 21.2.45 "Thelxepeia" is released.
6784 2001-02-21 Martin Buchholz <martin@xemacs.org>
6786 * lisp-union.h (XSETINT):
6789 Reverse previous change of 2001-02-06.
6791 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6793 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6795 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6796 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6797 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6798 * regex.c (POS_AS_IN_BUFFER): removed
6799 * regex.c (re_search_2):
6800 * regex.c (re_match_2):
6801 Don't use an offset of 1 when calculating buffer positions, since
6802 `BI_BUF_BEGV' does it already.
6804 2001-02-18 Wim Dumon <wim@easics.be>
6806 * insdel.c (prepare_to_modify_buffer): Also check for
6807 supersession when clash-detection is enabled.
6809 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6811 * regex.c (re_match_2_internal):
6812 Convert temp characters from 'const unsigned char' to 're_char'.
6813 Fix crashing bug with extended characters under mule.
6814 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6815 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6816 font-lock, pdump, and new syntax-table code.
6817 * syntax.c (find_start_of_comment):
6818 (find_end_of_comment):
6820 Fix crashing bugs involving moving beyond end of buffer.
6821 * syntax.c (find_start_of_comment):
6822 Fixed logic to allow proper detection of cases where the same
6823 character is used to end both a two-char comment start and a
6824 two-char comment end sequence. Fixes `(forward-comment -1)'.
6825 * syntax.c (find_start_of_comment):
6826 Return position just past last comment-end character for all cases
6827 (previously was only done for two-char comment-end sequences).
6828 * syntax.c (forward-comment):
6829 Take value returned from `find_end_of_comment', rather than
6831 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6832 Properly deal with BUFFERP (syntax_cache.object)
6834 2001-02-17 Martin Buchholz <martin@xemacs.org>
6836 * alloc.c (Fgarbage_collect):
6837 * alloc.c (make_bit_vector_from_byte_vector):
6838 -Wsign-compare-correctness.
6840 2001-02-16 Martin Buchholz <martin@xemacs.org>
6842 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6843 (XSETCHAR): Likewise.
6844 (XSETOBJ): Likewise.
6846 2001-02-15 Martin Buchholz <martin@xemacs.org>
6848 * mule-canna.c (canna-func-delete_previous):
6849 Rename to canna-func-delete-previous.
6851 2001-02-14 Martin Buchholz <martin@xemacs.org>
6853 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6855 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6857 * font-lock.c (find_context): Fix C++ compile errors introduced by
6860 2001-02-13 Martin Buchholz <martin@xemacs.org>
6862 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6863 pragma, but earlier ones barf on the same pragma.
6865 2001-02-06 Mike Sperber <mike@xemacs.org>
6867 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6868 `configure-mule-lisp-directory'.
6870 2001-02-12 Martin Buchholz <martin@xemacs.org>
6872 Make sure dump-id.c is compiled in the same way as other .c's.
6873 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6874 * dump-id.h: Remove.
6875 * emacs.c: Move dump-id.h into dumper.h.
6876 * dumper.h: Move dump-id.h into dumper.h.
6878 Use standard .c.o rule for building dump-id.o.
6879 Remove preprocessor flags from link command.
6880 Add dump-id.o to ${otherobjs} if PDUMP.
6882 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6884 Port FSF 20.7 syntax table improvements.
6888 Fixups for new syntax table stuff.
6889 * dired.c: Include syntax.c.
6890 (Fdirectory_files): Initialize regex_match_object and
6892 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6893 and Fget_char_property.
6895 Use ported FSF 20.7 syntax table improvements.
6900 2001-02-09 Martin Buchholz <martin@xemacs.org>
6902 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6903 Unixware's enum boolean from sys/types.h.
6905 2001-02-10 Martin Buchholz <martin@xemacs.org>
6907 Fix support for building with latest Purify.
6908 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6909 (PURIFY_FLAGS): Likewise.
6911 2001-02-09 Martin Buchholz <martin@xemacs.org>
6913 * fileio.c (lisp_string_set_file_times): New.
6914 * fileio.c (Fcopy_file): Use it.
6916 (copy-file filename non-ascii-filename t t)
6917 ==> No such file or directory, non-ascii-filename
6919 2001-02-10 Martin Buchholz <martin@xemacs.org>
6921 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
6922 USHRT_MAX seems clearer than ~0 anyways.
6924 2001-02-09 Martin Buchholz <martin@xemacs.org>
6926 dumper improvements. Inspired by Olivier.
6927 * dumper.c (pdump_max_align): New.
6928 * dumper.c (pdump_add_entry): Use pdump_max_align.
6929 * dumper.c (pdump_get_entry_list): Likewise.
6930 * dumper.c (pdump_scan_by_alignment): Likewise.
6931 Don't iterate through unnecessary alignments.
6932 * dumper.c (pdump_file_get): No need to align result of malloc().
6933 * dumper.c (pdump_mallocadr): Remove.
6934 The result of malloc() is guaranteed to be maximally aligned.
6935 * dumper.c: s/elmt/elt/g;
6936 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
6937 * dumper.c (pdump_alert_undump_object): Likewise.
6938 * dumper.c (pdump_align_table):
6939 Don't support alignments > 64.
6940 Store ALIGNOF's, not shift counts, in table.
6942 2001-02-09 Martin Buchholz <martin@xemacs.org>
6944 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
6945 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
6946 * systime.h: Use HAVE_UTIME.
6947 * sysdep.c (struct utimbuf): Remove.
6948 * sysdep.c (set_file_times): Prefer utime() to utimes().
6949 * config.h.in (HAVE_UTIME): New.
6950 * config.h.in (HAVE_UTIME_H): Remove.
6951 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
6953 2001-02-09 Martin Buchholz <martin@xemacs.org>
6955 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
6957 2001-02-08 Martin Buchholz <martin@xemacs.org>
6959 * s/irix6-0.h: Use the standard system memmove, not bcopy.
6961 2001-02-08 Martin Buchholz <martin@xemacs.org>
6963 * XEmacs 21.2.44 "Thalia" is released.
6965 2001-02-06 Martin Buchholz <martin@xemacs.org>
6967 Fixes crashes in kill-emacs on some systems.
6968 * process-unix.c (unix_kill_child_process):
6969 It's OK for kill() to fail with ESRCH.
6971 2001-02-07 Martin Buchholz <martin@xemacs.org>
6973 Contortions to make .gdbinit tricks work on most systems.
6974 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
6975 * alloc.c (dbg_valmask): Make non-const.
6976 * alloc.c (dbg_typemask): Make non-const.
6977 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
6978 * alloc.c (dbg_valbits): Make non-const.
6979 * alloc.c (dbg_gctypebits): Make non-const.
6980 * .gdbinit (decode_object): Make it work with AIX cc.
6982 2001-02-06 Martin Buchholz <martin@xemacs.org>
6984 * elhash.c (make_general_lisp_hash_table):
6985 Use simpler and more efficient calloc to clear entries.
6987 2001-02-07 Martin Buchholz <martin@xemacs.org>
6989 * window.c (window_scroll): Work around an AIX C compiler bug.
6990 Fixes 'scroll-up' does nothing problem with xlC.
6992 2001-02-05 Martin Buchholz <martin@xemacs.org>
6994 * .gdbinit: Remove obsolete comment.
6996 2001-01-31 Mike Alexander <mta@arbortext.com>
6998 * select.c (Fown_selection_internal): Set owned_p for device
7001 2001-02-01 Martin Buchholz <martin@xemacs.org>
7004 "not" cannot be used as a macro name as it is an operator in C++
7005 * config.h.in: Stop #defining `not'.
7006 * chartab.c (check_category_char): not ==> not_p
7007 * chartab.h: Likewise.
7008 * regex.c (re_match_2_internal): Likewise.
7010 2001-02-02 Martin Buchholz <martin@xemacs.org>
7012 * lisp-disunion.h: Fix up comments.
7014 2001-01-31 Martin Buchholz <martin@xemacs.org>
7016 * keymap.c (define_key_check_and_coerce_keysym):
7018 Support mouse-6 and mouse-7 bindings in the obvious way.
7020 2001-02-01 Martin Buchholz <martin@xemacs.org>
7022 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7024 2001-01-30 Martin Buchholz <martin@xemacs.org>
7026 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7027 Previous patch missed DEFVAR_INT_MAGIC.
7028 Make sure future DEFVAR_foo use correct types.
7029 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7030 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7031 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7032 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7033 * (DEFVAR_INT): Likewise.
7034 * redisplay.c (vertical_clip): Should be of type Fixnum.
7035 * redisplay.c (horizontal_clip): Likewise.
7036 * lisp.h (dump_add_opaque_int): New.
7037 (dump_add_opaque_fixnum): New.
7039 2001-01-29 Andy Piper <andy@xemacs.org>
7041 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7042 since they can be eval'ed
7044 2001-01-29 Martin Buchholz <martin@xemacs.org>
7046 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7047 Oops, XEmacs redefines `class'. Use `typename' instead.
7049 2001-01-28 Martin Buchholz <martin@xemacs.org>
7051 * dumper.c: Fix C++ compile errors.
7053 2001-01-29 Martin Buchholz <martin@xemacs.org>
7055 * tparam.c: Use correct prototypes.
7057 2001-01-28 Martin Buchholz <martin@xemacs.org>
7059 * sysproc.h: #include util.h for NetBSD's openpty.
7061 2001-01-27 Martin Buchholz <martin@xemacs.org>
7063 More 64-bit correctness.
7064 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7065 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7067 This finally finishes the 64-bit SGI port.
7068 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7069 * symbols.c: Fix up comments and type casts.
7070 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7071 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7072 * symeval.h (Fixnum): New type.
7073 * symeval.h (symbol_value_type): Fix up comment.
7089 * mule-canna.c: A million DEFVAR_INTs here...
7090 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7103 s/int/Fixnum/g in DEFVAR_INT declarations.
7105 2001-01-26 Martin Buchholz <martin@xemacs.org>
7107 Port pdump to SGI alignment-sensitive environment.
7108 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7109 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7111 Define and use aligned reading and writing macros.
7112 Use buffered stdio instead of posix i/o for faster dumping.
7113 Eliminate kludgy 256 byte space for header.
7114 Read and write from dump file using structs for alignment safety.
7115 * dumper.c (pdump_align_stream): New.
7116 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7117 * dumper.c (PDUMP_READ_ALIGNED): New.
7118 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7119 * dumper.c (pdump_static_Lisp_Object): New struct.
7120 * dumper.c (pdump_static_pointer): New struct.
7121 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7122 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7123 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7124 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7126 * dumper.c (pdump_backtrace):
7127 * dumper.c (pdump_get_indirect_count):
7128 * dumper.c (pdump_register_object):
7129 * dumper.c (pdump_register_struct):
7130 * dumper.c (pdump_reloc_one):
7131 * dumper.c (pdump_scan_by_alignment):
7132 * dumper.c (pdump_dump_from_root_struct_ptrs):
7133 * dumper.c (pdump_dump_opaques):
7134 * dumper.c (pdump_dump_rtables):
7135 * dumper.c (pdump_dump_from_root_objects):
7137 * dumper.c (pdump_load_finish):
7138 Use aligned reading and writing.
7140 * dumper.c (pdump_free): Make static.
7141 * dumper.c (pdump_hFile): Likewise.
7142 * dumper.c (pdump_hMap): Likewise.
7144 2001-01-26 Martin Buchholz <martin@xemacs.org>
7146 * XEmacs 21.2.43 "Terspichore" is released.
7148 2001-01-25 Martin Buchholz <martin@xemacs.org>
7150 Type fiddling for window_config.saved_windows_count
7151 * window.c (struct window_config):
7152 Make saved_windows_count member unsigned.
7153 * window.c (sizeof_window_config_for_n_windows):
7154 Make parameter unsigned.
7155 * window.c (mark_window_config):
7156 * window.c (window_config_equal):
7157 * window.c (free_window_configuration):
7158 * window.c (Fset_window_configuration):
7159 * window.c (count_windows):
7160 * window.c (Fcurrent_window_configuration):
7161 * window.c (reinit_vars_of_window):
7162 Update all callers and users.
7164 2001-01-25 Martin Buchholz <martin@xemacs.org>
7166 Alignment correctness for flexible arrays.
7167 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7168 Make alignment-correct. Add interesting comments.
7169 * alloc.c (size_vector):
7170 * alloc.c (make_vector_internal):
7171 * alloc.c (make_bit_vector_internal):
7172 * alloc.c (sweep_bit_vectors_1):
7173 * fns.c (size_bit_vector):
7174 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7175 * window.c (sizeof_window_config_for_n_windows):
7176 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7178 2001-01-24 Martin Buchholz <martin@xemacs.org>
7180 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7182 2001-01-23 Andy Piper <andy@xemacs.org>
7184 * select.c (Fown_selection_internal): pass owned_p
7186 * select-msw.c (mswindows_own_selection): New Signature.
7188 * console.h (struct console_methods): add owned_p to
7191 * select-x.c (x_own_selection): pass owned_p
7192 (hack_motif_clipboard_selection): use owned_p
7193 (vars_of_select_x): new variable -
7194 x_selection_strict_motif_ownership.
7196 2001-01-23 Martin Buchholz <martin@xemacs.org>
7198 * specifier.h (specifier_data_offset): Remove pointless parens.
7199 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7201 2001-01-24 Martin Buchholz <martin@xemacs.org>
7203 Make Lisp_Object sizeof methods be alignment-correct.
7204 pdump must restore objects to the same alignment as the C compiler
7205 assumes. It really matters on SGIs.
7206 * lstream.c (aligned_sizeof_lstream): New.
7207 (sizeof_lstream): Use aligned_sizeof_lstream.
7208 (Lstream_new): Likewise.
7209 * opaque.c (aligned_sizeof_opaque): New.
7210 (sizeof_opaque): Use aligned_sizeof_opaque.
7211 (make_opaque): Likewise.
7212 * specifier.c (aligned_sizeof_specifier): New.
7213 (sizeof_specifier): Use aligned_sizeof_specifier.
7214 (make_specifier_internal): Likewise.
7216 2001-01-23 Martin Buchholz <martin@xemacs.org>
7218 * lstream.h (struct lstream): Use max_align_t for trailing data.
7219 * specifier.h (struct Lisp_Specifier): Likewise.
7221 2001-01-22 Martin Buchholz <martin@xemacs.org>
7223 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7224 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7225 (CCL_SUSPEND): Likewise.
7226 (CCL_INVALID_CMD): Likewise.
7227 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7228 (ccl_driver): Likewise.
7229 (CCL_WRITE_CHAR): Macro hygiene.
7230 (CCL_WRITE_STRING): Macro hygiene.
7232 2001-01-22 Martin Buchholz <martin@xemacs.org>
7234 Port "portable" dumper to SunOS 4 and HP-UX.
7235 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7236 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7237 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7239 2001-01-22 Martin Buchholz <martin@xemacs.org>
7241 * lisp.h (ALIGNOF): A better definition for C++.
7243 2001-01-20 Martin Buchholz <martin@xemacs.org>
7246 Fix printf warnings: int format, long int arg.
7247 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7248 (PUSH_FAILURE_POINT): Use correct printf formats.
7249 (POP_FAILURE_POINT): Use correct printf formats.
7250 Use do {...} while (0)
7252 2001-01-20 Martin Buchholz <martin@xemacs.org>
7254 * XEmacs 21.2.42 "Poseidon" is released.
7256 2001-01-20 Martin Buchholz <martin@xemacs.org>
7258 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7260 2001-01-19 Martin Buchholz <martin@xemacs.org>
7262 De-kludgify FIXED_TYPE free list frobbing.
7263 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7264 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7265 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7266 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7267 * alloc.c (LRECORD_FREE_P): New.
7268 * alloc.c (MARK_LRECORD_AS_FREE): New.
7269 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7270 * alloc.c (STRUCT_FREE_P): Deleted.
7271 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7272 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7273 * alloc.c (STRING_CHARS_FREE_P): New.
7274 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7275 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7276 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7277 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7278 * alloc.c (resize_string): Use new definitions.
7279 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7280 * alloc.c (verify_string_chars_integrity): Use new definitions.
7281 * alloc.c (compact_string_chars): Use new definitions.
7282 * alloc.c: Update monster comments.
7283 * lrecord.h (lrecord_type): Add some new lrecord types for
7286 2001-01-18 Martin Buchholz <martin@xemacs.org>
7288 Improve alignment hackery.
7289 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7290 (max_align_t): Moved from opaque.h - general purpose.
7291 (ALIGN_PTR): Use size_t, not long.
7292 * opaque.h (max_align_t): Move to lisp.h.
7294 2001-01-18 Norbert Koch <nk@LF.net>
7296 * gui.h: Fix and add prototypes to fix build problems.
7298 2001-01-18 Martin Buchholz <martin@xemacs.org>
7300 temacs is going away, so `dump-temacs' is now a bad name.
7301 * .dbxrc (dump-temacs): Rename to `dmp'.
7302 * .gdbinit (dump-temacs): Rename to `dmp'.
7304 2001-01-17 Andy Piper <andy@xemacs.org>
7306 * glyphs.c (print_image_instance): comment to make martin happy.
7308 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7311 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7313 (mswindows_tab_control_redisplay): warning suppression.
7315 * glyphs-widget.c (widget_update): re-write to cope with updated
7317 (widget_instantiate): use new gui_item functions.
7318 (tab_control_update): deleted.
7319 (progress_gauge_update): deleted.
7320 (image_instantiator_progress_guage): take out update reference.
7321 (image_instantiator_tree_view): ditto.
7322 (image_instantiator_tab_control): ditto.
7324 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7326 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7327 return whether anything was changed.
7328 (update_gui_item_keywords): as it sounds.
7330 * gui.h: declare widget_gui_parse_item_keywords.
7332 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7333 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7335 2001-01-17 Martin Buchholz <martin@xemacs.org>
7337 * XEmacs 21.2.41 "Polyhymnia" is released.
7339 2001-01-16 Didier Verna <didier@xemacs.org>
7341 * glyphs.c (image_instantiate): don't use fallbacks when
7342 instantiating a face's background pixmap by inheritance.
7344 2001-01-14 Mike Sperber <mike@xemacs.org>
7346 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7347 Conditionalize accordingly.
7349 2001-01-16 Martin Buchholz <martin@xemacs.org>
7351 * dumper.c (pdump_file_get): Fix a compiler warning.
7353 2001-01-15 Martin Buchholz <martin@xemacs.org>
7355 Make Purify happy when pdumping.
7356 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7357 iniitalizing all bits of new lisp object memory.
7358 * symbols.c (Fmake_local_variable): Likewise.
7359 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7360 * symbols.c (Fdefvaralias): Likewise.
7361 * mule-charset.c (vars_of_mule_charset): Likewise.
7363 2001-01-15 Martin Buchholz <martin@xemacs.org>
7364 Add the `-nd' flag when running pre-dump operations under the debugger.
7365 * .dbxrc (run-temacs): Add `-nd'.
7366 * .dbxrc (update-elc): Likewise.
7367 * .dbxrc (dump-temacs): Likewise.
7368 * .gdbinit (run-temacs): Likewise.
7369 * .gdbinit (check-temacs): Likewise.
7370 * .gdbinit (update-elc): Likewise.
7371 * .gdbinit (dump-temacs): Likewise.
7373 2001-01-14 Martin Buchholz <martin@xemacs.org>
7375 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7376 export OBJECT_MODE=64
7377 configure --pdump --use-union-type=no
7378 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7379 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7381 * miscplay.c (sndcnv8U_2mono):
7382 Avoid two uses of `++' in the same expression.
7383 Suppresses a GCC warning.
7385 2001-01-13 Martin Buchholz <martin@xemacs.org>
7387 Make sure future compilers don't miscompile alloc.c.
7389 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7390 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7392 2001-01-12 Martin Buchholz <martin@xemacs.org>
7394 * dumper.c: A little post-pdump-rename comment fixup.
7396 2001-01-09 Jerry James <james@eecs.ku.edu>
7398 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7400 2001-01-13 Martin Buchholz <martin@xemacs.org>
7402 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7406 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7409 replace_symbol pdump_wire_lists pdump_weak_object_chains
7410 replace_symbol pdump_wire_list dump_add_weak_object_chain
7412 replace_symbol pdump_wires pdump_root_objects
7413 replace_symbol pdump_wire dump_add_root_object
7415 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7416 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7418 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7419 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7420 replace_symbol dumpstructinfo pdump_root_struct_ptr
7421 replace_symbol dumpstruct dump_add_root_struct_ptr
7423 replace_symbol dumpopaque dump_add_opaque
7424 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7425 replace_symbol dumpopaqueinfos pdump_opaques
7426 replace_symbol dumpopaqueinfo pdump_opaque
7428 replace_symbol nb_structdump nb_root_struct_ptrs
7429 replace_symbol nb_opaquedump nb_opaques
7431 replace_symbol align_table pdump_align_table
7432 replace_symbol dump_header pdump_header
7434 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7435 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7438 2001-01-12 Martin Buchholz <martin@xemacs.org>
7440 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7441 optimizing bytecount_to_charcount().
7443 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7446 (HAVE_DLFCN_H): Removed.
7447 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7449 2001-01-06 Martin Buchholz <martin@xemacs.org>
7451 Portable dumper maintainability improvements.
7452 * alloc.c (staticpro):
7453 * alloc.c (staticpro_nodump):
7454 * alloc.c (garbage_collect_1):
7455 * alloc.c (reinit_alloc_once_early):
7456 * alloc.c (init_alloc_once_early):
7457 * alloc.c: Move dumper functions to alloc.c.
7458 * dumper.c (pdump_backtrace):
7459 * dumper.c (pdump_dump_structs):
7460 * dumper.c (pdump_dump_opaques):
7461 * dumper.c (pdump_dump_rtables):
7462 * dumper.c (pdump_dump_wired):
7464 * dumper.c (pdump_load_check):
7465 * dumper.c (pdump_load_finish):
7466 * dumper.c (pdump_file_unmap):
7467 * dumper.c (pdump_file_get):
7468 * dumper.c (pdump_resource_free):
7469 * dumper.c (pdump_resource_get):
7470 * dumper.c (pdump_file_free):
7471 * dumper.c (pdump_file_try):
7472 * dumper.c (pdump_load):
7473 Remove fixed size limits on staticpro(), staticpro_nodump(),
7474 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7475 Remove custom code for dumping lrecord_implementations_table - use
7477 Remove (most of the) custom code for dumping staticpros - dump it
7478 like any other dynarr.
7480 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7481 * dumper.c: Moved functions from alloc.c.
7482 * alloc.c (dumpstruct): Moved to dumper.c.
7483 * alloc.c (dumpopaque): Likewise.
7484 * alloc.c (pdump_wire): Likewise.
7485 * alloc.c (pdump_wire_list): Likewise.
7487 * lisp.h (Dynarr_sizeof): New.
7488 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7489 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7490 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7492 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7493 * lisp.h (dumpopaque): ditto.
7494 * lisp.h (pdump_wire): ditto.
7495 * lisp.h (pdump_wire_list): ditto.
7497 2001-01-09 Martin Buchholz <martin@xemacs.org>
7499 * make-src-depend (PrintPatternDeps):
7500 Use `sort' to make output independent of perl version.
7502 2001-01-08 Martin Buchholz <martin@xemacs.org>
7505 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7506 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7508 2001-01-03 Didier Verna <didier@xemacs.org>
7510 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7511 that `focus_frame' is alive before thinking of calling
7512 `redisplay_redraw_cursor' on it.
7514 2001-01-08 Martin Buchholz <martin@xemacs.org>
7516 * XEmacs 21.2.40 is released.
7518 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7520 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7522 2001-01-06 Martin Buchholz <martin@xemacs.org>
7524 * alloc.c (dbg_valmask): Make const.
7525 * alloc.c (dbg_typemask): Make const.
7526 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7527 * alloc.c (dbg_valbits): Make const.
7528 * alloc.c (dbg_gctypebits): Make const.
7530 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7532 * redisplay-x.c (x_bevel_area):
7533 redisplay.h (struct rune):
7534 Typo fixes in comments.
7536 2001-01-05 Andy Piper <andy@xemacs.org>
7538 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7541 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7543 2001-01-05 Martin Buchholz <martin@xemacs.org>
7545 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7547 * mule-ccl.c (stack_idx_of_map_multiple):
7548 Non const global data must not be initialized!
7549 Found by MIYASHITA Hisashi.
7551 2001-01-02 Andy Piper <andy@xemacs.org>
7553 * frame.c (change_frame_size): make sure frame size is always
7556 * glyphs.c (image_instance_layout): minor code reuse.
7558 * window.c (Fcurrent_window_configuration): revert previous
7561 2001-01-02 Martin Buchholz <martin@xemacs.org>
7564 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7566 2000-12-31 Andy Piper <andy@xemacs.org>
7568 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7569 when widget gets unmapped.
7571 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7572 function. Make sure widgets losing focus don't just drop it.
7573 (handle_focus_event_1): record the widget with focus.
7575 2000-12-31 Andy Piper <andy@xemacs.org>
7577 * window.c (allocate_window): use
7578 make_image_instance_cache_hash_table.
7579 (make_dummy_parent): ditto.
7580 (Fset_window_configuration): ditto.
7582 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7584 * glyphs.c (process_image_string_instantiator): use
7586 (get_image_instantiator_governing_domain): ditto.
7587 (normalize_image_instantiator): ditto.
7588 (instantiate_image_instantiator): ditto.
7589 (make_image_instance_1): ditto.
7590 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7591 (instantiator_eq_equal): new function for use with instance hash
7593 (instantiator_eq_hash): ditto.
7594 (make_image_instance_cache_hash_table): create a suitable hash
7595 table for storing image instances.
7597 * elhash.h (hash_table_weakness): new internal weakness type
7598 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7599 declare new functions.
7601 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7602 another weakness type for glyphs.
7603 (make_standard_lisp_hash_table): new function split out from
7604 make_general_lisp_hash_table.
7605 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7606 (hash_table_instantiate): ditto.
7607 (Fmake_hash_table): ditto.
7609 2000-12-31 Martin Buchholz <martin@xemacs.org>
7611 * XEmacs 21.2.39 is released.
7613 2000-12-29 Andy Piper <andy@xemacs.org>
7615 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7617 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7618 the frame has changed so that we pick up geometry changes such as
7621 2000-12-28 Andy Piper <andy@xemacs.org>
7623 * lastfile.c (my_ebss): make a char array so we can pad the
7624 bss. Fixes cygwin unexec.
7626 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7628 2000-12-26 Andy Piper <andy@xemacs.org>
7630 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7631 comments and try and be more precise about a non-/SIGIO world.
7632 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7635 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7636 we don't normalize to zero width or height.
7638 2000-12-24 Andy Piper <andy@xemacs.org>
7640 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7642 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7644 * s/sco5.h: SCO 5 has pty support.
7646 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7648 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7649 input-method-xlib.c contains whole contents of input-method-xfs.c,
7650 so we can use input-method-xlib.c's code for USE_XFONTSET
7652 * input-method-xfs.c: removed.
7654 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7656 * file-coding.h (enum coding_category_type): reorder enumerators to
7657 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7658 (now one greater than largest real coding_category_type enumerator).
7659 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7660 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7661 Fcoding_category_list, Fset_coding_priority_list,
7662 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7663 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7665 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7667 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7668 * redisplay-output.c (redisplay_output_window): Clear top of window
7669 when face is changed.
7670 * redisplay-x.c (x_redraw_exposed_window): Call
7671 redisplay_clear_top_of_window.
7672 * redisplay.h: Publish redisplay_clear_top_of_window.
7674 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7676 * buffer.c (Fkill_buffer): Map over all devices.
7677 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7678 (list_windows): New function.
7679 (list_all_windows): Ditto.
7680 (Freplace_buffer_in_windows): Use them.
7682 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7684 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7685 (Fopen_database): Use `db_create' instead of `db_open'.
7686 (syms_of_database): Initialize Qqueue.
7688 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7690 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7691 buffer_local_face_property.
7692 * buffer.h (struct buffer): New member buffer_local_face_property.
7693 * window.c (Fset_window_buffer): Mark window's face as changed
7694 when buffer has buffer local face.
7695 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7696 * objects.c (color_after_change): Set buffer_local_face_property
7697 when locale of face specifier is buffer.
7698 * objects.c (font_after_change): Ditto.
7699 * objects.c (face_boolean_after_change): Ditto.
7700 * glyphs.c (image_after_change): Ditto.
7702 2000-12-09 Dan Holmsand <dan@eyebee.com>
7704 * nt.c (mswindows_fstat): Report file permissions, volume serial
7705 number, etc. Code adapted from FSF Emacs 20.7.
7707 2000-12-09 Dan Holmsand <dan@eyebee.com>
7709 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7710 of stat when we don't have symbolic links, to make sure
7711 mswindows_stat is called on mswindows.
7713 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7715 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7717 2000-12-12 Martin Buchholz <martin@xemacs.org>
7719 * doprnt.c (emacs_doprnt_1): More printing fixes.
7720 Make printing of numbers compatible with libc and FSF Emacs.
7721 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7722 Use the system printf to do most of the hard work of formatting,
7723 instead of doprnt_1().
7724 Calculate memory to allocate for format string.
7725 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7726 (doprnt_1): Cleaner code and documentation.
7728 2000-12-01 Jerry James <james@eecs.ukans.edu>
7730 * Makefile.in.in: Use the loop variable to install headers.
7732 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7734 * window.c (Fsplit_window): Don't invalidate face cache.
7736 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7738 * minibuf.c (Fall_completions): Undo the previous change
7739 which removed checking elements start with space.
7741 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7743 * mule-canna.c: Didier suppression.
7745 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7747 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7748 (warning suppression). Add English comment translations.
7750 2000-12-05 Martin Buchholz <martin@xemacs.org>
7752 * unexelfsgi.c (unexec): Better test for mmap failure.
7754 2000-12-05 Martin Buchholz <martin@xemacs.org>
7756 * XEmacs 21.2.38 is released.
7758 2000-12-05 Martin Buchholz <martin@xemacs.org>
7760 * redisplay.c (bar-cursor): Make a user variable.
7762 * symsinit.h: Add init_postgresql_from_environment.
7764 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7766 * regex.c: Convert to clean C.
7768 2000-12-05 Dan Holmsand <dan@eyebee.com>
7771 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7773 (sys_readlink): renamed to system_readlink to avoid conflict with
7774 the other sys_readlink.
7776 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7778 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7780 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7782 * postgresql.c (init_postgresql_from_environment): new function.
7783 (vars_of_postgresql): Move code initializing Lisp variables out and
7784 into init_postgresql_from_environment.
7785 emacs.c (main_1): Call init_postgresql_from_environment if and only
7786 if running a dumped XEmacs.
7788 2000-08-31 Dan Holmsand <dan@eyebee.com>
7790 * buffer.c: Make find-file-compare-truenames default to true on
7793 * realpath.c (win32_abs_start):
7795 (win32_readlink): New functions.
7796 (xrealpath): Return really real filenames on windows.
7798 * fileio.c (Ffile_truename): Make file-truename work on windows.
7800 2000-11-29 Didier Verna <didier@xemacs.org>
7802 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7803 * faces.c (update_face_cachel_data): use it.
7804 * faces.c (add_face_cachel): use it. Complete background pixmap
7805 frobbing in face cache if `update_face_cachel_data' has not done so.
7807 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7809 * search.c (string_match_1): Don't set last_thing_searched
7812 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7814 * buffer.c: Include casetab.h
7815 (common_init_complex_vars_of_buffer): Use new case-table object.
7816 * buffer.h: Include casetab.h
7817 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7818 (DOWNCASE_TABLE_OF): Ditto.
7819 * bufslots.h: Remove char-tables and add case-table.
7820 * casetab.c: Include casetab.h
7821 (CASE_TABLE_P): Removed.
7822 (mark_case_table): New function.
7823 (allocate_case_table): New function.
7824 (Fcase_table_p): Use new case-table.
7825 (case_table_char): New function.
7826 (Fget_case_table): Ditto.
7827 (Fput_case_table): Ditto.
7828 (Fput_case_table_pair): Ditto.
7829 (Fcopy_case_table): Ditto.
7830 (Fcurrent_case_table): Return case-table.
7831 (Fstandard_case_table): Return case-table.
7832 (Fset_case_table): Fix doc-string.
7833 (set_case_table): Use case-table
7834 (syms_of_casetab): DEFSUBR new functions.
7835 (complex_vars_of_casetab): Set up standard case-table.
7836 * casetab.h: New file.
7837 * editfns.c: Include casetab.h
7838 (Fcompare_buffer_substrings): Use case-table.
7839 * inline.c: Include casetab.h
7840 * lisp.h: Remove bogus extern.
7841 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7842 * search.c: Include casetab.h
7843 (TRANSLATE_ASCII): Removed.
7844 (TRANSLATE): Unconditionally translate character.
7845 (looking_at_1): Use case-table.
7846 (string_match_1): Ditto.
7847 (fast_string_match): Ditto.
7848 (search_command): Ditto.
7849 (search_buffer): Separate boyer_moore. Check whether
7850 boyer_moore is possible.
7851 (simple_search): New function.
7852 (boyer_moore): Separated from search_buffer. Translate char.
7854 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7856 * regex.c (RE_TR_ASCII): Removed.
7857 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7858 (PATFETCH): Call PATFETCH_RAW.
7859 (PATFETCH_RAW): Fetch Emchar.
7860 (PATUNFETCH): Decrement charptr.
7861 (GET_BUFFER_SPACE): Rename b to buf_end.
7863 (BUF_PUSH_2): Ditto.
7864 (BUF_PUSH_3): Ditto.
7865 (EXTEND_BUFFER): Ditto.
7866 (SET_LIST_BIT): Ditto.
7867 (regex_compile): Ditto. Translate non ASCII char.
7868 (compile_range): Ditto.
7869 (re_search_2): Ditto.
7870 (re_match_2_internal): Compare Emchar.
7871 (bcmp_translate): Ditto.
7873 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7875 * lisp.h (basic char/int typedefs): comment improvement.
7877 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7879 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7880 unstomp inhibit_site_lisp. Improve comments.
7882 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7884 * mule-charset.c (Fcharset_property): improve type checking, comments.
7886 2000-11-28 Andy Piper <andy@xemacs.org>
7888 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7889 clipped display for windows in the gutter also.
7890 (redisplay_display_boxes_in_window_p): change semantics of return
7891 codes to be more intuitive.
7893 * gutter.h: declare display_boxes_in_gutter_p.
7895 * gutter.c (display_boxes_in_gutter_p): new function for
7898 2000-11-22 Andy Piper <andy@xemacs.org>
7900 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7903 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7905 * callproc.c (Fold_call_process_internal):
7906 * gpm.c (Freceive_gpm_event):
7907 (tty_get_foreign_selection): Might be just warning supression.
7908 * fileio.c (Fwrite_region_internal):
7909 (Fset_visited_file_modtime):
7910 * keymap.c (event_matches_key_specifier_p):
7911 Initialize GCPROed variable.
7913 * menubar-x.c (command_builder_find_menu_accelerator):
7914 Initialize before use.
7916 2000-11-23 Andy Piper <andy@xemacs.org>
7918 * unexcw.c (unexec): make the resulting executable executable.
7920 2000-11-21 Martin Buchholz <martin@xemacs.org>
7922 * doc.c (get_doc_string):
7923 Use size_t, not int, for result of XSTRING_LENGTH.
7925 * cmds.c (Fdelete_char):
7926 * cmds.c (Fpoint_at_eol):
7927 * cmds.c (Fself_insert_command):
7928 Use EMACS_INT, not int, for result of XINT.
7929 Someday, someone will want to insert more than 2**31 identical characters.
7931 * cmds.c (Fdelete_char):
7932 * cmds.c (Fdelete_backward_char):
7933 * syntax.c (Fforward_word):
7934 * syntax.c (Fforward_comment):
7935 Make COUNT argument optional, for consistency with forward-char et al.
7937 2000-11-22 Martin Buchholz <martin@xemacs.org>
7940 * print.c (long_to_string):
7941 Return a useful value: the pointer at end of data written.
7944 Use `static const char * const' for constant strings.
7945 (union printf_arg): Delete `i', `ui' members.
7948 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
7949 Do all printf-ing via the `l' specifier.
7950 Use EMACS_INT instead of int.
7953 2000-11-20 Didier Verna <didier@xemacs.org>
7955 * faces.c (update_face_cachel_data): don't frob the background
7956 pixmap when the window is being created. The face is needed but
7959 2000-11-20 Andy Piper <andy@xemacs.org>
7961 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
7962 messing with a debug environment.
7964 2000-11-20 Martin Buchholz <martin@xemacs.org>
7966 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
7968 2000-11-20 Martin Buchholz <martin@xemacs.org>
7970 * casetab.c (Fcase_table_p): Fix compile error and crash.
7972 2000-11-18 Philip Aston <philipa@mail.com>
7974 * s/cygwin32.h: Cygwin has SVR4-like pty support.
7976 2000-11-18 Martin Buchholz <martin@xemacs.org>
7978 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
7979 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
7981 2000-11-17 Martin Buchholz <martin@xemacs.org>
7983 * config.h.in: Define HAVE_ELF_H if elf.h exists.
7984 * unexelf.c: Use HAVE_ELF_H.
7985 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
7986 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
7987 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
7988 Greg Harrington <greg_harrington@hotmail.com> provided a machine
7990 So this is an unexelfsgi.c from a different line of development.
7992 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7994 * regex.c (RE_TR_ASCII): New function.
7995 (RE_TRANSLATE): Call it.
7997 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
7999 * buffer.h (TRT_TABLE_OF): Remove assert.
8000 (IN_TRT_TABLE_DOMAIN): Removed.
8002 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8004 * free-hook.c (log_gcpro):
8005 (show_gcprohist): Add support for GCPRO5.
8007 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8009 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8011 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8013 * symeval.h: Declare flush_all_buffer_local_cache.
8015 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8016 (flush_buffer_local_cache): Added.
8017 (flush_all_buffer_local_cache): Added.
8019 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8021 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8022 (pdump_dump_data): Ditto.
8023 (pdump_reloc_one): Ditto.
8024 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8028 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8030 * buffer.c: Remove if 0'ed entry.
8031 * buffer.h: Rewrite TRT to use char-table.
8032 * bufslots.h: Remove mirror tables.
8033 * casetab.c: Remove mirror tables.
8034 (CASE_TABLE_P): New macro.
8035 (Fcase_table_p): Element of a case table is string or char-table.
8036 (make_mirror_trt_table): Removed.
8037 (set_case_table): Setup char-table from strings for backward
8039 * dired.c (Fdirectory_files):
8040 * dired-msw.c: (mswindows_get_files):
8041 * lisp.h: Change prototype of re_pattern_buffer.
8042 * regex.c: (RE_TRANSLATE): New macro.
8043 (TRANSLATE_P): Ditto.
8044 Change translate to type RE_TRANSLATE_TYPE.
8045 * regex.h: Define RE_TRANSLATE_TYPE
8046 * search.c (TRANSLATE): New macro.
8047 (TRANSLATE_ASCII): New macro.
8048 Translate table is changed to Lisp_Object.
8049 (signal_failure): Inhibit return.
8051 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8058 Do UNGCPRO before return.
8060 2000-11-14 Martin Buchholz <martin@xemacs.org>
8062 * XEmacs 21.2.37 is released.
8064 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8066 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8067 Add comments about discarded return value.
8069 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8072 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8074 2000-10-27 Andy Piper <andy@xemacs.org>
8076 * gutter.c (Fset_default_gutter_position): default left and right
8078 (calculate_gutter_size): calculate resonable heuristic for left
8079 and right gutter sizes.
8080 (specifier_vars_of_gutter): change left and right gutter sizes to
8082 (calculate_gutter_size_from_display_lines): new function.
8083 (output_gutter): check for resizing on left and right gutters.
8084 (clear_gutter): don't special case top and left gutters.
8085 (specifier_vars_of_gutter): use new signature for
8086 set_specifier_caching.
8088 * glyphs-x.c (x_redisplay_widget): spelling fix.
8089 * glyphs.c (specifier_vars_of_glyphs):
8090 * menubar.c (specifier_vars_of_menubar):
8091 * redisplay.c (specifier_vars_of_redisplay):
8092 * toolbar.c (specifier_vars_of_toolbar):
8093 * window.c (specifier_vars_of_window):
8094 * scrollbar.c (specifier_vars_of_scrollbar):
8095 (complex_vars_of_scrollbar): use new signature for
8096 set_specifier_caching.
8098 * specifier.c (set_specifier_caching): include recompute flag.
8099 (recompute_one_cached_specifier_in_window): always recompute if
8101 (recompute_one_cached_specifier_in_frame): ditto.
8103 * specifier.h (struct specifier_caching): add recompute flag.
8105 2000-10-24 Andy Piper <andy@xemacs.org>
8107 * unexcw.c (copy_executable_and_dump_data_section): add new
8108 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8111 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8113 * console-x.h (x_device): New member modifier_release_time.
8114 * event-Xt.c (x_handle_sticky_modifiers):
8115 Bound interval modifier keys are sticky.
8116 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8117 * events.h: extern it.
8119 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8121 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8123 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8125 * event-stream.c (execute_command_event): Preserve current_events
8126 and the like when event is misc-user-event.
8127 Inhibit quit during the call to maybe_echo_keys.
8129 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8131 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8132 symlink when buffer is killed.
8133 (inhibit_clash_detection): New variable.
8135 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8137 * console.c (Fset_input_method): Trigger redisplay on tty.
8139 2000-11-07 Martin Buchholz <martin@xemacs.org>
8141 * process.c (Fprocess_status): Revert to previous behavior:
8142 (process-status "nosuchprocess") ==> nil
8144 2000-11-06 Martin Buchholz <martin@xemacs.org>
8146 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8147 Work around another GCC 2.95.2 optimizer bug.
8149 2000-11-02 Martin Buchholz <martin@xemacs.org>
8151 * process.c (Fget_process): Use LIST_LOOP_2.
8152 (kill_buffer_processes): Use LIST_LOOP_2.
8154 * minibuf.c (Fall_completions):
8155 Delete old non-functional code for FSF fourth argument.
8157 * frame.c (frame_matches_frame_spec):
8158 Renamed from `frame_matches_frametype'. Update all callers.
8159 (device_matches_device_spec):
8160 Renamed from 'device_matches_console_spec'. Update all callers.
8162 * doc.c (Fsubstitute_command_keys):
8163 Remove buffer overflow crash. Small code cleanups.
8165 * casetab.c (check_case_table): Simpler code.
8167 * window.c (Freplace_buffer_in_windows):
8168 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8169 (and similar implementation) as Fdelete_windows_on.
8172 * alloc.c (Fmake_list):
8173 * alloc.c (make_vector):
8174 * alloc.c (Fmake_vector):
8175 * alloc.c (make_bit_vector):
8176 * alloc.c (Fmake_bit_vector):
8177 * alloc.c (Fbit_vector):
8178 * alloc.c (Fmake_string):
8179 * alloc.c (Fpurecopy):
8180 * alloc.c (Fmemory_limit):
8182 * buffer.c (Fget_buffer):
8183 * buffer.c (Fkill_buffer):
8184 * buffer.c (complex_vars_of_buffer):
8185 * bytecode.c (Fcompiled_function_stack_depth):
8186 * callint.c (Fprefix_numeric_value):
8188 * event-stream.c (Fread_key_sequence):
8190 * casetab.c (Fcase_table_p):
8191 * casetab.c (check_case_table):
8192 * casetab.c (Fset_case_table):
8193 * casetab.c (Fset_standard_case_table):
8195 * chartab.c (Fchar_table_type):
8196 * chartab.c (Freset_char_table):
8197 * chartab.c (Fget_char_table):
8198 * chartab.c (Fget_range_char_table):
8199 * chartab.c (Fput_char_table):
8200 * chartab.c (Fmap_char_table):
8201 * chartab.c (Fcategory_table_p):
8202 * chartab.c (Fcheck_category_at):
8203 * chartab.c (Fchar_in_category_p):
8204 * chartab.c (Fcategory_table):
8205 * chartab.c (Fcopy_category_table):
8206 * chartab.c (Fset_category_table):
8207 * chartab.c (Fcategory_designator_p):
8208 * chartab.c (Fcategory_table_value_p):
8209 * cmds.c (Fdelete_char):
8210 * cmds.c (Fdelete_backward_char):
8211 * cmds.c (Fself_insert_command):
8212 * cmds.c (Fself_insert_internal):
8213 * console.c (Fvalid_console_type_p):
8214 * console.c (Fcdfw_console):
8215 * console.c (Fconsole_type):
8216 * console.c (Fconsole_name):
8217 * console.c (Fconsole_device_list):
8218 * console.c (Fconsole_on_window_system_p):
8222 * data.c (Fsubr_interactive):
8223 * data.c (Fchar_to_int):
8224 * data.c (Fint_to_char):
8227 * data.c (Fnumber_to_string):
8228 * data.c (Fstring_to_number):
8230 * database.c (mark_database):
8231 * database.c (finalize_database):
8232 * database.c (Fdatabase_live_p):
8233 * database.c (Fdatabasep):
8234 * device-x.c (Fx_get_resource):
8235 * device.c (Fdfw_device):
8237 * dired.c (Ffile_name_completion):
8238 * dired.c (Ffile_name_all_completions):
8239 * dired.c (Fuser_name_completion):
8240 * dired.c (Fuser_name_completion_1):
8241 * dired.c (Fuser_name_all_completions):
8242 * doc.c (Fdocumentation):
8243 * doc.c (Fdocumentation_property):
8244 * doc.c (Fsubstitute_command_keys):
8246 * editfns.c (Fchar_to_string):
8247 * editfns.c (Fstring_to_char):
8248 * editfns.c (Ftemp_directory):
8249 * editfns.c (Finsert_char):
8250 * editfns.c (Fbuffer_substring_no_properties):
8251 * editfns.c (Fnarrow_to_region):
8252 * editfns.c (Fchar_equal):
8253 * editfns.c (Fchar_Equal):
8254 * editfns.c (Ftranspose_regions):
8255 * emacs.c (Fdump_emacs):
8257 * eval.c (Fcommand_execute):
8258 * eval.c (Fautoload):
8259 * eval.c (Fbacktrace):
8260 * eval.c (Fbacktrace_frame):
8262 * events.c (Fcopy_event):
8263 * events.c (Fcharacter_to_event):
8264 * events.c (Fevent_button):
8265 * events.c (Fevent_process):
8267 * extents.c (Fnext_extent_change):
8268 * extents.c (Fextent_property):
8270 * faces.c (Fmake_face):
8272 * file-coding.c (Fencode_shift_jis_char):
8273 * file-coding.c (Fencode_big5_char):
8274 * fileio.c (Ffile_name_directory):
8275 * fileio.c (Ffile_name_nondirectory):
8276 * fileio.c (Ffile_name_as_directory):
8277 * fileio.c (Fdirectory_file_name):
8278 * fileio.c (Ffile_truename):
8279 * fileio.c (Fsubstitute_in_file_name):
8280 * fileio.c (Ffile_modes):
8281 * fileio.c (Fset_file_modes):
8282 * fileio.c (Fset_default_file_modes):
8283 * fileio.c (Fverify_visited_file_modtime):
8284 * floatfns.c (Facos):
8285 * floatfns.c (Fasin):
8286 * floatfns.c (Fatan):
8287 * floatfns.c (Fcos):
8288 * floatfns.c (Fsin):
8289 * floatfns.c (Ftan):
8290 * floatfns.c (Fbessel_j0):
8291 * floatfns.c (Fbessel_j1):
8292 * floatfns.c (Fbessel_jn):
8293 * floatfns.c (Fbessel_y0):
8294 * floatfns.c (Fbessel_y1):
8295 * floatfns.c (Fbessel_yn):
8296 * floatfns.c (Ferf):
8297 * floatfns.c (Ferfc):
8298 * floatfns.c (Flog_gamma):
8299 * floatfns.c (Fexp):
8300 * floatfns.c (Fexpt):
8301 * floatfns.c (Flog):
8302 * floatfns.c (Flog10):
8303 * floatfns.c (Fsqrt):
8304 * floatfns.c (Fcube_root):
8305 * floatfns.c (Facosh):
8306 * floatfns.c (Fasinh):
8307 * floatfns.c (Fatanh):
8308 * floatfns.c (Fcosh):
8309 * floatfns.c (Fsinh):
8310 * floatfns.c (Ftanh):
8311 * floatfns.c (Fabs):
8312 * floatfns.c (Ffloat):
8313 * floatfns.c (Flogb):
8314 * floatfns.c (Fceiling):
8315 * floatfns.c (Ffloor):
8316 * floatfns.c (Fround):
8317 * floatfns.c (Ftruncate):
8318 * floatfns.c (Ffceiling):
8319 * floatfns.c (Fffloor):
8320 * floatfns.c (Ffround):
8321 * floatfns.c (Fftruncate):
8322 * fns.c (Fstring_equal):
8323 * fns.c (Fstring_lessp):
8328 * fns.c (Fsubstring):
8330 * fns.c (Fold_assoc):
8331 * fns.c (assoc_no_quit):
8333 * fns.c (Fold_assq):
8334 * fns.c (assq_no_quit):
8336 * fns.c (Fold_rassoc):
8338 * fns.c (Fold_rassq):
8339 * fns.c (rassq_no_quit):
8340 * fns.c (Fremassoc):
8341 * fns.c (remassoc_no_quit):
8343 * fns.c (remassq_no_quit):
8344 * fns.c (Fremrassoc):
8345 * fns.c (Fremrassq):
8346 * fns.c (remrassq_no_quit):
8348 * fns.c (Fplist_get):
8349 * fns.c (Fplist_put):
8350 * fns.c (Fplist_remprop):
8351 * fns.c (Fplist_member):
8352 * fns.c (Flax_plist_get):
8353 * fns.c (Flax_plist_put):
8354 * fns.c (Flax_plist_remprop):
8355 * fns.c (Flax_plist_member):
8357 * fns.c (Fold_equal):
8359 * fns.c (Fbase64_encode_region):
8360 * fns.c (Fbase64_encode_string):
8361 * fns.c (Fbase64_decode_region):
8363 * frame.c (frame_matches_frame_spec):
8364 * frame.c (device_matches_device_spec):
8365 * frame.c (next_frame):
8366 * frame.c (previous_frame):
8367 * frame.c (Fnext_frame):
8368 * frame.c (Fprevious_frame):
8369 * frame.c (Fframe_property):
8370 * frame.c (Fset_frame_height):
8371 * frame.c (Fset_frame_size):
8375 * glyphs.c (decode_error_behavior_flag):
8376 * glyphs.c (Fmake_image_instance):
8377 * indent.c (Findent_to):
8378 * intl.c (Fignore_defer_gettext):
8379 * keymap.c (Fkeymapp):
8380 * keymap.c (Flookup_key):
8382 * lread.c (Fload_internal):
8383 * lread.c (Feval_buffer):
8384 * lread.c (Feval_region):
8385 * macros.c (Fexecute_kbd_macro):
8386 * marker.c (set_marker_internal):
8387 * marker.c (Fset_marker):
8388 * marker.c (set_marker_restricted):
8389 * marker.c (Fcopy_marker):
8390 * marker.c (noseeum_copy_marker):
8392 * menubar.c (Fpopup_menu):
8394 * mule-charset.c (Fcharset_name):
8395 * mule-charset.c (Fchar_charset):
8396 * mule-charset.c (Fchar_octet):
8397 * mule-charset.c (Fsplit_char):
8398 * mule-wnnfns.c (Fwnn_open):
8399 * mule-wnnfns.c (Fwnn_dict_comment):
8400 * mule-wnnfns.c (Fwnn_quit_henkan):
8401 * mule-wnnfns.c (Fwnn_word_toroku):
8402 * mule-wnnfns.c (Fwnn_word_sakujo):
8403 * mule-wnnfns.c (Fwnn_word_use):
8404 * mule-wnnfns.c (Fwnn_hindo_set):
8406 * objects.c (Fmake_color_instance):
8407 * objects.c (Fmake_font_instance):
8408 * print.c (Fwrite_char):
8410 * process.c (mark_process):
8411 * process.c (print_process):
8412 * process.c (get_process_from_usid):
8413 * process.c (Fprocessp):
8414 * process.c (Fprocess_live_p):
8415 * process.c (Fget_process):
8416 * process.c (Fget_buffer_process):
8417 * process.c (get_process):
8418 * process.c (Fprocess_id):
8419 * process.c (Fprocess_name):
8420 * process.c (Fprocess_command):
8421 * process.c (init_process_io_handles):
8422 * process.c (start_process_unwind):
8423 * process.c (Fstart_process_internal):
8424 * process.c (Fopen_multicast_group_internal):
8425 * process.c (Fset_process_window_size):
8426 * process.c (read_process_output):
8427 * process.c (send_process):
8428 * process.c (Fprocess_tty_name):
8429 * process.c (Fset_process_buffer):
8430 * process.c (Fprocess_buffer):
8431 * process.c (Fprocess_mark):
8432 * process.c (set_process_filter):
8433 * process.c (Fset_process_filter):
8434 * process.c (Fprocess_filter):
8435 * process.c (Fprocess_send_region):
8436 * process.c (Fprocess_send_string):
8437 * process.c (exec_sentinel):
8438 * process.c (Fset_process_sentinel):
8439 * process.c (Fprocess_sentinel):
8440 * process.c (status_notify):
8441 * process.c (Fprocess_status):
8442 * process.c (Fprocess_exit_status):
8443 * process.c (process_send_signal):
8444 * process.c (Fprocess_send_eof):
8445 * process.c (deactivate_process):
8446 * process.c (remove_process):
8447 * process.c (Fdelete_process):
8448 * process.c (kill_buffer_processes):
8449 * process.c (Fprocess_kill_without_query):
8450 * process.c (Fprocess_kill_without_query_p):
8452 * rangetab.c (Fget_range_table):
8453 * rangetab.c (Fput_range_table):
8454 * rangetab.c (Fremove_range_table):
8455 * rangetab.c (Fclear_range_table):
8457 * search.c (Fskip_chars_forward):
8458 * search.c (Fskip_chars_backward):
8459 * search.c (Fskip_syntax_forward):
8460 * search.c (Fskip_syntax_backward):
8461 * search.c (search_command):
8462 * search.c (Freplace_match):
8463 * search.c (Fregexp_quote):
8464 * select.c (Fown_selection_internal):
8465 * select.c (Fselection_owner_p):
8466 * select.c (Fselection_exists_p):
8467 * select.c (Fget_selection_internal):
8470 * symbols.c (Fintern):
8471 * symbols.c (Fintern_soft):
8472 * symbols.c (Funintern):
8473 * symbols.c (Fapropos_internal):
8474 * symbols.c (Fset_default):
8476 * syntax.c (Fsyntax_table_p):
8477 * syntax.c (Fcopy_syntax_table):
8478 * syntax.c (Fset_syntax_table):
8479 * syntax.c (Fchar_syntax):
8480 * syntax.c (syntax_match):
8481 * syntax.c (Fmatching_paren):
8482 * syntax.c (Fforward_word):
8483 * syntax.c (scan_lists):
8484 * syntax.c (Fscan_lists):
8485 * syntax.c (Fscan_sexps):
8486 * syntax.c (Fparse_partial_sexp):
8487 * toolbar.c (Fcheck_toolbar_button_syntax):
8490 * window.c (Fwindowp):
8491 * window.c (Fwindow_live_p):
8492 * window.c (Fwindow_point):
8493 * window.c (Fdelete_window):
8494 * window.c (Fnext_window):
8495 * window.c (Fprevious_window):
8496 * window.c (Fother_window):
8497 * window.c (window_loop):
8498 * window.c (Fget_lru_window):
8499 * window.c (Fsplit_window):
8500 * window.c (Fenlarge_window):
8501 * window.c (Fenlarge_window_pixels):
8502 * window.c (Fshrink_window):
8503 * window.c (Fshrink_window_pixels):
8504 * window.c (change_window_height):
8505 * window.c (Fwindow_configuration_p):
8506 * window.c (Fcurrent_window_configuration):
8508 * casefiddle.c (casify_object):
8509 * casefiddle.c (Fupcase):
8510 * casefiddle.c (Fdowncase):
8511 * casefiddle.c (Fcapitalize):
8512 * casefiddle.c (Fupcase_initials):
8513 * casefiddle.c (casify_region_internal):
8514 * casefiddle.c (casify_region):
8515 * casefiddle.c (Fupcase_region):
8516 * casefiddle.c (Fdowncase_region):
8517 * casefiddle.c (Fcapitalize_region):
8518 * casefiddle.c (Fupcase_initials_region):
8519 * casefiddle.c (Fupcase_word):
8520 * casefiddle.c (Fdowncase_word):
8521 * casefiddle.c (Fcapitalize_word):
8522 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8523 Replace 0 with '\0' when working with bytes.
8524 Replace initial "(" with "\(" in docstrings.
8526 2000-11-01 Martin Buchholz <martin@xemacs.org>
8528 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8530 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8532 2000-10-31 Martin Buchholz <martin@xemacs.org>
8534 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8536 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8538 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8541 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8543 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8544 (inhibit_auto_save_session): New variable.
8545 (vars_of_fileio): Declare and initialize them.
8546 * fileio.c (Fdo_auto_save): Don't create session file if
8547 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8549 2000-10-31 Martin Buchholz <martin@xemacs.org>
8551 * sgiplay.c (play_internal): C++ compilability.
8552 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8553 * callproc.c (Fold_call_process_internal):
8554 Remove unused vars `env', `first'.
8555 * scrollbar.c (update_scrollbar_instance):
8556 #### unused var `current_window'.
8557 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8558 etc. within #ifdef NOT_YET.
8559 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8560 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8561 * specifier.c (specifier_instance):
8562 #### unused var `tag'.
8563 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8565 2000-10-27 Martin Buchholz <martin@xemacs.org>
8568 * fns.c (list_sort):
8569 * fns.c (Ffillarray):
8570 * fns.c (bytecode_nconc2):
8573 * fns.c (Fmapconcat):
8574 Be pedantically 64-bit correct. For the time when someone will
8575 want to have a list with length > 2**32.
8577 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8578 Work around MIPSpro compiler bug.
8580 * process-unix.c (unix_kill_child_process): Add snarky comment.
8581 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8583 * config.h.in: Oops, _getpt ==> _getpty
8585 2000-10-26 Martin Buchholz <martin@xemacs.org>
8589 Use void*, not char*, as return type of alloca().
8591 * alloc.c (free_marker): Side effect inside assert expression!
8593 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8595 * mule-charset.c (Fset_charset_ccl_program): To check
8596 if the given ccl program is valid, use setup_ccl_program()
8597 instead of CHECK_VECTOR().
8598 (Fmake_charset): Likewise.
8600 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8602 * faces.c (get_extent_fragment_face_cache_index):
8603 Fix cachel.merged_faces memory leak.
8605 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8607 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8608 Reset MSB of octets obtained by DECODE_SJIS
8609 because of the incompatibility with Emacs.
8610 (ccl_driver)<CCL_ENCODE_SJIS>:
8611 Set MSB of octets before passing them to
8612 ENCODE_SJIS because of the incompatibility
8615 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8617 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8618 (DECLARE_LRECORD): Undo the last change.
8619 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8621 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8623 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8624 the implementation to lrecord_implementations_table.
8626 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8628 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8629 initial value of `lrecord_type_##c_name' and
8630 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8631 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8632 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8633 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8634 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8636 2000-10-17 Martin Buchholz <martin@xemacs.org>
8638 * miscplay.c (sndcnv8S_2mono):
8639 (sndcnv2monounsigned):
8640 (sndcnvULaw_2linear):
8642 Remove implementation-defined behavior.
8644 2000-10-12 Martin Buchholz <martin@xemacs.org>
8646 * input-method-xlib.c: Warning suppression.
8648 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8650 * mule-ccl.c: Sync up with Emacs 21.0.90.
8651 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8653 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8655 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8656 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8657 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8658 leading char belongs to official 2-dimensional charset.
8659 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8660 write the given character as is. Otherwise,
8661 if it is a multibyte char, convert it by
8662 non_ascii_set_charptr_emchar, then write it.
8663 (CCL_WRITE_STRING): Likewise.
8664 (ccl_get_compiled_code): New function.
8665 (setup_ccl_program): When ccl_prog is invalid,
8667 (Fregister_code_conversion_map): New function.
8668 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8670 * mule-ccl.h: Sync up with Emacs 21.0.90.
8671 (Fregister_ccl_program): export it.
8673 * redisplay-msw.c (separate_textual_runs):
8674 If ccl program is not valid, don't do ccl conversion.
8676 * redisplay-x.c (separate_textual_runs): Ditto.
8678 * file-coding.c (Fmake_coding_system):
8679 When type is ccl and value is vector, register it
8680 with a proper symbol. And checks whether the
8681 given ccl program is valid.
8682 (mule_decode): When calling ccl_driver, if src indicates
8683 NULL pointer, set an empty string instead.
8684 (mule_encode): Likewise.
8686 2000-10-11 Martin Buchholz <martin@xemacs.org>
8688 The following large batch of changes gets us back to a state of
8689 C++ compilability. Extbyte is now a char, which means that
8690 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8692 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8694 * sound.c (Fplay_sound): Type correctness.
8696 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8697 (x_get_window_property): Type correctness.
8698 (receive_incremental_selection): unsigned char ==> Extbyte
8699 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8700 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8701 (Fx_store_cutbuffer_internal): Type correctness.
8703 * process-unix.c (try_to_initialize_subtty): Type correctness.
8705 * objects-x.c (x_print_color_instance): Type correctness.
8706 (x_print_font_instance): Type correctness.
8707 (x_list_fonts): SExtbyte ==> Extbyte.
8708 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8709 (x_find_charset_font): SExtbyte ==> Extbyte.
8710 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8711 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8712 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8715 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8716 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8717 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8718 (BYTE_C0_P): Use bit ops for char-signedness safety.
8719 (BYTE_C1_P): Use bit ops for char-signedness safety.
8720 (CHARSET_BY_LEADING_BYTE):
8721 (CHARSET_BY_ATTRIBUTES):
8722 Always use inline function.
8723 Use type_checking_assert.
8726 * mule-charset.c (non_ascii_charptr_copy_char):
8727 Modify to work with both ASCII and non-ASCII characters.
8728 Improve docs and variable names.
8729 Replace over-clever fall-through switch with a simple loop.
8730 (Lstream_get_emchar_1):
8731 Replace over-clever fall-through switch with a simple loop.
8733 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8734 Warning suppression.
8736 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8737 the return value of Lstream_getc, which could be EOF as well.
8739 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8741 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8742 APIs can be used on Extbytes without casts. Risky!
8746 * input-method-xlib.c (XIM_init_device):
8747 Use Xlib.h instead of IntrinsicP.h.
8748 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8749 which will break in X11R7.
8750 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8751 to call XRegisterIMInstantiateCallback with correct types.
8753 * gui-x.c (button_item_to_widget_value): Type correctness.
8755 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8757 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8758 (xbm_instantiate_1): Type correctness.
8759 (BUILD_GLYPH_INST): Type correctness.
8761 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8764 (decode_coding_sjis):
8765 (decode_coding_big5):
8766 (decode_coding_ucs4):
8767 (decode_coding_utf8):
8768 (decode_coding_iso2022):
8769 (decode_coding_no_conversion):
8770 Make all decoding functions take an Extbyte * arg.
8771 (encode_coding_sjis):
8772 (encode_coding_big5):
8773 (encode_coding_ucs4):
8774 (encode_coding_utf8):
8775 (encode_coding_iso2022):
8776 (encode_coding_no_conversion):
8777 Make all encoding functions take a Bufbyte * arg.
8778 Use size_t instead of unsigned int for memory sizes.
8779 Only cast to unsigned char whenever dereferencing Extbyte *.
8781 * doc.c (unparesseuxify_doc_string): Type correctness.
8783 * console-x.c (split_up_display_spec):
8784 Rewrite without using details of internal string representation.
8785 (x_semi_canonicalize_device_connection): Type correctness.
8788 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8789 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8790 (HAVE_XFREE386): Removed.
8792 * buffer.h (DEC_CHARPTR): `const' correctness.
8793 (bufbyte_strcmp): New.
8794 (bufbyte_memcmp): New.
8796 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8798 * buffer.h (XCHAR_OR_CHAR_INT):
8799 Always use inline function.
8800 Remove redundant type checking assert() - XINT will abort quite nicely.
8802 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8804 * search.c (Freplace_match): Set newtext to an empty string.
8806 2000-10-10 Martin Buchholz <martin@xemacs.org>
8808 * s/decosf1-3.h: Remove #include of stropts.h
8809 * s/ptx.h: Remove #include of stropts.h
8810 * s/usg5-4.h: Remove #include of stropts.h
8813 Use stropts.h, not sys/stropts.h.
8814 Use strtio.h, not sys/strtio.h.
8816 2000-10-04 Martin Buchholz <martin@xemacs.org>
8818 * XEmacs 21.2.36 is released.
8820 2000-09-21 Andy Piper <andy@xemacs.org>
8822 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8823 changes still involve copying the widget tree.
8824 (update_widget_face): make sure a change is register in the widget
8825 tree. Call update_tab_widget_face appropriately.
8826 (update_tab_widget_face): ditto.
8827 (x_tab_control_redisplay): make sure non-structural changes still
8828 involve copying the widget tree.
8830 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8832 * lread.c (locate_file): Check the path element is non-nil.
8834 2000-10-02 Martin Buchholz <martin@xemacs.org>
8836 * lisp.h: Warning suppression for SCO compilers.
8838 * redisplay-tty.c (reset_tty_modes): Fix crash.
8839 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8841 2000-09-27 Martin Buchholz <martin@xemacs.org>
8843 Big signal/process handling overhaul. Bugs fixed:
8844 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8845 M-x comint-kill-subjob should work for both values nil and t of
8846 process-connection-type. It was broken on most platforms.
8847 Testing on Irix and Cygwin still needed. Other plaforms tested.
8848 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8849 * process-unix.c: Signal/Process handling overhaul.
8850 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8851 (allocate_pty): Use all available modern methods of allocating
8852 ptys, falling back to old style BSD allocation as a last resort.
8853 Use allegedly more secure Unix98 pty allocation by default.
8854 (allocate_pty_the_old_fashioned_way): New. the last resort.
8855 (unix_create_process): Push ptem, ldterm, ttcompat where
8856 available. Autoconfiscate.
8857 (try_to_initialize_subtty): New.
8858 (unix_kill_child_process): Proper signal handling for ptys on most
8859 platforms, using special knowledge of AIX, BSD, etc...
8860 (unix_create_process): Always disconnect_controlling_terminal() for
8861 subprocesses, whether using ptys or not.
8862 * process.h: Remove old getpt-dependent PTY code.
8863 * process.c (Fprocess_send_signal): New, obvious generic function.
8864 (decode_signal): New.
8865 (Finterrupt_process):
8869 (Fcontinue_process):
8870 (Fsignal_process): Use decode_signal.
8871 (process_send_signal):
8872 Many docstring corrections.
8873 Allow any signal to be sent to a process object.
8874 * config.h.in: Add symbols for big signal/process overhaul.
8875 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8876 * sysproc.h: Include process-related headers, where available:
8877 sys/stropts.h sys/strtio.h pty.h libutil.h
8885 Remove old S&M pty stuff.
8886 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8887 * systty.h: Simplify cpp hackery, improve comments.
8888 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8890 * editfns.c (Fformat_time_string):
8891 Be a little more paranoid with the return value of ctime.
8893 * fileio.c (check_executable):
8895 Use symbolic constants X_OK, W_OK.
8897 * console-x.c (split_up_display_spec): Fix a warning.
8899 2000-10-02 Martin Buchholz <martin@xemacs.org>
8901 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8902 * ntproc.c (sys_spawnve): make_string ==> build_string
8903 Small clarity improvements.
8905 2000-09-30 Martin Buchholz <martin@xemacs.org>
8907 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8909 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
8911 * config.h.in (HAVE_STRCASECMP): Remove.
8913 2000-09-29 Martin Buchholz <martin@xemacs.org>
8915 * redisplay-output.c (redisplay_output_pixmap):
8916 Cleaner and possibly more 64-bit correct code.
8918 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
8920 * dumper.c (pdump_load_finish): move restoration of
8921 `noninteractive1' to emacs.c (main_1).
8922 * emacs.c (main_1): protect LISP-visible command-line flags
8925 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
8927 * Makefile.in.in (versionclean): Use EXE_TARGET and
8928 DUMP_TARGET instead of literal program names.
8930 2000-09-20 Martin Buchholz <martin@xemacs.org>
8932 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
8934 2000-09-19 Martin Buchholz <martin@xemacs.org>
8936 * *: Spelling mega-patch
8938 2000-09-19 Martin Buchholz <martin@xemacs.org>
8940 * fns.c (bad_bad_turtle):
8941 Delete "Eek!" comment, since we fixed the bug to which it refers.
8943 2000-09-16 Martin Buchholz <martin@xemacs.org>
8945 * alloca.c: Replace REGISTER with register.
8947 2000-09-16 Daiki Ueno <ueno@unixuser.org>
8949 * file-coding.c (ucs_to_char): Use countof.
8951 2000-09-16 Martin Buchholz <martin@xemacs.org>
8953 * file-coding.c: (ucs_to_char):
8954 (complex_vars_of_file_coding):
8955 Use countof instead of sizeof.
8956 Use CHECK_NATNUM instead of CHECK_INT.
8958 * sysdep.c (strcasecmp): Remove.
8959 * device-x.c (ascii_strcasecmp): New.
8960 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
8961 Avoid using non-standard non-portable strcasecmp.
8963 2000-09-16 Martin Buchholz <martin@xemacs.org>
8965 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
8966 * font-lock.c: remove reference to emacsfns.h.
8967 * search.c: small doc improvement.
8968 * event-Xt.c: correct file names in comments.
8969 * console-x.h Correct file names in comments.
8970 * frame.c: Correct file names in comments.
8971 * event-stream.c: remove Energize from comments.
8973 2000-09-15 Martin Buchholz <martin@xemacs.org>
8975 * symeval.h (DEFERROR_STANDARD):
8978 (DEFSYMBOL_NO_DUMP):
8979 (DEFSYMBOL_MULTIWORD_PREDICATE):
8980 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
8982 The construct &##name is not sensible C.
8983 Fixes compilation errors with Unixware native compiler.
8985 2000-09-14 Martin Buchholz <martin@xemacs.org>
8987 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
8988 (next_frame_internal): Removed. We now just have next_frame.
8990 Write a simpler and cleaner one-pass algorithm.
8991 Remove called_from_delete_device arg and #ifdefed-out code.
8993 Renamed from prev_frame. Update callers.
8994 Cleaned up to have an analogous implementation to next_frame.
8995 (other_visible_frames_internal): Remove the
8996 called_from_delete_device bogus arg, and hence, remove this
8997 function. Just use other_visible_frames().
8999 * window.c (Fnext_window):
9001 Since next_frame() is guaranteed to return a frame, remove check
9002 for nil inserted in previous patch.
9005 Make code look more like Fnext_window.
9007 Respect the `console' arg when iterating through windows.
9008 Fixes bug: (get-buffer-window buffer t device) not respecting
9010 This function needs more work, as others have pointed out.
9012 * frame.h: Rename prev_frame to previous_frame.
9013 device_matches_console_spec no longer takes a `frame' arg.
9018 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9019 From "Golubev I. N." <gin@mo.msk.ru>.
9021 * make-src-depend: Fix typo.
9023 2000-09-13 Martin Buchholz <martin@xemacs.org>
9025 * window.c (Fnext_window):
9026 next_frame() might return nil, not a frame.
9028 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9030 * frame.c (next_frame_internal):
9031 We've passed a frame if we've passed its device.
9033 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9034 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9036 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9038 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9039 Allow option to suppress accelerators in menu/dialog items.
9040 (populate_or_checksum_helper): Pass dialog title through above.
9042 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9044 * event-msw.c (mswindows_key_to_emacs_keysym):
9045 Add "pause" key, fix "menu" key.
9047 2000-09-09 Martin Buchholz <martin@xemacs.org>
9049 * eval.c (reinit_vars_of_eval):
9050 Increase max_lisp_eval_depth to 1000,
9051 required for thai-xtis.el to byte-compile under some circumstances.
9053 2000-09-04 Martin Buchholz <martin@xemacs.org>
9055 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9058 2000-09-01 Martin Buchholz <martin@xemacs.org>
9060 * make-src-depend: Make the generated Makefiles smaller.
9062 * s/hpux.h (SETUP_SLAVE_PTY):
9063 Provide a %d in the format string for the errno argument.
9065 * editfns.c (Ftemp_directory):
9067 Avoid buffer overrun on very long file name.
9069 * input-method-xlib.c (XIM_init_device):
9070 6th parameter of XRegisterIMInstantiateCallback has different
9071 pointer types on different OSes, so simply cast to (void *).
9073 * unexhp9k800.c: Warning fixes. Fiddly changes.
9075 * sysdll.c (dll_open):
9076 shl_load will hang hard if passed a NULL filename.
9077 Simply return NULL for compatibility with dlopen.
9078 * sysdll.c: Conform to XEmacs coding standards.
9080 * sysdep.c (get_pty_max_bytes):
9081 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9083 2000-08-31 Martin Buchholz <martin@xemacs.org>
9085 * tooltalk.c: Add #include <syssignal.h>
9087 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9089 * s/hpux.h: Don't use undefined function sigunblock().
9091 2000-08-31 Martin Buchholz <martin@xemacs.org>
9093 * config.h.in: Add HAVE_BALLOON_HELP.
9094 * emacs.c: Use HAVE_BALLOON_HELP.
9095 * Makefile.in.in (x_objs):
9096 Make Balloon Help conditional on finding shape.h.
9098 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9100 * syntax.c (regex_emacs_buffer_p): New variable.
9101 * syntax.h (regex_emacs_buffer_p): extern.
9102 * search.c (looking_at_1):
9104 (fast_string_match):
9105 (search_buffer): Set regex_emacs_buffer_p.
9106 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9107 when before_dot, at_dot, after_dot.
9109 2000-08-23 Andy Piper <andy@xemacs.org>
9111 * gui-x.c (popup_selection_callback): Only set action_occurred
9112 when we really have an image instance.
9113 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9115 2000-08-23 Andy Piper <andy@xemacs.org>
9117 * gui-msw.c (mswindows_handle_gui_wm_command): set
9119 * gui-x.c (popup_selection_callback): ditto.
9121 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9122 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9123 (struct Lisp_Image_Instance): add action_occurred flag.
9125 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9126 (image_instance_changed): ditto.
9127 (reset_frame_subwindow_instance_cache): only unmap windows - do
9128 not remove them from the cache also.
9130 * glyphs-widget.c (tab_control_update): better debug.
9131 (progress_gauge_update): ditto.
9132 (layout_update): ditto.
9133 (layout_instantiate): ditto.
9134 (tab_control_order_only_changed): cope with null pending items.
9136 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9137 debug. Force selection of an item when an action occurred. Cope
9138 with null pending_items.
9139 (mswindows_progress_gauge_redisplay): better debug.
9140 * glyphs-x.c (x_tab_control_redisplay): ditto.
9142 * redisplay.c (redisplay_frame): reset the frame cache if the
9145 * window.c (Fset_window_configuration): potentially re-enable
9147 (window_unmap_subwindows): need to finalize instances here since
9148 it is only used in mark_window_as_deleted.
9150 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9152 * nas.c (SndOpenDataForReading):
9153 nas.c (WaveOpenDataForReading):
9154 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9155 Somehow escaped from the 2000-08-14 patch.
9157 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9159 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9160 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9162 2000-08-21 Andy Piper <andy@xemacs.org>
9164 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9165 window if it is not already displayed.
9167 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9168 it is not already displayed.
9170 * window.c (Fset_window_configuration): don't reset the frame
9173 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9174 instances from the frame cache if we are actually finalizing them.
9175 (reset_frame_subwindow_instance_cache): reset frame cache only
9176 after unmapping everything.
9177 (map_subwindow): set displayed flag after mapping.
9179 2000-08-21 Martin Buchholz <martin@xemacs.org>
9181 * data.c (indirect_function):
9182 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9184 * eval.c (function_argcount):
9185 Use original function when signaling errors.
9187 2000-08-18 Andy Piper <andy@xemacs.org>
9189 * frame.c (delete_frame_internal): use new
9190 free_frame_subwindow_instances name.
9192 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9193 (add_tab_item): make return type correct.
9194 (mswindows_tab_control_instantiate): assert index of tab.
9195 (mswindows_tab_control_redisplay): Re-code to use
9196 gui_item_equal_sans_selected and gui_item_list_find_selected.
9198 * glyphs-widget.c (tab_control_update): Correct comment.
9200 * window.c (window_unmap_subwindows): use new
9201 unmap_subwindow_instance_cache_mapper.
9202 (window_unmap_subwindows_cache_mapper): deleted.
9203 (Fset_window_configuration): comparisons should now be with
9204 EQ. Preserve the subwindow instance cache across configuration
9206 (allocate_window): ditto.
9207 (make_dummy_parent): ditto.
9209 * glyphs.c (free_frame_subwindow_instances): rename from
9210 free_frame_subwindow_instance_cache. finalize all instances rather
9211 than just those in the display cache.
9212 (finalize_all_subwindow_instances): walk windows unmapping and
9213 finalizing subwindows.
9214 (unmap_subwindow_instance_cache_mapper): moved from
9215 window.c. Allow finalization as well as unmapping.
9217 * gui.c (gui_item_list_find_selected): new function.
9219 * gui.h (gui_item_list_find_selected): declare.
9221 * glyphs-x.c (x_tab_control_redisplay): pick tab
9222 explicitly. Re-code to use gui_item_equal_sans_selected and
9223 gui_item_list_find_selected.
9225 * glyphs-x.h: add lwlib-utils.h
9227 * buffer.c (Frecord_buffer): undo previous change.
9229 2000-08-09 Vin Shelton <acs@xemacs.org>
9231 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9232 possible. Create temporary files more securely. The patch was
9233 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9234 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9235 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9238 2000-08-07 Ben Wing <ben@xemacs.org>
9240 * getloadavg.c: remove duplicate (and windows-breaking)
9241 includes of fcntl.h and sys/file.h.
9243 * nt.c: remove duplicate getloadavg() definition.
9245 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9248 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9250 * eval.c (function_argcount): If function needs to be autoloaded
9251 actually use the loaded definition.
9254 2000-08-05 Ben Wing <ben@xemacs.org>
9256 * getloadavg.c: add prototype for getloadavg(). remove
9257 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9258 of the code). remove duplicate header includes.
9260 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9262 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9263 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9264 useful load average.
9266 * alloc.c (reinit_alloc_once_early): removed references to
9267 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9268 the lisp vars are the only things referencing the malloc_sbrk_*
9269 vars, and they were already if 0'd out. these vars only exist
9270 in the older malloc.c, which is basically unused, and they're
9271 only for informational purposes.
9273 * m\*.h: removed useless VIRT_ADDR_VARIES.
9275 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9277 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9279 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9280 color if the image is a mono pixmap.
9282 2000-07-30 Ben Wing <ben@xemacs.org>
9284 * Makefile.in.in (release):
9287 * buffer.c (directory_is_current_directory):
9288 * dired-msw.c (mswindows_get_files):
9290 * dired.c (Fdirectory_files):
9291 * dired.c (file_name_completion_stat):
9292 * dired.c (Ffile_attributes):
9293 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9294 preprocessor tricks, to avoid problems on some machines
9297 * callproc.c (egetenv): GC docs.
9300 * console-msw.h (struct mswindows_dialog_id):
9301 * lrecord.h (lrecord_type):
9302 New object for use with MSW dialogs.
9304 * console.h (struct console_methods):
9305 New enable/disable frame methods, for proper modal dialogs.
9307 * device-msw.c (msprinter_default_printer): Fix to follow
9308 proper Mule conventions.
9311 * device-msw.c (signal_open_printer_error):
9312 * device-msw.c (msprinter_init_device):
9313 * device-msw.c (ensure_not_printing):
9314 * device-msw.c (plist_get_margin):
9315 * device-msw.c (Fmsprinter_select_settings):
9316 * device-msw.c (finalize_devmode):
9317 * device-msw.c (Fmsprinter_settings_despecialize):
9318 * device-msw.c (signal_enum_priner_error):
9319 * extents.c (decode_extent):
9320 * extents.c (decode_map_extents_flags):
9321 * extents.c (decode_extent_at_flag):
9322 * extents.c (Fextent_at):
9323 * extents.c (Fextents_at):
9324 * extents.c (symbol_to_glyph_layout):
9325 [[[[2]]]] Use structured errors.
9328 * dialog-msw.c (mswindows_is_dialog_msg):
9329 * dialog-msw.c (mark_mswindows_dialog_id):
9330 * dialog-msw.c (dialog_proc):
9331 * dialog-msw.c (handle_question_dialog_box):
9332 * dialog-msw.c (syms_of_dialog_mswindows):
9333 Define new object to clean up marking; use it as a dialog identifier.
9334 Call new delete-dialog-box-hook.
9336 * dialog-x.c (dbox_selection_callback):
9337 * dialog-x.c (dbox_descriptor_to_widget_value):
9338 * dialog-x.c (x_make_dialog_box_internal):
9339 Call new delete-dialog-box-hook.
9343 * dialog.c (syms_of_dialog):
9344 * dialog.c (vars_of_dialog):
9345 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9348 * eval.c (signal_call_debugger):
9349 when noninteractive, output stack traces on the console instead
9350 of in a (never-seen) buffer.
9352 * eval.c (signal_type_error):
9353 * eval.c (invalid_argument_2):
9355 new funs for use w/structured errors.
9358 * event-Xt.c (x_to_emacs_keysym):
9359 * event-Xt.c (describe_event):
9360 * event-Xt.c (emacs_Xt_event_handler):
9361 * event-Xt.c (vars_of_event_Xt):
9363 * event-msw.c (mswindows_wnd_proc):
9364 * event-msw.c (vars_of_event_mswindows):
9365 rename {x,mswindows}-debug-events to debug-{}-events for
9366 consistency with other debug-foo variables.
9369 document next-event more clearly.
9371 * fileio.c (Ffile_name_directory):
9372 * fileio.c (Ffile_name_nondirectory):
9373 * fileio.c (Funhandled_file_name_directory):
9374 * fileio.c (file_name_as_directory):
9375 * fileio.c (Ffile_name_as_directory):
9376 * fileio.c (directory_file_name):
9377 * fileio.c (Fdirectory_file_name):
9378 * fileio.c (Fmake_temp_name):
9379 * fileio.c (Ffile_truename):
9380 * fileio.c (Fsubstitute_in_file_name):
9381 * fileio.c (expand_and_dir_to_file):
9382 * fileio.c (barf_or_query_if_file_exists):
9383 * fileio.c (check_executable):
9384 * fileio.c (Ffile_exists_p):
9385 * fileio.c (Ffile_writable_p):
9386 * fileio.c (Ffile_directory_p):
9387 * fileio.c (Ffile_regular_p):
9388 * fileio.c (Ffile_modes):
9389 * fileio.c (Ffile_newer_than_file_p):
9390 * fileio.c (Fverify_visited_file_modtime):
9391 * fileio.c (Fset_visited_file_modtime):
9392 * fileio.c (auto_save_1):
9397 * frame-msw.c (mswindows_init_frame_1):
9398 * frame-msw.c (mswindows_enable_frame):
9399 * frame-msw.c (error_frame_unsizable):
9400 * frame-msw.c (msprinter_init_frame_1):
9401 * frame-msw.c (msprinter_init_frame_3):
9402 * frame-msw.c (console_type_create_frame_mswindows):
9404 implement new enable/disable frame methods.
9407 * frame-x.c (x_enable_frame):
9408 * frame-x.c (console_type_create_frame_x):
9409 implement new enable/disable frame methods.
9412 * frame.c (Fdisable_frame):
9413 * frame.c (syms_of_frame):
9414 * frame.h (struct frame):
9415 implement new enable/disable frame methods/functions.
9420 * glyphs-msw.c (mswindows_widget_instantiate):
9421 comment that initial-focus should be implemented.
9424 * glyphs-widget.c (check_valid_instantiator):
9425 * glyphs-widget.c (check_valid_orientation):
9426 * glyphs-widget.c (check_valid_tab_orientation):
9427 * glyphs-widget.c (check_valid_justification):
9428 * glyphs-widget.c (check_valid_border):
9429 * glyphs-widget.c (check_valid_callback):
9430 * glyphs-widget.c (check_valid_int_or_function):
9431 * glyphs-widget.c (check_valid_string_or_vector):
9432 * glyphs-widget.c (check_valid_item_list_1):
9433 * glyphs-widget.c (widget_validate):
9434 * glyphs-widget.c (combo_box_validate):
9435 * glyphs-widget.c (widget_instantiate):
9436 * glyphs-widget.c (syms_of_glyphs_widget):
9437 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9438 * glyphs-widget.c (image_instantiator_combo_box):
9439 * glyphs-widget.c (image_instantiator_scrollbar):
9440 * glyphs-widget.c (image_instantiator_tab_control):
9441 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9443 support (unimplemented) keyword initial-focus.
9444 reindent long macros.
9446 * glyphs-x.c (x_redisplay_widget):
9447 * glyphs-x.c (x_button_instantiate):
9448 * glyphs-x.c (x_button_redisplay):
9449 * glyphs-x.c (x_progress_gauge_instantiate):
9450 * glyphs-x.c (x_edit_field_instantiate):
9451 * glyphs-x.c (x_combo_box_instantiate):
9452 * glyphs-x.c (x_tab_control_instantiate):
9453 * glyphs-x.c (x_label_instantiate):
9455 * gui-x.c (button_item_to_widget_value):
9456 * gui-x.c (gui_items_to_widget_values_1):
9457 * gui-x.c (gui_item_children_to_widget_values):
9458 * gui-x.c (gui_items_to_widget_values):
9460 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9461 add new flag to gui-parsing routines to indicate whether
9462 accelerator specs should be supported.
9464 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9466 * glyphs.h (struct Lisp_Image_Instance):
9467 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9468 add initial-focus flag.
9471 * gui.c (syms_of_gui):
9472 * gui.c (vars_of_gui):
9473 clean up menu-no-selection-hook.
9476 support delete-dialog-box-hook.
9478 * lread.c (Fload_internal):
9479 * lread.c (locate_file_in_directory_mapper):
9483 * lrecord.h (struct toolbar_button):
9484 * lrecord.h (syms_of_toolbar):
9485 document how to create a new object.
9487 * menubar-msw.c (mswindows_char_is_accelerator):
9488 may be called on frames w/o menus.
9490 * menubar.c (vars_of_menubar):
9491 clean up :filter docs.
9498 * process-nt.c (validate_signal_number):
9499 * process-nt.c (signal_cannot_launch):
9500 * process-nt.c (nt_create_process):
9501 * process-nt.c (nt_send_process):
9502 * process-nt.c (nt_kill_child_process):
9503 * process-nt.c (nt_open_network_stream):
9504 * process-nt.c (syms_of_process_nt):
9506 delete quote-handling. call new lisp code that does it better.
9508 * process-unix.c (connect_to_file_descriptor):
9509 * process-unix.c (allocate_pty):
9510 * process-unix.c (unix_send_process):
9511 * process-unix.c (unix_kill_child_process):
9512 * process-unix.c (unix_open_network_stream):
9513 * process-unix.c (unix_open_multicast_group):
9517 * process.c (Fstart_process_internal):
9518 (2). need to canonicalize process path even if absolute.
9520 * select-msw.c (symbol_to_ms_cf):
9521 * select-msw.c (ms_cf_to_symbol):
9522 * select-msw.c (cf_is_autofreed):
9523 * select-msw.c (mswindows_destroy_selection):
9525 * select.c (syms_of_select):
9527 support dibv5, fix bugs. (from Mike Alexander)
9529 * select.c (Fget_selection_internal):
9530 * select.c (select_convert_out):
9533 * sysdep.c (xemacs_stat):
9538 but keep original stat() here because we provide encapsulation
9542 * sysfile.h (fstat):
9543 remove stat garbage.
9547 don't include tchar.h. it's inappropriate because it makes
9548 compile-time distinctions when we want runtime distinctions.
9549 (we provide our own tchar replacements)
9552 use default object printer for toolbar-button.
9555 make sure we don't encapsulate.
9557 * window.c (vars_of_window):
9558 emphasize that temp-buffer-show-hook is obsolete.
9560 2000-08-05 Martin Buchholz <martin@xemacs.org>
9562 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9563 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9565 * events.c (Fevent_timestamp_lessp):
9566 Not 64-bit clean. Use EMACS_INT, not int.
9568 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9570 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9571 unsigned int and changed the last enum to
9572 lrecord_type_last_built_in_type.
9573 (lrecord_implementations_table): changed prototype to know how
9574 long the array is supposed to be.
9575 (lrecord_type_count): new unsigned int to keep track of the
9576 current number of lisp lrecord types.
9577 (DEFINE_EXTERNAL_LRECORD):
9578 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9579 dynamic-modules to declare new lisp types. They are the same
9580 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9581 int for each new type, and increment lrecord_type_count by 1.
9583 * alloc.c (lrecord_implementations_table): Changed to reference
9584 lrecord_type_last_built_in_type for the size of the array.
9585 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9587 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9589 * glyphs.h (check_valid_item_list): Renamed from
9590 check_valid_item_list_1.
9592 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9594 * select.c (Qselect_coerce): New.
9595 * select.c (Vselection_coercion_alist): New.
9596 * select.c (syms_of_select): Declare.
9597 * select.c (get-selection-internal): Use it.
9598 Use the new select-coerce functionality.
9600 * select.c (select_coerce): New.
9601 * select.h (select_coerce): Declare.
9602 New function to coerce one type of data into another.
9604 2000-08-03 Martin Buchholz <martin@xemacs.org>
9606 * callproc.c (Fcall_process_internal):
9607 (Fcall_process_internal):
9608 * process-unix.c (unix_create_process):
9609 Save and restore the value of errno, so that error messages are accurate.
9611 2000-08-01 Martin Buchholz <martin@xemacs.org>
9613 * elhash.c (print_hash_table):
9614 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9615 Prettify docstrings and indentation.
9617 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9619 * window.c (Fwindow_pixel_edges): Subtract frame border and
9622 2000-07-31 Andy Piper <andy@xemacs.org>
9624 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9625 will acknowledge the change.
9627 * glyphs.h: declare tab_control_order_only_changed.
9629 * glyphs-x.c (x_tab_control_redisplay): use
9630 tab_control_order_only_changed.
9632 * glyphs-widget.c (tab_control_order_only_changed): new function.
9634 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9635 tab_control_order_only_changed.
9637 * gui.c (gui_item_equal_sans_selected): new function.
9638 (gui_item_equal): use it.
9640 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9641 :properties in favor of :items..
9643 * glyphs-widget.c (check_valid_item_list): rename from
9644 check_valid_item_list_1.
9645 (check_valid_item_list_1): renamed.
9646 (combo_box_validate): deprecate :properties in favor of :items.
9647 (widget_instantiate): ditto.
9648 (tab_control_update): ditto.
9649 (image_instantiator_combo_box): ditto.
9650 (image_instantiator_tree_view): ditto.
9651 (image_instantiator_tab_control): ditto.
9652 (layout_post_instantiate): remove dead code.
9654 * print.c (debug_print_no_newline): only write to debugger if in
9657 * elhash.c (Fmake_hash_table): update doc string.
9659 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9660 messages whilst in GC. This at least stops XEmacs crashing but has
9661 the potential for wierd behaviour.
9663 2000-07-31 Martin Buchholz <martin@xemacs.org>
9666 Make existence of s&m files optional.
9668 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9669 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9670 * s/gnu.h: Remove HAVE_GETLOADAVG.
9671 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9672 * s/sol2.h: Remove HAVE_GETLOADAVG.
9673 * lisp.h: Remove getloadavg() declaration.
9675 Include <sys/loadavg.h> if available.
9676 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9677 * config.h.in: Group together getloadavg()-related macros.
9678 Use only configure-time tests to detect getloadavg().
9680 2000-07-30 Martin Buchholz <martin@xemacs.org>
9682 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9684 2000-07-25 Andy Piper <andy@xemacs.org>
9686 * syswindows.h: add tchar.h for native builds.
9688 * frame.c (syms_of_frame): remove set-glyph-image.
9690 * general-slots.h: add Qset_glyph_image.
9692 * glyphs-widget.c (layout_update): add domain arg to
9694 (syms_of_glyphs_widget): remove set-glyph-image.
9696 2000-07-23 Ben Wing <ben@xemacs.org>
9698 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9701 2000-07-22 Andy Piper <andy@xemacs.org>
9703 * symsinit.h: add syms_of_win32().
9705 * gui-msw.c (syms_of_gui_mswindows): remove
9706 Fmswindows_shell_execute.
9707 (Fmswindows_shell_execute): moved to win32.c.
9709 * emacs.c (main_1): add syms_of_win32 ().
9711 * win32.c (init_potentially_nonexistent_functions): rewrite in
9712 compiler-friendly terms.
9713 (Fmswindows_shell_execute): move here from gui-msw.c.
9714 (syms_of_win32): new.
9716 * device-msw.c (Fmswindows_printer_list): clean up args to
9718 Don't include tchar under cygwin or mingw.
9719 (msprinter_default_printer): make cygwin-friendly.
9721 2000-07-21 Andy Piper <andy@xemacs.org>
9723 * glyphs-widget.c (image_instantiator_tree_view): use tab
9724 control's update function.
9725 (layout_property): new function. Retrieve items.
9727 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9728 function. Re-populate the tree view from the pending items.
9730 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9731 is designated the parent if the domain is an image instance. This
9732 is needed so that dirtiness can be cascade up the hierarchy and
9733 thus for layout children to be redisplayed correctly.
9734 (allocate_image_instance): rename glyph -> parent.
9736 * redisplay.h: change redisplay_output_layout signature.
9738 * redisplay-msw.c (mswindows_output_display_block): use domain
9741 * redisplay-x.c (x_output_display_block): use domain arg.
9743 2000-07-10 Andy Piper <andy@xemacs.org>
9745 * window.c (Fset_window_configuration): add comment.
9747 * redisplay-output.c (compare_runes):
9748 (redisplay_output_subwindow): redisplay rather than update subwindow.
9749 (redisplay_output_layout): ditto.
9751 * redisplay-msw.c (mswindows_frame_output_end):
9752 (mswindows_frame_output_end): make defer window pos optional.
9754 * lisp.h: add Flast.
9756 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9757 normalize method. Change update method to be for changed
9758 instantiators. Add redisplay method. Change signature of layout
9760 (struct Lisp_Image_Instance): add instantiator.
9761 (IMAGE_INSTANCE_INSTANTIATOR): new.
9762 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9763 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9764 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9767 (find_instantiator_differences): new function.
9768 (Fset_instantiator_property): new convenience function.
9769 (check_image_instance_structure): strictly check for vector
9771 (normalize_image_instantiator): make non-static.
9772 (instantiate_image_instantiator): pass on dest_mask and use new
9773 signatures for image_instance_layout and friends.
9774 (mark_image_instance): mark the instantiator. Mark the subwindow
9775 face not the widget face.
9776 (image_instance_equal): add instantiator.
9777 (image_instance_hash): ditto.
9778 (allocate_image_instance): ditto.
9779 (Fset_image_instance_property): removed.
9780 (Fimage_instance_file_name): ditto.
9781 (Fcolorize_image_instance): ditto.
9782 (image_instance_layout): add offsets to be set.
9783 (update_image_instance): new function. update an image instance
9784 from its changed instantiator.
9785 (inherit_normalize): add dest_mask.
9786 (xbm_normalize): ditto.
9787 (xface_normalize): ditto.
9788 (xpm_normalize): ditto.
9789 (text_update): set_property -> update.
9790 (image_instantiate): use the glyph identity as a hash key, not the
9792 (glyph_width): use new image_instance_layout signature.
9793 (glyph_ascent): ditto.
9794 (glyph_descent): ditto.
9795 (glyph_height): ditto.
9796 (glyph_query_geometry): ressurrect.
9797 (glyph_layout): ditto.
9798 (redisplay_subwindow): update -> redisplay.
9799 (syms_of_glyphs): add Fset_instantiator_property.
9800 (image_instantiator_format_create): set_property -> update.
9803 (autodetect_normalize): add dest_maks to signature.
9804 (x_redisplay_subwindow): update -> redisplay.
9805 (x_redisplay_widget): ditto.
9806 (x_button_redisplay): ditto.
9807 (x_progress_gauge_redisplay): ditto.
9808 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9810 (console_type_create_glyphs_x): update -> redisplay.
9811 (image_instantiator_format_create_glyphs_x): ditto.
9814 (check_valid_instantiator): disallow glyphs in the instantiator,
9815 they must now be vectors.
9816 (check_valid_instantiator_list): ditto.
9817 (glyph_instantiator_to_glyph): use internal symbol rather than
9819 (widget_update): renamed from widget_set_property. Call cascaded
9821 (redisplay_widget): renamed from update_widget.
9822 (widget_layout): image_instance_layout now takes position as well
9824 (widget_normalize): ditto.
9825 (widget_instantiate): ditto.
9826 (tab_control_query_geometry) ditto.:
9827 (tab_control_update): renamed from tab_control_set_property.
9828 (progress_gauge_update): set_property -> update.
9829 (layout_normalize): rewrite so that child instantiators are
9831 (layout_update): new function. Create glyphs from the normalized
9832 children and cope with any other layout keywords. We do not
9833 instantiate children here that will be take care of by
9834 redisplay_output_layout.
9835 (layout_instantiate): call layout_update and not much else.
9836 (layout_post_instantiate): not sure whether this is needed
9838 (layout_query_geometry): query glyph geometry rather than
9839 image_instance geometry.
9840 (layout_layout): set offsets from pass in parameters. Use glyph
9841 geometry and layout functions rather than image instance ones.
9842 (native_layout_layout): ditto.
9843 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9844 (image_instantiator_widget): set_property -> update.
9845 (image_instantiator_buttons): ditto.
9846 (image_instantiator_progress_guage): ditto.
9847 (image_instantiator_tab_control): ditto.
9848 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9849 (image_instantiator_layout): add update method.
9851 * glyphs-msw.c (bmp_normalize):
9852 (mswindows_resource_normalize): add dest_mask so that it can be
9853 proprogated by layout_normalize.
9854 (begin_defer_window_pos): make optional because it may not be the
9855 right thing to do and it introduces differences with X.
9856 (mswindows_unmap_subwindow): ditto.
9857 (mswindows_map_subwindow): ditto.
9858 (mswindows_redisplay_subwindow): renamed from
9859 mswindows_update_subwindow.
9860 (mswindows_redisplay_widget): ditto.
9861 (mswindows_button_redisplay): renamed from
9862 mswindows_button_update. Update is now what the instantiation
9863 function does for a changed instantiator.
9864 (mswindows_progress_gauge_instantiate): set the progress value
9865 here if appropriate.
9866 (mswindows_tab_control_redisplay): cope with re-ordering of the
9867 members of the tab widget by simply selecting the new top
9868 widget. This makes things appear ok if you click on a tab.
9869 (mswindows_combo_box_instantiate): image_instance_layout now takes
9870 position as well as size.
9871 (mswindows_progress_gauge_redisplay): renamed from
9872 mswindows_progress_gauge_update.
9873 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9874 (image_instantiator_format_create_glyphs_mswindows): ditto.
9876 * glyphs-eimage.c (jpeg_normalize):
9879 (tiff_normalize): add dest_mask so that it can be proprogated by
9884 (hash_table_weakness_validate):
9885 (decode_hash_table_weakness):
9886 (Fhash_table_weakness):
9888 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9890 * console.h (struct console_methods): move update_* to
9893 2000-07-20 Ben Wing <ben@xemacs.org>
9895 * *.[ch] (XSETOBJ): remove unused middle argument.
9896 lisp-disunion.h: correct wrap_object() to one argument.
9898 2000-07-15 Ben Wing <ben@xemacs.org>
9901 * s/cygwin32.h (CYGWIN_CONV_PATH):
9902 Add missing logb prototype for v1.1.
9903 Use post-b20 names and alias to pre-b20 names when pre-b20.
9905 * s/windowsnt.h: [5].
9907 2000-07-15 Ben Wing <ben@xemacs.org>
9909 * Makefile.in.in (x_objs):
9910 * Makefile.in.in (sheap_objs):
9911 * Makefile.in.in (objs):
9912 added win32.o, cosmetic cleanups.
9914 * alloc.c (Fmake_byte_code):
9915 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
9916 etc. macros which declare their own args now.
9918 * alloc.c (syms_of_alloc):
9919 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
9922 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
9924 * buffer.c (Fget_file_buffer):
9925 Fixed GCPRO problem.
9927 * buffer.c (get_truename_buffer):
9928 Fixed comment about GC checking.
9930 * buffer.c (syms_of_buffer):
9931 Undeclared those dedicated frame funs.
9935 Define convenience macros for internal/external conversions.
9936 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
9937 and Qenvironment_variable_encoding for cleaner code.
9940 Remove dedicated-frame; in lisp.
9942 * bytecode.c (funcall_compiled_function):
9945 * bytecode.c (syms_of_bytecode):
9949 * console-msw.c (mswindows_show_console): Rewrote.
9951 * console-msw.c (Fmswindows_debugging_output): New.
9952 Sends to OutputDebugString (special MSWin debugger interface).
9954 * console-msw.c (Fmswindows_message_box):
9955 Fixed stupid bugs so it works when called from kill-emacs.
9957 * console-msw.c (syms_of_console_mswindows):
9958 Declare Fmswindows_debugging_output.
9961 New MSWin prototypes.
9963 * console-msw.h (struct mswindows_frame):
9964 New entry last-click-mods for improved button-modifier support.
9966 * console-msw.h (FRAME_MSWINDOWS_POPUP):
9967 New struct entry `popup' with corresponding accessor.
9970 * console-x.c (split_up_display_spec):
9971 * console-x.c (get_display_arg_connection):
9972 * console-x.c (x_semi_canonicalize_console_connection):
9973 * console-x.c (x_canonicalize_device_connection):
9974 [[[6]]]: Change char to more specific type.
9975 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
9977 * console-x.c (x_semi_canonicalize_console_connection):
9978 * console-x.c (x_canonicalize_device_connection):
9979 [[[9]]]: Fix up error signalling to use new structured error system.
9982 [[[4]]]: Define codesys aliases:
9983 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
9984 Qx_color_name_encoding, Qx_display_name_encoding.
9986 * console.h (struct console_methods):
9987 New method make_dialog_box_internal supersedes older
9988 popup_dialog_box method.
9991 Define many new errors, part of new structured errors.
9993 * data.c (init_errors_once_early):
9994 * data.c (syms_of_data):
9997 * device-msw.c (mswindows_init_device):
9998 [[[5]]]: Cleanup to support NT 3.51.
10000 * device-msw.c (decode_devmode): Cleanup.
10002 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10003 * device-msw.c (mswindows_handle_print_dialog_box):
10004 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10005 * device-msw.c (syms_of_device_mswindows):
10006 Delete the dialog box primitives recently introduced by Kirill and
10007 instead interface to general dialog box interface.
10010 * device-x.c (compute_x_app_name):
10011 * device-x.c (x_init_device):
10012 * device-x.c (Fx_valid_keysym_name_p):
10013 * device-x.c (Fx_set_font_path):
10017 * device.h (wrap_device): New.
10018 First of its kind; meant to replace XSETDEVICE.
10020 * dialog-msw.c: Many file-dialog symbols.
10022 * dialog-msw.c (mswindows_register_popup_frame): New.
10023 * dialog-msw.c (mswindows_is_dialog_msg): New.
10024 For supporting kbd traversal in dialog boxes.
10026 * dialog-msw.c (dialog_proc):
10027 Support hitting ESC in dialogs.
10029 * dialog-msw.c (struct):
10030 Common dialog box errors.
10032 * dialog-msw.c (handle_file_dialog_box): New.
10033 Add file dialog code.
10035 * dialog-msw.c (handle_question_dialog_box):
10036 Redo existing code to support new question dialog syntax.
10038 * dialog-msw.c (console_type_create_dialog_mswindows):
10039 We support new dialog console method.
10041 * dialog-msw.c (syms_of_dialog_mswindows):
10042 * dialog-msw.c (vars_of_dialog_mswindows):
10043 New file dialog symbols, vars.
10046 * dialog-x.c (maybe_run_dbox_text_callback):
10047 * dialog-x.c (dbox_descriptor_to_widget_value):
10048 * dialog-x.c (x_make_dialog_box_internal):
10049 * dialog-x.c (console_type_create_dialog_x):
10050 Mule-ize entire file.
10051 Redo to support question dialog syntax.
10055 * dialog.c (Fmake_dialog_box_internal):
10056 * dialog.c (syms_of_dialog):
10057 Kill old popup-dialog-box, replace with new primitive.
10058 Just call device method or signal error.
10060 * eldap.c (Fldap_open):
10061 * eldap.c (Fldap_search_basic):
10062 * eldap.c (Fldap_add):
10063 * eldap.c (Fldap_modify):
10068 * emacs.c (make_arg_list_1):
10069 * emacs.c (make_arg_list):
10070 Mule-ize call to dll_init().
10074 * emacs.c (make_argc_argv):
10075 * emacs.c (free_argc_argv):
10076 * emacs.c (init_cmdargs):
10077 * emacs.c (main_1):
10078 * emacs.c (Fkill_emacs):
10079 * emacs.c (Fdump_emacs):
10080 Update comments about what can be used in syms_* etc.
10081 Call init_win32() when necessary.
10082 Fix up MS Win dialog box in kill-buffer to actually work right.
10093 * eval.c (condition_case_3):
10095 * eval.c (function_argcount):
10096 * eval.c (funcall_lambda):
10099 * eval.c (type_error): New.
10100 * eval.c (maybe_type_error): New.
10101 * eval.c (continuable_type_error): New.
10102 * eval.c (maybe_continuable_type_error): New.
10103 * eval.c (type_error_with_frob): New.
10104 * eval.c (maybe_type_error_with_frob): New.
10105 * eval.c (continuable_type_error_with_frob): New.
10106 * eval.c (maybe_continuable_type_error_with_frob): New.
10107 New functions for use with structured errors.
10110 * event-Xt.c (x_event_to_emacs_event):
10111 Buttons are now modifiers too.
10113 * event-Xt.c (emacs_Xt_current_event_timestamp):
10114 Implement new event method.
10115 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10118 * event-msw.c (ntpipe_shove_writer): [5].
10119 * event-msw.c (mswindows_enqueue_mouse_button_event):
10120 * event-msw.c (mswindows_drain_windows_queue):
10121 * event-msw.c (mswindows_wnd_proc): [7].
10122 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10123 * event-msw.c (mswindows_modifier_state):
10124 Throughout: support new button modifiers.
10126 * event-msw.c (emacs_mswindows_current_event_timestamp):
10127 Implement new event method.
10128 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10131 * event-stream.c (event_stream_current_event_timestamp): New.
10132 * event-stream.c (maybe_kbd_translate): New functionality.
10133 * event-stream.c (vars_of_event_stream):
10134 Document new kbd-translate-table functionality.
10136 * event-stream.c (Fcurrent_event_timestamp): New.
10137 New primitive for use in fabricated events.
10138 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10140 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10143 * events.c (Fmake_event):
10144 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10148 * events.c (format_event_object): fix gcc warnings.
10150 * events.c (Fevent_timestamp): Document new primitives.
10152 * events.c (TIMESTAMP_HALFSPACE): New.
10154 * events.c (Fevent_timestamp_lessp): New. New primitive for
10155 comparing timestamps correctly (half-space algorithm).
10157 * events.c (Fevent_modifier_bits): Doc fix.
10159 * events.c (Fevent_modifiers): Major doc addition.
10160 * events.c (event_x_y_pixel_internal): Typo fix.
10161 * events.c (syms_of_events): Declare new primitives.
10164 Update long comment for button modifiers, timestamps.
10166 * events.h (struct event_stream):
10167 New current_event_timestamp method.
10170 * extents.c (extent_in_region_p):
10171 * extents.c (decode_extent):
10172 * extents.c (Fset_extent_parent):
10173 * extents.c (decode_map_extents_flags):
10177 * extents.c (struct extent_at_arg):
10178 * extents.c (decode_extent_at_flag):
10179 * extents.c (extent_at_mapper):
10180 * extents.c (extent_at_bytind):
10181 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10182 * extents.c (Fextents_at): New primitive. [9].
10183 * extents.c (symbol_to_glyph_layout): [9].
10184 Support new primitive `extents-at'.
10187 * extents.c (get_text_property_bytind):
10188 extent_at_bytind has another arg.
10191 * extents.c (syms_of_extents): New primitive.
10193 * file-coding.c (Fmake_coding_system): [1].
10194 * file-coding.c (subsidiary_coding_system): fix gcc warning
10195 * file-coding.c (syms_of_file_coding): [2].
10197 * fileio.c (Fexpand_file_name):
10198 * fileio.c (Fsysnetunam):
10199 * fileio.c (Ffile_exists_p):
10200 * fileio.c (Ffile_executable_p):
10201 * fileio.c (Fverify_visited_file_modtime):
10204 * fileio.c (syms_of_fileio): [2].
10206 * filelock.c (lock_file_1):
10207 * filelock.c (current_lock_owner):
10208 * filelock.c (lock_if_free):
10209 * filelock.c (lock_file):
10210 * filelock.c (unlock_file):
10213 * fns.c (concat): Fix gcc warning.
10216 * fns.c (Fold_member):
10218 * fns.c (Fold_memq):
10219 * fns.c (memq_no_quit):
10221 * fns.c (Fold_assoc):
10223 * fns.c (Fold_assq):
10224 * fns.c (assq_no_quit):
10226 * fns.c (Fold_rassoc):
10228 * fns.c (Fold_rassq):
10229 * fns.c (rassq_no_quit):
10231 * fns.c (Fold_delete):
10233 * fns.c (Fold_delq):
10234 * fns.c (delq_no_quit):
10235 * fns.c (Fremassoc):
10236 * fns.c (Fremassq):
10237 * fns.c (remassq_no_quit):
10238 * fns.c (Fremrassoc):
10239 * fns.c (Fremrassq):
10240 * fns.c (remrassq_no_quit):
10241 * fns.c (Freverse):
10245 * frame-msw.c (mswindows_init_frame_1):
10246 * frame-msw.c (mswindows_delete_frame):
10247 Register popups with dialog code so keyboard traversing works.
10249 * frame-tty.c (tty_raise_frame_no_select): [1].
10252 * frame-x.c (x_set_frame_text_value):
10253 * frame-x.c (x_set_frame_properties):
10254 * frame-x.c (x_create_widgets):
10258 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10260 * frame.h (wrap_frame): New.
10261 Macro like wrap_device.
10264 * general.c (SYMBOL):
10265 * general.c (syms_of_general):
10266 Major reorg. This is now just a wrapper and symbols themselves
10267 are listed in general-slots.h.
10269 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10270 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10272 * glyphs-msw.c (mswindows_native_layout_instantiate):
10273 Add DS_CONTROL so keyboard traversal will work.
10276 * glyphs-widget.c (syms_of_glyphs_widget):
10277 Move some symbols to general-slots.h.
10280 * glyphs-x.c (xbm_instantiate_1):
10281 * glyphs-x.c (x_xbm_instantiate):
10282 * glyphs-x.c (x_xface_instantiate):
10283 * glyphs-x.c (autodetect_instantiate):
10284 * glyphs-x.c (cursor_font_instantiate):
10285 * glyphs-x.c (x_update_widget):
10286 * glyphs-x.c (x_widget_instantiate):
10287 * glyphs.c (bitmap_to_lisp_data):
10288 * glyphs.c (pixmap_to_lisp_data):
10291 * glyphs.c (syms_of_glyphs):
10295 * gui-x.c (print_widget_value):
10296 * gui-x.c (menu_separator_style_and_to_external):
10297 * gui-x.c (add_accel_and_to_external):
10298 * gui-x.c (button_item_to_widget_value):
10299 * gui-x.c (gui_items_to_widget_values_1):
10300 * gui-x.c (gui_items_to_widget_values):
10301 * gui-x.c (syms_of_gui_x):
10302 * gui-x.c (vars_of_gui_x):
10303 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10307 Muleize, prototype changes matching gui-x.c.
10310 * gui.c (separator_string_p):
10311 * gui.c (gui_item_add_keyval_pair):
10312 * gui.c (make_gui_item_from_keywords_internal):
10313 * gui.c (signal_too_long_error):
10314 * gui.c (parse_gui_item_tree_item):
10315 * gui.c (syms_of_gui):
10316 * gui.c (vars_of_gui):
10318 menu-no-selection-hook moved here (used by MSWin).
10319 Move some symbols to general-slots.h.
10323 * insdel.c (get_buffer_pos_char):
10324 * insdel.c (get_buffer_range_char):
10327 * keymap.c (keymap_lookup_directly):
10328 * keymap.c (keymap_store):
10329 * keymap.c (ensure_meta_prefix_char_keymapp):
10330 * keymap.c (describe_map):
10332 Support new button modifiers.
10334 * lisp-disunion.h (wrap_object):
10335 * lisp-disunion.h (XSETOBJ):
10336 Rename make_obj to wrap_object.
10339 * lisp-union.h (make_int):
10340 * lisp-union.h (make_char):
10341 Support wrap_object.
10344 * lisp.h (LIST_LOOP):
10345 * lisp.h (EXTERNAL_LIST_LOOP):
10346 * lisp.h (LIST_LOOP_2):
10347 * lisp.h (EXTERNAL_LIST_LOOP_1):
10348 * lisp.h (EXTERNAL_LIST_LOOP_2):
10349 * lisp.h (EXTERNAL_LIST_LOOP_3):
10350 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10351 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10352 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10353 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10354 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10355 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10356 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10357 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10358 * lisp.h (struct Lisp_Symbol):
10359 * lisp.h (maybe_continuable_error_with_frob):
10360 Fix up section comments.
10361 Add new types for char to indicate usage.
10362 Delete symbols auto-generated from general-slots.h.
10363 Add prototypes for structured error functions.
10364 Add long comments describing looping macros and change interface
10365 so that lvalues are automatically declared.
10366 Add NO_DECLARE macro in case callers want to declare lvalues
10369 * lread.c (read_syntax_error):
10370 * lread.c (continuable_read_syntax_error):
10371 * lread.c (read_structure):
10372 * lread.c (sequence_reader):
10373 * lread.c (read_list_conser):
10374 * lread.c (read_compiled_function):
10375 Rename syntax_error and continuable_syntax_error to avoid clash
10376 with same-named structured error functions.
10378 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10379 * menubar-msw.c (populate_menu_add_item):
10380 * menubar-msw.c (populate_or_checksum_helper):
10385 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10386 Mule-ize whole file.
10388 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10390 * mule-charset.c (Fmake_charset):
10391 * mule-wnnfns.c (Fwnn_set_param):
10394 * ntproc.c (create_child):
10395 * ntproc.c (Fwin32_set_current_locale):
10396 Add comments portending doom.
10399 * objects-msw.c (old_font_enum_callback_2):
10400 * objects-msw.c (font_enum_callback_1):
10401 * objects-msw.c (mswindows_enumerate_fonts):
10405 * objects-x.c (allocate_nearest_color):
10406 * objects-x.c (x_parse_nearest_color):
10407 * objects-x.c (x_initialize_color_instance):
10408 * objects-x.c (x_print_color_instance):
10409 * objects-x.c (x_finalize_color_instance):
10410 * objects-x.c (x_valid_color_name_p):
10411 * objects-x.c (x_initialize_font_instance):
10412 * objects-x.c (x_print_font_instance):
10413 * objects-x.c (valid_x_font_name_p):
10414 * objects-x.c (truename_via_FONT_prop):
10415 * objects-x.c (truename_via_random_props):
10416 * objects-x.c (truename_via_XListFonts):
10417 * objects-x.c (x_font_truename):
10418 * objects-x.c (x_font_instance_truename):
10419 * objects-x.c (x_font_instance_properties):
10420 * objects-x.c (x_list_fonts):
10421 * objects-x.c (x_find_charset_font):
10422 Mule-ize entire file.
10429 * print.c (std_handle_out_external):
10430 * print.c (debug_print_no_newline):
10431 * print.c (syms_of_print):
10432 Output to all debugger kinds in debug-print.
10433 Fix console-output code under MSWin to actually work.
10435 * process-nt.c (send_signal):
10436 * process-nt.c (nt_create_process):
10437 Use newer Unicode macros.
10439 * process-unix.c (unix_create_process):
10440 * process-unix.c (unix_canonicalize_host_name):
10441 * process-unix.c (unix_open_network_stream):
10447 * search.c (syms_of_search):
10450 * select-msw.c (mswindows_destroy_selection):
10453 * select-x.c (symbol_to_x_atom):
10456 * select.c (syms_of_select):
10459 * sound.c (Fplay_sound_file):
10463 * specifier.c (decode_specifier_type):
10464 * specifier.c (Fvalid_specifier_locale_type_p):
10465 * specifier.c (check_valid_locale_or_locale_type):
10466 * specifier.c (decode_locale):
10467 * specifier.c (decode_locale_type):
10468 * specifier.c (decode_locale_list):
10469 * specifier.c (check_valid_domain):
10470 * specifier.c (decode_specifier_tag_set):
10471 * specifier.c (Fcanonicalize_tag_set):
10472 * specifier.c (Fdefine_specifier_tag):
10473 * specifier.c (Fspecifier_tag_predicate):
10474 * specifier.c (check_valid_inst_list):
10475 * specifier.c (check_valid_spec_list):
10476 * specifier.c (decode_how_to_add_specification):
10477 * specifier.c (check_modifiable_specifier):
10478 * specifier.c (specifier_add_spec):
10479 * specifier.c (boolean_validate):
10480 * specifier.c (display_table_validate):
10483 * specifier.c (syms_of_specifier):
10484 Move some symbols to general-slots.h.
10488 * symbols.c (Fmapatoms):
10489 * symbols.c (Fapropos_internal):
10492 * symbols.c (set_default_buffer_slot_variable):
10493 * symbols.c (set_default_console_slot_variable):
10496 * symbols.c (defsymbol_massage_name_1):
10497 * symbols.c (defkeyword_massage_name):
10498 * symbols.c (deferror_1):
10499 * symbols.c (deferror):
10500 * symbols.c (deferror_massage_name_and_message):
10502 * symeval.h (DEFSYMBOL):
10503 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10505 * symbols.c (syms_of_symbols):
10509 * symsinit.h (init_win32): New.
10510 Also new is syms_of_dialog_mswindows.
10513 Add new Unicode macros, missing Cygwin wide-char functions,
10514 convenience conversion macros for Qmswindows_tstr, macros for
10515 encapsulating required MSWin <-> Cygwin filename conversions,
10516 prototype for dynamically-extracted (not in NT 3.51) functions.
10521 * tooltalk.c (Fadd_tooltalk_message_arg):
10522 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10523 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10526 * tooltalk.c (syms_of_tooltalk):
10530 * unexnt.c (unexec):
10531 Fix up headers, declaration of unexec() to be more standard.
10533 2000-07-20 Martin Buchholz <martin@xemacs.org>
10535 * offix.h: Revert change to guard macros - they're used in offix.c!
10537 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10539 * lisp.h: Defsubred Fdelete.
10541 * console-msw.h: (msprinter_default_printer): Added.
10543 * console-msw.c (msprinter_canonicalize_console_connection):
10544 (msprinter_canonicalize_device_connection): Added.
10546 * device-msw.c (msprinter_default_printer):
10547 (Fmswingows_get_default_printer):
10548 (signal_enum_priner_error):
10549 (Fmswingows_printer_list): Added.
10551 2000-07-19 Martin Buchholz <martin@xemacs.org>
10553 * XEmacs 21.2.35 is released.
10555 2000-07-19 Martin Buchholz <martin@xemacs.org>
10557 * select-x.c (x_handle_selection_request):
10558 Text selected in xemacs and pasted into xterm failed to appear.
10559 Spelling fixes and cosmetic changes.
10561 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10563 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10564 XEmacs frame (fix for doubling chars in dialog boxes).
10566 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10568 * select.c (select_convert_in, select_convert_out):
10569 Don't call intern() every time.
10571 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10572 * select.c (vars_of_select): Initialise them.
10574 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10576 * select.c (selection-coercible-types): New.
10578 * select.c (own-selection-internal):
10579 * select.c (get-selection-internal):
10580 MULE bug fix - these should default to COMPOUND_TEXT and not
10581 STRING for MULE. I think.
10583 * select.c (select_convert_out): Use selection-coercible-types
10584 to find types that we can attempt to perform coercions on.
10586 2000-07-18 Martin Buchholz <martin@xemacs.org>
10590 Add coding: cookie to identify encoding.
10592 * mule-canna.c (CANNA_mode_keys): make static.
10593 Use proper prototypes, even for functions of no arguments.
10594 Remove external prototype for Fding().
10596 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10598 * select.c (syms_of_select): Add missing DEFSUBR.
10600 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10602 * select.c (get_selection_internal, own_selection_internal):
10603 Make the type default to STRING, rather than placing a nil type
10604 into Vselection_alist.
10606 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10608 * gpmevent.c (tty_selection_exists_p):
10609 * gpmevent.c (tty_own_selection):
10610 Updated parameter lists.
10612 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10614 * select.h (selection-alist): Removed declaration.
10616 * select.h (get_local_selection):
10617 * select.c (get_local_selection):
10620 * select.h (convert_selection): Removed declaration.
10621 * select.c (convert_selection): Removed.
10622 This function belongs in Lisp.
10624 * select.h (select_convert_in): Declare.
10625 * select.h (select_convert_out): Declare.
10626 * select.c (select_convert_in): New.
10627 * select.c (select_convert_out): New.
10628 New conversion functions for other files to call.
10630 * select.h (select_notify_buffer_kill): Declare.
10631 * select.c (select_notify_buffer_kill): New.
10632 New functions that get called from kill-buffer.
10634 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10635 X-specific lisp code.
10637 * select.h: Declare some of the lisp-visible functions for
10640 * select.c (clean_local_selection_data): Removed. This was
10641 a disgusting function, and previously should have been in
10642 select-x.c in any case. The functionality is now provided
10643 in select-convert-from-integer (select.el).
10645 * select.c (available-selection-types): Fixed stupidity where
10646 INTEGER and ATOM got added twice. Also add STRING when we see an
10649 * select.c (get-selection-internal): Removed symbol stripping. No
10650 longer causes conversion when data comes from the internal cache.
10652 * select.c (syms_of_select): Added new functions.
10654 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10655 error checking - previously this called abort!
10657 * select-x.c (x_own_selection): Changed comment.
10659 * select-x.c (x_handle_selection_request): Use select_convert_out.
10660 Don't mess with selection-alist; it's an internal variable of select.c.
10662 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10664 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10665 rather than messing with selection-alist.
10667 * select-msw.c (mswindows_get_foreign_selection):
10668 Use TO_INTERNAL_FORMAT rather than hacking.
10670 2000-07-14 Martin Buchholz <martin@xemacs.org>
10672 * process-unix.c (unix_open_multicast_group):
10673 (unix_open_multicast_group): Remove useless casts.
10675 2000-07-13 Martin Buchholz <martin@xemacs.org>
10677 * sound.c (Fplay_sound): Fix `unused variable' warning.
10679 * emacs.c (main): Use correct type for _environ on SCO5.
10681 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10683 * console.h (own_selection_method):
10684 * console.h (selection_exists_p_method):
10685 * console.h (available_selection_types_method): New.
10686 * console.h (register_selection_data_type_method): New.
10687 * console.h (selection_data_type_name): New.
10689 * console-msw.h (mswindows_destroy_selection): Declare it. New
10690 function & alist to track GlobalAlloc()'d handles that need
10691 releasing when the clipboard data gets replaced or emptied.
10693 * event-msw.c (mswindows_wnd_proc): Call it.
10695 * lisp.h, general.c (Qappend): New symbol representing a
10698 * select.c (own-selection-internal):
10699 * select.c (selection-exists-p):
10700 * select.c (available-selection-types): New.
10701 * select.c (register-selection-data-type): New.
10702 * select.c (selection-data-type-name): New. New functions to deal
10703 with device-specific selection data formats.
10704 * select.c (selection-converter-out-alist): Renamed.
10705 * select.c (selection-converter-in-alist): New.
10706 * select.c (selection-appender-alist): New. Added new alists.
10707 * select.c (syms_of_select, vars_of_select): Added new symbols &
10709 * select.c (get_local_selection): Split.
10710 * select.c: Removed spurious type checking - selections may now be
10711 of any type, not just strings.
10712 * select.c (own-selection-internal):
10714 * select.h, select.c (convert_selection): New. Created
10715 convert_selection() function based on get_local_selection().
10716 * select.h, select.c (QCF_*): New symbols representing mswindows
10718 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10719 symbols representing `how-to-add' modes.
10721 * select-msw.c (x_sym_p): New.
10722 * select-msw.c (symbol_to_ms_cf): New.
10723 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10724 symbols & clipboard formats. Can also handle string names.
10725 * select-msw.c (mswindows_own_selection):
10726 * select-msw.c (mswindows_selection_exists_p):
10727 Added `data-type' parameter. Use it.
10728 * select-msw.c (mswindows_available_selection_types): New.
10729 * select-msw.c (mswindows_register_selection_data_type): New.
10730 * select-msw.c (mswindows_selection_data_type_name): New.
10731 * select-msw.c (mswindows_own_selection):
10732 * select-msw.c (mswindows_get_foreign_selection):
10733 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10734 * select-msw.c (console_create_select_mswindows): Added new methods.
10735 * select-msw.c (mswindows_destroy_selection): New.
10736 * select-msw.c (Vhandle_alist): New list.
10737 * select-msw.c (mswindows_own_selection):
10739 * select-x.c (x_own_selection):
10740 * select-x.c (x_selection_exists_p):
10741 * select-x.c: Added some comments about maybe using new
10743 * select-x.c (x_own_selection):
10745 * specifier.c: Remove definition of Qappend (now in general.c)
10746 * specifier.c (syms_of_specifier): Remove Qappend.
10748 2000-07-12 Martin Buchholz <martin@xemacs.org>
10750 * config.h.in: Add socklen_t.
10752 * s/decosf4-0.h: No special compiler flags needed or desired.
10753 In particular, undefine _BSD for DEC OSF 4.0.
10755 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10757 * redisplay-msw.c (msprinter_frame_output_end): Added.
10758 (console_type_create_redisplay_mswindows): Referred the above.
10760 * frame.c (setup_frame_without_minibuffer): Do not create a
10761 default minibuffer frame on a printer device.
10763 * frame-msw.c (apply_dc_geometry): Added.
10764 (msprinter_start_page):
10765 (msprinter_init_frame_3):
10766 (msprinter_eject_page): Use it.
10768 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10769 and removed residual duplex and orientation properties.
10771 2000-07-11 Martin Buchholz <martin@xemacs.org>
10773 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10775 * unexalpha.c: Remove system prototypes from C sources!
10777 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10779 * eval.c: Remove references to M-x edit-options in DEFUNs for
10780 `defvar' and `defconst'.
10782 2000-07-09 Martin Buchholz <martin@xemacs.org>
10784 * config.h.in: Remove SMART_INCLUDE hackery.
10786 PostgreSQL hacking:
10787 * config.h.in: Don't use SMART_INCLUDE.
10789 * postgresql.h: Include libpq-fe.h here. Fix typo.
10790 * inline.c: Simply #include "postgresql.h"
10792 - Don't use SMART_INCLUDE
10793 - Use simply "const".
10794 - Use standard doc string conventions.
10795 - Use correct type for result of PQstatus.
10797 2000-07-09 Martin Buchholz <martin@xemacs.org>
10799 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10801 C++ compilation changes.
10802 * config.h.in (EXTERN_C): Define.
10803 * config.h.in (not): This is also a C++ keyword.
10804 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10805 * cm.c: Use EXTERN_C.
10806 * redisplay-tty.c: Use EXTERN_C.
10807 * sysdep.c: Use EXTERN_C. Remove Gould support.
10809 2000-07-09 Martin Buchholz <martin@xemacs.org>
10811 * general.c: Remove duplicate definition for Qfunction.
10813 2000-07-08 Ben Wing <ben@xemacs.org>
10815 * device-msw.c (msprinter_init_device):
10816 * device-msw.c (sync_printer_with_devmode):
10817 * device-msw.c (handle_devmode_changes):
10818 * device-msw.c (print_dialog_worker):
10819 * device-msw.c (Fmsprinter_apply_settings):
10820 * device-msw.c (hash_devmode):
10821 * device-msw.c (Fmsprinter_settings_despecialize):
10822 use Qmswindows_tstr, not Qctext.
10824 * vm-limit.c (check_memory_limits):
10825 avoid infinite loop printing warning messages.
10827 2000-07-05 Craig Lanning <lanning@scra.org>
10829 * Makefile.in.in: Add support for including the Windows resources
10830 when building with the cygwin and mingw targets.
10832 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10833 not set or not correct.
10834 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10835 (init_initial_directory): Don't try to use $PWD on the
10836 WIN32_NATIVE target.
10839 [[Add -mwindows to eliminate console window.]] not required --ben
10840 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10841 (MAIL_USE_POP): removed; now handled by configure.
10843 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10844 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10845 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10846 (MAIL_USE_POP): removed; now handled by configure.
10847 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10848 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10849 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10851 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10852 up from <winsock.h> via systime.h.
10853 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10854 (getpagesize): from Dan Holmsand, added.
10855 Added #endif which was left dangling by Ben's mega patch; added
10856 comment to help prevent this in the future.
10858 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10860 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10862 * console-msw.h (struct mswindows_device): Removed unnecessary
10863 cached device geometry values.
10864 Added update_tick and an accessor macro.
10865 (Lisp_Devmode): Added lrecord declaration.
10866 (struct msprinter_device): Contain devmode as a Lisp object.
10867 Added mswindows_get_selected_frame_hwnd();
10869 * console.h (struct console_methods): Indentation nitpicking.
10871 * device-msw.c (mswindows_init_device): Do not initialize geometry
10872 cache. Initialize update tick.
10873 (mswindows_device_system_metrics): Ask the device for its geometry.
10874 (global_free_2_maybe):
10875 (devmode_to_hglobal):
10876 (handle_printer_changes):
10877 (ensure_not_printing):
10878 (print_dialog_worker):
10879 (Fmsprinter_print_setup_dialog):
10880 (Fmsprinter_print_dialog):
10881 (plist_get_margin):
10882 (plist_set_margin):
10883 (Fmsprinter_page_setup_dialog): Added functions.
10884 (sync_printer_with_devmode):
10885 (handle_devmode_changes):
10886 (Fmsprinter_get_settings):
10887 (Fmsprinter_select_settings):
10888 (Fmsprinter_apply_settings):
10889 (allocate_devmode):
10890 (Fmsprinter_settings_copy):
10891 (Fmsprinter_settings_despecialize):
10893 (finalize_devmode):
10895 (hash_devmode): Added functions
10896 (syms_of_device_mswindows): Init devmode lrecord class.
10898 * device.h: Added an exfun for find-device.
10900 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10901 geometry; although, recreate the device compatible DC.
10903 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10904 (msprinter_init_frame_3):
10905 (msprinter_frame_property):
10906 (msprinter_internal_frame_property_p):
10907 (msprinter_frame_properties):
10908 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10909 print job properties (will move to device settings).
10911 * lisp.h: Added symbols.
10913 * general.c (syms_of_general): Declared them.
10915 * hash.c (string_hash): Added.
10917 * lrecord.h (lrecord_type): Added devmode lrecord type.
10919 2000-07-02 Mike Sperber <mike@xemacs.org>
10921 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
10924 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
10926 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
10929 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
10931 * data.c (Fstring_to_number): Don't recognize floating point if
10934 2000-06-22 Martin Buchholz <martin@xemacs.org>
10936 * glyphs-widget.c (tab_control_query_geometry):
10937 (widget_query_geometry):
10938 (button_query_geometry):
10939 * glyphs.c (text_query_geometry):
10940 Enforce type correctness.
10942 2000-06-18 Martin Buchholz <martin@xemacs.org>
10944 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
10945 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
10947 2000-06-17 Martin Buchholz <martin@xemacs.org>
10949 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
10950 conflicts with gcc's fixincluded version of FOO.h.
10952 * glyphs.h (image_instance_geometry): Remove trailing `,'
10954 2000-06-08 Mike Alexander <mta@arbortext.com>
10956 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
10957 (shove_thread): Don't write the same output twice
10958 (make_ntpipe_output_stream): Increase priority of shove thread
10959 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
10961 (ntpipe_shove_closer): Don't delete the pipe until we're done with
10964 2000-06-12 Ben Wing <ben@xemacs.org>
10966 * s\mingw32.h (sigset):
10967 * s\windowsnt.h (sigset):
10968 rename msw_ to mswindows_ for consistency with general convention.
10970 2000-06-12 Ben Wing <ben@xemacs.org>
10973 * console-msw.c (mswindows_get_console_hwnd):
10974 * console-msw.c (mswindows_ensure_console_allocated):
10975 * console-msw.c (mswindows_hide_console):
10976 * console-msw.c (mswindows_show_console):
10977 * console-msw.c (mswindows_ensure_console_buffered):
10978 * console-msw.c (mswindows_output_console_string):
10979 * console-msw.c (mswindows_windows9x_p):
10981 * device-msw.c (mswindows_get_workspace_coords):
10982 * device-msw.c (mswindows_device_system_metrics):
10983 * dialog-msw.c (mswindows_popup_dialog_box):
10984 * event-msw.c (mswindows_wnd_proc):
10985 * frame-msw.c (mswindows_size_frame_internal):
10986 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10987 * menubar-msw.c (displayable_menu_item):
10988 * menubar-msw.c (mswindows_char_is_accelerator):
10990 * nt.c (mswindows_sigset):
10991 * nt.c (mswindows_sigrelse):
10992 * nt.c (mswindows_sigpause):
10993 * nt.c (mswindows_raise):
10994 * nt.c (timer_proc):
10996 * ntproc.c (find_child_console):
10997 * ntproc.c (sys_kill):
10999 * print.c (std_handle_out_external):
11000 * process-nt.c (find_child_console):
11001 * process-nt.c (send_signal_the_95_way):
11002 * process-nt.c (ensure_console_window_exists):
11003 * process-nt.c (nt_create_process):
11005 rename msw_ to mswindows_ for consistency with general convention.
11009 include nt.h, not syswindows.h.
11011 * nt.c (mswindows_fstat):
11012 * nt.c (mswindows_stat):
11013 prefix mswindows_ instead of attempting to directly override the
11014 library functions. fix declarations.
11017 include syswindows.h. move some sysdep.h stuff here.
11020 include syswindows.h, not <windows.h>.
11028 * sysdep.c (sys_fstat):
11029 * sysdep.c (sys_stat):
11030 call mswindows versions when appropriate.
11033 move mswin decls to nt.h.
11036 add long comment describing appropriate use of the various windows
11039 2000-06-11 Ben Wing <ben@xemacs.org>
11041 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11043 2000-06-10 Ben Wing <ben@xemacs.org>
11045 * Makefile.in.in (release):
11046 Correction to make sure xemacs.exe always dumped when correct.
11050 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11052 * buffer.c (set_buffer_internal):
11053 [[[[2]]]]: Remove HAVE_FEP code.
11055 * buffer.c (init_initial_directory):
11059 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11063 * callproc.c (call_process_cleanup):
11064 * callproc.c (Fold_call_process_internal):
11065 * callproc.c (child_setup):
11066 * callproc.c (getenv_internal):
11067 * callproc.c (init_callproc):
11068 * callproc.c (vars_of_callproc):
11069 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11070 __CYGWIN32__ -> CYGWIN.
11071 DOS_NT -> WIN32_NATIVE.
11072 Remove MSDOS support/references, converting to WIN32_NATIVE
11074 __MINGW32__ -> MINGW.
11075 Fix windows.h includes.
11076 Remove bogus HAVE_NTGUI.
11082 mswindows_message_outputted added for use in allowing startup
11083 errors on the console to be seen.
11085 * console-msw.c (msw_ensure_console_allocated):
11086 * console-msw.c (msw_output_console_string):
11087 * console-msw.c (DHEADER):
11088 * console-msw.c (DOPAQUE_DATA):
11089 * console-msw.c (DEVENT):
11090 * console-msw.c (DCONS):
11091 * console-msw.c (DCONSCDR):
11092 * console-msw.c (DSTRING):
11093 * console-msw.c (DVECTOR):
11094 * console-msw.c (DSYMBOL):
11095 * console-msw.c (DSYMNAME):
11098 * console-stream.c (stream_init_console):
11099 Fix text/binary problems.
11102 * device-msw.c (mswindows_finish_init_device):
11103 * device-msw.c (mswindows_delete_device):
11106 * device.c (handle_asynch_device_change):
11110 * dgif_lib.c (DGifOpenFileName):
11111 * dgif_lib.c (DGifOpenFileHandle):
11112 * dgif_lib.c (DGifGetLine):
11113 * dgif_lib.c (DGifGetPixel):
11114 Added config.h/lisp.h, fix up includes.
11121 * dired.c (file_name_completion):
11122 * dired.c (Ffile_attributes):
11123 * dired.c (syms_of_dired):
11127 * dumper.c (pdump_file_unmap):
11128 * dumper.c (pdump_load):
11132 * editfns.c (Ftemp_directory):
11133 * editfns.c (user_login_name):
11134 * editfns.c (Fuser_real_login_name):
11135 * editfns.c (get_home_directory):
11138 * elhash.c (finish_marking_weak_hash_tables):
11139 [[[[5]]]]: Fix GCC warnings.
11142 * emacs.c (mswindows_handle_hardware_exceptions):
11143 * emacs.c (make_arg_list_1):
11144 * emacs.c (main_1):
11145 * emacs.c (Fkill_emacs):
11146 * emacs.c (Fdump_emacs):
11148 Fix problems with nested crashes, add long comment.
11150 * event-Xt.c (init_event_Xt_late):
11154 * event-msw.c (mswindows_dde_callback):
11155 * event-msw.c (mswindows_handle_sticky_modifiers):
11156 * event-msw.c (mswindows_wnd_proc):
11160 * events.c (character_to_event):
11164 * fileio.c (Ffile_name_directory):
11165 * fileio.c (Ffile_name_nondirectory):
11166 * fileio.c (directory_file_name):
11167 * fileio.c (Fexpand_file_name):
11168 * fileio.c (Fsubstitute_in_file_name):
11169 * fileio.c (Ffile_name_absolute_p):
11170 * fileio.c (check_executable):
11171 * fileio.c (Ffile_readable_p):
11172 * fileio.c (Ffile_accessible_directory_p):
11173 * fileio.c (Ffile_modes):
11174 * fileio.c (Funix_sync):
11175 * fileio.c (vars_of_fileio):
11178 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11180 Expand getdefdir defn.
11181 Fix bogus rename() comment.
11183 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11184 to use standard XEmacs include files, e.g. sysfile.h, rather
11185 than system-specific includes.
11191 * frame.c (vars_of_frame):
11195 * getloadavg.c (getloadavg):
11197 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11198 (We don't use it elsewhere in the code; just add a comment.)
11205 * glyphs-msw.c (mswindows_resource_instantiate):
11208 * glyphs-x.c (x_native_layout_instantiate):
11211 * gui-msw.c (Fmswindows_shell_execute):
11220 * lread.c (locate_file_in_directory_mapper):
11227 * mem-limits.h (get_lim_data):
11239 * nt.c (rva_to_section):
11240 * nt.c (mswindows_executable_type):
11242 Fix closedir() defn.
11245 [[[[8]]]]: *_OK defs moved to sysfile.h.
11254 * print.c (std_handle_out_external):
11258 * process-nt.c (nt_create_process):
11260 try to fix process quoting somewhat.
11262 * process-unix.c (unix_create_process):
11266 * process.c (vars_of_process):
11273 * realpath.c (xrealpath):
11276 * redisplay-tty.c (init_tty_for_redisplay):
11286 * sheap.c (more_static_core):
11287 * sheap.c (report_sheap_usage):
11291 * signal.c (alarm_signal):
11298 * strftime.c (zone_name):
11301 * symsinit.h (init_sunpro):
11305 commctrl.h not in Cygwin b20.1.
11308 * sysdep.c (endif):
11309 * sysdep.c (sys_subshell):
11310 * sysdep.c (init_baud_rate):
11311 * sysdep.c (emacs_get_tty):
11312 * sysdep.c (emacs_set_tty):
11313 * sysdep.c (tty_init_sys_modes_on_device):
11314 * sysdep.c (init_system_name):
11315 * sysdep.c (sys_open):
11316 * sysdep.c (interruptible_open):
11317 * sysdep.c (sys_fopen):
11318 * sysdep.c (sys_mkdir):
11319 * sysdep.c (sys_rename):
11320 * sysdep.c (get_process_times_1):
11327 * sysdir.h (DIRENTRY_NONEMPTY):
11330 * sysdll.c (dll_init):
11336 added text/binary defs.
11342 * sysproc.h (EDESTADDRREQ):
11343 * sysproc.h (poll_fds_for_input):
11360 Always define WIN32_LEAN_AND_MEAN.
11362 * unexcw.c (unexec):
11366 * unexec.c (copy_text_and_data):
11367 * unexec.c (adjust_lnnoptrs):
11371 * unexnt.c (_start):
11374 2000-06-07 Ben Wing <ben@xemacs.org>
11376 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11377 was used only as a model. We've long since extracted any useful
11378 logic or code out of this. (I just did an exhaustive search.)
11380 * s\msdos.h: Removed.
11382 * s\windows95.h: Removed.
11384 2000-06-10 Ben Wing <ben@xemacs.org>
11388 Don't use extern with fun defs.
11392 Remove nt\inc include.
11393 Remove getdisk, getdefdir. (The former is unused, the latter
11394 expanded in fileio.h.)
11397 * s\windowsnt.h (WIN32_NATIVE):
11398 * s\windowsnt.h (HAVE_STRCASECMP):
11400 Add long comment about preprocessor changes.
11401 Remove getdisk, getdefdir. (The former is unused, the latter
11402 expanded in fileio.h.)
11404 2000-06-10 Ben Wing <ben@xemacs.org>
11413 Remove bogus/unused NO_SOCK_SIGIO.
11415 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11417 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11420 2000-06-04 Mike Sperber <mike@xemacs.org>
11422 * casetab.c (set_case_table): For `set-standard-case-table',
11423 actually deposit the new case tables where the rest of XEmacs can
11426 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11428 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11430 2000-06-05 Ben Wing <ben@xemacs.org>
11432 * callproc.c (child_setup): Don't do close_load_descs() under
11433 MS Windows. Put in a comment explaining why.
11435 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11437 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11438 Toolkit shell" which breaks `kill-compilation' on Windows NT
11439 native, retaining STDERR handling improvements.
11441 2000-06-01 Andreas Jaeger <aj@suse.de>
11443 * s/s390.h: Support for S390, based on a patch by Martin
11444 Schwidefsky <schwidefsky@de.ibm.com>.
11446 2000-05-30 Andy Piper <andy@xemacs.org>
11448 * window.c (allocate_window):
11449 (make_dummy_parent):
11450 (Fset_window_configuration): use new hashtable type.
11452 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11453 (struct image_instantiator_methods):
11454 (struct Lisp_Image_Instance): make instance geometry signed.
11456 * glyphs.c (instantiate_image_instantiator):
11457 (image_instance_query_geometry):
11458 (image_instance_layout):
11459 (image_instance_layout):
11460 (query_string_geometry):
11461 (text_query_geometry):
11462 (image_instantiate):
11463 (image_instantiate):
11464 (cache_subwindow_instance_in_frame_maybe):
11465 (subwindow_query_geometry): make instance geometry signed.
11467 * glyphs-widget.c (widget_query_geometry):
11469 (button_query_geometry):
11470 (tree_view_query_geometry):
11471 (tab_control_query_geometry):
11472 (layout_query_geometry):
11474 (native_layout_layout): make instance geometry signed.
11476 2000-05-29 Olivier Galibert <galibert@pobox.com>
11478 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11481 * general.c (syms_of_general): Add Qfull_assoc symbol.
11483 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11485 (decode_weak_list_type): Decode full-assoc type.
11486 (encode_weak_list_type): Encode full-assoc type.
11487 (Fmake_weak_list): Update doc string.
11489 2000-05-30 Andy Piper <andy@xemacs.org>
11491 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11493 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11494 (decode_hash_table_weakness): ditto.
11495 (Fhash_table_weakness): ditto.
11496 (Fhash_table_type): ditto.
11497 (finish_marking_weak_hash_tables): ditto.
11498 (hash_table_weakness_validate): ditto.
11499 (syms_of_elhash): ditto.
11501 2000-05-28 Martin Buchholz <martin@xemacs.org>
11503 * XEmacs 21.2.34 is released.
11505 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11507 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11509 (updating_line_start_cache): Gone.
11510 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11511 generic code to force a minimum of 1 line laid out in the
11514 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11516 * glyphs.c (instantiate_image_instantiator): Check for initialized
11517 height & width no longer special cases IMAGE_NOTHING.
11518 (nothing_instantiate): Set height and width of instance.
11520 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11522 * unexelf.c (unexec): Search for ".data" section.
11523 Initialize new_data2_offset from old_data_index.
11524 Remove redundant check for ElfW.
11526 2000-05-23 Andy Piper <andy@xemacs.org>
11528 * glyphs.c (get_image_instantiator_governing_domain): allow more
11529 specific domains as the governing domain rather than expecting an
11530 exact match. This fixes problems with layouts.
11532 2000-05-22 Andy Piper <andy@xemacs.org>
11534 * redisplay-output.c (compare_runes): check for non-images
11536 * glyphs.c (set_glyph_dirty_p): ditto.
11537 (update_glyph_cachel_data): ditto.
11539 * glyphs-widget.c (layout_post_instantiate): ditto.
11540 (layout_post_instantiate): ditto.
11542 * event-msw.c (mswindows_wnd_proc): warning removal.
11544 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11546 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11548 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11550 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11552 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11553 (mswindows_executable_type): mingw32 now has enough headers for
11556 2000-05-20 Andy Piper <andy@xemacs.org>
11558 * console-msw.c (mswindows_output_last_error): ; -> ,
11560 2000-05-12 Andy Piper <andy@xemacs.org>
11562 * console-msw.c (FROB): compare ints with ints.
11564 2000-05-11 Andy Piper <andy@xemacs.org>
11566 * glyphs-x.c (x_finalize_image_instance): make minimal build
11569 2000-05-20 Ben Wing <ben@xemacs.org>
11572 * event-Xt.c (vars_of_event_Xt):
11573 move modifier-keys-are-sticky to event-stream.c.
11576 * event-msw.c (mswindows_enqueue_mouse_button_event):
11577 * event-msw.c (key_needs_default_processing_p):
11578 * event-msw.c (XEMSW_LCONTROL):
11579 * event-msw.c (mswindows_handle_sticky_modifiers):
11580 * event-msw.c (FROB):
11581 * event-msw.c (clear_sticky_modifiers):
11582 * event-msw.c (output_modifier_keyboard_state):
11583 * event-msw.c (output_alt_keyboard_state):
11584 * event-msw.c (mswindows_wnd_proc):
11585 * event-msw.c (mswindows_modifier_state):
11586 * event-msw.c (emacs_mswindows_handle_magic_event):
11587 implement sticky modifiers.
11590 * event-stream.c (vars_of_event_stream):
11591 move modifier-keys-are-sticky here.
11594 add CHECK_FUNCTION.
11597 implement map-range-table.
11600 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11602 * redisplay-tty.c (reset_tty_modes):
11603 (tty_redisplay_shutdown): Adjust argument type to
11604 tty_frame_output_end.
11606 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11608 * eval.c (Fbacktrace): Don't output a line with only right
11611 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11613 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11614 (Fpq_reset_poll): Ditto.
11616 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11618 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11620 2000-05-16 Ben Wing <ben@xemacs.org>
11623 * buffer.c (dfc_convert_to/from_internal_format):
11624 * buffer.c (reinit_vars_of_buffer):
11625 Fix conversion functions to allow reentrancy.
11628 * console-msw.c (mswindows_output_last_error):
11629 New fun, generally useful -- output a human-readable
11630 version of GetLastError() on the console.
11633 * console-msw.h (struct mswindows_frame):
11634 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11636 * console-stream.c (stream_output_begin):
11637 * console-stream.c (stream_output_end):
11638 * console-stream.c (stream_output_vertical_divider):
11639 * console-stream.c (stream_clear_region):
11640 * console-stream.c (stream_flash):
11641 * console-stream.c (console_type_create_stream):
11642 Delete blank stream methods, not needed.
11644 * console.h (struct console_methods):
11645 Split begin/end methods into window and frame.
11648 * event-msw.c (mswindows_handle_paint):
11649 * event-msw.c (output_alt_keyboard_state):
11650 * event-msw.c (mswindows_wnd_proc):
11651 * event-msw.c (vars_of_event_mswindows):
11652 Comment about problems with ignored-expose.
11653 Define mswindows-debug-events; not really implemented.
11655 * frame-msw.c (mswindows_init_frame_1):
11659 * glyphs-msw.c (begin_defer_window_pos):
11660 * glyphs-msw.c (mswindows_unmap_subwindow):
11661 * glyphs-msw.c (mswindows_map_subwindow):
11662 * glyphs-msw.c (mswindows_resize_subwindow):
11663 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11665 * glyphs.c (make_image_instance_1):
11668 * gutter.c (Fredisplay_gutter_area):
11669 Use new begin/end methods.
11671 * lisp.h (Dynarr_new2):
11675 * redisplay-msw.c (mswindows_frame_output_begin):
11676 * redisplay-msw.c (mswindows_frame_output_end):
11677 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11678 New begin/end methods -- handle DeferWindowPos.
11680 * redisplay-output.c (redisplay_move_cursor):
11681 * redisplay-output.c (redraw_cursor_in_window):
11682 * redisplay-output.c (redisplay_update_line):
11683 * redisplay-output.c (redisplay_output_window):
11684 New begin/end methods.
11687 * redisplay-tty.c (tty_frame_output_begin):
11688 * redisplay-tty.c (tty_frame_output_end):
11689 * redisplay-tty.c (console_type_create_redisplay_tty):
11690 New begin/end methods.
11693 * redisplay-x.c (x_window_output_begin):
11694 * redisplay-x.c (x_window_output_end):
11695 * redisplay-x.c (console_type_create_redisplay_x):
11696 New begin/end methods.
11698 * redisplay.c (redisplay_frame):
11699 * redisplay.c (Fredisplay_echo_area):
11700 New begin/end methods.
11701 use MAYBE_DEVMETH for clear_frame; it may not exist.
11703 * window.h (WINDOW_XFRAME):
11704 WINDOW_XFOO macros -- get locale and decode struct pointer.
11707 2000-05-12 Ben Wing <ben@xemacs.org>
11710 * emacs.c (ensure_no_quitting_from_now_on):
11711 * emacs.c (fatal_error_signal):
11712 * emacs.c (mswindows_handle_hardware_exceptions):
11714 * emacs.c (Fkill_emacs):
11715 * emacs.c (shut_down_emacs):
11716 * emacs.c (assert_failed):
11717 various improvements in fatal error handling.
11720 move preparing_for_armageddon to emacs.c.
11723 declare fatal_error_in_progress.
11726 * print.c (std_handle_out_external):
11727 * print.c (std_handle_out_va):
11728 * print.c (stderr_out):
11729 * print.c (stdout_out):
11730 use console under mswin when no standard output.
11731 don't do code conversion during fatal error.
11733 * scrollbar.c (Fscrollbar_page_up):
11734 * scrollbar.c (Fscrollbar_page_down):
11735 fix missing else. reindent.
11737 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11741 * glyphs.h (GLYPH_CACHEL_DESCENT):
11742 (GLYPH_CACHEL_DESCENT):
11743 (GLYPH_CACHEL_DESCENT):
11744 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11745 used in case these are inline functions.
11746 Use more absurd values to error check.
11748 include window.h for error check functions.
11750 2000-05-11 Ben Wing <ben@xemacs.org>
11752 * cmdloop.c (Freally_early_error_handler):
11753 Display message box under windows; otherwise, message will disappear
11754 before it can be viewed.
11757 * console-msw.c (Fmswindows_message_box):
11758 * console-msw.c (FROB):
11759 * console-msw.c (syms_of_console_mswindows):
11760 Define new fun `mswindows-message-box'.
11761 #### I will merge this into `popup-dialog-box'; just give me
11765 * general.c (syms_of_general):
11766 Some new symbols used in `mswindows-message-box'.
11769 * glyphs.c (Fset_image_instance_property):
11770 put warning in this fun.
11773 * glyphs.h (GLYPH_CACHEL_WIDTH):
11774 * glyphs.h (GLYPH_CACHEL_ASCENT):
11775 * glyphs.h (GLYPH_CACHEL):
11776 * glyphs.h (GLYPH_CACHEL_GLYPH):
11777 define error-checking versions to try to catch a bug i've seen --
11778 redisplay gets in an infinite loop because the glyph width of the
11779 continuation glyph is 65535.
11782 Extern message-box stuff.
11784 * window.c (allocate_window):
11785 * window.c (make_dummy_parent):
11786 * window.c (Fset_window_configuration):
11787 Use EQUAL not EQ for subwindow caches to make them work a bit
11788 better. (Something is still very broken.)
11791 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11793 * glyphs.c (image_instantiate): Suppress gcc warnings.
11794 (Fmake_image_instance): Fix doc string.
11795 * specifier.c (Fmake_specifier): Ditto.
11797 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11799 * paths.h.in (PATH_LOCK): Removed.
11800 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11801 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11803 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11805 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11806 Document (featurep '(and xemacs 21.02)).
11808 2000-05-09 Ben Wing <ben@xemacs.org>
11810 * buffer.c (complex_vars_of_buffer):
11811 update modeline-format doc.
11814 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11817 timeline of all released versions of Emacs, for use in creating
11818 authorship comments and in synching up.
11820 * glyphs-widget.c (image_instantiator_buttons):
11821 * glyphs-widget.c (image_instantiator_edit_fields):
11822 * glyphs-widget.c (image_instantiator_combo_box):
11823 * glyphs-widget.c (image_instantiator_scrollbar):
11824 * glyphs-widget.c (image_instantiator_progress_guage):
11825 * glyphs-widget.c (image_instantiator_tree_view):
11826 * glyphs-widget.c (image_instantiator_tab_control):
11827 * glyphs-widget.c (image_instantiator_labels):
11828 * glyphs-widget.c (image_instantiator_layout):
11829 * glyphs-widget.c (image_instantiator_native_layout):
11830 rename decode_domain method to governing_domain.
11833 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11834 * glyphs.c (add_entry_to_device_ii_format_list):
11835 make sure we don't put an entry more than once into the list.
11836 * glyphs.c (check_instance_cache_mapper):
11837 *************************************************************
11838 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11840 *************************************************************
11841 * glyphs.c (get_image_instantiator_governing_domain):
11842 clean up, expand on new concept of governing domain.
11843 * glyphs.c (instantiate_image_instantiator):
11844 * glyphs.c (allocate_image_instance):
11845 use governing_domain instead of cache_domain in naming.
11846 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11847 * glyphs.c (make_image_instance_1):
11848 * glyphs.c (Fmake_image_instance):
11849 allow for any domain (not just device), and process the
11850 governing domain correctly. very big doc fix.
11851 * glyphs.c (Fimage_instance_domain):
11852 new primitive, to retrieve the governing domain of an image instance.
11853 * glyphs.c (image_instantiate):
11854 use new governing_domain stuff. this fixes a crash you could get
11855 by instantiating certain widget glyphs in frame locales. (should
11856 signal an error instead of crashing.)
11857 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11858 * glyphs.c (Fglyphp): clean up doc.
11859 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11860 * glyphs.c (syms_of_glyphs):
11861 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11862 * glyphs.c (image_instantiator_format_create): add some comments about
11864 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11865 for current-display-table. (Apparently Hrjove implemented in 1998 a
11866 design I wrote up in 1996, but didn't update the doc string.)
11868 * glyphs.h: clean up a doc string.
11869 * glyphs.h (governing_domain):
11870 * glyphs.h (struct image_instantiator_methods):
11871 changes for governing_domain stuff.
11874 * gutter.c (Fgutter_specifier_p):
11875 * gutter.c (Fgutter_size_specifier_p):
11876 * gutter.c (Fgutter_visible_specifier_p):
11878 * objects.c (Fcolor_specifier_p):
11879 * objects.c (Ffont_specifier_p):
11880 * objects.c (Fface_boolean_specifier_p):
11881 doc strings moved to make-*-specifier.
11883 * redisplay.c (add_disp_table_entry_runes_1):
11884 * redisplay.c (generate_fstring_runes):
11885 * redisplay.c (screen):
11886 add random comments and doc strings.
11889 * specifier.c (Fmake_specifier):
11890 major overhaul of this doc string.
11892 * specifier.c (Fvalid_specifier_domain_p):
11893 comment about the bogosity of image instances being domains.
11894 * specifier.c (decode_domain):
11895 now non-static, used in glyphs.c.
11896 * specifier.c (specifier_instance):
11897 comment about the bogosity of image instances being domains.
11898 * specifier.c (Fgeneric_specifier_p):
11899 move doc string to make-generic-specifier.
11900 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11904 * specifier.h (DOMAIN_FRAME):
11905 * specifier.h (DOMAIN_LIVE_P):
11906 * specifier.h (DOMAIN_XDEVICE):
11908 add comments about problems with these macros.
11909 prototype for decode_domain.
11912 * toolbar.c (Ftoolbar_specifier_p):
11913 move doc string to `make-toolbar-specifier'.
11915 * window.c (window_unmap_subwindows_cache_mapper):
11916 *************************************************************
11917 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11919 *************************************************************
11921 2000-05-09 Andy Piper <andy@xemacs.org>
11923 * glyphs.h: declare reset_frame_subwindow_instance_cache.
11925 * window.c (Fset_window_configuration): reset the frame subwindow
11926 cache and re-initialize the window subwindow caches.
11928 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
11930 2000-05-09 Ben Wing <ben@xemacs.org>
11932 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
11935 2000-04-26 Mike Woolley <mike@bulsara.com>
11937 * ntheap.c: Changed recreate_heap to limit the amount reserved
11938 for the heap to that which is actually available. Also now
11939 displays a message box (with some dignostics) in the event that
11940 it still can't start.
11942 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
11944 * callproc.c (Fold_call_process_internal): GCPRO path
11946 2000-05-08 Jan Vroonhof <jan@xemacs.org>
11948 Patch by Bill Perry.
11950 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
11951 back data instead of #ifdef.
11952 (Fscrollbar_page_down): ditto.
11954 2000-05-07 Ben Wing <ben@xemacs.org>
11957 Kludge for defining Qmswindows_tstr.
11960 * nt.c (open_input_file):
11961 * nt.c (open_output_file):
11962 * nt.c (rva_to_section):
11963 * nt.c (mswindows_executable_type):
11964 Move all memory-mapped-file routines here (some were in unexnt.c,
11965 which is bad because they are used by process-nt.c, and unexnt
11966 won't be around when portable dumping). Synched the above routines
11970 Removed ifdef'd out bogus code.
11971 Fixed some prototypes.
11973 * nt.h (file_data):
11974 * nt.h (OFFSET_TO_RVA):
11975 * nt.h (RVA_TO_OFFSET):
11976 * nt.h (RVA_TO_PTR):
11977 Moved the memory-mapped-file structures, macros and prototypes
11978 here, to parallel nt.c. ntheap.h should really be removed
11979 entirely, and it's a non-portable-dumper specific file.
11981 * ntheap.h (round_to_next):
11982 Moved the memory-mapped-file structures, macros and prototypes
11985 * ntproc.c (compare_env):
11986 Moved rva_to_section and mswindows_executable_type to nt.c.
11987 Moved compare_env to process-nt.c.
11988 ntproc.c will die, one day.
11990 * ntproc.c (sys_spawnve):
11991 Account for win32_ -> mswindows_.
11994 * process-nt.c (struct nt_process_data):
11995 * process-nt.c (ensure_console_window_exists):
11996 * process-nt.c (compare_env):
11997 * process-nt.c (nt_create_process):
11998 * process-nt.c (nt_kill_process_by_pid):
11999 * process-nt.c (syms_of_process_nt):
12000 * process-nt.c (vars_of_process_nt):
12001 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12002 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12003 changes). Eliminate our old `nt-quote-process-args' mechanism.
12004 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12005 Move compare_env here from ntproc.c.
12007 * process.c (Fprocess_send_region):
12008 Takes an optional fourth argument, BUFFER, which should fix some
12009 problems with call-process.
12012 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12015 Move ICC_BAR_CLASSES to syscommctrl.h.
12016 Add preliminary macros for MSWindows/Mule. More to come.
12019 * unexnt.c (unexec):
12020 open_output_file moved to nt.c.
12023 2000-05-05 Andy Piper <andy@xemacs.org>
12025 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12026 instance from the frame cache also since GC may catch up too late
12027 to make frame deletion sane.
12029 2000-05-04 Andy Piper <andy@xemacs.org>
12031 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12032 (x_finalize_image_instance): ungcpro on deletion.
12034 * glyphs.c (image_instantiator_format_create): give pointers a
12035 query geometry method so that the geometry is at least set.
12037 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12038 initialize layouts if using widgets.
12040 2000-05-03 Andy Piper <andy@xemacs.org>
12042 * nt.c: remove bogus reference to sysmmsystem.h
12044 * gui-x.c (popup_selection_callback): fix no selection abort.
12046 2000-05-02 Andy Piper <andy@xemacs.org>
12048 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12049 (mswindows_widget_instantiate): ditto.
12051 * glyphs-widget.c (initialize_widget_image_instance): initialize
12052 children correctly.
12053 (widget_instantiate): cope with children and items in the same
12056 * glyphs.c (mark_image_instance): cope with children as a first
12058 (image_instance_equal): ditto.
12059 (image_instance_hash): ditto.
12060 (image_instance_changed): ditto.
12062 2000-04-30 Andy Piper <andy@xemacs.org>
12064 * glyphs.c (subwindow_query_geometry): new function. Return some
12066 (subwindow_instantiate): don't assign dimensions if none have been
12068 (image_instantiator_format_create): add subwindow_query_geometry.
12069 (print_image_instance): cope with layouts as widgets.
12071 2000-04-29 Andy Piper <andy@xemacs.org>
12073 * frame.c (delete_frame_internal): call
12074 free_frame_subwindow_instance_cache so that all subwindows are
12075 finalized before their parent.
12076 (mark_frame): remove subwindow_cachels.
12077 (Fmake_frame): remove subwindow_cachel manipulation.
12078 (allocate_frame_core): subwindow_instance_cache is a weak list.
12079 (delete_frame_internal): set subwindow_instance_cache to nil.
12081 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12083 (mswindows_finalize_image_instance): use the device
12084 not the domain as the domain may have died already.
12086 * glyphs-x.c (x_finalize_image_instance): ditto.
12087 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12090 * redisplay-output.c (redisplay_unmap_subwindows): update for
12091 subwindow instance cache as a weak list.
12092 (redisplay_unmap_subwindows_maybe): ditto.
12093 (redisplay_unmap_subwindows_except_us): ditto.
12095 * glyphs.c (unmap_subwindow): error checking will check the domain
12096 so don't deal with it here. Don't use cachels anymore.
12097 (map_subwindow): ditto.
12098 (update_subwindow_cachel_data): remove old accessor names.
12099 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12100 (Fresize_subwindow): don't update cachel.
12101 (mark_subwindow_cachels):
12102 (update_subwindow_cachel_data):
12103 (add_subwindow_cachel):
12104 (get_subwindow_cachel_index):
12105 (update_subwindow_cachel):
12106 (reset_subwindow_cachels):
12107 (mark_subwindow_cachels_as_not_updated): deleted.
12108 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12109 subwindow instance to the frame cache.
12110 (find_matching_subwindow): update for subwindow instance cache as
12112 (update_widget_instances): ditto.
12113 (image_instance_type_to_mask):inlined.
12114 (free_frame_subwindow_instance_cache): new function. finalize all
12115 subwindows that are instantiated.
12117 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12118 of cachel information.
12119 (IMAGE_INSTANCE_DISPLAY_X):
12120 (IMAGE_INSTANCE_DISPLAY_Y):
12121 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12122 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12123 (XIMAGE_INSTANCE_DISPLAY_X):
12124 (XIMAGE_INSTANCE_DISPLAY_Y):
12125 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12126 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12127 remove subwindow_cachel structure and function references.
12128 (image_instance_type_to_mask): inline from glyphs.c
12130 * redisplay.c (redisplay_frame): remove subwindow_cachel
12133 * frame.h (struct frame): remove subwindow_cachels.
12134 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12136 * frameslots.h: add subwindow_instance_cache.
12138 * window.c (replace_window): check subwindow cache of replacement.
12139 (window_unmap_subwindows_cache_mapper):
12140 (window_unmap_subwindows): new functions. Unmap all subwindows
12141 cached on this window.
12142 (mark_window_as_deleted): unmap all subwindows.
12144 2000-04-27 Andy Piper <andy@xemacs.org>
12146 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12148 * glyphs-widget.c (widget_layout): return something.
12149 (layout_layout): return something. Fail if not initialized.
12150 (layout_query_geometry): ditto.
12151 (image_instantiator_native_layout): new function. Initialized the
12152 native layout type.
12153 (widget_instantiate): don't do layout stuff here.
12155 * glyphs.c (instantiate_image_instantiator): reorded calling or
12156 instantiate and post_instantiate with layout in between.
12157 (image_instance_layout): be more selective about deciding whether
12158 the layout has been done or not.
12160 * glyphs.h (struct image_instantiator_methods): return a value
12161 from layout_method.
12163 2000-04-26 Andy Piper <andy@xemacs.org>
12165 * glyphs.c (allocate_image_instance): make initial width and
12166 height unspecified. Set initialized to 0.
12168 * syscommctrl.h new file. Encapsulates commctrl.h.
12170 * syswindows.h new file. Encapsulates windows.h.
12172 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12174 * console-msw.h: ditto.
12176 * redisplay-tty.c (tty_output_display_block): remove layout references.
12178 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12179 window handle rather than just the frame.
12181 * glyphs.c (mark_image_instance): remove layout references.
12182 (print_image_instance): ditto.
12183 (image_instance_equal): ditto.
12184 (image_instance_hash): ditto.
12185 (decode_image_instance_type): ditto.
12186 (encode_image_instance_type): ditto.
12187 (image_instantiate): ditto.
12188 (allocate_glyph): ditto.
12189 (Fimage_instance_height): ditto.
12190 (Fimage_instance_width): ditto.
12191 (update_subwindow): ditto.
12193 * redisplay-x.c (x_output_display_block): recode for layouts as
12196 * redisplay-output.c (redisplay_output_layout): recode for layouts
12198 (compare_runes): remove layout references.
12200 * redisplay-msw.c (mswindows_output_display_block): recode for
12201 layouts as widgets.
12203 * glyphs-widget.c (image_instantiator_layout): remove
12204 layout_possible_dest_types.
12205 (layout_possible_dest_types): deleted.
12207 * glyphs.h (image_instance_type): remove layout references.
12208 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12209 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12210 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12212 2000-04-25 Andy Piper <andy@xemacs.org>
12214 * glyphs-widget.c (image_instantiator_buttons):
12215 (image_instantiator_edit_fields):
12216 (image_instantiator_combo_box):
12217 (image_instantiator_scrollbar):
12218 (image_instantiator_progress_guage):
12219 (image_instantiator_tree_view):
12220 (image_instantiator_tab_control):
12221 (image_instantiator_labels):
12222 (image_instantiator_layout): call default post_instantiate method.
12223 (widget_post_instantiate): new function. Simply lays out the
12226 * glyphs.h (struct image_instantiator_methods): add
12227 post_instantiate method.
12229 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12232 2000-04-23 Andy Piper <andy@xemacs.org>
12234 * glyphs.h (struct image_instantiator_methods): add
12235 decode_domain_method.
12236 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12237 derived from the domain.
12238 (IMAGE_INSTANCE_FRAME): new accessor.
12239 (XIMAGE_INSTANCE_FRAME): ditto.
12241 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12242 instead of _SUBWINDOW_FRAME.
12243 (finalize_image_instance): ditto.
12244 (Fimage_instance_foreground): ditto.
12245 (Fimage_instance_background): ditto.
12246 (image_instantiate): ditto.
12247 (update_subwindow_cachel): ditto.
12248 (update_subwindow): ditto.
12249 (unmap_subwindow): ditto.
12250 (map_subwindow): ditto
12251 (subwindow_instantiate): ditto.
12252 * glyphs-msw.c (mswindows_update_widget): ditto.
12253 (mswindows_progress_gauge_instantiate): ditto.
12254 (mswindows_tab_control_update): ditto.
12255 * glyphs-x.c (x_update_widget): ditto.
12256 (x_widget_instantiate): ditto.
12257 (x_tab_control_instantiate): ditto.
12258 (x_tab_control_update): ditto.
12259 * event-msw.c (mswindows_wnd_proc): ditto
12261 * glyphs-widget.c (image_instantiator_layout): use
12262 subwindow_decode_domain.
12263 (image_instantiator_buttons): ditto.
12264 (image_instantiator_edit_fields): ditto.
12265 (image_instantiator_combo_box): ditto.
12266 (image_instantiator_scrollbar): ditto.
12267 (image_instantiator_progress_guage): ditto.
12268 (image_instantiator_tree_view): ditto.
12269 (image_instantiator_tab_control): ditto.
12270 (image_instantiator_labels): ditto.
12271 (image_instantiator_layout): ditto.
12273 * glyphs.c: add instance error checking to many functions.
12274 (instantiate_image_instantiator): decode device from cache_domain.
12275 (image_instantiate): partially rewrite by using
12276 decode_image_instantiator_domain to determine what domain the
12277 instance needs to be cached in.
12278 (decode_image_instantiator_domain): new function. Determine what
12279 domain the image needs to be cached in.
12280 (check_window_subwindow_cache): new error checking function.
12281 (check_instance_cache_mapper): ditto.
12282 (check_image_instance_structure): ditto.
12283 (subwindow_decode_domain): new function. Encodes a window as a
12284 subwindow's cache domain.
12285 (image_instantiator_format_create): use it for text and
12288 2000-04-21 Andy Piper <andy@xemacs.org>
12290 * glyphs.c (image_instance_device): new function.
12291 (image_instance_frame): new function.
12292 (image_instance_window): new function.
12293 (image_instance_live_p): new function.
12295 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12298 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12299 (IMAGE_INSTANCE_DOMAIN): new accessor.
12300 (XIMAGE_INSTANCE_DOMAIN): ditto.
12302 * glyphs-x.c (x_finalize_image_instance): device->domain.
12304 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12305 (mswindows_finalize_image_instance): ditto.
12307 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12308 (gif_instantiate): ditto.
12309 (png_instantiate): ditto.
12310 (tiff_instantiate): ditto.
12312 * glyphs.c (instantiate_image_instantiator): use domain rather
12314 (mark_image_instance): device -> domain.
12315 (print_image_instance): ditto.
12316 (finalize_image_instance): ditto.
12317 (image_instance_equal): ditto.
12318 (allocate_image_instance): ditto.
12319 (Fcolorize_image_instance): ditto.
12320 (query_string_geometry): ditto.
12321 (image_instantiate): ditto
12322 (query_string_font): ditto.
12323 (image_instantiate): ditto.
12324 (update_subwindow): ditto.
12325 (unmap_subwindow): ditto.
12326 (map_subwindow): ditto.
12327 (subwindow_instantiate): ditto.
12329 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12330 (DOMAIN_FRAME): ditto.
12331 (DOMAIN_WINDOW): ditto.
12332 (DOMAIN_LIVE_P): ditto.
12333 (XDOMAIN_DEVICE): ditto.
12334 (XDOMAIN_FRAME): ditto.
12335 (XDOMAIN_WINDOW): ditto.
12337 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12338 a valid specifier domain.
12340 2000-04-19 Andy Piper <andy@xemacs.org>
12342 * glyphs-widget.c (syms_of_glyphs_widget): remove
12343 widget-callback-current-channel.
12344 (vars_of_glyphs_widget): ditto.
12347 * gui.c (get_gui_callback): revert to previous behaviour.
12349 2000-04-18 Andy Piper <andy@xemacs.org>
12351 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12352 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12353 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12355 * glyphs.c (image_instance_equal): add margin_width.
12356 (image_instance_hash): ditto.
12358 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12359 (layout_query_geometry): ditto.
12360 (layout_layout): ditto.
12361 (syms_of_glyphs_widget): add margin-width.
12362 (image_instantiator_layout): allow margin-width.
12364 * glyphs.c (update_widget_instances): make a normal function.
12365 (syms_of_glyphs): remove Qupdate_widget_instances.
12368 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12369 so that we don't corrupt ideas about the last event or
12370 command. Remove widget-callback-current-channel fiddling.
12371 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12373 2000-05-01 Martin Buchholz <martin@xemacs.org>
12375 * XEmacs 21.2.33 is released.
12377 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12379 * make-src-depend: Allow dots in header file name.
12381 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12383 * mule-charset.h (struct charset_lookup): Add
12384 next_allocated_1_byte_leading_byte and
12385 next_allocated_2_byte_leading_byte.
12386 * mule-charset.c: Move above two variables so that those values
12389 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12391 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12392 when string length is zero.
12393 (find_charsets_in_emchar_string): Ditto.
12395 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12397 * lisp.h: extern Qdialog and Qmenubar.
12399 * gui-x.c: added events.h.
12400 also fixed typo which made the file uncompilable.
12402 * general.c: Added Qmenubar and Qdialog
12404 2000-04-28 Ben Wing <ben@xemacs.org>
12406 * frame-msw.c (mswindows_init_frame_1):
12407 * frame-msw.c (mswindows_mark_frame):
12408 * event-msw.c (mswindows_enqueue_dispatch_event):
12410 * console-msw.h (struct mswindows_frame):
12411 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12412 there are now three hash tables for callbacks.
12413 mswindows_enqueue_dispatch_event is no longer static.
12415 * dialog-x.c (maybe_run_dbox_text_callback):
12416 * dialog-x.c (dbox_descriptor_to_widget_value):
12417 switch to new cons3 form for callbacks.
12419 * glyphs-msw.c (mswindows_register_gui_item):
12420 * glyphs-msw.c (mswindows_widget_instantiate):
12421 * glyphs-msw.c (add_tree_item):
12422 * glyphs-msw.c (add_tab_item):
12423 new image instance parameter, so it can be passed to callback-ex.
12424 respect :callback-ex as well as :callback.
12426 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12429 * glyphs.c (print_image_instance):
12430 prettify, e.g. now prints widget type.
12433 certain funs have new image instance parameter.
12436 * gui.c (get_gui_callback):
12437 * gui.c (gui_item_add_keyval_pair):
12438 * gui.c (gui_item_init):
12439 * gui.c (gui_add_item_keywords_to_plist):
12440 * gui.c (mark_gui_item):
12441 * gui.c (gui_item_hash):
12442 * gui.c (gui_item_equal):
12443 * gui.c (copy_gui_item):
12444 * gui.c (syms_of_gui):
12445 recognize callback-ex in a number of places.
12446 also, fix the annoying "can't get out of yes-no dialog" bug.
12449 * gui.h (struct Lisp_Gui_Item):
12450 recognize callback-ex in a number of places.
12452 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12453 new parameter in button_item_to_widget_value.
12455 * glyphs-x.c (x_update_widget):
12456 * glyphs-x.c (x_button_instantiate):
12457 * glyphs-x.c (x_button_update):
12458 * glyphs-x.c (x_progress_gauge_instantiate):
12459 * glyphs-x.c (x_edit_field_instantiate):
12460 * glyphs-x.c (x_combo_box_instantiate):
12461 * glyphs-x.c (x_tab_control_instantiate):
12462 * glyphs-x.c (x_label_instantiate):
12463 new image instance parameter in various places.
12466 * event-Xt.c (enqueue_Xt_dispatch_event):
12467 this fun gets exported.
12470 * gui-msw.c (mswindows_handle_gui_wm_command):
12471 handle both :callback and :callback-ex, and generate our own
12472 event because it's one of the callback-ex arguments.
12475 * gui-x.c (popup_selection_callback):
12476 handle both :callback and :callback-ex, and generate our own
12477 event because it's one of the callback-ex arguments.
12478 * gui-x.c (button_item_to_widget_value):
12479 * gui-x.c (gui_items_to_widget_values_1):
12480 * gui-x.c (gui_item_children_to_widget_values):
12481 * gui-x.c (gui_items_to_widget_values):
12482 new image instance parameter in various places.
12484 * fns.c (Freplace_list):
12485 fix small typo in doc string.
12488 declare enqueue_Xt_dispatch_event.
12490 2000-04-28 Ben Wing <ben@xemacs.org>
12493 * buffer.c (Frecord_buffer):
12494 * buffer.c (syms_of_buffer):
12495 delete record-buffer-hook.
12498 * fns.c (Freplace_list):
12499 * fns.c (syms_of_fns):
12500 new primitive replace-list.
12503 slot for old buffer-alist.
12506 exfun replace-list.
12509 * redisplay.c (redisplay_frame):
12510 * redisplay.c (syms_of_redisplay):
12511 * redisplay.c (vars_of_redisplay):
12512 new hook buffer-list-changed-hook.
12515 2000-04-27 Ben Wing <ben@xemacs.org>
12517 * extents.h: extern in_modeline_generation.
12519 * redisplay.c (generate_formatted_string_db): set
12520 in_modeline_generation.
12522 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12523 flags if in modeline generation. otherwise frame-modified-tick
12524 is ticked far too often.
12525 Declare in_modeline_generation.
12527 2000-04-26 Ben Wing <ben@xemacs.org>
12529 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12531 (vars_of_emacs): add quick-build as an error-checking option.
12532 A bit kludgy, but there doesn't seem much point in creating
12533 a real var for this.
12535 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12537 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12539 * redisplay.h (struct display_line): Add a new variable,
12542 * redisplay.c (create_text_block): Set dl->line_continuation if
12543 the line continues.
12544 (create_string_text_block): Ditto.
12545 (regenerate_window_incrementally): Use line_continuation instead
12546 of searching continuation glyph.
12547 (add_margin_runes): Call add_glyph_rune.
12548 (add_glyph_rune): Handle margin glyph.
12550 2000-04-20 Martin Buchholz <martin@xemacs.org>
12552 * filelock.c (fill_in_lock_file_name):
12554 Check for IS_ANY_SEP instead of '/'.
12556 Avoid generating gratuitous garbage. Call user_login_name() directly.
12557 Never check errno without first seeing that system call failed.
12558 (unlock_file): Add GCPRO.
12559 (Flock_buffer): Fix docstring.
12560 (Ffile_locked_p): Fix docstring. Add GCPRO.
12562 2000-04-19 Martin Buchholz <martin@xemacs.org>
12564 * sysdep.c (get_pty_max_bytes):
12565 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12566 strings longer than 252 bytes.
12568 * md5.c: Unconditionally include ANSI header <limits.h>
12570 * glyphs-x.c (convert_EImage_to_XImage):
12571 * lisp-union.h (union Lisp_Object):
12572 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12574 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12576 * filelock.c (current_lock_owner): Remove unused variable o, p.
12578 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12580 * callint.c: Remove multiply defined symbol Qlet
12581 (syms_of_callint): ditto.
12583 2000-04-14 Andy Piper <andy@xemacs.org>
12585 * general.c (syms_of_general): add last-command, this-command, let
12588 * lisp.h: declare various symbols.
12590 * glyphs.h: declare Qwidget_callback_current_channel;
12592 * glyphs-widget.c (syms_of_glyphs_widget): add
12593 Qgui_callback_current_channel.
12594 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12596 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12597 widget-callback-current-channel when invoking the interactive
12598 arg. Also bind last-command and next-command when invoking the
12600 * gui-x.c (popup_selection_callback): ditto.
12602 * gui.c (get_gui_callback): massage args so that we are always
12603 calling eval. This allows us to add our own variable bindings
12606 * glyphs-x.c (x_button_instantiate): use
12607 gui_items_to_widget_values since this is GC safe.
12608 (x_progress_gauge_instantiate): ditto.
12609 (x_edit_field_instantiate): ditto.
12610 (x_label_instantiate): ditto.
12612 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12613 (emacs_Xt_event_widget_focus_out): new function
12614 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12616 (emacs_Xt_event_add_widget_actions): new function. add focus
12617 functions as actions.
12618 (init_event_Xt_late): use it.
12620 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12622 * event-stream.c (Fdispatch_event): Doc fix.
12624 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12626 * postgresql.c: Remove all references to PQsetenv*.
12628 * postgresql.h: Remove references to PGsetenvHandler object.
12629 * lrecord.h (lrecord_type): Ditto.
12631 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12633 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12634 real_heigh and real_width members, and accessor macros for these.
12636 * glyphs-msw.c (init_image_instance_geometry): New function.
12637 (init_image_instance_from_dibitmap): Use it.
12638 (mswindows_resource_instantiate): Use it.
12639 (init_image_instance_from_xbm_inline): Use it.
12640 (mswindows_initialize_image_instance_mask): Use real bitmap
12642 (mswindows_create_resized_bitmap): Ditto.
12643 (mswindows_create_resized_mask): Ditto.
12645 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12646 and bitmap to their surface size.
12648 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12650 * process-unix.c (unix_send_process): Guard against process MIA
12651 after Faccept_process_output.
12653 2000-04-11 Ben Wing <ben@xemacs.org>
12655 * eval.c (unbind_to_hairy): fix brokenness introduced by
12656 nanosecond speed improvements.
12658 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12660 * sunplay.c (init_device): To play sounds correctly, the device
12661 apparently needs to be initialized at least once by XEmacs. Make
12664 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12666 * redisplay.c (add_margin_runes): Add text image glyph
12669 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12671 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12672 gcc is newer than 2.5.
12674 2000-04-06 Colin Rafferty <colin@xemacs.org>
12676 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12678 * fns.c (size_bit_vector):
12679 * alloc.c (size_vector):
12680 (make_vector_internal):
12681 (make_bit_vector_internal):
12682 (sweep_bit_vectors_1):
12683 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12685 2000-04-06 Andy Piper <andy@xemacs.org>
12687 * gmalloc.c (malloc): undo previous change.
12692 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12694 * line-number.c (buffer_line_number): Revert to former version.
12696 2000-04-06 Andy Piper <andy@xemacs.org>
12698 * gmalloc.c (malloc): add error checking.
12703 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12704 button_item_to_widget_value arg.
12706 * glyphs-x.c (x_button_instantiate): add extra
12707 button_item_to_widget_value arg.
12708 (x_progress_gauge_instantiate): ditto.
12709 (x_edit_field_instantiate): ditto.
12710 (x_label_instantiate): ditto.
12712 * gui-x.c (gui_items_to_widget_values_1): add extra
12713 button_item_to_widget_value arg.
12714 (button_item_to_widget_value): add extra menu_item_p arg.
12716 * gui-x.h: change signature of button_item_to_widget_value.
12718 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12719 button_item_to_widget_value arg.
12721 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12723 * buffer.h (struct buffer): auto_save_modified should be long.
12725 2000-04-05 Andy Piper <andy@xemacs.org>
12727 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12729 (button_query_geometry): give a little more room so that athena
12732 2000-04-05 Andy Piper <andy@xemacs.org>
12734 * faces.c (complex_vars_of_faces): The widget face should inherit
12735 the font of the gui-element face.
12737 2000-04-04 Andy Piper <andy@xemacs.org>
12739 * glyphs-x.c (x_button_update): new function. unconditionally
12740 update a button's state when the instance is dirty.
12741 (image_instantiator_format_create_glyphs_x): add x_button_update.
12742 (x_widget_instantiate): remove old resize cruft.
12744 2000-04-02 Andy Piper <andy@xemacs.org>
12746 * frame.c (change_frame_size_1): The introduction of gutters means
12747 that we need to allow 0 as a potential frame dimension.
12749 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12751 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12752 image glyph if allow_cursor.
12753 (add_hscroll_rune): Don't allow cursor to border glyph.
12754 (create_text_block): Ditto.
12756 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12757 text not in buffer.
12758 (redisplay_output_layout): Call ensure_face_cachel_complete for
12762 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12764 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12766 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12769 * redisplay-tty.c (tty_output_display_block): Delete the routine
12770 for text image glyph
12771 * redisplay-x.c (x_output_display_block): ditto
12772 * redisplay-msw.c (mswindows_output_display_block): ditto
12774 2000-02-02 Mike Alexander <mta@arbortext.com>
12776 Note: Some of these were committed by accident as part of other
12779 * regex.c (regex_compile): Avoid compiler warnings.
12781 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12783 * nt.h: Declare term_ntproc correctly.
12785 * nt.c: Remove incorrect declaration of get_home_directory which
12786 is declared correctly in lisp.h.
12788 * keymap.c (get_keyelt): Avoid compiler warnings.
12789 (raw_lookup_key_mapper): Avoid compiler warnings.
12791 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12793 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12795 * filemode.c (mode_string): Avoid compiler warnings.
12797 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12800 * events-mod.h: Undef some things that winuser.h defines differently.
12802 * data.c (Faset): Avoid compiler warnings.
12804 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12806 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12808 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12809 Fall through to simple beep on error.
12810 Replace "extern" by real header file.
12812 * linuxplay.c: Use nativesound.h
12813 (play_sound_data): Return error code. Be less verbose on error.
12815 * sunplay.c: Use nativesound.h
12816 (play_sound_data): Return error code. Be less verbose on error.
12818 * ntplay.c: Use nativesound.h
12819 (play_sound_data): Return fake error code
12821 * sgiplay.c: Use nativesound.h
12822 (play_sound_data): Return error code
12824 * hpplay.c: Use nativesound.h, partially implement
12825 new error code. Break compilation until finished.
12826 (play_sound_data): error code.
12828 * nativesound.h (play_sound_file):
12829 (play_sound_data): Prototype in new header.
12831 2000-03-31 Andy Piper <andy@xemacs.org>
12833 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12834 for toggle and radio buttons.
12835 (image_instantiator_buttons): use it.
12837 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12839 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12840 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12841 found. Scrollbar event probably belonged to some old config.
12843 2000-03-31 Andy Piper <andy@xemacs.org>
12845 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12847 (initialize_widget_image_instance): default layout to
12848 LAYOUT_HORIZONTAL rather than 0.
12849 (widget_instantiate): reverse the item list at the end rather than
12851 (layout_layout): re-code for the border text at the front of the
12852 item list rather than at the end.
12853 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12854 provided by the user.
12855 (widget_query_geometry): comment.
12857 2000-03-30 Andy Piper <andy@xemacs.org>
12859 * glyphs-widget.c (image_instantiator_layout): allow standard
12860 widget keywords in layouts.
12862 * gutter.c (output_gutter): cope with nil gutter contents.
12864 * frame.c (Fset_frame_properties): add gutter docs.
12866 2000-03-29 Andy Piper <andy@xemacs.org>
12868 * toolbar-msw.c (TBSTYLE_FLAT): add.
12869 (mswindows_output_toolbar): minor fiddling.
12871 2000-03-29 Andy Piper <andy@xemacs.org>
12873 * gutter.c (output_gutter): force gutter size recalculation if
12874 what we are trying to display won't fit.
12875 (update_gutter_geometry): new function. A per-gutter version of
12876 update_frame_gutter_geometry.
12877 (update_frame_gutter_geometry): use it.
12878 (redraw_exposed_gutter): add extra debugging output.
12880 2000-03-28 Mike Alexander <mta@arbortext.com>
12882 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12883 (pdump_file_unmap): Implement it on Windows
12884 (pdump_file_get): Save alocated handles for pdump_file_unmap
12886 2000-03-28 Andy Piper <andy@xemacs.org>
12888 * gui.c (get_gui_callback): treat Quit specially.
12890 2000-03-27 Andy Piper <andy@xemacs.org>
12892 * glyphs.c (image_instantiate): be careful to check in the same
12895 2000-03-27 Didier Verna <didier@xemacs.org>
12897 * config.h.in: define the proper SMART_INCLUDE macro.
12898 handle renaming of `foo_h_path' to `foo_h_file'.
12900 * database.c: ditto.
12904 * linuxplay.c: ditto.
12906 * terminfo.c: ditto.
12908 * tooltalk.h: ditto.
12910 2000-03-27 Andy Piper <andy@xemacs.org>
12912 * glyphs-msw.c (mswindows_update_widget): make sure the widget
12913 gets updated whenever the face might have changed.
12915 2000-03-26 Mike Alexander <mta@arbortext.com>
12917 * dumper.c (pdump_resource_free): Fix the comment.
12919 2000-03-21 Olivier Galibert <galibert@pobox.com>
12921 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
12923 2000-03-22 Mike Alexander <mta@arbortext.com>
12925 * dumper.c: Include Windows headers on Windows
12926 (pdump_resource_free): Add a body to the function
12927 (pdump_load): exe_name -> exe_path and add some comments.
12929 2000-03-25 Mike Alexander <mta@arbortext.com>
12931 * gui.c (copy_gui_item_tree): Return a value in all cases
12933 2000-03-21 Didier Verna <didier@xemacs.org>
12935 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
12937 (SMART_INCLUDE): new macro.
12938 (POSTGRES_INCLUDE): new macro to include postgresql headers from
12939 the proper location.
12941 * postgresql.c: use it.
12945 2000-03-24 Andy Piper <andy@xemacs.org>
12947 * gutter.c (redraw_exposed_gutters): must be "in display" when we
12950 2000-03-24 Andy Piper <andy@xemacs.org>
12952 * redisplay-output.c (compare_runes): use image_instance_changed
12953 to detect changes. Do not depend on glyphs_changed, only depend on
12955 (redisplay_output_layout): add debug messages.
12956 (compare_runes): ditto.
12958 * glyphs.h: declare new functions.
12959 (struct Lisp_Image_Instance): remove percent and associated
12962 * gui.h: declare new copying functions.
12964 * gui.c (copy_gui_item_tree): new function.
12965 (copy_gui_item): new function.
12966 (gui_item_id_hash): revert to standard hash.
12967 (gui_item_hash): ditto.
12968 (gui_item_hash_internal): deleted.
12969 (mark_gui_item): mark value.
12970 (gui_item_add_keyval_pair): add value.
12971 (gui_item_init): ditto.
12972 (gui_add_item_keywords_to_plist): ditto.
12973 (gui_item_equal): ditto.
12974 (syms_of_gui): add Q_value.
12976 * glyphs-x.c (x_progress_gauge_update): use pending items and
12977 value for setting the state.
12978 (x_update_widget): don't set items from pending here.
12980 * glyphs-widget.c (update_widget): update items here.
12981 (progress_gauge_set_property): use items for storing value. Put
12982 new value in pending items.
12984 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
12985 items for new value. Convert percent -> value.
12986 (mswindows_tab_control_update): don't update items here.
12988 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
12989 (update_subwindow): ditto.
12990 (image_instance_changed): new function. Compare hash values and
12991 past and present widget items.
12992 (image_instantiate): We more careful about where we instantiate
12994 (image_instantiate): add error checking.
12996 * gutter.c (syms_of_gutter): use -hook.
12998 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13000 * console-tty.c (Fset_console_tty_input_coding_system): Use
13002 (Fset_console_tty_output_coding_system): Use Qterminal.
13003 (tty_init_console): Use Qkeyboard and Qterminal.
13005 2000-03-21 Ben Wing <ben@xemacs.org>
13007 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13008 From Mike Alexander <mta@arbortext.com>.
13010 2000-03-21 Ben Wing <ben@xemacs.org>
13012 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13013 process brokenness. Proper implementation to come.
13015 Rename call-process-internal to old-call-process-internal.
13016 New impl. in process.el.
13018 2000-03-21 Martin Buchholz <martin@xemacs.org>
13020 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13022 2000-03-20 Andy Piper <andy@xemacs.org>
13024 * glyphs.c (full_list_hash): make hashes of the same elements in
13025 different orders return different values.
13027 2000-03-20 Martin Buchholz <martin@xemacs.org>
13029 * XEmacs 21.2.32 is released.
13031 2000-03-20 Martin Buchholz <martin@xemacs.org>
13033 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13034 (DFC_MALLOC_USE_CONVERTED_DATA):
13035 Add aliasing-safe casts to allow use with char* or unsigned char*
13038 * eldap.c (Fldap_open):
13039 (Fldap_search_basic):
13042 Make C++-compilable.
13043 Make sure GCPRO'ed variables are initialized.
13044 Use temp variables to avoid repeated calls to Flength.
13046 2000-03-16 Martin Buchholz <martin@xemacs.org>
13049 Make sure PATH_MAX is always defined.
13050 Include limits.h for PATH_MAX.
13051 Deprecate use of MAXPATHLEN.
13053 2000-03-10 Martin Buchholz <martin@xemacs.org>
13055 * emacs.c: Add reinit_vars_of_fileio.
13056 * symsinit.h: Add reinit_vars_of_fileio.
13057 * fileio.c (reinit_vars_of_fileio): New.
13058 * fileio.c (Fmake_temp_name):
13059 Initialize temp_name random number from microseconds to make
13060 collisions even less likely. Initialize always at process startup
13061 time. (make-temp-name) used to return the same file name twice in
13063 Random stylistic fiddling.
13066 2000-03-20 Andy Piper <andy@xemacs.org>
13068 * glyphs.c (image_instantiate): allow text glyphs to be
13069 instantiated in the minibuffer window.
13071 2000-03-19 Andy Piper <andy@xemacs.org>
13073 * glyphs.c (image_instance_hash): be careful about which items we
13076 * glyphs-widget.c (tab_control_set_property): record into pending
13077 items rather than the actual items.
13079 * glyphs-x.c (x_update_widget): use pending items to update with.
13081 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13084 * glyphs.c (mark_image_instance): mark pending items.
13086 * window.c (Fset_window_configuration): record the buffer.
13087 (Fselect_window): totally revert previous change which breaks many
13090 2000-03-18 Andy Piper <andy@xemacs.org>
13092 * glyphs-msw.c (mswindows_tab_control_update): force selected
13095 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13096 window domain cache, otherwise we get inconsistencies at
13097 startup. There is something fishy at startup which can lead to the
13098 minibuffer being the selected window when the gutter content is
13101 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13103 (parse_gui_item_tree_children): ditto.
13104 (parse_gui_item_tree_item): ditto.
13106 * glyphs.c (Fupdate_widget_instances): return something.
13108 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13110 * window.c (Fselect_window): Undo 2000-03-17 change.
13112 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13114 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13115 against v7.0 libraries. Insta-coredump city until the postgres
13118 2000-03-17 Andy Piper <andy@xemacs.org>
13120 * faces.c (complex_vars_of_faces): don't give the widget face an
13121 inherited background pixmap.
13123 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13126 * event-stream.c (Fdispatch_non_command_events): return something.
13128 * gutter.c (output_gutter): use widget face.
13129 (clear_gutter): ditto.
13131 * NEWS: adjust again.
13133 * window.c (Fselect_window): make sure this runs to completion to
13134 avoid oddities with Fset_window_configuration.
13135 (Fcurrent_window_configuration): in general do not save the
13136 minibuffer as the selected window.
13138 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13140 2000-03-16 Olivier Galibert <galibert@pobox.com>
13142 * emacs.c (Frunning_temacs_p): Revert previous patch.
13143 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13145 2000-03-16 Andy Piper <andy@xemacs.org>
13147 * glyphs-x.c (x_tab_control_update): if no widget values then
13150 * NEWS: update for new features.
13152 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13153 synthetic event to the native system.
13154 (reinit_vars_of_event_Xt): set force_event_pending to
13155 emacs_Xt_force_event_pending.
13157 * events.h (struct event_stream): add force_event_pending.
13159 * specifier.c (recompute_one_cached_specifier_in_window): add
13162 * redisplay.c (redisplay_frame): don't call
13163 update_frame_subwindows. Reset subwindow cachels when
13164 subwindows_changed, removing this was an optimization too far.
13166 * redisplay-output.c (compare_runes): reorganize so that we catch
13167 glyph changes when we want them. Set optimize_output when this
13168 would help layouts.
13169 (redisplay_output_layout): remove frame_really_changed, use
13170 optimize_output instead.
13172 * redisplay-msw.c (mswindows_output_display_block): reset
13173 optimize_output after outputting a glyph.
13174 * redisplay-x.c (x_output_display_block): ditto.
13175 * redisplay-tty.c (tty_output_display_block): ditto.
13177 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13179 (gutter_specs_changed): do specific gutter positions.
13180 (top_gutter_specs_changed): new function. Only update the
13181 specified gutter specs.
13182 (bottom_gutter_specs_changed): ditto.
13183 (left_gutter_specs_changed): ditto.
13184 (right_gutter_specs_changed): ditto.
13186 * gui.c (gui_item_hash_internal): new function, does a real hash.
13187 (gui_item_id_hash): use it.
13188 (gui_item_hash): hash the eval'ed gui_item.
13190 * gui-x.c (popup_selection_callback): send an eval event to call
13191 Fupdate_widget_instances.
13193 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13194 to call Fupdate_widget_instances.
13196 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13197 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13199 * glyphs.c: (update_frame_subwindows): deleted.
13200 (Fupdate_widget_instances): new function for updating the dirty
13201 state of widgets that might have changed.
13202 (syms_of_glyphs): add Qupdate_widget_instances.
13203 (full_list_hash): hash a list completely.
13204 (image_instance_hash): use it for items and properties.
13206 * frame-msw.c (mswindows_size_frame_internal): remove unused
13209 * faces.h (struct face_cachel): fix comment.
13211 * event-stream.c (Fdispatch_non_command_events): new
13212 function. Process non-command events, forcing an event cycle
13214 (syms_of_event_stream): declare.
13215 (event_stream_force_event_pending): new function. Force an event
13216 on the native event queue so that an event cycle will occur next
13220 (struct ntpipe_shove_stream):
13221 (mswindows_enqueue_dispatch_event):
13222 (mswindows_dequeue_dispatch_event):
13223 (mswindows_cancel_dispatch_event):
13224 (mswindows_pump_outstanding_events):
13225 (mswindows_drain_windows_queue):
13226 (mswindows_handle_paint):
13227 (mswindows_wnd_proc):
13228 (mswindows_key_to_emacs_keysym):
13229 (get_process_input_waitable):
13230 (emacs_mswindows_delete_stream_pair): re-indent file.
13231 (mswindows_need_event): do not process further fds if the windows
13232 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13233 fixes the 100% cpu problem.
13234 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13236 2000-03-15 Olivier Galibert <galibert@pobox.com>
13242 * emacs.c: Moved dump file searching to dumper.c.
13243 (Frunning_temacs_p): Fixed.
13245 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13246 last_lrecord_type_index_assigned.
13248 2000-02-20 Olivier Galibert <galibert@pobox.com>
13250 * symsinit.h: Added reinit parameter to init_console_stream
13253 * lisp.h: Added file parameter to pdump_load declaration.
13255 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13256 support. Added dump file searching.
13258 * config.h.in: Added EMACS_PROGNAME.
13260 * console-stream.c (init_console_stream): Fix reinitialisation
13261 when running from temacs.
13263 * alloc.c (pdump): Add id support.
13264 (pdump_load): Add file parameter and signature/id support.
13266 * Makefile.in.in: Add full pdump support.
13268 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13270 * postgresql.c: Update documentation to reflect latest code
13272 (print_result): Show tuple counts in printed representation when
13274 (Fpq_put_nbytes): MULE-ize.
13275 (Fpq_get_line_async): Ditto.
13277 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13279 * postgresql.c (Fpq_lo_import): Fix return value.
13280 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13282 2000-03-13 Ben Wing <ben@xemacs.org>
13284 * alloc.c (pdump_load):
13285 Fix compile warning under mswin.
13287 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13289 * postgresql.c: Mule-ization, bug fixes.
13290 Use PG_CODING to encapsulate coding system name changes.
13291 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13292 (pg-coding-system): Create.
13294 (Fpq_conn_defaults): Mule-ize.
13295 (Fpq_connectdb): Mule-ize & bug fix.
13296 (Fpq_connect_start): Mule-ize.
13297 (Fpq_set_client_encoding): Mule-ize.
13298 (Fpq_finish): Document `DEAD' connection status.
13299 (Fpq_clear): Ditto.
13300 (Fpq_pgconn): Mule-ize.
13301 (Fpq_exec): Mule-ize & bug fix.
13302 (Fpq_send_query): Ditto.
13303 (Fpq_get_result): Ditto.
13304 (Fpq_res_status): Mule-ize.
13305 (Fpq_result_error_message): Mule-ize.
13306 (Fpq_ntuples): fix comments.
13307 (Fpq_fname): Mule-ize.
13308 (Fpq_fnumber): Mule-ize.
13309 (Fpq_ftype): fix comments.
13310 (Fpq_get_value): Mule-ize.
13311 (Fpq_cmd_status): Ditto.
13312 (Fpq_cmd_tuples): Ditto.
13313 (Fpq_oid_value): Ditto.
13314 (Fpq_notifies): Ditto.
13315 (Fpq_lo_import): Ditto.
13316 (Fpq_lo_export): Ditto.
13317 (Fpq_get_line): Ditto.
13318 (Fpq_put_line): Mule-ize and bug fix.
13319 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13321 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13323 * postgresql.c (vars_of_postgresql): Mule-ize.
13324 (Fpq_conn_defaults): Ditto.
13326 2000-03-12 Ben Wing <ben@xemacs.org>
13328 * alloc.c (Fmake_byte_code):
13329 * alloc.c (debug_string_purity_print):
13330 * alloc.c (pdump_backtrace):
13331 * alloc.c (pdump_get_indirect_count):
13332 * alloc.c (pdump_register_sub):
13333 * alloc.c (pdump_register_object):
13334 * alloc.c (pdump_register_struct):
13335 * alloc.c (pdump_dump_data):
13336 * alloc.c (pdump_reloc_one):
13340 * console-msw.c (GetConsoleHwnd):
13341 * console-msw.c (msw_hide_console):
13342 * console-msw.c (msw_show_console):
13343 * console-msw.c (msw_ensure_console_buffered):
13344 * console-msw.c (msw_output_console_string):
13345 * console-msw.c (console_type_create_mswindows):
13347 a) Added functions to manipulate the console window for use with
13350 b) Added support for writing text to the console, which is now
13351 used under Windows when xemacs is not being run non-interactively,
13352 to write text that would otherwise be destined for stdout because
13353 under these circumstances, text written to stdout tends to
13354 disappear and not be seen.
13358 * event-Xt.c (x_event_to_emacs_event):
13359 * event-Xt.c (describe_event_window):
13360 * events-mod.h (XEMACS_MOD_CONTROL):
13362 * events.c (Fmake_event):
13363 * events.c (character_to_event):
13364 * events.c (event_to_character):
13365 * events.c (format_event_object):
13366 * events.c (Fevent_modifiers):
13368 * events.h (struct key_data):
13369 * events.h (struct button_data):
13370 * events.h (struct misc_user_data):
13371 * frame-x.c (Fcde_start_drag_internal):
13372 * frame-x.c (Foffix_start_drag_internal):
13373 * gpmevent.c (Freceive_gpm_event):
13375 * keymap.c (bucky_sym_to_bucky_bit):
13376 * keymap.c (control_meta_superify):
13377 * keymap.c (make_key_description):
13378 * keymap.c (keymap_lookup_directly):
13379 * keymap.c (create_bucky_submap):
13380 * keymap.c (keymap_store):
13381 * keymap.c (define_key_check_and_coerce_keysym):
13382 * keymap.c (define_key_parser):
13383 * keymap.c (define_key_alternate_name):
13384 * keymap.c (Fdefine_key):
13385 * keymap.c (raw_lookup_key_mapper):
13386 * keymap.c (struct map_keymap_unsorted_closure):
13387 * keymap.c (map_keymap_unsorted_mapper):
13388 * keymap.c (map_keymap_sort_predicate):
13389 * keymap.c (map_keymap_sorted):
13390 * keymap.c (accessible_keymaps_mapper_1):
13391 * keymap.c (where_is_recursive_mapper):
13392 * keymap.c (describe_map_mapper):
13393 * keymap.c (describe_map_sort_predicate):
13394 * keymap.c (describe_map):
13395 * keymap.c (complex_vars_of_keymap):
13396 And a number of other files, the key modifier preprocessor
13397 constants that xemacs uses have names that conflict with constants
13398 defined under MS Windows for other purposes, so they were renamed
13399 to begin with the prefix XEMACS_. The variables that hold such
13400 modifiers were changed to consistently be of type int to fix
13401 various compile warnings.
13403 * console.c (complex_vars_of_console):
13406 * device-msw.c (mswindows_finish_init_device):
13407 * device-msw.c (msw_get_workspace_coords):
13408 * device-msw.c (mswindows_device_system_metrics):
13409 and various other files, added support for a new
13410 device property called offset-workspace which returns the position
13411 of the upper left corner of the workspace area and goes along with
13412 the existing size-workspace property.
13415 * dialog-msw.c (push_bufbyte_string_as_unicode):
13416 * dialog-msw.c (mswindows_popup_dialog_box):
13417 Added support for XEmacs-style accelerator specifications in
13418 button text. Note: I didn't add support for this under X Windows,
13419 and somebody needs to do this.
13422 * dialog.c (Fpopup_dialog_box):
13423 Documented the support for accelerators that was just mentioned.
13425 editfns.c (get_home_directory): Changed behavior under Windows
13426 when HOME not defined; former behavior was irretrievably broken.
13429 * emacs.c (main_1):
13431 * minibuf.c (clear_echo_area_internal):
13432 * minibuf.c (echo_area_append):
13434 * print.c (std_handle_out_external):
13435 * print.c (std_handle_out_va):
13437 * print.c (write_string_to_stdio_stream):
13438 * print.c (output_string):
13439 * print.c (debug_print):
13440 * print.c (debug_backtrace):
13441 * print.c (debug_short_backtrace):
13442 Cleaned up the code that prints text to stdout so that this can be
13443 changed to output into a console window instead under MS Windows,
13444 as described above.
13447 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13448 * eval.c (internal_catch):
13449 * eval.c (unwind_to_catch):
13450 * eval.c (throw_or_bomb_out):
13451 * eval.c (condition_case_1):
13452 * eval.c (signal_1):
13453 * eval.c (check_error_state_sanity):
13454 * eval.c (call_with_suspended_errors_1):
13455 * eval.c (call_with_suspended_errors):
13456 * eval.c (reinit_vars_of_eval):
13457 Added code to catch throw loops and check for a pesky bug that may
13461 * event-msw.c (key_needs_default_processing_p):
13462 * event-msw.c (mswindows_wnd_proc):
13463 * event-msw.c (mswindows_modifier_state):
13464 * event-msw.c (emacs_mswindows_quit_p):
13465 * event-msw.c (vars_of_event_mswindows):
13466 a) Added support for using the alt key to select menu items as is
13467 standard under MS Windows. This is controlled using the variable
13468 menu-accelerator-enabled, just like under X Windows. There is an
13469 option on the options menu to turn this support on. I really
13470 think that it should be on by default under Windows, but I'm not
13471 going to make this change yet.
13473 b) Added support for dynamic display size changes under Windows.
13476 * event-stream.c (maybe_echo_keys):
13477 * event-stream.c (Fnext_event):
13478 * event-stream.c (command_builder_find_leaf):
13479 * event-stream.c (lookup_command_event):
13480 * event-stream.c (execute_command_event):
13481 * event-stream.c (pre_command_hook):
13482 * event-stream.c (post_command_hook):
13483 * event-stream.c (syms_of_event_stream):
13484 * event-stream.c (vars_of_event_stream):
13485 * event-stream.c (complex_vars_of_event_stream):
13486 * events.h (struct command_builder):
13488 a) Tried to clean up a little bit the horribly written x-specific
13489 accelerator code that crept into this file. I moved this code
13490 into menubar-x.c where it belongs. I also needed to move the
13491 command builder structure into the file events.h because it is
13492 accessed directly by this accelerator code. What I didn't do, but
13493 which should be done at some point, is to properly abstract this
13494 code using device methods instead of the kludgy way that it
13495 currently hooks into the event code.
13497 b) Added the lisp variables this-command-properties and
13498 last-command- properties, which should be used to synchronize two
13499 adjacent commands in preference to playing games with the variable
13500 this-command, which is typically what happens.
13502 c) Added some slightly nasty code to hook into the lisp support
13503 for shifted- motion-key selection. This is actually necessary for
13504 somewhat complicated reasons, which are described in
13505 simple.el. (NB: I think the proper thing would be to have the code
13506 that calls the pre and post command hooks also call out to generic
13507 lisp functions in simple.el, where all built-in stuff could be
13508 added. I will think about this more.)
13510 * event-unixoid.c (poll_fds_for_input):
13511 * lread.c (readchar):
13512 * redisplay-tty.c (tty_clear_frame):
13513 * redisplay-x.c (x_get_gc):
13514 * signal.c (interrupt_signal):
13515 And a whole bunch of other files: fixed up places that printed
13516 directly to stderr to instead call the function stderr_out so that
13517 the changes I made under Windows work correctly.
13519 * filemode.c (mode_string):
13523 * frame-msw.c (mswindows_size_frame_internal):
13524 Fixed the computation of frame size and position to keep the frame
13525 within the workspace area, rather than within the physical
13526 dimensions of the screen, so that the frame doesn't overlap window
13527 manager decorations, such as the start menu and toolbar, typically
13528 at the bottom of the screen.
13530 * frame.c (vars_of_frame):
13531 Changed the default frame title format under MS Windows to consist
13532 of buffername-XEmacs, which is standard under MS Windows. I think
13533 it might be a good idea to change this everywhere because I think
13534 it is superior to the current frame title format, but this is the
13535 kind of change that is likely to cause some people to get annoyed,
13536 so I'm not making it.
13538 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13540 * gui-msw.c (mswindows_handle_gui_wm_command):
13541 Fixed compile warnings.
13544 * gui-x.c (strdup_and_add_accel):
13545 * gui-x.c (button_item_to_widget_value):
13547 Added code to automatically put an accelerator onto the beginning
13548 of menu items that don't have one as is now the standard, and is
13549 described more later. Also fixed things so that the menu item
13550 name can be an evaluated expression, again a new standard.
13553 * gui.c (gui_item_add_keyval_pair):
13554 * gui.c (make_gui_item_from_keywords_internal):
13555 * gui.c (gui_add_item_keywords_to_plist):
13556 * gui.c (gui_item_accelerator):
13557 * gui.c (gui_name_accelerator):
13558 * gui.c (gui_item_included_p):
13559 * gui.c (gui_item_display_flush_left):
13560 * gui.c (gui_item_display_flush_right):
13561 * gui.c (parse_gui_item_tree_item):
13562 * gui.c (parse_gui_item_tree_children):
13563 * gui.c (parse_gui_item_tree_list):
13564 Mule-ized. Cleanup. GCPRO addition.
13566 * line-number.c (buffer_line_number):
13568 * lisp.h (EMACS_INT_MAX):
13569 Added the manifest constant EMACS_INT_MIN corresponding to the
13570 existing constant EMACS_INT_MAX. This is partially to fix compile
13571 warnings under Windows, and partly for cleanliness.
13574 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13575 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13576 * menubar-msw.c (displayable_menu_item):
13577 * menubar-msw.c (populate_menu_add_item):
13578 * menubar-msw.c (populate_or_checksum_helper):
13579 * menubar-msw.c (populate_menu):
13580 * menubar-msw.c (update_frame_menubar_maybe):
13581 * menubar-msw.c (prune_menubar):
13582 * menubar-msw.c (msw_char_is_accelerator):
13583 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13584 * menubar-msw.c (mswindows_handle_wm_command):
13585 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13586 * menubar-msw.c (mswindows_handle_wm_initmenu):
13587 * menubar-msw.c (mswindows_update_frame_menubars):
13588 * menubar-msw.c (mswindows_free_frame_menubars):
13589 * menubar-msw.c (mswindows_popup_menu):
13590 Fixed a bug in handling accelerators where an extra character
13591 would be displayed in the menu item. Also generalized the
13592 function displayable_menu_item because it is now used by the
13593 dialog box code as well. And finally, added code in the functions
13594 that create the menubar to extract a list of accelerators for the
13595 top level menubar, which is used in the event code to determine
13596 whether a particular alt-key combination should be used to invoke
13597 a menu item, or should be passed through to access the standard
13598 XEmacs keymap binding for this key combination.
13600 Much needed GCPROing.
13603 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13604 * menubar-x.c (menu_item_descriptor_to_widget_value):
13605 * menubar-x.c (restore_in_menu_callback):
13606 * menubar-x.c (x_popup_menu):
13607 * menubar-x.c (menu_move_up):
13608 * menubar-x.c (menu_move_down):
13609 * menubar-x.c (menu_move_left):
13610 * menubar-x.c (menu_move_right):
13611 * menubar-x.c (menu_select_item):
13612 * menubar-x.c (command_builder_operate_menu_accelerator):
13613 * menubar-x.c (menu_accelerator_junk_on_error):
13614 * menubar-x.c (command_builder_find_menu_accelerator):
13615 * menubar-x.c (Faccelerate_menu):
13617 Moved a whole bunch of code here that was previously in
13618 event-stream.c as described above. There is also code connected
13619 to the new standard of adding an accelerator to the beginning of
13620 menu items that don't have one as described above and below.
13623 * menubar.c (menu_parse_submenu_keywords):
13624 * menubar.c (Fmenu_find_real_submenu):
13625 * menubar.c (Fnormalize_menu_item_name):
13626 * menubar.c (syms_of_menubar):
13627 * menubar.c (vars_of_menubar):
13628 * menubar.c (complex_vars_of_menubar):
13630 a) Cleaned up a bunch of documentation and improved it.
13632 b) XEmacs now automatically adds an accelerator onto the beginning
13633 of any menu items that don't have one. I did this because there
13634 will inevitably be some menu items on the main menubar that don't
13635 have accelerators on them because the package that adds that
13636 particular menu item hasn't yet been fixed up to have accelerators
13637 in them and it looked rather strange to have some items with and
13638 some items without accelerators, especially since even in items
13639 without accelerators, you can, at least under windows, still
13640 access the item through an accelerator corresponding to the first
13641 character in the item's name. If people don't like this behavior,
13642 I can add a variable to turn it off optionally, but I'm not sure
13643 this is a good idea because we really do need to have accelerators
13644 on all of the menu items, and if a package doesn't like the
13645 accelerators being put on the first character, then it should put
13646 the accelerators where they belong.
13648 c) I made a behavior change, which is that the descriptor that
13649 specifies the text of the menu item, which formerly was just a
13650 string, can now also be an evaluated expression. This makes this
13651 descriptor parallel with all of the others, which could also be
13652 evaluated expressions. This also obviates the need for the
13653 keyword :label, which was previously listed in the documentation
13654 as unimplemented, and which was for the same purpose.
13659 * ntproc.c (new_child):
13660 * ntproc.c (sys_spawnve):
13661 * ntproc.c (find_child_console):
13662 * ntproc.c (sys_kill):
13663 Fixed compile warnings. By the way, this file should really go
13664 away entirely, and this will happen as soon as Kirill makes his
13665 final round of process cleanups, which affect the function
13669 * process-nt.c (struct nt_process_data):
13670 * process-nt.c (find_process_from_pid):
13671 * process-nt.c (send_signal_the_nt_way):
13672 * process-nt.c (enable_child_signals):
13673 * process-nt.c (find_child_console):
13674 * process-nt.c (send_signal_the_95_way):
13675 * process-nt.c (nt_finalize_process_data):
13676 * process-nt.c (ensure_console_window_exists):
13677 * process-nt.c (nt_create_process):
13678 * process-nt.c (nt_kill_child_process):
13679 * process-nt.c (nt_kill_process_by_pid):
13680 * process-nt.c (nt_open_network_stream):
13681 * process-nt.c (vars_of_process_nt):
13682 Copied over code from Emacs 20.5 to correctly send signals to sub-
13683 processes under Windows 95. Also added code to automatically
13684 create and hide console window when a sub-process is created under
13685 Windows 95, which obviates the need for the separate runemacs.exe
13686 executable, and finally implemented some variables that were
13687 implemented in Emacs 20.5, but previously not in XEmacs. These
13688 include mswindows- start-process-share-console and
13689 mswindows-start-process-inherit-error-mode. (Both of these only
13690 apply to Windows 95.)
13692 * regex.c (regex_compile): Fixed a compile warning.
13695 * select-msw.c (mswindows_own_selection):
13696 * select-msw.c (mswindows_get_foreign_selection):
13697 * select-msw.c (mswindows_disown_selection):
13698 * select-msw.c (console_type_create_select_mswindows):
13699 * select-msw.c (syms_of_select_mswindows):
13700 Cleaned up the file and implemented the device method
13701 selection_exists_p, which had accidentally been left out. Also
13702 removed four lisp functions that were remnants from before the
13703 time when the selection code was properly device abstracted.
13704 These functions are no longer needed because there are generic
13705 equivalents, and because they were added recently and don't exist
13706 in FSF Emacs, I don't think there's any problem with just deleting
13710 * sysdep.c (sys_subshell):
13711 Fixed a compile warning, although in this case there's probably
13712 something wrong with this code, and it ought to be looked into
13713 more thoroughly by somebody who understands it.
13716 * window.c (Fwindow_text_area_height):
13717 * window.c (Fwindow_width):
13718 * window.c (Fwindow_full_width):
13719 * window.c (Fwindow_pixel_width):
13720 * window.c (debug_print_window):
13721 * window.c (syms_of_window):
13722 Added functions window-text-area-height and window-full-width,
13723 which are functions for returning various width and height
13724 characteristics of a window. (One of these functions is necessary
13725 for making the file dialog box work correctly, and the other one
13726 was added for completeness.) Also added a table to the
13727 documentation for window-height which describes the entire scheme
13728 for accessing width and height characteristics of a window.
13730 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13732 * nt.c (fstat): Added a comment for another problem with
13733 non-encapsulated [f]stat(), reported by Adrian Aichner
13734 <aichner@ecf.teradyne.com>.
13736 2000-03-11 Andy Piper <andy@xemacs.org>
13738 * window.c (make_dummy_parent): initialize subwindow instance
13740 (Fset_window_configuration): zero extent_modiff.
13742 2000-03-10 Andy Piper <andy@xemacs.org>
13744 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13745 more changes can be triggered.
13746 (Fredisplay_frame): ditto.
13747 (Fredraw_device): ditto.
13748 (Fredisplay_device): ditto.
13749 (redisplay_frame): make non-static.
13750 (redisplay_frame): call update_frame_gutter_geometry outside of
13753 * gutter.h: declare update_frame_gutter_geometry.
13755 * redisplay.h: declare redisplay_frame.
13757 * gutter.c (update_frame_gutter_geometry): move geometry changes
13758 in update_frame_gutters here. Geometry changes can only occur
13759 outside of redisplay.
13760 (update_frame_gutters): remove geometry change code.
13761 (Fredisplay_gutter_area): make sure that we are in display when we
13762 update and that we have flushed any size changes.
13764 2000-03-11 Andy Piper <andy@xemacs.org>
13766 * alloc.c (pdump_dump_data): remove i & count shadows.
13768 2000-02-27 Mike Alexander <mta@arbortext.com>
13770 * sysdep.h: Declare pdump_read_file
13772 * sysdep.c (pdump_read_file): New function
13774 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13777 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13779 * lrecord.h: add `lrecord_type_pgsetenv'.
13781 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13783 * symsinit.h: declare (vars|syms)_of* functions.
13784 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13786 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13788 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13790 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13793 * emacs.c (main_1): Call postgres initialization code.
13795 * postgresql.h: New file. PostgreSQL RDBMS support.
13796 * postgresql.c: New file.
13798 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13800 * redisplay-output.c (redisplay_output_display_block): Disable
13803 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13805 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13806 (Fcanna_henkan_next): Ditto.
13807 (Fcanna_bunsetu_henkou): Ditto.
13808 (Fcanna_henkan_kakutei): Ditto.
13809 (Fcanna_henkan_end): Ditto.
13810 (Fcanna_henkan_quit): Ditto.
13811 (Fcanna_henkan_next): Set retun value correctly.
13812 (c2mu): Use unsigned char instead of signed char.
13814 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13816 * emacs.c (main_1): Always call syms_of_gui.
13817 * inline.c: include gui.h
13819 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13821 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13822 converted to Lisp_Object.
13823 (Qtop_bottom): New variable.
13824 (syms_of_redisplay): Initialize it.
13825 * redisplay.h (Vvisible_bell): Ditto.
13826 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13827 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13828 only flash top and bottom.
13830 2000-03-08 Andy Piper <andy@xemacs.org>
13832 * buffer.c (Frename_buffer): record new buffer name the right way.
13834 2000-03-08 Andy Piper <andy@xemacs.org>
13836 * glyphs.c (update_subwindow): increase hash depth so that widget
13837 items get picked up properly.
13839 * redisplay-output.c (compare_runes): increase hash depth so that
13840 widget items get picked up properly.
13842 2000-03-08 Andy Piper <andy@xemacs.org>
13844 * gutter.c (output_gutter): add some debug.
13846 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13847 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13848 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13850 * redisplay-output.c (compare_runes): use display_hash to
13851 determine if glyphs really are not the same.
13853 * glyphs.c (update_subwindow): check display_hash to see if
13854 anything really needs to be updated. If not then do
13855 nothing. Record the display_hash after updating.
13856 (image_instance_equal): compare the image_instance face also.
13858 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13860 * redisplay.h: Fix comment style.
13862 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13864 * consle-msw.h (struct mswindows_frame):
13865 Added new member paint_pending to indicate whether a WM_PAINT
13866 magic event has been queued for this frame.
13868 * event-msw.c (mswindows_drain_windows_queue):
13869 Don't queue a WM_PAINT magic event if one is already queued.
13870 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13872 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13874 2000-03-07 Didier Verna <didier@xemacs.org>
13876 * dired.c: #include `regex.h' after `sysfile.h'.
13878 2000-03-06 Martin Buchholz <martin@xemacs.org>
13880 * sound.c (init_nas_sound): Fix compiler warning.
13882 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13884 (MARK_STRUCT_AS_FREE):
13885 (MARK_STRUCT_AS_NOT_FREE):
13886 Make `gcc -fstrict-aliasing' work properly.
13888 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13890 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13891 (mswindows_delete_device): Call CoUnnitialize().
13893 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13895 2000-02-25 <CraigL@DyCon.com>
13897 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13900 * sysdep.c: This extern declaration for environ prevents MinGW
13901 from finding the variable in CRTDLL.DLL.
13903 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13905 (SHGFI_EXETYPE): ..
13906 (WM_MOUSEWHEEL): ..
13907 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13909 (MMRESULT): Removed, now defined in cygwin's windows headers.
13911 (uid_t,gid_t,pid_t,ssize_t): ..
13912 (_timeb): Removed, MinGW defines both _timeb and timeb.
13913 (HAVE_H_ERRNO): Added.
13914 (HAVE_TZNAME): Added, configure is not detecting this.
13916 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
13918 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
13919 * syntax.c (syntax_match): Use it.
13921 * cmds.c: Import auto-fill-chars from FSF Emacs.
13922 (Vauto_fill_chars): New variables.
13923 (internal_self_insert): Check Vauto_fill_chars.
13925 Declare auto-fill-chars as a Lisp variable and initialize it.
13927 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13929 * fileio.c (Fmake_symbolic_link):
13931 Run handlers even if local machine doesn't have symlinks.
13933 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
13935 * event-msw.c (mswindows_drain_windows_queue):
13936 Don't generate paint magic events for non-XEmacs frames.
13938 2000-03-05 Andy Piper <andy@xemacs.org>
13940 * redisplay.c (redisplay_frame): generate_displayable_area and
13941 friends assumes that we are not in GC, we therefore have to make
13942 sure that this doesn't happen.
13944 * gutter.c (calculate_gutter_size): generate_displayable_area
13945 assumes that we are not in GC, we therefore have to make sure that
13946 this doesn't happen.
13948 2000-03-05 Martin Buchholz <martin@xemacs.org>
13950 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
13952 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13954 * redisplay.c (regenerate_window): Make sure we set a sane value
13955 for end_pos even if we jump out of the loop.
13956 (regenerate_window): Answer Ben's question :-).
13957 (start_end_of_last_line): Add may_error argument.
13958 (start_of_last_line):
13959 (end_of_last_line): Pass may_error = 0.
13960 (end_of_last_line_may_error): New function.
13961 (pixel_to_glyph_translation): Use it, so we don't crash in
13964 2000-03-04 Andy Piper <andy@xemacs.org>
13966 * window.h (struct window): add gutter_extent_modiff.
13968 * window.c (allocate_window): zero out gutter_extent_modiff.
13970 * redisplay.h: declare sync_display_line_structs.
13972 * redisplay.c (add_glyph_rune): add a better comment.
13974 * redisplay-output.c (sync_display_line_structs): made non-static.
13975 (compare_runes): remove unneccesary glyph cachel access.
13977 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
13979 * gutter.c (output_gutter): don't output the gutter if extent
13980 changes only involve extents in buffers. use 4 sets of display
13982 (gutter_extent_signal_changed_region_maybe): new function. Mark
13983 extents in gutters as changed.
13984 (update_frame_gutters): use 4 sets of display lines.
13985 (reset_gutter_display_lines): ditto.
13986 (free_frame_gutters): ditto.
13987 (redraw_exposed_gutter): force output of gutters.
13989 * frame.h (struct frame): add 4 sets of gutter display lines.
13991 * extents.c: (extent_changed_for_redisplay): signal changes to
13992 extents in strings in the gutter as well as extents in buffers.
13994 2000-03-02 Andy Piper <andy@xemacs.org>
13996 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
13998 * frame.c (Fmake_frame): make sure the gutters get initialized
13999 after the frame is visible.
14000 (set_frame_selected_window): re-arrange compilation macros a
14002 (change_frame_size_1): mark gutters changed.
14004 * device.c (Fset_device_class): mark gutters changed.
14006 2000-03-01 Andy Piper <andy@xemacs.org>
14008 * window.c (window_top_frame_gutter_height): deleted.
14009 (window_bottom_frame_gutter_height): ditto.
14010 (window_left_frame_gutter_height): ditto.
14011 (window_right_frame_gutter_height): ditto.
14012 (window_top_gutter_height): don't use them.
14013 (window_bottom_gutter_height): ditto.
14014 (window_left_gutter_width): ditto.
14015 (window_right_gutter_width): ditto.
14016 (Fsplit_window): ditto.
14017 (Fwindow_pixel_edges): don't use border dimensions here.
14019 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14020 (update_scrollbar_instance): ditto.
14022 * redisplay.c (generate_modeline): don't take gutters into account.
14023 (generate_modeline): ditto.
14024 (redisplay_frame): small gutter display optimization.
14026 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14028 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14029 gutters into account.
14031 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14032 for window position and type.
14034 * gutter.c (get_gutter_coords): fix for frame gutters.
14035 (update_frame_gutters): update frame geometry if the gutters have
14037 (init_frame_gutters): record current gutter geometries.
14039 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14041 (mswindows_widget_instantiate): ditto.
14043 * frame.h (struct frame): add current_gutter_bounds.
14045 * frame.c (change_frame_size_1): position window and minibuffer
14046 appropriately taking into account the frame gutters.
14048 * frame-x.c: (x_initialize_frame_size): take into account the
14051 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14053 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14055 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14057 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14059 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14061 * file-coding.c (reset_decoding_stream): Clear previous
14062 detection state when autodetect.
14064 2000-02-29 Didier Verna <didier@xemacs.org>
14066 * extents.c (set_extent_glyph_1): don't require extents to be
14069 2000-02-27 Andy Piper <andy@xemacs.org>
14071 * gutter.c (Fset_default_gutter_position): don't default left and
14072 right gutter visibility to t.
14073 (Fset_default_gutter_position): run
14074 default-gutter-position-changed-hook.
14075 (syms_of_gutter): add default-gutter-position-changed-hook.
14077 2000-02-26 Andy Piper <andy@xemacs.org>
14079 * specifier.c (Fmake_specifier): add gutter references.
14081 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14083 * lisp.h: declare Fvalid_plist_p.
14085 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14087 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14088 well as its visibility so that it gets reconstructed.
14089 (construct_window_gutter_spec): new function. Construct a string
14090 to be displayed in the gutter from a plist of strings. Take care
14091 to only use elements that are declared as visible.
14092 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14094 (gutter_validate): allow plists of strings in the specifier.
14095 (gutter_specs_changed): construct the real_gutter from the gutter
14096 specs using construct_window_gutter_spec.
14097 (gutter_visible_validate): gutter-visible is a new specifier type.
14098 (Fgutter_visible_specifier_p): new function for the new specifier.
14099 (syms_of_gutter): declare gutter-visible and
14100 Fgutter_visible_specifier_p.
14101 (specifier_type_create_gutter): intitalize new gutter-visible
14103 (reinit_specifier_type_create_gutter): ditto.
14104 (specifier_vars_of_gutter): use new specifier type for gutter
14106 (init_frame_gutters): construct real_gutter correctly.
14107 (Fgutter_specifier_p): beef up documentation.
14108 (Fgutter_size_specifier_p): ditto.
14110 * winslots.h: add real_gutter slots.
14112 2000-02-25 Andy Piper <andy@xemacs.org>
14114 * device-msw.c: Be kind to older cygwin versions. From Raymond
14115 Toy <toy@rtp.ericsson.se>.
14117 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14118 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14120 2000-02-25 Martin Buchholz <martin@xemacs.org>
14122 * elhash.c (MARK_OBJ): Practice macro hygiene.
14124 2000-02-24 Martin Buchholz <martin@xemacs.org>
14126 * miscplay.c: s/__inline__/inline/g;
14127 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14128 (get_device_compdc): INLINE ==> static inline
14129 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14130 find -name '*.h' | \
14131 xargs global-replace \
14132 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14134 2000-02-25 Andy Piper <andy@xemacs.org>
14136 * window.c (window_top_frame_gutter_height): new function.
14137 (window_top_window_gutter_height): ditto.
14138 (window_top_gutter_height): use them.
14139 (window_bottom_frame_gutter_height): new function.
14140 (window_bottom_window_gutter_height): ditto.
14141 (window_bottom_gutter_height): use them.
14142 (window_left_window_gutter_width): new function.
14143 (window_left_frame_gutter_width): ditto.
14144 (window_left_gutter_width): use them.
14145 (window_right_window_gutter_width): new function.
14146 (window_right_frame_gutter_width): ditto.
14147 (window_right_gutter_width): use them.
14148 (window_pixel_height): new function. calulate window pixel height
14149 with frame gutter involvement.
14150 (Fsplit_window): calculate new sizes taking frame gutters into
14152 (window_char_height_to_pixel_height): don't include frame gutters.
14153 (window_char_height): use window_pixel_height.
14154 (window_pixheight): rename from window_pixel_height.
14155 (change_window_height): use it.
14156 (window_pixel_height_to_char_height): don't include frame gutters.
14157 (window_char_width_to_pixel_width): ditto.
14159 2000-02-25 Andy Piper <andy@xemacs.org>
14161 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14164 2000-02-24 Martin Buchholz <martin@xemacs.org>
14166 * alloc.c (staticpro):
14167 (staticpro_nodump):
14172 (compact_string_chars):
14173 (pdump_dump_wired):
14174 Convert: if (foo) abort(); ==> assert (! foo);
14176 * eldap.c (Fldap_search_basic):
14180 Fix compiler warnings, and possible crashes if (random) return
14181 value were to be used.
14183 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14185 * device-msw.c: Workaround ResetDC failure.
14187 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14188 applying a devmode.
14190 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14191 (mswindows_text_width): Do not start printer page.
14193 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14195 * glyphs-msw.c: Added image methods to msprinter console and
14196 msprinter-specific image instantiation.
14198 2000-02-20 Mike Alexander <mta@arbortext.com>
14200 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14201 to avoid crashes when selection-sets-clipboard is on
14202 (mswindows_own_selection): ditto
14204 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14207 * redisplay-msw.c (get_frame_dc):
14208 (get_frame_compdc):
14210 * device-msw.c (mswindows_init_device):
14211 (mswindows_delete_device):
14212 (msprinter_init_device):
14213 (msprinter_delete_device):
14214 * frame-msw.c (mswindows_init_frame_1):
14215 (mswindows_delete_frame):
14216 (msprinter_init_frame_3):
14217 (msprinter_delete_frame): Move compatible DC to device object from
14218 frame object, for both mswindows and msprinter. Only one at a time
14219 is needed, it is a real waste to have one per frame!
14221 2000-02-23 Andy Piper <andy@xemacs.org>
14223 * glyphs.c: add dynamic width and height elements.
14224 (image_instance_equal): ditto.
14226 * glyphs-widget.c (widget_query_geometry): calculate width and
14227 height dynamically if required.
14228 (initialize_widget_image_instance): initialize dynamic dimensions.
14229 (widget_instantiate): pick-up dynamic dimensions.
14231 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14232 dynamic determination. Add appropriate macros.
14234 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14236 (WINDOW_GUTTER_SIZE): ditto.
14237 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14239 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14241 (get_frame_dc): ditto.
14243 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14246 2000-02-23 Martin Buchholz <martin@xemacs.org>
14248 * XEmacs 21.2.31 is released.
14250 2000-02-22 Ben Wing <ben@xemacs.org>
14252 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14254 2000-02-22 Andy Piper <andy@xemacs.org>
14256 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14258 2000-02-21 Mike Sperber <mike@xemacs.org>
14262 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14265 2000-02-21 Mike Sperber <mike@xemacs.org>
14267 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14269 2000-02-21 Martin Buchholz <martin@xemacs.org>
14271 * XEmacs 21.2.30 is released.
14273 2000-02-20 Martin Buchholz <martin@xemacs.org>
14275 Performance hacking.
14277 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14278 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14279 * emacs.c (main_1):
14281 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14282 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14283 * symeval.h (DEFVAR_SYMVAL_FWD):
14284 * symbols.c (guts_of_unbound_marker):
14285 Make all c_readonly objects also lisp_readonly and marked for life.
14286 * lrecord.h (struct lrecord_implementation):
14287 Document flags better.
14288 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14289 * lrecord.h (DECLARE_LRECORD):
14290 * lrecord.h (XSETRECORD):
14291 * lrecord.h (RECORDP):
14292 * lrecord.h (RECORD_TYPEP):
14293 * lrecord.h (RECORD_MARKER): New.
14294 * lrecord.h (error_check_*):
14295 * lrecord.h (CONCHECK_NONRECORD):
14296 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14297 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14298 * lrecord.h (set_lheader_implementation):
14299 * lrecord.h (enum lrecord_type): New.
14300 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14301 * alloc.c (disksave_object_finalization_1):
14302 * alloc.c (mark_object):
14303 * alloc.c (lrecord_type_index):
14304 * alloc.c (tick_lcrecord_stats):
14305 * alloc.c (Fgarbage_collect):
14306 * alloc.c (init_alloc_once_early):
14307 * alloc.c (pdump_load):
14308 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14309 * alloc.c (lrecord_type_index): Delete.
14310 Make lisp object type indexes be constant.
14311 Makes (byte-compile) 5% faster.
14312 Put all marker functions into their own array.
14313 Makes (garbage-collect) 5% faster.
14314 Optimize SYMBOL_VALUE_MAGIC_P.
14315 Makes (byte-compile) 2-3% faster.
14316 * config.h.in (gc_checking_assert): New.
14317 * alloc.c: Use gc_checking_assert().
14318 * .dbxrc: Make compatible with new object type implementation.
14319 * .gdbinit: Make compatible with new object type implementation.
14320 * alloc.c: Delete all symbols defined only for debugging, such as
14321 Lisp_Type_Vector and lrecord_charset.
14323 2000-02-21 Andy Piper <andy@xemacs.org>
14325 * gui-msw.c (Fmswindows_shell_execute): fix file location
14328 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14329 unshowing so that set_window_buffer doesn't undo
14330 kill_buffer_hook's hard work.
14332 * glyphs-widget.c (tab_control_query_geometry): don't count the
14333 first item when calculating geometry.
14335 * glyphs.c (map_subwindow): remove redundant code.
14336 (update_frame_subwindows): be more circumspect about when to
14339 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14340 when items haven't changed. Update faces if faces have changed as
14341 well as just the widget face.
14342 (x_tab_control_update): Update faces if faces have changed as well
14343 as just the widget face.
14345 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14347 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14349 (build_syscolor_string): Use mswindows_color_to_string to try to
14351 (mswindows_device_system_metrics): Reverse the foreground and
14352 background colors so that they match the documentation.
14354 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14355 they match the default Windows palette.
14356 (mswindows_color_to_string): New function.
14358 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14360 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14362 2000-02-18 Olivier Galibert <galibert@pobox.com>
14364 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14365 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14367 * symbols.c (init_symbols_once_early): Removed obsolete
14368 DATA_SEG_BITS related kludge.
14369 (defvar_magic): Ditto.
14371 * malloc.c: Removed obsolete DATA_SEG_BITS
14373 * mem-limits.h: Ditto.
14375 * Makefile.in.in: Removed obsolete HAVE_SHM
14378 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14380 * device-msw.c (mswindows_delete_device): Free DDE string
14383 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14385 * keymap.c (get_keyelt):
14386 * unexnt.c (unexec):
14387 * vm-limit.c (memory_warnings):
14388 * ntheap.c (recreate_heap):
14389 * ntheap.h (UNINIT_PTR):
14390 * select-msw.c (Fmswindows_get_clipboard):
14391 (Fmswindows_set_clipboard):
14392 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14394 * menubar-msw.c (displayable_menu_item):
14396 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14397 * sysdep.c (sys_subshell):
14398 * process-nt.c (nt_create_process):
14399 * nt.c (normalize_filename):
14400 (dostounix_filename):
14401 (unixtodos_filename):
14402 * ntproc.c (win32_executable_type):
14403 * ntplay.c (play_sound_data_1):
14405 * editfns.c (get_home_directory):
14406 * event-msw.c (struct winsock_stream):
14407 (mswindows_dde_callback):
14408 * device-msw.c (msprinter_init_device):
14409 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14411 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14412 mswindows_clear_toolbar were swapped!
14414 * objects-msw.c:(colormap_t):
14416 * emacs.c (struct standard_args): Fixed const jumble.
14418 * glyphs-widget.c (update_widget): Fixed comparison notation.
14420 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14422 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14423 __declspec(noreturn) syntax.
14425 2000-02-19 Martin Buchholz <martin@xemacs.org>
14427 * eldap.c (Fldap_open):
14428 (Fldap_search_basic):
14431 Use new coding system conversion macros.
14433 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14435 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14437 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14439 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14440 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14442 * eldap.c (Qadd, Qreplace): New constant symbols
14443 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14444 interruptions by XEmacs signals
14445 Remove unnecessary calls to slow_down_interrupts and
14446 speed_up_interrupts
14447 (Fldap_search_basic): Renamed from Fldap_search_internal
14448 Added new optional parameter VERBOSE that triggers the
14449 display of progress messages
14450 Remove unnecessary calls to slow_down_interrupts and
14451 speed_up_interrupts
14452 LDAP result code analysis rewritten
14453 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14454 (syms_of_eldap): Define the new symbols and functions
14457 2000-02-17 Martin Buchholz <martin@xemacs.org>
14459 * realpath.c: Determine PATH_MAX maximally portably.
14461 * insdel.c (bytecount_to_charcount): Optimize.
14462 The function used to be optimized for entirely ASCII sequences.
14463 Now it is optimized for successive characters from the same
14464 charset. This also wins big for _mostly_ ASCII sequences.
14466 * fileio.c (Ffile_truename): convert return from realpath() using
14467 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14468 - Rewrite GCPROing slightly.
14470 * sysdep.c (sys_open): Do filename conversion, like all other
14471 sys_* functions. Fixes bug:
14472 (let ((file-name-coding-system 'iso-8859-2))
14473 (write-region x y latin2-name))
14474 ==> writes filename using internal encoding.
14476 2000-02-18 Martin Buchholz <martin@xemacs.org>
14478 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14479 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14480 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14481 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14482 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14483 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14484 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14485 (CONST_IF_NOT_DEBUG): Delete.
14486 * alloc.c (this_one_is_unmarkable): Delete.
14487 (mark_object): Don't check for this_one_is_unmarkable. Use the
14488 c_readonly flag instead.
14489 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14491 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14493 * event-msw.c (mswindows_drain_windows_queue):
14494 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14495 away redundant repaint events.
14497 2000-02-17 Andy Piper <andy@xemacs.org>
14499 * redisplay.h: declare mark_redisplay_structs.
14501 * redisplay.c (redisplay_window):
14502 (redisplay_frame): don't check subwindows_state_changed.
14503 (mark_redisplay): mark gutters here.
14505 * glyphs.c: (instantiate_image_instantiator): always layout if we
14506 haven't done so already.
14507 (allocate_image_instance): don't mark as dirty.
14508 (update_subwindow): bind inhibit_quit.
14510 * gutter.c (mark_gutters): new function.
14512 * glyphs-x.c (x_update_widget): Always resize to get round a
14515 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14516 breaking absolutely everything.
14518 * gutter.h: declare mark_gutters.
14520 2000-02-16 Martin Buchholz <martin@xemacs.org>
14522 * XEmacs 21.2.29 is released.
14524 2000-02-15 Olivier Galibert <galibert@pobox.com>
14526 * fns.c (size_bit_vector): Fix computation of the size.
14528 2000-02-15 Martin Buchholz <martin@xemacs.org>
14530 * *.[ch]: Change CONST to const globally.
14531 find -name '*.[ch]' | \
14532 xargs global-replace \
14533 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14534 - Remove vestigial references to CONST_IS_LOSING
14536 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14538 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14539 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14540 events instead of dispatching them directly.
14541 (mswindows_handle_paint): New function to do repainting.
14542 (mswindows_wnd_proc):
14543 (emacs_mswindows_handle_magic_event): Call above function.
14545 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14547 * objects-msw.c (mswindows_create_font_variant): Return the new
14549 (initialize_font_instance): Get font metrics from the underlined
14550 variant of the font to cope with the case where the underlined
14551 font has a bigger descent.
14553 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14555 * gui.c (gui_item_accelerator): Return the first underlined
14556 character in item name.
14558 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14560 * lisp.h: Added Qprinter.
14562 * general.c (syms_of_general): Initialized it.
14564 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14566 (get_frame_compdc): Made inline.
14568 * console.h (struct console_methods): Added eject_page method.
14570 * frame.h: Added FRAME_DISPLAY_P and friends.
14571 Aligned backslahes in many macros in more readable fashion.
14572 Added page_number to struct frame, and an accessor macro
14575 * defice.h: Added DEVICE_DISPLAY_P and friends.
14577 * device.c (Fdevice_printer_p): Used these.
14579 * frame.c (allocate_frame_core): Initialize page number.
14580 (Fprint_job_page_number):
14581 (Fprint_job_eject_page): Implemented.
14583 * frame-msw.c (msprinter_eject_page): Added method.
14584 (msprinter_start_page): Added.
14586 * window.c (Fwindow_truncated_p): Fixed docstring.
14587 (Fwindow_last_line_visible_height): Implemented.
14589 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14591 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14593 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14595 * syntax.c (scan_words): Always advance at least one character.
14597 2000-02-13 Andy Piper <andy@xemacs.org>
14599 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14600 to make sure the glyph is in the cachels.
14602 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14603 global image instance flag.
14604 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14605 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14607 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14608 (Fset_image_instance_property): mark layout as changed.
14609 (invalidate_glyph_geometry_maybe): mark layout as changed.
14610 (glyph_width): use new NEEDS_LAYOUT macro.
14611 (glyph_ascent): ditto.
14612 (glyph_descent): ditto.
14613 (glyph_height): ditto.
14614 (image_instance_layout): mark layout as clean after laying out.
14615 (update_subwindow): don't mark layout as clean here.
14617 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14618 should no longer be needed.
14620 * glyphs-x.c (x_update_widget): sanitize asserts.
14621 (x_finalize_image_instance): sanitize assignment to widgets.
14623 * glyphs-widget.c (widget_instantiate): don't need to clear the
14626 2000-02-13 Martin Buchholz <martin@xemacs.org>
14628 * sysdep.c (getcwd): Use standard prototype.
14629 * sysdep.h (getcwd): Use standard prototype.
14631 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14632 (sequence, start, end).
14633 Remove redundant type checking.
14634 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14635 view of `caller-protects') to avoid a crash where the real fix was
14638 2000-02-12 Martin Buchholz <martin@xemacs.org>
14640 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14642 * s/sol2.h: Remove feature macro initialization.
14644 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14645 (vector_hash): New. Code from internal_hash.
14647 Fix up allocation subsystem comments.
14649 * config.h.in: Add __EXTENSIONS__ for Solaris.
14651 * systime.h (EMACS_GETTIMEOFDAY): New.
14652 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14653 Remove Solaris-specific code.
14654 Use void* for the (ignored) second arg for gettimeofday().
14656 * elhash.c (hash_table_hash): Implement it, finally.
14657 * elhash.c: Use hashcode_t.
14659 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14660 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14662 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14663 * fns.c (size_bit_vector):
14664 * alloc.c (size_vector):
14665 (make_vector_internal):
14666 (make_bit_vector_internal):
14667 (sweep_bit_vectors_1):
14668 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14670 2000-02-10 Martin Buchholz <martin@xemacs.org>
14672 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14673 Include strings.h to avoid warnings for bzero and strcasecmp.
14675 2000-02-10 Olivier Galibert <galibert@pobox.com>
14677 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14678 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14680 * fns.c (size_bit_vector): New. Declare bit vectors as a
14683 2000-02-10 Olivier Galibert <galibert@pobox.com>
14685 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14686 use a value field instead.
14687 (symbol_value_forward_forward): Use value field.
14688 (DEFVAR_SYMVAL_FWD): Use value field.
14689 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14690 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14691 (DEFVAR_CONST_INT): Ditto.
14692 (DEFVAR_BOOL): Ditto.
14693 (DEFVAR_CONST_BOOL): Ditto.
14694 (DEFVAR_INT_MAGIC): Ditto.
14695 (DEFVAR_BOOL_MAGIC): Ditto.
14697 * symbols.c (guts_of_unbound_marker): Use value field.
14698 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14699 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14701 * lisp.h: Declare dumpopaque and noninteractive1.
14703 * alloc.c (dumpopaque): Added.
14704 (pdump_dump_opaquevec): Added.
14705 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14706 (pdump_load): Reload opaque data. Sync noninteractive1 with
14709 2000-02-10 Andy Piper <andy@xemacs.org>
14711 * glyphs.c (image_instance_layout): if the size changes, mark it
14714 * redisplay-output.c (redisplay_output_layout): Update the
14716 (redisplay_output_subwindow): ditto.
14718 * glyphs.c (update_subwindow): make sure we reset flags for
14719 layouts as well as everything else.
14721 * glyphs-widget.c (layout_layout): don't need to set the instances
14724 2000-02-09 Martin Buchholz <martin@xemacs.org>
14726 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14727 not HAVE_DLOPEN, which is a lower-level thing.
14729 * .cvsignore: Ignore gmon.out
14731 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14733 * .cvsignore: Ignore portable dumper xemacs.dmp file
14735 2000-02-09 Andy Piper <andy@xemacs.org>
14737 * redisplay-output.c (redisplay_output_layout): be more clever
14738 about when we output based on the changed flags.
14740 * glyphs.h (struct image_instantiator_methods): add update_method.
14741 (struct Lisp_Image_Instance): add changed flags. Declare new
14742 macros for manipulating them.
14744 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14745 (image_instance_parent_glyph): find an image_instance's parent
14746 glyph or image_instance.
14747 (image_instance_layout): mark the size as changed.
14748 (set_image_instance_dirty_p): new function. mark an image
14749 instance, plus all of its parents, as dirty.
14750 (Fset_image_instance_property): use it.
14751 (Fglyph_animated_timeout_handler): use it.
14752 (update_subwindow): call update_widget and device methods for
14753 update_subwindow. Mark all changed flags as clean.
14754 (Fresize_subwindow): mark size as changed.
14756 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14758 (x_update_subwindow): only resize subwindows here.
14759 (x_update_widget): new function. Update all changed properties of
14761 (x_resize_subwindow): deleted.
14762 (x_widget_set_property): deleted.
14763 (x_progress_gauge_set_property): deleted.
14764 (x_progress_gauge_update): new function. Implement recorded
14766 (x_tab_control_update): ditto.
14767 (x_tab_control_set_property): deleted.
14768 (console_type_create_glyphs_x): declare new functions.
14769 (image_instantiator_format_create_glyphs_x): ditto.
14771 * glyphs-widget.c (widget_set_property): mark text changed.
14772 (update_widget): new function. Update properties of a widget.
14773 (widget_instantiate): for layouts make sure we set their
14774 children's parent correctly.
14775 (tab_control_set_property): new function. Record changes that will
14776 take place under redisplay's control.
14777 (progress_gauge_set_property): ditto.
14778 (image_instantiator_progress_guage): declare new functions.
14779 (image_instantiator_tab_control): ditto.
14781 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14783 (mswindows_update_widget): new function. Update all properties on
14784 a widget that have changed.
14785 (mswindows_button_update): new function. Update a button's set
14787 (mswindows_tab_control_update): new function. Update the items in
14789 (mswindows_tab_control_set_property): deleted.
14790 (mswindows_progress_gauge_update): new function. Update the
14791 progress gauge's progress.
14792 (mswindows_widget_set_property): deleted. This is all done
14793 asynchronously now.
14794 (mswindows_progress_gauge_set_property): ditto.
14795 (console_type_create_glyphs_mswindows): declare new methods.
14796 (image_instantiator_format_create_glyphs_mswindows): ditto.
14798 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14799 (msprinter_set_frame_properties): ditto.
14801 * console.h (struct console_methods): Add update_widget_method.
14803 2000-02-09 Andy Piper <andy@xemacs.org>
14805 * gui-msw.c (Fmswindows_shell_execute): Make
14806 mswindows-shell-execute industrial strength.
14808 2000-02-08 Martin Buchholz <martin@xemacs.org>
14810 * lrecord.h: Make macro argument `props' match member function `plist'.
14813 * fns.c (Fremprop):
14814 * fns.c (Fobject_plist):
14817 Object property list frobbing cleanup.
14818 - Allow any lisp object (compared with `eq'), not just symbols, as
14819 keys in object plists.
14820 - Move symbol plist frobbing into symbols.c, where it belongs.
14821 - Move string plist frobbing into alloc.c, where it belongs.
14822 - Everything's an lrecord now, so no need to test for symbolp, etc.
14823 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14825 * extents.c: Reorder code to remove declarations.
14827 * frame.h (store_in_alist): Remove useless declaration.
14829 2000-02-07 Martin Buchholz <martin@xemacs.org>
14831 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14832 * config.h.in: Add HAVE_XCONVERTCASE.
14834 2000-02-07 Andy Piper <andy@xemacs.org>
14836 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14837 it breaks many things.
14839 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14841 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14842 actually can start a common comment type.
14843 * src/syntax.h (SYNTAX_END_P): ditto for end.
14845 2000-02-07 Martin Buchholz <martin@xemacs.org>
14847 * XEmacs 21.2.28 is released.
14849 2000-02-06 Martin Buchholz <martin@xemacs.org>
14851 * event-Xt.c (x_keysym_to_character): New.
14852 (maybe_define_x_key_as_self_inserting_character): New.
14853 (x_has_keysym): New.
14854 Auto-define all keys on the keyboard as self-insert-key.
14856 2000-02-02 Martin Buchholz <martin@xemacs.org>
14858 * menubar.c (vars_of_menubar): A small code simplification.
14860 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14863 * ExternalClient.c:
14864 * EmacsShell-sub.c:
14867 Use consistent style for specifying X resources.
14869 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14870 This makes (dontusethis-set-symbol-value-handler) actually usable.
14872 * lrecord.h (lrecord_decription_type):
14873 * alloc.c (pdump_register_sub):
14876 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14877 Comply with XEmacs coding style.
14878 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14879 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14881 * keymap.c (Faccessible_keymaps):
14882 Make (accessible-keymaps map "\C-h") do the Right Thing.
14883 Make (accessible-keymaps map []) do the Right Thing.
14884 Make (accessible-keymaps map "") do the Right Thing.
14885 (check_keymap_definition_loop): New function.
14886 (keymap_store_internal): Keep luser from shooting self in foot,
14887 via (define-key ctl-x-4-map "p" global-map).
14888 Remove fullness slot from struct Lisp_Keymap, since hash tables
14890 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14892 2000-01-30 Martin Buchholz <martin@xemacs.org>
14894 * redisplay.c (init_redisplay): Fix small memory leak.
14896 * elhash.c (pdump_reorganize_hash_table):
14897 Rename from reorganize_hash_table. Change prototype.
14898 Reuse the original memory for hentries. Save 100k.
14899 * alloc.c (PDUMP_READ): new macro.
14900 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14901 * alloc.c: No need to #ifndef before #undef.
14903 * print.c: Allow debug_print() to print readably by modifying
14904 debug_print_readably. Use consistent variable names.
14906 * .dbxrc: Try to get things to work even if stopped in a function
14907 without source available by explicitly specifying source files.
14908 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14910 * unexnt.c (_start): Removed bogus code which caused loading heap
14911 from differrent executable file.
14912 Removed bogus assignment to _fmode, which caused inconsistencies.
14914 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14916 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
14917 Have spawnve encapsulation regard DONT_ENCAPSULATE.
14918 Do not preliminary `#define signal sigset'.
14920 * systime.h: Do not prototype environ on windows nt and cygwin,
14921 this conflicts with system header.
14923 * syssignal.h: Use correct define for WINDOWSNT
14925 * sysdep.h: Do not prototype environ on windows nt, this conflicts
14926 with system header.
14928 * sysdep.c (near start of file): Fixed commentary and rearranged
14929 ifdefs in readable order.
14930 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
14933 (end_of_data): Do not compile in if using PDUMP.
14935 * symsinit.h: Prototyped vars_of_nt().
14937 * ntproc.c (windows9x_p): Added, instead of os_subtype.
14938 (find_child_console): Use it.
14939 (sys_kill): Use it.
14941 * ntheap.h: Do not extern os_subtype.
14943 * ntheap.c (cache_system_info): Do not cache unneeded:
14944 nt_major_version, nt_minor_version and os_subtype.
14945 (recreate_heap): Do not compile in when PDUMPing.
14947 * nt.c (geteuid and friends): Use the new varibale
14948 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
14949 (init_user_info): Removed the above mentioned hackery.
14950 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
14951 stat has been fixed in the C runtime.
14952 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
14954 * file-coding.c (struct file_coding_dump): Do not define
14955 ucs_to_mule_table in the struct if not MULE.
14956 (struct struct lrecord_description fcd_description_1): Do not dump
14959 * emacs.c (main_1): Call vars_of_nt().
14960 (right before Fdump_emacs_data): Don't need lastfile if using both
14961 portabe dumper and system malloc.
14963 * alloc.c (Fmemory_limit): Conditionalized out.
14964 (pdump): Use OPEN_BINARY for the portable dump file.
14965 (pdump_load): Ditto.
14967 2000-02-02 Mike Alexander <mta@arbortext.com>
14969 * nt.c (convert_time): Set tm_isdst before calling mktime and
14970 avoid calling it at all if the compiler supports 64 bit integers.
14971 Also initialize utc_base_ft before using it.
14973 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14975 * frame.c (change_frame_size_1): Take f->internal_border_width
14976 into consideration when calculating the width of the frame.
14978 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14980 * window.c (frame_min_height):
14981 (frame_size_valid_p):
14982 (frame_pixsize_valid_p): Added.
14983 (check_frame_size): Generalized.
14985 * window.h: Prototyped the above.
14988 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
14989 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
14990 Deleted Vwin32_* and Vbinary_process_* unused variables.
14992 * device-msw.c (msprinter_init_device): Do not get printer font
14993 list; Added DEVMODE functions.
14995 * frame-msw.c: Added lots of printer code.
14997 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15000 * console-msw.h: Added more msprinter device private slots.
15002 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15004 * event-msw.c (key_needs_default_processing_p): Added.
15005 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15007 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15009 * glyphs.c (image_instance_layout): Mark image instance as clean
15011 (glyph_dirty_p): Removed redundant function.
15012 (invalidate_glyph_geometry_maybe): Added.
15013 (update_glyph_cachel_data): Call it.
15015 * glyphs.h: Prototyped it.
15017 * redisplay.c (add_glyph_rune): Call it.
15018 (redisplay_window): Reset glyphs cachels when frame faces have
15019 changed, thus forcing recomputation of built-in border glyphs.
15021 2000-01-30 Martin Buchholz <martin@xemacs.org>
15023 * Makefile.in.in: Make portable dumper and purify play well together.
15024 Add imperfect, but better than nothing, support for pdump.
15025 Remove xemacs.dmp when temacs is re-generated.
15026 Don't ignore errors when dumping xemacs.
15028 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15030 2000-01-28 Andy Piper <andy@xemacs.org>
15032 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15033 (setup_normal_frame): ditto.
15034 (setup_frame_without_minibuffer): ditto.
15035 (setup_minibuffer_frame): ditto.
15036 (delete_frame_internal): ditto.
15037 (Fmake_frame_invisible): ditto.
15038 (Ficonify_frame): ditto.
15040 * window.h: change Fset_window_buffer signature.
15042 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15043 (Fset_window_buffer): allow recording of buffer if the window is
15044 the selected window.
15045 (window_loop): Use new Fset_window signature.
15047 2000-01-23 Daniel Pittman <daniel@danann.net>
15049 * config.h.in: Added template for `HAVE_ATHENA_3D'
15051 2000-01-29 Andy Piper <andy@xemacs.org>
15053 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15055 * gutter.c (output_gutter): Don't output if the window isn't live.
15057 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15059 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15060 of 01/12/00: Moved SetFocus back here where it belongs.
15062 2000-01-23 Andy Piper <andy@xemacs.org>
15064 * s/cygwin32.h: declare printer things.
15066 2000-01-26 Andy Piper <andy@xemacs.org>
15068 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15071 2000-01-24 Andy Piper <andy@xemacs.org>
15073 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15074 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15076 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15078 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15080 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15082 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15083 (mswindows_output_display_block): Avoid local shadows.
15085 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15086 (mswindows_enqueue_mouse_button_event): ditto.
15087 (mswindows_handle_gui_wm_command): remove declaration.
15089 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15092 * console-msw.h: Avoid shadows.
15093 (mswindows_get_toolbar_button_text):
15094 (emacs_mswindows_create_stream_pair):
15095 (emacs_mswindows_delete_stream_pair):
15096 (mswindows_handle_toolbar_wm_command): declare.
15098 * device-msw.c (build_syscolor_string): Avoid shadows.
15100 2000-01-23 Andy Piper <andy@xemacs.org>
15102 * glyphs-widget.c (widget_instantiate): reverse the items for
15103 layouts so that children are in the expected order.
15105 2000-01-28 Martin Buchholz <martin@xemacs.org>
15107 * ralloc.c: safe_bcopy ==> memmove
15108 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15109 * s/msdos.h: Remove BCOPY macros.
15110 * insdel.c (gap_right): Remove BCOPY conditional code.
15111 * insdel.c (gap_left): Remove BCOPY conditional code.
15112 XEmacs demands a working ANSI C compiler - hence memmove.
15114 * regex.c (regex_compile): Remove accidental use of trigraphs.
15116 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15118 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15121 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15123 * event-msw.c (mswindows_drain_windows_queue): Added the
15125 (mswindows_need_event): Commented the call to
15126 mswindows_drain_windows_queue().
15127 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15130 * console-msw.h: Moved a few function prototypes here from
15133 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15134 parameter from unsigned short to unsigned long.
15135 (Fmswindows_shell_execute): Added return value.
15137 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15139 * sysdep.c (init_system_name):
15140 process-unix.c (unix_canonicalized_host_name):
15141 Don't call freeaddrinfo() if getaddrinfo() fails.
15143 * process-unix.c (unix_open_unix_network_stream):
15144 Moved the code to get a port # into address loop.
15146 2000-01-27 Martin Buchholz <martin@xemacs.org>
15148 * buffer.c (reinit_vars_of_buffer):
15149 The right place to initialize conversion_in_dynarr and
15150 conversion_out_dynarr.
15152 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15154 * process-unix.c (unix_canonicalize_host_name): Muleize.
15155 (unix_open_network_stream): Muleize.
15157 * buffer.h: Fix up prototypes for ralloc.c functions.
15159 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15160 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15161 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15162 instead of gethostbyname()
15163 * process-unix.c: In unix_canonicalize_host_name() and
15164 unix_open_network_stream(), add code to use getaddrinfo()
15165 instead of gethostbyname().
15167 2000-01-27 Daniel Pittman <daniel@danann.net>
15169 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15170 libs when built with flat Athena.
15172 2000-01-27 Martin Buchholz <martin@xemacs.org>
15174 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15175 Use coding standards for function prototypes.
15177 2000-01-25 Martin Buchholz <martin@xemacs.org>
15179 * dialog-msw.c (push_lisp_string_as_unicode):
15180 * doc.c (unparesseuxify_doc_string):
15181 * dired.c (Fuser_name_completion_1):
15182 * dired.c (Fuser_name_all_completions):
15183 * dired.c (free_user_cache):
15184 * dired.c (user_name_completion):
15185 * console-x.c (get_display_arg_connection):
15186 * minibuf.c (clear_echo_area_internal):
15187 * minibuf.c (echo_area_append):
15188 * eldap.c (Fldap_open):
15189 * eldap.c (Fldap_search_internal):
15190 * frame-x.c (x_set_frame_text_value):
15191 * frame-x.c (x_set_frame_properties):
15192 * frame-x.c (x_create_widgets):
15193 * redisplay-tty.c (term_get_fkeys_1):
15194 * objects-x.c (x_parse_nearest_color):
15195 * objects-x.c (x_valid_color_name_p):
15196 * objects-x.c (x_initialize_font_instance):
15197 * objects-x.c (x_list_fonts):
15198 * objects-x.c (x_find_charset_font):
15199 * tooltalk.c (Fadd_tooltalk_message_arg):
15200 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15201 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15202 * process-unix.c (unix_create_process):
15203 * ntproc.c (sys_spawnve):
15204 * sound.c (Fplay_sound_file):
15205 * sound.c (Fplay_sound):
15206 * buffer.c (init_initial_directory):
15207 * buffer.c (init_buffer):
15208 * editfns.c (init_editfns):
15209 * editfns.c (Ftemp_directory):
15210 * editfns.c (Fuser_full_name):
15211 * editfns.c (uncache_home_directory):
15212 * editfns.c (get_home_directory):
15213 * editfns.c (Fuser_home_directory):
15214 * editfns.c (Fformat_time_string):
15215 * editfns.c (Fcurrent_time_string):
15216 * gui-x.c (button_item_to_widget_value):
15217 * database.c (Fopen_database):
15218 * event-Xt.c (x_to_emacs_keysym):
15219 * event-Xt.c (x_event_to_emacs_event):
15220 * event-Xt.c (describe_event_window):
15221 * event-msw.c (mswindows_wnd_proc):
15222 * glyphs-eimage.c (jpeg_instantiate):
15223 * glyphs-eimage.c (gif_instantiate):
15224 * glyphs-eimage.c (png_instantiate):
15225 * glyphs-eimage.c (tiff_instantiate):
15226 * glyphs-x.c (xbm_instantiate_1):
15227 * glyphs-x.c (x_xbm_instantiate):
15228 * glyphs-x.c (x_xface_instantiate):
15229 * glyphs-x.c (autodetect_instantiate):
15230 * glyphs-x.c (cursor_font_instantiate):
15231 * glyphs-x.c (x_widget_instantiate):
15232 * glyphs-x.c (x_widget_set_property):
15233 * glyphs-x.c (x_widget_property):
15234 * glyphs-x.c (BUILD_GLYPH_INST):
15235 * print.c (write_string_to_stdio_stream):
15236 * print.c (output_string):
15237 * print.c (Falternate_debugging_output):
15238 * print.c (Fexternal_debugging_output):
15239 * glyphs-msw.c (extract_xpm_color_names):
15240 * glyphs-msw.c (mswindows_xpm_instantiate):
15241 * glyphs-msw.c (bmp_instantiate):
15242 * glyphs-msw.c (resource_name_to_resource):
15243 * glyphs-msw.c (mswindows_resource_instantiate):
15244 * glyphs-msw.c (xbm_instantiate_1):
15245 * glyphs-msw.c (mswindows_xbm_instantiate):
15246 * glyphs-msw.c (mswindows_xface_instantiate):
15247 * glyphs-msw.c (mswindows_widget_instantiate):
15248 * glyphs-msw.c (add_tree_item):
15249 * glyphs-msw.c (add_tab_item):
15250 * glyphs-msw.c (mswindows_combo_box_instantiate):
15251 * glyphs-msw.c (mswindows_widget_property):
15252 * glyphs-msw.c (mswindows_combo_box_property):
15253 * glyphs-msw.c (mswindows_widget_set_property):
15254 * console.c (stuff_buffered_input):
15255 * objects-msw.c (mswindows_initialize_color_instance):
15256 * objects-msw.c (mswindows_valid_color_name_p):
15257 * objects-msw.c (mswindows_list_fonts):
15258 * objects-msw.c (mswindows_font_instance_truename):
15259 * bytecode.c (optimize_compiled_function):
15260 * select-x.c (symbol_to_x_atom):
15261 * select-x.c (x_atom_to_symbol):
15262 * select-x.c (hack_motif_clipboard_selection):
15263 * select-x.c (selection_data_to_lisp_data):
15264 * select-x.c (lisp_data_to_selection_data):
15265 * select-x.c (Fx_get_cutbuffer_internal):
15266 * select-x.c (Fx_store_cutbuffer_internal):
15267 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15268 * buffer.h (TO_INTERNAL_FORMAT): New function.
15269 * emacs.c (make_arg_list_1):
15270 * emacs.c (make_argc_argv):
15271 * emacs.c (main_1):
15272 * emacs.c (Fdump_emacs):
15273 * emacs.c (split_string_by_emchar_1):
15278 * device-x.c (x_init_device):
15279 * device-x.c (Fx_valid_keysym_name_p):
15280 * device-x.c (Fx_get_font_path):
15281 * device-x.c (Fx_set_font_path):
15282 * glyphs.c (bitmap_to_lisp_data):
15283 * glyphs.c (pixmap_to_lisp_data):
15284 * alloc.c (make_ext_string): Use coding system arguments. Update
15286 * alloc.c (build_string):
15287 * callproc.c (child_setup):
15288 * callproc.c (init_callproc):
15289 * fileio.c (lisp_strerror):
15290 * fileio.c (directory_file_name):
15291 * fileio.c (Fexpand_file_name):
15292 * fileio.c (Ffile_truename):
15293 * fileio.c (Fsysnetunam):
15294 * fileio.c (Fdo_auto_save):
15295 * sysdep.c (sys_readdir):
15296 * tests.c: New file. Allow adding C tests.
15297 Replace GET_* macros with a more comprehensible and flexible
15298 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15300 Any coding system can be used to do format conversion.
15301 Eliminate enum external_data_format.
15302 Eliminate convert_to_external_format.
15303 Eliminate convert_to_internal_format.
15304 Make sure file-name, keyboard, terminal, and ctext are always
15305 defined as coding systems or aliases. Make
15306 file-name-coding-system, terminal-coding-system, and
15307 keyboard-coding-system magical variables that are equivalent to
15308 defining the corresponding coding system aliases.
15310 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15311 * file-coding.c (Fcoding_system_alias_p): New function.
15312 * file-coding.c (Fcoding_system_aliasee): New function.
15313 * file-coding.c (append_suffix_to_symbol): New function.
15314 * file-coding.c (dangling_coding_system_alias_p): New function.
15315 * file-coding.c (Ffind_coding_system):
15316 * file-coding.c (Fcopy_coding_system):
15317 * file-coding.c (encode_coding_no_conversion):
15318 * file-coding.c (syms_of_file_coding):
15319 * file-coding.c (vars_of_file_coding):
15320 Rewrite coding system alias code.
15321 Allow nested aliases, like symbolic links.
15322 Allow redefinition of coding system aliases.
15323 Prevent existence of dangling coding system aliases.
15325 * dired.c (Fuser_name_completion_1):
15326 * dired.c (Fuser_name_all_completions):
15327 A crash would happen if user did QUIT in the middle of building
15328 user_name_cache. Remove redundant code in mainline and unwind_protect.
15331 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15333 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15334 an unsigned char *. Update all callers.
15336 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15338 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15340 2000-01-25 Martin Buchholz <martin@xemacs.org>
15342 * elhash.c (hentry_description): Use more portable definition.
15343 (resize_hash_table): Initialize new hentries using
15344 xnew_array_and_zero, thereby simplifying the code.
15346 * mule-charset.c (make_charset): Make sure entire object is
15347 initialized, to avoid Purify warnings.
15349 * alloc.c (resize_string): Fix unlikely crash with big strings.
15351 2000-01-24 Martin Buchholz <martin@xemacs.org>
15353 * realpath.c (xrealpath):
15354 Don't call getwd().
15356 2000-01-25 Martin Buchholz <martin@xemacs.org>
15358 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15360 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15362 * unexelfsgi.c (unexec): Change the way we decide which segment
15363 should be extended.
15365 Assumption that .bss section should be outside the PT_LOADable
15366 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15367 it's present) is inside the 'data' segment. This would fail the
15368 test which was used to find a segment to grow and cover new
15369 heap. Instead of this assumption, I created another one - on IRIX
15370 the segment to grow should start below .bss and it's address
15371 should extent above the end of .bss. Once this segment is
15372 identified, it's grown to accommodate the new heap and new
15373 zero-length .bss section is added at the end of .data2.
15375 2000-01-25 Martin Buchholz <martin@xemacs.org>
15377 * eval.c (Feval): Wrong number of arguments should use original
15378 function, not the indirect_function version of it.
15380 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15382 * glyphs-x.c (x_button_instantiate): Don't add image if
15383 it is not a pixmap.
15384 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15387 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15389 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15391 (DEFVAR_INT_MAGIC): Ditto.
15392 (DEFVAR_BOOL_MAGIC): Ditto.
15393 * glyphs.h: Reindent backslash.
15395 2000-01-24 Martin Buchholz <martin@xemacs.org>
15397 * glyphs-widget.c (layout_query_geometry):
15398 (layout_layout): Use correct types for gheight, gwidth.
15400 2000-01-24 Martin Buchholz <martin@xemacs.org>
15402 * EmacsManager.c (QueryGeometry): Purified.
15404 2000-01-23 Martin Buchholz <martin@xemacs.org>
15406 * alloc.c (make_float): Make sure entire object is initialized, to
15407 avoid Purify warnings.
15408 (pdump_register_sub): Remove useless assignment.
15409 (pdump): Use xmalloc, not malloc.
15410 (pdump_load): Use xmalloc, not malloc.
15412 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15419 * sysdep.c: Removed redundant #include <windows.h>
15421 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15423 * frame.c (delete_frame_internal): Do not delete device when its
15424 implementation so declares.
15425 (delete_frame_internal): Set device selected frame to nil when
15426 last frame goes away.
15428 * device-msw.c (msprinter_device_system_metrics): Implemented.
15429 (mswindows_device_system_metrics): Added 'device-dpi property.
15431 * device.c: (Fdevice_printer_p): Added.
15432 Added 'offset-workspace device metric.
15434 * console.h (device_metrics): Declared DM_offset_workspace.
15436 2000-01-23 Martin Buchholz <martin@xemacs.org>
15438 * fileio.c (Ffile_truename): Remove pointless and confusing
15439 initialization of elen.
15441 * glyphs-widget.c: Compiler warning fixes.
15443 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15445 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15446 instead of a Lisp_Object as argument to make it consistent with
15447 the other LIVE_P macros.
15448 (CHECK_LIVE_PROCESS): New macro.
15450 * process.c: Declare Qprocess_live_p.
15451 (Fprocess_live_p): New function.
15452 (create_process): Use PROCESS_LIVE_P.
15453 (read_process_output): Ditto.
15454 (set_process_filter): Ditto.
15455 (Fdelete_process): Ditto.
15456 (kill_buffer_processes): Ditto
15457 (process_send_signal): Use CHECK_LIVE_PROCESS.
15458 (Fprocess_input_coding_system): Check whether process is still
15459 alive (fix PR#1061).
15460 (Fprocess_output_coding_system): Ditto.
15461 (Fprocess_coding_system): Ditto.
15462 (Fset_process_input_coding_system): Ditto.
15463 (Fset_process_output_coding_system): Ditto.
15465 2000-01-23 Andy Piper <andy@xemacs.org>
15467 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15470 * glyphs.c (mark_image_instance): take into account changed
15471 image_instance format.
15472 (image_instance_equal): ditto.
15473 (image_instance_hash): ditto.
15475 * glyphs-widget.c (widget_instantiate): Incorporate layout
15476 instantiation here. Delay layout of the layout until later.
15477 (layout_instantiate): deleted.
15478 (layout_query_geometry): new function. get the geometry of a
15480 (layout_layout): layout a layout dynamically.
15481 (image_instantiator_widget): New function - splitting up
15482 image_instantiator_format_create_glyphs_widget for netwinder
15484 (image_instantiator_buttons):
15485 (image_instantiator_edit_fields):
15486 (image_instantiator_combo_box):
15487 (image_instantiator_scrollbar):
15488 (image_instantiator_progress_guage):
15489 (image_instantiator_tree_view):
15490 (image_instantiator_tab_control):
15491 (image_instantiator_labels):
15492 (image_instantiator_layout): ditto.
15493 (image_instantiator_format_create_glyphs_widget): Call preceding
15496 2000-01-22 Martin Buchholz <martin@xemacs.org>
15498 * process.c (Fset_process_coding_system):
15499 * device-x.c (Fx_keysym_hash_table):
15502 * lstream.c (Lstream_write): Return documented value, not 0.
15504 * fileio.c (directory_file_name):
15505 (Fsubstitute_in_file_name):
15506 (Fsubstitute_insert_file_contents_internal):
15507 (Fwrite_region_internal):
15512 Remove vestigial APOLLO-conditional code.
15514 2000-01-21 Martin Buchholz <martin@xemacs.org>
15516 * getpagesize.h: Add guard macros.
15517 * libsst.h: Add guard macros.
15518 * libst.h: Add guard macros.
15519 * line-number.h: Add guard macros.
15520 * ndir.h: Add guard macros.
15521 * sysfloat.h: Add guard macros.
15522 * sysfile.h: Add guard macros.
15523 * sysproc.h: Add guard macros.
15524 * syswait.h: Add guard macros.
15525 * xintrinsic.h: Add guard macros.
15526 * xintrinsicp.h: Add guard macros.
15527 * xmmanager.h: Add guard macros.
15528 * xmmanagerp.h: Add guard macros.
15529 * xmprimitive.h: Add guard macros.
15530 * xmu.h: Add guard macros.
15531 * gpmevent.h: Add copyright statement. Add guard macros.
15532 * miscplay.h: Add guard macros.
15533 * *.h: Use consistent C-standards-approved guard macro names.
15535 * opaque.c (make_opaque): Switch parameter order.
15536 * opaque.h (make_opaque): Switch parameter order.
15537 Update all callers.
15538 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15540 * config.h.in (type_checking_assert): Added.
15541 (bufpos_checking_assert): Added.
15543 2000-01-21 Martin Buchholz <martin@xemacs.org>
15545 * alloc.c: Harmless pdump changes.
15547 - spell alignment correctly.
15548 * sysdep.c: Use countof()
15550 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15552 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15553 initially_selected_for_input() console method, default to 0.
15554 (semi_canonicalize_console_connection): Try to delegate to
15555 canonicalize_console_connection if no such console method.
15556 (canonicalize_console_connection): Vice versa.
15557 (print_console): Do not print nil connection.
15559 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15560 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15561 (XDEVIMPF_FRAMELESS_OK): Added.
15562 (CONSOLE_INHERITS_METHOD): Added.
15564 * console-msw.c (mswindows_canonicalize_console_connection):
15566 (mswindows_canonicalize_device_connection): Added.
15568 * console-msw.h (struct msprinter_device): Added this struct and
15570 (mswindows_device): Made fontlist a lisp object.
15572 * device.c (semi_canonicalize_device_connection): Try to delegate
15573 to canonicalize_device_connection if no such console method.
15574 (canonicalize_device_connection): Vice versa.
15575 (print_device): Do not print nil connection.
15577 * device-msw.c (mswindows_init_device): Call InitCommonControls
15579 (mswindows_delete_device): Removed fontlist deallocation.
15580 (mswindows_mark_device): Added.
15582 * events.c (event_equal): Added abort() at unreached code.
15583 (event_hash): Ditto.
15585 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15586 fallback tags of Windows devices.
15588 * general.c (syms_of_general): Initialized Qmsprinter.
15590 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15591 of fallback tags of Windows devices.
15593 * lisp.h: Declared Qmsprinter.
15595 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15597 (mswindows_list_fonts): Ditto.
15598 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15599 that it can be used by both mswindows and msprinter devices.
15600 (initialize_font_instance): Added.
15601 (mswindows_initialize_font_instance): Use it.
15602 (msprinter_initialize_font_instance): Added.
15604 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15605 and implementation flags check.
15606 (redisplay_without_hooks): Changed the call to the above.
15607 (Fredraw_device): Ditto.
15608 (Fredisplay_device): Ditto.
15610 * redisplay-msw.c (get_frame_dc): Implemented.
15611 (get_frame_compdc): Implemented.
15612 (many functions): Use the two functions above to get device
15613 contexts, ether for a window or a printer.
15615 2000-01-21 Olivier Galibert <galibert@pobox.com>
15617 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15618 initialization here.
15619 (init_symbols_once_early): Call it.
15620 * emacs.c (main_1): Call it.
15621 * symsinit.h: Declare it.
15623 2000-01-19 Olivier Galibert <galibert@pobox.com>
15625 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15627 (pdump_backtrace): Ditto.
15628 (pdump_register_object): Ditto. Cleanup use of the pointers.
15629 (pdump_get_entry): Abort if trying to register a null pointer.
15630 (pdump_dump_data): Cleanup types when relocating.
15631 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15632 (pdump_dump_rtables): Remove bad casts.
15633 (pdump_load): Cleanup relocation w.r.t union type. Use a
15634 Lisp_Object instead of a EMACS_INT for the hashtable
15637 2000-01-20 Martin Buchholz <martin@xemacs.org>
15639 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15641 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15643 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15645 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15647 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15649 * faces.h (FACE_STRIKETHRU_P): Added.
15651 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15654 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15655 (mswindows_set_dc_font): New function, aware of font variants,
15656 separated from mswindows_update_dc.
15658 * objects-msw.h (struct mswindows_font_instance_data): Added
15661 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15662 cached fonts and the data structure.
15663 (mswindows_initialize_font_instance): Added creation of font data
15665 (mswindows_print_font_instance): Print at least something.
15666 (mswindows_create_font_variant): Implemented.
15667 (mswindows_get_hfont): Implemented.
15669 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15671 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15672 prototyping problem with msvc.
15674 * emacs.c (main_1): added syms_of_gui_mswindows() call
15676 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15677 syms_of_gui_mswindows() function
15679 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15681 2000-01-18 Martin Buchholz <martin@xemacs.org>
15683 * XEmacs 21.2.27 is released.
15685 2000-01-18 Martin Buchholz <martin@xemacs.org>
15687 * glyphs-eimage.c (struct tiff_error_struct):
15689 (tiff_warning_func):
15690 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15695 * unexec.c: Remove vestigial Lucid C code.
15699 * libsst.c: Ansify.
15700 Remove declarations of errno and strerror().
15702 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15704 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15706 2000-01-16 Martin Buchholz <martin@xemacs.org>
15708 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15711 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15716 Change enum eol_type to eol_type_t.
15718 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15720 * gui.c (get_gui_callback): Check cons before accessing car.
15722 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15724 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15725 (XSETSPECIFIER_TYPE): Ditto.
15727 2000-01-17 Didier Verna <didier@xemacs.org>
15729 * redisplay.c (generate_fstring_runes): compute string size in
15730 characters, not bytes.
15732 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15734 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15736 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15738 * print.c (print_error_message): Call print_prepare().
15740 2000-01-14 Martin Buchholz <martin@xemacs.org>
15742 * .dbxrc: Renamed from dbxrc.
15744 * events.c (event_to_character):
15745 Use `assert (foo)' instead of `if (!foo) abort()'
15747 * .gdbinit (xtype): Add documentation.
15748 * .gdbinit (check-temacs): New function.
15749 * .gdbinit (check-xemacs): New function.
15750 * dbxrc (check-xemacs): New function.
15751 * dbxrc (check-xemacs): New function.
15753 2000-01-14 Andy Piper <andy@xemacs.org>
15755 * glyphs-widget.c (widget_query_geometry): Make sure that we
15756 calculate default dimensions correctly.
15758 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15760 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15762 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15763 pdump_wire'd variable.
15765 * emacs.c: (main_1): Conditionalized calls to
15766 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15768 2000-01-13 Martin Buchholz <martin@xemacs.org>
15770 * window.c (Fset_window_configuration):
15771 * sysdep.c (_start):
15772 * input-method-motif.c (res):
15773 * event-Xt.c (Xt_process_to_emacs_event):
15774 Simple compiler warning fixes.
15776 * bytecode.c (funcall_compiled_function): Use the original
15777 function symbol on the backtrace list in preference to the
15778 compiled_function object in error messages.
15780 2000-01-13 Andy Piper <andy@xemacs.org>
15782 * glyphs-x.c (update_widget_face): Make sure we update the widget
15783 background as well as foreground.
15785 2000-01-13 Andy Piper <andy@xemacs.org>
15787 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15788 fields to subwindow.
15789 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15790 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15791 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15792 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15794 * glyphs-widget.c (check_valid_tab_orientation): new function.
15795 (initialize_widget_image_instance): zero orientation and
15797 (widget_instantiate): pick up orientation.
15798 (tab_control_query_geometry): return appropriate values for
15801 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15802 appropriate creation flags for left, right and bottom tabs.
15804 * s/cygwin32.h: add tab definitions.
15806 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15808 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15809 frame upon hiding a subwindow.
15810 (mswindows_button_instantiate): Changed the push button style to
15812 (mswindows_button_instantiate): Removed button BS_NOTIFY
15814 (mswindows_button_instantiate): Removed redundant check for
15815 a disabled gui item.
15816 (mswindows_button_instantiate): Made use of WS_TABSTOP
15817 consistent: "operable" controls (edit, button, tree, scroll) have
15818 this style, "display-only" ones (static, progress gauge) do
15819 not. This style is currently ignored by XEmacs though. Also,
15820 removed the WS_EX_CONTROLPARENT style - it is not for children,
15821 it is for their parents!
15822 (mswindows_edit_field_instantiate): Ditto.
15823 (mswindows_progress_gauge_instantiate): Ditto.
15824 (mswindows_tree_view_instantiate): Ditto.
15825 (mswindows_tab_control_instantiate): Ditto.
15826 (mswindows_scrollbar_instantiate): Ditto.
15827 (mswindows_combo_box_instantiate): Ditto.
15828 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15829 style to the "clip" window.
15830 (mswindows_button_instantiate): Removed compilation warning by
15831 equally typing terms of the ?: operator.
15833 2000-01-12 Didier Verna <didier@xemacs.org>
15835 * redisplay.c (generate_fstring_runes): new parameter holding the
15836 last modeline-format extent.
15837 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15838 extent, fill the glyph block with it.
15839 (generate_fstring_runes): handle these parameters.
15840 (generate_formatted_string_db): ditto.
15842 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15843 glyphs'extents in the modeline.
15845 1999-01-11 Mike Woolley <mike@bulsara.com>
15847 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15848 256Mb, as a workaround for the non-starting problem many people
15851 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15853 * console-tty.c (Fset_console_tty_output_coding_system):
15854 Force redrawing tty frame.
15856 2000-01-10 Didier Verna <didier@xemacs.org>
15858 * redisplay.c (generate_fstring_runes): fix size computation bug.
15860 2000-01-09 William M. Perry <wmperry@aventail.com>
15862 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15864 2000-01-09 Andy Piper <andy@xemacs.org>
15866 * glyphs-msw.c: index -> i to avoid shadows.
15867 (xbm_create_bitmap_from_data): make static.
15868 (check_valid_string_or_int): deleted.
15869 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15871 * glyphs-x.c (x_update_subwindow): remove unused args.
15873 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15874 back pointer - this is done in allocate_image_instance.
15875 (query_string_font): return Qnil to make the compiler happy.
15876 (unmap_subwindow): set to ~0 to make the compiler happy.
15877 (glyph_query_geometry): comment out until used.
15878 (glyph_layout): ditto.
15880 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15882 * insdel.c (signal_after_change): Remove extraneous unbind_to().