1 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Vchise_db_directory): New variable.
4 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
6 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
9 instead of HAVE_CHISE to specify using with libchise.
11 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
13 * chartab.h: Don't use HAVE_CHISE_CLIENT.
15 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
16 defined or HAVE_LIBCHISE_LIBCHISE is defined.
17 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
19 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
20 HAVE_CHISE to specify using with libchise.
21 (syms_of_chartab): Don't define symbol `system-char-id' when
22 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
24 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
26 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
27 specify CHISE DB support.
28 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
29 of `char_attribute_system_db_file' to check feature DB file.
31 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
32 HAVE_CHISE_CLIENT to specify CHISE DB support.
34 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
35 specify CHISE DB support.
36 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
38 (Freset_char_attribute_table): Use `chise_feature_setup_db'
39 instead of `char_attribute_system_db_file' to check feature DB
42 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
47 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
49 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
50 (Fsave_charset_mapping_table): Don't use
51 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
53 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
54 (HAVE_LIBCHISE): New macro.
56 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
58 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
59 (Fsave_char_attribute_table): Don't use
60 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
62 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
64 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
66 (save_uint16_byte_table): Likewise.
67 (save_byte_table): Likewise.
68 (char_table_get_db): Use `chise_ds_load_char_feature_value'
69 instead of `chise_char_load_feature_value'.
70 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
72 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
74 * chartab.h (struct Lisp_Char_Table): Delete member
75 `feature_table' if CHISE is defined.
77 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
78 (Fcopy_char_table): Likewise.
79 (char_table_open_db_maybe): Likewise.
80 (char_table_close_db_maybe): Likewise.
81 (char_table_get_db): Likewise.
82 (Fmount_char_attribute_table): Likewise.
83 (Fload_char_attribute_table): Likewise.
85 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * mule-charset.c (load_char_decoding_entry_maybe): Use
88 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
91 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
94 instead of `chise_open_data_source'.
95 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
98 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
100 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
101 instead of `chise_ds_open_feature_table'.
102 (char_table_close_db_maybe): Don't use `chise_ft_close'.
104 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * mule-charset.c (Fsave_charset_mapping_table): Use
107 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
108 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
109 `chise_ccs_sync' instead of `chise_ccst_close'.
110 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
112 * chartab.c (open_chise_data_source_maybe): Modify for
113 `chise_open_data_source'.
114 (char_table_open_db_maybe): Modify for
115 `chise_ds_open_feature_table'.
117 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
119 * mule-charset.c (load_char_decoding_entry_maybe): Use
120 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
123 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
125 * mule-charset.c (Fsave_charset_mapping_table): Use
126 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
127 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
128 `chise_dt_put_char' and `chise_dt_close'.
129 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
130 `chise_ccs_decode' and `chise_ccst_close' instead of
131 `chise_ds_open_decoding_table', `chise_dt_get_char' and
134 * chartab.c (char_table_get_db): Use
135 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
136 (load_char_attribute_table_map_func): Modify for
137 `chise_char_feature_value_iterate'.
138 (Fload_char_attribute_table): Use
139 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
141 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
143 * chartab.c (put_char_table): Modify for inherited coded-charsets
146 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
148 * chartab.c (Fput_char_table_map_function): Fixed.
149 (word_boundary_p): Don't check charset in XEmacs CHISE.
151 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
153 * mule-charset.c (Fsave_charset_mapping_table): Use
154 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
155 instead of `chise_open_decoding_table'; refer
156 `default_chise_data_source'; use `chise_dt_close' instead of
157 `chise_close_decoding_table'.
158 (load_char_decoding_entry_maybe): Likewise.
160 * chartab.c (default_chise_data_source): New variable when `CHISE'
162 (Fcopy_char_table): `ct->ds' is deleted.
163 (open_chise_data_source_maybe): New function.
164 (Fclose_char_data_source): New function.
165 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
166 use `chise_ds_open_feature_table' instead of
167 `chise_open_feature_table'.
168 (char_table_close_db_maybe): Use `chise_ft_close' instead of
169 `chise_close_feature_table'; `cit->ds' is deleted.
170 (syms_of_chartab): Add new builtin function
171 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
173 * chartab.h (default_chise_data_source): New extern variable.
174 (open_chise_data_source_maybe): New prototype.
175 (struct Lisp_Char_Table): Delete `ds'.
177 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
179 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
182 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
184 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
185 not defined; add code for non-libchise setting.
186 (char_table_close_db_maybe): Likewise.
187 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
189 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
190 even if `CHISE' is not defined.
191 (Freset_char_attribute_table): Likewise.
192 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
193 `char_table_close_db_maybe' even if `CHISE' is not defined; use
195 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
196 `char_table_close_db_maybe' even if `CHISE' is not defined.
198 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
200 * chartab.c (char_table_open_db_maybe): New function.
201 (char_table_close_db_maybe): New function.
202 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
203 (Freset_char_attribute_table): Likewise.
204 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
205 `char_table_close_db_maybe'.
206 (Fload_char_attribute_table): Likewise.
208 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
210 * chartab.c: Don't include <chise.h> because it is included in
212 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
214 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
216 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
218 (Fclose_char_attribute_table): Close `ct->feature_table' and
219 `ct->ds' when `CHISE' is defined.
220 (Freset_char_attribute_table): Likewise.
221 (load_char_attribute_maybe): Use `cit->ds' and
222 `cit->feature_table' when `CHISE' is defined.
223 (Fload_char_attribute_table): Likewise.
225 * chartab.h: Include <chise.h> when `CHISE' is defined.
226 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
227 when `CHISE' is defined.
229 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
231 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
233 (char_table_description): Likewise.
234 (Fmake_char_table): Likewise.
235 (Fcopy_char_table): Likewise.
236 (Fmount_char_attribute_table): Likewise.
237 (Fclose_char_attribute_table): Likewise.
238 (Freset_char_attribute_table): Likewise.
239 (load_char_attribute_maybe): Likewise.
240 (Fload_char_attribute_table): Likewise.
242 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
245 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
247 * chartab.c (load_char_attribute_table_map_func): New function
248 when CHISE is defined.
249 (Qload_char_attribute_table_map_function): Don't define when CHISE
251 (Fload_char_attribute_table_map_function): Likewise.
252 (Fload_char_attribute_table): Use libchise when `CHISE' is
254 (syms_of_chartab): Don't define
255 `load-char-attribute-table-map-function' when CHISE is defined.
257 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
259 * chartab.c: Include <chise.h> when `CHISE' is defined.
260 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
262 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * mule-charset.c (charset_code_point): Fix problem when searching
265 in mother CCS fails with `defined_only' mode.
267 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
269 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
270 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
271 (put_char_composition): Likewise.
272 (Fput_char_attribute): Likewise.
273 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
275 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
277 * chartab.c (Q_ucs): Deleted.
278 (Fput_char_attribute): Don't refer `->ucs'.
279 (Fdefine_char): Likewise.
280 (Ffind_char): Likewise.
281 (syms_of_chartab): Delete `->ucs'.
283 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
285 * mule-charset.c (Qmap_cns11643_2): Renamed from
286 `Qchinese_cns11643_2'.
287 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
288 `chinese-cns11643-2'.
289 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
292 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
294 * mule-charset.c (Qmap_cns11643_1): Renamed from
295 `Qchinese_cns11643_1'.
296 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
297 `chinese-cns11643-1'.
298 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
301 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
303 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
304 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
306 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
309 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
311 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
312 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
314 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
317 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
319 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
320 (syms_of_mule_charset): Add new symbol `=big5' instead of
322 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
324 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
327 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
329 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
332 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
334 * mule-charset.c (Qmap_jis_x0212): Renamed from
335 `Qjapanese_jisx0212'.
336 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
338 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
341 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
343 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
344 `Qjapanese_jisx0208'.
345 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
346 of `japanese-jisx0208'.
347 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
350 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
352 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
353 `Qjapanese_jisx0208_1978'.
354 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
355 of `japanese-jisx0208-1978'.
356 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
359 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
361 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
362 only for XEmacs CHISE.
364 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
366 * char-ucs.h: Compact non-ISO-IR charset-ids.
367 (LEADING_BYTE_UCS): Changed to -177.
368 (LEADING_BYTE_CONTROL_1): Changed to -77.
369 (LEADING_BYTE_UCS_BMP): Changed to -176.
370 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
372 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * mule-charset.c (Qiso_ir): New variable.
375 (Fmake_charset): Recognise new property `iso-ir'.
376 (syms_of_mule_charset): Add new symbol `iso-ir'.
378 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
380 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
381 n to -n; charset-id of non ISO-IR sets are changed to positive
384 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
386 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
387 for &MCS-XXXXXXXX; values.
389 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
391 * mule.c (Vxemacs_chise_version): Renamed from
393 (vars_of_mule): Add new variable `xemacs-chise-version'; define
394 `utf-2000-version' as an alias for `xemacs-chise-version'.
396 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
398 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
399 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
402 * config.h.in (CHISE): New macro.
404 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
406 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
408 (Qmap_ucs): New variable.
409 (syms_of_mule_charset): Add new symbol `=ucs'.
410 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
412 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
413 (simplify_char_spec): Likewise.
415 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
417 * char-ucs.h (Qmap_ucs): New extern variable.
419 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
422 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
423 don't define it when UTF2000 is not defined.
424 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
425 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
426 when UTF2000 is not defined.
427 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
428 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
430 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
434 * mule-charset.c (Vcharset_ucs_gb): Deleted.
436 (syms_of_mule_charset): Delete `ucs-gb'.
437 (complex_vars_of_mule_charset): Likewise.
439 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
441 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
443 * mule-charset.c (Vcharset_ucs_cns): Deleted.
445 (syms_of_mule_charset): Delete `ucs-cns'.
446 (complex_vars_of_mule_charset): Likewise.
448 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
452 * mule-charset.c (Vcharset_ucs_jis): Deleted.
454 (syms_of_mule_charset): Delete `ucs-jis'.
455 (complex_vars_of_mule_charset): Likewise.
457 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
459 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
461 * mule-charset.c (Vcharset_ucs_ks): Deleted.
463 (syms_of_mule_charset): Delete `ucs-ks'.
464 (complex_vars_of_mule_charset): Likewise.
466 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
468 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
469 (Qideograph_daikanwa_2): Deleted.
470 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
471 (complex_vars_of_mule_charset): Likewise.
473 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
474 (LEADING_BYTE_DAIKANWA_1): Deleted.
475 (LEADING_BYTE_DAIKANWA_2): Deleted.
476 (MIN_CHAR_DAIKANWA): Deleted.
477 (MAX_CHAR_DAIKANWA): Deleted.
479 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
481 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
482 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
483 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
485 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
486 (Vcharset_ideograph_daikanwa): Deleted.
487 (Qideograph_hanziku_{1..12}): Deleted.
488 (Qideograph_daikanwa): Deleted.
489 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
490 Vcharset_ideograph_daikanwa.
491 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
492 `ideograph-hanziku-{1..12}'.
493 (complex_vars_of_mule_charset): Likewise.
495 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
497 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
499 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
500 (Qideograph_gt_pj_{1..11}): Deleted.
501 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
502 (complex_vars_of_mule_charset): Likewise.
504 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * mule-charset.c (Vcharset_ucs_big5): Deleted.
507 (Vcharset_ideograph_gt): Deleted.
508 (Qucs_big5): Deleted.
509 (Qideograph_gt): Deleted.
510 (syms_of_mule_charset): Delete symbol `ucs-big5' and
512 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
515 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
516 (LEADING_BYTE_GT): Deleted.
517 (MIN_CHAR_GT): Deleted.
518 (MAX_CHAR_GT): Deleted.
520 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
524 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
527 (save_uint16_byte_table): Likewise.
528 (save_byte_table): Likewise; convert values by it.
529 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
530 for `ideographic-structure'.
531 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
532 as the filter for `ideographic-structure'.
534 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
536 * chartab.c (put_char_composition): New function.
537 (Fput_char_attribute): Use `put_char_composition'; use
538 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
540 * fns.c (simplify_char_spec): New function.
541 (char_ref_simplify_spec): New function.
542 (Fchar_refs_simplify_char_specs): New function.
543 (syms_of_fns): Add new builtin function
544 `char-refs-simplify-char-specs'.
546 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
548 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
549 (Qideograph_cbeta): Deleted.
550 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
551 (complex_vars_of_mule_charset): Likewise.
553 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
554 (MIN_CHAR_CBETA): Comment out.
555 (MAX_CHAR_CBETA): Likewise.
557 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
559 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
560 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
561 CHISE client feature.
563 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
565 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
567 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
569 * mule-charset.c (charset_lookup_description_1): Use
570 `NUM_LEADING_BYTES' in UTF-2000.
572 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
574 * char-ucs.h (GC_CHARSETP): Deleted.
576 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * char-ucs.h (MAX_CHAR_GT): Updated.
580 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
582 * text-coding.c: Sync with XEmacs 21.4.10.
584 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
586 * mule-charset.c (Vcharset_china3_jef): Deleted.
587 (Qchina3_jef): Deleted.
588 (syms_of_mule_charset): Don't define `china3-jef'.
589 (complex_vars_of_mule_charset): Likewise.
591 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
592 (MIN_CHAR_CHINA3_JEF): Comment out.
593 (MAX_CHAR_CHINA3_JEF): Comment out.
595 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
597 * mule-charset.c (Vcharset_ucs_gb): New variable.
598 (Qucs_gb): New variable.
599 (syms_of_mule_charset): Add new symbol `ucs-gb'.
600 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
602 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
604 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
606 * mule-charset.c (charset_code_point): if a coded-charset has a
607 final-byte, don't inherit the builtin range of the mother CCS.
609 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
611 * mule-charset.c (charset_code_point): Fix problem about
614 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
616 * mule-charset.c (decode_builtin_char): Reorganized.
618 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
620 * text-coding.c (char_encode_as_entity_reference): Modify for
621 `charset_code_point'.
622 (char_encode_shift_jis): Likewise.
623 (char_encode_big5): Likewise.
624 (char_encode_utf8): Likewise.
625 (char_encode_iso2022): Likewise.
627 * mule-charset.c (charset_code_point): Add new argument
629 (Fencode_char): Add new optional argument `defined_only'.
631 * chartab.c (put_char_table): Modify for `charset_code_point'.
633 * char-ucs.h (charset_code_point): Add new argument
635 (encode_char_1): Modify for `charset_code_point'.
637 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
639 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
640 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
642 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
644 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
645 (Qjis_x0208): Likewise.
646 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
647 XCHARSET_FINAL(charset).
648 (charset_code_point): Modify condition for final-byte based
650 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
651 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
652 in UTF-2000; specify `=jis-x0208' as the mother of
653 `japanese-jisx0208-1978', `japanese-jisx0208' and
654 `japanese-jisx0208-1990' in UTF-2000.
656 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
658 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
660 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
662 * text-coding.c (decode_coding_utf16): Support UTF-16.
663 (char_encode_utf16): Fixed.
665 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
667 * text-coding.c (Qutf16): New variable in MULE.
668 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
669 (Fcoding_system_type): Add `utf-16' in MULE.
670 (struct detection_state): Add a structure for utf16 in MULE.
671 (detect_coding_type): Setup st->utf16.mask in MULE.
672 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
674 (reset_encoding_stream): Use `char_encode_utf16' and
675 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
676 (detect_coding_utf16): New function [incomplete].
677 (decode_coding_utf16): New function [support only UCS-2].
678 (char_encode_utf16): New function.
679 (char_finish_utf16): New function.
680 (syms_of_file_coding): Add new symbol `utf-16'; setup
681 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
683 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
685 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
686 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
688 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
690 * chartab.c (put_char_table): When a charset is specified as a
691 range in UTF-2000, don't support builtin characters.
693 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
695 * mule-charset.c (decode_defined_char): Don't refer external
696 database if Qunbound or Qnil are found.
697 (Fsave_charset_mapping_table): Don't define it if
698 HAVE_CHISE_CLIENT is not defined.
699 (Freset_charset_mapping_table): New function.
700 (load_char_decoding_entry_maybe): Store Qnil if a character is not
701 found in external database.
702 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
703 if HAVE_CHISE_CLIENT is not defined; add new builtin function
704 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
706 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
708 * text-coding.c (decode_coding_utf8): Check CCS is specified or
711 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
713 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
714 Q_lowercase, Q_uppercase in UTF-2000.
716 * chartab.c (get_char_table): Add special code for the standard
717 case table to use character attribute `->downcase' and
718 `->uppercase' for case operations in UTF-2000.
720 * casetab.c (Qflippedcase): New variable in UTF-2000.
721 (Q_lowercase): Likewise.
722 (Q_uppercase): Likewise.
723 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
724 and `->uppercase' in UTF-2000.
725 (complex_vars_of_casetab): Assign attribute name `downcase' to
726 downcase and CANON table of Vstandard_case_table in UTF-2000;
727 assign attribute name `flippedcase' to upcase and EQV table of
728 Vstandard_case_table in UTF-2000.
730 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
732 * text-coding.c (decode_add_er_char): Support isolated-chars.
733 (char_encode_as_entity_reference): Likewise.
735 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
737 * emacs.c (Vutf_2000_lisp_directory): New variable.
738 (Vconfigure_utf_2000_lisp_directory): Likewise.
739 (complex_vars_of_emacs): Add new variable
740 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
742 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
744 * char-ucs.h (DECODE_CHAR): Delete special code for
745 `chinese-big5-1' and `chinese-big5-2'.
747 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
749 (decode_defined_char): Support CONVERSION_BIG5_1 and
751 (decode_builtin_char): Likewise.
752 (charset_code_point): Likewise.
753 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
754 'conversion in UTF-2000.
755 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
756 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
757 `chinese-big5-2' as children of `chinese-big5'.
759 * char-ucs.h (CONVERSION_BIG5_1): New macro.
760 (CONVERSION_BIG5_2): New macro.
762 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
764 * text-coding.c (char_encode_big5): Support entity-reference.
766 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
768 * text-coding.c (char_encode_as_entity_reference): New function.
769 (char_encode_utf8): Use `char_encode_as_entity_reference'.
771 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
773 * text-coding.c (decode_coding_big5): Support entity-reference
776 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
778 * text-coding.c (allocate_coding_system): Initialize initial
779 charsets for CODESYS_UTF8.
780 (Fmake_coding_system): Accept charset-g0, charset-g1 and
781 charset-g2 for CODESYS_UTF8.
782 (decode_coding_utf8): Use charset-g0.
783 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
784 to force variants to map to UCS.
786 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
788 * text-coding.c (Qutf_8_mcs): New variable.
789 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
790 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
791 instead of `utf-8' in UTF-2000.
793 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
795 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
796 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
797 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
798 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
799 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
800 CONVERSION_96x96x96x96 are introduced.
801 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
802 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
803 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
805 * char-ucs.h (CONVERSION_94): New macro.
806 (CONVERSION_96): New macro.
807 (CONVERSION_94x94): New macro.
808 (CONVERSION_96x96): New macro.
809 (CONVERSION_94x94x94): New macro.
810 (CONVERSION_96x96x96): New macro.
811 (CONVERSION_94x94x94x60): New macro.
812 (CONVERSION_94x94x94x94): New macro.
813 (CONVERSION_96x96x96x96): New macro.
815 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
817 * chartab.c (Vcharacter_variant_table): Deleted.
818 (Fchar_variants): Use character-attribute `->ucs-variants' instead
819 of `Vcharacter_variant_table'.
820 (Fput_char_attribute): Likewise.
821 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
822 (complex_vars_of_chartab): Likewise.
824 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
826 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
828 * fns.c (Qideographic_structure): New variable.
829 (Qkeyword_char): New variable.
830 (ids_format_unit): New function.
831 (Fideographic_structure_to_ids): New function.
832 (syms_of_fns): Add new symbols `ideographic-structure' and
833 `:char'; add new builtin function `ideographic-structure-to-ids'.
835 * data.c (Fchar_ref_p): New function.
836 (syms_of_data): Add new builtin function `char-ref-p'.
838 * chartab.h: Add an EXFUN for `Ffind_char'.
840 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
842 * text-coding.c (Vcharacter_composition_table): Deleted.
843 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
846 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
848 (Vcharacter_composition_table): Deleted.
849 (Fget_composite_char): Use the implementation for external-DB
850 support in every UTF-2000.
851 (Fput_char_attribute): Likewise.
852 (char_attribute_system_db_file): Don't define if external-DB
853 feature is not available.
854 (Fsave_char_attribute_table): Likewise.
855 (Fmount_char_attribute_table): Likewise.
856 (Fclose_char_attribute_table): Likewise.
857 (Freset_char_attribute_table): Likewise.
858 (Fload_char_attribute_table): Likewise.
859 (syms_of_chartab): Don't define `save-char-attribute-table',
860 `mount-char-attribute-table', `reset-char-attribute-table',
861 `close-char-attribute-table' and `load-char-attribute-table' if
862 external-DB feature is not available.
863 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
865 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
867 * text-coding.c (Qcomposition): Add extern if external-DB feature
869 (Vcharacter_composition_table): Don't add extern if external-DB
870 feature is supported.
871 (COMPOSE_ADD_CHAR): Modify for new data-representation of
872 character composition rule if external-DB feature is supported.
874 * chartab.c (Vcharacter_composition_table): Don't define if
875 external-DB feature is supported.
876 (Qcomposition): New variable.
877 (Fget_composite_char): New implementation for external-DB support.
878 (Fput_char_attribute): Use `composition' property of each
879 character instead of `Vcharacter_composition_table' to store
880 character-composition rules if external-DB feature is supported.
881 (syms_of_chartab): Add new symbol `composition'.
882 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
883 external-DB feature is supported.
885 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
887 * chartab.c (Vchar_db_stingy_mode): New variable.
888 (load_char_attribute_maybe): Close database if
889 Vchar_db_stingy_mode is not NIL.
890 (Fload_char_attribute_table_map_function): Use
891 `get_char_id_table_0' instead of `get_char_id_table'.
892 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
894 * chartab.h (get_char_id_table_0): New inline function.
895 (get_char_id_table): Use `get_char_id_table_0'.
897 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
899 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
900 and `COMPOSE_ADD_CHAR'.
901 (decode_coding_iso2022): Use `decode_flush_er_chars'.
903 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
905 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
906 instead of `DECODE_ADD_UCS_CHAR'.
907 (COMPOSE_ADD_CHAR): Likewise.
909 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
911 * text-coding.c (decode_flush_er_chars): New inline function.
912 (decode_add_er_char): New function.
913 (decode_coding_utf8): Use `decode_flush_er_chars' and
914 `decode_add_er_char'.
916 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
918 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
919 done before `decode_output_utf8_partial_char'.
921 * mule-charset.c (complex_vars_of_mule_charset): Specify
922 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
923 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
925 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
927 * mule-charset.c (decode_defined_char): New function; search
929 (decode_builtin_char): Don't search mother if
930 XCHARSET_MAX_CODE(charset) == 0.
931 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
932 == 0 even if code >= XCHARSET_MAX_CODE(charset).
933 (Fdecode_char): Use `decode_defined_char' instead of
934 `DECODE_DEFINED_CHAR'.
935 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
936 mother of `Vcharset_ucs_jis'.
938 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
939 instead of `DECODE_DEFINED_CHAR'.
941 * char-ucs.h (decode_defined_char): Renamed from
942 `DECODE_DEFINED_CHAR'; changed to normal function.
943 (DECODE_CHAR): Use `decode_defined_char' instead of
944 `DECODE_DEFINED_CHAR'.
946 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
948 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
950 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
952 * text-coding.c (Vcoded_charset_entity_reference_alist): New
954 (Quse_entity_reference): New variable.
958 (coding_system_description): Add description for
960 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
961 (allocate_coding_system): Initialize `ccs_priority_list' in
963 (Fmake_coding_system): Add description about
964 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
966 (Fcoding_system_property): Accept `disable-composition' and
967 `use-entity-reference' in UTF-2000.
968 (struct decoding_stream): Add new member `er_counter' and `er_buf'
970 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
971 (decode_coding_utf8): Decode entity-reference if
972 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
973 (char_encode_utf8): Encode non-Unicode characters as
974 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
976 (syms_of_file_coding): Add new symbols `use-entity-reference',
978 (vars_of_file_coding): Add new variable
979 `coded-charset-entity-reference-alist'.
980 (complex_vars_of_file_coding): Declare `disable-composition' and
981 `use-entity-reference' to be coding-system-properties in UTF-2000.
983 * file-coding.h (struct Lisp_Coding_System): Add new member
984 `use_entity_reference' and `ccs_priority_list'.
985 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
986 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
987 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
989 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
991 * chartab.c (save_uint8_byte_table): Don't clear the table.
992 (save_uint16_byte_table): Likewise.
993 (save_byte_table): Likewise.
994 (Fmount_char_attribute_table): New function.
995 (syms_of_chartab): Add new builtin function
996 `mount-char-attribute-table'.
998 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1000 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1002 (load_char_decoding_entry_maybe): Open database as read-only mode.
1004 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1005 open database as "w+" mode.
1006 (load_char_attribute_maybe): Open database as read-only mode.
1007 (Fload_char_attribute_table): Likewise.
1009 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1011 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1012 (char_table_description): Delete member `db_file'.
1013 (Fmake_char_table): Don't refer `ct->db_file'.
1014 (Fcopy_char_table): Likewise.
1015 (Fsave_char_attribute_table): Likewise.
1016 (Fclose_char_attribute_table): Likewise.
1017 (Freset_char_attribute_table): Likewise.
1018 (load_char_attribute_maybe): Likewise.
1019 (Fload_char_attribute_table): Likewise.
1021 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1023 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1025 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1026 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1028 (load_char_attribute_maybe): Likewise.
1029 (Fload_char_attribute_table): Likewise.
1031 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1033 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1034 `ct->db_file' unconditionally.
1036 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1038 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1040 (char_table_description): Add description for `db_file' and `db'
1042 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1044 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1045 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1046 (Fclose_char_attribute_table): New function.
1047 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1048 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1050 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1051 (syms_of_chartab): Add new builtin function
1052 `Fclose_char_attribute_table'.
1054 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1056 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1058 (load_char_attribute_maybe): Change interface.
1059 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1061 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1063 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1065 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1067 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1068 instead of `DECODE_CHAR' for mother; don't use special code for
1069 chinese-big5 to use code space of chinese-big5-1 and
1071 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1072 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1074 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1075 (MAX_CHAR_BIG5_CDP): Revival.
1077 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1079 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1080 the XLFD registry-encoding name of `chinese-big5'.
1082 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1084 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1085 (Qchinese_big5_cdp): Deleted.
1086 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1087 (complex_vars_of_mule_charset): Delete coded-charset
1090 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1091 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1092 `CHARSET_ID_OFFSET - n' for private CCS.
1093 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1094 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1095 of `MIN_LEADING_BYTE'.
1096 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1097 `(CHARSET_ID_OFFSET - 97)'.
1098 (MIN_CHAR_BIG5_CDP): Deleted.
1099 (MAX_CHAR_BIG5_CDP): Deleted.
1101 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1103 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1105 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1107 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1108 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1111 * chartab.c (Vutf_2000_version): Moved to mule.c.
1112 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1114 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1116 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1117 when HAVE_CHISE_CLIENT is not defined.
1119 * mule.c (vars_of_mule): Provide feature `chise' when
1120 HAVE_CHISE_CLIENT is defined.
1122 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1124 * config.h.in (UTF2000): Add comment.
1125 (HAVE_CHISE_CLIENT): New macro.
1127 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1129 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1131 (Fput_char_attribute): Likewise.
1132 (char_attribute_system_db_file): Encode file-name of attribute.
1133 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1136 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1138 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1139 (Fsave_charset_mapping_table): Use
1140 `char_attribute_system_db_file'.
1141 (load_char_decoding_entry_maybe): Likewise.
1143 * chartab.h (Qsystem_char_id): New external variable.
1144 (char_attribute_system_db_file): New prototype.
1146 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1147 (char_attribute_system_db_file): New function.
1148 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1149 (Freset_char_attribute_table): Likewise.
1150 (load_char_attribute_maybe): Likewise.
1151 (Fload_char_attribute_table): Likewise.
1152 (syms_of_chartab): Add new symbol `system-char-id'.
1154 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1156 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1157 `XCHARSET_GRAPHIC(ccs)'.
1159 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1161 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1163 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1165 * chartab.c (Q_ucs_variants): New variable.
1166 (syms_of_chartab): Add new symbol `->ucs-variants'.
1167 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1168 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1169 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1171 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1173 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1174 `HAVE_DATABASE' is defined.
1175 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1176 `HAVE_DATABASE' is defined.
1178 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1180 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1182 (Freset_char_attribute_table): New function.
1183 (syms_of_chartab): Add new builtin function
1184 `reset-char-attribute-table'.
1186 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1188 * chartab.c (load_char_attribute_maybe): Don't make directories.
1190 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1192 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1194 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1197 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1199 * mule-charset.c (Fsave_charset_mapping_table): Use
1200 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1202 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1203 instead of `XCHARSET_CHARS'.
1205 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1207 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1208 (XCHARSET_BYTE_SIZE): Likewise.
1210 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1212 (XCHARSET_BYTE_SIZE): Likewise.
1214 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1216 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1217 data-directory to store database.
1218 (Fsave_char_attribute_table): Likewise.
1219 (load_char_attribute_maybe): Likewise.
1220 (Fload_char_attribute_table): Likewise.
1222 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1224 * mule-charset.c (Fsave_charset_mapping_table): New function.
1225 (syms_of_mule_charset): Add new builtin function
1226 `save-charset-mapping-table'.
1228 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1231 (get_ccs_octet_table): New inline function.
1232 (put_ccs_octet_table): Likewise.
1233 (decoding_table_put_char): Use `get_ccs_octet_table' and
1234 `put_ccs_octet_table'.
1235 (decoding_table_remove_char): Use `decoding_table_put_char'.
1236 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1238 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1239 into encoding_table.
1240 (make_charset): Use Qunbound instead Qnil as initial value of
1243 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1245 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1246 element is Qunloaded.
1247 (map_over_uint16_byte_table): Likewise.
1248 (map_over_byte_table): Likewise.
1249 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1250 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1251 database support, load encoding-table of the specified
1252 coded-charset if it is not loaded yet.
1253 (save_uint8_byte_table): New function of UTF-2000 with external
1255 (save_uint16_byte_table): Likewise.
1256 (save_byte_table): Likewise.
1257 (Fput_char_attribute): Don't store value into external database
1258 even if the external database feature is supported in UTF-2000;
1259 set `attribute' as name of char-table if the external database
1260 feature is supported.
1261 (Fsave_char_attribute_table): New function in UTF-2000.
1262 (syms_of_chartab): Add new builtin function
1263 `save-char-attribute-table' in UTF-2000.
1265 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1267 * chartab.c (char_attribute_table_to_put): New variable in
1269 (Qput_char_table_map_function): Likewise.
1270 (value_to_put): Likewise.
1271 (Fput_char_table_map_function): New function in UTF-2000.
1272 (put_char_table): Use `Fmap_char_attribute' for
1273 CHARTAB_RANGE_CHARSET in UTF-2000.
1274 (Fput_char_attribute): Store symbol instead of string in
1275 `XCHAR_TABLE_NAME (table)'.
1276 (load_char_attribute_maybe): Likewise.
1277 (syms_of_chartab): Add new symbol/function
1278 `put-char-table-map-function'.
1280 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1282 * database.h: Add new EXFUN for `Fmap_database'.
1284 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1285 (syms_of_database): Likewise.
1287 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1289 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1290 (XCHAR_TABLE_UNLOADED): Likewise.
1292 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1293 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1294 HAVE_DATABASE is defined.
1295 (char_attribute_table_to_load): New variable of UTF-2000 with
1296 external database support.
1297 (Qload_char_attribute_table_map_function): Likewise.
1298 (Fload_char_attribute_table_map_function): New function of
1299 UTF-2000 with external database support.
1300 (Fload_char_attribute_table): New function of UTF-2000.
1301 (Fmap_char_attribute): Call Fload_char_attribute_table if
1302 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1303 (syms_of_chartab): Add new symbol and function
1304 `load-char-attribute-table-map-function' in UTF-2000 with external
1305 database support; add new function `load-char-attribute-table' in
1308 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1310 * chartab.h (load_char_attribute_maybe): New prototype for
1311 UTF-2000 with DATABASE support.
1312 (get_char_id_table): Use `load_char_attribute_maybe' if
1313 HAVE_DATABASE is defined.
1315 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1316 with DATABASE support.
1318 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1320 * chartab.c (Fput_char_attribute): Use S-expression as key of
1323 * chartab.h (get_char_id_table): Use S-expression as key of
1326 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1328 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1329 if an element is not loaded, load the corresponding attributes
1330 from an external database.
1331 (map_over_uint16_byte_table): Likewise.
1332 (map_over_byte_table): Likewise.
1333 (map_char_table): Modify for `map_over_uint8_byte_table',
1334 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1335 element is not loaded, load the corresponding attributes from an
1337 (Fput_char_attribute): Change initial values to Qunloaded.
1339 * chartab.h (get_char_id_table): If a character attribute is not
1340 loaded and the attribute value is not found in an external
1341 database, store Qunbound as the attribute value.
1343 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1345 * chartab.c (BT_UINT8_unloaded): New macro.
1346 (UINT8_VALUE_P): Accept Qunloaded.
1347 (UINT8_ENCODE): Likewise.
1348 (UINT8_DECODE): Likewise.
1349 (BT_UINT16_unloaded): New macro.
1350 (UINT16_VALUE_P): Accept Qunloaded.
1351 (UINT16_ENCODE): Likewise.
1352 (UINT16_DECODE): Likewise.
1353 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1355 (mark_char_table): Mark `ct->name' in UTF-2000.
1356 (char_table_description): Add `name' in UTF-2000.
1357 (Fmake_char_table): Initialize `ct->name'.
1358 (Fcopy_char_table): Copy `ct->name'.
1359 (Fput_char_attribute): Store value into an external database if
1360 HAVE_DATABASE is defined.
1362 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1364 (CHAR_TABLE_NAME): New macro in UTF-2000.
1365 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1366 (get_char_id_table): Try to read an external database if Qunloaded
1367 is stored in a table.
1369 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1372 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1374 * database.h: Add EXFUN definitions for Fopen_database,
1375 Fput_database, Fget_database and Fclose_database.
1377 * data.c (Qunloaded): New variable in UTF-2000.
1379 * lisp.h (Qunloaded): New variable in UTF-2000.
1381 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1383 * mule-charset.c (put_char_ccs_code_point): Modify for
1384 `decoding_table_remove_char' and `decoding_table_put_char'.
1385 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1387 * char-ucs.h (decoding_table_remove_char): Change arguments to
1388 hide decoding_table vector.
1389 (decoding_table_put_char): Likewise.
1391 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1393 * mule-charset.c (decoding_table_remove_char): Moved to
1395 (decoding_table_put_char): Likewise.
1397 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1398 from mule-charset.c].
1399 (decoding_table_remove_char): New inline function [moved from
1401 (decoding_table_put_char): Likewise.
1403 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1405 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1408 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1410 * mule-charset.c (decode_builtin_char): Support mother charsets.
1412 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1414 * mule-charset.c (Q94x94x60): New variable.
1415 (charset_code_point): Support conversion `94x94x60'.
1416 (Fmake_charset): Likewise.
1417 (syms_of_mule_charset): Add new symbol `94x94x60'.
1419 * char-ucs.h (CONVERSION_94x94x60): New macro.
1421 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1423 * mule-charset.c (charset_code_point): Unify code about
1426 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1428 * mule-charset.c (charset_code_point): Merge code about builtin
1429 characters into code about mother charsets; don't use
1430 `range_charset_code_point'.
1431 (range_charset_code_point): Deleted.
1433 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1435 * mule-charset.c (Qcode_offset): New variable.
1436 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1437 `max-code'; accept new property `code-offset'.
1438 (syms_of_mule_charset): Add new symbol `code-offset'.
1440 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1442 * mule-charset.c (range_charset_code_point): Fixed.
1444 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1446 * mule-charset.c (decode_builtin_char): Change semantics of
1447 code-offset of coded-charset.
1448 (charset_code_point): Likewise.
1449 (range_charset_code_point): Likewise.
1450 (complex_vars_of_mule_charset): Modify for the change.
1452 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1454 * mule-charset.c (Fencode_char): Reverse arguments.
1456 * mule-charset.c (charset_code_point): Fixed.
1458 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * mule-charset.c (Vcharset_mojikyo): Deleted.
1461 (Vcharset_mojikyo_2022_1): Deleted.
1462 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1463 (Qmin_code): New variable in UTF-2000.
1464 (Qmax_code): Likewise.
1465 (Qmother): Likewise.
1466 (Qconversion): Likewise.
1468 (Qmojikyo): Deleted.
1469 (Qmojikyo_2022_1): Deleted.
1470 (Qmojikyo_pj_{1..22}): Deleted.
1471 (mark_charset): Mark `cs->mother'.
1472 (charset_description): Add description for `mother'.
1473 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1474 new arguments `mother' and `conversion'; use
1475 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1476 (charset_code_point): Moved from char-ucs.h; support `mother'
1478 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1479 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1480 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1481 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1482 allow 2 as the value of `graphic' in UTF-2000; add new properties
1483 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1484 require `final' in UTF-2000; modify for `make_charset'.
1485 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1486 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1487 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1488 (Fencode_char): New function.
1489 (syms_of_mule_charset): Add new builtin function `encode-char' in
1490 UTF-2000; add new symbols `min-code', `max-code', `mother',
1491 `conversion' and `94x60'; delete symbols `mojikyo',
1492 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1493 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1494 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1495 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1497 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1498 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1500 * char-ucs.h (Vcharset_mojikyo): Deleted.
1501 (Vcharset_mojikyo_2022_1): Deleted.
1502 (LEADING_BYTE_MOJIKYO): Deleted.
1503 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1504 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1505 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1506 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1507 add new member `mother'; add new member `conversion'.
1508 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1509 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1510 (CHARSET_MOTHER): New macro.
1511 (CHARSET_CONVERSION): New macro.
1512 (CONVERSION_IDENTICAL): New macro.
1513 (CONVERSION_94x60): New macro.
1514 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1515 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1516 (XCHARSET_MOTHER): New macro.
1517 (XCHARSET_CONVERSION): New macro.
1518 (MIN_CHAR_MOJIKYO): Deleted.
1519 (MAX_CHAR_MOJIKYO): Deleted.
1520 (DECODE_MOJIKYO_2022): Deleted.
1521 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1522 (charset_code_point): Changed to non-inline function.
1523 (encode_char_1): Use `charset_code_point'.
1524 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1526 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1528 * lread.c (read_compiled_function): Fix prototype.
1529 (read_vector): Likewise.
1531 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1533 * lrecord.h (struct lrecord_header): Delete `older'.
1534 (set_lheader_implementation): Delete code for `older'.
1535 (set_lheader_older_implementation): Deleted.
1536 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1537 (OLDER_RECORD_P): Deleted.
1538 (OLDER_RECORD_HEADER_P): Deleted.
1539 (alloc_older_lcrecord): Deleted.
1540 (alloc_older_lcrecord_type): Deleted.
1542 * alloc.c (all_older_lcrecords): Deleted.
1543 (alloc_older_lcrecord): Deleted.
1544 (disksave_object_finalization_1): Delete code for older objects.
1545 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1546 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1548 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1550 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1551 instead of `make_older_vector'.
1552 (put_char_ccs_code_point): Likewise.
1553 (mark_charset): Mark `cs->decoding_table'.
1554 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1556 * lisp.h (make_older_vector): Deleted.
1557 (make_vector_newer): Deleted.
1559 * config.h.in (HAVE_GGC): Deleted.
1561 * alloc.c (make_older_vector): Deleted.
1562 (make_vector_newer_1): Deleted.
1563 (make_vector_newer): Deleted.
1565 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1567 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1568 (Qideograph_daikanwa_2): New variable.
1569 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1570 (complex_vars_of_mule_charset): Add new coded-charset
1571 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1572 `LEADING_BYTE_DAIKANWA'.
1574 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1575 (LEADING_BYTE_DAIKANWA_1): New macro.
1576 (LEADING_BYTE_DAIKANWA_2): New macro.
1577 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1579 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1581 * mule-charset.c (complex_vars_of_mule_charset): Change
1582 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1583 the second revised version.
1585 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1587 * mule-charset.c (Vcharset_ucs_smp): New variable.
1588 (Vcharset_ucs_sip): New variable.
1589 (Qucs_smp): New variable.
1590 (Qucs_sip): New variable.
1591 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1592 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1593 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1594 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1595 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1596 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1598 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1599 (LEADING_BYTE_UCS_SIP): New macro.
1600 (MIN_CHAR_SMP): New macro.
1601 (MAX_CHAR_SMP): New macro.
1602 (MIN_CHAR_SIP): New macro.
1603 (MAX_CHAR_SIP): New macro.
1605 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1607 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1610 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1612 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1613 value; don't store value into `encoding_table' of `Lisp_Charset'.
1614 (mark_charset): `encoding_table' was deleted.
1615 (charset_description): Likewise.
1616 (make_charset): Likewise.
1617 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1618 `put_char_ccs_code_point'.
1620 * chartab.h (Fput_char_attribute): New EXFUN.
1622 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1623 is unified with normal symbol space.
1624 (Fget_char_attribute): Likewise.
1625 (Fput_char_attribute): Likewise; behavior of
1626 `put_char_ccs_code_point' is changed.
1628 * char-ucs.h: Include "elhash.h".
1629 (Vchar_attribute_hash_table): New external variable.
1630 (struct Lisp_Charset): Delete `encoding_table'.
1631 (CHARSET_ENCODING_TABLE): New implementation; refer
1632 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1635 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1637 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1640 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1642 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1645 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1647 * chartab.c (uint8_byte_table_description): New constant.
1648 (uint8-byte-table): Use `uint8_byte_table_description'.
1649 (uint16_byte_table_description): New constant.
1650 (uint16-byte-table): Use `uint16_byte_table_description'.
1652 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1654 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1655 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1657 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1659 * mule-charset.c (Vcharset_ucs_ks): New variable.
1660 (Qucs_ks): New variable.
1661 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1662 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1664 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1666 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1668 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1669 (Fdecode_char): Likewise.
1671 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1673 (Fdefine_char): Modify for Fdecode_char.
1674 (Ffind_char): Likewise.
1676 * mule-charset.c (Fdecode_char): Add new optional argument
1678 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1680 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1682 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1683 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1684 (allocate_coding_system): Initialize initial-charsets of
1685 CODESYS_BIG5 in XEmacs UTF-2000.
1686 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1687 CODESYS_BIG5 in XEmacs UTF-2000.
1688 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1689 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1691 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1693 (Qideograph_hanziku_{1 .. 12}): Likewise.
1694 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1696 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1697 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1698 `ideograph-hanziku-{1 .. 12}'.
1700 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1701 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1702 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1703 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1704 (DECODE_DEFINED_CHAR): New inline function.
1705 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1707 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1709 * mule-charset.c (Vcharset_china3_jef): Renamed from
1710 `Vcharset_japanese_jef_china3'.
1711 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1712 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1713 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1714 (syms_of_mule_charset): Rename `china3-jef' from
1715 `japanese-jef-china3'.
1716 (complex_vars_of_mule_charset): Likewise; rename
1717 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1719 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1720 `LEADING_BYTE_JEF_CHINA3'.
1721 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1722 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1724 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1726 * mule-charset.c (encode_builtin_char_1): Comment out special code
1727 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1729 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1730 (MAX_CHAR_MOJIKYO_0): Comment out.
1731 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1732 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1733 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1734 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1736 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1738 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1739 (Qideograph_cbeta): New variable.
1740 (encode_builtin_char_1): Comment out special code for
1741 coded-charset `mojikyo' and `japanese-jef-china3'.
1742 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1743 (complex_vars_of_mule_charset): Add new coded-charset
1746 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1747 (MIN_CHAR_CBETA): New macro.
1748 (MAX_CHAR_CBETA): New macro.
1750 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1752 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1753 (LEADING_BYTE_JEF_CHINA3): New macro.
1754 (MIN_CHAR_JEF_CHINA3): New macro.
1755 (MAX_CHAR_JEF_CHINA3): Likewise.
1756 (DECODE_CHAR): Fixed.
1758 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1760 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1761 (Qjapanese_jef_china3): New variable.
1762 (encode_builtin_char_1): Support `japanese-jef-china3'.
1763 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1764 (complex_vars_of_mule_charset): Add new coded-charset
1765 `japanese-jef-china3'.
1767 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1769 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1770 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1771 94^4, 96^3, 96^4, 128^n and 256^n set.
1772 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1773 (map_char_table): Likewise.
1775 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1777 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1780 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1782 * chartab.h (get_char_id_table): New inline function.
1784 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1787 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1789 * chartab.h (decode_char_table_range): New prototype in XEmacs
1791 (put_char_id_table): New inline function in XEmacs UTF-2000.
1793 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1795 (decode_char_table_range): Delete static declaration in XEmacs
1798 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1800 * chartab.c (put_char_id_table): Use `put_char_table'.
1802 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1804 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1805 (map_over_uint16_byte_table): Likewise.
1806 (map_over_byte_table): Likewise.
1807 (map_char_table): Modify for `map_over_uint8_byte_table',
1808 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1811 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1813 * chartab.c (struct map_char_table_for_charset_arg): New
1815 (map_char_table_for_charset_fun): New function.
1816 (map_char_table): Use `map_char_table' for encoding_table of
1819 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1821 * chartab.c (map_char_table): Check a character is found in
1822 range->charset instead of non default value is defined in
1823 char-table when range is CHARTAB_RANGE_ROW.
1825 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1827 * chartab.c (map_char_id_table): Deleted.
1828 (Fmap_char_attribute): Use `map_char_table' instead of
1829 `map_char_id_table'.
1831 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1833 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1835 (update_syntax_table): Deleted in XEmacs UTF-2000.
1837 * syntax.c (find_defun_start): Use `syntax_table' instead of
1838 `mirror_syntax_table' in XEmacs UTF-2000.
1839 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1841 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1843 (Fmatching_paren): Likewise.
1844 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1846 (find_start_of_comment): Likewise.
1847 (find_end_of_comment): Likewise.
1848 (Fforward_comment): Likewise.
1849 (scan_lists): Likewise.
1850 (char_quoted): Likewise.
1851 (Fbackward_prefix_chars): Likewise.
1852 (scan_sexps_forward): Likewise.
1853 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1854 (update_syntax_table): Likewise.
1856 * search.c (skip_chars): Use `syntax_table' instead of
1857 `mirror_syntax_table' in XEmacs UTF-2000.
1858 (wordify): Likewise.
1859 (Freplace_match): Likewise.
1861 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1862 `mirror_syntax_table' in XEmacs UTF-2000.
1863 (WORDCHAR_P_UNSAFE): Likewise.
1864 (re_match_2_internal): Likewise.
1866 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1867 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1869 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1870 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1872 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1875 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1877 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1878 (char_table_description): Delete `mirror_table' in XEmacs
1880 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1882 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1883 (Fcopy_char_table): Likewise.
1884 (put_char_table): Don't call `update_syntax_table' in XEmacs
1887 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1888 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1889 (casify_region_internal): Likewise.
1891 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1893 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1894 `mirror_syntax_table' in XEmacs UTF-2000.
1896 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1897 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1898 (Fexpand_abbrev): Likewise.
1900 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1902 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1904 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1906 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1907 (map_over_uint16_byte_table): Likewise.
1908 (map_over_byte_table): Likewise.
1909 (get_char_id_table): Refer `cit->default_value'.
1910 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1911 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1912 of character-id ranges.
1913 (mark_char_table): Mark `ct->default_value'.
1914 (char_table_description): Add `default_value'.
1915 (fill_char_table): Use `default_value'.
1916 (decode_char_table_range): Decode `nil' as
1917 `CHARTAB_RANGE_DEFAULT'.
1918 (get_char_id_table): Refer `cit->default_value'.
1919 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1920 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1921 temporary hack; check value of char-table is bound or not.
1922 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1924 * chartab.h (struct Lisp_Char_Table): Add new member
1925 `default_value' in XEmacs UTF-2000.
1926 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1927 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1930 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1932 * chartab.h (Lisp_Char_ID_Table): Deleted.
1934 * chartab.c (char_table_description): Fix typo.
1935 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
1936 `Lisp_Char_ID_Table'.
1938 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1940 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
1943 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
1946 * chartab.h (XCHAR_ID_TABLE): Deleted.
1947 (XSETCHAR_ID_TABLE): Deleted.
1948 (CHAR_ID_TABLE_P): Deleted.
1950 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
1952 (Fget_composite_char): Likewise.
1953 (put_char_table): Likewise.
1954 (add_char_attribute_alist_mapper): Fixed.
1955 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
1957 (Fget_char_attribute): Likewise.
1958 (Fget_char_attribute): Likewise.
1959 (Fmap_char_attribute): Likewise.
1961 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
1963 (encode_char_1): Likewise.
1965 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1967 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
1970 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
1971 instead of `XCHAR_ID_TABLE'.
1972 (remove_char_ccs): Likewise.
1974 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
1976 (Fget_composite_char): Likewise.
1977 (Fchar_variants): Likewise.
1978 (put_char_table): Likewise.
1979 (add_char_attribute_alist_mapper): Likewise.
1980 (Fchar_attribute_alist): Likewise.
1981 (Fget_char_attribute): Likewise.
1982 (Fput_char_attribute): Likewise.
1983 (Fmap_char_attribute): Likewise.
1984 (Fmap_char_attribute): Likewise.
1986 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
1988 (encode_char_1): Likewise.
1990 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1992 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
1993 `Lisp_Char_ID_Table'.
1994 (mark_char_id_table): Deleted.
1995 (print_char_id_table): Likewise.
1996 (char_id_table_equal): Likewise.
1997 (char_id_table_hash): Likewise.
1998 (char_id_table_description): Likewise.
1999 (char_id_table): Likewise.
2000 (make_char_id_table): Use `Fmake_char_table' and
2002 (get_char_id_table): Use `Lisp_Char_Table' instead of
2003 `Lisp_Char_ID_Table'.
2004 (put_char_id_table): Likewise.
2005 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2007 (Fremove_char_attribute): Likewise.
2008 (syms_of_chartab): Don't define type `char-id-table'.
2010 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2011 (char_id_table): Likewise.
2012 (GC_CHAR_ID_TABLE_P): Likewise.
2013 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2014 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2015 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2016 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2017 (get_char_id_table): Use `Lisp_Char_Table' instead of
2018 `Lisp_Char_ID_Table'.
2019 (put_char_id_table_0): Likewise.
2020 (put_char_id_table): Likewise.
2022 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2024 * chartab.h: Lisp_Byte_Table related codes are moved from
2027 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2029 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2031 * chartab.h: Don't include "chartab.h".
2032 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2033 (Lisp_Char_ID_Table): Likewise.
2034 (char_id_table): Likewise.
2035 (XCHAR_ID_TABLE): Likewise.
2036 (XSETCHAR_ID_TABLE): Likewise.
2037 (CHAR_ID_TABLE_P): Likewise.
2038 (GC_CHAR_ID_TABLE_P): Likewise.
2039 (get_char_id_table): Likewise.
2041 * char-ucs.h: Include "chartab.h".
2042 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2043 (Lisp_Char_ID_Table): Likewise.
2044 (char_id_table): Likewise.
2045 (XCHAR_ID_TABLE): Likewise.
2046 (XSETCHAR_ID_TABLE): Likewise.
2047 (CHAR_ID_TABLE_P): Likewise.
2048 (GC_CHAR_ID_TABLE_P): Likewise.
2049 (get_char_id_table): Likewise.
2051 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2053 * chartab.c (copy_uint8_byte_table): New function.
2054 (copy_uint16_byte_table): New function.
2055 (copy_byte_table): New function.
2056 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2058 (map_over_uint16_byte_table): Likewise.
2059 (map_over_byte_table): Likewise.
2060 (get_byte_table): Move prototype to chartab.h.
2061 (put_byte_table): Likewise.
2062 (put_char_id_table_0): Moved to chartab.h.
2063 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2064 (char_table_entry_equal): Likewise.
2065 (char_table_entry_hash): Likewise.
2066 (char_table_entry_description): Likewise.
2067 (char_table_entry): Likewise.
2068 (make_char_table_entry): Likewise.
2069 (copy_char_table_entry): Likewise.
2070 (get_non_ascii_char_table_value): Likewise.
2071 (map_over_charset_ascii): Likewise.
2072 (map_over_charset_control_1): Likewise.
2073 (map_over_charset_row): Likewise.
2074 (map_over_other_charset): Likewise.
2075 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2076 (print_char_table): Likewise.
2077 (char_table_equal): Likewise.
2078 (char_table_hash): Likewise.
2079 (char_table_description): Likewise.
2080 (fill_char_table): Likewise.
2081 (Fcopy_char_table): Likewise.
2082 (get_char_table): Likewise.
2083 (Fget_range_char_table): Likewise.
2084 (put_char_table): Likewise.
2085 (map_char_table): Likewise.
2086 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2089 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2091 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2092 `Vauto_fill_chars' in XEmacs UTF-2000.
2094 * chartab.h (get_byte_table): New prototype [moved from
2096 (put_byte_table): Likewise [moved from chartab.c].
2097 (put_char_id_table_0): New inline function [moved from chartab.c].
2098 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2099 (Lisp_Char_Table_Entry): Likewise.
2100 (char_table_entry): Likewise.
2101 (XCHAR_TABLE_ENTRY): Likewise.
2102 (XSETCHAR_TABLE_ENTRY): Likewise.
2103 (CHAR_TABLE_ENTRYP): Likewise.
2104 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2105 (NUM_ASCII_CHARS): Likewise.
2106 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2107 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2109 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2111 * chartab.c (get_char_id_table): Change interface.
2112 (put_char_id_table_0): New function.
2113 (put_char_id_table): Change interface; new implementation.
2114 (Fget_composite_char): Modify for interface change of
2115 `get_char_id_table'.
2116 (Fchar_variants): Likewise.
2117 (add_char_attribute_alist_mapper): Likewise.
2118 (Fchar_attribute_alist): Likewise.
2119 (Fget_char_attribute): Likewise.
2120 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2121 as same as character as the first argument like `put-char-table';
2122 modify for interface change of `put_char_id_table'.
2123 (Fremove_char_attribute): Modify for interface change of
2124 `put_char_id_table'.
2126 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2128 * text-coding.c: Sync up with XEmacs 21.2.41.
2129 (COMPOSE_ADD_CHAR): Modify for interface change of
2130 `get_char_id_table'.
2132 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2133 change of `put_char_id_table'.
2134 (remove_char_ccs): Likewise.
2136 * chartab.h (put_char_id_table): Change interface.
2138 * char-ucs.h (get_char_id_table): Change interface.
2139 (charset_code_point): Modify for interface change of
2140 `get_char_id_table'.
2141 (encode_char_1): Likewise.
2143 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2145 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2147 (map_over_uint16_byte_table): Likewise.
2148 (map_over_byte_table): Likewise.
2149 (map_char_id_table): Add new argument `range' like
2151 (Fmap_char_attribute): Add new argument `range' like
2154 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2156 * chartab.c (map_over_uint8_byte_table): Change interface of
2157 mapping function to use struct chartab_range instead of Emchar.
2158 (map_over_uint16_byte_table): Likewise.
2159 (map_over_byte_table): Likewise.
2160 (map_char_id_table): Likewise.
2161 (struct slow_map_char_id_table_arg): Deleted.
2162 (slow_map_char_id_table_fun): Deleted.
2163 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2164 function `slow_map_char_table_fun' instead of struct
2165 `slow_map_char_id_table_arg' and function
2166 `slow_map_char_id_table_fun'.
2168 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2170 * mule-charset.c: Move char-it-table related codes to chartab.c.
2171 (Vutf_2000_version): Moved to chartab.c.
2172 (Fdefine_char): Likewise.
2173 (Ffind_char): Likewise.
2174 (syms_of_mule_charset): Move types `uint8-byte-table',
2175 `uint16-byte-table', `byte-table' and `char-id-table' to
2176 chartab.c; move functions `char_attribute_list,
2177 `find_char_attribute_table, `char_attribute_alist,
2178 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2179 `map_char_attribute, `define_char, `find_char, `char_variants and
2180 `get_composite_char to chartab.c; move symbols `=>ucs',
2181 `->decomposition', `compat', `isolated', `initial', `medial',
2182 `final', `vertical', `noBreak', `fraction', `super', `sub',
2183 `circle', `square', `wide', `narrow', `small' and `font' to
2185 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2186 setting codes for `Vcharacter_composition_table' and
2187 `Vcharacter_variant_table' to chartab.c.
2188 (complex_vars_of_mule_charset): Move setting code for
2189 `Vchar_attribute_hash_table' to chartab.c.
2191 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2192 (make_char_id_table): New prototype.
2193 (put_char_id_table): Likewise.
2194 (Fget_char_attribute): Likewise.
2196 * chartab.c: Move char-id-table related code from mule-charset.c.
2197 (Vutf_2000_version): Moved from mule-charset.c.
2199 * char-ucs.h (Qucs): New external variable.
2200 (put_char_ccs_code_point): New prototype.
2201 (remove_char_ccs): Likewise.
2203 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2205 * mule-charset.c (Vcharset_ucs_jis): New variable.
2206 (Qucs_jis): Likewise.
2207 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2208 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2210 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2212 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2214 * mule-charset.c (map_over_uint8_byte_table): New function.
2215 (map_over_uint16_byte_table): Likewise.
2216 (map_over_byte_table): Likewise.
2217 (map_char_id_table): Likewise.
2218 (slow_map_char_id_table_fun): Likewise.
2219 (Fmap_char_attribute): Likewise.
2220 (syms_of_mule_charset): Add new function `map-char-attribute'.
2222 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2224 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2225 (syms_of_mule_charset): Add new function `find-char'.
2227 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2229 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2231 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2232 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2234 (complex_vars_of_mule_charset): Add new coded-charset
2235 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2236 `ideograph-gt-pj-*'.
2238 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2240 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2242 * mule-charset.c (encode_builtin_char_1): Purge codes about
2243 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2244 {MIN|MAX}_CHAR_HEBREW.
2245 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2246 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2248 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2249 (MAX_CHAR_GREEK): Purged.
2250 (MIN_CHAR_CYRILLIC): Purged.
2251 (MAX_CHAR_CYRILLIC): Purged.
2252 (MIN_CHAR_HEBREW): Commented out.
2253 (MAX_CHAR_HEBREW): Likewise.
2255 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2257 * mule-charset.c (Qto_ucs): New variable.
2258 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2259 (Fdefine_char): Likewise.
2260 (syms_of_mule_charset): Add new symbol `=>ucs'.
2262 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2264 * mule-charset.c (Fdecode_char): Fixed.
2266 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2268 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2269 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2272 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * mule-charset.c (Vcharset_ucs_big5): New variable.
2275 (Qucs_big5): Likewise.
2276 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2277 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2279 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2281 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2283 * mule-charset.c (decode_builtin_char): Check Big5 code range
2284 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2286 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2288 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2289 (Qchinese_gb12345): Likewise.
2290 (Fdecode_builtin_char): Fixed.
2291 (syms_of_mule_charset): Add `chinese-gb12345'.
2292 (complex_vars_of_mule_charset): Add coded-charset
2295 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2296 (LEADING_BYTE_CHINESE_GB12345): New macro.
2298 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2300 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2301 and `latin-viscii-upper' for `latin-viscii'.
2303 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2305 * mule-charset.c (Fdecode_builtin_char): Comment out
2306 regularization code for ISO-IR GR representation.
2308 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2310 * mule-charset.c (decode_builtin_char): New function; renamed from
2311 `make_builtin_char'; return -1 instead of signal.
2312 (Fdecode_builtin_char): Use `decode_builtin_char'.
2314 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2315 `make_builtin_char'.
2316 (DECODE_CHAR): Use `decode_builtin_char' instead of
2317 `make_builtin_char'; use mapping table of `chinese-big5' for
2318 `chinese-big5-{1,2}'.
2320 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2322 * text-coding.c (char_encode_big5): New function.
2323 (char_finish_big5): Likewise.
2324 (reset_encoding_stream): Use `char_encode_big5' and
2325 `char_finish_big5' for CODESYS_BIG5.
2326 (mule_encode): Don't use `encode_coding_big5'.
2327 (encode_coding_big5): Deleted.
2329 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2331 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2332 0x81- in XEmacs UTF-2000.
2333 (detect_coding_big5): Likewise.
2335 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2337 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2338 generate character-id if the CCS property does not have
2339 corresponding predefined character.
2340 (make_builtin_char): Return -1 if corresponding predefined
2341 character is not found.
2342 (Fdecode_char): Return nil if corresponding character is not
2344 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2345 don't map to builtin ucs space.
2347 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2349 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2350 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2352 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2354 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2355 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2356 (Qideograph_gt): Likewise.
2357 (Qideograph_gt_pj_{1..11}): Likewise.
2358 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2359 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2360 `ideograph-gt-pj-11'.
2361 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2362 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2363 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2365 * char-ucs.h (LEADING_BYTE_GT): New macro.
2366 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2367 (MIN_CHAR_GT): Likewise.
2368 (MAX_CHAR_GT): Likewise.
2370 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2372 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2373 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2375 * doprnt.c (unsigned_int_converters): Add `c'.
2376 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2378 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2379 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2381 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2382 (MAX_CHAR_MOJIKYO_0): New macro.
2383 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2385 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2387 * mule-charset.c (Fdefine_char): Delete cemented out code.
2388 (encode_builtin_char_1): Modify for new allocation of builtin
2391 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2393 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2395 * mule-charset.c (Vcharset_ucs_cns): New variable.
2396 (Qucs_cns): New variable.
2397 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2398 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2400 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2402 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2404 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2406 * search.c (search_buffer): Make `charset_base_code' as
2407 character-id >> 6 to eliminate the corresponding last byte in
2408 UTF-8 representation [I'm not sure it is right thing].
2409 (boyer_moore): Likewise.
2411 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2413 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2414 representation in MULE.
2416 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * text-coding.c (Fmake_coding_system): Use
2419 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2420 `EXTERNAL_PROPERTY_LIST_LOOP'.
2422 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2424 * text-coding.c (decode_output_utf8_partial_char): New function.
2425 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2427 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2429 * text-coding.c (decode_coding_utf8): Output original byte
2430 sequence if it is broken; change order of conditions.
2432 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2435 * mb-multibyte.h (BYTE_ASCII_P):
2436 Use bit ops for char-signedness safety.
2437 (BYTE_C0_P): Use bit ops for char-signedness safety.
2438 (BYTE_C1_P): Use bit ops for char-signedness safety.
2440 * character.h: (XCHAR_OR_CHAR_INT):
2441 Always use inline function.
2442 Remove redundant type checking assert() - XINT will abort quite
2445 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2447 * text-coding.c: (Fencode_shift_jis_char):
2448 (Fencode_big5_char):
2449 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2450 Replace 0 with '\0' when working with bytes.
2451 Replace initial "(" with "\(" in docstrings.
2453 (Fmake_coding_system):
2454 When type is ccl and value is vector, register it with a proper
2455 symbol. And checks whether the given ccl program is valid.
2456 (mule_decode): When calling ccl_driver, if src indicates
2457 NULL pointer, set an empty string instead.
2458 (mule_encode): Likewise.
2461 (detect_coding_sjis):
2462 (decode_coding_sjis):
2463 (detect_coding_big5):
2464 (decode_coding_big5):
2465 (detect_coding_ucs4):
2466 (decode_coding_ucs4):
2467 (detect_coding_utf8):
2468 (decode_coding_utf8):
2469 (detect_coding_iso2022):
2470 (decode_coding_iso2022):
2471 (decode_coding_no_conversion):
2473 Make all detecting and decoding functions take an Extbyte * arg.
2474 (text_encode_generic):
2475 (encode_coding_big5):
2476 (encode_coding_no_conversion):
2478 Make all encoding functions take a Bufbyte * arg.
2479 Use size_t instead of unsigned int for memory sizes.
2480 Only cast to unsigned char whenever dereferencing Extbyte *.
2482 (struct lrecord_description fcd_description_1): Use countof.
2483 (complex_vars_of_file_coding):
2484 Use countof instead of sizeof.
2485 Use CHECK_NATNUM instead of CHECK_INT.
2487 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2489 * mule-charset.c (Fget_char_attribute): Add new optional argument
2491 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2492 (remove_char_ccs): Likewise.
2494 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2496 * text-coding.c (char_encode_shift_jis): New implementation in
2498 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2501 * mule-charset.c (Vcharset_chinese_big5): New variable in
2503 (Qchinese_big5): New variable in UTF-2000.
2504 (BIG5_SAME_ROW): New macro in UTF-2000.
2505 (make_builtin_char): Use builtin characters of
2506 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2507 characters of `Vcharset_chinese_big5'.
2508 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2509 (complex_vars_of_mule_charset): Add new coded-charset
2510 `chinese-big5' in UTF-2000.
2512 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2513 (Vcharset_chinese_big5): New external variable declaration.
2514 (Vcharset_japanese_jisx0208_1990): Likewise.
2516 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2518 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2520 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2522 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2524 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2525 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2526 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2529 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2531 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2533 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2535 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2538 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2540 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2541 for `CHARSET_BY_ATTRIBUTES'.
2542 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2543 `CHARSET_BY_ATTRIBUTES'.
2545 * text-coding.c (struct decoding_stream): Rename member `CH' to
2547 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2548 (decode_coding_sjis): Likewise.
2549 (decode_coding_big5): Likewise.
2550 (decode_coding_ucs4): Likewise.
2551 (decode_coding_utf8): Likewise.
2552 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2553 `CHARSET_BY_ATTRIBUTES'.
2554 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2555 `str->counter'; decode 3, 4 bytes sets.
2556 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2558 (decode_coding_no_conversion): Use `str->cpos' instead of
2561 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2562 (Qmojikyo_2022_1): New variable.
2563 (make_charset): Don't use `CHARSET_TYPE_*'.
2564 (range_charset_code_point): Support coded-charset
2566 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2567 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2568 `CHARSET_BY_ATTRIBUTES'.
2569 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2570 `CHARSET_BY_ATTRIBUTES'.
2571 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2572 (complex_vars_of_mule_charset): Add new coded-charset
2575 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2576 interface; changed to inline function.
2578 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2579 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2580 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2581 (CHARSET_TYPE_94): Deleted.
2582 (CHARSET_TYPE_94X94): Deleted.
2583 (CHARSET_TYPE_96): Deleted.
2584 (CHARSET_TYPE_96X96): Deleted.
2585 (CHARSET_TYPE_128): Deleted.
2586 (CHARSET_TYPE_128X128): Deleted.
2587 (CHARSET_TYPE_256): Deleted.
2588 (CHARSET_TYPE_256X256): Deleted.
2589 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2591 (DECODE_MOJIKYO_2022): New inline function.
2592 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2593 `Vcharset_mojikyo_2022_1'.
2595 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2597 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2599 (put_byte_table): Likewise.
2600 (char_id_table_equal): Use `get_byte_table' [new implementation].
2602 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2604 * mule-charset.c: Include <limits.h> in UTF-2000.
2605 (BT_UINT8_MIN): New macro in UTF-2000.
2606 (BT_UINT8_MAX): New macro in UTF-2000.
2607 (BT_UINT8_t): New macro in UTF-2000.
2608 (BT_UINT8_nil): New macro in UTF-2000.
2609 (BT_UINT8_unbound): New macro in UTF-2000.
2610 (INT_UINT8_P): New inline function in UTF-2000.
2611 (UINT8_VALUE_P): New inline function in UTF-2000.
2612 (UINT8_ENCODE): New inline function in UTF-2000.
2613 (UINT8_DECODE): New inline function in UTF-2000.
2614 (mark_uint8_byte_table): New function in UTF-2000.
2615 (print_uint8_byte_table): New function in UTF-2000.
2616 (uint8_byte_table_equal): New function in UTF-2000.
2617 (uint8_byte_table_hash): New function in UTF-2000.
2618 (make_uint8_byte_table): New function in UTF-2000.
2619 (uint8_byte_table_same_value_p): New function in UTF-2000.
2620 (BT_UINT16_MIN): New macro in UTF-2000.
2621 (BT_UINT16_MAX): New macro in UTF-2000.
2622 (BT_UINT16_t): New macro in UTF-2000.
2623 (BT_UINT16_nil): New macro in UTF-2000.
2624 (BT_UINT16_unbound): New macro in UTF-2000.
2625 (INT_UINT16_P): New inline function in UTF-2000.
2626 (UINT16_VALUE_P): New inline function in UTF-2000.
2627 (UINT16_ENCODE): New inline function in UTF-2000.
2628 (UINT16_DECODE): New inline function in UTF-2000.
2629 (UINT8_TO_UINT16): New inline function in UTF-2000.
2630 (mark_uint16_byte_table): New function in UTF-2000.
2631 (print_uint16_byte_table): New function in UTF-2000.
2632 (uint16_byte_table_equal): New function in UTF-2000.
2633 (uint16_byte_table_hash): New function in UTF-2000.
2634 (make_uint16_byte_table): New function in UTF-2000.
2635 (uint16_byte_table_same_value_p): New function in UTF-2000.
2636 (print_byte_table): New function in UTF-2000.
2637 (byte-table): Use `print_byte_table' as printer.
2638 (make_byte_table): Delete second argument `older'.
2639 (byte_table_same_value_p): New function in UTF-2000.
2640 (copy_byte_table): Deleted.
2641 (get_byte_table): New function in UTF-2000.
2642 (put_byte_table): New function in UTF-2000.
2643 (print_char_id_table): New function in UTF-2000.
2644 (char-id-table): Use `print_char_id_table' as printer.
2645 (make_char_id_table): Delete second argument `older'.
2646 (get_char_id_table): Use `get_byte_table [new implementation].
2647 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2649 (Ffind_char_attribute_table): New function in UTF-2000.
2650 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2651 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2652 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2653 (syms_of_mule_charset): Add new function
2654 `find-char-attribute-table' in UTF-2000.
2656 * lrecord.h (enum lrecord_type): Add
2657 `lrecord_type_uint16_byte_table' and
2658 `lrecord_type_uint8_byte_table'.
2660 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2661 (Lisp_Uint8_Byte_Table): New type.
2662 (XUINT8_BYTE_TABLE): New macro.
2663 (XSETUINT8_BYTE_TABLE): New macro.
2664 (UINT8_BYTE_TABLE_P): New macro.
2665 (GC_UINT8_BYTE_TABLE_P): New macro.
2666 (struct Lisp_Uint16_Byte_Table): New structure.
2667 (Lisp_Uint16_Byte_Table): New type.
2668 (XUINT16_BYTE_TABLE): New macro.
2669 (XSETUINT16_BYTE_TABLE): New macro.
2670 (UINT16_BYTE_TABLE_P): New macro.
2671 (GC_UINT16_BYTE_TABLE_P): New macro.
2673 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2675 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2676 (Vcharacter_ideographic_strokes_table): Deleted.
2677 (Vcharacter_total_strokes_table): Deleted.
2678 (Vcharacter_morohashi_daikanwa_table): Deleted.
2679 (Vcharacter_decomposition_table): Deleted.
2680 (Qname): Deleted because it is duplicated.
2681 (Qideographic_radical): Deleted.
2682 (Qideographic_strokes): Deleted.
2683 (Qtotal_strokes): Deleted.
2684 (Qmorohashi_daikanwa): Deleted.
2685 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2686 `ideographic-radical', `ideographic-strokes', `total-strokes',
2687 `morohashi-daikanwa' and `->decomposition'.
2688 (Fget_char_attribute): Likewise.
2689 (Fput_char_attribute): Likewise; use `make-vector' instead of
2690 `make_older_vector' for `->decomposition' value.
2691 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2692 `ideograph-daikanwa'.
2693 (syms_of_mule_charset): Delete builtin symbols `name',
2694 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2695 `morohashi-daikanwa'.
2696 (vars_of_mule_charset): Don't setup
2697 `Vcharacter_ideographic_radical_table',
2698 `Vcharacter_ideographic_strokes_table',
2699 `Vcharacter_total_strokes_table',
2700 `Vcharacter_morohashi_daikanwa_table' and
2701 `Vcharacter_decomposition_table'.
2703 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2705 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2706 `make_older_vector', `make_vector_newer_1' and
2707 `make_vector_newer'.
2709 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2710 `make_older_vector' and `make_vector_newer'.
2712 * config.h.in (HAVE_GGC): New macro.
2714 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2716 * mule-charset.c (struct char_attribute_list_closure): New
2717 structure in UTF-2000.
2718 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2719 (Fchar_attribute_list): Likewise.
2720 (Fset_charset_mapping_table): Use `make_vector_newer'.
2721 (Fdecode_builtin_char): New function in UTF-2000.
2722 (syms_of_mule_charset): Add new function `char-attribute-list' and
2723 `decode-builtin-char' in UTF-2000.
2725 * lisp.h (make_vector_newer): New prototype.
2727 * alloc.c (make_vector_newer_1): New function.
2728 (make_vector_newer): New function.
2730 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2732 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2735 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2737 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2738 (Vcharacter_attribute_table): Deleted.
2739 (Vcharacter_name_table): Deleted.
2740 (put_char_attribute): Deleted.
2741 (remove_char_attribute): Deleted.
2742 (struct char_attribute_alist_closure): New structure.
2743 (add_char_attribute_alist_mapper): New function.
2744 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2745 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2746 (Fget_char_attribute): Likewise.
2747 (Fput_char_attribute): Likewise.
2748 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2749 of `remove_char_attribute'.
2750 (Fdefine_char): Return character.
2751 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2752 and `Vcharacter_name_table'.
2753 (complex_vars_of_mule_charset): Likewise
2754 `Vchar_attribute_hash_table'.
2756 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2758 * character.h (CHARC_CHARSET): New macro.
2759 (CHARC_CHARSET_ID): New macro.
2760 (CHARC_CODE_POINT): New macro.
2761 (CHARC_COLUMNS): New macro.
2762 (CHARC_TO_CHAR): New inline function.
2763 (CHARC_EQ): New inline function.
2764 (CHARC_ASCII_EQ): New inline function.
2765 (CHARC_IS_SPACE): New inline function.
2766 (ASCII_TO_CHARC): New inline function.
2768 * char-ucs.h (encode_char_2): Deleted.
2769 (ENCODE_CHAR): Use `encode_char_1' again.
2770 (breakup_char_1): Likewise.
2771 (CHAR_TO_CHARC): New inline function.
2773 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2775 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2777 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2778 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2779 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2780 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2781 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2783 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2785 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2787 (x_output_display_block): Use `CHARC_CHARSET' and
2790 * redisplay-tty.c (tty_output_display_block): Use
2792 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2794 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2796 * insdel.c (find_charsets_in_charc_string): Use
2798 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2799 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2800 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2801 (convert_charc_string_into_malloced_string): Likewise.
2803 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2805 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2806 instead of <Emchar_dynarr *> for buf; use
2807 `convert_bufbyte_string_into_charc_dynarr' instead of
2808 `convert_bufbyte_string_into_emchar_dynarr'; use
2809 `find_charsets_in_charc_string' instead of
2810 `find_charsets_in_emchar_string'.
2813 - Include "character.h".
2814 (struct rune): New member `cglyph'; delete member `chr'.
2816 * redisplay.c (redisplay_text_width_charc_string): New function;
2817 delete `redisplay_text_width_emchar_string'.
2818 (rtw_charc_dynarr): New variable; renamed from
2819 `rtw_emchar_dynarr'.
2820 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2821 `rtw_emchar_dynarr'; use
2822 `convert_bufbyte_string_into_charc_dynarr' instead of
2823 `convert_bufbyte_string_into_emchar_dynarr'; use
2824 `redisplay_text_width_charc_string' instead of
2825 `redisplay_text_width_emchar_string'.
2826 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2827 instead of `rtw_emchar_dynarr'; use
2828 `convert_bufbyte_string_into_charc_dynarr' instead of
2829 `convert_bufbyte_string_into_emchar_dynarr'.
2830 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2831 `redisplay_text_width_charc_string' instead of
2832 `redisplay_text_width_emchar_string'.
2833 (create_text_block): Modify for <struct rune> change.
2834 (generate_formatted_string_db): Likewise.
2835 (create_string_text_block): Likewise.
2836 (pixel_to_glyph_translation): Likewise.
2838 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2839 instead of <const Emchar *>.
2840 (x_text_width): Likewise.
2841 (x_output_display_block): Use <Charc_dynarr *> instead
2842 <Emchar_dynarr *>; modify for <structure rune> change.
2843 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2846 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2847 <const Emchar *>; use `charc_string_displayed_columns' instead of
2848 `emchar_string_displayed_columns'.
2849 (tty_output_display_block): Use <Charc_dynarr *> instead of
2850 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2851 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2852 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2853 `tty_output_emchar_dynarr_dynarr'.
2854 (tty_output_charc_dynarr): New function; delete
2855 `tty_output_charc_dynarr'.
2857 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2858 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2859 <Emchar_dynarr *> for buf; use
2860 `convert_bufbyte_string_into_charc_dynarr' instead of
2861 `convert_bufbyte_string_into_emchar_dynarr'.
2863 * frame.c (title_string_charc_dynarr): New variable; renamed from
2864 `title_string_emchar_dynarr'.
2865 (generate_title_string): Use `title_string_charc_dynarr' instead
2866 of `title_string_emchar_dynarr'; use
2867 `convert_charc_string_into_malloced_string' instead of
2868 `convert_emchar_string_into_malloced_string'.
2869 (init_frame): Use `title_string_charc_dynarr' instead of
2870 `title_string_emchar_dynarr'.
2873 - Include "character.h".
2874 (struct console_methods): Use <const Charc *> instead of <const
2875 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2876 <Emchar_dynarr *> in output_string_method.
2878 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2881 * console-stream.c (stream_text_width): Use <const Charc *>
2882 instead of <const Emchar *>.
2884 * character.h (Charc_dynarr): New type.
2886 * char-ucs.h (structure Charc): New structure; define new type
2889 * char-lb.h (DECODE_CHAR): New inline function.
2890 (encode_char_1): New inline function.
2891 (ENCODE_CHAR): New macro.
2892 (structure Charc): New structure; define new type `Charc'.
2894 * char-1byte.h (Vcharset_control_1): New macro.
2895 (Vcharset_latin_iso8859_1): New macro.
2896 (DECODE_CHAR): New inline function.
2897 (encode_char_1): New inline function.
2898 (ENCODE_CHAR): New macro.
2899 (structure Charc): New structure; define new type `Charc'.
2901 * insdel.c (find_charsets_in_charc_string): New function; delete
2902 `find_charsets_in_emchar_string'.
2903 (charc_string_displayed_columns): New function; delete
2904 `emchar_string_displayed_columns'.
2905 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2906 `convert_bufbyte_string_into_emchar_dynarr'.
2907 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2908 `convert_charc_string_into_bufbyte_dynarr'.
2909 (convert_charc_string_into_malloced_string): New function; delete
2910 `convert_charc_string_into_malloced_string'.
2912 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2913 `find_charsets_in_emchar_string'.
2914 (charc_string_displayed_columns): New prototype; delete
2915 `emchar_string_displayed_columns'.
2916 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2917 `convert_charc_string_into_bufbyte_dynarr'.
2918 (convert_charc_string_into_malloced_string): New prototype; delete
2919 `convert_charc_string_into_malloced_string'.
2921 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2923 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2925 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2927 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2929 * char-ucs.h: Use <short> for <Charset_ID>.
2931 * mule-charset.h, char-1byte.h: Use <unsigned char> for
2934 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2936 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2939 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2941 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
2943 (Qmorohashi_daikanwa): New variable.
2944 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
2945 for `morohashi-daikanwa' attribute.
2946 (Fget_char_attribute): Likewise.
2947 (Fput_char_attribute): Likewise.
2948 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
2949 has the same value of `ideograph-daikanwa'.
2950 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
2951 (vars_of_mule_charset): Setup
2952 `Vcharacter_morohashi_daikanwa_table'.
2954 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2956 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
2958 (add_charset_to_list_mapper): Add `key' instead of
2959 `XCHARSET_NAME (value)' to return aliases.
2961 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2963 * mule-charset.c (Vcharacter_ideographic_radical_table): New
2965 (Vcharacter_ideographic_strokes_table): New variable.
2966 (Qideographic_radical): New variable.
2967 (Qideographic_strokes): New variable.
2968 (Fchar_attribute_alist): Use
2969 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
2970 attribute; use `Vcharacter_ideographic_strokes_table' for
2971 `ideographic-strokes' attribute.
2972 (Fget_char_attribute): Likewise.
2973 (Fput_char_attribute): Likewise.
2974 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
2975 `ideographic-strokes'.
2976 (vars_of_mule_charset): Setup
2977 `Vcharacter_ideographic_radical_table' and
2978 `Vcharacter_ideographic_strokes_table'.
2980 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2982 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
2983 (Qtotal_strokes): New variable.
2984 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
2985 `total-strokes' attribute.
2986 (Fget_char_attribute): Likewise.
2987 (Fput_char_attribute): Likewise.
2988 (syms_of_mule_charset): Add new symbol `total-strokes'.
2989 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
2991 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2993 * mule-charset.c (Vcharacter_decomposition_table): New variable.
2994 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
2996 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
2997 `->decomposition' attribute.
2998 (Fput_char_attribute): Likewise.
2999 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3001 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3003 * mule-charset.c (decoding_table_check_elements): New function.
3004 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3006 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3008 * mule-charset.c (Fset_charset_mapping_table): Use
3009 `put_char_ccs_code_point'.
3011 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3013 * mule-charset.c (decoding_table_put_char): New inline function.
3014 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3016 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3018 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3019 (XCHARSET_BYTE_SIZE): New macro.
3020 (decoding_table_remove_char): New inline function.
3021 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3022 `decoding_table_remove_char'.
3023 (remove_char_ccs): Use `decoding_table_remove_char'.
3024 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3026 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3028 * mule-charset.c (Vcharacter_name_table): New variable.
3029 (Qname): New variable.
3030 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3032 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3033 `Vcharacter_name_table' for `name' attribute.
3034 (Fremove_char_attribute): Use function `remove_char_ccs'.
3035 (put_char_ccs_code_point): New function.
3036 (remove_char_ccs): New function.
3037 (syms_of_mule_charset): Add new symbol `name'.
3038 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3040 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3042 * mule-charset.c (make_byte_table): Add new argument `older'.
3043 (make_char_id_table): Likewise.
3044 (copy_char_id_table): Comment out because it is not used.
3045 (put_char_id_table): Modify for `make_byte_table'.
3046 (Fput_char_attribute): Make encoding_table as older object;
3047 inherit older bit of `Vcharacter_composition_table'.
3048 (mark_charset): Don't mark `cs->encoding_table'.
3049 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3050 normal object; make `Vcharacter_composition_table' as an older
3051 object; delete staticpro for `Vcharacter_composition_table'; make
3052 `Vcharacter_variant_table' as a normal object.
3054 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3055 (mark_object): Don't check older object in UTF-2000.
3057 * lrecord.h (struct lrecord_header): Add new member `older' in
3059 (set_lheader_implementation): Setup `SLI_header->older' in
3061 (set_lheader_older_implementation): New macro in UTF-2000.
3062 (OLDER_RECORD_P): New macro in UTF-2000.
3063 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3064 (alloc_older_lcrecord): New prototype in UTF-2000.
3065 (alloc_older_lcrecord_type): New macro in UTF-2000.
3067 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3069 * mule-charset.c (byte_table_description): Use
3070 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3071 (char_id_table_description): Delete bogus `, 1'.
3072 (Fget_char_attribute): Refer encoding_table of each coded-charset
3073 to get value of coded-charset attribute of a character.
3074 (Fput_char_attribute): Use `make_older_vector' instead of
3075 `make_vector'; use encoding_table of each coded-charset to store
3076 value of coded-charset attribute of a character.
3077 (Fremove_char_attribute): Use encoding_table of each coded-charset
3078 to store value of coded-charset attribute of a character.
3079 (mark_charset): Mark `cs->encoding_table'; don't mark
3080 `cs->decoding_table'.
3081 (charset_description): Add description of new member
3083 (make_charset): Initialize `encoding_table'.
3085 * char-ucs.h (struct Lisp_Charset): Add new member
3087 (CHARSET_ENCODING_TABLE): New macro.
3088 (XCHARSET_ENCODING_TABLE): New macro.
3089 (charset_code_point): New implementation.
3090 (encode_char_1): Likewise.
3092 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3093 (disksave_object_finalization_1): Call finalizers of
3094 `all_older_lcrecords' in UTF-2000.
3095 (make_older_vector): New function in UTF-2000.
3096 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3099 * lisp.h (make_older_vector): New prototype in UTF-2000.
3101 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3103 * lrecord.h (enum lrecord_type): Rename
3104 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3106 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3107 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3108 `get_char_code_table'.
3110 * mule-charset.c (mark_char_id_table): Renamed from
3111 `mark_char_code_table'.
3112 (char_id_table_equal): Renamed from `char_code_table_equal'.
3113 (char_id_table_hash): Renamed from `char_code_table_hash'.
3114 (make_char_id_table): Renamed from `make_char_code_table'.
3115 (copy_char_id_table): Renamed from `copy_char_code_table'.
3116 (get_char_id_table): Renamed from `get_char_code_table'.
3117 (put_char_id_table): Renamed from `put_char_code_table'.
3118 (to_char_id): Renamed from `to_char_code'.
3120 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3121 `Lisp_Char_Code_Table'.
3122 (char_id_table): Renamed from `char_code_table'.
3123 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3124 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3125 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3126 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3127 (get_char_id_table): Renamed from `get_char_code_table'.
3129 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3131 * lrecord.h (enum lrecord_type): Rename
3132 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3134 * mule-charset.c (mark_byte_table): Renamed from
3135 `mark_char_byte_table'.
3136 (byte_table_equal): Renamed from `char_byte_table_equal'.
3137 (byte_table_hash): Renamed from `byte_table_hash'.
3138 (make_byte_table): Renamed from `make_byte_table'.
3139 (copy_byte_table): Renamed from `copy_char_byte_table'.
3141 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3142 `Lisp_Char_Byte_Table'.
3143 (byte_table): Renamed from `char_byte_table'.
3144 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3145 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3146 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3147 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3149 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3151 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3152 (dfc_convert_to_internal_format): Likewise.
3154 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3155 * text-coding.c (Fcoding_system_alias_p): New function.
3156 * text-coding.c (Fcoding_system_aliasee): New function.
3157 * text-coding.c (append_suffix_to_symbol): New function.
3158 * text-coding.c (dangling_coding_system_alias_p): New function.
3159 * text-coding.c (Ffind_coding_system):
3160 * text-coding.c (Fcopy_coding_system):
3161 * text-coding.c (encode_coding_no_conversion):
3162 * text-coding.c (syms_of_file_coding):
3163 * text-coding.c (vars_of_file_coding):
3164 Rewrite coding system alias code.
3165 Allow nested aliases, like symbolic links.
3166 Allow redefinition of coding system aliases.
3167 Prevent existence of dangling coding system aliases.
3168 Eliminate convert_to_external_format.
3169 Eliminate convert_to_internal_format.
3171 * text-coding.c: Change enum eol_type to eol_type_t.
3173 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3175 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3176 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3178 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3179 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3181 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3183 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3184 `ideograph-daikanwa'.
3186 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3187 (Vcharset_ucs_bmp): Likewise.
3188 (Vcharset_mojikyo): Add new extern variable definition.
3189 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3190 (Vcharset_latin_iso8859_3): Likewise.
3191 (Vcharset_latin_iso8859_4): Likewise.
3192 (Vcharset_latin_iso8859_9): Likewise.
3193 (Vcharset_latin_viscii_lower): Likewise.
3194 (Vcharset_latin_viscii_upper): Likewise.
3195 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3196 `mojikyo' code-point is used to decode.
3197 (encode_char_2): New function [to convert `mojikyo' code-point to
3198 Mojikyo font encoding].
3199 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3200 (breakup_char_1): Likewise.
3201 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3203 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3205 * text-coding.c (Fmake_coding_system): Add document about
3206 `disable-composition' property.
3208 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3210 * text-coding.c (Qdisable_composition): New variable; delete
3212 (Fmake_coding_system): Add new property `disable-composite';
3213 delete property `composite'.
3214 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3215 instead of `!CODING_SYSTEM_COMPOSITE'.
3216 (syms_of_file_coding): Add new symbol `disable-composition';
3217 delete symbol `composite'.
3219 * file-coding.h (struct Lisp_Coding_System): Add
3220 `disable_composition'; delete `enable_composition'.
3221 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3222 `CODING_SYSTEM_COMPOSITE'.
3223 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3224 `XCODING_SYSTEM_COMPOSITE'.
3226 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3228 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3231 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3233 * text-coding.c (Qcomposite): New variable.
3234 (Fmake_coding_system): Add new property `composite'.
3235 (struct decoding_stream): Add `combined_char_count',
3236 `combined_chars' and `combining_table' in UTF-2000.
3237 (COMPOSE_FLUSH_CHARS): New macro.
3238 (COMPOSE_ADD_CHAR): New macro.
3239 (reset_decoding_stream): Reset `str->combined_char_count' and
3240 `str->combining_table' in UTF-2000.
3241 (decode_coding_iso2022): Modify for character-decomposition.
3242 (syms_of_file_coding): Add new symbol `composite'.
3244 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3246 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3247 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3248 of `Vcharacter_composition_table' if `->decomposition' property
3250 (Qlatin_tcvn5712): New variable.
3251 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3252 (complex_vars_of_mule_charset): Add new coded-charset
3255 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3257 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3259 * file-coding.h (struct Lisp_Coding_System): Add
3260 `enable_composition'.
3261 (CODING_SYSTEM_COMPOSITE): New macro.
3262 (XCODING_SYSTEM_COMPOSITE): New macro.
3264 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3266 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3268 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3270 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3271 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3273 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3275 * mule-charset.c (Vcharset_mojikyo): New variable.
3276 (Fdefine_char): Don't use coded-charset which does not have
3277 non-builtin character range to allocate character-id.
3278 (Qmojikyo): New variable.
3279 (syms_of_mule_charset): Add new symbol `mojikyo'.
3280 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3282 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3283 (LEADING_BYTE_MOJIKYO): New macro.
3284 (MIN_CHAR_MOJIKYO): New macro.
3285 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3286 (MAX_CHAR_MOJIKYO): New macro.
3288 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3290 * mule-charset.c (remove_char_attribute): Fixed.
3292 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3294 * mule-charset.c (remove_char_attribute): New function.
3295 (Fremove_char_attribute): New function.
3296 (encode_builtin_char_1): Comment out builtin-support for
3297 greek-iso8859-7 and cyrillic-iso8859-5.
3298 (Fdecode_char): Check `code' is an integer.
3299 (syms_of_mule_charset): Add `remove-char-attribute'.
3300 (MIN_CHAR_GREEK): Deleted.
3301 (MAX_CHAR_GREEK): Likewise.
3302 (MIN_CHAR_CYRILLIC): Likewise.
3303 (MAX_CHAR_CYRILLIC): Likewise.
3304 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3305 MAX_CHAR_GREEK for `greek-iso8859-7'.
3307 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3308 (MAX_CHAR_GREEK): Likewise.
3309 (MIN_CHAR_CYRILLIC): Likewise.
3310 (MAX_CHAR_CYRILLIC): Likewise.
3312 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3314 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3315 format is used without `ucs' property.
3316 (Fdecode_char): Fix problem with GR representation.
3317 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3318 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3320 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3322 * mule-charset.c (make_builtin_char): New function.
3323 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3324 (Fset_charset_mapping_table): Modify for new representation of
3326 (Fdecode_char): New function.
3327 (syms_of_mule_charset): Add new builtin function `decode-char' in
3330 * char-ucs.h (make_builtin_char): New prototype.
3331 (DECODE_CHAR): New inline function.
3332 (MAKE_CHAR): Use `DECODE_CHAR'.
3334 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3336 * text-coding.c (parse_charset_conversion_specs): Use
3337 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3339 (iso2022_designate): Likewise.
3341 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3342 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3344 * mule-charset.c (Vcharset_ucs): New variable.
3345 (print_charset): Change design; use `CHARSET_CHARS' and
3346 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3347 (make_charset): Change signature to specify `chars' and
3348 `dimension' instead of `type'.
3349 (range_charset_code_point): Modify for 256^n-set.
3350 (encode_builtin_char_1): Encode as `ucs' in default.
3351 (Fmake_charset): Modify for `make_charset'.
3352 (Fmake_reverse_direction_charset): Likewise.
3353 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3355 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3358 * char-ucs.h (Vcharset_ucs): New variable.
3359 (LEADING_BYTE_UCS): New macro.
3360 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3361 and `chars' to `unsigned short' from `unsigned int'.
3362 (CHARSET_TYPE): Deleted.
3363 (XCHARSET_TYPE): Deleted.
3365 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3367 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3369 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3370 (ENCODE_CHAR): New macro.
3372 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3374 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3375 to 0.14 (Kawachi-Katakami).
3377 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3379 * text-coding.c (char_encode_shift_jis): Modify for
3380 `charset_code_point'.
3381 (char_encode_iso2022): Likewise.
3383 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3384 (integer) instead of list of <Lisp_Object>s (integers) as the
3385 format of code-point of a coded-charset.
3386 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3387 (encode_builtin_char_1): New function; delete
3388 `split_builtin_char'.
3389 (charset_code_point): Return <int> instead of <Lisp_Object>.
3390 (Fsplit_char): Don't use `SPLIT_CHAR'.
3392 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3393 prototype for `split_builtin_char'.
3394 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3395 (charset_code_point): Likewise.
3396 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3397 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3399 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3401 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3402 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3404 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3406 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3408 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3409 (MAX_CHAR_OBS_94x94): Deleted.
3411 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3413 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3415 * char-ucs.h (MAX_CHAR_BMP): New macro.
3417 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3419 * text-coding.c: Sync with r21-2-24.
3421 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3423 * file-coding.c: Modify for UTF-2000.
3425 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3427 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3430 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3432 * mule-charset.c (split_builtin_char): Delete builtin support for
3433 `katakana-jisx0201'.
3434 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3435 BMP area in builtin representation.
3437 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3438 `Vcharset_katakana_jisx0201'.
3440 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3442 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3443 (Qisolated): New variable.
3444 (Qinitial): New variable.
3445 (Qmedial): New variable.
3446 (Qfinal): New variable.
3447 (Qvertical): New variable.
3448 (Qsmall): New variable.
3449 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3450 `Qvertical' and `Qsmall'.
3451 (Qmojikyo_pj_[1 .. 21]): New variable.
3452 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3453 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3454 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3457 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3459 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3460 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3461 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3463 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3465 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3466 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3468 (Qjapanese_jisx0208_1990): New variable.
3469 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3470 (complex_vars_of_mule_charset): Add new coded-charset
3471 `japanese-jisx0208-1990'.
3473 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3474 (MIN_CHAR_JIS_X0208_1990): New macro.
3475 (MAX_CHAR_JIS_X0208_1990): New macro.
3477 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3479 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3480 coded-charset is not found.
3482 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3484 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3485 (Fdefine_char): Use `Fmake_char'.
3487 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3489 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3490 (Vcharset_hiragana_jisx0208): Deleted.
3491 (Vcharset_katakana_jisx0208): Deleted.
3492 (Qideograph_daikanwa): New variable.
3493 (Qhiragana_jisx0208): Deleted.
3494 (Qkatakana_jisx0208): Deleted.
3495 (split_builtin_char): Split `ideograph-daikanwa'.
3496 (Fsplit_char): New implementation for UTF-2000.
3497 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3498 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3499 (complex_vars_of_mule_charset): Add new coded-charset
3500 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3501 `katakana-jisx0208'.
3503 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3504 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3505 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3506 (MIN_CHAR_DAIKANWA): New macro.
3507 (MAX_CHAR_DAIKANWA): New macro.
3509 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3511 * data.c (Fstring_to_number): Don't recognize floating point if
3514 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3516 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3518 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3520 * mule-charset.c (Qsquare): New variable.
3521 (to_char_code): Add `Qsquare'.
3522 (syms_of_mule_charset): Add new symbol `square'.
3524 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3526 * mule-charset.c (Qcircle): New variable.
3527 (to_char_code): Add `Qcircle'.
3528 (syms_of_mule_charset): Add new symbol `circle'.
3530 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3532 * mule-charset.c (Qfont): New variable.
3533 (to_char_code): Add `Qfont'.
3534 (syms_of_mule_charset): Add new symbol `font'.
3536 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3538 * mule-charset.c (Qsub): New variable.
3539 (to_char_code): Add `Qsub'.
3540 (syms_of_mule_charset): Add new symbol `sub'.
3542 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3544 * mule-charset.c (Fput_char_attribute): Convert each element of
3545 VALUE to GL position if ATTRIBUTE is a GR-set,
3547 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3549 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3550 coded-charset is a GR-set.
3552 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3554 * mule-charset.c (Fput_char_attribute): Check each element of
3555 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3557 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3559 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3561 (Qethiopic_ucs): New variable in UTF-2000.
3562 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3563 (complex_vars_of_mule_charset): Add new coded-charset
3564 `ethiopic-ucs' in UTF-2000.
3566 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3567 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3569 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3571 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3573 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3575 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3578 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3580 * mule-charset.c (Vcharacter_variant_table): New variable.
3581 (Q_ucs): New variable.
3582 (Fchar_variants): New function.
3583 (Fput_char_attribute): Register `->ucs' value to
3584 `Vcharacter_variant_table'.
3585 (syms_of_mule_charset): Add new function `char-variants' and new
3587 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3589 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3591 * mule-charset.c (get_char_code_table): Allow negative character
3593 (put_char_code_table): Likewise.
3594 (Vcharacter_composition_table): New variable.
3595 (Q_decomposition): New variable.
3596 (Qwide): New variable.
3597 (Qnarrow): New variable.
3598 (Qcompat): New variable.
3599 (QnoBreak): New variable.
3600 (Qsuper): New variable.
3601 (Qfraction): New variable.
3602 (to_char_code): New function.
3603 (Fget_composite_char): New function.
3604 (Fput_char_attribute): Register `->decomposition' value to
3605 `Vcharacter_composition_table'.
3606 (syms_of_mule_charset): Add new function `get-composite-char', new
3607 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3608 `super' and `fraction'.
3609 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3611 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3613 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3614 character; copy the return value.
3616 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3618 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3620 * mule-charset.c (range_charset_code_point): Must use make_int.
3621 (split_builtin_char): New function.
3623 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3625 * mule-charset.c (char_byte_table): Change name from
3626 "char-code-table" to "char-byte-table".
3627 (mark_char_code_table): New function.
3628 (char_code_table_equal): New function.
3629 (char_code_table_hash): New function.
3630 (char_code_table_description): New constant.
3631 (char_code_table): New type.
3632 (make_char_code_table): New function.
3633 (copy_char_code_table): New function.
3634 (get_char_code_table): Modify for `char_code_table' type.
3635 (put_char_code_table): Likewise.
3636 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3639 * char-ucs.h (char_code_table): New type.
3640 (XCHAR_CODE_TABLE): New macro.
3641 (XSETCHAR_CODE_TABLE): New macro.
3642 (CHAR_CODE_TABLE_P): New macro.
3643 (GC_CHAR_CODE_TABLE_P): New macro.
3644 (struct Lisp_Char_Code_Table): New structure.
3646 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3648 * mule-charset.c (Fmake_charset): Setup byte_offset for
3651 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3653 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3656 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3658 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3661 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3663 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3664 charset, it is regarded as a charset.
3665 (put_char_attribute): New function in UTF-2000.
3666 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3667 charset, mapping-table of the charset is modified.
3668 (Fdefine_char): New function in UTF-2000.
3669 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3670 `Fput_char_attribute'.
3671 (syms_of_mule_charset): Add new function `define-char' and new
3672 symbol `ucs' in UTF-2000.
3673 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3675 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3677 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3678 non-UTF-2000 configuration.
3680 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3682 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3683 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3685 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3687 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3688 (Fset_charset_mapping_table): Likewise.
3690 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3691 (CHARSET_ENCODING_TABLE): Delete.
3692 (XCHARSET_ENCODING_TABLE): Delete.
3693 (charset_code_point): New interface.
3695 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3697 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3698 instead of `charset_get_byte1' and `charset_get_byte2'.
3700 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3701 (charset_get_byte2): Deleted.
3703 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3705 * char-ucs.h (SPLIT_CHAR): New inline function.
3706 (breakup_char_1): Use `SPLIT_CHAR'.
3708 * mule-charset.c (range_charset_code_point): New function.
3709 (charset_code_point): New function.
3711 * char-ucs.h (range_charset_code_point): New interface.
3712 (breakup_char_1): Use `range_charset_code_point'.
3714 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3716 * mule-charset.c (Fmake_charset): Delete unused local variable
3719 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3720 (breakup_char_1): Find a charset and code-point in
3721 `Vcharacter_attribute_table'.
3723 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3725 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3728 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3730 * mule-charset.c (Vcharacter_attribute_table): New variable.
3731 (Fchar_attribute_alist): New function.
3732 (Fget_char_attribute): New function.
3733 (Fput_char_attribute): New function.
3734 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3736 (syms_of_mule_charset): Add new function `char-attribute-alist',
3737 `get-char-attribute' and `put-char-attribute'.
3738 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3740 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3742 * mule-charset.c (Fmake_charset): Just use
3743 `get_unallocated_leading_byte'.
3745 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3746 sets; don't use final-byte based number for private sets.
3748 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3750 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3753 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3755 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3758 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3760 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3761 of `CHAR_LEADING_BYTE' in UTF-2000.
3763 * insdel.c (find_charsets_in_bufbyte_string): Use
3764 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3765 (find_charsets_in_emchar_string): Likewise.
3767 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3768 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3770 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3771 (CHAR_CHARSET_ID): New macro.
3773 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3775 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3776 charset-id - MIN_LEADING_BYTE.
3777 (put_char_table): Likewise.
3779 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3781 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3782 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3783 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3784 (CHARSET_ID_OFFSET): New macro.
3785 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3786 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3787 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3788 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3790 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3792 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3793 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3794 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3795 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3796 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3798 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3800 * mule-charset.c (next_allocated_leading_byte): New variable in
3802 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3803 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3804 (get_unallocated_leading_byte): Simply use
3805 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3806 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3809 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3810 (MAX_LEADING_BYTE_PRIVATE): New macro.
3811 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3812 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3814 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3816 * mule-charset.c (Fmake_charset): Allocate final-byte based
3817 charset-id for 94-set, 96-set and 94x94-set.
3819 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3821 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3823 (Fmake_charset): Likewise.
3824 (complex_vars_of_mule_charset): Modify the font registry of
3825 `ucs-bmp' not to match `Ethiopic-Unicode'.
3827 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3829 * mule-charset.c (complex_vars_of_mule_charset): Add font
3830 registory of `ucs-bmp'.
3832 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3834 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3835 coded-charsets in `default-coded-charset-priority-list' when
3836 breaking up a character.
3838 * mule-charset.c (Vcharset_latin_viscii): New variable.
3839 (Qlatin_viscii): New variable.
3840 (make_charset): Don't use `decoding_table'.
3841 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3843 (Fset_charset_mapping_table): New implementation.
3844 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3845 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3846 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3847 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3848 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3849 charset `latin_viscii'.
3851 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3852 (CHARSET_TYPE_94X94): Change to 1 from 2.
3853 (CHARSET_TYPE_96): Change to 2 from 1.
3854 (CHARSET_TYPE_128): New macro.
3855 (CHARSET_TYPE_128X128): Change to 5 from 4.
3856 (CHARSET_TYPE_256): New macro.
3857 (CHARSET_TYPE_256X256): Change to 7 from 5.
3858 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3860 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3862 * text-coding.c (char_encode_shift_jis): Refer
3863 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3864 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3866 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3867 (char_byte_table_equal): New function in UTF-2000.
3868 (char_byte_table_hash): New function in UTF-2000.
3869 (char_byte_table_description): New constant in UTF-2000.
3870 (char_byte_table): New type in UTF-2000.
3871 (make_char_byte_table): New function in UTF-2000.
3872 (copy_char_byte_table): New function in UTF-2000.
3873 (make_char_code_table): New macro in UTF-2000.
3874 (get_char_code_table): New function in UTF-2000.
3875 (put_char_code_table): New function in UTF-2000.
3876 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3877 (charset_description): Add setting in UTF-2000.
3878 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3879 `CHARSET_TO_BYTE1_TABLE(cs)'.
3880 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3881 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3882 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3883 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3884 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3885 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3886 `CHARSET_TO_BYTE2_TABLE(cs)'.
3888 * char-ucs.h (char_byte_table): New type.
3889 (XCHAR_BYTE_TABLE): New macro.
3890 (XSETCHAR_BYTE_TABLE): New macro.
3891 (CHAR_BYTE_TABLE_P): New macro.
3892 (GC_CHAR_BYTE_TABLE_P): New macro.
3893 (struct Lisp_Char_Byte_Table): New structure.
3894 (get_char_code_table): New interface.
3895 (Emchar_to_byte_table): Deleted.
3896 (get_byte_from_character_table): Deleted.
3897 (struct Lisp_Charset): Add `encoding_table'; delete
3898 `to_byte1_table' and `to_byte2_table'.
3899 (CHARSET_ENCODING_TABLE): New macro.
3900 (CHARSET_TO_BYTE1_TABLE): Deleted.
3901 (CHARSET_TO_BYTE2_TABLE): Deleted.
3902 (XCHARSET_ENCODING_TABLE): New macro.
3903 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3904 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3906 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3908 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3909 `vietnamese-viscii-*'.
3911 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3913 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3914 (Qvietnamese_viscii_upper): New variable.
3915 (Fdefine_charset_alias): New function.
3916 (syms_of_mule_charset): Add new function `define-charset-alias'.
3917 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3918 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3921 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3923 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3924 (MAX_CHAR_OBS_94x94): New macro.
3925 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3928 * mule-charset.c (put_byte_from_character_table): Change unit size
3930 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
3932 (Fmake_reverse_direction_charset): Modify dummy argument of
3933 `make_charset' for non-UTF-2000 environment.
3935 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
3937 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
3939 * mule-charset.c (destroy_byte_from_character_table): New macro.
3940 (latin_jisx0201_to_ucs): Deleted.
3941 (latin_iso8859_2_to_ucs): Deleted.
3942 (latin_iso8859_3_to_ucs): Deleted.
3943 (latin_iso8859_4_to_ucs): Deleted.
3944 (latin_iso8859_9_to_ucs): Deleted.
3945 (latin_viscii_lower_to_ucs): Deleted.
3946 (latin_viscii_upper_to_ucs): Deleted.
3947 (mark_charset): Mark `cs->decoding_table'.
3948 (Fcharset_mapping_table): Fix DOC-string.
3949 (Fset_charset_mapping_table): New function.
3950 (syms_of_mule_charset): Add nwe function
3951 `set-charset-mapping-table'.
3952 (complex_vars_of_mule_charset): Don't setup and use
3955 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
3957 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
3960 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
3962 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
3963 (Vcharset_katakana_jisx0208): New variable.
3964 (Qhiragana_jisx0208): New variable.
3965 (Qkatakana_jisx0208): New variable.
3966 (make_charset): Add new argument `byte_offset'.
3967 (charset_get_byte1): Modify for new coded-charset definition; use
3968 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3969 `XCHARSET_BYTE_OFFSET'.
3970 (Fmake_charset): Modify for `make_charset'.
3971 (Fmake_reverse_direction_charset): Likewise.
3972 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
3973 `katakana-jisx0208'.
3974 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
3975 `.' in font registry of charset `katakana-jisx0201',
3976 `latin-jisx0201', `vietnamese-viscii-lower' and
3977 `vietnamese-viscii-upper'; modify DOC-string of charset
3978 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
3979 registry of charset `japanese-jisx0208' not to use font for JIS
3980 X0208:1990; add new charset `hiragana-jisx0208' and
3981 `katakana-jisx0208'.
3983 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
3984 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
3985 (struct Lisp_Charset): Add `byte_offset'.
3986 (CHARSET_BYTE_OFFSET): New macro.
3987 (XCHARSET_UCS_MIN): New macro.
3988 (XCHARSET_UCS_MAX): New macro.
3989 (XCHARSET_CODE_OFFSET): New macro.
3990 (XCHARSET_BYTE_OFFSET): New macro.
3991 (MIN_CHAR_HIRAGANA): New macro.
3992 (MAX_CHAR_HIRAGANA): New macro.
3993 (MIN_CHAR_KATAKANA): New macro.
3994 (MAX_CHAR_KATAKANA): New macro.
3995 (MAKE_CHAR): Modify for new coded-charset definition; use
3996 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
3997 `XCHARSET_BYTE_OFFSET'.
3999 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4001 * mule-charset.c (CHAR96): Deleted.
4002 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4004 (latin_iso8859_2_to_ucs): Likewise.
4005 (latin_iso8859_3_to_ucs): Likewise.
4006 (latin_iso8859_4_to_ucs): Likewise.
4007 (latin_iso8859_9_to_ucs): Likewise.
4008 (latin_viscii_lower_to_ucs): Likewise.
4009 (latin_viscii_upper_to_ucs): Likewise.
4010 (latin_tcvn5712_to_ucs): Commented out.
4011 (make_charset): Change type of argument `decoding_table' from
4012 <Emchar*> to <Lisp_Object> [vector of characters].
4013 (Fmake_charset): Modify for `make_charset'.
4014 (Fmake_reverse_direction_charset): Likewise.
4015 (Fcharset_mapping_table): New function in UTF-2000.
4016 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4018 (complex_vars_of_mule_charset): Modify for type change of
4019 `*_to_ucs'; modify for `make_charset'.
4021 * char-ucs.h (struct Lisp_Charset): Change type of
4022 `decoding_table' from <Emchar*> to <Lisp_Object>.
4023 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4025 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4027 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4028 error with non-UTF-2000-Mule.
4030 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4032 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4034 (Vcharset_chinese_cns11643_4): Likewise.
4035 (Vcharset_chinese_cns11643_5): Likewise.
4036 (Vcharset_chinese_cns11643_6): Likewise.
4037 (Vcharset_chinese_cns11643_7): Likewise.
4038 (Qchinese_cns11643_3): Likewise.
4039 (Qchinese_cns11643_4): Likewise.
4040 (Qchinese_cns11643_5): Likewise.
4041 (Qchinese_cns11643_6): Likewise.
4042 (Qchinese_cns11643_7): Likewise.
4043 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4044 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4045 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4046 (complex_vars_of_mule_charset): Likewise.
4048 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4050 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4052 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4053 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4055 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4057 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4059 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4060 (breakup_char_1): Likewise.
4062 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4063 one of them includes the specified character.
4065 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4067 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4069 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4071 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4073 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4075 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4076 definition for non-UTF-2000 Mule.
4077 (latin_iso8859_3_to_ucs): Likewise.
4078 (latin_iso8859_4_to_ucs): Likewise.
4079 (latin_iso8859_9_to_ucs): Likewise.
4080 (latin_jisx0201_to_ucs): Likewise.
4081 (MIN_CHAR_THAI): Likewise.
4082 (MAX_CHAR_THAI): Likewise.
4083 (MIN_CHAR_GREEK): Likewise.
4084 (MAX_CHAR_GREEK): Likewise.
4085 (MIN_CHAR_HEBREW): Likewise.
4086 (MAX_CHAR_HEBREW): Likewise.
4087 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4088 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4089 (MIN_CHAR_CYRILLIC): Likewise.
4090 (MAX_CHAR_CYRILLIC): Likewise.
4092 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4094 * char-ucs.h (breakup_char_1): Use
4095 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4096 thai-tis620 and katakana-jisx0201 area.
4098 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4100 * char-ucs.h (breakup_char_1): Use
4101 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4104 * text-coding.c (reset_encoding_stream): Fixed.
4105 (char_encode_ucs4): Delete `& 255'.
4107 * char-ucs.h (breakup_char_1): Use
4108 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4110 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4112 * file-coding.c (Fmake_coding_system): Don't set up
4113 `codesys->fixed.size'.
4114 (encode_coding_no_conversion): Don't refer
4115 `str->codesys->fixed.size'.
4117 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4119 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4120 (latin_a_char_to_byte1): Deleted.
4121 (latin_a_char_to_byte2): Deleted.
4123 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4125 * mule-charset.c (make_charset): Add new argument `ucs_min',
4126 `ucs_max' and `code_offset'.
4127 (charset_get_byte1): New implementation [delete specific charset
4128 depended implementations].
4129 (Fmake_charset): Modify for `make_charset'.
4130 (Fmake_reverse_direction_charset): Likewise.
4131 (complex_vars_of_mule_charset): Likewise.
4133 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4135 (CHARSET_UCS_MIN): New macro.
4136 (CHARSET_UCS_MAX): New macro.
4137 (CHARSET_CODE_OFFSET): New macro.
4138 (MAKE_CHAR): Delete charset depended definitions [except
4141 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4143 * char-ucs.h (breakup_char_1): Use
4144 `Vdefault_coded_charset_priority_list' for C0-Controls,
4145 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4147 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4149 * char-ucs.h (charset_get_byte1): New function.
4150 (XCHARSET_GET_BYTE1): Deleted.
4151 (charset_get_byte2): New function.
4152 (XCHARSET_GET_BYTE2): Deleted.
4153 (Vdefault_coded_charset_priority_list): New external variable.
4154 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4155 `Vdefault_preferred_coded_charset_list'.
4157 * mule-charset.c (charset_get_byte1): New function.
4158 (charset_get_byte2): New function.
4159 (Vdefault_coded_charset_priority_list): New variable.
4160 (vars_of_mule_charset): Add new variable
4161 `default-coded-charset-priority-list'.
4163 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4165 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4166 (XCHARSET_GET_BYTE2): New inline function.
4167 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4168 `XCHARSET_GET_BYTE2'.
4170 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4172 * mule-charset.c (make_charset): Initialize
4173 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4174 NULL if table is not defined.
4176 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4178 * text-coding.c (char_encode_shift_jis): Use
4179 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4180 `ucs_to_latin_jisx0201'.
4182 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4183 (ucs_to_latin_iso8859_2): Deleted.
4184 (ucs_to_latin_iso8859_3): Deleted.
4185 (ucs_to_latin_iso8859_4): Deleted.
4186 (ucs_to_latin_iso8859_9): Deleted.
4187 (ucs_to_latin_viscii_lower): Deleted.
4188 (ucs_to_latin_viscii_upper): Deleted.
4189 (ucs_to_latin_tcvn5712): Deleted.
4190 (make_charset): Add new argument `decoding_table'; set up
4191 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4192 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4193 `decoding_table' is defined in UTF-2000.
4194 (Fmake_charset): Modify for `make_charset'.
4195 (Fmake_reverse_direction_charset): Likewise.
4196 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4197 and `GENERATE_96_SET'.
4199 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4200 (ucs_to_latin_jisx0201): Deleted.
4201 (latin_iso8859_2_to_ucs): Deleted.
4202 (ucs_to_latin_iso8859_2): Deleted.
4203 (latin_iso8859_3_to_ucs): Deleted.
4204 (ucs_to_latin_iso8859_3): Deleted.
4205 (latin_iso8859_4_to_ucs): Deleted.
4206 (ucs_to_latin_iso8859_4): Deleted.
4207 (latin_iso8859_9_to_ucs): Deleted.
4208 (ucs_to_latin_iso8859_9): Deleted.
4209 (latin_viscii_lower_to_ucs): Deleted.
4210 (ucs_to_latin_viscii_lower): Deleted.
4211 (latin_viscii_upper_to_ucs): Deleted.
4212 (ucs_to_latin_viscii_upper): Deleted.
4213 (struct Lisp_Charset): Renamed `encoding_table' to
4214 `to_byte1_table'; add `to_byte2_table'.
4215 (CHARSET_DECODING_TABLE): New macro.
4216 (CHARSET_TO_BYTE1_TABLE): New macro.
4217 (CHARSET_TO_BYTE2_TABLE): New macro.
4218 (XCHARSET_DECODING_TABLE): New macro.
4219 (XCHARSET_TO_BYTE1_TABLE): New macro.
4220 (XCHARSET_TO_BYTE2_TABLE): New macro.
4221 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4223 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4224 don't use `ucs_to_*' tables.
4226 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4228 * text-coding.c (Fmake_coding_system): Don't set up
4229 `codesys->fixed.size'.
4230 (encode_coding_no_conversion): Use `if' instead of `switch'.
4232 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4234 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4236 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4237 (Fmake_charset): Modify for `make_charset'.
4238 (Fmake_reverse_direction_charset): Likewise.
4239 (complex_vars_of_mule_charset): Likewise.
4241 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4243 * text-coding.c (char_encode_shift_jis): Use table
4244 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4246 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4248 * text-coding.c (text_encode_generic): Use `if' instead of
4250 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4253 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4255 * text-coding.c (encode_coding_sjis): Deleted.
4256 (char_encode_shift_jis): New function.
4257 (char_finish_shift_jis): New function.
4258 (reset_encoding_stream): Set up `encode_char' and `finish' for
4259 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4260 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4261 (char_encode_utf8): Treat `eol_type'.
4263 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4265 * file-coding.c (decode_coding_iso2022): Use
4266 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4268 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4270 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4273 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4275 * char-lb.h (CHAR_COLUMNS): New macro.
4277 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4279 * text-coding.c (char_encode_ucs4): New function.
4280 (char_finish_ucs4): New function.
4281 (encode_coding_ucs4): Deleted.
4282 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4283 (text_encode_generic): Delete local variable `charset' and `half'.
4284 (ucs_to_mule_table): Deleted.
4285 (mule_to_ucs_table): Deleted.
4286 (Fset_ucs_char): Deleted.
4287 (ucs_to_char): Deleted.
4288 (Fucs_char): Deleted.
4289 (Fset_char_ucs): Deleted.
4290 (Fchar_ucs): Deleted.
4291 (decode_ucs4): Deleted.
4292 (mule_char_to_ucs4): Deleted.
4293 (encode_ucs4): Deleted.
4294 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4295 (decode_coding_utf8): Likewise.
4296 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4297 (char_encode_iso2022): Fixed.
4298 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4299 `Fset_char_ucs' and `Fchar_ucs'.
4300 (complex_vars_of_file_coding): Don't initialize
4301 `ucs_to_mule_table'.
4303 * objects-tty.c (tty_initialize_font_instance): Don't use
4306 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4309 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4310 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4312 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4313 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4314 (emchar_string_displayed_columns): Likewise.
4316 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4317 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4318 (string_column_at_point): Likewise.
4319 (Fmove_to_column): Likewise.
4321 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4322 `encoding_table' and `decoding_table'.
4323 (CHARSET_REP_BYTES): Deleted.
4324 (XCHARSET_REP_BYTES): Deleted.
4325 (XCHARSET_COLUMNS): Deleted.
4326 (CHAR_COLUMNS): New macro.
4327 (lookup_composite_char): Deleted unconditionally.
4328 (composite_char_string): Likewise.
4330 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4332 * char-ucs.h (Emchar_to_byte_table): New type.
4333 (get_byte_from_character_table): New function interface.
4334 (Vcharset_latin_jisx0201): New variable.
4335 (latin_jisx0201_to_ucs): New variable.
4336 (ucs_to_latin_jisx0201): New variable.
4337 (Vcharset_latin_iso8859_2): New variable.
4338 (latin_iso8859_2_to_ucs): New variable.
4339 (ucs_to_latin_iso8859_2): New variable.
4340 (Vcharset_latin_iso8859_3): New variable.
4341 (latin_iso8859_3_to_ucs): New variable.
4342 (ucs_to_latin_iso8859_3): New variable.
4343 (Vcharset_latin_iso8859_4): New variable.
4344 (latin_iso8859_4_to_ucs): New variable.
4345 (ucs_to_latin_iso8859_4): New variable.
4346 (Vcharset_latin_iso8859_9): New variable.
4347 (latin_iso8859_9_to_ucs): New variable.
4348 (ucs_to_latin_iso8859_9): New variable.
4349 (Vcharset_latin_viscii_lower): New variable.
4350 (latin_viscii_lower_to_ucs): New variable.
4351 (ucs_to_latin_viscii_lower): New variable.
4352 (Vcharset_latin_viscii_upper): New variable.
4353 (latin_viscii_upper_to_ucs): New variable.
4354 (ucs_to_latin_viscii_upper): New variable.
4355 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4356 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4357 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4358 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4359 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4360 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4361 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4362 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4363 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4364 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4366 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4367 (Vcharset_latin_viscii_upper): New variable.
4368 (make_byte_from_character_table): New function.
4369 (put_byte_from_character_table): New function.
4370 (get_byte_from_character_table): New function.
4371 (CHAR96): New macro.
4372 (ucs_to_latin_jisx0201): New variable.
4373 (latin_jisx0201_to_ucs): New variable.
4374 (ucs_to_latin_iso8859_2): New variable.
4375 (latin_iso8859_2_to_ucs): New variable.
4376 (ucs_to_latin_iso8859_3): New variable.
4377 (latin_iso8859_3_to_ucs): New variable.
4378 (ucs_to_latin_iso8859_4): New variable.
4379 (latin_iso8859_4_to_ucs): New variable.
4380 (ucs_to_latin_iso8859_9): New variable.
4381 (latin_iso8859_9_to_ucs): New variable.
4382 (ucs_to_latin_viscii_lower): New variable.
4383 (latin_viscii_lower_to_ucs): New variable.
4384 (ucs_to_latin_viscii_upper): New variable.
4385 (latin_viscii_upper_to_ucs): New variable.
4386 (ucs_to_latin_tcvn5712): New variable.
4387 (latin_tcvn5712_to_ucs): New variable.
4388 (Qlatin_viscii_lower): New variable.
4389 (Qlatin_viscii_upper): New variable.
4390 (syms_of_mule_charset): Set up new symbol
4391 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4392 (complex_vars_of_mule_charset): Set up new charset
4393 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4394 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4395 `ucs_to_<CHARSET>' tables.
4397 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4399 * text-coding.c: New file.
4401 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4403 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4405 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4406 (MAKE_CHAR): Modify for `ucs-bmp'.
4407 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4408 non-MULE characters of BMP.
4410 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4412 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4415 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4418 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4419 - Include character.h for `CHAR_ASCII_P'.
4421 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4423 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4424 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4426 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4427 (BYTE_C0_P): Likewise.
4428 (BYTE_C1_P): Likewise.
4429 (Lstream_get_emchar_1): Likewise.
4430 (Lstream_fput_emchar): Likewise.
4431 (Lstream_funget_emchar): Likewise.
4432 (copy_internal_to_external): Likewise.
4433 (copy_external_to_internal): Likewise.
4435 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4436 (BYTE_C0_P): Likewise.
4437 (BYTE_C1_P): Likewise.
4438 (Lstream_get_emchar_1): Likewise.
4439 (Lstream_fput_emchar): Likewise.
4440 (Lstream_funget_emchar): Likewise.
4441 (copy_internal_to_external): Likewise.
4442 (copy_external_to_internal): Likewise.
4444 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4445 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4447 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4448 (BYTE_ASCII_P): Moved to mb-1byte.h.
4450 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4452 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4454 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4455 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4456 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4457 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4458 (VALIDATE_CHARPTR_FORWARD): Likewise.
4459 (simple_charptr_emchar): Moved to mb-multibyte.h.
4460 (simple_set_charptr_emchar): Likewise.
4461 (simple_charptr_copy_char): Likewise.
4462 (non_ascii_charptr_emchar): Likewise.
4463 (non_ascii_set_charptr_emchar): Likewise.
4464 (non_ascii_charptr_copy_char): Likewise.
4465 (charptr_emchar): Moved to mb-*byte.h.
4466 (set_charptr_emchar): Likewise.
4467 (charptr_copy_char): Likewise.
4469 * mb-1byte.h, mb-multibyte.h: New files.
4471 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4473 * mb-utf-8.h (MULTIBYTE): New macro.
4474 (MAX_EMCHAR_LEN): Moved from buffer.h.
4475 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4477 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4479 * mb-lb.h, multibyte.h: New files.
4481 * char-1byte.h (Charset_ID): Moved from buffer.h.
4482 (MIN_LEADING_BYTE): Likewise.
4483 (LEADING_BYTE_ASCII): Likewise.
4484 (NUM_LEADING_BYTES): Likewise.
4485 (CHARSETP): Likewise.
4486 (CHARSET_BY_LEADING_BYTE): Likewise.
4487 (XCHARSET_LEADING_BYTE): Likewise.
4488 (XCHARSET_GRAPHIC): Likewise.
4489 (XCHARSET_COLUMNS): Likewise.
4490 (XCHARSET_DIMENSION): Likewise.
4491 (CHAR_CHARSET): Likewise.
4492 (CHAR_LEADING_BYTE): Likewise.
4493 (BREAKUP_CHAR): Likewise.
4494 (Vcharset_ascii): Likewise.
4496 * buffer.h: Include multibyte.h unconditionally.
4497 (VALID_CHARPTR_P): Moved to multibyte.h.
4498 (ASSERT_VALID_CHARPTR): Likewise.
4499 (REAL_INC_CHARPTR): Likewise.
4500 (REAL_INC_CHARBYTIND): Likewise.
4501 (REAL_DEC_CHARPTR): Likewise.
4502 (INC_CHARPTR): Likewise.
4503 (INC_CHARBYTIND): Likewise.
4504 (DEC_CHARPTR): Likewise.
4505 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4506 (VALIDATE_CHARPTR_FORWARD): Likewise.
4507 (charptr_n_addr): Likewise.
4508 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4509 (simple_charptr_emchar): Moved to multibyte.h.
4510 (simple_set_charptr_emchar): Likewise.
4511 (simple_charptr_copy_char): Likewise.
4512 (non_ascii_charptr_emchar): Likewise.
4513 (non_ascii_set_charptr_emchar): Likewise.
4514 (non_ascii_charptr_copy_char): Likewise.
4515 (charptr_emchar): Likewise.
4516 (set_charptr_emchar): Likewise.
4517 (charptr_copy_char): Likewise.
4518 (charptr_emchar_n): Likewise.
4519 (Charset_ID): Moved to char-1byte.h.
4520 (Vcharset_ascii): Likewise.
4521 (CHAR_CHARSET): Likewise.
4522 (CHAR_LEADING_BYTE): Likewise.
4523 (LEADING_BYTE_ASCII): Likewise.
4524 (NUM_LEADING_BYTES): Likewise.
4525 (MIN_LEADING_BYTE): Likewise.
4526 (CHARSETP): Likewise.
4527 (CHARSET_BY_LEADING_BYTE): Likewise.
4528 (XCHARSET_LEADING_BYTE): Likewise.
4529 (XCHARSET_GRAPHIC): Likewise.
4530 (XCHARSET_COLUMNS): Likewise.
4531 (XCHARSET_DIMENSION): Likewise.
4532 (BREAKUP_CHAR): Likewise.
4534 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4536 * character.h: Add document about interface for characters.
4538 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4539 (MAKE_CHAR): Delete comment about
4540 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4541 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4542 (BREAKUP_CHAR): Modify name of arguments.
4543 (CHAR_CHARSET): Modify name of argument.
4545 * buffer.h: Delete document about Emchar accessors.
4547 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4549 * character.h (CHAR_INTP): Moved from buffer.h
4550 (CHAR_OR_CHAR_INTP): Likewise.
4551 (XCHAR_OR_CHAR_INT): Likewise.
4552 (CHECK_CHAR_COERCE_INT): Likewise.
4554 * buffer.h (CHAR_INTP): Moved to character.h
4555 (CHAR_OR_CHAR_INTP): Likewise.
4556 (XCHAR_OR_CHAR_INT): Likewise.
4557 (CHECK_CHAR_COERCE_INT): Likewise.
4559 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4562 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4563 - Include char-1byte.h, char-lb.h or char-ucs.h.
4565 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4567 * buffer.h: Include character unconditionally.
4568 (valid_char_p): Moved to char-*.h.
4569 (non_ascii_valid_char_p): Moved to char-lb.h.
4571 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4573 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4575 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4576 in UTF-2000 because it is not ported yet and not to use
4577 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4578 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4579 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4581 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4582 (CHAR_ASCII_P): Moved from character.h.
4584 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4585 (CHAR_ASCII_P): Likewise.
4586 (CHAR_FIELD1_MASK): Deleted.
4587 (CHAR_FIELD2_MASK): Deleted.
4588 (CHAR_FIELD3_MASK): Deleted.
4589 (MAX_CHAR_BASIC_LATIN): New macro.
4590 (CHAR_FIELD1): Deleted.
4591 (CHAR_FIELD2_INTERNAL): Deleted.
4592 (CHAR_FIELD3_INTERNAL): Deleted.
4593 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4594 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4595 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4596 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4597 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4598 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4599 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4600 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4601 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4602 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4603 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4604 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4605 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4606 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4607 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4608 (MIN_CHAR_COMPOSITION): Deleted.
4609 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4610 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4612 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4614 * buffer.h: Include mb-utf-8.h in UTF-2000.
4616 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4618 * mb-utf-8.h: New file.
4620 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4622 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4625 * mule-charset.h, buffer.h (Charset_ID): New type.
4627 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4629 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4630 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4631 instead of `MULE_CHAR_PRIVATE_OFFSET',
4632 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4633 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4634 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4636 * character.h (Vcharset_japanese_jisx0212): New variable
4639 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4641 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4642 (charset_by_attributes): Delete array about direction.
4643 (latin_a_char_to_charset): New variable in UTF-2000.
4644 (latin_a_char_to_byte1): New variable in UTF-2000.
4645 (latin_a_char_to_byte2): New variable in UTF-2000.
4646 (Qucs_bmp): New variable.
4647 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4649 (next_allocated_2_byte_leading_byte): Likewise.
4650 (non_ascii_set_charptr_emchar): Likewise.
4651 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4652 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4653 `charset_by_attributes'.
4654 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4655 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4656 and `CHARSET_BY_LEADING_BYTE'.
4657 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4658 `utf-2000-version' to `vars_of_mule_charset'.
4659 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4660 define `leading-code-private-11' in UTF-2000; move setting of
4661 `utf-2000-version' from `syms_of_mule_charset'.
4662 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4665 * character.h (Charset_ID): New type.
4666 (LEADING_BYTE_UCS_BMP): New macro.
4667 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4668 (CHARSET_ID_OFFSET_94): New macro.
4669 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4670 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4671 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4673 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4674 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4675 (CHARSET_ID_OFFSET_96): New macro.
4676 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4677 CHARSET_ID_OFFSET_96 and final-byte.
4678 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4679 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4680 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4681 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4682 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4683 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4684 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4685 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4686 (LEADING_BYTE_THAI_TIS620): Likewise.
4687 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4688 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4689 (CHARSET_ID_OFFSET_94x94): New macro.
4690 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4691 CHARSET_ID_OFFSET_94x94 and final-byte.
4692 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4693 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4694 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4695 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4696 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4697 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4698 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4699 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4700 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4701 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4702 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4703 (CHARSET_TYPE_128X128): New macro.
4704 (CHARSET_TYPE_256X256): New macro.
4705 (XCHARSET_PRIVATE_P): Delete unconditionally.
4706 (charset_by_attributes): Delete array about direction.
4707 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4708 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4709 (MIN_CHAR_94): New macro.
4710 (MAX_CHAR_94): New macro.
4711 (MIN_CHAR_96): New macro.
4712 (MAX_CHAR_96): New macro.
4713 (MIN_CHAR_94x94): New macro.
4714 (MAX_CHAR_94x94): New macro.
4715 (MIN_CHAR_96x96): New macro.
4716 (MAX_CHAR_96x96): New macro.
4717 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4718 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4719 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4721 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4722 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4723 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4724 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4725 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4726 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4727 `XCHARSET_LEADING_BYTE' to make code-point.
4728 (latin_a_char_to_charset): New variable.
4729 (latin_a_char_to_byte1): New variable.
4730 (latin_a_char_to_byte2): New variable.
4731 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4732 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4733 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4735 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4736 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4737 (find_charsets_in_emchar_string): Likewise.
4738 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4740 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4742 (decode_coding_iso2022): Likewise.
4744 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4747 * redisplay.c (redisplay_text_width_emchar_string): Use
4748 `Charset_ID' instead of `unsigned char'.
4749 (redisplay_frame_text_width_string): Likewise.
4751 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4754 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4755 instead of `unsigned char'.
4756 (face_cachel_charset_font_metric_info): Likewise.
4758 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4759 (get_non_ascii_char_table_value): Likewise.
4760 (get_char_table): Likewise.
4761 (put_char_table): Likewise.
4762 (map_over_other_charset): Likewise.
4763 (map_char_table): Likewise.
4765 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4766 instead of `unsigned char'.
4768 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4770 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4771 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4773 * mule-charset.c (leading_code_private_11): Don't define in
4776 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4777 in UTF-2000 because it is not ported yet and not to use
4778 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4780 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4782 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4784 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4786 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4789 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4790 of unsigned char to store leading-byte.
4792 * chartab.c (get_non_ascii_char_table_value): Don't use
4793 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4795 * file-coding.c (encode_coding_big5): Delete bogus implementation
4798 * character.h (LEADING_BYTE_*): Delete definition for
4800 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4801 (LEADING_BYTE_PREFIX_P): Deleted.
4802 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4803 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4804 (BUFBYTE_LEADING_BYTE_P): Deleted.
4805 (CHARSET_PRIVATE_P): Deleted unconditionally.
4806 (rep_bytes_by_first_byte): Deleted unconditionally.
4807 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4808 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4809 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4810 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4811 (CHAR_FIELD2): Deleted.
4812 (CHAR_FIELD3): Deleted.
4813 (MAKE_CHAR): Delete definition for non-UTF-2000.
4814 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4815 (breakup_char_1): New implementation.
4816 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4817 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4819 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4821 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4824 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4826 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4827 (CHARSET_PRIVATE_P): Likewise.
4828 (XCHARSET_PRIVATE_P): Likewise.
4829 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4831 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4833 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4835 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4837 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4838 (NUM_LEADING_BYTES): Changed from 128 to 256.
4839 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4840 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4842 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4844 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4846 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4847 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4848 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4849 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4850 (Qchinese_cns11643_3): New variable in UTF2000.
4851 (Qchinese_cns11643_4): New variable in UTF2000.
4852 (Qchinese_cns11643_5): New variable in UTF2000.
4853 (Qchinese_cns11643_6): New variable in UTF2000.
4854 (Qchinese_cns11643_7): New variable in UTF2000.
4855 (syms_of_mule_charset): Define `chinese-cns11643-3',
4856 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4857 and `chinese-cns11643-7' in UTF2000.
4858 (vars_of_mule_charset): Initialize
4859 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4861 (complex_vars_of_mule_charset): Setup charset
4862 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4863 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4865 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4867 * mule-charset.c: Move setting for `leading-code-private-11' from
4868 `syms_of_mule_charset' to `vars_of_mule_charset'.
4870 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4872 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4873 and `NUM_LEADING_BYTES' in assert.
4875 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4877 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4879 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4880 `NUM_LEADING_BYTES' instead of 128.
4882 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4884 * mule-charset.h (charset_by_leading_byte): Use
4885 `NUM_LEADING_BYTES' instead of 128.
4886 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4888 * mule-charset.c (charset_by_leading_byte): Use
4889 `NUM_LEADING_BYTES' instead of 128.
4890 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4892 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4895 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4897 * mule-charset.c (syms_of_mule_charset): Update to
4900 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4902 * file-coding.c (encode_coding_sjis): New implementation for
4903 UTF2000. (decode_coding_sjis): Ditto.
4905 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4907 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4908 Don't define in UTF2000.
4910 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4913 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4914 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4917 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4919 * config.h.in (CHAR_IS_UCS4): New macro.
4921 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4922 conventional MULE representation.
4923 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4925 * mule-charset.h: Reverted to original.
4927 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4928 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4929 "mule-charset.h" if CHAR_IS_UCS4 is defined.
4931 * character.h: New file.
4933 * file-coding.c (Fmake_coding_system): Set 1 to
4934 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
4936 (encode_coding_no_conversion): New implementation for UTF2000.
4938 * file-coding.h (struct Lisp_Coding_System): Add new member
4941 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
4943 * file-coding.c (decode_coding_iso2022): Code-point arguments of
4944 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
4945 (encode_coding_iso2022): New implementation for UTF2000.
4947 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4949 * mule-canna.c (c2mu): New implementation for UTF2000.
4952 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4954 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
4956 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4958 * file-coding.c (reset_encoding_stream): Set 0 to
4959 `str->iso2022.current_char_boundary' in UTF2000.
4960 (encode_utf8): Don't define in UTF2000.
4961 (encode_coding_utf8): New implementation for UTF-8 representation
4963 (complex_vars_of_file_coding): Define coding-system `utf-8'.
4965 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4967 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
4969 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
4971 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4973 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
4975 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
4976 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
4977 as UTF-8 in UTF2000.
4978 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
4979 (non_ascii_valid_char_p): Don't define in UTF2000.
4980 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
4981 (Lstream_get_emchar_1): Likewise.
4982 (utf-2000-version): New variable in UTF2000.
4984 * lread.c (read_escape): Add new reader `u'.
4986 * insdel.c (three_to_one_table): Don't define in UTF2000.
4987 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
4988 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4990 (bytind_to_bufpos_func): Likewise.
4991 (buffer_mule_signal_inserted_region): Likewise.
4992 (vars_of_insdel): Don't initialize `three_to_one_table'.
4993 (init_buffer_text): Use `buf->text->mule_size' instead of
4994 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
4997 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
4998 UTF-8 representation in UTF2000.
4999 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5000 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5001 (decode_coding_iso2022): Don't define local variable `lb' in
5002 UTF2000; don't use LEADING_BYTE in UTF2000; use
5003 `DECODE_ADD_UCS_CHAR' in UTF2000.
5004 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5006 * config.h.in (UTF2000): New macro.
5008 * buffer.h (struct buffer_text): Add new member `mule_size' and
5009 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5010 (valid_char_p): Return always 1 in UTF2000.
5011 (MAX_EMCHAR_LEN): 6 in UTF2000.
5012 (three_to_one_table): Don't define in UTF2000.
5013 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5015 (real_bytind_to_bufpos): Likewise.
5017 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5019 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5021 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5022 representation change.
5023 (Vutf_2000_version): New variable.
5024 (leading_code_private_11): New variable.
5025 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5026 `leading-code-private-11'.
5028 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5029 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5030 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5031 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5032 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5033 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5034 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5035 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5036 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5037 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5038 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5039 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5040 (MIN_CHAR_GREEK): New macro.
5041 (MAX_CHAR_GREEK): New macro.
5042 (MIN_CHAR_CYRILLIC): New macro.
5043 (MAX_CHAR_CYRILLIC): New macro.
5044 (MIN_CHAR_HEBREW): New macro.
5045 (MAX_CHAR_HEBREW): New macro.
5046 (MIN_CHAR_THAI): New macro.
5047 (MAX_CHAR_THAI): New macro.
5048 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5049 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5050 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5051 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5052 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5053 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5054 (CHAR_FIELD2): New inline function.
5055 (CHAR_FIELD3): New inline function.
5056 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5057 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5058 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5059 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5060 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5061 (MIN_CHAR_COMPOSITION): Likewise.
5062 (CHAR_LEADING_BYTE): Modified for character representation change.
5063 (MAKE_CHAR): Likewise.
5065 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5066 (Vcharset_greek_iso8859_7): Likewise.
5067 (Vcharset_cyrillic_iso8859_5): Likewise.
5068 (Vcharset_hebrew_iso8859_8): Likewise.
5069 (Vcharset_thai_tis620): Likewise.
5070 (Vcharset_katakana_jisx0201): Likewise.
5072 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5074 * XEmacs 21.4.12 "Portable Code" is released.
5076 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5078 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5079 * s/cygwin.sc: new linker file.
5081 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5083 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5085 * redisplay-x.c (x_output_string): Use X11-specified types.
5086 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5087 * emacs.c (__free_hook): Use typeof with Intel compiler.
5088 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5090 2003-01-08 Andy Piper <andy@xemacs.org>
5092 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5093 reserve size during unexec().
5095 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5097 * process-unix.c (unix_create_process): Don't let outchannel block.
5099 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5101 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5102 Needed for IsBadReadPtr().
5104 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5106 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5108 2002-12-14 Ben Wing <ben@xemacs.org>
5110 * callint.c: Declaration error.
5112 * dumper.c (pdump_load): Warning fix.
5113 * process.c: GCPRO error.
5114 * glyphs.c (unmap_subwindow):
5115 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5116 * event-stream.c (maybe_kbd_translate): Wrong argument to
5117 character_to_event().
5119 * alloc.c (garbage_collect_1):
5121 * emacs.c (debug_can_access_memory):
5122 * emacs.c (fatal_error_signal):
5123 * emacs.c (mswindows_handle_hardware_exceptions):
5126 * emacs.c (assert_failed):
5127 * emacs.c (syms_of_emacs):
5130 * print.c (std_handle_out_va):
5131 * print.c (write_string_to_stdio_stream):
5132 * print.c (write_fmt_string):
5133 * print.c (printing_badness):
5134 * print.c (printing_major_badness):
5135 * print.c (print_internal):
5136 * print.c (debug_print_no_newline):
5137 * print.c (debug_backtrace):
5138 Be more defensive in handling bad values when printing. Add code
5139 from trunk involving inhibit_non_essential_printing_operations.
5140 When going down or in debug_print(), don't do external conversion
5141 and such and try really, really hard when printing to avoid core
5142 dumping. Add force-debugging-signal, debug_break().
5144 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5146 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5147 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5149 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5151 * database.c: Fix open_database. Berkeley DB API has changed in
5152 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5154 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5156 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5158 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5160 * event-Xt.c (Xt_timeout):
5161 (Xt_timeout_callback):
5162 (emacs_Xt_add_timeout):
5163 (emacs_Xt_remove_timeout):
5164 (Xt_timeout_to_emacs_event):
5165 Turn completed_timeouts from a stack into a queue. Fixes
5166 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5168 2002-11-07 Wolfram Gloger <wg@malloc.de>
5170 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5171 * emacs.c (main): Assert that mmap'd allocation is disabled.
5173 2002-10-14 Andy Piper <andy@xemacs.org>
5175 * glyphs-widget.c (layout_query_geometry): add in fiddle
5176 factor. Include border text in width layout calculation.
5177 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5179 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5181 * XEmacs 21.4.10 "Military Intelligence" is released.
5183 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5185 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5186 using the NAS private array SoundFileInfo that no longer exists in
5187 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5188 and earlier. This is broken for some versions between 1.5a and
5191 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5193 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5195 * emacs.c (shut_down_emacs): Improve crash message.
5197 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5199 * file-coding.c (determine_real_coding_system): Check for coding
5200 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5201 shebangs and Python PEP 263.
5203 2002-10-08 Andy Piper <andy@xemacs.org>
5205 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5206 if static sizes haven't been set.
5208 2002-08-30 Mike Alexander <mta@arbortext.com>
5210 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5213 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5215 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5217 2002-09-20 Mike Sperber <mike@xemacs.org>
5219 (This partially gets back my patch from 2002-07-20 without the
5221 * callproc.c (child_setup): Remove Ben's comment noting confusion
5222 over the file descriptors >= 3: close_process_descs() doesn't
5223 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5224 * process-unix.c (unix_create_process): Call
5225 begin_dont_check_for_quit to inhibit unwanted interaction (and
5226 thus breaking of X event synchronicity) in the child.
5228 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5230 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5233 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5235 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5236 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5237 the xemacs process did not exit, but looped infinitely here. This
5240 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5242 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5243 (find_context): Improve comments.
5245 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5246 (re_match_2): An XCHAR_TABLE operation was missing.
5248 Many of the following changes were inspired by Andy Piper's (now
5249 obsolete) patch to make syntax-table text property lookup optional.
5253 * syntax.h (top level): Document semantics of syntax flags.
5254 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5255 * syntax.c, syntax.h (top level): Document syntax cache better in
5258 [Instrument syntax caching (temporary change)]
5260 * syntax.h (enum syntax_cache_statistics_functions, struct
5261 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5262 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5263 * syntax.c (scan_words, Fforward_comment, scan_lists,
5264 Fbackward_prefix_characters):
5265 * font-lock.c (find_context):
5266 Use them to instrument syntax caching.
5267 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5268 syntax_cache_statistics_function_names): New type and variables.
5269 * syntax.c (update_syntax_cache): Update and report statistics.
5271 [Major syntax cache optimizations]
5273 syntax.c (lookup_syntax_properties): Default off.
5275 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5276 * syntax.c (update_syntax_cache):
5277 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5279 [Minor syntax cache optimizations and code clarifications]
5281 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5282 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5283 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5284 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5285 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5286 (Code clarification.)
5288 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5289 scan_lists): Compute code from syncode, use Boolean macros instead
5290 of redundant masking operations. (Code clarification; any decent
5291 compiler can do this optimization.)
5293 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5296 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5297 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5298 use F*_single_property_change instead of F*_extent_change.
5299 Currently F*_single_property_change is _much_ less efficient.
5301 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5302 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5303 syntax_cache.object properly, don't leave Qt or Qnil.
5304 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5305 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5306 tests for Qt or Qnil.
5308 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5310 * redisplay.c (point_in_line_start_cache):
5311 * extents.c (print_extent_1):
5314 * extents.c (Fset_extent_property): Document `syntax-table' property.
5316 * extents.h (Fnext_single_property_change): EXFUN it.
5318 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5320 * search.c (clear_unused_search_regs): New static function.
5324 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5325 Minor clarifications in comments.
5327 * regex.c (re_match_2_internal): Ensure no stale submatches.
5329 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5331 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5333 2002-08-29 Jerry James <james@xemacs.org>
5335 * lisp.h: structrures -> structures.
5337 2002-06-03 Andy Piper <andy@xemacs.org>
5339 * frame.c (frame_conversion_internal): add conversion appropriate
5340 for setting frame dimensions in pixels.
5342 * console.h (struct console_methods): add device-specific widget
5345 * emacs.c (main_1): initialize glyph vars.
5347 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5348 (handle_focus_event_2): new function. Allow focus to
5349 be set to a particular window and widget.
5350 (enqueue_focus_event): new function. Create a
5351 synthetic focus event.
5352 (emacs_Xt_handle_magic_event): call
5353 handle_focus_event_2.
5355 * frame.c (Fset_frame_pixel_height): new function. Allow
5356 pixel-based sizing. Does the right thing on character-oriented
5358 (Fset_frame_pixel_width): ditto.
5359 (Fset_frame_pixel_size): ditto.
5360 (syms_of_frame): declare.
5362 * general-slots.h: add :vertically-justify and
5363 :horizontally-justify.
5365 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5366 (mswindows_widget_border_width): new function.
5367 (mswindows_combo_box_instantiate): set border widths.
5368 (console_type_create_glyphs_mswindows): declare.
5371 (check_valid_justification): allow vertical and horizontal
5373 (widget_border_width): new function. Call device methods.
5374 (widget_instance_border_width): ditto.
5375 (logical_unit_height): new function. Determine the height of a
5376 logical-unit. Logical units are intended to provide grid-like
5377 layout for subcontrols in a layout. If the layout is
5378 :vertically-justify top then subcontrols will be positioned on
5379 logical-unit boundaries, thus allowing adjacent subcontrols to
5381 (widget_logical_unit_height): ditto for widgets.
5382 (redisplay_widget): misc cleanup.
5383 (widget_spacing): new function. Call device specific
5384 methods. Intended to be the default gap between adjacent widgets.
5385 (widget_query_geometry): use new spacing functions to determine
5386 appropriate geometry.
5387 (initialize_widget_image_instance): initialize horizontal and
5388 vertical justification.
5389 (widget_instantiate): use logica-units where appropriate for
5390 sizing large widgets.
5391 (button_query_geometry): use widget_instance_border_width.
5392 (tree_view_query_geometry): ditto.
5393 (tab_control_query_geometry): ditto.
5394 (edit_field_query_geometry): new function.
5395 (layout_update): pick up :justify, :horizontally-justify and
5396 :vertically-justify none of which worked previously. :justify is
5397 used as a fallback for both horizontal and vertical justification.
5398 (layout_query_geometry): use logical units to size appropriately.
5399 (layout_layout): ditto.
5400 (Fwidget_logical_to_character_width): new function. Allow users to
5401 convert from logical units to characters so that frame sizes can
5402 be set appropriately.
5403 (Fwidget_logical_to_character_height): ditto.
5404 (syms_of_glyphs_widget): declare.
5405 (image_instantiator_edit_fields): add edit_field_query_geometry.
5406 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5407 :horizontally-justify.
5408 (specifier_vars_of_glyphs_widget): new function. Declare
5409 Vwidget_border_width which is not yet used.
5411 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5412 (x_widget_border_width): new function.
5413 (x_widget_instantiate): create a sensible name for widgets.
5414 (console_type_create_glyphs_x): declare x_widget_border_width.
5416 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5417 (struct Lisp_Image_Instance): add :vertically-justify and
5418 :horizontally-justify.
5419 (LAYOUT_JUSTIFY_TOP): new.
5420 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5421 (ROUND_UP): new macro. Round argument up to next integral
5424 * redisplay-output.c (redisplay_output_layout): misc formatting.
5426 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5428 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5430 * XEmacs 21.4.9 "Informed Management" is released.
5432 2002-08-19 Andy Piper <andy@xemacs.org>
5434 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5437 * realpath.c (xrealpath): normalize drive spec also so that dir
5438 sep chars are not mixed on cygwin.
5440 2002-08-06 Jerry James <james@xemacs.org>
5442 * window.c (Fsplit_window): Count only half of the divider width
5443 against the left window when splitting horizontally.
5445 2002-06-24 Andy Piper <andy@xemacs.org>
5447 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5448 toolbar was cleared.
5450 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5451 function. Split out from mswindows_output_frame_toolbars.
5452 (mswindows_output_frame_toolbars): move clear pieces to
5453 mswindows_output_frame_toolbars.
5455 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5456 out from gtk_output_frame_toolbars.
5457 (gtk_output_frame_toolbars): move clear pieces to
5458 gtk_clear_frame_toolbars.
5460 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5461 the frame is cleared. How this ever worked before is a mystery.
5462 (x_output_frame_toolbars): Only output toolbars.
5463 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5465 * gutter.c (update_gutter_geometry):
5466 Mark frame layout changed.
5467 (update_frame_gutter_geometry, update_frame_gutters):
5468 Respect frame_layout_changed.
5470 * console.h (struct console_methods): add
5471 clear_frame_toolbars_method.
5473 * redisplay.c (redisplay_frame): call
5474 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5476 * toolbar.h: declare update_frame_toolbars_geometry.
5478 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5479 out from update_frame_toolbars. Call clear_frame_toolbars.
5480 (update_frame_toolbars): only output, do not change geometry.
5482 * redisplay.c: add frame_layout_changed.
5484 * redisplay.h: add frame_layout_changed.
5485 (CLASS_RESET_CHANGED_FLAGS): set it.
5486 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5487 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5488 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5490 * device.h (struct device): add frame_layout_changed.
5491 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5493 * frame.h (struct frame): add frame_layout_changed.
5494 (MARK_FRAME_LAYOUT_CHANGED): new.
5496 2002-06-30 Mike Alexander <mta@arbortext.com>
5498 * event-msw.c (mswindows_need_event): Don't wait for a new message
5499 if the queue is not empty. Suggested by Paul Moore.
5501 2002-06-12 Andy Piper <andy@xemacs.org>
5503 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5504 for printing on accurately.
5506 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5508 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5509 WM_ACTIVATE message. Make sure that the frame is visible if the
5510 window is visible. This seemss to fix the problem where XEmacs
5511 appears to freeze after switching desktops with certain virtual
5513 (debug_output_mswin_message): Added code to output message
5514 parameters for WM_WINDOWPOSCHANGED,
5515 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5517 2002-05-25 Andy Piper <andy@xemacs.org>
5519 * select-x.c (vars_of_select_x): Fix docstring of
5520 x-selection-strict-motif-ownership
5522 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5524 * keymap.c (get_keymap):
5525 Add comment about do_autoload GCPROs own args.
5527 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5529 * bytecode.c (execute_optimized_program): check_opcode ifdef
5530 ERROR_CHECK_BYTE_CODE.
5532 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5534 Thanks to Ben Wing and Michael Sperber.
5536 * eval.c (Fcommand_execute):
5539 (Fmacroexpand_internal):
5540 (function_argcount):
5541 callint.c (Fcall_interactively):
5542 Add comment about do_autoload GCPROs own args.
5544 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5546 * eval.c (Ffuncall): Extra braces to placate GCC.
5548 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5550 * backtrace.h (grow_specpdl):
5552 * EmacsFrame.c (EmacsFrameSetValues):
5553 * eval.c (grow_specpdl):
5554 * ExternalShell.c (hack_event_masks_1):
5555 * glyphs-x.c (convert_EImage_to_XImage):
5556 (x_finalize_image_instance):
5557 * ralloc.c (page_size):
5559 * xgccache.c (gc_cache_hash):
5560 Fix unsigned comparison warnings.
5562 2002-07-29 Jerry James <james@xemacs.org>
5564 * lread.c (locate_file): Any nonnegative return value indicates
5565 success if MODE is nonnegative.
5567 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5569 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5572 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5574 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5576 * dumper.c (pdump_get_indirect_count):
5577 (pdump_scan_by_alignment):
5578 (pdump_dump_root_struct_ptrs):
5579 (pdump_dump_rtables):
5580 (pdump_dump_root_objects):
5582 * nas.c (WaveOpenDataForReading):
5583 * fns.c (print_bit_vector):
5584 * font-lock.c (SINGLE_SYNTAX_STYLE):
5585 * glyphs.c (check_for_ignored_expose):
5586 (find_matching_subwindow):
5588 * imgproc.c (get_histogram):
5589 * redisplay.c (point_in_line_start_cache):
5590 * redisplay-output.c (redisplay_unmap_subwindows):
5591 * symbols.c (defsymbol_massage_name_1):
5592 (defkeyword_massage_name):
5593 (deferror_massage_name_and_message):
5594 * redisplay-x.c (x_output_string):
5595 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5596 * frame.h (struct frame):
5597 * filelock.c (current_lock_owner):
5598 * doprnt.c (emacs_doprnt_1):
5599 * lisp.h (struct Lisp_Bit_Vector):
5603 2002-02-13 Ben Wing <ben@xemacs.org>
5605 * event-stream.c (reset_key_echo):
5606 * event-stream.c (reset_this_command_keys):
5607 * event-stream.c (execute_command_event):
5608 If console is dead as a result of C-x 5 0, then post-command stuff
5609 needs to be careful and do only non-console-specific stuff.
5611 2002-07-01 Mike Sperber <mike@xemacs.org>
5613 * process-unix.c (unix_send_process): Mark coding_outstream as
5614 non-open upon SIGPIPE.
5616 * event-stream.c (Fnext_event): Reorder switch cases to something
5619 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5621 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5622 Don't bogusly reinitialize ascii_character property.
5624 2002-07-08 Mike Sperber <mike@xemacs.org>
5626 * process.c (Fstart_process_internal): Do error checking before we
5627 fork off the child, so the child can't muck with the state of the
5630 2002-07-08 Mike Sperber <mike@xemacs.org>
5632 * ralloc.c (init_ralloc): Allocate properly for pdump.
5634 2002-06-12 Andy Piper <andy@xemacs.org>
5636 * glyphs.c (query_string_geometry): check the string.
5638 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5641 2002-06-17 Jerry James <james@xemacs.org>
5643 * sysdll.c: Remove RTLD_GLOBAL initialization.
5644 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5646 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5648 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5650 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5652 * sysdep.c (sys_rename): Make sys_rename work for the case where
5653 Windows rename sets errno to EACCES if target file exists.
5655 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5657 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5658 Fix detection of metric units to work on Win95
5660 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5662 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5664 2002-04-25 Andy Piper <andy@xemacs.org>
5666 * redisplay.c (create_text_block): Remove extra comment trailer.
5668 2002-04-24 Andy Piper <andy@xemacs.org>
5670 * redisplay.c (create_text_block): Don't actually add propagation
5671 data if the line ends after we have added a glyph.
5673 2002-04-22 Andy Piper <andy@xemacs.org>
5675 * extents.c (extent_fragment_update): check for glyphs we have
5676 previously displayed.
5677 * extents.c (print_extent_1): warning removal.
5678 * extents.h: change prototype.
5679 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5680 widths correctly for wide glyphs.
5681 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5682 * redisplay.c (prop_type): add PROP_GLYPH.
5683 * redisplay.c (struct prop_block): add glyph type
5684 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5685 to the propagation data.
5686 * redisplay.c (create_text_block): if there is a glyph in the
5687 propagation data use it to salt extent_fragment_update.
5688 * redisplay.c (create_string_text_block): ditto.
5690 2002-04-13 Nix <nix@esperi.demon.co.uk>
5692 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5693 * redisplay-output.c (compare_runes): Compare them.
5694 * redisplay.c: Update copyright date.
5695 * redisplay.c (pos_data): Add need_baseline_computation field.
5696 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5697 need_baseline_computation; zero yoffset. Set max_pixmap_height
5698 for all pixmaps, not just automatically positioned ones.
5699 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5700 * redisplay.c (calculate_baseline): New, compute textual baseline.
5701 * redisplay.c (add_glyph_rune): Call them.
5702 * redisplay.c (create_text_block): Likewise.
5703 * redisplay.c (create_overlay_glyph_block): Likewise.
5704 * redisplay.c (add_margin_runes): Likewise.
5705 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5707 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5708 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5709 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5710 * redisplay-msw.c (mswindows_output_string): Likewise.
5711 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5712 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5713 * redisplay-x.c (x_output_display_block): Likewise.
5715 2002-03-28 Ben Wing <ben@xemacs.org>
5717 * redisplay.c: Fixed bug in redisplay
5718 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5719 and down of the lines, since they're bigger than the line
5720 size. (It was seen most obviously when there's a horizontal scroll
5721 bar, e.g. do C-h a glyph or something like that.) The problem was
5722 that the glyph-contrib-p setting on glyphs was ignored even if it
5723 was set properly, which it wasn't until now.
5725 2002-04-24 Andy Piper <andy@xemacs.org>
5727 * lisp.h (Dynarr_end): Fix definition.
5729 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5731 * redisplay.c (mark_redisplay): Remove call to
5732 update_frame_window_mirror.
5734 2001-11-15 Andy Piper <andy@xemacs.org>
5736 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5739 2002-02-13 Andy Piper <andy@xemacs.org>
5741 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5742 we did in fact enqueue the XM_MAPFRAME event.
5744 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5746 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5747 to fix problem switching between virtual desktops under virtuawin
5748 virtual window manager.
5750 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5752 * event-msw.c: Typo fix.
5753 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5754 magic XM_MAPFRAME event has been sent.
5756 2001-11-23 Andy Piper <andy@xemacs.org>
5758 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5760 2001-11-21 Andy Piper <andy@xemacs.org>
5762 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5763 mouse events outside the frame.
5765 2002-03-20 Andy Piper <andy@xemacs.org>
5767 * menubar-msw.c (mswindows_popup_menu): warning removal.
5768 * dialog-msw.c (dialog_popped_down): ditto.
5770 2001-12-11 Andy Piper <andy@xemacs.org>
5772 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5773 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5775 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5776 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5777 * menubar-msw.c (mswindows_popup_menu): ditto.
5779 2001-10-29 Andy Piper <andy@xemacs.org>
5781 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5784 2002-01-03 Andy Piper <andy@xemacs.org>
5786 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5790 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
5792 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
5793 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
5794 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5795 Detect and handle case where machine is set up for metric units
5797 2002-04-02 Andy Piper <andy@xemacs.org>
5799 * dired-msw.c (mswindows_get_files):
5800 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
5801 completely handled by XEmacs. Suggested by Thomas Vogler
5802 <mail@thomas-vogler.de>.
5804 2001-11-14 Andy Piper <andy@xemacs.org>
5806 * nt.c (REG_ROOT): change registry key to XEmacs.
5808 2002-04-27 Andy Piper <andy@xemacs.org>
5810 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
5812 2002-04-26 Andy Piper <andy@xemacs.org>
5814 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
5817 2002-03-14 Mike Alexander <mta@arbortext.com>
5819 * event-msw.c (mswindows_unwait_process): New, remove process from
5821 * process-nt.c (nt_finalize_process_data): Call
5822 mswindows_unwait_process
5823 * console-msw.h: Declare mswindows_unwait_process
5825 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
5827 * editfns.c (Fdecode_time):
5828 (Fformat_time_string):
5829 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
5830 (make_time): Warning elimination (change arg name).
5832 2001-11-24 Andy Piper <andy@xemacs.org>
5834 * window.c (Fsplit_window): Doc return type.
5836 2002-04-01 Andy Piper <andy@xemacs.org>
5838 * emacs.c (Fkill_emacs): Only output message box in interactive
5841 2002-04-26 Andy Piper <andy@xemacs.org>
5843 * config.h.in: pull in 21.5.x change to stop alloca warnings under
5846 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
5848 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
5851 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
5853 * XEmacs 21.4.8 "Honest Recruiter" is released.
5855 2002-05-07 Nix <nix@esperi.demon.co.uk>
5857 Supersedes 2002-04-17 patch.
5859 * process.h (PROCESS_LIVE_P): Use the process status as
5860 evidence of health, not the state of the input stream.
5861 (PROCESS_READABLE_P): Say if the process is readable
5862 from. (It may be dead nonetheless.)
5863 (CHECK_READABLE_PROCESS): Test for that condition.
5865 * process.c (create_process): Use PROCESS_READABLE_P.
5866 (read_process_output, set_process_filter): Likewise.
5868 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
5869 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
5871 This code is #if 0'd, this is not the time to add new functions:
5873 * process.c (Fprocess_readable_p): Report readability status.
5874 * process.c (Qprocess_readable_p): New, associated symbol...
5875 * process.c (syms_of_process): ... initialize it.
5877 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
5879 * XEmacs 21.4.7 "Economic Science" is released.
5881 2002-04-17 Nix <nix@esperi.demon.co.uk>
5883 * process.h (PROCESS_LIVE_P): Use the process status as
5884 evidence of health, not the state of the input stream.
5886 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
5888 * sysdep.c (sys_siglist): change "signum" to "signal"
5890 2001-04-21 Martin Buchholz <martin@xemacs.org>
5892 * s/darwin.h: New file.
5893 Thanks to Greg Parker <gparker@cs.stanford.edu>.
5895 2002-04-23 Andreas Jaeger <aj@suse.de>
5897 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
5898 which use lib64 for 64-bit libs.
5899 (START_FILES): Likewise.
5901 2002-02-11 Mike Sperber <mike@xemacs.org>
5904 (x_IO_error_handler):
5905 (x_init_device): Temporarily keep device in static variable
5906 `device_being_initialized' so we can recover gracefully from
5907 internal XOpenDevice failure. (XOpenDevice is documented to
5908 return NULL on failure, but sometimes calls the IO error handler
5911 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
5913 * dired.c (Ffile_name_all_completions): Change documentation --
5914 remove reference to completion-ignored-extensions.
5915 * dired.c (vars_of_dired): Change documentation for
5916 completion-ignored-extensions -- remove reference to
5917 file-name-all-completions.
5919 2002-03-06 Jerry James <james@xemacs.org>
5921 * emodules.c (emodules_load): Fix multiple loading of same module.
5923 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
5924 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
5925 RTLD_LAZY to avoid incorrect symbol binding when using nested
5926 shared libraries on Solaris.
5928 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
5930 * fileio.c (Ffind_file_name_handler): Improve docstring.
5932 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
5934 * fns.c (Fmapconcat): Improve docstring.
5936 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
5938 * device-gtk.c: Add prototype for
5939 emacs_gtk_selection_clear_event_handle.
5940 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
5941 selection. Setup signal handler for "selection_clear_event"
5942 (emacs_gtk_selection_clear_event_handle).
5944 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
5945 other applications owning the clipboard (based on
5946 x_handle_selection_clear).
5948 2001-12-23 William M. Perry <wmperry@gnu.org>
5950 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
5952 2002-01-04 Martin Buchholz <martin@xemacs.org>
5954 * keymap.c (define_key_alternate_name): Parenthesize EQ.
5956 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
5958 * XEmacs 21.4.6 "Common Lisp" is released.
5960 2001-12-16 Torsten Duwe <duwe@caldera.de>
5962 * search.c (Freplace_match): Add missing sub-expression functionality.
5964 * buffer.c (decode_buffer): Add a check for pointer type to
5965 decode_buffer, before gcc's CSE optimization reorders a
5966 dereference in front of the allow_string test.
5968 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
5970 * window.c (window_loop): Fix bug that sometimes prevented
5971 window_loop() from iterating across multiple devices. Also, at
5972 Ben's request, changed infloop-detecting code to abort() instead
5973 of silently terminating window_loop().
5975 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
5977 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
5978 * editfns.c (make_time): New function.
5979 (Fencode_time): Use it instead of wasteful_word_to_lisp.
5980 * lisp.h (make_time): Prototype and comment it.
5981 * dired.c (wasteful_word_to_lisp): Deprecate.
5982 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
5984 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
5986 * fileio.c (auto_save_1): Use current coding system, not
5989 2001-11-13 Ben Wing <ben@xemacs.org>
5992 * window.c (window_truncation_on):
5993 * window.c (syms_of_window):
5994 truncate-partial-width-windows should respect the buffer being
5995 displayed, like other redisplay vars.
5997 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
5999 * event-stream.c (Fread_key_sequence): save current buffer.
6001 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6003 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6005 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6007 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6009 2001-10-26 Mike Alexander <mta@arbortext.com>
6011 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6013 2001-10-25 Andy Piper <andy@xemacs.org>
6016 * dialog-msw.c (handle_directory_proc): new function.
6017 (handle_directory_dialog_box): new fucntion.
6018 (handle_file_dialog_box): use new directory dialog support.
6019 (mswindows_make_dialog_box_internal): ditto.
6020 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6022 (mswindows_find_frame): make global.
6023 * fileio.c (Fexpand_file_name): build fix.
6024 * general-slots.h: add Qdirectory.
6025 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6027 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6028 cygwin not leaving win32 paths unchanged.
6029 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6030 cygwin runtime to do path conversion.
6031 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6032 (syms_of_win32): add new function.
6033 * window.c (window_loop): build fix.
6035 2001-10-15 Andy Piper <andy@xemacs.org>
6037 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6039 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6041 * XEmacs 21.4.5 "Civil Service" is released.
6043 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6045 * glyphs-x.c: Force buffer-tab highlight update when moving the
6046 buffer, avoiding an ugly black border, used for keyboard focus
6047 indication, on a widget that can never have keyboard focus, the
6050 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6052 * process-unix.c (unix_open_multicast_group): Remove too much
6053 conversion between host and network byte order.
6055 2001-09-10 Nix <nix@esperi.demon.co.uk>
6057 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6058 before replacing them.
6060 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6063 * src/window.c (undedicate_windows): Use it.
6064 * src/window.h: Add prototype.
6066 2001-09-17 Ben Wing <ben@xemacs.org>
6068 * fileio.c (normalize_filename):
6069 * fileio.c (Fexpand_file_name):
6070 Fix various C++ compile errors in Andy's recent code.
6072 * callint.c (Fcall_interactively):
6073 * editfns.c (Ftemp_directory):
6074 * editfns.c (Fuser_full_name):
6075 * emacs.c (argmatch):
6076 * lread.c (locate_file_map_suffixes):
6077 * redisplay-x.c (x_ring_bell):
6078 Fix sign-compare warnings.
6080 2001-09-08 Andy Piper <andy@xemacs.org>
6082 * fileio.c (normalize_filename): copied from nt.c
6083 * (Ffile_name_directory): enable win32 paths under cygwin.
6084 * (Ffile_name_nondirectory): ditto.
6085 * (directory_file_name): ditto.
6086 * (Fexpand_file_name): ditto.
6087 * (Ffile_truename): ditto.
6088 * (Fsubstitute_in_file_name): ditto.
6089 * (Ffile_name_absolute_p): ditto.
6090 * (Ffile_readable_p): ditto.
6092 2001-09-08 Andy Piper <andy@xemacs.org>
6094 * device-msw.c (mswindows_finish_init_device): remove dde
6096 * device-msw.c (mswindows_init_dde): factor out from
6097 mswindows_finish_init_device()
6098 * device-msw.c (init_mswindows_very_early): new function
6099 initialize but don't enable dde.
6100 * emacs.c (main_1): call init_mswindows_very_early.
6102 * event-msw.c (mswindows_dde_callback): only execute when we are
6104 * symsinit.h: declare init_mswindows_very_early.
6106 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6108 [sjt: This has been in 21.5 for months with no complaints.]
6110 * console.h (struct console_methods): Added flags member.
6111 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6112 (CONMETH_IMPL_FLAG):
6113 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6114 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6116 * device.c (window_system_pixelated_geometry): Use the above macros.
6118 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6119 implememntation flag.
6120 * device.h (DEVICE_DISPLAY_P): Use it.
6122 * frame.c (delete_frame_internal): Use the above macro.
6124 * redisplay.c (redisplay_device): Use it.
6125 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6126 (redisplay_frame): Ditto.
6128 * device-msw.c (mswindows_device_implementation_flags): Removed.
6129 (msprinter_device_implementation_flags): Removed.
6130 (console_type_create_device_mswindows): Removed references to
6131 implementation_flags methods, set implementation flags here.
6132 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6134 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6135 (console_type_create_device_gtk): Removed method declaration.
6136 Added commented out statement which semantically matches the
6137 commented out statement in the above removed method.
6139 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6141 The attached patch fixes a few warnings.
6143 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6144 * src/frame-gtk.c: guard against GNOME calls in GTK only
6145 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6146 * src/select-gtk.c: prototype lisp_to_time
6148 2001-06-08 Ben Wing <ben@xemacs.org>
6150 ------ gc-in-window-procedure fixes ------
6153 * alloc.c (struct post_gc_action):
6154 * alloc.c (register_post_gc_action):
6155 * alloc.c (run_post_gc_actions):
6156 * alloc.c (garbage_collect_1):
6157 Create "post-gc actions", to avoid those dreaded "GC during window
6158 procedure" problems.
6161 Abort, clean and simple, when GC in window procedure. We want
6162 to flush these puppies out.
6165 * glyphs-msw.c (finalize_destroy_window):
6166 * glyphs-msw.c (mswindows_finalize_image_instance):
6167 Use a post-gc action when destroying subwindows.
6170 Declare register_post_gc_action().
6173 * scrollbar-msw.c (unshow_that_mofo):
6174 Use a post-gc action when unshowing scrollbar windows, if in gc.
6176 * redisplay.c (mark_redisplay):
6177 Add comment about the utter evilness of what's going down here.
6179 ------ cygwin setitimer fixes ------
6181 * Makefile.in.in (sheap_objs):
6182 * Makefile.in.in (profile_objs):
6183 * Makefile.in.in (objs):
6184 Compile profile.c only when HAVE_SETITIMER.
6186 * nt.c (mswindows_sigset):
6187 * nt.c (mswindows_sighold):
6188 * nt.c (mswindows_sigrelse):
6189 * nt.c (mswindows_sigpause):
6190 * nt.c (mswindows_raise):
6191 * nt.c (close_file_data):
6195 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6198 * profile.c (Fstart_profiling):
6199 * profile.c (Fstop_profiling):
6200 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6201 instead of just plain setitimer().
6204 * signal.c (set_one_shot_timer):
6206 Define qxe_setitimer() as an encapsulation around setitimer() --
6207 call setitimer() directly unless Cygwin or MS Win, in which case
6208 we use our simulated version in win32.c.
6211 * systime.h (struct itimerval):
6212 * systime.h (ITIMER_REAL):
6213 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6214 comment about "qxe" and the policy regarding encapsulation.
6217 * win32.c (setitimer_helper_proc):
6218 * win32.c (setitimer_helper_period):
6219 * win32.c (setitimer_helper):
6220 * win32.c (mswindows_setitimer):
6221 Move setitimer() emulation here, so Cygwin can use it.
6222 Rename a couple of functions and variables to be longer and more
6223 descriptive. In setitimer_helper_proc(), send the signal
6224 using either mswindows_raise() or (on Cygwin) kill(). If for
6225 some reason we are still getting lockups, we'll change the kill()
6226 to directly invoke the signal handlers.
6228 ------ windows shell fixes ------
6232 Comments about how these two files must die.
6234 * callproc.c (init_callproc):
6235 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6236 not just COMSPEC. (more correct and closer to FSF.) Don't
6237 force a value for SHELL into the environment. (Comments added
6238 to explain why not.)
6240 * nt.c (init_user_info):
6241 Don't shove a fabricated SHELL into the environment. See above.
6243 2001-06-01 Ben Wing <ben@xemacs.org>
6245 * Makefile.in.in (ldflags):
6246 eliminate that pesky "defaulting to 00401000" warning.
6250 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6252 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6253 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6255 2001-04-24 Jerry James <james@xemacs.org>
6257 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6260 2001-06-01 Ben Wing <ben@xemacs.org>
6262 * event-msw.c (debug_mswin_messages):
6263 conditionalize the messages that were causing compile errors.
6264 (if only macros could generate #ifdef statements ...)
6266 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6268 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6270 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6272 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6274 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6276 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6277 * process-unix.c (unix_canonicalize_host_name):
6278 sysdep.c (init_system_name):
6279 Use it to conditionally support IPv6 canonicalization.
6281 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6284 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6286 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6288 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6289 attempt is made to scroll when no scroll bar is available.
6291 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6293 * input-method-motif.c (XIM_delete_frame): New callback.
6294 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6295 got deleted from 21.4.3.)
6297 2001-06-01 Ben Wing <ben@xemacs.org>
6299 * nt.c (mswindows_utime):
6300 * nt.c (close_file_data):
6301 fix off-by-one-indirection error.
6303 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6305 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6306 because set_file_times() now takes Lisp_Object path, instead of
6308 * nt.c: Include buffer.h.
6309 * nt.c (convert_from_time_t): New.
6310 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6311 not set mtime correctly.
6312 * nt.h: Declare mswindows_utime().
6313 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6314 path, instead of char*.
6315 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6317 2001-05-30 Ben Wing <ben@xemacs.org>
6321 (Stephen, just take all event-msw.c patches. This includes
6322 the "iconify" fix below.)
6325 * event-msw.c (mswindows_dequeue_dispatch_event):
6326 * event-msw.c (assert):
6327 * event-msw.c (emacs_mswindows_quit_p):
6328 * event-msw.c (debug_mswin_messages):
6329 * event-msw.c (debug_output_mswin_message):
6330 * event-msw.c (vars_of_event_mswindows):
6331 Fix yet more problems with C-g handling.
6332 Implement debug-mswindows-events.
6334 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6336 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6338 2001-05-23 Ben Wing <ben@xemacs.org>
6340 * event-msw.c (winsock_writer):
6341 * event-msw.c (winsock_closer):
6342 prior kludgy code was clobbering the buffer, thinking it was
6343 "unused" space to store an unneeded return value; instead, use
6344 the variable we've already got staring us in the face.
6346 2001-05-17 Andy Piper <andy@xemacs.org>
6348 * sysfile.h: don't assume that file attributes are boolean
6350 2001-05-23 Ben Wing <ben@xemacs.org>
6352 * device-msw.c (msprinter_init_device):
6353 signal an error rather than crash with an unavailable network
6354 printer (from Mike Alexander).
6357 * event-msw.c (struct winsock_stream):
6358 * event-msw.c (winsock_writer):
6359 * event-msw.c (winsock_closer):
6360 * event-msw.c (make_winsock_stream_1):
6361 cleanup headers. fix (hopefully) an error with data corruption
6362 when sending to a network connection.
6364 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6365 to handle the ~user prefix by (a) always assuming we're referencing
6366 ourselves and not even verifying the user -- hence any file with
6367 a tilde as its first char is invalid! (b) if there wasn't a slash
6368 following the filename, the pointer was set *past* the end of
6369 file and we started reading from uninitialized memory. Now we
6370 simply treat these as files, always.
6372 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6374 2001-05-19 Ben Wing <ben@xemacs.org>
6376 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6379 * process-nt.c (vars_of_process_nt):
6380 remove unused mswindows-quote-process-args. rec for 21.4.
6382 2001-05-12 Ben Wing <ben@xemacs.org>
6384 * event-msw.c (mswindows_dde_callback):
6385 * event-msw.c (mswindows_wnd_proc):
6386 eliminate cygwin warnings.
6388 2001-05-06 Ben Wing <ben@xemacs.org>
6392 * device-msw.c (print_dialog_worker):
6393 * device-msw.c (mswindows_handle_print_dialog_box):
6394 * device-msw.c (syms_of_device_mswindows):
6395 * dialog-msw.c (mswindows_make_dialog_box_internal):
6397 implement printing the selection when it's selected.
6399 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6401 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6403 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6405 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6406 EMACS_INT is signed.
6408 2001-04-15 Michael Lausch <mla@1012surf.net>
6410 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6411 gtk_widget_request_size() to give scrollbar >0 width for
6414 2001-05-30 William M. Perry <wmperry@gnu.org>
6416 * event-gtk.c: Check for buttons as modifier keys.
6418 2001-05-25 Craig Lanning <CraigL@Knology.net>
6421 Properly find MinGW's <process.h> inside Cygwin's restructured
6422 include directories. Don't try to include <cygwin/version.h>
6423 since we are dropping support for MinGW in versions of Cygwin
6426 Drop support for MinGW in versions of Cygwin before b21.
6428 Properly find MinGW's <process.h> inside Cygwin's restructured
6429 include directories.
6431 Drop support for MinGW in versions of Cygwin before b21.
6433 Even though a.out.h is no longer detected by configure, allow
6434 MinGW to use it until we figure out how to do the job with Win32.
6436 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6438 * syntax.c (find_start_of_comment):
6439 Fix `unbalanced parentheses' bug when dealing with mixed comment
6440 styles in c++/java/etc. mode
6442 2001-05-29 Mike Alexander <mta@arbortext.com>
6444 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6445 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6447 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6449 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6451 2001-03-31 Mike Sperber <mike@xemacs.org>
6453 * search.c (Freplace_match): Support FSF-style specification of
6454 match subexpression when applied to a buffer.
6456 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6458 * event-stream.c (is_scrollbar_event): add missing semicolon
6460 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6462 * Makefile.in.in: Use TAR macro instead of hardcoding
6463 tar. Allows use of GNU tar instead of system tar
6465 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6467 * event-stream.c (is_scrollbar_event): add missing semicolon
6469 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6471 * XEmacs 21.4.3 "Academic Rigor" is released.
6473 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6475 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6477 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6479 * buffer.c (Vcase_fold_search): Remove obsolete
6480 comment about non ASCII case-fold-search. This
6481 bug has been fixed by case-table changes.
6483 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6485 * event-msw.c: Restore include of events-mod.h.
6487 2001-04-22 zhaoway <zw@debian.org>
6489 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6492 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6494 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6496 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6498 * mule-charset.c (Fmake_charset): Add missing else.
6500 2001-04-23 Ben Wing <ben@xemacs.org>
6502 * event-msw.c (FAKE_MOD_QUIT):
6503 * event-msw.c (mswindows_dequeue_dispatch_event):
6504 * event-msw.c (mswindows_wnd_proc):
6505 * event-msw.c (emacs_mswindows_quit_p):
6506 Get critical quit working.
6508 2001-05-05 Ben Wing <ben@xemacs.org>
6512 * device-msw.c (mswindows_get_default_margin):
6513 * frame-msw.c (mswindows_size_frame_internal):
6514 * frame-msw.c (msprinter_init_frame_1):
6515 * frame-msw.c (vars_of_frame_mswindows):
6516 Change top/bottom margin defaults to 0.5 inches.
6518 2001-05-01 Martin Buchholz <martin@xemacs.org>
6520 Fix link error with gcc 3.0 on Linux.
6521 * terminfo.c (UP): Remove.
6522 * terminfo.c (BC): Remove.
6523 * terminfo.c (PC): Remove.
6524 They weren't used, and in any case, these symbols should be
6525 defined in the *library*.
6527 2001-05-03 Martin Buchholz <martin@xemacs.org>
6529 * s/aix4.h: Fix crash with xlc -O3.
6530 Improve comment explaining how -O3 works.
6532 2001-04-15 Ben Wing <ben@xemacs.org>
6535 * event-stream.c (Fnext_event):
6536 * event-stream.c (is_scrollbar_event):
6537 * event-stream.c (execute_command_event):
6538 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6539 crash' problem. His fix introduces other problems. We filter
6540 out scrollbar events specifically, making them somewhat invisible
6541 to command-building, and not appearing in `this-command-keys'.
6542 More work is still needed (see comments in event-stream.c), but
6543 this fixes all the major problems.
6545 2001-04-20 Ben Wing <ben@xemacs.org>
6547 * .cvsignore: Added stuff for Windows.
6549 2001-04-28 Ben Wing <ben@xemacs.org>
6551 * buffer.c (Ferase_buffer):
6552 * editfns.c (buffer_insert1):
6553 * editfns.c (Finsert_before_markers):
6554 * editfns.c (Finsert_string):
6555 * editfns.c (Finsert_char):
6556 * editfns.c (Fdelete_region):
6557 * editfns.c (Fwiden):
6558 * editfns.c (Fnarrow_to_region):
6559 remove bogus lines setting zmacs_region_stays to 0.
6561 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6563 * process-unix.c (unix_open_network_stream): If connect() fails
6564 invalidate file descriptor after closing it.
6566 2001-03-08 Mike Alexander <mta@arbortext.com>
6568 * event-msw.c (mswindows_need_event_in_modal_loop):
6569 Don't dispatch a message if we didn't get one.
6570 (mswindows_need_event):
6571 Terminate the correct process when one exits instead of the first
6572 one on Vprocess_list and look for process termination when in
6573 mswindows_protect_modal_loop.
6575 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6577 * XEmacs 21.4.1 "Copyleft" is released.
6579 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6581 * input-method-motif.c (XIM_delete_frame): New callback.
6582 (XIM_init_frame): Register it.
6584 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6586 * XEmacs 21.4.0 "Solid Vapor" is released.
6588 2001-04-15 Ben Wing <ben@xemacs.org>
6590 * cmdloop.c (call_command_loop):
6591 Fix braino in bit-rotting code.
6593 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6595 * extents.c (Fset_extent_endpoints): Force creation of extent info
6596 in buffer_or_string.
6598 * extents.c (process_extents_for_insertion_mapper): Correctly
6599 check for open-open zero-length extents.
6601 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6603 * lisp.h: New typedefs Memory_count, Element_count.
6606 Sign-compare warning elimination: several unsigned -> signed.
6607 Based on work by Ben Wing <ben@xemacs.org>.
6609 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6611 * XEmacs 21.2.47 "Zephir" is released.
6613 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6615 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6617 2001-04-03 Mike Sperber <mike@xemacs.org>
6619 * search.c: Revert previous patch due because of release.
6621 2001-03-30 Ben Wing <ben@xemacs.org>
6624 Add missing killpg prototype.
6627 Add a comment about fixing problems when a new entry is added
6630 * frame-msw.c (mswindows_init_frame_1):
6631 Fix compile warnings.
6633 * menubar.c (vars_of_menubar):
6634 Provide `menu-accelerator-support' to indicate that we properly
6635 support %_ in menu specifications, so that package code can
6636 conditionalize on this (and remove %_ from menu specifications
6641 * scrollbar-msw.c (can_scroll):
6643 Fix handling of mouse wheel under Windows to follow standards --
6644 now scrolls window under pointer, not selected window.
6646 2001-03-31 Mike Sperber <mike@xemacs.org>
6648 * search.c (Freplace_match): Support FSF-style specification of
6649 match subexpression when applied to a buffer.
6651 2001-03-15 Martin Buchholz <martin@xemacs.org>
6653 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6654 function to modify KEYMAP, so map over a copy of the hash table.
6656 2001-03-21 Martin Buchholz <martin@xemacs.org>
6658 * XEmacs 21.2.46 "Urania" is released.
6660 2001-03-20 Dan Holmsand <dan@eyebee.com>
6662 * realpath.c (xrealpath): Make file-truename work with symlinks to
6663 /cygdrive paths on cygwin. Always lowercase drive-letters on
6665 (cygwin_readlink): Don't try to find canonical filename unless
6668 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6670 * ChangeLog: Log GTK merge.
6676 Revert gratuitous whitespace changes from GTK merge.
6678 * emacs.c: Document end of complex #ifdef @ l. 1495.
6681 2001-03-12 Andy Piper <andy@xemacs.org>
6683 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6684 have to do likewise.
6686 2001-03-12 Andy Piper <andy@xemacs.org>
6688 * sysdep.c: we only support mingw now.
6690 2001-03-09 Andy Piper <andy@xemacs.org>
6692 * unexcw.c (copy_executable_and_dump_data_section): making approx
6693 overrun a warning only.
6695 2001-03-10 William M. Perry <wmperry@aventail.com>
6697 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6698 satisfy Stephen's identical-after-cpp plea.
6700 2001-03-02 Ben Wing <ben@xemacs.org>
6703 * cmds.c (Fforward_char):
6707 Augment documentation of the most common motion commands to make
6708 note of the shifted-motion support.
6710 2001-03-02 Ben Wing <ben@xemacs.org>
6712 * nt.c (mswindows_fstat):
6713 * nt.c (mswindows_stat):
6714 * search.c (boyer_moore):
6715 Fix compile warnings under Windows.
6717 * sysdep.c (sys_readdir):
6718 Fix buggy filename-conversion code under Mule.
6720 2001-03-09 William M. Perry <wmperry@aventail.com>
6742 * redisplay-output.c:
6748 The Great GTK Merge.
6755 * emacs-widget-accessors.c:
6769 * native-gtk-toolbar.c:
6780 The Great GTK Merge: new files.
6782 2001-02-26 Ben Wing <ben@xemacs.org>
6784 Reapplied Lstream change.
6786 2001-02-26 Ben Wing <ben@xemacs.org>
6788 Undid the last change, since it is more controversial than I
6789 thought. It should be back in at some point soon.
6791 2001-02-25 Ben Wing <ben@xemacs.org>
6794 * callproc.c (Fold_call_process_internal):
6795 * event-msw.c (ntpipe_slurp_reader):
6796 * event-msw.c (ntpipe_shove_writer):
6797 * event-msw.c (winsock_reader):
6798 * event-msw.c (winsock_writer):
6800 * file-coding.c (detect_eol_type):
6801 * file-coding.c (detect_coding_type):
6802 * file-coding.c (determine_real_coding_system):
6803 * file-coding.c (Fdetect_coding_region):
6804 * file-coding.c (decoding_reader):
6805 * file-coding.c (decoding_writer):
6806 * file-coding.c (mule_decode):
6807 * file-coding.c (Fdecode_coding_region):
6808 * file-coding.c (encoding_reader):
6809 * file-coding.c (encoding_writer):
6810 * file-coding.c (mule_encode):
6811 * file-coding.c (Fencode_coding_region):
6812 * file-coding.c (detect_coding_sjis):
6813 * file-coding.c (decode_coding_sjis):
6814 * file-coding.c (encode_coding_sjis):
6815 * file-coding.c (detect_coding_big5):
6816 * file-coding.c (decode_coding_big5):
6817 * file-coding.c (encode_coding_big5):
6818 * file-coding.c (detect_coding_ucs4):
6819 * file-coding.c (decode_coding_ucs4):
6820 * file-coding.c (encode_coding_ucs4):
6821 * file-coding.c (detect_coding_utf8):
6822 * file-coding.c (decode_coding_utf8):
6823 * file-coding.c (encode_coding_utf8):
6824 * file-coding.c (detect_coding_iso2022):
6825 * file-coding.c (decode_coding_iso2022):
6826 * file-coding.c (encode_coding_iso2022):
6827 * file-coding.c (decode_coding_no_conversion):
6828 * file-coding.c (encode_coding_no_conversion):
6829 * glyphs-x.c (write_lisp_string_to_temp_file):
6830 * gpmevent.c (tty_get_foreign_selection):
6833 * lstream.c (Lstream_flush_out):
6834 * lstream.c (Lstream_adding):
6835 * lstream.c (Lstream_write_1):
6836 * lstream.c (Lstream_write):
6837 * lstream.c (Lstream_raw_read):
6838 * lstream.c (Lstream_read_more):
6839 * lstream.c (Lstream_read):
6840 * lstream.c (Lstream_unread):
6841 * lstream.c (Lstream_fputc):
6842 * lstream.c (stdio_reader):
6843 * lstream.c (stdio_writer):
6844 * lstream.c (filedesc_reader):
6845 * lstream.c (filedesc_writer):
6846 * lstream.c (lisp_string_reader):
6847 * lstream.c (struct fixed_buffer_stream):
6848 * lstream.c (make_fixed_buffer_input_stream):
6849 * lstream.c (make_fixed_buffer_output_stream):
6850 * lstream.c (fixed_buffer_reader):
6851 * lstream.c (fixed_buffer_writer):
6852 * lstream.c (struct resizing_buffer_stream):
6853 * lstream.c (resizing_buffer_writer):
6854 * lstream.c (dynarr_writer):
6855 * lstream.c (lisp_buffer_reader):
6856 * lstream.c (lisp_buffer_writer):
6858 * lstream.h (lstream_implementation):
6859 * lstream.h (struct lstream):
6861 * process-nt.c (nt_send_process):
6862 * process-unix.c (unix_send_process):
6864 Correct Lstream lossage due to mixing of signed and unsigned
6865 quantities. All Lstream uses of size_t and ssize_t are now a
6866 single signed data type Lstream_data_count. This fixes problems
6867 under Windows with sending large quantities of data to a process,
6868 and may well fix other subtle bugs.
6870 2001-02-23 Martin Buchholz <martin@xemacs.org>
6872 * XEmacs 21.2.45 "Thelxepeia" is released.
6874 2001-02-21 Martin Buchholz <martin@xemacs.org>
6876 * lisp-union.h (XSETINT):
6879 Reverse previous change of 2001-02-06.
6881 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
6883 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
6885 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6886 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
6887 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
6888 * regex.c (POS_AS_IN_BUFFER): removed
6889 * regex.c (re_search_2):
6890 * regex.c (re_match_2):
6891 Don't use an offset of 1 when calculating buffer positions, since
6892 `BI_BUF_BEGV' does it already.
6894 2001-02-18 Wim Dumon <wim@easics.be>
6896 * insdel.c (prepare_to_modify_buffer): Also check for
6897 supersession when clash-detection is enabled.
6899 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
6901 * regex.c (re_match_2_internal):
6902 Convert temp characters from 'const unsigned char' to 're_char'.
6903 Fix crashing bug with extended characters under mule.
6904 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
6905 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
6906 font-lock, pdump, and new syntax-table code.
6907 * syntax.c (find_start_of_comment):
6908 (find_end_of_comment):
6910 Fix crashing bugs involving moving beyond end of buffer.
6911 * syntax.c (find_start_of_comment):
6912 Fixed logic to allow proper detection of cases where the same
6913 character is used to end both a two-char comment start and a
6914 two-char comment end sequence. Fixes `(forward-comment -1)'.
6915 * syntax.c (find_start_of_comment):
6916 Return position just past last comment-end character for all cases
6917 (previously was only done for two-char comment-end sequences).
6918 * syntax.c (forward-comment):
6919 Take value returned from `find_end_of_comment', rather than
6921 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
6922 Properly deal with BUFFERP (syntax_cache.object)
6924 2001-02-17 Martin Buchholz <martin@xemacs.org>
6926 * alloc.c (Fgarbage_collect):
6927 * alloc.c (make_bit_vector_from_byte_vector):
6928 -Wsign-compare-correctness.
6930 2001-02-16 Martin Buchholz <martin@xemacs.org>
6932 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
6933 (XSETCHAR): Likewise.
6934 (XSETOBJ): Likewise.
6936 2001-02-15 Martin Buchholz <martin@xemacs.org>
6938 * mule-canna.c (canna-func-delete_previous):
6939 Rename to canna-func-delete-previous.
6941 2001-02-14 Martin Buchholz <martin@xemacs.org>
6943 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
6945 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
6947 * font-lock.c (find_context): Fix C++ compile errors introduced by
6950 2001-02-13 Martin Buchholz <martin@xemacs.org>
6952 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
6953 pragma, but earlier ones barf on the same pragma.
6955 2001-02-06 Mike Sperber <mike@xemacs.org>
6957 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
6958 `configure-mule-lisp-directory'.
6960 2001-02-12 Martin Buchholz <martin@xemacs.org>
6962 Make sure dump-id.c is compiled in the same way as other .c's.
6963 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
6964 * dump-id.h: Remove.
6965 * emacs.c: Move dump-id.h into dumper.h.
6966 * dumper.h: Move dump-id.h into dumper.h.
6968 Use standard .c.o rule for building dump-id.o.
6969 Remove preprocessor flags from link command.
6970 Add dump-id.o to ${otherobjs} if PDUMP.
6972 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
6974 Port FSF 20.7 syntax table improvements.
6978 Fixups for new syntax table stuff.
6979 * dired.c: Include syntax.c.
6980 (Fdirectory_files): Initialize regex_match_object and
6982 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
6983 and Fget_char_property.
6985 Use ported FSF 20.7 syntax table improvements.
6990 2001-02-09 Martin Buchholz <martin@xemacs.org>
6992 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
6993 Unixware's enum boolean from sys/types.h.
6995 2001-02-10 Martin Buchholz <martin@xemacs.org>
6997 Fix support for building with latest Purify.
6998 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
6999 (PURIFY_FLAGS): Likewise.
7001 2001-02-09 Martin Buchholz <martin@xemacs.org>
7003 * fileio.c (lisp_string_set_file_times): New.
7004 * fileio.c (Fcopy_file): Use it.
7006 (copy-file filename non-ascii-filename t t)
7007 ==> No such file or directory, non-ascii-filename
7009 2001-02-10 Martin Buchholz <martin@xemacs.org>
7011 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7012 USHRT_MAX seems clearer than ~0 anyways.
7014 2001-02-09 Martin Buchholz <martin@xemacs.org>
7016 dumper improvements. Inspired by Olivier.
7017 * dumper.c (pdump_max_align): New.
7018 * dumper.c (pdump_add_entry): Use pdump_max_align.
7019 * dumper.c (pdump_get_entry_list): Likewise.
7020 * dumper.c (pdump_scan_by_alignment): Likewise.
7021 Don't iterate through unnecessary alignments.
7022 * dumper.c (pdump_file_get): No need to align result of malloc().
7023 * dumper.c (pdump_mallocadr): Remove.
7024 The result of malloc() is guaranteed to be maximally aligned.
7025 * dumper.c: s/elmt/elt/g;
7026 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7027 * dumper.c (pdump_alert_undump_object): Likewise.
7028 * dumper.c (pdump_align_table):
7029 Don't support alignments > 64.
7030 Store ALIGNOF's, not shift counts, in table.
7032 2001-02-09 Martin Buchholz <martin@xemacs.org>
7034 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7035 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7036 * systime.h: Use HAVE_UTIME.
7037 * sysdep.c (struct utimbuf): Remove.
7038 * sysdep.c (set_file_times): Prefer utime() to utimes().
7039 * config.h.in (HAVE_UTIME): New.
7040 * config.h.in (HAVE_UTIME_H): Remove.
7041 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7043 2001-02-09 Martin Buchholz <martin@xemacs.org>
7045 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7047 2001-02-08 Martin Buchholz <martin@xemacs.org>
7049 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7051 2001-02-08 Martin Buchholz <martin@xemacs.org>
7053 * XEmacs 21.2.44 "Thalia" is released.
7055 2001-02-06 Martin Buchholz <martin@xemacs.org>
7057 Fixes crashes in kill-emacs on some systems.
7058 * process-unix.c (unix_kill_child_process):
7059 It's OK for kill() to fail with ESRCH.
7061 2001-02-07 Martin Buchholz <martin@xemacs.org>
7063 Contortions to make .gdbinit tricks work on most systems.
7064 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7065 * alloc.c (dbg_valmask): Make non-const.
7066 * alloc.c (dbg_typemask): Make non-const.
7067 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7068 * alloc.c (dbg_valbits): Make non-const.
7069 * alloc.c (dbg_gctypebits): Make non-const.
7070 * .gdbinit (decode_object): Make it work with AIX cc.
7072 2001-02-06 Martin Buchholz <martin@xemacs.org>
7074 * elhash.c (make_general_lisp_hash_table):
7075 Use simpler and more efficient calloc to clear entries.
7077 2001-02-07 Martin Buchholz <martin@xemacs.org>
7079 * window.c (window_scroll): Work around an AIX C compiler bug.
7080 Fixes 'scroll-up' does nothing problem with xlC.
7082 2001-02-05 Martin Buchholz <martin@xemacs.org>
7084 * .gdbinit: Remove obsolete comment.
7086 2001-01-31 Mike Alexander <mta@arbortext.com>
7088 * select.c (Fown_selection_internal): Set owned_p for device
7091 2001-02-01 Martin Buchholz <martin@xemacs.org>
7094 "not" cannot be used as a macro name as it is an operator in C++
7095 * config.h.in: Stop #defining `not'.
7096 * chartab.c (check_category_char): not ==> not_p
7097 * chartab.h: Likewise.
7098 * regex.c (re_match_2_internal): Likewise.
7100 2001-02-02 Martin Buchholz <martin@xemacs.org>
7102 * lisp-disunion.h: Fix up comments.
7104 2001-01-31 Martin Buchholz <martin@xemacs.org>
7106 * keymap.c (define_key_check_and_coerce_keysym):
7108 Support mouse-6 and mouse-7 bindings in the obvious way.
7110 2001-02-01 Martin Buchholz <martin@xemacs.org>
7112 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7114 2001-01-30 Martin Buchholz <martin@xemacs.org>
7116 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7117 Previous patch missed DEFVAR_INT_MAGIC.
7118 Make sure future DEFVAR_foo use correct types.
7119 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7120 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7121 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7122 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7123 * (DEFVAR_INT): Likewise.
7124 * redisplay.c (vertical_clip): Should be of type Fixnum.
7125 * redisplay.c (horizontal_clip): Likewise.
7126 * lisp.h (dump_add_opaque_int): New.
7127 (dump_add_opaque_fixnum): New.
7129 2001-01-29 Andy Piper <andy@xemacs.org>
7131 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7132 since they can be eval'ed
7134 2001-01-29 Martin Buchholz <martin@xemacs.org>
7136 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7137 Oops, XEmacs redefines `class'. Use `typename' instead.
7139 2001-01-28 Martin Buchholz <martin@xemacs.org>
7141 * dumper.c: Fix C++ compile errors.
7143 2001-01-29 Martin Buchholz <martin@xemacs.org>
7145 * tparam.c: Use correct prototypes.
7147 2001-01-28 Martin Buchholz <martin@xemacs.org>
7149 * sysproc.h: #include util.h for NetBSD's openpty.
7151 2001-01-27 Martin Buchholz <martin@xemacs.org>
7153 More 64-bit correctness.
7154 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7155 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7157 This finally finishes the 64-bit SGI port.
7158 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7159 * symbols.c: Fix up comments and type casts.
7160 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7161 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7162 * symeval.h (Fixnum): New type.
7163 * symeval.h (symbol_value_type): Fix up comment.
7179 * mule-canna.c: A million DEFVAR_INTs here...
7180 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7193 s/int/Fixnum/g in DEFVAR_INT declarations.
7195 2001-01-26 Martin Buchholz <martin@xemacs.org>
7197 Port pdump to SGI alignment-sensitive environment.
7198 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7199 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7201 Define and use aligned reading and writing macros.
7202 Use buffered stdio instead of posix i/o for faster dumping.
7203 Eliminate kludgy 256 byte space for header.
7204 Read and write from dump file using structs for alignment safety.
7205 * dumper.c (pdump_align_stream): New.
7206 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7207 * dumper.c (PDUMP_READ_ALIGNED): New.
7208 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7209 * dumper.c (pdump_static_Lisp_Object): New struct.
7210 * dumper.c (pdump_static_pointer): New struct.
7211 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7212 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7213 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7214 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7216 * dumper.c (pdump_backtrace):
7217 * dumper.c (pdump_get_indirect_count):
7218 * dumper.c (pdump_register_object):
7219 * dumper.c (pdump_register_struct):
7220 * dumper.c (pdump_reloc_one):
7221 * dumper.c (pdump_scan_by_alignment):
7222 * dumper.c (pdump_dump_from_root_struct_ptrs):
7223 * dumper.c (pdump_dump_opaques):
7224 * dumper.c (pdump_dump_rtables):
7225 * dumper.c (pdump_dump_from_root_objects):
7227 * dumper.c (pdump_load_finish):
7228 Use aligned reading and writing.
7230 * dumper.c (pdump_free): Make static.
7231 * dumper.c (pdump_hFile): Likewise.
7232 * dumper.c (pdump_hMap): Likewise.
7234 2001-01-26 Martin Buchholz <martin@xemacs.org>
7236 * XEmacs 21.2.43 "Terspichore" is released.
7238 2001-01-25 Martin Buchholz <martin@xemacs.org>
7240 Type fiddling for window_config.saved_windows_count
7241 * window.c (struct window_config):
7242 Make saved_windows_count member unsigned.
7243 * window.c (sizeof_window_config_for_n_windows):
7244 Make parameter unsigned.
7245 * window.c (mark_window_config):
7246 * window.c (window_config_equal):
7247 * window.c (free_window_configuration):
7248 * window.c (Fset_window_configuration):
7249 * window.c (count_windows):
7250 * window.c (Fcurrent_window_configuration):
7251 * window.c (reinit_vars_of_window):
7252 Update all callers and users.
7254 2001-01-25 Martin Buchholz <martin@xemacs.org>
7256 Alignment correctness for flexible arrays.
7257 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7258 Make alignment-correct. Add interesting comments.
7259 * alloc.c (size_vector):
7260 * alloc.c (make_vector_internal):
7261 * alloc.c (make_bit_vector_internal):
7262 * alloc.c (sweep_bit_vectors_1):
7263 * fns.c (size_bit_vector):
7264 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7265 * window.c (sizeof_window_config_for_n_windows):
7266 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7268 2001-01-24 Martin Buchholz <martin@xemacs.org>
7270 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7272 2001-01-23 Andy Piper <andy@xemacs.org>
7274 * select.c (Fown_selection_internal): pass owned_p
7276 * select-msw.c (mswindows_own_selection): New Signature.
7278 * console.h (struct console_methods): add owned_p to
7281 * select-x.c (x_own_selection): pass owned_p
7282 (hack_motif_clipboard_selection): use owned_p
7283 (vars_of_select_x): new variable -
7284 x_selection_strict_motif_ownership.
7286 2001-01-23 Martin Buchholz <martin@xemacs.org>
7288 * specifier.h (specifier_data_offset): Remove pointless parens.
7289 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7291 2001-01-24 Martin Buchholz <martin@xemacs.org>
7293 Make Lisp_Object sizeof methods be alignment-correct.
7294 pdump must restore objects to the same alignment as the C compiler
7295 assumes. It really matters on SGIs.
7296 * lstream.c (aligned_sizeof_lstream): New.
7297 (sizeof_lstream): Use aligned_sizeof_lstream.
7298 (Lstream_new): Likewise.
7299 * opaque.c (aligned_sizeof_opaque): New.
7300 (sizeof_opaque): Use aligned_sizeof_opaque.
7301 (make_opaque): Likewise.
7302 * specifier.c (aligned_sizeof_specifier): New.
7303 (sizeof_specifier): Use aligned_sizeof_specifier.
7304 (make_specifier_internal): Likewise.
7306 2001-01-23 Martin Buchholz <martin@xemacs.org>
7308 * lstream.h (struct lstream): Use max_align_t for trailing data.
7309 * specifier.h (struct Lisp_Specifier): Likewise.
7311 2001-01-22 Martin Buchholz <martin@xemacs.org>
7313 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7314 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7315 (CCL_SUSPEND): Likewise.
7316 (CCL_INVALID_CMD): Likewise.
7317 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7318 (ccl_driver): Likewise.
7319 (CCL_WRITE_CHAR): Macro hygiene.
7320 (CCL_WRITE_STRING): Macro hygiene.
7322 2001-01-22 Martin Buchholz <martin@xemacs.org>
7324 Port "portable" dumper to SunOS 4 and HP-UX.
7325 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7326 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7327 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7329 2001-01-22 Martin Buchholz <martin@xemacs.org>
7331 * lisp.h (ALIGNOF): A better definition for C++.
7333 2001-01-20 Martin Buchholz <martin@xemacs.org>
7336 Fix printf warnings: int format, long int arg.
7337 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7338 (PUSH_FAILURE_POINT): Use correct printf formats.
7339 (POP_FAILURE_POINT): Use correct printf formats.
7340 Use do {...} while (0)
7342 2001-01-20 Martin Buchholz <martin@xemacs.org>
7344 * XEmacs 21.2.42 "Poseidon" is released.
7346 2001-01-20 Martin Buchholz <martin@xemacs.org>
7348 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7350 2001-01-19 Martin Buchholz <martin@xemacs.org>
7352 De-kludgify FIXED_TYPE free list frobbing.
7353 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7354 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7355 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7356 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7357 * alloc.c (LRECORD_FREE_P): New.
7358 * alloc.c (MARK_LRECORD_AS_FREE): New.
7359 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7360 * alloc.c (STRUCT_FREE_P): Deleted.
7361 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7362 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7363 * alloc.c (STRING_CHARS_FREE_P): New.
7364 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7365 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7366 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7367 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7368 * alloc.c (resize_string): Use new definitions.
7369 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7370 * alloc.c (verify_string_chars_integrity): Use new definitions.
7371 * alloc.c (compact_string_chars): Use new definitions.
7372 * alloc.c: Update monster comments.
7373 * lrecord.h (lrecord_type): Add some new lrecord types for
7376 2001-01-18 Martin Buchholz <martin@xemacs.org>
7378 Improve alignment hackery.
7379 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7380 (max_align_t): Moved from opaque.h - general purpose.
7381 (ALIGN_PTR): Use size_t, not long.
7382 * opaque.h (max_align_t): Move to lisp.h.
7384 2001-01-18 Norbert Koch <nk@LF.net>
7386 * gui.h: Fix and add prototypes to fix build problems.
7388 2001-01-18 Martin Buchholz <martin@xemacs.org>
7390 temacs is going away, so `dump-temacs' is now a bad name.
7391 * .dbxrc (dump-temacs): Rename to `dmp'.
7392 * .gdbinit (dump-temacs): Rename to `dmp'.
7394 2001-01-17 Andy Piper <andy@xemacs.org>
7396 * glyphs.c (print_image_instance): comment to make martin happy.
7398 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7401 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7403 (mswindows_tab_control_redisplay): warning suppression.
7405 * glyphs-widget.c (widget_update): re-write to cope with updated
7407 (widget_instantiate): use new gui_item functions.
7408 (tab_control_update): deleted.
7409 (progress_gauge_update): deleted.
7410 (image_instantiator_progress_guage): take out update reference.
7411 (image_instantiator_tree_view): ditto.
7412 (image_instantiator_tab_control): ditto.
7414 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7416 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7417 return whether anything was changed.
7418 (update_gui_item_keywords): as it sounds.
7420 * gui.h: declare widget_gui_parse_item_keywords.
7422 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7423 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7425 2001-01-17 Martin Buchholz <martin@xemacs.org>
7427 * XEmacs 21.2.41 "Polyhymnia" is released.
7429 2001-01-16 Didier Verna <didier@xemacs.org>
7431 * glyphs.c (image_instantiate): don't use fallbacks when
7432 instantiating a face's background pixmap by inheritance.
7434 2001-01-14 Mike Sperber <mike@xemacs.org>
7436 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7437 Conditionalize accordingly.
7439 2001-01-16 Martin Buchholz <martin@xemacs.org>
7441 * dumper.c (pdump_file_get): Fix a compiler warning.
7443 2001-01-15 Martin Buchholz <martin@xemacs.org>
7445 Make Purify happy when pdumping.
7446 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7447 iniitalizing all bits of new lisp object memory.
7448 * symbols.c (Fmake_local_variable): Likewise.
7449 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7450 * symbols.c (Fdefvaralias): Likewise.
7451 * mule-charset.c (vars_of_mule_charset): Likewise.
7453 2001-01-15 Martin Buchholz <martin@xemacs.org>
7454 Add the `-nd' flag when running pre-dump operations under the debugger.
7455 * .dbxrc (run-temacs): Add `-nd'.
7456 * .dbxrc (update-elc): Likewise.
7457 * .dbxrc (dump-temacs): Likewise.
7458 * .gdbinit (run-temacs): Likewise.
7459 * .gdbinit (check-temacs): Likewise.
7460 * .gdbinit (update-elc): Likewise.
7461 * .gdbinit (dump-temacs): Likewise.
7463 2001-01-14 Martin Buchholz <martin@xemacs.org>
7465 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7466 export OBJECT_MODE=64
7467 configure --pdump --use-union-type=no
7468 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7469 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7471 * miscplay.c (sndcnv8U_2mono):
7472 Avoid two uses of `++' in the same expression.
7473 Suppresses a GCC warning.
7475 2001-01-13 Martin Buchholz <martin@xemacs.org>
7477 Make sure future compilers don't miscompile alloc.c.
7479 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7480 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7482 2001-01-12 Martin Buchholz <martin@xemacs.org>
7484 * dumper.c: A little post-pdump-rename comment fixup.
7486 2001-01-09 Jerry James <james@eecs.ku.edu>
7488 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7490 2001-01-13 Martin Buchholz <martin@xemacs.org>
7492 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7496 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7499 replace_symbol pdump_wire_lists pdump_weak_object_chains
7500 replace_symbol pdump_wire_list dump_add_weak_object_chain
7502 replace_symbol pdump_wires pdump_root_objects
7503 replace_symbol pdump_wire dump_add_root_object
7505 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7506 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7508 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7509 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7510 replace_symbol dumpstructinfo pdump_root_struct_ptr
7511 replace_symbol dumpstruct dump_add_root_struct_ptr
7513 replace_symbol dumpopaque dump_add_opaque
7514 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7515 replace_symbol dumpopaqueinfos pdump_opaques
7516 replace_symbol dumpopaqueinfo pdump_opaque
7518 replace_symbol nb_structdump nb_root_struct_ptrs
7519 replace_symbol nb_opaquedump nb_opaques
7521 replace_symbol align_table pdump_align_table
7522 replace_symbol dump_header pdump_header
7524 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7525 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7528 2001-01-12 Martin Buchholz <martin@xemacs.org>
7530 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7531 optimizing bytecount_to_charcount().
7533 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7536 (HAVE_DLFCN_H): Removed.
7537 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7539 2001-01-06 Martin Buchholz <martin@xemacs.org>
7541 Portable dumper maintainability improvements.
7542 * alloc.c (staticpro):
7543 * alloc.c (staticpro_nodump):
7544 * alloc.c (garbage_collect_1):
7545 * alloc.c (reinit_alloc_once_early):
7546 * alloc.c (init_alloc_once_early):
7547 * alloc.c: Move dumper functions to alloc.c.
7548 * dumper.c (pdump_backtrace):
7549 * dumper.c (pdump_dump_structs):
7550 * dumper.c (pdump_dump_opaques):
7551 * dumper.c (pdump_dump_rtables):
7552 * dumper.c (pdump_dump_wired):
7554 * dumper.c (pdump_load_check):
7555 * dumper.c (pdump_load_finish):
7556 * dumper.c (pdump_file_unmap):
7557 * dumper.c (pdump_file_get):
7558 * dumper.c (pdump_resource_free):
7559 * dumper.c (pdump_resource_get):
7560 * dumper.c (pdump_file_free):
7561 * dumper.c (pdump_file_try):
7562 * dumper.c (pdump_load):
7563 Remove fixed size limits on staticpro(), staticpro_nodump(),
7564 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7565 Remove custom code for dumping lrecord_implementations_table - use
7567 Remove (most of the) custom code for dumping staticpros - dump it
7568 like any other dynarr.
7570 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7571 * dumper.c: Moved functions from alloc.c.
7572 * alloc.c (dumpstruct): Moved to dumper.c.
7573 * alloc.c (dumpopaque): Likewise.
7574 * alloc.c (pdump_wire): Likewise.
7575 * alloc.c (pdump_wire_list): Likewise.
7577 * lisp.h (Dynarr_sizeof): New.
7578 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7579 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7580 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7582 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7583 * lisp.h (dumpopaque): ditto.
7584 * lisp.h (pdump_wire): ditto.
7585 * lisp.h (pdump_wire_list): ditto.
7587 2001-01-09 Martin Buchholz <martin@xemacs.org>
7589 * make-src-depend (PrintPatternDeps):
7590 Use `sort' to make output independent of perl version.
7592 2001-01-08 Martin Buchholz <martin@xemacs.org>
7595 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7596 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7598 2001-01-03 Didier Verna <didier@xemacs.org>
7600 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7601 that `focus_frame' is alive before thinking of calling
7602 `redisplay_redraw_cursor' on it.
7604 2001-01-08 Martin Buchholz <martin@xemacs.org>
7606 * XEmacs 21.2.40 is released.
7608 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7610 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7612 2001-01-06 Martin Buchholz <martin@xemacs.org>
7614 * alloc.c (dbg_valmask): Make const.
7615 * alloc.c (dbg_typemask): Make const.
7616 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7617 * alloc.c (dbg_valbits): Make const.
7618 * alloc.c (dbg_gctypebits): Make const.
7620 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7622 * redisplay-x.c (x_bevel_area):
7623 redisplay.h (struct rune):
7624 Typo fixes in comments.
7626 2001-01-05 Andy Piper <andy@xemacs.org>
7628 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7631 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7633 2001-01-05 Martin Buchholz <martin@xemacs.org>
7635 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7637 * mule-ccl.c (stack_idx_of_map_multiple):
7638 Non const global data must not be initialized!
7639 Found by MIYASHITA Hisashi.
7641 2001-01-02 Andy Piper <andy@xemacs.org>
7643 * frame.c (change_frame_size): make sure frame size is always
7646 * glyphs.c (image_instance_layout): minor code reuse.
7648 * window.c (Fcurrent_window_configuration): revert previous
7651 2001-01-02 Martin Buchholz <martin@xemacs.org>
7654 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7656 2000-12-31 Andy Piper <andy@xemacs.org>
7658 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7659 when widget gets unmapped.
7661 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7662 function. Make sure widgets losing focus don't just drop it.
7663 (handle_focus_event_1): record the widget with focus.
7665 2000-12-31 Andy Piper <andy@xemacs.org>
7667 * window.c (allocate_window): use
7668 make_image_instance_cache_hash_table.
7669 (make_dummy_parent): ditto.
7670 (Fset_window_configuration): ditto.
7672 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7674 * glyphs.c (process_image_string_instantiator): use
7676 (get_image_instantiator_governing_domain): ditto.
7677 (normalize_image_instantiator): ditto.
7678 (instantiate_image_instantiator): ditto.
7679 (make_image_instance_1): ditto.
7680 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7681 (instantiator_eq_equal): new function for use with instance hash
7683 (instantiator_eq_hash): ditto.
7684 (make_image_instance_cache_hash_table): create a suitable hash
7685 table for storing image instances.
7687 * elhash.h (hash_table_weakness): new internal weakness type
7688 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7689 declare new functions.
7691 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7692 another weakness type for glyphs.
7693 (make_standard_lisp_hash_table): new function split out from
7694 make_general_lisp_hash_table.
7695 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7696 (hash_table_instantiate): ditto.
7697 (Fmake_hash_table): ditto.
7699 2000-12-31 Martin Buchholz <martin@xemacs.org>
7701 * XEmacs 21.2.39 is released.
7703 2000-12-29 Andy Piper <andy@xemacs.org>
7705 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7707 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7708 the frame has changed so that we pick up geometry changes such as
7711 2000-12-28 Andy Piper <andy@xemacs.org>
7713 * lastfile.c (my_ebss): make a char array so we can pad the
7714 bss. Fixes cygwin unexec.
7716 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7718 2000-12-26 Andy Piper <andy@xemacs.org>
7720 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7721 comments and try and be more precise about a non-/SIGIO world.
7722 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7725 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7726 we don't normalize to zero width or height.
7728 2000-12-24 Andy Piper <andy@xemacs.org>
7730 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7732 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7734 * s/sco5.h: SCO 5 has pty support.
7736 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7738 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7739 input-method-xlib.c contains whole contents of input-method-xfs.c,
7740 so we can use input-method-xlib.c's code for USE_XFONTSET
7742 * input-method-xfs.c: removed.
7744 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7746 * file-coding.h (enum coding_category_type): reorder enumerators to
7747 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7748 (now one greater than largest real coding_category_type enumerator).
7749 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7750 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7751 Fcoding_category_list, Fset_coding_priority_list,
7752 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7753 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7755 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7757 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7758 * redisplay-output.c (redisplay_output_window): Clear top of window
7759 when face is changed.
7760 * redisplay-x.c (x_redraw_exposed_window): Call
7761 redisplay_clear_top_of_window.
7762 * redisplay.h: Publish redisplay_clear_top_of_window.
7764 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7766 * buffer.c (Fkill_buffer): Map over all devices.
7767 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7768 (list_windows): New function.
7769 (list_all_windows): Ditto.
7770 (Freplace_buffer_in_windows): Use them.
7772 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7774 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7775 (Fopen_database): Use `db_create' instead of `db_open'.
7776 (syms_of_database): Initialize Qqueue.
7778 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7780 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7781 buffer_local_face_property.
7782 * buffer.h (struct buffer): New member buffer_local_face_property.
7783 * window.c (Fset_window_buffer): Mark window's face as changed
7784 when buffer has buffer local face.
7785 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7786 * objects.c (color_after_change): Set buffer_local_face_property
7787 when locale of face specifier is buffer.
7788 * objects.c (font_after_change): Ditto.
7789 * objects.c (face_boolean_after_change): Ditto.
7790 * glyphs.c (image_after_change): Ditto.
7792 2000-12-09 Dan Holmsand <dan@eyebee.com>
7794 * nt.c (mswindows_fstat): Report file permissions, volume serial
7795 number, etc. Code adapted from FSF Emacs 20.7.
7797 2000-12-09 Dan Holmsand <dan@eyebee.com>
7799 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
7800 of stat when we don't have symbolic links, to make sure
7801 mswindows_stat is called on mswindows.
7803 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7805 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
7807 2000-12-12 Martin Buchholz <martin@xemacs.org>
7809 * doprnt.c (emacs_doprnt_1): More printing fixes.
7810 Make printing of numbers compatible with libc and FSF Emacs.
7811 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
7812 Use the system printf to do most of the hard work of formatting,
7813 instead of doprnt_1().
7814 Calculate memory to allocate for format string.
7815 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
7816 (doprnt_1): Cleaner code and documentation.
7818 2000-12-01 Jerry James <james@eecs.ukans.edu>
7820 * Makefile.in.in: Use the loop variable to install headers.
7822 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7824 * window.c (Fsplit_window): Don't invalidate face cache.
7826 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7828 * minibuf.c (Fall_completions): Undo the previous change
7829 which removed checking elements start with space.
7831 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7833 * mule-canna.c: Didier suppression.
7835 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
7837 * mule-canna.c: rename static unsigned char buf[] to key_buffer
7838 (warning suppression). Add English comment translations.
7840 2000-12-05 Martin Buchholz <martin@xemacs.org>
7842 * unexelfsgi.c (unexec): Better test for mmap failure.
7844 2000-12-05 Martin Buchholz <martin@xemacs.org>
7846 * XEmacs 21.2.38 is released.
7848 2000-12-05 Martin Buchholz <martin@xemacs.org>
7850 * redisplay.c (bar-cursor): Make a user variable.
7852 * symsinit.h: Add init_postgresql_from_environment.
7854 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
7856 * regex.c: Convert to clean C.
7858 2000-12-05 Dan Holmsand <dan@eyebee.com>
7861 Don't #include sysfile.h. Revert to duplicating PATH_MAX
7863 (sys_readlink): renamed to system_readlink to avoid conflict with
7864 the other sys_readlink.
7866 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
7868 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
7870 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
7872 * postgresql.c (init_postgresql_from_environment): new function.
7873 (vars_of_postgresql): Move code initializing Lisp variables out and
7874 into init_postgresql_from_environment.
7875 emacs.c (main_1): Call init_postgresql_from_environment if and only
7876 if running a dumped XEmacs.
7878 2000-08-31 Dan Holmsand <dan@eyebee.com>
7880 * buffer.c: Make find-file-compare-truenames default to true on
7883 * realpath.c (win32_abs_start):
7885 (win32_readlink): New functions.
7886 (xrealpath): Return really real filenames on windows.
7888 * fileio.c (Ffile_truename): Make file-truename work on windows.
7890 2000-11-29 Didier Verna <didier@xemacs.org>
7892 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
7893 * faces.c (update_face_cachel_data): use it.
7894 * faces.c (add_face_cachel): use it. Complete background pixmap
7895 frobbing in face cache if `update_face_cachel_data' has not done so.
7897 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
7899 * search.c (string_match_1): Don't set last_thing_searched
7902 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
7904 * buffer.c: Include casetab.h
7905 (common_init_complex_vars_of_buffer): Use new case-table object.
7906 * buffer.h: Include casetab.h
7907 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
7908 (DOWNCASE_TABLE_OF): Ditto.
7909 * bufslots.h: Remove char-tables and add case-table.
7910 * casetab.c: Include casetab.h
7911 (CASE_TABLE_P): Removed.
7912 (mark_case_table): New function.
7913 (allocate_case_table): New function.
7914 (Fcase_table_p): Use new case-table.
7915 (case_table_char): New function.
7916 (Fget_case_table): Ditto.
7917 (Fput_case_table): Ditto.
7918 (Fput_case_table_pair): Ditto.
7919 (Fcopy_case_table): Ditto.
7920 (Fcurrent_case_table): Return case-table.
7921 (Fstandard_case_table): Return case-table.
7922 (Fset_case_table): Fix doc-string.
7923 (set_case_table): Use case-table
7924 (syms_of_casetab): DEFSUBR new functions.
7925 (complex_vars_of_casetab): Set up standard case-table.
7926 * casetab.h: New file.
7927 * editfns.c: Include casetab.h
7928 (Fcompare_buffer_substrings): Use case-table.
7929 * inline.c: Include casetab.h
7930 * lisp.h: Remove bogus extern.
7931 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
7932 * search.c: Include casetab.h
7933 (TRANSLATE_ASCII): Removed.
7934 (TRANSLATE): Unconditionally translate character.
7935 (looking_at_1): Use case-table.
7936 (string_match_1): Ditto.
7937 (fast_string_match): Ditto.
7938 (search_command): Ditto.
7939 (search_buffer): Separate boyer_moore. Check whether
7940 boyer_moore is possible.
7941 (simple_search): New function.
7942 (boyer_moore): Separated from search_buffer. Translate char.
7944 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
7946 * regex.c (RE_TR_ASCII): Removed.
7947 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
7948 (PATFETCH): Call PATFETCH_RAW.
7949 (PATFETCH_RAW): Fetch Emchar.
7950 (PATUNFETCH): Decrement charptr.
7951 (GET_BUFFER_SPACE): Rename b to buf_end.
7953 (BUF_PUSH_2): Ditto.
7954 (BUF_PUSH_3): Ditto.
7955 (EXTEND_BUFFER): Ditto.
7956 (SET_LIST_BIT): Ditto.
7957 (regex_compile): Ditto. Translate non ASCII char.
7958 (compile_range): Ditto.
7959 (re_search_2): Ditto.
7960 (re_match_2_internal): Compare Emchar.
7961 (bcmp_translate): Ditto.
7963 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
7965 * lisp.h (basic char/int typedefs): comment improvement.
7967 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
7969 * emacs.c (main_1): unconditional pdump unstomping; don't save and
7970 unstomp inhibit_site_lisp. Improve comments.
7972 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
7974 * mule-charset.c (Fcharset_property): improve type checking, comments.
7976 2000-11-28 Andy Piper <andy@xemacs.org>
7978 * redisplay-output.c (redisplay_output_subwindow): make sure we do
7979 clipped display for windows in the gutter also.
7980 (redisplay_display_boxes_in_window_p): change semantics of return
7981 codes to be more intuitive.
7983 * gutter.h: declare display_boxes_in_gutter_p.
7985 * gutter.c (display_boxes_in_gutter_p): new function for
7988 2000-11-22 Andy Piper <andy@xemacs.org>
7990 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
7993 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
7995 * callproc.c (Fold_call_process_internal):
7996 * gpm.c (Freceive_gpm_event):
7997 (tty_get_foreign_selection): Might be just warning supression.
7998 * fileio.c (Fwrite_region_internal):
7999 (Fset_visited_file_modtime):
8000 * keymap.c (event_matches_key_specifier_p):
8001 Initialize GCPROed variable.
8003 * menubar-x.c (command_builder_find_menu_accelerator):
8004 Initialize before use.
8006 2000-11-23 Andy Piper <andy@xemacs.org>
8008 * unexcw.c (unexec): make the resulting executable executable.
8010 2000-11-21 Martin Buchholz <martin@xemacs.org>
8012 * doc.c (get_doc_string):
8013 Use size_t, not int, for result of XSTRING_LENGTH.
8015 * cmds.c (Fdelete_char):
8016 * cmds.c (Fpoint_at_eol):
8017 * cmds.c (Fself_insert_command):
8018 Use EMACS_INT, not int, for result of XINT.
8019 Someday, someone will want to insert more than 2**31 identical characters.
8021 * cmds.c (Fdelete_char):
8022 * cmds.c (Fdelete_backward_char):
8023 * syntax.c (Fforward_word):
8024 * syntax.c (Fforward_comment):
8025 Make COUNT argument optional, for consistency with forward-char et al.
8027 2000-11-22 Martin Buchholz <martin@xemacs.org>
8030 * print.c (long_to_string):
8031 Return a useful value: the pointer at end of data written.
8034 Use `static const char * const' for constant strings.
8035 (union printf_arg): Delete `i', `ui' members.
8038 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8039 Do all printf-ing via the `l' specifier.
8040 Use EMACS_INT instead of int.
8043 2000-11-20 Didier Verna <didier@xemacs.org>
8045 * faces.c (update_face_cachel_data): don't frob the background
8046 pixmap when the window is being created. The face is needed but
8049 2000-11-20 Andy Piper <andy@xemacs.org>
8051 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8052 messing with a debug environment.
8054 2000-11-20 Martin Buchholz <martin@xemacs.org>
8056 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8058 2000-11-20 Martin Buchholz <martin@xemacs.org>
8060 * casetab.c (Fcase_table_p): Fix compile error and crash.
8062 2000-11-18 Philip Aston <philipa@mail.com>
8064 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8066 2000-11-18 Martin Buchholz <martin@xemacs.org>
8068 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8069 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8071 2000-11-17 Martin Buchholz <martin@xemacs.org>
8073 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8074 * unexelf.c: Use HAVE_ELF_H.
8075 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8076 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8077 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8078 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8080 So this is an unexelfsgi.c from a different line of development.
8082 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8084 * regex.c (RE_TR_ASCII): New function.
8085 (RE_TRANSLATE): Call it.
8087 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8089 * buffer.h (TRT_TABLE_OF): Remove assert.
8090 (IN_TRT_TABLE_DOMAIN): Removed.
8092 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8094 * free-hook.c (log_gcpro):
8095 (show_gcprohist): Add support for GCPRO5.
8097 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8099 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8101 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8103 * symeval.h: Declare flush_all_buffer_local_cache.
8105 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8106 (flush_buffer_local_cache): Added.
8107 (flush_all_buffer_local_cache): Added.
8109 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8111 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8112 (pdump_dump_data): Ditto.
8113 (pdump_reloc_one): Ditto.
8114 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8118 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8120 * buffer.c: Remove if 0'ed entry.
8121 * buffer.h: Rewrite TRT to use char-table.
8122 * bufslots.h: Remove mirror tables.
8123 * casetab.c: Remove mirror tables.
8124 (CASE_TABLE_P): New macro.
8125 (Fcase_table_p): Element of a case table is string or char-table.
8126 (make_mirror_trt_table): Removed.
8127 (set_case_table): Setup char-table from strings for backward
8129 * dired.c (Fdirectory_files):
8130 * dired-msw.c: (mswindows_get_files):
8131 * lisp.h: Change prototype of re_pattern_buffer.
8132 * regex.c: (RE_TRANSLATE): New macro.
8133 (TRANSLATE_P): Ditto.
8134 Change translate to type RE_TRANSLATE_TYPE.
8135 * regex.h: Define RE_TRANSLATE_TYPE
8136 * search.c (TRANSLATE): New macro.
8137 (TRANSLATE_ASCII): New macro.
8138 Translate table is changed to Lisp_Object.
8139 (signal_failure): Inhibit return.
8141 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8148 Do UNGCPRO before return.
8150 2000-11-14 Martin Buchholz <martin@xemacs.org>
8152 * XEmacs 21.2.37 is released.
8154 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8156 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8157 Add comments about discarded return value.
8159 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8162 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8164 2000-10-27 Andy Piper <andy@xemacs.org>
8166 * gutter.c (Fset_default_gutter_position): default left and right
8168 (calculate_gutter_size): calculate resonable heuristic for left
8169 and right gutter sizes.
8170 (specifier_vars_of_gutter): change left and right gutter sizes to
8172 (calculate_gutter_size_from_display_lines): new function.
8173 (output_gutter): check for resizing on left and right gutters.
8174 (clear_gutter): don't special case top and left gutters.
8175 (specifier_vars_of_gutter): use new signature for
8176 set_specifier_caching.
8178 * glyphs-x.c (x_redisplay_widget): spelling fix.
8179 * glyphs.c (specifier_vars_of_glyphs):
8180 * menubar.c (specifier_vars_of_menubar):
8181 * redisplay.c (specifier_vars_of_redisplay):
8182 * toolbar.c (specifier_vars_of_toolbar):
8183 * window.c (specifier_vars_of_window):
8184 * scrollbar.c (specifier_vars_of_scrollbar):
8185 (complex_vars_of_scrollbar): use new signature for
8186 set_specifier_caching.
8188 * specifier.c (set_specifier_caching): include recompute flag.
8189 (recompute_one_cached_specifier_in_window): always recompute if
8191 (recompute_one_cached_specifier_in_frame): ditto.
8193 * specifier.h (struct specifier_caching): add recompute flag.
8195 2000-10-24 Andy Piper <andy@xemacs.org>
8197 * unexcw.c (copy_executable_and_dump_data_section): add new
8198 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8201 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8203 * console-x.h (x_device): New member modifier_release_time.
8204 * event-Xt.c (x_handle_sticky_modifiers):
8205 Bound interval modifier keys are sticky.
8206 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8207 * events.h: extern it.
8209 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8211 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8213 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8215 * event-stream.c (execute_command_event): Preserve current_events
8216 and the like when event is misc-user-event.
8217 Inhibit quit during the call to maybe_echo_keys.
8219 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8221 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8222 symlink when buffer is killed.
8223 (inhibit_clash_detection): New variable.
8225 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8227 * console.c (Fset_input_method): Trigger redisplay on tty.
8229 2000-11-07 Martin Buchholz <martin@xemacs.org>
8231 * process.c (Fprocess_status): Revert to previous behavior:
8232 (process-status "nosuchprocess") ==> nil
8234 2000-11-06 Martin Buchholz <martin@xemacs.org>
8236 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8237 Work around another GCC 2.95.2 optimizer bug.
8239 2000-11-02 Martin Buchholz <martin@xemacs.org>
8241 * process.c (Fget_process): Use LIST_LOOP_2.
8242 (kill_buffer_processes): Use LIST_LOOP_2.
8244 * minibuf.c (Fall_completions):
8245 Delete old non-functional code for FSF fourth argument.
8247 * frame.c (frame_matches_frame_spec):
8248 Renamed from `frame_matches_frametype'. Update all callers.
8249 (device_matches_device_spec):
8250 Renamed from 'device_matches_console_spec'. Update all callers.
8252 * doc.c (Fsubstitute_command_keys):
8253 Remove buffer overflow crash. Small code cleanups.
8255 * casetab.c (check_case_table): Simpler code.
8257 * window.c (Freplace_buffer_in_windows):
8258 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8259 (and similar implementation) as Fdelete_windows_on.
8262 * alloc.c (Fmake_list):
8263 * alloc.c (make_vector):
8264 * alloc.c (Fmake_vector):
8265 * alloc.c (make_bit_vector):
8266 * alloc.c (Fmake_bit_vector):
8267 * alloc.c (Fbit_vector):
8268 * alloc.c (Fmake_string):
8269 * alloc.c (Fpurecopy):
8270 * alloc.c (Fmemory_limit):
8272 * buffer.c (Fget_buffer):
8273 * buffer.c (Fkill_buffer):
8274 * buffer.c (complex_vars_of_buffer):
8275 * bytecode.c (Fcompiled_function_stack_depth):
8276 * callint.c (Fprefix_numeric_value):
8278 * event-stream.c (Fread_key_sequence):
8280 * casetab.c (Fcase_table_p):
8281 * casetab.c (check_case_table):
8282 * casetab.c (Fset_case_table):
8283 * casetab.c (Fset_standard_case_table):
8285 * chartab.c (Fchar_table_type):
8286 * chartab.c (Freset_char_table):
8287 * chartab.c (Fget_char_table):
8288 * chartab.c (Fget_range_char_table):
8289 * chartab.c (Fput_char_table):
8290 * chartab.c (Fmap_char_table):
8291 * chartab.c (Fcategory_table_p):
8292 * chartab.c (Fcheck_category_at):
8293 * chartab.c (Fchar_in_category_p):
8294 * chartab.c (Fcategory_table):
8295 * chartab.c (Fcopy_category_table):
8296 * chartab.c (Fset_category_table):
8297 * chartab.c (Fcategory_designator_p):
8298 * chartab.c (Fcategory_table_value_p):
8299 * cmds.c (Fdelete_char):
8300 * cmds.c (Fdelete_backward_char):
8301 * cmds.c (Fself_insert_command):
8302 * cmds.c (Fself_insert_internal):
8303 * console.c (Fvalid_console_type_p):
8304 * console.c (Fcdfw_console):
8305 * console.c (Fconsole_type):
8306 * console.c (Fconsole_name):
8307 * console.c (Fconsole_device_list):
8308 * console.c (Fconsole_on_window_system_p):
8312 * data.c (Fsubr_interactive):
8313 * data.c (Fchar_to_int):
8314 * data.c (Fint_to_char):
8317 * data.c (Fnumber_to_string):
8318 * data.c (Fstring_to_number):
8320 * database.c (mark_database):
8321 * database.c (finalize_database):
8322 * database.c (Fdatabase_live_p):
8323 * database.c (Fdatabasep):
8324 * device-x.c (Fx_get_resource):
8325 * device.c (Fdfw_device):
8327 * dired.c (Ffile_name_completion):
8328 * dired.c (Ffile_name_all_completions):
8329 * dired.c (Fuser_name_completion):
8330 * dired.c (Fuser_name_completion_1):
8331 * dired.c (Fuser_name_all_completions):
8332 * doc.c (Fdocumentation):
8333 * doc.c (Fdocumentation_property):
8334 * doc.c (Fsubstitute_command_keys):
8336 * editfns.c (Fchar_to_string):
8337 * editfns.c (Fstring_to_char):
8338 * editfns.c (Ftemp_directory):
8339 * editfns.c (Finsert_char):
8340 * editfns.c (Fbuffer_substring_no_properties):
8341 * editfns.c (Fnarrow_to_region):
8342 * editfns.c (Fchar_equal):
8343 * editfns.c (Fchar_Equal):
8344 * editfns.c (Ftranspose_regions):
8345 * emacs.c (Fdump_emacs):
8347 * eval.c (Fcommand_execute):
8348 * eval.c (Fautoload):
8349 * eval.c (Fbacktrace):
8350 * eval.c (Fbacktrace_frame):
8352 * events.c (Fcopy_event):
8353 * events.c (Fcharacter_to_event):
8354 * events.c (Fevent_button):
8355 * events.c (Fevent_process):
8357 * extents.c (Fnext_extent_change):
8358 * extents.c (Fextent_property):
8360 * faces.c (Fmake_face):
8362 * file-coding.c (Fencode_shift_jis_char):
8363 * file-coding.c (Fencode_big5_char):
8364 * fileio.c (Ffile_name_directory):
8365 * fileio.c (Ffile_name_nondirectory):
8366 * fileio.c (Ffile_name_as_directory):
8367 * fileio.c (Fdirectory_file_name):
8368 * fileio.c (Ffile_truename):
8369 * fileio.c (Fsubstitute_in_file_name):
8370 * fileio.c (Ffile_modes):
8371 * fileio.c (Fset_file_modes):
8372 * fileio.c (Fset_default_file_modes):
8373 * fileio.c (Fverify_visited_file_modtime):
8374 * floatfns.c (Facos):
8375 * floatfns.c (Fasin):
8376 * floatfns.c (Fatan):
8377 * floatfns.c (Fcos):
8378 * floatfns.c (Fsin):
8379 * floatfns.c (Ftan):
8380 * floatfns.c (Fbessel_j0):
8381 * floatfns.c (Fbessel_j1):
8382 * floatfns.c (Fbessel_jn):
8383 * floatfns.c (Fbessel_y0):
8384 * floatfns.c (Fbessel_y1):
8385 * floatfns.c (Fbessel_yn):
8386 * floatfns.c (Ferf):
8387 * floatfns.c (Ferfc):
8388 * floatfns.c (Flog_gamma):
8389 * floatfns.c (Fexp):
8390 * floatfns.c (Fexpt):
8391 * floatfns.c (Flog):
8392 * floatfns.c (Flog10):
8393 * floatfns.c (Fsqrt):
8394 * floatfns.c (Fcube_root):
8395 * floatfns.c (Facosh):
8396 * floatfns.c (Fasinh):
8397 * floatfns.c (Fatanh):
8398 * floatfns.c (Fcosh):
8399 * floatfns.c (Fsinh):
8400 * floatfns.c (Ftanh):
8401 * floatfns.c (Fabs):
8402 * floatfns.c (Ffloat):
8403 * floatfns.c (Flogb):
8404 * floatfns.c (Fceiling):
8405 * floatfns.c (Ffloor):
8406 * floatfns.c (Fround):
8407 * floatfns.c (Ftruncate):
8408 * floatfns.c (Ffceiling):
8409 * floatfns.c (Fffloor):
8410 * floatfns.c (Ffround):
8411 * floatfns.c (Fftruncate):
8412 * fns.c (Fstring_equal):
8413 * fns.c (Fstring_lessp):
8418 * fns.c (Fsubstring):
8420 * fns.c (Fold_assoc):
8421 * fns.c (assoc_no_quit):
8423 * fns.c (Fold_assq):
8424 * fns.c (assq_no_quit):
8426 * fns.c (Fold_rassoc):
8428 * fns.c (Fold_rassq):
8429 * fns.c (rassq_no_quit):
8430 * fns.c (Fremassoc):
8431 * fns.c (remassoc_no_quit):
8433 * fns.c (remassq_no_quit):
8434 * fns.c (Fremrassoc):
8435 * fns.c (Fremrassq):
8436 * fns.c (remrassq_no_quit):
8438 * fns.c (Fplist_get):
8439 * fns.c (Fplist_put):
8440 * fns.c (Fplist_remprop):
8441 * fns.c (Fplist_member):
8442 * fns.c (Flax_plist_get):
8443 * fns.c (Flax_plist_put):
8444 * fns.c (Flax_plist_remprop):
8445 * fns.c (Flax_plist_member):
8447 * fns.c (Fold_equal):
8449 * fns.c (Fbase64_encode_region):
8450 * fns.c (Fbase64_encode_string):
8451 * fns.c (Fbase64_decode_region):
8453 * frame.c (frame_matches_frame_spec):
8454 * frame.c (device_matches_device_spec):
8455 * frame.c (next_frame):
8456 * frame.c (previous_frame):
8457 * frame.c (Fnext_frame):
8458 * frame.c (Fprevious_frame):
8459 * frame.c (Fframe_property):
8460 * frame.c (Fset_frame_height):
8461 * frame.c (Fset_frame_size):
8465 * glyphs.c (decode_error_behavior_flag):
8466 * glyphs.c (Fmake_image_instance):
8467 * indent.c (Findent_to):
8468 * intl.c (Fignore_defer_gettext):
8469 * keymap.c (Fkeymapp):
8470 * keymap.c (Flookup_key):
8472 * lread.c (Fload_internal):
8473 * lread.c (Feval_buffer):
8474 * lread.c (Feval_region):
8475 * macros.c (Fexecute_kbd_macro):
8476 * marker.c (set_marker_internal):
8477 * marker.c (Fset_marker):
8478 * marker.c (set_marker_restricted):
8479 * marker.c (Fcopy_marker):
8480 * marker.c (noseeum_copy_marker):
8482 * menubar.c (Fpopup_menu):
8484 * mule-charset.c (Fcharset_name):
8485 * mule-charset.c (Fchar_charset):
8486 * mule-charset.c (Fchar_octet):
8487 * mule-charset.c (Fsplit_char):
8488 * mule-wnnfns.c (Fwnn_open):
8489 * mule-wnnfns.c (Fwnn_dict_comment):
8490 * mule-wnnfns.c (Fwnn_quit_henkan):
8491 * mule-wnnfns.c (Fwnn_word_toroku):
8492 * mule-wnnfns.c (Fwnn_word_sakujo):
8493 * mule-wnnfns.c (Fwnn_word_use):
8494 * mule-wnnfns.c (Fwnn_hindo_set):
8496 * objects.c (Fmake_color_instance):
8497 * objects.c (Fmake_font_instance):
8498 * print.c (Fwrite_char):
8500 * process.c (mark_process):
8501 * process.c (print_process):
8502 * process.c (get_process_from_usid):
8503 * process.c (Fprocessp):
8504 * process.c (Fprocess_live_p):
8505 * process.c (Fget_process):
8506 * process.c (Fget_buffer_process):
8507 * process.c (get_process):
8508 * process.c (Fprocess_id):
8509 * process.c (Fprocess_name):
8510 * process.c (Fprocess_command):
8511 * process.c (init_process_io_handles):
8512 * process.c (start_process_unwind):
8513 * process.c (Fstart_process_internal):
8514 * process.c (Fopen_multicast_group_internal):
8515 * process.c (Fset_process_window_size):
8516 * process.c (read_process_output):
8517 * process.c (send_process):
8518 * process.c (Fprocess_tty_name):
8519 * process.c (Fset_process_buffer):
8520 * process.c (Fprocess_buffer):
8521 * process.c (Fprocess_mark):
8522 * process.c (set_process_filter):
8523 * process.c (Fset_process_filter):
8524 * process.c (Fprocess_filter):
8525 * process.c (Fprocess_send_region):
8526 * process.c (Fprocess_send_string):
8527 * process.c (exec_sentinel):
8528 * process.c (Fset_process_sentinel):
8529 * process.c (Fprocess_sentinel):
8530 * process.c (status_notify):
8531 * process.c (Fprocess_status):
8532 * process.c (Fprocess_exit_status):
8533 * process.c (process_send_signal):
8534 * process.c (Fprocess_send_eof):
8535 * process.c (deactivate_process):
8536 * process.c (remove_process):
8537 * process.c (Fdelete_process):
8538 * process.c (kill_buffer_processes):
8539 * process.c (Fprocess_kill_without_query):
8540 * process.c (Fprocess_kill_without_query_p):
8542 * rangetab.c (Fget_range_table):
8543 * rangetab.c (Fput_range_table):
8544 * rangetab.c (Fremove_range_table):
8545 * rangetab.c (Fclear_range_table):
8547 * search.c (Fskip_chars_forward):
8548 * search.c (Fskip_chars_backward):
8549 * search.c (Fskip_syntax_forward):
8550 * search.c (Fskip_syntax_backward):
8551 * search.c (search_command):
8552 * search.c (Freplace_match):
8553 * search.c (Fregexp_quote):
8554 * select.c (Fown_selection_internal):
8555 * select.c (Fselection_owner_p):
8556 * select.c (Fselection_exists_p):
8557 * select.c (Fget_selection_internal):
8560 * symbols.c (Fintern):
8561 * symbols.c (Fintern_soft):
8562 * symbols.c (Funintern):
8563 * symbols.c (Fapropos_internal):
8564 * symbols.c (Fset_default):
8566 * syntax.c (Fsyntax_table_p):
8567 * syntax.c (Fcopy_syntax_table):
8568 * syntax.c (Fset_syntax_table):
8569 * syntax.c (Fchar_syntax):
8570 * syntax.c (syntax_match):
8571 * syntax.c (Fmatching_paren):
8572 * syntax.c (Fforward_word):
8573 * syntax.c (scan_lists):
8574 * syntax.c (Fscan_lists):
8575 * syntax.c (Fscan_sexps):
8576 * syntax.c (Fparse_partial_sexp):
8577 * toolbar.c (Fcheck_toolbar_button_syntax):
8580 * window.c (Fwindowp):
8581 * window.c (Fwindow_live_p):
8582 * window.c (Fwindow_point):
8583 * window.c (Fdelete_window):
8584 * window.c (Fnext_window):
8585 * window.c (Fprevious_window):
8586 * window.c (Fother_window):
8587 * window.c (window_loop):
8588 * window.c (Fget_lru_window):
8589 * window.c (Fsplit_window):
8590 * window.c (Fenlarge_window):
8591 * window.c (Fenlarge_window_pixels):
8592 * window.c (Fshrink_window):
8593 * window.c (Fshrink_window_pixels):
8594 * window.c (change_window_height):
8595 * window.c (Fwindow_configuration_p):
8596 * window.c (Fcurrent_window_configuration):
8598 * casefiddle.c (casify_object):
8599 * casefiddle.c (Fupcase):
8600 * casefiddle.c (Fdowncase):
8601 * casefiddle.c (Fcapitalize):
8602 * casefiddle.c (Fupcase_initials):
8603 * casefiddle.c (casify_region_internal):
8604 * casefiddle.c (casify_region):
8605 * casefiddle.c (Fupcase_region):
8606 * casefiddle.c (Fdowncase_region):
8607 * casefiddle.c (Fcapitalize_region):
8608 * casefiddle.c (Fupcase_initials_region):
8609 * casefiddle.c (Fupcase_word):
8610 * casefiddle.c (Fdowncase_word):
8611 * casefiddle.c (Fcapitalize_word):
8612 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8613 Replace 0 with '\0' when working with bytes.
8614 Replace initial "(" with "\(" in docstrings.
8616 2000-11-01 Martin Buchholz <martin@xemacs.org>
8618 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8620 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8622 2000-10-31 Martin Buchholz <martin@xemacs.org>
8624 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8626 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8628 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8631 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8633 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8634 (inhibit_auto_save_session): New variable.
8635 (vars_of_fileio): Declare and initialize them.
8636 * fileio.c (Fdo_auto_save): Don't create session file if
8637 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8639 2000-10-31 Martin Buchholz <martin@xemacs.org>
8641 * sgiplay.c (play_internal): C++ compilability.
8642 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8643 * callproc.c (Fold_call_process_internal):
8644 Remove unused vars `env', `first'.
8645 * scrollbar.c (update_scrollbar_instance):
8646 #### unused var `current_window'.
8647 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8648 etc. within #ifdef NOT_YET.
8649 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8650 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8651 * specifier.c (specifier_instance):
8652 #### unused var `tag'.
8653 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8655 2000-10-27 Martin Buchholz <martin@xemacs.org>
8658 * fns.c (list_sort):
8659 * fns.c (Ffillarray):
8660 * fns.c (bytecode_nconc2):
8663 * fns.c (Fmapconcat):
8664 Be pedantically 64-bit correct. For the time when someone will
8665 want to have a list with length > 2**32.
8667 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8668 Work around MIPSpro compiler bug.
8670 * process-unix.c (unix_kill_child_process): Add snarky comment.
8671 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8673 * config.h.in: Oops, _getpt ==> _getpty
8675 2000-10-26 Martin Buchholz <martin@xemacs.org>
8679 Use void*, not char*, as return type of alloca().
8681 * alloc.c (free_marker): Side effect inside assert expression!
8683 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8685 * mule-charset.c (Fset_charset_ccl_program): To check
8686 if the given ccl program is valid, use setup_ccl_program()
8687 instead of CHECK_VECTOR().
8688 (Fmake_charset): Likewise.
8690 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8692 * faces.c (get_extent_fragment_face_cache_index):
8693 Fix cachel.merged_faces memory leak.
8695 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8697 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8698 Reset MSB of octets obtained by DECODE_SJIS
8699 because of the incompatibility with Emacs.
8700 (ccl_driver)<CCL_ENCODE_SJIS>:
8701 Set MSB of octets before passing them to
8702 ENCODE_SJIS because of the incompatibility
8705 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8707 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8708 (DECLARE_LRECORD): Undo the last change.
8709 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8711 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8713 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8714 the implementation to lrecord_implementations_table.
8716 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8718 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8719 initial value of `lrecord_type_##c_name' and
8720 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8721 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8722 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8723 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8724 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8726 2000-10-17 Martin Buchholz <martin@xemacs.org>
8728 * miscplay.c (sndcnv8S_2mono):
8729 (sndcnv2monounsigned):
8730 (sndcnvULaw_2linear):
8732 Remove implementation-defined behavior.
8734 2000-10-12 Martin Buchholz <martin@xemacs.org>
8736 * input-method-xlib.c: Warning suppression.
8738 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8740 * mule-ccl.c: Sync up with Emacs 21.0.90.
8741 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8743 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8745 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8746 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8747 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8748 leading char belongs to official 2-dimensional charset.
8749 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8750 write the given character as is. Otherwise,
8751 if it is a multibyte char, convert it by
8752 non_ascii_set_charptr_emchar, then write it.
8753 (CCL_WRITE_STRING): Likewise.
8754 (ccl_get_compiled_code): New function.
8755 (setup_ccl_program): When ccl_prog is invalid,
8757 (Fregister_code_conversion_map): New function.
8758 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8760 * mule-ccl.h: Sync up with Emacs 21.0.90.
8761 (Fregister_ccl_program): export it.
8763 * redisplay-msw.c (separate_textual_runs):
8764 If ccl program is not valid, don't do ccl conversion.
8766 * redisplay-x.c (separate_textual_runs): Ditto.
8768 * file-coding.c (Fmake_coding_system):
8769 When type is ccl and value is vector, register it
8770 with a proper symbol. And checks whether the
8771 given ccl program is valid.
8772 (mule_decode): When calling ccl_driver, if src indicates
8773 NULL pointer, set an empty string instead.
8774 (mule_encode): Likewise.
8776 2000-10-11 Martin Buchholz <martin@xemacs.org>
8778 The following large batch of changes gets us back to a state of
8779 C++ compilability. Extbyte is now a char, which means that
8780 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8782 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8784 * sound.c (Fplay_sound): Type correctness.
8786 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8787 (x_get_window_property): Type correctness.
8788 (receive_incremental_selection): unsigned char ==> Extbyte
8789 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8790 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
8791 (Fx_store_cutbuffer_internal): Type correctness.
8793 * process-unix.c (try_to_initialize_subtty): Type correctness.
8795 * objects-x.c (x_print_color_instance): Type correctness.
8796 (x_print_font_instance): Type correctness.
8797 (x_list_fonts): SExtbyte ==> Extbyte.
8798 (valid_x_font_name_p): SExtbyte ==> Extbyte.
8799 (x_find_charset_font): SExtbyte ==> Extbyte.
8800 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
8801 (truename_via_XListFonts): SExtbyte ==> Extbyte.
8802 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
8805 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
8806 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
8807 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
8808 (BYTE_C0_P): Use bit ops for char-signedness safety.
8809 (BYTE_C1_P): Use bit ops for char-signedness safety.
8810 (CHARSET_BY_LEADING_BYTE):
8811 (CHARSET_BY_ATTRIBUTES):
8812 Always use inline function.
8813 Use type_checking_assert.
8816 * mule-charset.c (non_ascii_charptr_copy_char):
8817 Modify to work with both ASCII and non-ASCII characters.
8818 Improve docs and variable names.
8819 Replace over-clever fall-through switch with a simple loop.
8820 (Lstream_get_emchar_1):
8821 Replace over-clever fall-through switch with a simple loop.
8823 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
8824 Warning suppression.
8826 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
8827 the return value of Lstream_getc, which could be EOF as well.
8829 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
8831 * lisp.h: Make Extbyte a char, not unsigned char, so that external
8832 APIs can be used on Extbytes without casts. Risky!
8836 * input-method-xlib.c (XIM_init_device):
8837 Use Xlib.h instead of IntrinsicP.h.
8838 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
8839 which will break in X11R7.
8840 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
8841 to call XRegisterIMInstantiateCallback with correct types.
8843 * gui-x.c (button_item_to_widget_value): Type correctness.
8845 * glyphs.c (bitmap_to_lisp_data): Type correctness.
8847 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
8848 (xbm_instantiate_1): Type correctness.
8849 (BUILD_GLYPH_INST): Type correctness.
8851 * fileio.c (Fsubstitute_in_file_name): Type correctness.
8854 (decode_coding_sjis):
8855 (decode_coding_big5):
8856 (decode_coding_ucs4):
8857 (decode_coding_utf8):
8858 (decode_coding_iso2022):
8859 (decode_coding_no_conversion):
8860 Make all decoding functions take an Extbyte * arg.
8861 (encode_coding_sjis):
8862 (encode_coding_big5):
8863 (encode_coding_ucs4):
8864 (encode_coding_utf8):
8865 (encode_coding_iso2022):
8866 (encode_coding_no_conversion):
8867 Make all encoding functions take a Bufbyte * arg.
8868 Use size_t instead of unsigned int for memory sizes.
8869 Only cast to unsigned char whenever dereferencing Extbyte *.
8871 * doc.c (unparesseuxify_doc_string): Type correctness.
8873 * console-x.c (split_up_display_spec):
8874 Rewrite without using details of internal string representation.
8875 (x_semi_canonicalize_device_connection): Type correctness.
8878 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
8879 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
8880 (HAVE_XFREE386): Removed.
8882 * buffer.h (DEC_CHARPTR): `const' correctness.
8883 (bufbyte_strcmp): New.
8884 (bufbyte_memcmp): New.
8886 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
8888 * buffer.h (XCHAR_OR_CHAR_INT):
8889 Always use inline function.
8890 Remove redundant type checking assert() - XINT will abort quite nicely.
8892 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
8894 * search.c (Freplace_match): Set newtext to an empty string.
8896 2000-10-10 Martin Buchholz <martin@xemacs.org>
8898 * s/decosf1-3.h: Remove #include of stropts.h
8899 * s/ptx.h: Remove #include of stropts.h
8900 * s/usg5-4.h: Remove #include of stropts.h
8903 Use stropts.h, not sys/stropts.h.
8904 Use strtio.h, not sys/strtio.h.
8906 2000-10-04 Martin Buchholz <martin@xemacs.org>
8908 * XEmacs 21.2.36 is released.
8910 2000-09-21 Andy Piper <andy@xemacs.org>
8912 * glyphs-x.c (x_redisplay_widget): make sure non-structural
8913 changes still involve copying the widget tree.
8914 (update_widget_face): make sure a change is register in the widget
8915 tree. Call update_tab_widget_face appropriately.
8916 (update_tab_widget_face): ditto.
8917 (x_tab_control_redisplay): make sure non-structural changes still
8918 involve copying the widget tree.
8920 2000-08-31 Daiki Ueno <ueno@unixuser.org>
8922 * lread.c (locate_file): Check the path element is non-nil.
8924 2000-10-02 Martin Buchholz <martin@xemacs.org>
8926 * lisp.h: Warning suppression for SCO compilers.
8928 * redisplay-tty.c (reset_tty_modes): Fix crash.
8929 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
8931 2000-09-27 Martin Buchholz <martin@xemacs.org>
8933 Big signal/process handling overhaul. Bugs fixed:
8934 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
8935 M-x comint-kill-subjob should work for both values nil and t of
8936 process-connection-type. It was broken on most platforms.
8937 Testing on Irix and Cygwin still needed. Other plaforms tested.
8938 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
8939 * process-unix.c: Signal/Process handling overhaul.
8940 (pty_name): make 64 bytes, as `expect' does, for paranoia.
8941 (allocate_pty): Use all available modern methods of allocating
8942 ptys, falling back to old style BSD allocation as a last resort.
8943 Use allegedly more secure Unix98 pty allocation by default.
8944 (allocate_pty_the_old_fashioned_way): New. the last resort.
8945 (unix_create_process): Push ptem, ldterm, ttcompat where
8946 available. Autoconfiscate.
8947 (try_to_initialize_subtty): New.
8948 (unix_kill_child_process): Proper signal handling for ptys on most
8949 platforms, using special knowledge of AIX, BSD, etc...
8950 (unix_create_process): Always disconnect_controlling_terminal() for
8951 subprocesses, whether using ptys or not.
8952 * process.h: Remove old getpt-dependent PTY code.
8953 * process.c (Fprocess_send_signal): New, obvious generic function.
8954 (decode_signal): New.
8955 (Finterrupt_process):
8959 (Fcontinue_process):
8960 (Fsignal_process): Use decode_signal.
8961 (process_send_signal):
8962 Many docstring corrections.
8963 Allow any signal to be sent to a process object.
8964 * config.h.in: Add symbols for big signal/process overhaul.
8965 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
8966 * sysproc.h: Include process-related headers, where available:
8967 sys/stropts.h sys/strtio.h pty.h libutil.h
8975 Remove old S&M pty stuff.
8976 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
8977 * systty.h: Simplify cpp hackery, improve comments.
8978 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
8980 * editfns.c (Fformat_time_string):
8981 Be a little more paranoid with the return value of ctime.
8983 * fileio.c (check_executable):
8985 Use symbolic constants X_OK, W_OK.
8987 * console-x.c (split_up_display_spec): Fix a warning.
8989 2000-10-02 Martin Buchholz <martin@xemacs.org>
8991 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
8992 * ntproc.c (sys_spawnve): make_string ==> build_string
8993 Small clarity improvements.
8995 2000-09-30 Martin Buchholz <martin@xemacs.org>
8997 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
8999 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9001 * config.h.in (HAVE_STRCASECMP): Remove.
9003 2000-09-29 Martin Buchholz <martin@xemacs.org>
9005 * redisplay-output.c (redisplay_output_pixmap):
9006 Cleaner and possibly more 64-bit correct code.
9008 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9010 * dumper.c (pdump_load_finish): move restoration of
9011 `noninteractive1' to emacs.c (main_1).
9012 * emacs.c (main_1): protect LISP-visible command-line flags
9015 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9017 * Makefile.in.in (versionclean): Use EXE_TARGET and
9018 DUMP_TARGET instead of literal program names.
9020 2000-09-20 Martin Buchholz <martin@xemacs.org>
9022 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9024 2000-09-19 Martin Buchholz <martin@xemacs.org>
9026 * *: Spelling mega-patch
9028 2000-09-19 Martin Buchholz <martin@xemacs.org>
9030 * fns.c (bad_bad_turtle):
9031 Delete "Eek!" comment, since we fixed the bug to which it refers.
9033 2000-09-16 Martin Buchholz <martin@xemacs.org>
9035 * alloca.c: Replace REGISTER with register.
9037 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9039 * file-coding.c (ucs_to_char): Use countof.
9041 2000-09-16 Martin Buchholz <martin@xemacs.org>
9043 * file-coding.c: (ucs_to_char):
9044 (complex_vars_of_file_coding):
9045 Use countof instead of sizeof.
9046 Use CHECK_NATNUM instead of CHECK_INT.
9048 * sysdep.c (strcasecmp): Remove.
9049 * device-x.c (ascii_strcasecmp): New.
9050 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9051 Avoid using non-standard non-portable strcasecmp.
9053 2000-09-16 Martin Buchholz <martin@xemacs.org>
9055 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9056 * font-lock.c: remove reference to emacsfns.h.
9057 * search.c: small doc improvement.
9058 * event-Xt.c: correct file names in comments.
9059 * console-x.h Correct file names in comments.
9060 * frame.c: Correct file names in comments.
9061 * event-stream.c: remove Energize from comments.
9063 2000-09-15 Martin Buchholz <martin@xemacs.org>
9065 * symeval.h (DEFERROR_STANDARD):
9068 (DEFSYMBOL_NO_DUMP):
9069 (DEFSYMBOL_MULTIWORD_PREDICATE):
9070 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9072 The construct &##name is not sensible C.
9073 Fixes compilation errors with Unixware native compiler.
9075 2000-09-14 Martin Buchholz <martin@xemacs.org>
9077 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9078 (next_frame_internal): Removed. We now just have next_frame.
9080 Write a simpler and cleaner one-pass algorithm.
9081 Remove called_from_delete_device arg and #ifdefed-out code.
9083 Renamed from prev_frame. Update callers.
9084 Cleaned up to have an analogous implementation to next_frame.
9085 (other_visible_frames_internal): Remove the
9086 called_from_delete_device bogus arg, and hence, remove this
9087 function. Just use other_visible_frames().
9089 * window.c (Fnext_window):
9091 Since next_frame() is guaranteed to return a frame, remove check
9092 for nil inserted in previous patch.
9095 Make code look more like Fnext_window.
9097 Respect the `console' arg when iterating through windows.
9098 Fixes bug: (get-buffer-window buffer t device) not respecting
9100 This function needs more work, as others have pointed out.
9102 * frame.h: Rename prev_frame to previous_frame.
9103 device_matches_console_spec no longer takes a `frame' arg.
9108 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9109 From "Golubev I. N." <gin@mo.msk.ru>.
9111 * make-src-depend: Fix typo.
9113 2000-09-13 Martin Buchholz <martin@xemacs.org>
9115 * window.c (Fnext_window):
9116 next_frame() might return nil, not a frame.
9118 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9120 * frame.c (next_frame_internal):
9121 We've passed a frame if we've passed its device.
9123 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9124 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9126 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9128 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9129 Allow option to suppress accelerators in menu/dialog items.
9130 (populate_or_checksum_helper): Pass dialog title through above.
9132 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9134 * event-msw.c (mswindows_key_to_emacs_keysym):
9135 Add "pause" key, fix "menu" key.
9137 2000-09-09 Martin Buchholz <martin@xemacs.org>
9139 * eval.c (reinit_vars_of_eval):
9140 Increase max_lisp_eval_depth to 1000,
9141 required for thai-xtis.el to byte-compile under some circumstances.
9143 2000-09-04 Martin Buchholz <martin@xemacs.org>
9145 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9148 2000-09-01 Martin Buchholz <martin@xemacs.org>
9150 * make-src-depend: Make the generated Makefiles smaller.
9152 * s/hpux.h (SETUP_SLAVE_PTY):
9153 Provide a %d in the format string for the errno argument.
9155 * editfns.c (Ftemp_directory):
9157 Avoid buffer overrun on very long file name.
9159 * input-method-xlib.c (XIM_init_device):
9160 6th parameter of XRegisterIMInstantiateCallback has different
9161 pointer types on different OSes, so simply cast to (void *).
9163 * unexhp9k800.c: Warning fixes. Fiddly changes.
9165 * sysdll.c (dll_open):
9166 shl_load will hang hard if passed a NULL filename.
9167 Simply return NULL for compatibility with dlopen.
9168 * sysdll.c: Conform to XEmacs coding standards.
9170 * sysdep.c (get_pty_max_bytes):
9171 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9173 2000-08-31 Martin Buchholz <martin@xemacs.org>
9175 * tooltalk.c: Add #include <syssignal.h>
9177 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9179 * s/hpux.h: Don't use undefined function sigunblock().
9181 2000-08-31 Martin Buchholz <martin@xemacs.org>
9183 * config.h.in: Add HAVE_BALLOON_HELP.
9184 * emacs.c: Use HAVE_BALLOON_HELP.
9185 * Makefile.in.in (x_objs):
9186 Make Balloon Help conditional on finding shape.h.
9188 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9190 * syntax.c (regex_emacs_buffer_p): New variable.
9191 * syntax.h (regex_emacs_buffer_p): extern.
9192 * search.c (looking_at_1):
9194 (fast_string_match):
9195 (search_buffer): Set regex_emacs_buffer_p.
9196 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9197 when before_dot, at_dot, after_dot.
9199 2000-08-23 Andy Piper <andy@xemacs.org>
9201 * gui-x.c (popup_selection_callback): Only set action_occurred
9202 when we really have an image instance.
9203 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9205 2000-08-23 Andy Piper <andy@xemacs.org>
9207 * gui-msw.c (mswindows_handle_gui_wm_command): set
9209 * gui-x.c (popup_selection_callback): ditto.
9211 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9212 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9213 (struct Lisp_Image_Instance): add action_occurred flag.
9215 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9216 (image_instance_changed): ditto.
9217 (reset_frame_subwindow_instance_cache): only unmap windows - do
9218 not remove them from the cache also.
9220 * glyphs-widget.c (tab_control_update): better debug.
9221 (progress_gauge_update): ditto.
9222 (layout_update): ditto.
9223 (layout_instantiate): ditto.
9224 (tab_control_order_only_changed): cope with null pending items.
9226 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9227 debug. Force selection of an item when an action occurred. Cope
9228 with null pending_items.
9229 (mswindows_progress_gauge_redisplay): better debug.
9230 * glyphs-x.c (x_tab_control_redisplay): ditto.
9232 * redisplay.c (redisplay_frame): reset the frame cache if the
9235 * window.c (Fset_window_configuration): potentially re-enable
9237 (window_unmap_subwindows): need to finalize instances here since
9238 it is only used in mark_window_as_deleted.
9240 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9242 * nas.c (SndOpenDataForReading):
9243 nas.c (WaveOpenDataForReading):
9244 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9245 Somehow escaped from the 2000-08-14 patch.
9247 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9249 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9250 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9252 2000-08-21 Andy Piper <andy@xemacs.org>
9254 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9255 window if it is not already displayed.
9257 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9258 it is not already displayed.
9260 * window.c (Fset_window_configuration): don't reset the frame
9263 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9264 instances from the frame cache if we are actually finalizing them.
9265 (reset_frame_subwindow_instance_cache): reset frame cache only
9266 after unmapping everything.
9267 (map_subwindow): set displayed flag after mapping.
9269 2000-08-21 Martin Buchholz <martin@xemacs.org>
9271 * data.c (indirect_function):
9272 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9274 * eval.c (function_argcount):
9275 Use original function when signaling errors.
9277 2000-08-18 Andy Piper <andy@xemacs.org>
9279 * frame.c (delete_frame_internal): use new
9280 free_frame_subwindow_instances name.
9282 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9283 (add_tab_item): make return type correct.
9284 (mswindows_tab_control_instantiate): assert index of tab.
9285 (mswindows_tab_control_redisplay): Re-code to use
9286 gui_item_equal_sans_selected and gui_item_list_find_selected.
9288 * glyphs-widget.c (tab_control_update): Correct comment.
9290 * window.c (window_unmap_subwindows): use new
9291 unmap_subwindow_instance_cache_mapper.
9292 (window_unmap_subwindows_cache_mapper): deleted.
9293 (Fset_window_configuration): comparisons should now be with
9294 EQ. Preserve the subwindow instance cache across configuration
9296 (allocate_window): ditto.
9297 (make_dummy_parent): ditto.
9299 * glyphs.c (free_frame_subwindow_instances): rename from
9300 free_frame_subwindow_instance_cache. finalize all instances rather
9301 than just those in the display cache.
9302 (finalize_all_subwindow_instances): walk windows unmapping and
9303 finalizing subwindows.
9304 (unmap_subwindow_instance_cache_mapper): moved from
9305 window.c. Allow finalization as well as unmapping.
9307 * gui.c (gui_item_list_find_selected): new function.
9309 * gui.h (gui_item_list_find_selected): declare.
9311 * glyphs-x.c (x_tab_control_redisplay): pick tab
9312 explicitly. Re-code to use gui_item_equal_sans_selected and
9313 gui_item_list_find_selected.
9315 * glyphs-x.h: add lwlib-utils.h
9317 * buffer.c (Frecord_buffer): undo previous change.
9319 2000-08-09 Vin Shelton <acs@xemacs.org>
9321 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9322 possible. Create temporary files more securely. The patch was
9323 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9324 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9325 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9328 2000-08-07 Ben Wing <ben@xemacs.org>
9330 * getloadavg.c: remove duplicate (and windows-breaking)
9331 includes of fcntl.h and sys/file.h.
9333 * nt.c: remove duplicate getloadavg() definition.
9335 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9338 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9340 * eval.c (function_argcount): If function needs to be autoloaded
9341 actually use the loaded definition.
9344 2000-08-05 Ben Wing <ben@xemacs.org>
9346 * getloadavg.c: add prototype for getloadavg(). remove
9347 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9348 of the code). remove duplicate header includes.
9350 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9352 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9353 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9354 useful load average.
9356 * alloc.c (reinit_alloc_once_early): removed references to
9357 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9358 the lisp vars are the only things referencing the malloc_sbrk_*
9359 vars, and they were already if 0'd out. these vars only exist
9360 in the older malloc.c, which is basically unused, and they're
9361 only for informational purposes.
9363 * m\*.h: removed useless VIRT_ADDR_VARIES.
9365 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9367 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9369 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9370 color if the image is a mono pixmap.
9372 2000-07-30 Ben Wing <ben@xemacs.org>
9374 * Makefile.in.in (release):
9377 * buffer.c (directory_is_current_directory):
9378 * dired-msw.c (mswindows_get_files):
9380 * dired.c (Fdirectory_files):
9381 * dired.c (file_name_completion_stat):
9382 * dired.c (Ffile_attributes):
9383 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9384 preprocessor tricks, to avoid problems on some machines
9387 * callproc.c (egetenv): GC docs.
9390 * console-msw.h (struct mswindows_dialog_id):
9391 * lrecord.h (lrecord_type):
9392 New object for use with MSW dialogs.
9394 * console.h (struct console_methods):
9395 New enable/disable frame methods, for proper modal dialogs.
9397 * device-msw.c (msprinter_default_printer): Fix to follow
9398 proper Mule conventions.
9401 * device-msw.c (signal_open_printer_error):
9402 * device-msw.c (msprinter_init_device):
9403 * device-msw.c (ensure_not_printing):
9404 * device-msw.c (plist_get_margin):
9405 * device-msw.c (Fmsprinter_select_settings):
9406 * device-msw.c (finalize_devmode):
9407 * device-msw.c (Fmsprinter_settings_despecialize):
9408 * device-msw.c (signal_enum_priner_error):
9409 * extents.c (decode_extent):
9410 * extents.c (decode_map_extents_flags):
9411 * extents.c (decode_extent_at_flag):
9412 * extents.c (Fextent_at):
9413 * extents.c (Fextents_at):
9414 * extents.c (symbol_to_glyph_layout):
9415 [[[[2]]]] Use structured errors.
9418 * dialog-msw.c (mswindows_is_dialog_msg):
9419 * dialog-msw.c (mark_mswindows_dialog_id):
9420 * dialog-msw.c (dialog_proc):
9421 * dialog-msw.c (handle_question_dialog_box):
9422 * dialog-msw.c (syms_of_dialog_mswindows):
9423 Define new object to clean up marking; use it as a dialog identifier.
9424 Call new delete-dialog-box-hook.
9426 * dialog-x.c (dbox_selection_callback):
9427 * dialog-x.c (dbox_descriptor_to_widget_value):
9428 * dialog-x.c (x_make_dialog_box_internal):
9429 Call new delete-dialog-box-hook.
9433 * dialog.c (syms_of_dialog):
9434 * dialog.c (vars_of_dialog):
9435 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9438 * eval.c (signal_call_debugger):
9439 when noninteractive, output stack traces on the console instead
9440 of in a (never-seen) buffer.
9442 * eval.c (signal_type_error):
9443 * eval.c (invalid_argument_2):
9445 new funs for use w/structured errors.
9448 * event-Xt.c (x_to_emacs_keysym):
9449 * event-Xt.c (describe_event):
9450 * event-Xt.c (emacs_Xt_event_handler):
9451 * event-Xt.c (vars_of_event_Xt):
9453 * event-msw.c (mswindows_wnd_proc):
9454 * event-msw.c (vars_of_event_mswindows):
9455 rename {x,mswindows}-debug-events to debug-{}-events for
9456 consistency with other debug-foo variables.
9459 document next-event more clearly.
9461 * fileio.c (Ffile_name_directory):
9462 * fileio.c (Ffile_name_nondirectory):
9463 * fileio.c (Funhandled_file_name_directory):
9464 * fileio.c (file_name_as_directory):
9465 * fileio.c (Ffile_name_as_directory):
9466 * fileio.c (directory_file_name):
9467 * fileio.c (Fdirectory_file_name):
9468 * fileio.c (Fmake_temp_name):
9469 * fileio.c (Ffile_truename):
9470 * fileio.c (Fsubstitute_in_file_name):
9471 * fileio.c (expand_and_dir_to_file):
9472 * fileio.c (barf_or_query_if_file_exists):
9473 * fileio.c (check_executable):
9474 * fileio.c (Ffile_exists_p):
9475 * fileio.c (Ffile_writable_p):
9476 * fileio.c (Ffile_directory_p):
9477 * fileio.c (Ffile_regular_p):
9478 * fileio.c (Ffile_modes):
9479 * fileio.c (Ffile_newer_than_file_p):
9480 * fileio.c (Fverify_visited_file_modtime):
9481 * fileio.c (Fset_visited_file_modtime):
9482 * fileio.c (auto_save_1):
9487 * frame-msw.c (mswindows_init_frame_1):
9488 * frame-msw.c (mswindows_enable_frame):
9489 * frame-msw.c (error_frame_unsizable):
9490 * frame-msw.c (msprinter_init_frame_1):
9491 * frame-msw.c (msprinter_init_frame_3):
9492 * frame-msw.c (console_type_create_frame_mswindows):
9494 implement new enable/disable frame methods.
9497 * frame-x.c (x_enable_frame):
9498 * frame-x.c (console_type_create_frame_x):
9499 implement new enable/disable frame methods.
9502 * frame.c (Fdisable_frame):
9503 * frame.c (syms_of_frame):
9504 * frame.h (struct frame):
9505 implement new enable/disable frame methods/functions.
9510 * glyphs-msw.c (mswindows_widget_instantiate):
9511 comment that initial-focus should be implemented.
9514 * glyphs-widget.c (check_valid_instantiator):
9515 * glyphs-widget.c (check_valid_orientation):
9516 * glyphs-widget.c (check_valid_tab_orientation):
9517 * glyphs-widget.c (check_valid_justification):
9518 * glyphs-widget.c (check_valid_border):
9519 * glyphs-widget.c (check_valid_callback):
9520 * glyphs-widget.c (check_valid_int_or_function):
9521 * glyphs-widget.c (check_valid_string_or_vector):
9522 * glyphs-widget.c (check_valid_item_list_1):
9523 * glyphs-widget.c (widget_validate):
9524 * glyphs-widget.c (combo_box_validate):
9525 * glyphs-widget.c (widget_instantiate):
9526 * glyphs-widget.c (syms_of_glyphs_widget):
9527 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9528 * glyphs-widget.c (image_instantiator_combo_box):
9529 * glyphs-widget.c (image_instantiator_scrollbar):
9530 * glyphs-widget.c (image_instantiator_tab_control):
9531 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9533 support (unimplemented) keyword initial-focus.
9534 reindent long macros.
9536 * glyphs-x.c (x_redisplay_widget):
9537 * glyphs-x.c (x_button_instantiate):
9538 * glyphs-x.c (x_button_redisplay):
9539 * glyphs-x.c (x_progress_gauge_instantiate):
9540 * glyphs-x.c (x_edit_field_instantiate):
9541 * glyphs-x.c (x_combo_box_instantiate):
9542 * glyphs-x.c (x_tab_control_instantiate):
9543 * glyphs-x.c (x_label_instantiate):
9545 * gui-x.c (button_item_to_widget_value):
9546 * gui-x.c (gui_items_to_widget_values_1):
9547 * gui-x.c (gui_item_children_to_widget_values):
9548 * gui-x.c (gui_items_to_widget_values):
9550 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9551 add new flag to gui-parsing routines to indicate whether
9552 accelerator specs should be supported.
9554 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9556 * glyphs.h (struct Lisp_Image_Instance):
9557 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9558 add initial-focus flag.
9561 * gui.c (syms_of_gui):
9562 * gui.c (vars_of_gui):
9563 clean up menu-no-selection-hook.
9566 support delete-dialog-box-hook.
9568 * lread.c (Fload_internal):
9569 * lread.c (locate_file_in_directory_mapper):
9573 * lrecord.h (struct toolbar_button):
9574 * lrecord.h (syms_of_toolbar):
9575 document how to create a new object.
9577 * menubar-msw.c (mswindows_char_is_accelerator):
9578 may be called on frames w/o menus.
9580 * menubar.c (vars_of_menubar):
9581 clean up :filter docs.
9588 * process-nt.c (validate_signal_number):
9589 * process-nt.c (signal_cannot_launch):
9590 * process-nt.c (nt_create_process):
9591 * process-nt.c (nt_send_process):
9592 * process-nt.c (nt_kill_child_process):
9593 * process-nt.c (nt_open_network_stream):
9594 * process-nt.c (syms_of_process_nt):
9596 delete quote-handling. call new lisp code that does it better.
9598 * process-unix.c (connect_to_file_descriptor):
9599 * process-unix.c (allocate_pty):
9600 * process-unix.c (unix_send_process):
9601 * process-unix.c (unix_kill_child_process):
9602 * process-unix.c (unix_open_network_stream):
9603 * process-unix.c (unix_open_multicast_group):
9607 * process.c (Fstart_process_internal):
9608 (2). need to canonicalize process path even if absolute.
9610 * select-msw.c (symbol_to_ms_cf):
9611 * select-msw.c (ms_cf_to_symbol):
9612 * select-msw.c (cf_is_autofreed):
9613 * select-msw.c (mswindows_destroy_selection):
9615 * select.c (syms_of_select):
9617 support dibv5, fix bugs. (from Mike Alexander)
9619 * select.c (Fget_selection_internal):
9620 * select.c (select_convert_out):
9623 * sysdep.c (xemacs_stat):
9628 but keep original stat() here because we provide encapsulation
9632 * sysfile.h (fstat):
9633 remove stat garbage.
9637 don't include tchar.h. it's inappropriate because it makes
9638 compile-time distinctions when we want runtime distinctions.
9639 (we provide our own tchar replacements)
9642 use default object printer for toolbar-button.
9645 make sure we don't encapsulate.
9647 * window.c (vars_of_window):
9648 emphasize that temp-buffer-show-hook is obsolete.
9650 2000-08-05 Martin Buchholz <martin@xemacs.org>
9652 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9653 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9655 * events.c (Fevent_timestamp_lessp):
9656 Not 64-bit clean. Use EMACS_INT, not int.
9658 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9660 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9661 unsigned int and changed the last enum to
9662 lrecord_type_last_built_in_type.
9663 (lrecord_implementations_table): changed prototype to know how
9664 long the array is supposed to be.
9665 (lrecord_type_count): new unsigned int to keep track of the
9666 current number of lisp lrecord types.
9667 (DEFINE_EXTERNAL_LRECORD):
9668 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9669 dynamic-modules to declare new lisp types. They are the same
9670 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9671 int for each new type, and increment lrecord_type_count by 1.
9673 * alloc.c (lrecord_implementations_table): Changed to reference
9674 lrecord_type_last_built_in_type for the size of the array.
9675 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9677 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9679 * glyphs.h (check_valid_item_list): Renamed from
9680 check_valid_item_list_1.
9682 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9684 * select.c (Qselect_coerce): New.
9685 * select.c (Vselection_coercion_alist): New.
9686 * select.c (syms_of_select): Declare.
9687 * select.c (get-selection-internal): Use it.
9688 Use the new select-coerce functionality.
9690 * select.c (select_coerce): New.
9691 * select.h (select_coerce): Declare.
9692 New function to coerce one type of data into another.
9694 2000-08-03 Martin Buchholz <martin@xemacs.org>
9696 * callproc.c (Fcall_process_internal):
9697 (Fcall_process_internal):
9698 * process-unix.c (unix_create_process):
9699 Save and restore the value of errno, so that error messages are accurate.
9701 2000-08-01 Martin Buchholz <martin@xemacs.org>
9703 * elhash.c (print_hash_table):
9704 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9705 Prettify docstrings and indentation.
9707 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9709 * window.c (Fwindow_pixel_edges): Subtract frame border and
9712 2000-07-31 Andy Piper <andy@xemacs.org>
9714 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9715 will acknowledge the change.
9717 * glyphs.h: declare tab_control_order_only_changed.
9719 * glyphs-x.c (x_tab_control_redisplay): use
9720 tab_control_order_only_changed.
9722 * glyphs-widget.c (tab_control_order_only_changed): new function.
9724 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9725 tab_control_order_only_changed.
9727 * gui.c (gui_item_equal_sans_selected): new function.
9728 (gui_item_equal): use it.
9730 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9731 :properties in favor of :items..
9733 * glyphs-widget.c (check_valid_item_list): rename from
9734 check_valid_item_list_1.
9735 (check_valid_item_list_1): renamed.
9736 (combo_box_validate): deprecate :properties in favor of :items.
9737 (widget_instantiate): ditto.
9738 (tab_control_update): ditto.
9739 (image_instantiator_combo_box): ditto.
9740 (image_instantiator_tree_view): ditto.
9741 (image_instantiator_tab_control): ditto.
9742 (layout_post_instantiate): remove dead code.
9744 * print.c (debug_print_no_newline): only write to debugger if in
9747 * elhash.c (Fmake_hash_table): update doc string.
9749 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9750 messages whilst in GC. This at least stops XEmacs crashing but has
9751 the potential for wierd behaviour.
9753 2000-07-31 Martin Buchholz <martin@xemacs.org>
9756 Make existence of s&m files optional.
9758 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9759 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9760 * s/gnu.h: Remove HAVE_GETLOADAVG.
9761 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9762 * s/sol2.h: Remove HAVE_GETLOADAVG.
9763 * lisp.h: Remove getloadavg() declaration.
9765 Include <sys/loadavg.h> if available.
9766 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9767 * config.h.in: Group together getloadavg()-related macros.
9768 Use only configure-time tests to detect getloadavg().
9770 2000-07-30 Martin Buchholz <martin@xemacs.org>
9772 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9774 2000-07-25 Andy Piper <andy@xemacs.org>
9776 * syswindows.h: add tchar.h for native builds.
9778 * frame.c (syms_of_frame): remove set-glyph-image.
9780 * general-slots.h: add Qset_glyph_image.
9782 * glyphs-widget.c (layout_update): add domain arg to
9784 (syms_of_glyphs_widget): remove set-glyph-image.
9786 2000-07-23 Ben Wing <ben@xemacs.org>
9788 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
9791 2000-07-22 Andy Piper <andy@xemacs.org>
9793 * symsinit.h: add syms_of_win32().
9795 * gui-msw.c (syms_of_gui_mswindows): remove
9796 Fmswindows_shell_execute.
9797 (Fmswindows_shell_execute): moved to win32.c.
9799 * emacs.c (main_1): add syms_of_win32 ().
9801 * win32.c (init_potentially_nonexistent_functions): rewrite in
9802 compiler-friendly terms.
9803 (Fmswindows_shell_execute): move here from gui-msw.c.
9804 (syms_of_win32): new.
9806 * device-msw.c (Fmswindows_printer_list): clean up args to
9808 Don't include tchar under cygwin or mingw.
9809 (msprinter_default_printer): make cygwin-friendly.
9811 2000-07-21 Andy Piper <andy@xemacs.org>
9813 * glyphs-widget.c (image_instantiator_tree_view): use tab
9814 control's update function.
9815 (layout_property): new function. Retrieve items.
9817 * glyphs-msw.c (mswindows_tree_view_redisplay): new
9818 function. Re-populate the tree view from the pending items.
9820 * glyphs.c (instantiate_image_instantiator): Make sure the domain
9821 is designated the parent if the domain is an image instance. This
9822 is needed so that dirtiness can be cascade up the hierarchy and
9823 thus for layout children to be redisplayed correctly.
9824 (allocate_image_instance): rename glyph -> parent.
9826 * redisplay.h: change redisplay_output_layout signature.
9828 * redisplay-msw.c (mswindows_output_display_block): use domain
9831 * redisplay-x.c (x_output_display_block): use domain arg.
9833 2000-07-10 Andy Piper <andy@xemacs.org>
9835 * window.c (Fset_window_configuration): add comment.
9837 * redisplay-output.c (compare_runes):
9838 (redisplay_output_subwindow): redisplay rather than update subwindow.
9839 (redisplay_output_layout): ditto.
9841 * redisplay-msw.c (mswindows_frame_output_end):
9842 (mswindows_frame_output_end): make defer window pos optional.
9844 * lisp.h: add Flast.
9846 * glyphs.h (struct image_instantiator_methods): add dest_mask top
9847 normalize method. Change update method to be for changed
9848 instantiators. Add redisplay method. Change signature of layout
9850 (struct Lisp_Image_Instance): add instantiator.
9851 (IMAGE_INSTANCE_INSTANTIATOR): new.
9852 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
9853 (XIMAGE_INSTANCE_INSTANTIATOR): new.
9854 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
9857 (find_instantiator_differences): new function.
9858 (Fset_instantiator_property): new convenience function.
9859 (check_image_instance_structure): strictly check for vector
9861 (normalize_image_instantiator): make non-static.
9862 (instantiate_image_instantiator): pass on dest_mask and use new
9863 signatures for image_instance_layout and friends.
9864 (mark_image_instance): mark the instantiator. Mark the subwindow
9865 face not the widget face.
9866 (image_instance_equal): add instantiator.
9867 (image_instance_hash): ditto.
9868 (allocate_image_instance): ditto.
9869 (Fset_image_instance_property): removed.
9870 (Fimage_instance_file_name): ditto.
9871 (Fcolorize_image_instance): ditto.
9872 (image_instance_layout): add offsets to be set.
9873 (update_image_instance): new function. update an image instance
9874 from its changed instantiator.
9875 (inherit_normalize): add dest_mask.
9876 (xbm_normalize): ditto.
9877 (xface_normalize): ditto.
9878 (xpm_normalize): ditto.
9879 (text_update): set_property -> update.
9880 (image_instantiate): use the glyph identity as a hash key, not the
9882 (glyph_width): use new image_instance_layout signature.
9883 (glyph_ascent): ditto.
9884 (glyph_descent): ditto.
9885 (glyph_height): ditto.
9886 (glyph_query_geometry): ressurrect.
9887 (glyph_layout): ditto.
9888 (redisplay_subwindow): update -> redisplay.
9889 (syms_of_glyphs): add Fset_instantiator_property.
9890 (image_instantiator_format_create): set_property -> update.
9893 (autodetect_normalize): add dest_maks to signature.
9894 (x_redisplay_subwindow): update -> redisplay.
9895 (x_redisplay_widget): ditto.
9896 (x_button_redisplay): ditto.
9897 (x_progress_gauge_redisplay): ditto.
9898 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
9900 (console_type_create_glyphs_x): update -> redisplay.
9901 (image_instantiator_format_create_glyphs_x): ditto.
9904 (check_valid_instantiator): disallow glyphs in the instantiator,
9905 they must now be vectors.
9906 (check_valid_instantiator_list): ditto.
9907 (glyph_instantiator_to_glyph): use internal symbol rather than
9909 (widget_update): renamed from widget_set_property. Call cascaded
9911 (redisplay_widget): renamed from update_widget.
9912 (widget_layout): image_instance_layout now takes position as well
9914 (widget_normalize): ditto.
9915 (widget_instantiate): ditto.
9916 (tab_control_query_geometry) ditto.:
9917 (tab_control_update): renamed from tab_control_set_property.
9918 (progress_gauge_update): set_property -> update.
9919 (layout_normalize): rewrite so that child instantiators are
9921 (layout_update): new function. Create glyphs from the normalized
9922 children and cope with any other layout keywords. We do not
9923 instantiate children here that will be take care of by
9924 redisplay_output_layout.
9925 (layout_instantiate): call layout_update and not much else.
9926 (layout_post_instantiate): not sure whether this is needed
9928 (layout_query_geometry): query glyph geometry rather than
9929 image_instance geometry.
9930 (layout_layout): set offsets from pass in parameters. Use glyph
9931 geometry and layout functions rather than image instance ones.
9932 (native_layout_layout): ditto.
9933 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
9934 (image_instantiator_widget): set_property -> update.
9935 (image_instantiator_buttons): ditto.
9936 (image_instantiator_progress_guage): ditto.
9937 (image_instantiator_tab_control): ditto.
9938 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
9939 (image_instantiator_layout): add update method.
9941 * glyphs-msw.c (bmp_normalize):
9942 (mswindows_resource_normalize): add dest_mask so that it can be
9943 proprogated by layout_normalize.
9944 (begin_defer_window_pos): make optional because it may not be the
9945 right thing to do and it introduces differences with X.
9946 (mswindows_unmap_subwindow): ditto.
9947 (mswindows_map_subwindow): ditto.
9948 (mswindows_redisplay_subwindow): renamed from
9949 mswindows_update_subwindow.
9950 (mswindows_redisplay_widget): ditto.
9951 (mswindows_button_redisplay): renamed from
9952 mswindows_button_update. Update is now what the instantiation
9953 function does for a changed instantiator.
9954 (mswindows_progress_gauge_instantiate): set the progress value
9955 here if appropriate.
9956 (mswindows_tab_control_redisplay): cope with re-ordering of the
9957 members of the tab widget by simply selecting the new top
9958 widget. This makes things appear ok if you click on a tab.
9959 (mswindows_combo_box_instantiate): image_instance_layout now takes
9960 position as well as size.
9961 (mswindows_progress_gauge_redisplay): renamed from
9962 mswindows_progress_gauge_update.
9963 (console_type_create_glyphs_mswindows): fix update -> redisplay.
9964 (image_instantiator_format_create_glyphs_mswindows): ditto.
9966 * glyphs-eimage.c (jpeg_normalize):
9969 (tiff_normalize): add dest_mask so that it can be proprogated by
9974 (hash_table_weakness_validate):
9975 (decode_hash_table_weakness):
9976 (Fhash_table_weakness):
9978 (syms_of_elhash): use Ben's naming scheme for hashtable types..
9980 * console.h (struct console_methods): move update_* to
9983 2000-07-20 Ben Wing <ben@xemacs.org>
9985 * *.[ch] (XSETOBJ): remove unused middle argument.
9986 lisp-disunion.h: correct wrap_object() to one argument.
9988 2000-07-15 Ben Wing <ben@xemacs.org>
9991 * s/cygwin32.h (CYGWIN_CONV_PATH):
9992 Add missing logb prototype for v1.1.
9993 Use post-b20 names and alias to pre-b20 names when pre-b20.
9995 * s/windowsnt.h: [5].
9997 2000-07-15 Ben Wing <ben@xemacs.org>
9999 * Makefile.in.in (x_objs):
10000 * Makefile.in.in (sheap_objs):
10001 * Makefile.in.in (objs):
10002 added win32.o, cosmetic cleanups.
10004 * alloc.c (Fmake_byte_code):
10005 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10006 etc. macros which declare their own args now.
10008 * alloc.c (syms_of_alloc):
10009 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10012 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10014 * buffer.c (Fget_file_buffer):
10015 Fixed GCPRO problem.
10017 * buffer.c (get_truename_buffer):
10018 Fixed comment about GC checking.
10020 * buffer.c (syms_of_buffer):
10021 Undeclared those dedicated frame funs.
10025 Define convenience macros for internal/external conversions.
10026 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10027 and Qenvironment_variable_encoding for cleaner code.
10030 Remove dedicated-frame; in lisp.
10032 * bytecode.c (funcall_compiled_function):
10035 * bytecode.c (syms_of_bytecode):
10039 * console-msw.c (mswindows_show_console): Rewrote.
10041 * console-msw.c (Fmswindows_debugging_output): New.
10042 Sends to OutputDebugString (special MSWin debugger interface).
10044 * console-msw.c (Fmswindows_message_box):
10045 Fixed stupid bugs so it works when called from kill-emacs.
10047 * console-msw.c (syms_of_console_mswindows):
10048 Declare Fmswindows_debugging_output.
10051 New MSWin prototypes.
10053 * console-msw.h (struct mswindows_frame):
10054 New entry last-click-mods for improved button-modifier support.
10056 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10057 New struct entry `popup' with corresponding accessor.
10060 * console-x.c (split_up_display_spec):
10061 * console-x.c (get_display_arg_connection):
10062 * console-x.c (x_semi_canonicalize_console_connection):
10063 * console-x.c (x_canonicalize_device_connection):
10064 [[[6]]]: Change char to more specific type.
10065 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10067 * console-x.c (x_semi_canonicalize_console_connection):
10068 * console-x.c (x_canonicalize_device_connection):
10069 [[[9]]]: Fix up error signalling to use new structured error system.
10072 [[[4]]]: Define codesys aliases:
10073 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10074 Qx_color_name_encoding, Qx_display_name_encoding.
10076 * console.h (struct console_methods):
10077 New method make_dialog_box_internal supersedes older
10078 popup_dialog_box method.
10081 Define many new errors, part of new structured errors.
10083 * data.c (init_errors_once_early):
10084 * data.c (syms_of_data):
10087 * device-msw.c (mswindows_init_device):
10088 [[[5]]]: Cleanup to support NT 3.51.
10090 * device-msw.c (decode_devmode): Cleanup.
10092 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10093 * device-msw.c (mswindows_handle_print_dialog_box):
10094 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10095 * device-msw.c (syms_of_device_mswindows):
10096 Delete the dialog box primitives recently introduced by Kirill and
10097 instead interface to general dialog box interface.
10100 * device-x.c (compute_x_app_name):
10101 * device-x.c (x_init_device):
10102 * device-x.c (Fx_valid_keysym_name_p):
10103 * device-x.c (Fx_set_font_path):
10107 * device.h (wrap_device): New.
10108 First of its kind; meant to replace XSETDEVICE.
10110 * dialog-msw.c: Many file-dialog symbols.
10112 * dialog-msw.c (mswindows_register_popup_frame): New.
10113 * dialog-msw.c (mswindows_is_dialog_msg): New.
10114 For supporting kbd traversal in dialog boxes.
10116 * dialog-msw.c (dialog_proc):
10117 Support hitting ESC in dialogs.
10119 * dialog-msw.c (struct):
10120 Common dialog box errors.
10122 * dialog-msw.c (handle_file_dialog_box): New.
10123 Add file dialog code.
10125 * dialog-msw.c (handle_question_dialog_box):
10126 Redo existing code to support new question dialog syntax.
10128 * dialog-msw.c (console_type_create_dialog_mswindows):
10129 We support new dialog console method.
10131 * dialog-msw.c (syms_of_dialog_mswindows):
10132 * dialog-msw.c (vars_of_dialog_mswindows):
10133 New file dialog symbols, vars.
10136 * dialog-x.c (maybe_run_dbox_text_callback):
10137 * dialog-x.c (dbox_descriptor_to_widget_value):
10138 * dialog-x.c (x_make_dialog_box_internal):
10139 * dialog-x.c (console_type_create_dialog_x):
10140 Mule-ize entire file.
10141 Redo to support question dialog syntax.
10145 * dialog.c (Fmake_dialog_box_internal):
10146 * dialog.c (syms_of_dialog):
10147 Kill old popup-dialog-box, replace with new primitive.
10148 Just call device method or signal error.
10150 * eldap.c (Fldap_open):
10151 * eldap.c (Fldap_search_basic):
10152 * eldap.c (Fldap_add):
10153 * eldap.c (Fldap_modify):
10158 * emacs.c (make_arg_list_1):
10159 * emacs.c (make_arg_list):
10160 Mule-ize call to dll_init().
10164 * emacs.c (make_argc_argv):
10165 * emacs.c (free_argc_argv):
10166 * emacs.c (init_cmdargs):
10167 * emacs.c (main_1):
10168 * emacs.c (Fkill_emacs):
10169 * emacs.c (Fdump_emacs):
10170 Update comments about what can be used in syms_* etc.
10171 Call init_win32() when necessary.
10172 Fix up MS Win dialog box in kill-buffer to actually work right.
10183 * eval.c (condition_case_3):
10185 * eval.c (function_argcount):
10186 * eval.c (funcall_lambda):
10189 * eval.c (type_error): New.
10190 * eval.c (maybe_type_error): New.
10191 * eval.c (continuable_type_error): New.
10192 * eval.c (maybe_continuable_type_error): New.
10193 * eval.c (type_error_with_frob): New.
10194 * eval.c (maybe_type_error_with_frob): New.
10195 * eval.c (continuable_type_error_with_frob): New.
10196 * eval.c (maybe_continuable_type_error_with_frob): New.
10197 New functions for use with structured errors.
10200 * event-Xt.c (x_event_to_emacs_event):
10201 Buttons are now modifiers too.
10203 * event-Xt.c (emacs_Xt_current_event_timestamp):
10204 Implement new event method.
10205 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10208 * event-msw.c (ntpipe_shove_writer): [5].
10209 * event-msw.c (mswindows_enqueue_mouse_button_event):
10210 * event-msw.c (mswindows_drain_windows_queue):
10211 * event-msw.c (mswindows_wnd_proc): [7].
10212 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10213 * event-msw.c (mswindows_modifier_state):
10214 Throughout: support new button modifiers.
10216 * event-msw.c (emacs_mswindows_current_event_timestamp):
10217 Implement new event method.
10218 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10221 * event-stream.c (event_stream_current_event_timestamp): New.
10222 * event-stream.c (maybe_kbd_translate): New functionality.
10223 * event-stream.c (vars_of_event_stream):
10224 Document new kbd-translate-table functionality.
10226 * event-stream.c (Fcurrent_event_timestamp): New.
10227 New primitive for use in fabricated events.
10228 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10230 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10233 * events.c (Fmake_event):
10234 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10238 * events.c (format_event_object): fix gcc warnings.
10240 * events.c (Fevent_timestamp): Document new primitives.
10242 * events.c (TIMESTAMP_HALFSPACE): New.
10244 * events.c (Fevent_timestamp_lessp): New. New primitive for
10245 comparing timestamps correctly (half-space algorithm).
10247 * events.c (Fevent_modifier_bits): Doc fix.
10249 * events.c (Fevent_modifiers): Major doc addition.
10250 * events.c (event_x_y_pixel_internal): Typo fix.
10251 * events.c (syms_of_events): Declare new primitives.
10254 Update long comment for button modifiers, timestamps.
10256 * events.h (struct event_stream):
10257 New current_event_timestamp method.
10260 * extents.c (extent_in_region_p):
10261 * extents.c (decode_extent):
10262 * extents.c (Fset_extent_parent):
10263 * extents.c (decode_map_extents_flags):
10267 * extents.c (struct extent_at_arg):
10268 * extents.c (decode_extent_at_flag):
10269 * extents.c (extent_at_mapper):
10270 * extents.c (extent_at_bytind):
10271 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10272 * extents.c (Fextents_at): New primitive. [9].
10273 * extents.c (symbol_to_glyph_layout): [9].
10274 Support new primitive `extents-at'.
10277 * extents.c (get_text_property_bytind):
10278 extent_at_bytind has another arg.
10281 * extents.c (syms_of_extents): New primitive.
10283 * file-coding.c (Fmake_coding_system): [1].
10284 * file-coding.c (subsidiary_coding_system): fix gcc warning
10285 * file-coding.c (syms_of_file_coding): [2].
10287 * fileio.c (Fexpand_file_name):
10288 * fileio.c (Fsysnetunam):
10289 * fileio.c (Ffile_exists_p):
10290 * fileio.c (Ffile_executable_p):
10291 * fileio.c (Fverify_visited_file_modtime):
10294 * fileio.c (syms_of_fileio): [2].
10296 * filelock.c (lock_file_1):
10297 * filelock.c (current_lock_owner):
10298 * filelock.c (lock_if_free):
10299 * filelock.c (lock_file):
10300 * filelock.c (unlock_file):
10303 * fns.c (concat): Fix gcc warning.
10306 * fns.c (Fold_member):
10308 * fns.c (Fold_memq):
10309 * fns.c (memq_no_quit):
10311 * fns.c (Fold_assoc):
10313 * fns.c (Fold_assq):
10314 * fns.c (assq_no_quit):
10316 * fns.c (Fold_rassoc):
10318 * fns.c (Fold_rassq):
10319 * fns.c (rassq_no_quit):
10321 * fns.c (Fold_delete):
10323 * fns.c (Fold_delq):
10324 * fns.c (delq_no_quit):
10325 * fns.c (Fremassoc):
10326 * fns.c (Fremassq):
10327 * fns.c (remassq_no_quit):
10328 * fns.c (Fremrassoc):
10329 * fns.c (Fremrassq):
10330 * fns.c (remrassq_no_quit):
10331 * fns.c (Freverse):
10335 * frame-msw.c (mswindows_init_frame_1):
10336 * frame-msw.c (mswindows_delete_frame):
10337 Register popups with dialog code so keyboard traversing works.
10339 * frame-tty.c (tty_raise_frame_no_select): [1].
10342 * frame-x.c (x_set_frame_text_value):
10343 * frame-x.c (x_set_frame_properties):
10344 * frame-x.c (x_create_widgets):
10348 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10350 * frame.h (wrap_frame): New.
10351 Macro like wrap_device.
10354 * general.c (SYMBOL):
10355 * general.c (syms_of_general):
10356 Major reorg. This is now just a wrapper and symbols themselves
10357 are listed in general-slots.h.
10359 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10360 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10362 * glyphs-msw.c (mswindows_native_layout_instantiate):
10363 Add DS_CONTROL so keyboard traversal will work.
10366 * glyphs-widget.c (syms_of_glyphs_widget):
10367 Move some symbols to general-slots.h.
10370 * glyphs-x.c (xbm_instantiate_1):
10371 * glyphs-x.c (x_xbm_instantiate):
10372 * glyphs-x.c (x_xface_instantiate):
10373 * glyphs-x.c (autodetect_instantiate):
10374 * glyphs-x.c (cursor_font_instantiate):
10375 * glyphs-x.c (x_update_widget):
10376 * glyphs-x.c (x_widget_instantiate):
10377 * glyphs.c (bitmap_to_lisp_data):
10378 * glyphs.c (pixmap_to_lisp_data):
10381 * glyphs.c (syms_of_glyphs):
10385 * gui-x.c (print_widget_value):
10386 * gui-x.c (menu_separator_style_and_to_external):
10387 * gui-x.c (add_accel_and_to_external):
10388 * gui-x.c (button_item_to_widget_value):
10389 * gui-x.c (gui_items_to_widget_values_1):
10390 * gui-x.c (gui_items_to_widget_values):
10391 * gui-x.c (syms_of_gui_x):
10392 * gui-x.c (vars_of_gui_x):
10393 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10397 Muleize, prototype changes matching gui-x.c.
10400 * gui.c (separator_string_p):
10401 * gui.c (gui_item_add_keyval_pair):
10402 * gui.c (make_gui_item_from_keywords_internal):
10403 * gui.c (signal_too_long_error):
10404 * gui.c (parse_gui_item_tree_item):
10405 * gui.c (syms_of_gui):
10406 * gui.c (vars_of_gui):
10408 menu-no-selection-hook moved here (used by MSWin).
10409 Move some symbols to general-slots.h.
10413 * insdel.c (get_buffer_pos_char):
10414 * insdel.c (get_buffer_range_char):
10417 * keymap.c (keymap_lookup_directly):
10418 * keymap.c (keymap_store):
10419 * keymap.c (ensure_meta_prefix_char_keymapp):
10420 * keymap.c (describe_map):
10422 Support new button modifiers.
10424 * lisp-disunion.h (wrap_object):
10425 * lisp-disunion.h (XSETOBJ):
10426 Rename make_obj to wrap_object.
10429 * lisp-union.h (make_int):
10430 * lisp-union.h (make_char):
10431 Support wrap_object.
10434 * lisp.h (LIST_LOOP):
10435 * lisp.h (EXTERNAL_LIST_LOOP):
10436 * lisp.h (LIST_LOOP_2):
10437 * lisp.h (EXTERNAL_LIST_LOOP_1):
10438 * lisp.h (EXTERNAL_LIST_LOOP_2):
10439 * lisp.h (EXTERNAL_LIST_LOOP_3):
10440 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10441 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10442 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10443 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10444 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10445 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10446 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10447 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10448 * lisp.h (struct Lisp_Symbol):
10449 * lisp.h (maybe_continuable_error_with_frob):
10450 Fix up section comments.
10451 Add new types for char to indicate usage.
10452 Delete symbols auto-generated from general-slots.h.
10453 Add prototypes for structured error functions.
10454 Add long comments describing looping macros and change interface
10455 so that lvalues are automatically declared.
10456 Add NO_DECLARE macro in case callers want to declare lvalues
10459 * lread.c (read_syntax_error):
10460 * lread.c (continuable_read_syntax_error):
10461 * lread.c (read_structure):
10462 * lread.c (sequence_reader):
10463 * lread.c (read_list_conser):
10464 * lread.c (read_compiled_function):
10465 Rename syntax_error and continuable_syntax_error to avoid clash
10466 with same-named structured error functions.
10468 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10469 * menubar-msw.c (populate_menu_add_item):
10470 * menubar-msw.c (populate_or_checksum_helper):
10475 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10476 Mule-ize whole file.
10478 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10480 * mule-charset.c (Fmake_charset):
10481 * mule-wnnfns.c (Fwnn_set_param):
10484 * ntproc.c (create_child):
10485 * ntproc.c (Fwin32_set_current_locale):
10486 Add comments portending doom.
10489 * objects-msw.c (old_font_enum_callback_2):
10490 * objects-msw.c (font_enum_callback_1):
10491 * objects-msw.c (mswindows_enumerate_fonts):
10495 * objects-x.c (allocate_nearest_color):
10496 * objects-x.c (x_parse_nearest_color):
10497 * objects-x.c (x_initialize_color_instance):
10498 * objects-x.c (x_print_color_instance):
10499 * objects-x.c (x_finalize_color_instance):
10500 * objects-x.c (x_valid_color_name_p):
10501 * objects-x.c (x_initialize_font_instance):
10502 * objects-x.c (x_print_font_instance):
10503 * objects-x.c (valid_x_font_name_p):
10504 * objects-x.c (truename_via_FONT_prop):
10505 * objects-x.c (truename_via_random_props):
10506 * objects-x.c (truename_via_XListFonts):
10507 * objects-x.c (x_font_truename):
10508 * objects-x.c (x_font_instance_truename):
10509 * objects-x.c (x_font_instance_properties):
10510 * objects-x.c (x_list_fonts):
10511 * objects-x.c (x_find_charset_font):
10512 Mule-ize entire file.
10519 * print.c (std_handle_out_external):
10520 * print.c (debug_print_no_newline):
10521 * print.c (syms_of_print):
10522 Output to all debugger kinds in debug-print.
10523 Fix console-output code under MSWin to actually work.
10525 * process-nt.c (send_signal):
10526 * process-nt.c (nt_create_process):
10527 Use newer Unicode macros.
10529 * process-unix.c (unix_create_process):
10530 * process-unix.c (unix_canonicalize_host_name):
10531 * process-unix.c (unix_open_network_stream):
10537 * search.c (syms_of_search):
10540 * select-msw.c (mswindows_destroy_selection):
10543 * select-x.c (symbol_to_x_atom):
10546 * select.c (syms_of_select):
10549 * sound.c (Fplay_sound_file):
10553 * specifier.c (decode_specifier_type):
10554 * specifier.c (Fvalid_specifier_locale_type_p):
10555 * specifier.c (check_valid_locale_or_locale_type):
10556 * specifier.c (decode_locale):
10557 * specifier.c (decode_locale_type):
10558 * specifier.c (decode_locale_list):
10559 * specifier.c (check_valid_domain):
10560 * specifier.c (decode_specifier_tag_set):
10561 * specifier.c (Fcanonicalize_tag_set):
10562 * specifier.c (Fdefine_specifier_tag):
10563 * specifier.c (Fspecifier_tag_predicate):
10564 * specifier.c (check_valid_inst_list):
10565 * specifier.c (check_valid_spec_list):
10566 * specifier.c (decode_how_to_add_specification):
10567 * specifier.c (check_modifiable_specifier):
10568 * specifier.c (specifier_add_spec):
10569 * specifier.c (boolean_validate):
10570 * specifier.c (display_table_validate):
10573 * specifier.c (syms_of_specifier):
10574 Move some symbols to general-slots.h.
10578 * symbols.c (Fmapatoms):
10579 * symbols.c (Fapropos_internal):
10582 * symbols.c (set_default_buffer_slot_variable):
10583 * symbols.c (set_default_console_slot_variable):
10586 * symbols.c (defsymbol_massage_name_1):
10587 * symbols.c (defkeyword_massage_name):
10588 * symbols.c (deferror_1):
10589 * symbols.c (deferror):
10590 * symbols.c (deferror_massage_name_and_message):
10592 * symeval.h (DEFSYMBOL):
10593 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10595 * symbols.c (syms_of_symbols):
10599 * symsinit.h (init_win32): New.
10600 Also new is syms_of_dialog_mswindows.
10603 Add new Unicode macros, missing Cygwin wide-char functions,
10604 convenience conversion macros for Qmswindows_tstr, macros for
10605 encapsulating required MSWin <-> Cygwin filename conversions,
10606 prototype for dynamically-extracted (not in NT 3.51) functions.
10611 * tooltalk.c (Fadd_tooltalk_message_arg):
10612 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10613 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10616 * tooltalk.c (syms_of_tooltalk):
10620 * unexnt.c (unexec):
10621 Fix up headers, declaration of unexec() to be more standard.
10623 2000-07-20 Martin Buchholz <martin@xemacs.org>
10625 * offix.h: Revert change to guard macros - they're used in offix.c!
10627 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10629 * lisp.h: Defsubred Fdelete.
10631 * console-msw.h: (msprinter_default_printer): Added.
10633 * console-msw.c (msprinter_canonicalize_console_connection):
10634 (msprinter_canonicalize_device_connection): Added.
10636 * device-msw.c (msprinter_default_printer):
10637 (Fmswingows_get_default_printer):
10638 (signal_enum_priner_error):
10639 (Fmswingows_printer_list): Added.
10641 2000-07-19 Martin Buchholz <martin@xemacs.org>
10643 * XEmacs 21.2.35 is released.
10645 2000-07-19 Martin Buchholz <martin@xemacs.org>
10647 * select-x.c (x_handle_selection_request):
10648 Text selected in xemacs and pasted into xterm failed to appear.
10649 Spelling fixes and cosmetic changes.
10651 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10653 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10654 XEmacs frame (fix for doubling chars in dialog boxes).
10656 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10658 * select.c (select_convert_in, select_convert_out):
10659 Don't call intern() every time.
10661 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10662 * select.c (vars_of_select): Initialise them.
10664 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10666 * select.c (selection-coercible-types): New.
10668 * select.c (own-selection-internal):
10669 * select.c (get-selection-internal):
10670 MULE bug fix - these should default to COMPOUND_TEXT and not
10671 STRING for MULE. I think.
10673 * select.c (select_convert_out): Use selection-coercible-types
10674 to find types that we can attempt to perform coercions on.
10676 2000-07-18 Martin Buchholz <martin@xemacs.org>
10680 Add coding: cookie to identify encoding.
10682 * mule-canna.c (CANNA_mode_keys): make static.
10683 Use proper prototypes, even for functions of no arguments.
10684 Remove external prototype for Fding().
10686 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10688 * select.c (syms_of_select): Add missing DEFSUBR.
10690 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10692 * select.c (get_selection_internal, own_selection_internal):
10693 Make the type default to STRING, rather than placing a nil type
10694 into Vselection_alist.
10696 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10698 * gpmevent.c (tty_selection_exists_p):
10699 * gpmevent.c (tty_own_selection):
10700 Updated parameter lists.
10702 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10704 * select.h (selection-alist): Removed declaration.
10706 * select.h (get_local_selection):
10707 * select.c (get_local_selection):
10710 * select.h (convert_selection): Removed declaration.
10711 * select.c (convert_selection): Removed.
10712 This function belongs in Lisp.
10714 * select.h (select_convert_in): Declare.
10715 * select.h (select_convert_out): Declare.
10716 * select.c (select_convert_in): New.
10717 * select.c (select_convert_out): New.
10718 New conversion functions for other files to call.
10720 * select.h (select_notify_buffer_kill): Declare.
10721 * select.c (select_notify_buffer_kill): New.
10722 New functions that get called from kill-buffer.
10724 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10725 X-specific lisp code.
10727 * select.h: Declare some of the lisp-visible functions for
10730 * select.c (clean_local_selection_data): Removed. This was
10731 a disgusting function, and previously should have been in
10732 select-x.c in any case. The functionality is now provided
10733 in select-convert-from-integer (select.el).
10735 * select.c (available-selection-types): Fixed stupidity where
10736 INTEGER and ATOM got added twice. Also add STRING when we see an
10739 * select.c (get-selection-internal): Removed symbol stripping. No
10740 longer causes conversion when data comes from the internal cache.
10742 * select.c (syms_of_select): Added new functions.
10744 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10745 error checking - previously this called abort!
10747 * select-x.c (x_own_selection): Changed comment.
10749 * select-x.c (x_handle_selection_request): Use select_convert_out.
10750 Don't mess with selection-alist; it's an internal variable of select.c.
10752 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10754 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10755 rather than messing with selection-alist.
10757 * select-msw.c (mswindows_get_foreign_selection):
10758 Use TO_INTERNAL_FORMAT rather than hacking.
10760 2000-07-14 Martin Buchholz <martin@xemacs.org>
10762 * process-unix.c (unix_open_multicast_group):
10763 (unix_open_multicast_group): Remove useless casts.
10765 2000-07-13 Martin Buchholz <martin@xemacs.org>
10767 * sound.c (Fplay_sound): Fix `unused variable' warning.
10769 * emacs.c (main): Use correct type for _environ on SCO5.
10771 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10773 * console.h (own_selection_method):
10774 * console.h (selection_exists_p_method):
10775 * console.h (available_selection_types_method): New.
10776 * console.h (register_selection_data_type_method): New.
10777 * console.h (selection_data_type_name): New.
10779 * console-msw.h (mswindows_destroy_selection): Declare it. New
10780 function & alist to track GlobalAlloc()'d handles that need
10781 releasing when the clipboard data gets replaced or emptied.
10783 * event-msw.c (mswindows_wnd_proc): Call it.
10785 * lisp.h, general.c (Qappend): New symbol representing a
10788 * select.c (own-selection-internal):
10789 * select.c (selection-exists-p):
10790 * select.c (available-selection-types): New.
10791 * select.c (register-selection-data-type): New.
10792 * select.c (selection-data-type-name): New. New functions to deal
10793 with device-specific selection data formats.
10794 * select.c (selection-converter-out-alist): Renamed.
10795 * select.c (selection-converter-in-alist): New.
10796 * select.c (selection-appender-alist): New. Added new alists.
10797 * select.c (syms_of_select, vars_of_select): Added new symbols &
10799 * select.c (get_local_selection): Split.
10800 * select.c: Removed spurious type checking - selections may now be
10801 of any type, not just strings.
10802 * select.c (own-selection-internal):
10804 * select.h, select.c (convert_selection): New. Created
10805 convert_selection() function based on get_local_selection().
10806 * select.h, select.c (QCF_*): New symbols representing mswindows
10808 * select.h, select.c (Qreplace_all, Qreplace_existing): New
10809 symbols representing `how-to-add' modes.
10811 * select-msw.c (x_sym_p): New.
10812 * select-msw.c (symbol_to_ms_cf): New.
10813 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
10814 symbols & clipboard formats. Can also handle string names.
10815 * select-msw.c (mswindows_own_selection):
10816 * select-msw.c (mswindows_selection_exists_p):
10817 Added `data-type' parameter. Use it.
10818 * select-msw.c (mswindows_available_selection_types): New.
10819 * select-msw.c (mswindows_register_selection_data_type): New.
10820 * select-msw.c (mswindows_selection_data_type_name): New.
10821 * select-msw.c (mswindows_own_selection):
10822 * select-msw.c (mswindows_get_foreign_selection):
10823 * select-msw.c (mswindows_selection_exists_p): Rewrote.
10824 * select-msw.c (console_create_select_mswindows): Added new methods.
10825 * select-msw.c (mswindows_destroy_selection): New.
10826 * select-msw.c (Vhandle_alist): New list.
10827 * select-msw.c (mswindows_own_selection):
10829 * select-x.c (x_own_selection):
10830 * select-x.c (x_selection_exists_p):
10831 * select-x.c: Added some comments about maybe using new
10833 * select-x.c (x_own_selection):
10835 * specifier.c: Remove definition of Qappend (now in general.c)
10836 * specifier.c (syms_of_specifier): Remove Qappend.
10838 2000-07-12 Martin Buchholz <martin@xemacs.org>
10840 * config.h.in: Add socklen_t.
10842 * s/decosf4-0.h: No special compiler flags needed or desired.
10843 In particular, undefine _BSD for DEC OSF 4.0.
10845 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10847 * redisplay-msw.c (msprinter_frame_output_end): Added.
10848 (console_type_create_redisplay_mswindows): Referred the above.
10850 * frame.c (setup_frame_without_minibuffer): Do not create a
10851 default minibuffer frame on a printer device.
10853 * frame-msw.c (apply_dc_geometry): Added.
10854 (msprinter_start_page):
10855 (msprinter_init_frame_3):
10856 (msprinter_eject_page): Use it.
10858 * console-msw.h (struct msprinter_frame): Added pix_left and top,
10859 and removed residual duplex and orientation properties.
10861 2000-07-11 Martin Buchholz <martin@xemacs.org>
10863 * eval.c (function_argcount): Work around a DEC CC compiler bug.
10865 * unexalpha.c: Remove system prototypes from C sources!
10867 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
10869 * eval.c: Remove references to M-x edit-options in DEFUNs for
10870 `defvar' and `defconst'.
10872 2000-07-09 Martin Buchholz <martin@xemacs.org>
10874 * config.h.in: Remove SMART_INCLUDE hackery.
10876 PostgreSQL hacking:
10877 * config.h.in: Don't use SMART_INCLUDE.
10879 * postgresql.h: Include libpq-fe.h here. Fix typo.
10880 * inline.c: Simply #include "postgresql.h"
10882 - Don't use SMART_INCLUDE
10883 - Use simply "const".
10884 - Use standard doc string conventions.
10885 - Use correct type for result of PQstatus.
10887 2000-07-09 Martin Buchholz <martin@xemacs.org>
10889 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
10891 C++ compilation changes.
10892 * config.h.in (EXTERN_C): Define.
10893 * config.h.in (not): This is also a C++ keyword.
10894 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
10895 * cm.c: Use EXTERN_C.
10896 * redisplay-tty.c: Use EXTERN_C.
10897 * sysdep.c: Use EXTERN_C. Remove Gould support.
10899 2000-07-09 Martin Buchholz <martin@xemacs.org>
10901 * general.c: Remove duplicate definition for Qfunction.
10903 2000-07-08 Ben Wing <ben@xemacs.org>
10905 * device-msw.c (msprinter_init_device):
10906 * device-msw.c (sync_printer_with_devmode):
10907 * device-msw.c (handle_devmode_changes):
10908 * device-msw.c (print_dialog_worker):
10909 * device-msw.c (Fmsprinter_apply_settings):
10910 * device-msw.c (hash_devmode):
10911 * device-msw.c (Fmsprinter_settings_despecialize):
10912 use Qmswindows_tstr, not Qctext.
10914 * vm-limit.c (check_memory_limits):
10915 avoid infinite loop printing warning messages.
10917 2000-07-05 Craig Lanning <lanning@scra.org>
10919 * Makefile.in.in: Add support for including the Windows resources
10920 when building with the cygwin and mingw targets.
10922 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
10923 not set or not correct.
10924 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
10925 (init_initial_directory): Don't try to use $PWD on the
10926 WIN32_NATIVE target.
10929 [[Add -mwindows to eliminate console window.]] not required --ben
10930 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10931 (MAIL_USE_POP): removed; now handled by configure.
10933 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
10934 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
10935 (HAVE_NATIVE_SOUND): removed; now handled by configure.
10936 (MAIL_USE_POP): removed; now handled by configure.
10937 (ENCAPSULATE_STAT): from Dan Holmsand, added.
10938 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
10939 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
10941 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
10942 up from <winsock.h> via systime.h.
10943 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
10944 (getpagesize): from Dan Holmsand, added.
10945 Added #endif which was left dangling by Ben's mega patch; added
10946 comment to help prevent this in the future.
10948 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
10950 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10952 * console-msw.h (struct mswindows_device): Removed unnecessary
10953 cached device geometry values.
10954 Added update_tick and an accessor macro.
10955 (Lisp_Devmode): Added lrecord declaration.
10956 (struct msprinter_device): Contain devmode as a Lisp object.
10957 Added mswindows_get_selected_frame_hwnd();
10959 * console.h (struct console_methods): Indentation nitpicking.
10961 * device-msw.c (mswindows_init_device): Do not initialize geometry
10962 cache. Initialize update tick.
10963 (mswindows_device_system_metrics): Ask the device for its geometry.
10964 (global_free_2_maybe):
10965 (devmode_to_hglobal):
10966 (handle_printer_changes):
10967 (ensure_not_printing):
10968 (print_dialog_worker):
10969 (Fmsprinter_print_setup_dialog):
10970 (Fmsprinter_print_dialog):
10971 (plist_get_margin):
10972 (plist_set_margin):
10973 (Fmsprinter_page_setup_dialog): Added functions.
10974 (sync_printer_with_devmode):
10975 (handle_devmode_changes):
10976 (Fmsprinter_get_settings):
10977 (Fmsprinter_select_settings):
10978 (Fmsprinter_apply_settings):
10979 (allocate_devmode):
10980 (Fmsprinter_settings_copy):
10981 (Fmsprinter_settings_despecialize):
10983 (finalize_devmode):
10985 (hash_devmode): Added functions
10986 (syms_of_device_mswindows): Init devmode lrecord class.
10988 * device.h: Added an exfun for find-device.
10990 * event-msw.c (mswindows_wnd_proc): Do not update the cached
10991 geometry; although, recreate the device compatible DC.
10993 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
10994 (msprinter_init_frame_3):
10995 (msprinter_frame_property):
10996 (msprinter_internal_frame_property_p):
10997 (msprinter_frame_properties):
10998 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
10999 print job properties (will move to device settings).
11001 * lisp.h: Added symbols.
11003 * general.c (syms_of_general): Declared them.
11005 * hash.c (string_hash): Added.
11007 * lrecord.h (lrecord_type): Added devmode lrecord type.
11009 2000-07-02 Mike Sperber <mike@xemacs.org>
11011 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11014 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11016 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11019 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11021 * data.c (Fstring_to_number): Don't recognize floating point if
11024 2000-06-22 Martin Buchholz <martin@xemacs.org>
11026 * glyphs-widget.c (tab_control_query_geometry):
11027 (widget_query_geometry):
11028 (button_query_geometry):
11029 * glyphs.c (text_query_geometry):
11030 Enforce type correctness.
11032 2000-06-18 Martin Buchholz <martin@xemacs.org>
11034 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11035 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11037 2000-06-17 Martin Buchholz <martin@xemacs.org>
11039 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11040 conflicts with gcc's fixincluded version of FOO.h.
11042 * glyphs.h (image_instance_geometry): Remove trailing `,'
11044 2000-06-08 Mike Alexander <mta@arbortext.com>
11046 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11047 (shove_thread): Don't write the same output twice
11048 (make_ntpipe_output_stream): Increase priority of shove thread
11049 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11051 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11054 2000-06-12 Ben Wing <ben@xemacs.org>
11056 * s\mingw32.h (sigset):
11057 * s\windowsnt.h (sigset):
11058 rename msw_ to mswindows_ for consistency with general convention.
11060 2000-06-12 Ben Wing <ben@xemacs.org>
11063 * console-msw.c (mswindows_get_console_hwnd):
11064 * console-msw.c (mswindows_ensure_console_allocated):
11065 * console-msw.c (mswindows_hide_console):
11066 * console-msw.c (mswindows_show_console):
11067 * console-msw.c (mswindows_ensure_console_buffered):
11068 * console-msw.c (mswindows_output_console_string):
11069 * console-msw.c (mswindows_windows9x_p):
11071 * device-msw.c (mswindows_get_workspace_coords):
11072 * device-msw.c (mswindows_device_system_metrics):
11073 * dialog-msw.c (mswindows_popup_dialog_box):
11074 * event-msw.c (mswindows_wnd_proc):
11075 * frame-msw.c (mswindows_size_frame_internal):
11076 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11077 * menubar-msw.c (displayable_menu_item):
11078 * menubar-msw.c (mswindows_char_is_accelerator):
11080 * nt.c (mswindows_sigset):
11081 * nt.c (mswindows_sigrelse):
11082 * nt.c (mswindows_sigpause):
11083 * nt.c (mswindows_raise):
11084 * nt.c (timer_proc):
11086 * ntproc.c (find_child_console):
11087 * ntproc.c (sys_kill):
11089 * print.c (std_handle_out_external):
11090 * process-nt.c (find_child_console):
11091 * process-nt.c (send_signal_the_95_way):
11092 * process-nt.c (ensure_console_window_exists):
11093 * process-nt.c (nt_create_process):
11095 rename msw_ to mswindows_ for consistency with general convention.
11099 include nt.h, not syswindows.h.
11101 * nt.c (mswindows_fstat):
11102 * nt.c (mswindows_stat):
11103 prefix mswindows_ instead of attempting to directly override the
11104 library functions. fix declarations.
11107 include syswindows.h. move some sysdep.h stuff here.
11110 include syswindows.h, not <windows.h>.
11118 * sysdep.c (sys_fstat):
11119 * sysdep.c (sys_stat):
11120 call mswindows versions when appropriate.
11123 move mswin decls to nt.h.
11126 add long comment describing appropriate use of the various windows
11129 2000-06-11 Ben Wing <ben@xemacs.org>
11131 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11133 2000-06-10 Ben Wing <ben@xemacs.org>
11135 * Makefile.in.in (release):
11136 Correction to make sure xemacs.exe always dumped when correct.
11140 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11142 * buffer.c (set_buffer_internal):
11143 [[[[2]]]]: Remove HAVE_FEP code.
11145 * buffer.c (init_initial_directory):
11149 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11153 * callproc.c (call_process_cleanup):
11154 * callproc.c (Fold_call_process_internal):
11155 * callproc.c (child_setup):
11156 * callproc.c (getenv_internal):
11157 * callproc.c (init_callproc):
11158 * callproc.c (vars_of_callproc):
11159 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11160 __CYGWIN32__ -> CYGWIN.
11161 DOS_NT -> WIN32_NATIVE.
11162 Remove MSDOS support/references, converting to WIN32_NATIVE
11164 __MINGW32__ -> MINGW.
11165 Fix windows.h includes.
11166 Remove bogus HAVE_NTGUI.
11172 mswindows_message_outputted added for use in allowing startup
11173 errors on the console to be seen.
11175 * console-msw.c (msw_ensure_console_allocated):
11176 * console-msw.c (msw_output_console_string):
11177 * console-msw.c (DHEADER):
11178 * console-msw.c (DOPAQUE_DATA):
11179 * console-msw.c (DEVENT):
11180 * console-msw.c (DCONS):
11181 * console-msw.c (DCONSCDR):
11182 * console-msw.c (DSTRING):
11183 * console-msw.c (DVECTOR):
11184 * console-msw.c (DSYMBOL):
11185 * console-msw.c (DSYMNAME):
11188 * console-stream.c (stream_init_console):
11189 Fix text/binary problems.
11192 * device-msw.c (mswindows_finish_init_device):
11193 * device-msw.c (mswindows_delete_device):
11196 * device.c (handle_asynch_device_change):
11200 * dgif_lib.c (DGifOpenFileName):
11201 * dgif_lib.c (DGifOpenFileHandle):
11202 * dgif_lib.c (DGifGetLine):
11203 * dgif_lib.c (DGifGetPixel):
11204 Added config.h/lisp.h, fix up includes.
11211 * dired.c (file_name_completion):
11212 * dired.c (Ffile_attributes):
11213 * dired.c (syms_of_dired):
11217 * dumper.c (pdump_file_unmap):
11218 * dumper.c (pdump_load):
11222 * editfns.c (Ftemp_directory):
11223 * editfns.c (user_login_name):
11224 * editfns.c (Fuser_real_login_name):
11225 * editfns.c (get_home_directory):
11228 * elhash.c (finish_marking_weak_hash_tables):
11229 [[[[5]]]]: Fix GCC warnings.
11232 * emacs.c (mswindows_handle_hardware_exceptions):
11233 * emacs.c (make_arg_list_1):
11234 * emacs.c (main_1):
11235 * emacs.c (Fkill_emacs):
11236 * emacs.c (Fdump_emacs):
11238 Fix problems with nested crashes, add long comment.
11240 * event-Xt.c (init_event_Xt_late):
11244 * event-msw.c (mswindows_dde_callback):
11245 * event-msw.c (mswindows_handle_sticky_modifiers):
11246 * event-msw.c (mswindows_wnd_proc):
11250 * events.c (character_to_event):
11254 * fileio.c (Ffile_name_directory):
11255 * fileio.c (Ffile_name_nondirectory):
11256 * fileio.c (directory_file_name):
11257 * fileio.c (Fexpand_file_name):
11258 * fileio.c (Fsubstitute_in_file_name):
11259 * fileio.c (Ffile_name_absolute_p):
11260 * fileio.c (check_executable):
11261 * fileio.c (Ffile_readable_p):
11262 * fileio.c (Ffile_accessible_directory_p):
11263 * fileio.c (Ffile_modes):
11264 * fileio.c (Funix_sync):
11265 * fileio.c (vars_of_fileio):
11268 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11270 Expand getdefdir defn.
11271 Fix bogus rename() comment.
11273 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11274 to use standard XEmacs include files, e.g. sysfile.h, rather
11275 than system-specific includes.
11281 * frame.c (vars_of_frame):
11285 * getloadavg.c (getloadavg):
11287 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11288 (We don't use it elsewhere in the code; just add a comment.)
11295 * glyphs-msw.c (mswindows_resource_instantiate):
11298 * glyphs-x.c (x_native_layout_instantiate):
11301 * gui-msw.c (Fmswindows_shell_execute):
11310 * lread.c (locate_file_in_directory_mapper):
11317 * mem-limits.h (get_lim_data):
11329 * nt.c (rva_to_section):
11330 * nt.c (mswindows_executable_type):
11332 Fix closedir() defn.
11335 [[[[8]]]]: *_OK defs moved to sysfile.h.
11344 * print.c (std_handle_out_external):
11348 * process-nt.c (nt_create_process):
11350 try to fix process quoting somewhat.
11352 * process-unix.c (unix_create_process):
11356 * process.c (vars_of_process):
11363 * realpath.c (xrealpath):
11366 * redisplay-tty.c (init_tty_for_redisplay):
11376 * sheap.c (more_static_core):
11377 * sheap.c (report_sheap_usage):
11381 * signal.c (alarm_signal):
11388 * strftime.c (zone_name):
11391 * symsinit.h (init_sunpro):
11395 commctrl.h not in Cygwin b20.1.
11398 * sysdep.c (endif):
11399 * sysdep.c (sys_subshell):
11400 * sysdep.c (init_baud_rate):
11401 * sysdep.c (emacs_get_tty):
11402 * sysdep.c (emacs_set_tty):
11403 * sysdep.c (tty_init_sys_modes_on_device):
11404 * sysdep.c (init_system_name):
11405 * sysdep.c (sys_open):
11406 * sysdep.c (interruptible_open):
11407 * sysdep.c (sys_fopen):
11408 * sysdep.c (sys_mkdir):
11409 * sysdep.c (sys_rename):
11410 * sysdep.c (get_process_times_1):
11417 * sysdir.h (DIRENTRY_NONEMPTY):
11420 * sysdll.c (dll_init):
11426 added text/binary defs.
11432 * sysproc.h (EDESTADDRREQ):
11433 * sysproc.h (poll_fds_for_input):
11450 Always define WIN32_LEAN_AND_MEAN.
11452 * unexcw.c (unexec):
11456 * unexec.c (copy_text_and_data):
11457 * unexec.c (adjust_lnnoptrs):
11461 * unexnt.c (_start):
11464 2000-06-07 Ben Wing <ben@xemacs.org>
11466 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11467 was used only as a model. We've long since extracted any useful
11468 logic or code out of this. (I just did an exhaustive search.)
11470 * s\msdos.h: Removed.
11472 * s\windows95.h: Removed.
11474 2000-06-10 Ben Wing <ben@xemacs.org>
11478 Don't use extern with fun defs.
11482 Remove nt\inc include.
11483 Remove getdisk, getdefdir. (The former is unused, the latter
11484 expanded in fileio.h.)
11487 * s\windowsnt.h (WIN32_NATIVE):
11488 * s\windowsnt.h (HAVE_STRCASECMP):
11490 Add long comment about preprocessor changes.
11491 Remove getdisk, getdefdir. (The former is unused, the latter
11492 expanded in fileio.h.)
11494 2000-06-10 Ben Wing <ben@xemacs.org>
11503 Remove bogus/unused NO_SOCK_SIGIO.
11505 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11507 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11510 2000-06-04 Mike Sperber <mike@xemacs.org>
11512 * casetab.c (set_case_table): For `set-standard-case-table',
11513 actually deposit the new case tables where the rest of XEmacs can
11516 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11518 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11520 2000-06-05 Ben Wing <ben@xemacs.org>
11522 * callproc.c (child_setup): Don't do close_load_descs() under
11523 MS Windows. Put in a comment explaining why.
11525 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11527 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11528 Toolkit shell" which breaks `kill-compilation' on Windows NT
11529 native, retaining STDERR handling improvements.
11531 2000-06-01 Andreas Jaeger <aj@suse.de>
11533 * s/s390.h: Support for S390, based on a patch by Martin
11534 Schwidefsky <schwidefsky@de.ibm.com>.
11536 2000-05-30 Andy Piper <andy@xemacs.org>
11538 * window.c (allocate_window):
11539 (make_dummy_parent):
11540 (Fset_window_configuration): use new hashtable type.
11542 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11543 (struct image_instantiator_methods):
11544 (struct Lisp_Image_Instance): make instance geometry signed.
11546 * glyphs.c (instantiate_image_instantiator):
11547 (image_instance_query_geometry):
11548 (image_instance_layout):
11549 (image_instance_layout):
11550 (query_string_geometry):
11551 (text_query_geometry):
11552 (image_instantiate):
11553 (image_instantiate):
11554 (cache_subwindow_instance_in_frame_maybe):
11555 (subwindow_query_geometry): make instance geometry signed.
11557 * glyphs-widget.c (widget_query_geometry):
11559 (button_query_geometry):
11560 (tree_view_query_geometry):
11561 (tab_control_query_geometry):
11562 (layout_query_geometry):
11564 (native_layout_layout): make instance geometry signed.
11566 2000-05-29 Olivier Galibert <galibert@pobox.com>
11568 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11571 * general.c (syms_of_general): Add Qfull_assoc symbol.
11573 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11575 (decode_weak_list_type): Decode full-assoc type.
11576 (encode_weak_list_type): Encode full-assoc type.
11577 (Fmake_weak_list): Update doc string.
11579 2000-05-30 Andy Piper <andy@xemacs.org>
11581 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11583 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11584 (decode_hash_table_weakness): ditto.
11585 (Fhash_table_weakness): ditto.
11586 (Fhash_table_type): ditto.
11587 (finish_marking_weak_hash_tables): ditto.
11588 (hash_table_weakness_validate): ditto.
11589 (syms_of_elhash): ditto.
11591 2000-05-28 Martin Buchholz <martin@xemacs.org>
11593 * XEmacs 21.2.34 is released.
11595 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11597 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11599 (updating_line_start_cache): Gone.
11600 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11601 generic code to force a minimum of 1 line laid out in the
11604 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11606 * glyphs.c (instantiate_image_instantiator): Check for initialized
11607 height & width no longer special cases IMAGE_NOTHING.
11608 (nothing_instantiate): Set height and width of instance.
11610 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11612 * unexelf.c (unexec): Search for ".data" section.
11613 Initialize new_data2_offset from old_data_index.
11614 Remove redundant check for ElfW.
11616 2000-05-23 Andy Piper <andy@xemacs.org>
11618 * glyphs.c (get_image_instantiator_governing_domain): allow more
11619 specific domains as the governing domain rather than expecting an
11620 exact match. This fixes problems with layouts.
11622 2000-05-22 Andy Piper <andy@xemacs.org>
11624 * redisplay-output.c (compare_runes): check for non-images
11626 * glyphs.c (set_glyph_dirty_p): ditto.
11627 (update_glyph_cachel_data): ditto.
11629 * glyphs-widget.c (layout_post_instantiate): ditto.
11630 (layout_post_instantiate): ditto.
11632 * event-msw.c (mswindows_wnd_proc): warning removal.
11634 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11636 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11638 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11640 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11642 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11643 (mswindows_executable_type): mingw32 now has enough headers for
11646 2000-05-20 Andy Piper <andy@xemacs.org>
11648 * console-msw.c (mswindows_output_last_error): ; -> ,
11650 2000-05-12 Andy Piper <andy@xemacs.org>
11652 * console-msw.c (FROB): compare ints with ints.
11654 2000-05-11 Andy Piper <andy@xemacs.org>
11656 * glyphs-x.c (x_finalize_image_instance): make minimal build
11659 2000-05-20 Ben Wing <ben@xemacs.org>
11662 * event-Xt.c (vars_of_event_Xt):
11663 move modifier-keys-are-sticky to event-stream.c.
11666 * event-msw.c (mswindows_enqueue_mouse_button_event):
11667 * event-msw.c (key_needs_default_processing_p):
11668 * event-msw.c (XEMSW_LCONTROL):
11669 * event-msw.c (mswindows_handle_sticky_modifiers):
11670 * event-msw.c (FROB):
11671 * event-msw.c (clear_sticky_modifiers):
11672 * event-msw.c (output_modifier_keyboard_state):
11673 * event-msw.c (output_alt_keyboard_state):
11674 * event-msw.c (mswindows_wnd_proc):
11675 * event-msw.c (mswindows_modifier_state):
11676 * event-msw.c (emacs_mswindows_handle_magic_event):
11677 implement sticky modifiers.
11680 * event-stream.c (vars_of_event_stream):
11681 move modifier-keys-are-sticky here.
11684 add CHECK_FUNCTION.
11687 implement map-range-table.
11690 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11692 * redisplay-tty.c (reset_tty_modes):
11693 (tty_redisplay_shutdown): Adjust argument type to
11694 tty_frame_output_end.
11696 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11698 * eval.c (Fbacktrace): Don't output a line with only right
11701 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11703 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11704 (Fpq_reset_poll): Ditto.
11706 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11708 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11710 2000-05-16 Ben Wing <ben@xemacs.org>
11713 * buffer.c (dfc_convert_to/from_internal_format):
11714 * buffer.c (reinit_vars_of_buffer):
11715 Fix conversion functions to allow reentrancy.
11718 * console-msw.c (mswindows_output_last_error):
11719 New fun, generally useful -- output a human-readable
11720 version of GetLastError() on the console.
11723 * console-msw.h (struct mswindows_frame):
11724 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11726 * console-stream.c (stream_output_begin):
11727 * console-stream.c (stream_output_end):
11728 * console-stream.c (stream_output_vertical_divider):
11729 * console-stream.c (stream_clear_region):
11730 * console-stream.c (stream_flash):
11731 * console-stream.c (console_type_create_stream):
11732 Delete blank stream methods, not needed.
11734 * console.h (struct console_methods):
11735 Split begin/end methods into window and frame.
11738 * event-msw.c (mswindows_handle_paint):
11739 * event-msw.c (output_alt_keyboard_state):
11740 * event-msw.c (mswindows_wnd_proc):
11741 * event-msw.c (vars_of_event_mswindows):
11742 Comment about problems with ignored-expose.
11743 Define mswindows-debug-events; not really implemented.
11745 * frame-msw.c (mswindows_init_frame_1):
11749 * glyphs-msw.c (begin_defer_window_pos):
11750 * glyphs-msw.c (mswindows_unmap_subwindow):
11751 * glyphs-msw.c (mswindows_map_subwindow):
11752 * glyphs-msw.c (mswindows_resize_subwindow):
11753 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11755 * glyphs.c (make_image_instance_1):
11758 * gutter.c (Fredisplay_gutter_area):
11759 Use new begin/end methods.
11761 * lisp.h (Dynarr_new2):
11765 * redisplay-msw.c (mswindows_frame_output_begin):
11766 * redisplay-msw.c (mswindows_frame_output_end):
11767 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11768 New begin/end methods -- handle DeferWindowPos.
11770 * redisplay-output.c (redisplay_move_cursor):
11771 * redisplay-output.c (redraw_cursor_in_window):
11772 * redisplay-output.c (redisplay_update_line):
11773 * redisplay-output.c (redisplay_output_window):
11774 New begin/end methods.
11777 * redisplay-tty.c (tty_frame_output_begin):
11778 * redisplay-tty.c (tty_frame_output_end):
11779 * redisplay-tty.c (console_type_create_redisplay_tty):
11780 New begin/end methods.
11783 * redisplay-x.c (x_window_output_begin):
11784 * redisplay-x.c (x_window_output_end):
11785 * redisplay-x.c (console_type_create_redisplay_x):
11786 New begin/end methods.
11788 * redisplay.c (redisplay_frame):
11789 * redisplay.c (Fredisplay_echo_area):
11790 New begin/end methods.
11791 use MAYBE_DEVMETH for clear_frame; it may not exist.
11793 * window.h (WINDOW_XFRAME):
11794 WINDOW_XFOO macros -- get locale and decode struct pointer.
11797 2000-05-12 Ben Wing <ben@xemacs.org>
11800 * emacs.c (ensure_no_quitting_from_now_on):
11801 * emacs.c (fatal_error_signal):
11802 * emacs.c (mswindows_handle_hardware_exceptions):
11804 * emacs.c (Fkill_emacs):
11805 * emacs.c (shut_down_emacs):
11806 * emacs.c (assert_failed):
11807 various improvements in fatal error handling.
11810 move preparing_for_armageddon to emacs.c.
11813 declare fatal_error_in_progress.
11816 * print.c (std_handle_out_external):
11817 * print.c (std_handle_out_va):
11818 * print.c (stderr_out):
11819 * print.c (stdout_out):
11820 use console under mswin when no standard output.
11821 don't do code conversion during fatal error.
11823 * scrollbar.c (Fscrollbar_page_up):
11824 * scrollbar.c (Fscrollbar_page_down):
11825 fix missing else. reindent.
11827 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
11831 * glyphs.h (GLYPH_CACHEL_DESCENT):
11832 (GLYPH_CACHEL_DESCENT):
11833 (GLYPH_CACHEL_DESCENT):
11834 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
11835 used in case these are inline functions.
11836 Use more absurd values to error check.
11838 include window.h for error check functions.
11840 2000-05-11 Ben Wing <ben@xemacs.org>
11842 * cmdloop.c (Freally_early_error_handler):
11843 Display message box under windows; otherwise, message will disappear
11844 before it can be viewed.
11847 * console-msw.c (Fmswindows_message_box):
11848 * console-msw.c (FROB):
11849 * console-msw.c (syms_of_console_mswindows):
11850 Define new fun `mswindows-message-box'.
11851 #### I will merge this into `popup-dialog-box'; just give me
11855 * general.c (syms_of_general):
11856 Some new symbols used in `mswindows-message-box'.
11859 * glyphs.c (Fset_image_instance_property):
11860 put warning in this fun.
11863 * glyphs.h (GLYPH_CACHEL_WIDTH):
11864 * glyphs.h (GLYPH_CACHEL_ASCENT):
11865 * glyphs.h (GLYPH_CACHEL):
11866 * glyphs.h (GLYPH_CACHEL_GLYPH):
11867 define error-checking versions to try to catch a bug i've seen --
11868 redisplay gets in an infinite loop because the glyph width of the
11869 continuation glyph is 65535.
11872 Extern message-box stuff.
11874 * window.c (allocate_window):
11875 * window.c (make_dummy_parent):
11876 * window.c (Fset_window_configuration):
11877 Use EQUAL not EQ for subwindow caches to make them work a bit
11878 better. (Something is still very broken.)
11881 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11883 * glyphs.c (image_instantiate): Suppress gcc warnings.
11884 (Fmake_image_instance): Fix doc string.
11885 * specifier.c (Fmake_specifier): Ditto.
11887 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
11889 * paths.h.in (PATH_LOCK): Removed.
11890 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
11891 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
11893 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
11895 * fns.c (Ffeaturep): Update e-mail address in doc-string.
11896 Document (featurep '(and xemacs 21.02)).
11898 2000-05-09 Ben Wing <ben@xemacs.org>
11900 * buffer.c (complex_vars_of_buffer):
11901 update modeline-format doc.
11904 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
11907 timeline of all released versions of Emacs, for use in creating
11908 authorship comments and in synching up.
11910 * glyphs-widget.c (image_instantiator_buttons):
11911 * glyphs-widget.c (image_instantiator_edit_fields):
11912 * glyphs-widget.c (image_instantiator_combo_box):
11913 * glyphs-widget.c (image_instantiator_scrollbar):
11914 * glyphs-widget.c (image_instantiator_progress_guage):
11915 * glyphs-widget.c (image_instantiator_tree_view):
11916 * glyphs-widget.c (image_instantiator_tab_control):
11917 * glyphs-widget.c (image_instantiator_labels):
11918 * glyphs-widget.c (image_instantiator_layout):
11919 * glyphs-widget.c (image_instantiator_native_layout):
11920 rename decode_domain method to governing_domain.
11923 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
11924 * glyphs.c (add_entry_to_device_ii_format_list):
11925 make sure we don't put an entry more than once into the list.
11926 * glyphs.c (check_instance_cache_mapper):
11927 *************************************************************
11928 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
11930 *************************************************************
11931 * glyphs.c (get_image_instantiator_governing_domain):
11932 clean up, expand on new concept of governing domain.
11933 * glyphs.c (instantiate_image_instantiator):
11934 * glyphs.c (allocate_image_instance):
11935 use governing_domain instead of cache_domain in naming.
11936 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
11937 * glyphs.c (make_image_instance_1):
11938 * glyphs.c (Fmake_image_instance):
11939 allow for any domain (not just device), and process the
11940 governing domain correctly. very big doc fix.
11941 * glyphs.c (Fimage_instance_domain):
11942 new primitive, to retrieve the governing domain of an image instance.
11943 * glyphs.c (image_instantiate):
11944 use new governing_domain stuff. this fixes a crash you could get
11945 by instantiating certain widget glyphs in frame locales. (should
11946 signal an error instead of crashing.)
11947 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
11948 * glyphs.c (Fglyphp): clean up doc.
11949 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
11950 * glyphs.c (syms_of_glyphs):
11951 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
11952 * glyphs.c (image_instantiator_format_create): add some comments about
11954 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
11955 for current-display-table. (Apparently Hrjove implemented in 1998 a
11956 design I wrote up in 1996, but didn't update the doc string.)
11958 * glyphs.h: clean up a doc string.
11959 * glyphs.h (governing_domain):
11960 * glyphs.h (struct image_instantiator_methods):
11961 changes for governing_domain stuff.
11964 * gutter.c (Fgutter_specifier_p):
11965 * gutter.c (Fgutter_size_specifier_p):
11966 * gutter.c (Fgutter_visible_specifier_p):
11968 * objects.c (Fcolor_specifier_p):
11969 * objects.c (Ffont_specifier_p):
11970 * objects.c (Fface_boolean_specifier_p):
11971 doc strings moved to make-*-specifier.
11973 * redisplay.c (add_disp_table_entry_runes_1):
11974 * redisplay.c (generate_fstring_runes):
11975 * redisplay.c (screen):
11976 add random comments and doc strings.
11979 * specifier.c (Fmake_specifier):
11980 major overhaul of this doc string.
11982 * specifier.c (Fvalid_specifier_domain_p):
11983 comment about the bogosity of image instances being domains.
11984 * specifier.c (decode_domain):
11985 now non-static, used in glyphs.c.
11986 * specifier.c (specifier_instance):
11987 comment about the bogosity of image instances being domains.
11988 * specifier.c (Fgeneric_specifier_p):
11989 move doc string to make-generic-specifier.
11990 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
11994 * specifier.h (DOMAIN_FRAME):
11995 * specifier.h (DOMAIN_LIVE_P):
11996 * specifier.h (DOMAIN_XDEVICE):
11998 add comments about problems with these macros.
11999 prototype for decode_domain.
12002 * toolbar.c (Ftoolbar_specifier_p):
12003 move doc string to `make-toolbar-specifier'.
12005 * window.c (window_unmap_subwindows_cache_mapper):
12006 *************************************************************
12007 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12009 *************************************************************
12011 2000-05-09 Andy Piper <andy@xemacs.org>
12013 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12015 * window.c (Fset_window_configuration): reset the frame subwindow
12016 cache and re-initialize the window subwindow caches.
12018 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12020 2000-05-09 Ben Wing <ben@xemacs.org>
12022 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12025 2000-04-26 Mike Woolley <mike@bulsara.com>
12027 * ntheap.c: Changed recreate_heap to limit the amount reserved
12028 for the heap to that which is actually available. Also now
12029 displays a message box (with some dignostics) in the event that
12030 it still can't start.
12032 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12034 * callproc.c (Fold_call_process_internal): GCPRO path
12036 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12038 Patch by Bill Perry.
12040 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12041 back data instead of #ifdef.
12042 (Fscrollbar_page_down): ditto.
12044 2000-05-07 Ben Wing <ben@xemacs.org>
12047 Kludge for defining Qmswindows_tstr.
12050 * nt.c (open_input_file):
12051 * nt.c (open_output_file):
12052 * nt.c (rva_to_section):
12053 * nt.c (mswindows_executable_type):
12054 Move all memory-mapped-file routines here (some were in unexnt.c,
12055 which is bad because they are used by process-nt.c, and unexnt
12056 won't be around when portable dumping). Synched the above routines
12060 Removed ifdef'd out bogus code.
12061 Fixed some prototypes.
12063 * nt.h (file_data):
12064 * nt.h (OFFSET_TO_RVA):
12065 * nt.h (RVA_TO_OFFSET):
12066 * nt.h (RVA_TO_PTR):
12067 Moved the memory-mapped-file structures, macros and prototypes
12068 here, to parallel nt.c. ntheap.h should really be removed
12069 entirely, and it's a non-portable-dumper specific file.
12071 * ntheap.h (round_to_next):
12072 Moved the memory-mapped-file structures, macros and prototypes
12075 * ntproc.c (compare_env):
12076 Moved rva_to_section and mswindows_executable_type to nt.c.
12077 Moved compare_env to process-nt.c.
12078 ntproc.c will die, one day.
12080 * ntproc.c (sys_spawnve):
12081 Account for win32_ -> mswindows_.
12084 * process-nt.c (struct nt_process_data):
12085 * process-nt.c (ensure_console_window_exists):
12086 * process-nt.c (compare_env):
12087 * process-nt.c (nt_create_process):
12088 * process-nt.c (nt_kill_process_by_pid):
12089 * process-nt.c (syms_of_process_nt):
12090 * process-nt.c (vars_of_process_nt):
12091 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12092 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12093 changes). Eliminate our old `nt-quote-process-args' mechanism.
12094 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12095 Move compare_env here from ntproc.c.
12097 * process.c (Fprocess_send_region):
12098 Takes an optional fourth argument, BUFFER, which should fix some
12099 problems with call-process.
12102 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12105 Move ICC_BAR_CLASSES to syscommctrl.h.
12106 Add preliminary macros for MSWindows/Mule. More to come.
12109 * unexnt.c (unexec):
12110 open_output_file moved to nt.c.
12113 2000-05-05 Andy Piper <andy@xemacs.org>
12115 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12116 instance from the frame cache also since GC may catch up too late
12117 to make frame deletion sane.
12119 2000-05-04 Andy Piper <andy@xemacs.org>
12121 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12122 (x_finalize_image_instance): ungcpro on deletion.
12124 * glyphs.c (image_instantiator_format_create): give pointers a
12125 query geometry method so that the geometry is at least set.
12127 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12128 initialize layouts if using widgets.
12130 2000-05-03 Andy Piper <andy@xemacs.org>
12132 * nt.c: remove bogus reference to sysmmsystem.h
12134 * gui-x.c (popup_selection_callback): fix no selection abort.
12136 2000-05-02 Andy Piper <andy@xemacs.org>
12138 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12139 (mswindows_widget_instantiate): ditto.
12141 * glyphs-widget.c (initialize_widget_image_instance): initialize
12142 children correctly.
12143 (widget_instantiate): cope with children and items in the same
12146 * glyphs.c (mark_image_instance): cope with children as a first
12148 (image_instance_equal): ditto.
12149 (image_instance_hash): ditto.
12150 (image_instance_changed): ditto.
12152 2000-04-30 Andy Piper <andy@xemacs.org>
12154 * glyphs.c (subwindow_query_geometry): new function. Return some
12156 (subwindow_instantiate): don't assign dimensions if none have been
12158 (image_instantiator_format_create): add subwindow_query_geometry.
12159 (print_image_instance): cope with layouts as widgets.
12161 2000-04-29 Andy Piper <andy@xemacs.org>
12163 * frame.c (delete_frame_internal): call
12164 free_frame_subwindow_instance_cache so that all subwindows are
12165 finalized before their parent.
12166 (mark_frame): remove subwindow_cachels.
12167 (Fmake_frame): remove subwindow_cachel manipulation.
12168 (allocate_frame_core): subwindow_instance_cache is a weak list.
12169 (delete_frame_internal): set subwindow_instance_cache to nil.
12171 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12173 (mswindows_finalize_image_instance): use the device
12174 not the domain as the domain may have died already.
12176 * glyphs-x.c (x_finalize_image_instance): ditto.
12177 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12180 * redisplay-output.c (redisplay_unmap_subwindows): update for
12181 subwindow instance cache as a weak list.
12182 (redisplay_unmap_subwindows_maybe): ditto.
12183 (redisplay_unmap_subwindows_except_us): ditto.
12185 * glyphs.c (unmap_subwindow): error checking will check the domain
12186 so don't deal with it here. Don't use cachels anymore.
12187 (map_subwindow): ditto.
12188 (update_subwindow_cachel_data): remove old accessor names.
12189 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12190 (Fresize_subwindow): don't update cachel.
12191 (mark_subwindow_cachels):
12192 (update_subwindow_cachel_data):
12193 (add_subwindow_cachel):
12194 (get_subwindow_cachel_index):
12195 (update_subwindow_cachel):
12196 (reset_subwindow_cachels):
12197 (mark_subwindow_cachels_as_not_updated): deleted.
12198 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12199 subwindow instance to the frame cache.
12200 (find_matching_subwindow): update for subwindow instance cache as
12202 (update_widget_instances): ditto.
12203 (image_instance_type_to_mask):inlined.
12204 (free_frame_subwindow_instance_cache): new function. finalize all
12205 subwindows that are instantiated.
12207 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12208 of cachel information.
12209 (IMAGE_INSTANCE_DISPLAY_X):
12210 (IMAGE_INSTANCE_DISPLAY_Y):
12211 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12212 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12213 (XIMAGE_INSTANCE_DISPLAY_X):
12214 (XIMAGE_INSTANCE_DISPLAY_Y):
12215 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12216 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12217 remove subwindow_cachel structure and function references.
12218 (image_instance_type_to_mask): inline from glyphs.c
12220 * redisplay.c (redisplay_frame): remove subwindow_cachel
12223 * frame.h (struct frame): remove subwindow_cachels.
12224 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12226 * frameslots.h: add subwindow_instance_cache.
12228 * window.c (replace_window): check subwindow cache of replacement.
12229 (window_unmap_subwindows_cache_mapper):
12230 (window_unmap_subwindows): new functions. Unmap all subwindows
12231 cached on this window.
12232 (mark_window_as_deleted): unmap all subwindows.
12234 2000-04-27 Andy Piper <andy@xemacs.org>
12236 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12238 * glyphs-widget.c (widget_layout): return something.
12239 (layout_layout): return something. Fail if not initialized.
12240 (layout_query_geometry): ditto.
12241 (image_instantiator_native_layout): new function. Initialized the
12242 native layout type.
12243 (widget_instantiate): don't do layout stuff here.
12245 * glyphs.c (instantiate_image_instantiator): reorded calling or
12246 instantiate and post_instantiate with layout in between.
12247 (image_instance_layout): be more selective about deciding whether
12248 the layout has been done or not.
12250 * glyphs.h (struct image_instantiator_methods): return a value
12251 from layout_method.
12253 2000-04-26 Andy Piper <andy@xemacs.org>
12255 * glyphs.c (allocate_image_instance): make initial width and
12256 height unspecified. Set initialized to 0.
12258 * syscommctrl.h new file. Encapsulates commctrl.h.
12260 * syswindows.h new file. Encapsulates windows.h.
12262 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12264 * console-msw.h: ditto.
12266 * redisplay-tty.c (tty_output_display_block): remove layout references.
12268 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12269 window handle rather than just the frame.
12271 * glyphs.c (mark_image_instance): remove layout references.
12272 (print_image_instance): ditto.
12273 (image_instance_equal): ditto.
12274 (image_instance_hash): ditto.
12275 (decode_image_instance_type): ditto.
12276 (encode_image_instance_type): ditto.
12277 (image_instantiate): ditto.
12278 (allocate_glyph): ditto.
12279 (Fimage_instance_height): ditto.
12280 (Fimage_instance_width): ditto.
12281 (update_subwindow): ditto.
12283 * redisplay-x.c (x_output_display_block): recode for layouts as
12286 * redisplay-output.c (redisplay_output_layout): recode for layouts
12288 (compare_runes): remove layout references.
12290 * redisplay-msw.c (mswindows_output_display_block): recode for
12291 layouts as widgets.
12293 * glyphs-widget.c (image_instantiator_layout): remove
12294 layout_possible_dest_types.
12295 (layout_possible_dest_types): deleted.
12297 * glyphs.h (image_instance_type): remove layout references.
12298 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12299 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12300 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12302 2000-04-25 Andy Piper <andy@xemacs.org>
12304 * glyphs-widget.c (image_instantiator_buttons):
12305 (image_instantiator_edit_fields):
12306 (image_instantiator_combo_box):
12307 (image_instantiator_scrollbar):
12308 (image_instantiator_progress_guage):
12309 (image_instantiator_tree_view):
12310 (image_instantiator_tab_control):
12311 (image_instantiator_labels):
12312 (image_instantiator_layout): call default post_instantiate method.
12313 (widget_post_instantiate): new function. Simply lays out the
12316 * glyphs.h (struct image_instantiator_methods): add
12317 post_instantiate method.
12319 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12322 2000-04-23 Andy Piper <andy@xemacs.org>
12324 * glyphs.h (struct image_instantiator_methods): add
12325 decode_domain_method.
12326 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12327 derived from the domain.
12328 (IMAGE_INSTANCE_FRAME): new accessor.
12329 (XIMAGE_INSTANCE_FRAME): ditto.
12331 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12332 instead of _SUBWINDOW_FRAME.
12333 (finalize_image_instance): ditto.
12334 (Fimage_instance_foreground): ditto.
12335 (Fimage_instance_background): ditto.
12336 (image_instantiate): ditto.
12337 (update_subwindow_cachel): ditto.
12338 (update_subwindow): ditto.
12339 (unmap_subwindow): ditto.
12340 (map_subwindow): ditto
12341 (subwindow_instantiate): ditto.
12342 * glyphs-msw.c (mswindows_update_widget): ditto.
12343 (mswindows_progress_gauge_instantiate): ditto.
12344 (mswindows_tab_control_update): ditto.
12345 * glyphs-x.c (x_update_widget): ditto.
12346 (x_widget_instantiate): ditto.
12347 (x_tab_control_instantiate): ditto.
12348 (x_tab_control_update): ditto.
12349 * event-msw.c (mswindows_wnd_proc): ditto
12351 * glyphs-widget.c (image_instantiator_layout): use
12352 subwindow_decode_domain.
12353 (image_instantiator_buttons): ditto.
12354 (image_instantiator_edit_fields): ditto.
12355 (image_instantiator_combo_box): ditto.
12356 (image_instantiator_scrollbar): ditto.
12357 (image_instantiator_progress_guage): ditto.
12358 (image_instantiator_tree_view): ditto.
12359 (image_instantiator_tab_control): ditto.
12360 (image_instantiator_labels): ditto.
12361 (image_instantiator_layout): ditto.
12363 * glyphs.c: add instance error checking to many functions.
12364 (instantiate_image_instantiator): decode device from cache_domain.
12365 (image_instantiate): partially rewrite by using
12366 decode_image_instantiator_domain to determine what domain the
12367 instance needs to be cached in.
12368 (decode_image_instantiator_domain): new function. Determine what
12369 domain the image needs to be cached in.
12370 (check_window_subwindow_cache): new error checking function.
12371 (check_instance_cache_mapper): ditto.
12372 (check_image_instance_structure): ditto.
12373 (subwindow_decode_domain): new function. Encodes a window as a
12374 subwindow's cache domain.
12375 (image_instantiator_format_create): use it for text and
12378 2000-04-21 Andy Piper <andy@xemacs.org>
12380 * glyphs.c (image_instance_device): new function.
12381 (image_instance_frame): new function.
12382 (image_instance_window): new function.
12383 (image_instance_live_p): new function.
12385 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12388 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12389 (IMAGE_INSTANCE_DOMAIN): new accessor.
12390 (XIMAGE_INSTANCE_DOMAIN): ditto.
12392 * glyphs-x.c (x_finalize_image_instance): device->domain.
12394 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12395 (mswindows_finalize_image_instance): ditto.
12397 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12398 (gif_instantiate): ditto.
12399 (png_instantiate): ditto.
12400 (tiff_instantiate): ditto.
12402 * glyphs.c (instantiate_image_instantiator): use domain rather
12404 (mark_image_instance): device -> domain.
12405 (print_image_instance): ditto.
12406 (finalize_image_instance): ditto.
12407 (image_instance_equal): ditto.
12408 (allocate_image_instance): ditto.
12409 (Fcolorize_image_instance): ditto.
12410 (query_string_geometry): ditto.
12411 (image_instantiate): ditto
12412 (query_string_font): ditto.
12413 (image_instantiate): ditto.
12414 (update_subwindow): ditto.
12415 (unmap_subwindow): ditto.
12416 (map_subwindow): ditto.
12417 (subwindow_instantiate): ditto.
12419 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12420 (DOMAIN_FRAME): ditto.
12421 (DOMAIN_WINDOW): ditto.
12422 (DOMAIN_LIVE_P): ditto.
12423 (XDOMAIN_DEVICE): ditto.
12424 (XDOMAIN_FRAME): ditto.
12425 (XDOMAIN_WINDOW): ditto.
12427 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12428 a valid specifier domain.
12430 2000-04-19 Andy Piper <andy@xemacs.org>
12432 * glyphs-widget.c (syms_of_glyphs_widget): remove
12433 widget-callback-current-channel.
12434 (vars_of_glyphs_widget): ditto.
12437 * gui.c (get_gui_callback): revert to previous behaviour.
12439 2000-04-18 Andy Piper <andy@xemacs.org>
12441 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12442 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12443 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12445 * glyphs.c (image_instance_equal): add margin_width.
12446 (image_instance_hash): ditto.
12448 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12449 (layout_query_geometry): ditto.
12450 (layout_layout): ditto.
12451 (syms_of_glyphs_widget): add margin-width.
12452 (image_instantiator_layout): allow margin-width.
12454 * glyphs.c (update_widget_instances): make a normal function.
12455 (syms_of_glyphs): remove Qupdate_widget_instances.
12458 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12459 so that we don't corrupt ideas about the last event or
12460 command. Remove widget-callback-current-channel fiddling.
12461 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12463 2000-05-01 Martin Buchholz <martin@xemacs.org>
12465 * XEmacs 21.2.33 is released.
12467 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12469 * make-src-depend: Allow dots in header file name.
12471 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12473 * mule-charset.h (struct charset_lookup): Add
12474 next_allocated_1_byte_leading_byte and
12475 next_allocated_2_byte_leading_byte.
12476 * mule-charset.c: Move above two variables so that those values
12479 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12481 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12482 when string length is zero.
12483 (find_charsets_in_emchar_string): Ditto.
12485 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12487 * lisp.h: extern Qdialog and Qmenubar.
12489 * gui-x.c: added events.h.
12490 also fixed typo which made the file uncompilable.
12492 * general.c: Added Qmenubar and Qdialog
12494 2000-04-28 Ben Wing <ben@xemacs.org>
12496 * frame-msw.c (mswindows_init_frame_1):
12497 * frame-msw.c (mswindows_mark_frame):
12498 * event-msw.c (mswindows_enqueue_dispatch_event):
12500 * console-msw.h (struct mswindows_frame):
12501 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12502 there are now three hash tables for callbacks.
12503 mswindows_enqueue_dispatch_event is no longer static.
12505 * dialog-x.c (maybe_run_dbox_text_callback):
12506 * dialog-x.c (dbox_descriptor_to_widget_value):
12507 switch to new cons3 form for callbacks.
12509 * glyphs-msw.c (mswindows_register_gui_item):
12510 * glyphs-msw.c (mswindows_widget_instantiate):
12511 * glyphs-msw.c (add_tree_item):
12512 * glyphs-msw.c (add_tab_item):
12513 new image instance parameter, so it can be passed to callback-ex.
12514 respect :callback-ex as well as :callback.
12516 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12519 * glyphs.c (print_image_instance):
12520 prettify, e.g. now prints widget type.
12523 certain funs have new image instance parameter.
12526 * gui.c (get_gui_callback):
12527 * gui.c (gui_item_add_keyval_pair):
12528 * gui.c (gui_item_init):
12529 * gui.c (gui_add_item_keywords_to_plist):
12530 * gui.c (mark_gui_item):
12531 * gui.c (gui_item_hash):
12532 * gui.c (gui_item_equal):
12533 * gui.c (copy_gui_item):
12534 * gui.c (syms_of_gui):
12535 recognize callback-ex in a number of places.
12536 also, fix the annoying "can't get out of yes-no dialog" bug.
12539 * gui.h (struct Lisp_Gui_Item):
12540 recognize callback-ex in a number of places.
12542 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12543 new parameter in button_item_to_widget_value.
12545 * glyphs-x.c (x_update_widget):
12546 * glyphs-x.c (x_button_instantiate):
12547 * glyphs-x.c (x_button_update):
12548 * glyphs-x.c (x_progress_gauge_instantiate):
12549 * glyphs-x.c (x_edit_field_instantiate):
12550 * glyphs-x.c (x_combo_box_instantiate):
12551 * glyphs-x.c (x_tab_control_instantiate):
12552 * glyphs-x.c (x_label_instantiate):
12553 new image instance parameter in various places.
12556 * event-Xt.c (enqueue_Xt_dispatch_event):
12557 this fun gets exported.
12560 * gui-msw.c (mswindows_handle_gui_wm_command):
12561 handle both :callback and :callback-ex, and generate our own
12562 event because it's one of the callback-ex arguments.
12565 * gui-x.c (popup_selection_callback):
12566 handle both :callback and :callback-ex, and generate our own
12567 event because it's one of the callback-ex arguments.
12568 * gui-x.c (button_item_to_widget_value):
12569 * gui-x.c (gui_items_to_widget_values_1):
12570 * gui-x.c (gui_item_children_to_widget_values):
12571 * gui-x.c (gui_items_to_widget_values):
12572 new image instance parameter in various places.
12574 * fns.c (Freplace_list):
12575 fix small typo in doc string.
12578 declare enqueue_Xt_dispatch_event.
12580 2000-04-28 Ben Wing <ben@xemacs.org>
12583 * buffer.c (Frecord_buffer):
12584 * buffer.c (syms_of_buffer):
12585 delete record-buffer-hook.
12588 * fns.c (Freplace_list):
12589 * fns.c (syms_of_fns):
12590 new primitive replace-list.
12593 slot for old buffer-alist.
12596 exfun replace-list.
12599 * redisplay.c (redisplay_frame):
12600 * redisplay.c (syms_of_redisplay):
12601 * redisplay.c (vars_of_redisplay):
12602 new hook buffer-list-changed-hook.
12605 2000-04-27 Ben Wing <ben@xemacs.org>
12607 * extents.h: extern in_modeline_generation.
12609 * redisplay.c (generate_formatted_string_db): set
12610 in_modeline_generation.
12612 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12613 flags if in modeline generation. otherwise frame-modified-tick
12614 is ticked far too often.
12615 Declare in_modeline_generation.
12617 2000-04-26 Ben Wing <ben@xemacs.org>
12619 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12621 (vars_of_emacs): add quick-build as an error-checking option.
12622 A bit kludgy, but there doesn't seem much point in creating
12623 a real var for this.
12625 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12627 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12629 * redisplay.h (struct display_line): Add a new variable,
12632 * redisplay.c (create_text_block): Set dl->line_continuation if
12633 the line continues.
12634 (create_string_text_block): Ditto.
12635 (regenerate_window_incrementally): Use line_continuation instead
12636 of searching continuation glyph.
12637 (add_margin_runes): Call add_glyph_rune.
12638 (add_glyph_rune): Handle margin glyph.
12640 2000-04-20 Martin Buchholz <martin@xemacs.org>
12642 * filelock.c (fill_in_lock_file_name):
12644 Check for IS_ANY_SEP instead of '/'.
12646 Avoid generating gratuitous garbage. Call user_login_name() directly.
12647 Never check errno without first seeing that system call failed.
12648 (unlock_file): Add GCPRO.
12649 (Flock_buffer): Fix docstring.
12650 (Ffile_locked_p): Fix docstring. Add GCPRO.
12652 2000-04-19 Martin Buchholz <martin@xemacs.org>
12654 * sysdep.c (get_pty_max_bytes):
12655 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12656 strings longer than 252 bytes.
12658 * md5.c: Unconditionally include ANSI header <limits.h>
12660 * glyphs-x.c (convert_EImage_to_XImage):
12661 * lisp-union.h (union Lisp_Object):
12662 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12664 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12666 * filelock.c (current_lock_owner): Remove unused variable o, p.
12668 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12670 * callint.c: Remove multiply defined symbol Qlet
12671 (syms_of_callint): ditto.
12673 2000-04-14 Andy Piper <andy@xemacs.org>
12675 * general.c (syms_of_general): add last-command, this-command, let
12678 * lisp.h: declare various symbols.
12680 * glyphs.h: declare Qwidget_callback_current_channel;
12682 * glyphs-widget.c (syms_of_glyphs_widget): add
12683 Qgui_callback_current_channel.
12684 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12686 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12687 widget-callback-current-channel when invoking the interactive
12688 arg. Also bind last-command and next-command when invoking the
12690 * gui-x.c (popup_selection_callback): ditto.
12692 * gui.c (get_gui_callback): massage args so that we are always
12693 calling eval. This allows us to add our own variable bindings
12696 * glyphs-x.c (x_button_instantiate): use
12697 gui_items_to_widget_values since this is GC safe.
12698 (x_progress_gauge_instantiate): ditto.
12699 (x_edit_field_instantiate): ditto.
12700 (x_label_instantiate): ditto.
12702 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12703 (emacs_Xt_event_widget_focus_out): new function
12704 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12706 (emacs_Xt_event_add_widget_actions): new function. add focus
12707 functions as actions.
12708 (init_event_Xt_late): use it.
12710 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12712 * event-stream.c (Fdispatch_event): Doc fix.
12714 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12716 * postgresql.c: Remove all references to PQsetenv*.
12718 * postgresql.h: Remove references to PGsetenvHandler object.
12719 * lrecord.h (lrecord_type): Ditto.
12721 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12723 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12724 real_heigh and real_width members, and accessor macros for these.
12726 * glyphs-msw.c (init_image_instance_geometry): New function.
12727 (init_image_instance_from_dibitmap): Use it.
12728 (mswindows_resource_instantiate): Use it.
12729 (init_image_instance_from_xbm_inline): Use it.
12730 (mswindows_initialize_image_instance_mask): Use real bitmap
12732 (mswindows_create_resized_bitmap): Ditto.
12733 (mswindows_create_resized_mask): Ditto.
12735 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12736 and bitmap to their surface size.
12738 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12740 * process-unix.c (unix_send_process): Guard against process MIA
12741 after Faccept_process_output.
12743 2000-04-11 Ben Wing <ben@xemacs.org>
12745 * eval.c (unbind_to_hairy): fix brokenness introduced by
12746 nanosecond speed improvements.
12748 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12750 * sunplay.c (init_device): To play sounds correctly, the device
12751 apparently needs to be initialized at least once by XEmacs. Make
12754 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12756 * redisplay.c (add_margin_runes): Add text image glyph
12759 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12761 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12762 gcc is newer than 2.5.
12764 2000-04-06 Colin Rafferty <colin@xemacs.org>
12766 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12768 * fns.c (size_bit_vector):
12769 * alloc.c (size_vector):
12770 (make_vector_internal):
12771 (make_bit_vector_internal):
12772 (sweep_bit_vectors_1):
12773 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12775 2000-04-06 Andy Piper <andy@xemacs.org>
12777 * gmalloc.c (malloc): undo previous change.
12782 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12784 * line-number.c (buffer_line_number): Revert to former version.
12786 2000-04-06 Andy Piper <andy@xemacs.org>
12788 * gmalloc.c (malloc): add error checking.
12793 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
12794 button_item_to_widget_value arg.
12796 * glyphs-x.c (x_button_instantiate): add extra
12797 button_item_to_widget_value arg.
12798 (x_progress_gauge_instantiate): ditto.
12799 (x_edit_field_instantiate): ditto.
12800 (x_label_instantiate): ditto.
12802 * gui-x.c (gui_items_to_widget_values_1): add extra
12803 button_item_to_widget_value arg.
12804 (button_item_to_widget_value): add extra menu_item_p arg.
12806 * gui-x.h: change signature of button_item_to_widget_value.
12808 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
12809 button_item_to_widget_value arg.
12811 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
12813 * buffer.h (struct buffer): auto_save_modified should be long.
12815 2000-04-05 Andy Piper <andy@xemacs.org>
12817 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
12819 (button_query_geometry): give a little more room so that athena
12822 2000-04-05 Andy Piper <andy@xemacs.org>
12824 * faces.c (complex_vars_of_faces): The widget face should inherit
12825 the font of the gui-element face.
12827 2000-04-04 Andy Piper <andy@xemacs.org>
12829 * glyphs-x.c (x_button_update): new function. unconditionally
12830 update a button's state when the instance is dirty.
12831 (image_instantiator_format_create_glyphs_x): add x_button_update.
12832 (x_widget_instantiate): remove old resize cruft.
12834 2000-04-02 Andy Piper <andy@xemacs.org>
12836 * frame.c (change_frame_size_1): The introduction of gutters means
12837 that we need to allow 0 as a potential frame dimension.
12839 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
12841 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
12842 image glyph if allow_cursor.
12843 (add_hscroll_rune): Don't allow cursor to border glyph.
12844 (create_text_block): Ditto.
12846 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
12847 text not in buffer.
12848 (redisplay_output_layout): Call ensure_face_cachel_complete for
12852 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
12854 * redisplay.c (add_glyph_rune): Adding text image as text runes.
12856 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
12859 * redisplay-tty.c (tty_output_display_block): Delete the routine
12860 for text image glyph
12861 * redisplay-x.c (x_output_display_block): ditto
12862 * redisplay-msw.c (mswindows_output_display_block): ditto
12864 2000-02-02 Mike Alexander <mta@arbortext.com>
12866 Note: Some of these were committed by accident as part of other
12869 * regex.c (regex_compile): Avoid compiler warnings.
12871 * ntproc.c (sys_spawnve): Avoid compiler warnings.
12873 * nt.h: Declare term_ntproc correctly.
12875 * nt.c: Remove incorrect declaration of get_home_directory which
12876 is declared correctly in lisp.h.
12878 * keymap.c (get_keyelt): Avoid compiler warnings.
12879 (raw_lookup_key_mapper): Avoid compiler warnings.
12881 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
12883 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
12885 * filemode.c (mode_string): Avoid compiler warnings.
12887 * file-coding.c (Fcoding_system_aliasee): Add return statement to
12890 * events-mod.h: Undef some things that winuser.h defines differently.
12892 * data.c (Faset): Avoid compiler warnings.
12894 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
12896 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12898 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
12899 Fall through to simple beep on error.
12900 Replace "extern" by real header file.
12902 * linuxplay.c: Use nativesound.h
12903 (play_sound_data): Return error code. Be less verbose on error.
12905 * sunplay.c: Use nativesound.h
12906 (play_sound_data): Return error code. Be less verbose on error.
12908 * ntplay.c: Use nativesound.h
12909 (play_sound_data): Return fake error code
12911 * sgiplay.c: Use nativesound.h
12912 (play_sound_data): Return error code
12914 * hpplay.c: Use nativesound.h, partially implement
12915 new error code. Break compilation until finished.
12916 (play_sound_data): error code.
12918 * nativesound.h (play_sound_file):
12919 (play_sound_data): Prototype in new header.
12921 2000-03-31 Andy Piper <andy@xemacs.org>
12923 * glyphs-widget.c: (button_query_geometry): new function. Adjust
12924 for toggle and radio buttons.
12925 (image_instantiator_buttons): use it.
12927 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
12929 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
12930 (x_update_horizontal_scrollbar_callback): Return if no mirror was
12931 found. Scrollbar event probably belonged to some old config.
12933 2000-03-31 Andy Piper <andy@xemacs.org>
12935 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
12937 (initialize_widget_image_instance): default layout to
12938 LAYOUT_HORIZONTAL rather than 0.
12939 (widget_instantiate): reverse the item list at the end rather than
12941 (layout_layout): re-code for the border text at the front of the
12942 item list rather than at the end.
12943 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
12944 provided by the user.
12945 (widget_query_geometry): comment.
12947 2000-03-30 Andy Piper <andy@xemacs.org>
12949 * glyphs-widget.c (image_instantiator_layout): allow standard
12950 widget keywords in layouts.
12952 * gutter.c (output_gutter): cope with nil gutter contents.
12954 * frame.c (Fset_frame_properties): add gutter docs.
12956 2000-03-29 Andy Piper <andy@xemacs.org>
12958 * toolbar-msw.c (TBSTYLE_FLAT): add.
12959 (mswindows_output_toolbar): minor fiddling.
12961 2000-03-29 Andy Piper <andy@xemacs.org>
12963 * gutter.c (output_gutter): force gutter size recalculation if
12964 what we are trying to display won't fit.
12965 (update_gutter_geometry): new function. A per-gutter version of
12966 update_frame_gutter_geometry.
12967 (update_frame_gutter_geometry): use it.
12968 (redraw_exposed_gutter): add extra debugging output.
12970 2000-03-28 Mike Alexander <mta@arbortext.com>
12972 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
12973 (pdump_file_unmap): Implement it on Windows
12974 (pdump_file_get): Save alocated handles for pdump_file_unmap
12976 2000-03-28 Andy Piper <andy@xemacs.org>
12978 * gui.c (get_gui_callback): treat Quit specially.
12980 2000-03-27 Andy Piper <andy@xemacs.org>
12982 * glyphs.c (image_instantiate): be careful to check in the same
12985 2000-03-27 Didier Verna <didier@xemacs.org>
12987 * config.h.in: define the proper SMART_INCLUDE macro.
12988 handle renaming of `foo_h_path' to `foo_h_file'.
12990 * database.c: ditto.
12994 * linuxplay.c: ditto.
12996 * terminfo.c: ditto.
12998 * tooltalk.h: ditto.
13000 2000-03-27 Andy Piper <andy@xemacs.org>
13002 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13003 gets updated whenever the face might have changed.
13005 2000-03-26 Mike Alexander <mta@arbortext.com>
13007 * dumper.c (pdump_resource_free): Fix the comment.
13009 2000-03-21 Olivier Galibert <galibert@pobox.com>
13011 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13013 2000-03-22 Mike Alexander <mta@arbortext.com>
13015 * dumper.c: Include Windows headers on Windows
13016 (pdump_resource_free): Add a body to the function
13017 (pdump_load): exe_name -> exe_path and add some comments.
13019 2000-03-25 Mike Alexander <mta@arbortext.com>
13021 * gui.c (copy_gui_item_tree): Return a value in all cases
13023 2000-03-21 Didier Verna <didier@xemacs.org>
13025 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13027 (SMART_INCLUDE): new macro.
13028 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13029 the proper location.
13031 * postgresql.c: use it.
13035 2000-03-24 Andy Piper <andy@xemacs.org>
13037 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13040 2000-03-24 Andy Piper <andy@xemacs.org>
13042 * redisplay-output.c (compare_runes): use image_instance_changed
13043 to detect changes. Do not depend on glyphs_changed, only depend on
13045 (redisplay_output_layout): add debug messages.
13046 (compare_runes): ditto.
13048 * glyphs.h: declare new functions.
13049 (struct Lisp_Image_Instance): remove percent and associated
13052 * gui.h: declare new copying functions.
13054 * gui.c (copy_gui_item_tree): new function.
13055 (copy_gui_item): new function.
13056 (gui_item_id_hash): revert to standard hash.
13057 (gui_item_hash): ditto.
13058 (gui_item_hash_internal): deleted.
13059 (mark_gui_item): mark value.
13060 (gui_item_add_keyval_pair): add value.
13061 (gui_item_init): ditto.
13062 (gui_add_item_keywords_to_plist): ditto.
13063 (gui_item_equal): ditto.
13064 (syms_of_gui): add Q_value.
13066 * glyphs-x.c (x_progress_gauge_update): use pending items and
13067 value for setting the state.
13068 (x_update_widget): don't set items from pending here.
13070 * glyphs-widget.c (update_widget): update items here.
13071 (progress_gauge_set_property): use items for storing value. Put
13072 new value in pending items.
13074 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13075 items for new value. Convert percent -> value.
13076 (mswindows_tab_control_update): don't update items here.
13078 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13079 (update_subwindow): ditto.
13080 (image_instance_changed): new function. Compare hash values and
13081 past and present widget items.
13082 (image_instantiate): We more careful about where we instantiate
13084 (image_instantiate): add error checking.
13086 * gutter.c (syms_of_gutter): use -hook.
13088 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13090 * console-tty.c (Fset_console_tty_input_coding_system): Use
13092 (Fset_console_tty_output_coding_system): Use Qterminal.
13093 (tty_init_console): Use Qkeyboard and Qterminal.
13095 2000-03-21 Ben Wing <ben@xemacs.org>
13097 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13098 From Mike Alexander <mta@arbortext.com>.
13100 2000-03-21 Ben Wing <ben@xemacs.org>
13102 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13103 process brokenness. Proper implementation to come.
13105 Rename call-process-internal to old-call-process-internal.
13106 New impl. in process.el.
13108 2000-03-21 Martin Buchholz <martin@xemacs.org>
13110 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13112 2000-03-20 Andy Piper <andy@xemacs.org>
13114 * glyphs.c (full_list_hash): make hashes of the same elements in
13115 different orders return different values.
13117 2000-03-20 Martin Buchholz <martin@xemacs.org>
13119 * XEmacs 21.2.32 is released.
13121 2000-03-20 Martin Buchholz <martin@xemacs.org>
13123 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13124 (DFC_MALLOC_USE_CONVERTED_DATA):
13125 Add aliasing-safe casts to allow use with char* or unsigned char*
13128 * eldap.c (Fldap_open):
13129 (Fldap_search_basic):
13132 Make C++-compilable.
13133 Make sure GCPRO'ed variables are initialized.
13134 Use temp variables to avoid repeated calls to Flength.
13136 2000-03-16 Martin Buchholz <martin@xemacs.org>
13139 Make sure PATH_MAX is always defined.
13140 Include limits.h for PATH_MAX.
13141 Deprecate use of MAXPATHLEN.
13143 2000-03-10 Martin Buchholz <martin@xemacs.org>
13145 * emacs.c: Add reinit_vars_of_fileio.
13146 * symsinit.h: Add reinit_vars_of_fileio.
13147 * fileio.c (reinit_vars_of_fileio): New.
13148 * fileio.c (Fmake_temp_name):
13149 Initialize temp_name random number from microseconds to make
13150 collisions even less likely. Initialize always at process startup
13151 time. (make-temp-name) used to return the same file name twice in
13153 Random stylistic fiddling.
13156 2000-03-20 Andy Piper <andy@xemacs.org>
13158 * glyphs.c (image_instantiate): allow text glyphs to be
13159 instantiated in the minibuffer window.
13161 2000-03-19 Andy Piper <andy@xemacs.org>
13163 * glyphs.c (image_instance_hash): be careful about which items we
13166 * glyphs-widget.c (tab_control_set_property): record into pending
13167 items rather than the actual items.
13169 * glyphs-x.c (x_update_widget): use pending items to update with.
13171 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13174 * glyphs.c (mark_image_instance): mark pending items.
13176 * window.c (Fset_window_configuration): record the buffer.
13177 (Fselect_window): totally revert previous change which breaks many
13180 2000-03-18 Andy Piper <andy@xemacs.org>
13182 * glyphs-msw.c (mswindows_tab_control_update): force selected
13185 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13186 window domain cache, otherwise we get inconsistencies at
13187 startup. There is something fishy at startup which can lead to the
13188 minibuffer being the selected window when the gutter content is
13191 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13193 (parse_gui_item_tree_children): ditto.
13194 (parse_gui_item_tree_item): ditto.
13196 * glyphs.c (Fupdate_widget_instances): return something.
13198 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13200 * window.c (Fselect_window): Undo 2000-03-17 change.
13202 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13204 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13205 against v7.0 libraries. Insta-coredump city until the postgres
13208 2000-03-17 Andy Piper <andy@xemacs.org>
13210 * faces.c (complex_vars_of_faces): don't give the widget face an
13211 inherited background pixmap.
13213 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13216 * event-stream.c (Fdispatch_non_command_events): return something.
13218 * gutter.c (output_gutter): use widget face.
13219 (clear_gutter): ditto.
13221 * NEWS: adjust again.
13223 * window.c (Fselect_window): make sure this runs to completion to
13224 avoid oddities with Fset_window_configuration.
13225 (Fcurrent_window_configuration): in general do not save the
13226 minibuffer as the selected window.
13228 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13230 2000-03-16 Olivier Galibert <galibert@pobox.com>
13232 * emacs.c (Frunning_temacs_p): Revert previous patch.
13233 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13235 2000-03-16 Andy Piper <andy@xemacs.org>
13237 * glyphs-x.c (x_tab_control_update): if no widget values then
13240 * NEWS: update for new features.
13242 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13243 synthetic event to the native system.
13244 (reinit_vars_of_event_Xt): set force_event_pending to
13245 emacs_Xt_force_event_pending.
13247 * events.h (struct event_stream): add force_event_pending.
13249 * specifier.c (recompute_one_cached_specifier_in_window): add
13252 * redisplay.c (redisplay_frame): don't call
13253 update_frame_subwindows. Reset subwindow cachels when
13254 subwindows_changed, removing this was an optimization too far.
13256 * redisplay-output.c (compare_runes): reorganize so that we catch
13257 glyph changes when we want them. Set optimize_output when this
13258 would help layouts.
13259 (redisplay_output_layout): remove frame_really_changed, use
13260 optimize_output instead.
13262 * redisplay-msw.c (mswindows_output_display_block): reset
13263 optimize_output after outputting a glyph.
13264 * redisplay-x.c (x_output_display_block): ditto.
13265 * redisplay-tty.c (tty_output_display_block): ditto.
13267 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13269 (gutter_specs_changed): do specific gutter positions.
13270 (top_gutter_specs_changed): new function. Only update the
13271 specified gutter specs.
13272 (bottom_gutter_specs_changed): ditto.
13273 (left_gutter_specs_changed): ditto.
13274 (right_gutter_specs_changed): ditto.
13276 * gui.c (gui_item_hash_internal): new function, does a real hash.
13277 (gui_item_id_hash): use it.
13278 (gui_item_hash): hash the eval'ed gui_item.
13280 * gui-x.c (popup_selection_callback): send an eval event to call
13281 Fupdate_widget_instances.
13283 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13284 to call Fupdate_widget_instances.
13286 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13287 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13289 * glyphs.c: (update_frame_subwindows): deleted.
13290 (Fupdate_widget_instances): new function for updating the dirty
13291 state of widgets that might have changed.
13292 (syms_of_glyphs): add Qupdate_widget_instances.
13293 (full_list_hash): hash a list completely.
13294 (image_instance_hash): use it for items and properties.
13296 * frame-msw.c (mswindows_size_frame_internal): remove unused
13299 * faces.h (struct face_cachel): fix comment.
13301 * event-stream.c (Fdispatch_non_command_events): new
13302 function. Process non-command events, forcing an event cycle
13304 (syms_of_event_stream): declare.
13305 (event_stream_force_event_pending): new function. Force an event
13306 on the native event queue so that an event cycle will occur next
13310 (struct ntpipe_shove_stream):
13311 (mswindows_enqueue_dispatch_event):
13312 (mswindows_dequeue_dispatch_event):
13313 (mswindows_cancel_dispatch_event):
13314 (mswindows_pump_outstanding_events):
13315 (mswindows_drain_windows_queue):
13316 (mswindows_handle_paint):
13317 (mswindows_wnd_proc):
13318 (mswindows_key_to_emacs_keysym):
13319 (get_process_input_waitable):
13320 (emacs_mswindows_delete_stream_pair): re-indent file.
13321 (mswindows_need_event): do not process further fds if the windows
13322 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13323 fixes the 100% cpu problem.
13324 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13326 2000-03-15 Olivier Galibert <galibert@pobox.com>
13332 * emacs.c: Moved dump file searching to dumper.c.
13333 (Frunning_temacs_p): Fixed.
13335 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13336 last_lrecord_type_index_assigned.
13338 2000-02-20 Olivier Galibert <galibert@pobox.com>
13340 * symsinit.h: Added reinit parameter to init_console_stream
13343 * lisp.h: Added file parameter to pdump_load declaration.
13345 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13346 support. Added dump file searching.
13348 * config.h.in: Added EMACS_PROGNAME.
13350 * console-stream.c (init_console_stream): Fix reinitialisation
13351 when running from temacs.
13353 * alloc.c (pdump): Add id support.
13354 (pdump_load): Add file parameter and signature/id support.
13356 * Makefile.in.in: Add full pdump support.
13358 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13360 * postgresql.c: Update documentation to reflect latest code
13362 (print_result): Show tuple counts in printed representation when
13364 (Fpq_put_nbytes): MULE-ize.
13365 (Fpq_get_line_async): Ditto.
13367 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13369 * postgresql.c (Fpq_lo_import): Fix return value.
13370 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13372 2000-03-13 Ben Wing <ben@xemacs.org>
13374 * alloc.c (pdump_load):
13375 Fix compile warning under mswin.
13377 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13379 * postgresql.c: Mule-ization, bug fixes.
13380 Use PG_CODING to encapsulate coding system name changes.
13381 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13382 (pg-coding-system): Create.
13384 (Fpq_conn_defaults): Mule-ize.
13385 (Fpq_connectdb): Mule-ize & bug fix.
13386 (Fpq_connect_start): Mule-ize.
13387 (Fpq_set_client_encoding): Mule-ize.
13388 (Fpq_finish): Document `DEAD' connection status.
13389 (Fpq_clear): Ditto.
13390 (Fpq_pgconn): Mule-ize.
13391 (Fpq_exec): Mule-ize & bug fix.
13392 (Fpq_send_query): Ditto.
13393 (Fpq_get_result): Ditto.
13394 (Fpq_res_status): Mule-ize.
13395 (Fpq_result_error_message): Mule-ize.
13396 (Fpq_ntuples): fix comments.
13397 (Fpq_fname): Mule-ize.
13398 (Fpq_fnumber): Mule-ize.
13399 (Fpq_ftype): fix comments.
13400 (Fpq_get_value): Mule-ize.
13401 (Fpq_cmd_status): Ditto.
13402 (Fpq_cmd_tuples): Ditto.
13403 (Fpq_oid_value): Ditto.
13404 (Fpq_notifies): Ditto.
13405 (Fpq_lo_import): Ditto.
13406 (Fpq_lo_export): Ditto.
13407 (Fpq_get_line): Ditto.
13408 (Fpq_put_line): Mule-ize and bug fix.
13409 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13411 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13413 * postgresql.c (vars_of_postgresql): Mule-ize.
13414 (Fpq_conn_defaults): Ditto.
13416 2000-03-12 Ben Wing <ben@xemacs.org>
13418 * alloc.c (Fmake_byte_code):
13419 * alloc.c (debug_string_purity_print):
13420 * alloc.c (pdump_backtrace):
13421 * alloc.c (pdump_get_indirect_count):
13422 * alloc.c (pdump_register_sub):
13423 * alloc.c (pdump_register_object):
13424 * alloc.c (pdump_register_struct):
13425 * alloc.c (pdump_dump_data):
13426 * alloc.c (pdump_reloc_one):
13430 * console-msw.c (GetConsoleHwnd):
13431 * console-msw.c (msw_hide_console):
13432 * console-msw.c (msw_show_console):
13433 * console-msw.c (msw_ensure_console_buffered):
13434 * console-msw.c (msw_output_console_string):
13435 * console-msw.c (console_type_create_mswindows):
13437 a) Added functions to manipulate the console window for use with
13440 b) Added support for writing text to the console, which is now
13441 used under Windows when xemacs is not being run non-interactively,
13442 to write text that would otherwise be destined for stdout because
13443 under these circumstances, text written to stdout tends to
13444 disappear and not be seen.
13448 * event-Xt.c (x_event_to_emacs_event):
13449 * event-Xt.c (describe_event_window):
13450 * events-mod.h (XEMACS_MOD_CONTROL):
13452 * events.c (Fmake_event):
13453 * events.c (character_to_event):
13454 * events.c (event_to_character):
13455 * events.c (format_event_object):
13456 * events.c (Fevent_modifiers):
13458 * events.h (struct key_data):
13459 * events.h (struct button_data):
13460 * events.h (struct misc_user_data):
13461 * frame-x.c (Fcde_start_drag_internal):
13462 * frame-x.c (Foffix_start_drag_internal):
13463 * gpmevent.c (Freceive_gpm_event):
13465 * keymap.c (bucky_sym_to_bucky_bit):
13466 * keymap.c (control_meta_superify):
13467 * keymap.c (make_key_description):
13468 * keymap.c (keymap_lookup_directly):
13469 * keymap.c (create_bucky_submap):
13470 * keymap.c (keymap_store):
13471 * keymap.c (define_key_check_and_coerce_keysym):
13472 * keymap.c (define_key_parser):
13473 * keymap.c (define_key_alternate_name):
13474 * keymap.c (Fdefine_key):
13475 * keymap.c (raw_lookup_key_mapper):
13476 * keymap.c (struct map_keymap_unsorted_closure):
13477 * keymap.c (map_keymap_unsorted_mapper):
13478 * keymap.c (map_keymap_sort_predicate):
13479 * keymap.c (map_keymap_sorted):
13480 * keymap.c (accessible_keymaps_mapper_1):
13481 * keymap.c (where_is_recursive_mapper):
13482 * keymap.c (describe_map_mapper):
13483 * keymap.c (describe_map_sort_predicate):
13484 * keymap.c (describe_map):
13485 * keymap.c (complex_vars_of_keymap):
13486 And a number of other files, the key modifier preprocessor
13487 constants that xemacs uses have names that conflict with constants
13488 defined under MS Windows for other purposes, so they were renamed
13489 to begin with the prefix XEMACS_. The variables that hold such
13490 modifiers were changed to consistently be of type int to fix
13491 various compile warnings.
13493 * console.c (complex_vars_of_console):
13496 * device-msw.c (mswindows_finish_init_device):
13497 * device-msw.c (msw_get_workspace_coords):
13498 * device-msw.c (mswindows_device_system_metrics):
13499 and various other files, added support for a new
13500 device property called offset-workspace which returns the position
13501 of the upper left corner of the workspace area and goes along with
13502 the existing size-workspace property.
13505 * dialog-msw.c (push_bufbyte_string_as_unicode):
13506 * dialog-msw.c (mswindows_popup_dialog_box):
13507 Added support for XEmacs-style accelerator specifications in
13508 button text. Note: I didn't add support for this under X Windows,
13509 and somebody needs to do this.
13512 * dialog.c (Fpopup_dialog_box):
13513 Documented the support for accelerators that was just mentioned.
13515 editfns.c (get_home_directory): Changed behavior under Windows
13516 when HOME not defined; former behavior was irretrievably broken.
13519 * emacs.c (main_1):
13521 * minibuf.c (clear_echo_area_internal):
13522 * minibuf.c (echo_area_append):
13524 * print.c (std_handle_out_external):
13525 * print.c (std_handle_out_va):
13527 * print.c (write_string_to_stdio_stream):
13528 * print.c (output_string):
13529 * print.c (debug_print):
13530 * print.c (debug_backtrace):
13531 * print.c (debug_short_backtrace):
13532 Cleaned up the code that prints text to stdout so that this can be
13533 changed to output into a console window instead under MS Windows,
13534 as described above.
13537 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13538 * eval.c (internal_catch):
13539 * eval.c (unwind_to_catch):
13540 * eval.c (throw_or_bomb_out):
13541 * eval.c (condition_case_1):
13542 * eval.c (signal_1):
13543 * eval.c (check_error_state_sanity):
13544 * eval.c (call_with_suspended_errors_1):
13545 * eval.c (call_with_suspended_errors):
13546 * eval.c (reinit_vars_of_eval):
13547 Added code to catch throw loops and check for a pesky bug that may
13551 * event-msw.c (key_needs_default_processing_p):
13552 * event-msw.c (mswindows_wnd_proc):
13553 * event-msw.c (mswindows_modifier_state):
13554 * event-msw.c (emacs_mswindows_quit_p):
13555 * event-msw.c (vars_of_event_mswindows):
13556 a) Added support for using the alt key to select menu items as is
13557 standard under MS Windows. This is controlled using the variable
13558 menu-accelerator-enabled, just like under X Windows. There is an
13559 option on the options menu to turn this support on. I really
13560 think that it should be on by default under Windows, but I'm not
13561 going to make this change yet.
13563 b) Added support for dynamic display size changes under Windows.
13566 * event-stream.c (maybe_echo_keys):
13567 * event-stream.c (Fnext_event):
13568 * event-stream.c (command_builder_find_leaf):
13569 * event-stream.c (lookup_command_event):
13570 * event-stream.c (execute_command_event):
13571 * event-stream.c (pre_command_hook):
13572 * event-stream.c (post_command_hook):
13573 * event-stream.c (syms_of_event_stream):
13574 * event-stream.c (vars_of_event_stream):
13575 * event-stream.c (complex_vars_of_event_stream):
13576 * events.h (struct command_builder):
13578 a) Tried to clean up a little bit the horribly written x-specific
13579 accelerator code that crept into this file. I moved this code
13580 into menubar-x.c where it belongs. I also needed to move the
13581 command builder structure into the file events.h because it is
13582 accessed directly by this accelerator code. What I didn't do, but
13583 which should be done at some point, is to properly abstract this
13584 code using device methods instead of the kludgy way that it
13585 currently hooks into the event code.
13587 b) Added the lisp variables this-command-properties and
13588 last-command- properties, which should be used to synchronize two
13589 adjacent commands in preference to playing games with the variable
13590 this-command, which is typically what happens.
13592 c) Added some slightly nasty code to hook into the lisp support
13593 for shifted- motion-key selection. This is actually necessary for
13594 somewhat complicated reasons, which are described in
13595 simple.el. (NB: I think the proper thing would be to have the code
13596 that calls the pre and post command hooks also call out to generic
13597 lisp functions in simple.el, where all built-in stuff could be
13598 added. I will think about this more.)
13600 * event-unixoid.c (poll_fds_for_input):
13601 * lread.c (readchar):
13602 * redisplay-tty.c (tty_clear_frame):
13603 * redisplay-x.c (x_get_gc):
13604 * signal.c (interrupt_signal):
13605 And a whole bunch of other files: fixed up places that printed
13606 directly to stderr to instead call the function stderr_out so that
13607 the changes I made under Windows work correctly.
13609 * filemode.c (mode_string):
13613 * frame-msw.c (mswindows_size_frame_internal):
13614 Fixed the computation of frame size and position to keep the frame
13615 within the workspace area, rather than within the physical
13616 dimensions of the screen, so that the frame doesn't overlap window
13617 manager decorations, such as the start menu and toolbar, typically
13618 at the bottom of the screen.
13620 * frame.c (vars_of_frame):
13621 Changed the default frame title format under MS Windows to consist
13622 of buffername-XEmacs, which is standard under MS Windows. I think
13623 it might be a good idea to change this everywhere because I think
13624 it is superior to the current frame title format, but this is the
13625 kind of change that is likely to cause some people to get annoyed,
13626 so I'm not making it.
13628 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13630 * gui-msw.c (mswindows_handle_gui_wm_command):
13631 Fixed compile warnings.
13634 * gui-x.c (strdup_and_add_accel):
13635 * gui-x.c (button_item_to_widget_value):
13637 Added code to automatically put an accelerator onto the beginning
13638 of menu items that don't have one as is now the standard, and is
13639 described more later. Also fixed things so that the menu item
13640 name can be an evaluated expression, again a new standard.
13643 * gui.c (gui_item_add_keyval_pair):
13644 * gui.c (make_gui_item_from_keywords_internal):
13645 * gui.c (gui_add_item_keywords_to_plist):
13646 * gui.c (gui_item_accelerator):
13647 * gui.c (gui_name_accelerator):
13648 * gui.c (gui_item_included_p):
13649 * gui.c (gui_item_display_flush_left):
13650 * gui.c (gui_item_display_flush_right):
13651 * gui.c (parse_gui_item_tree_item):
13652 * gui.c (parse_gui_item_tree_children):
13653 * gui.c (parse_gui_item_tree_list):
13654 Mule-ized. Cleanup. GCPRO addition.
13656 * line-number.c (buffer_line_number):
13658 * lisp.h (EMACS_INT_MAX):
13659 Added the manifest constant EMACS_INT_MIN corresponding to the
13660 existing constant EMACS_INT_MAX. This is partially to fix compile
13661 warnings under Windows, and partly for cleanliness.
13664 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13665 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13666 * menubar-msw.c (displayable_menu_item):
13667 * menubar-msw.c (populate_menu_add_item):
13668 * menubar-msw.c (populate_or_checksum_helper):
13669 * menubar-msw.c (populate_menu):
13670 * menubar-msw.c (update_frame_menubar_maybe):
13671 * menubar-msw.c (prune_menubar):
13672 * menubar-msw.c (msw_char_is_accelerator):
13673 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13674 * menubar-msw.c (mswindows_handle_wm_command):
13675 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13676 * menubar-msw.c (mswindows_handle_wm_initmenu):
13677 * menubar-msw.c (mswindows_update_frame_menubars):
13678 * menubar-msw.c (mswindows_free_frame_menubars):
13679 * menubar-msw.c (mswindows_popup_menu):
13680 Fixed a bug in handling accelerators where an extra character
13681 would be displayed in the menu item. Also generalized the
13682 function displayable_menu_item because it is now used by the
13683 dialog box code as well. And finally, added code in the functions
13684 that create the menubar to extract a list of accelerators for the
13685 top level menubar, which is used in the event code to determine
13686 whether a particular alt-key combination should be used to invoke
13687 a menu item, or should be passed through to access the standard
13688 XEmacs keymap binding for this key combination.
13690 Much needed GCPROing.
13693 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13694 * menubar-x.c (menu_item_descriptor_to_widget_value):
13695 * menubar-x.c (restore_in_menu_callback):
13696 * menubar-x.c (x_popup_menu):
13697 * menubar-x.c (menu_move_up):
13698 * menubar-x.c (menu_move_down):
13699 * menubar-x.c (menu_move_left):
13700 * menubar-x.c (menu_move_right):
13701 * menubar-x.c (menu_select_item):
13702 * menubar-x.c (command_builder_operate_menu_accelerator):
13703 * menubar-x.c (menu_accelerator_junk_on_error):
13704 * menubar-x.c (command_builder_find_menu_accelerator):
13705 * menubar-x.c (Faccelerate_menu):
13707 Moved a whole bunch of code here that was previously in
13708 event-stream.c as described above. There is also code connected
13709 to the new standard of adding an accelerator to the beginning of
13710 menu items that don't have one as described above and below.
13713 * menubar.c (menu_parse_submenu_keywords):
13714 * menubar.c (Fmenu_find_real_submenu):
13715 * menubar.c (Fnormalize_menu_item_name):
13716 * menubar.c (syms_of_menubar):
13717 * menubar.c (vars_of_menubar):
13718 * menubar.c (complex_vars_of_menubar):
13720 a) Cleaned up a bunch of documentation and improved it.
13722 b) XEmacs now automatically adds an accelerator onto the beginning
13723 of any menu items that don't have one. I did this because there
13724 will inevitably be some menu items on the main menubar that don't
13725 have accelerators on them because the package that adds that
13726 particular menu item hasn't yet been fixed up to have accelerators
13727 in them and it looked rather strange to have some items with and
13728 some items without accelerators, especially since even in items
13729 without accelerators, you can, at least under windows, still
13730 access the item through an accelerator corresponding to the first
13731 character in the item's name. If people don't like this behavior,
13732 I can add a variable to turn it off optionally, but I'm not sure
13733 this is a good idea because we really do need to have accelerators
13734 on all of the menu items, and if a package doesn't like the
13735 accelerators being put on the first character, then it should put
13736 the accelerators where they belong.
13738 c) I made a behavior change, which is that the descriptor that
13739 specifies the text of the menu item, which formerly was just a
13740 string, can now also be an evaluated expression. This makes this
13741 descriptor parallel with all of the others, which could also be
13742 evaluated expressions. This also obviates the need for the
13743 keyword :label, which was previously listed in the documentation
13744 as unimplemented, and which was for the same purpose.
13749 * ntproc.c (new_child):
13750 * ntproc.c (sys_spawnve):
13751 * ntproc.c (find_child_console):
13752 * ntproc.c (sys_kill):
13753 Fixed compile warnings. By the way, this file should really go
13754 away entirely, and this will happen as soon as Kirill makes his
13755 final round of process cleanups, which affect the function
13759 * process-nt.c (struct nt_process_data):
13760 * process-nt.c (find_process_from_pid):
13761 * process-nt.c (send_signal_the_nt_way):
13762 * process-nt.c (enable_child_signals):
13763 * process-nt.c (find_child_console):
13764 * process-nt.c (send_signal_the_95_way):
13765 * process-nt.c (nt_finalize_process_data):
13766 * process-nt.c (ensure_console_window_exists):
13767 * process-nt.c (nt_create_process):
13768 * process-nt.c (nt_kill_child_process):
13769 * process-nt.c (nt_kill_process_by_pid):
13770 * process-nt.c (nt_open_network_stream):
13771 * process-nt.c (vars_of_process_nt):
13772 Copied over code from Emacs 20.5 to correctly send signals to sub-
13773 processes under Windows 95. Also added code to automatically
13774 create and hide console window when a sub-process is created under
13775 Windows 95, which obviates the need for the separate runemacs.exe
13776 executable, and finally implemented some variables that were
13777 implemented in Emacs 20.5, but previously not in XEmacs. These
13778 include mswindows- start-process-share-console and
13779 mswindows-start-process-inherit-error-mode. (Both of these only
13780 apply to Windows 95.)
13782 * regex.c (regex_compile): Fixed a compile warning.
13785 * select-msw.c (mswindows_own_selection):
13786 * select-msw.c (mswindows_get_foreign_selection):
13787 * select-msw.c (mswindows_disown_selection):
13788 * select-msw.c (console_type_create_select_mswindows):
13789 * select-msw.c (syms_of_select_mswindows):
13790 Cleaned up the file and implemented the device method
13791 selection_exists_p, which had accidentally been left out. Also
13792 removed four lisp functions that were remnants from before the
13793 time when the selection code was properly device abstracted.
13794 These functions are no longer needed because there are generic
13795 equivalents, and because they were added recently and don't exist
13796 in FSF Emacs, I don't think there's any problem with just deleting
13800 * sysdep.c (sys_subshell):
13801 Fixed a compile warning, although in this case there's probably
13802 something wrong with this code, and it ought to be looked into
13803 more thoroughly by somebody who understands it.
13806 * window.c (Fwindow_text_area_height):
13807 * window.c (Fwindow_width):
13808 * window.c (Fwindow_full_width):
13809 * window.c (Fwindow_pixel_width):
13810 * window.c (debug_print_window):
13811 * window.c (syms_of_window):
13812 Added functions window-text-area-height and window-full-width,
13813 which are functions for returning various width and height
13814 characteristics of a window. (One of these functions is necessary
13815 for making the file dialog box work correctly, and the other one
13816 was added for completeness.) Also added a table to the
13817 documentation for window-height which describes the entire scheme
13818 for accessing width and height characteristics of a window.
13820 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13822 * nt.c (fstat): Added a comment for another problem with
13823 non-encapsulated [f]stat(), reported by Adrian Aichner
13824 <aichner@ecf.teradyne.com>.
13826 2000-03-11 Andy Piper <andy@xemacs.org>
13828 * window.c (make_dummy_parent): initialize subwindow instance
13830 (Fset_window_configuration): zero extent_modiff.
13832 2000-03-10 Andy Piper <andy@xemacs.org>
13834 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
13835 more changes can be triggered.
13836 (Fredisplay_frame): ditto.
13837 (Fredraw_device): ditto.
13838 (Fredisplay_device): ditto.
13839 (redisplay_frame): make non-static.
13840 (redisplay_frame): call update_frame_gutter_geometry outside of
13843 * gutter.h: declare update_frame_gutter_geometry.
13845 * redisplay.h: declare redisplay_frame.
13847 * gutter.c (update_frame_gutter_geometry): move geometry changes
13848 in update_frame_gutters here. Geometry changes can only occur
13849 outside of redisplay.
13850 (update_frame_gutters): remove geometry change code.
13851 (Fredisplay_gutter_area): make sure that we are in display when we
13852 update and that we have flushed any size changes.
13854 2000-03-11 Andy Piper <andy@xemacs.org>
13856 * alloc.c (pdump_dump_data): remove i & count shadows.
13858 2000-02-27 Mike Alexander <mta@arbortext.com>
13860 * sysdep.h: Declare pdump_read_file
13862 * sysdep.c (pdump_read_file): New function
13864 * alloc.c (pdump_load): Call pdump_read_file to get the portable
13867 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13869 * lrecord.h: add `lrecord_type_pgsetenv'.
13871 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
13873 * symsinit.h: declare (vars|syms)_of* functions.
13874 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
13876 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
13878 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
13880 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
13883 * emacs.c (main_1): Call postgres initialization code.
13885 * postgresql.h: New file. PostgreSQL RDBMS support.
13886 * postgresql.c: New file.
13888 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13890 * redisplay-output.c (redisplay_output_display_block): Disable
13893 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13895 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
13896 (Fcanna_henkan_next): Ditto.
13897 (Fcanna_bunsetu_henkou): Ditto.
13898 (Fcanna_henkan_kakutei): Ditto.
13899 (Fcanna_henkan_end): Ditto.
13900 (Fcanna_henkan_quit): Ditto.
13901 (Fcanna_henkan_next): Set retun value correctly.
13902 (c2mu): Use unsigned char instead of signed char.
13904 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13906 * emacs.c (main_1): Always call syms_of_gui.
13907 * inline.c: include gui.h
13909 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
13911 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
13912 converted to Lisp_Object.
13913 (Qtop_bottom): New variable.
13914 (syms_of_redisplay): Initialize it.
13915 * redisplay.h (Vvisible_bell): Ditto.
13916 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
13917 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
13918 only flash top and bottom.
13920 2000-03-08 Andy Piper <andy@xemacs.org>
13922 * buffer.c (Frename_buffer): record new buffer name the right way.
13924 2000-03-08 Andy Piper <andy@xemacs.org>
13926 * glyphs.c (update_subwindow): increase hash depth so that widget
13927 items get picked up properly.
13929 * redisplay-output.c (compare_runes): increase hash depth so that
13930 widget items get picked up properly.
13932 2000-03-08 Andy Piper <andy@xemacs.org>
13934 * gutter.c (output_gutter): add some debug.
13936 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
13937 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
13938 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
13940 * redisplay-output.c (compare_runes): use display_hash to
13941 determine if glyphs really are not the same.
13943 * glyphs.c (update_subwindow): check display_hash to see if
13944 anything really needs to be updated. If not then do
13945 nothing. Record the display_hash after updating.
13946 (image_instance_equal): compare the image_instance face also.
13948 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
13950 * redisplay.h: Fix comment style.
13952 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
13954 * consle-msw.h (struct mswindows_frame):
13955 Added new member paint_pending to indicate whether a WM_PAINT
13956 magic event has been queued for this frame.
13958 * event-msw.c (mswindows_drain_windows_queue):
13959 Don't queue a WM_PAINT magic event if one is already queued.
13960 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
13962 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
13964 2000-03-07 Didier Verna <didier@xemacs.org>
13966 * dired.c: #include `regex.h' after `sysfile.h'.
13968 2000-03-06 Martin Buchholz <martin@xemacs.org>
13970 * sound.c (init_nas_sound): Fix compiler warning.
13972 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
13974 (MARK_STRUCT_AS_FREE):
13975 (MARK_STRUCT_AS_NOT_FREE):
13976 Make `gcc -fstrict-aliasing' work properly.
13978 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
13980 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
13981 (mswindows_delete_device): Call CoUnnitialize().
13983 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
13985 2000-02-25 <CraigL@DyCon.com>
13987 * process-nt.c: MinGW now has <shellapi.h>, but still needs
13990 * sysdep.c: This extern declaration for environ prevents MinGW
13991 from finding the variable in CRTDLL.DLL.
13993 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
13995 (SHGFI_EXETYPE): ..
13996 (WM_MOUSEWHEEL): ..
13997 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
13999 (MMRESULT): Removed, now defined in cygwin's windows headers.
14001 (uid_t,gid_t,pid_t,ssize_t): ..
14002 (_timeb): Removed, MinGW defines both _timeb and timeb.
14003 (HAVE_H_ERRNO): Added.
14004 (HAVE_TZNAME): Added, configure is not detecting this.
14006 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14008 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14009 * syntax.c (syntax_match): Use it.
14011 * cmds.c: Import auto-fill-chars from FSF Emacs.
14012 (Vauto_fill_chars): New variables.
14013 (internal_self_insert): Check Vauto_fill_chars.
14015 Declare auto-fill-chars as a Lisp variable and initialize it.
14017 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14019 * fileio.c (Fmake_symbolic_link):
14021 Run handlers even if local machine doesn't have symlinks.
14023 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14025 * event-msw.c (mswindows_drain_windows_queue):
14026 Don't generate paint magic events for non-XEmacs frames.
14028 2000-03-05 Andy Piper <andy@xemacs.org>
14030 * redisplay.c (redisplay_frame): generate_displayable_area and
14031 friends assumes that we are not in GC, we therefore have to make
14032 sure that this doesn't happen.
14034 * gutter.c (calculate_gutter_size): generate_displayable_area
14035 assumes that we are not in GC, we therefore have to make sure that
14036 this doesn't happen.
14038 2000-03-05 Martin Buchholz <martin@xemacs.org>
14040 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14042 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14044 * redisplay.c (regenerate_window): Make sure we set a sane value
14045 for end_pos even if we jump out of the loop.
14046 (regenerate_window): Answer Ben's question :-).
14047 (start_end_of_last_line): Add may_error argument.
14048 (start_of_last_line):
14049 (end_of_last_line): Pass may_error = 0.
14050 (end_of_last_line_may_error): New function.
14051 (pixel_to_glyph_translation): Use it, so we don't crash in
14054 2000-03-04 Andy Piper <andy@xemacs.org>
14056 * window.h (struct window): add gutter_extent_modiff.
14058 * window.c (allocate_window): zero out gutter_extent_modiff.
14060 * redisplay.h: declare sync_display_line_structs.
14062 * redisplay.c (add_glyph_rune): add a better comment.
14064 * redisplay-output.c (sync_display_line_structs): made non-static.
14065 (compare_runes): remove unneccesary glyph cachel access.
14067 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14069 * gutter.c (output_gutter): don't output the gutter if extent
14070 changes only involve extents in buffers. use 4 sets of display
14072 (gutter_extent_signal_changed_region_maybe): new function. Mark
14073 extents in gutters as changed.
14074 (update_frame_gutters): use 4 sets of display lines.
14075 (reset_gutter_display_lines): ditto.
14076 (free_frame_gutters): ditto.
14077 (redraw_exposed_gutter): force output of gutters.
14079 * frame.h (struct frame): add 4 sets of gutter display lines.
14081 * extents.c: (extent_changed_for_redisplay): signal changes to
14082 extents in strings in the gutter as well as extents in buffers.
14084 2000-03-02 Andy Piper <andy@xemacs.org>
14086 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14088 * frame.c (Fmake_frame): make sure the gutters get initialized
14089 after the frame is visible.
14090 (set_frame_selected_window): re-arrange compilation macros a
14092 (change_frame_size_1): mark gutters changed.
14094 * device.c (Fset_device_class): mark gutters changed.
14096 2000-03-01 Andy Piper <andy@xemacs.org>
14098 * window.c (window_top_frame_gutter_height): deleted.
14099 (window_bottom_frame_gutter_height): ditto.
14100 (window_left_frame_gutter_height): ditto.
14101 (window_right_frame_gutter_height): ditto.
14102 (window_top_gutter_height): don't use them.
14103 (window_bottom_gutter_height): ditto.
14104 (window_left_gutter_width): ditto.
14105 (window_right_gutter_width): ditto.
14106 (Fsplit_window): ditto.
14107 (Fwindow_pixel_edges): don't use border dimensions here.
14109 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14110 (update_scrollbar_instance): ditto.
14112 * redisplay.c (generate_modeline): don't take gutters into account.
14113 (generate_modeline): ditto.
14114 (redisplay_frame): small gutter display optimization.
14116 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14118 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14119 gutters into account.
14121 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14122 for window position and type.
14124 * gutter.c (get_gutter_coords): fix for frame gutters.
14125 (update_frame_gutters): update frame geometry if the gutters have
14127 (init_frame_gutters): record current gutter geometries.
14129 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14131 (mswindows_widget_instantiate): ditto.
14133 * frame.h (struct frame): add current_gutter_bounds.
14135 * frame.c (change_frame_size_1): position window and minibuffer
14136 appropriately taking into account the frame gutters.
14138 * frame-x.c: (x_initialize_frame_size): take into account the
14141 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14143 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14145 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14147 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14149 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14151 * file-coding.c (reset_decoding_stream): Clear previous
14152 detection state when autodetect.
14154 2000-02-29 Didier Verna <didier@xemacs.org>
14156 * extents.c (set_extent_glyph_1): don't require extents to be
14159 2000-02-27 Andy Piper <andy@xemacs.org>
14161 * gutter.c (Fset_default_gutter_position): don't default left and
14162 right gutter visibility to t.
14163 (Fset_default_gutter_position): run
14164 default-gutter-position-changed-hook.
14165 (syms_of_gutter): add default-gutter-position-changed-hook.
14167 2000-02-26 Andy Piper <andy@xemacs.org>
14169 * specifier.c (Fmake_specifier): add gutter references.
14171 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14173 * lisp.h: declare Fvalid_plist_p.
14175 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14177 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14178 well as its visibility so that it gets reconstructed.
14179 (construct_window_gutter_spec): new function. Construct a string
14180 to be displayed in the gutter from a plist of strings. Take care
14181 to only use elements that are declared as visible.
14182 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14184 (gutter_validate): allow plists of strings in the specifier.
14185 (gutter_specs_changed): construct the real_gutter from the gutter
14186 specs using construct_window_gutter_spec.
14187 (gutter_visible_validate): gutter-visible is a new specifier type.
14188 (Fgutter_visible_specifier_p): new function for the new specifier.
14189 (syms_of_gutter): declare gutter-visible and
14190 Fgutter_visible_specifier_p.
14191 (specifier_type_create_gutter): intitalize new gutter-visible
14193 (reinit_specifier_type_create_gutter): ditto.
14194 (specifier_vars_of_gutter): use new specifier type for gutter
14196 (init_frame_gutters): construct real_gutter correctly.
14197 (Fgutter_specifier_p): beef up documentation.
14198 (Fgutter_size_specifier_p): ditto.
14200 * winslots.h: add real_gutter slots.
14202 2000-02-25 Andy Piper <andy@xemacs.org>
14204 * device-msw.c: Be kind to older cygwin versions. From Raymond
14205 Toy <toy@rtp.ericsson.se>.
14207 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14208 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14210 2000-02-25 Martin Buchholz <martin@xemacs.org>
14212 * elhash.c (MARK_OBJ): Practice macro hygiene.
14214 2000-02-24 Martin Buchholz <martin@xemacs.org>
14216 * miscplay.c: s/__inline__/inline/g;
14217 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14218 (get_device_compdc): INLINE ==> static inline
14219 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14220 find -name '*.h' | \
14221 xargs global-replace \
14222 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14224 2000-02-25 Andy Piper <andy@xemacs.org>
14226 * window.c (window_top_frame_gutter_height): new function.
14227 (window_top_window_gutter_height): ditto.
14228 (window_top_gutter_height): use them.
14229 (window_bottom_frame_gutter_height): new function.
14230 (window_bottom_window_gutter_height): ditto.
14231 (window_bottom_gutter_height): use them.
14232 (window_left_window_gutter_width): new function.
14233 (window_left_frame_gutter_width): ditto.
14234 (window_left_gutter_width): use them.
14235 (window_right_window_gutter_width): new function.
14236 (window_right_frame_gutter_width): ditto.
14237 (window_right_gutter_width): use them.
14238 (window_pixel_height): new function. calulate window pixel height
14239 with frame gutter involvement.
14240 (Fsplit_window): calculate new sizes taking frame gutters into
14242 (window_char_height_to_pixel_height): don't include frame gutters.
14243 (window_char_height): use window_pixel_height.
14244 (window_pixheight): rename from window_pixel_height.
14245 (change_window_height): use it.
14246 (window_pixel_height_to_char_height): don't include frame gutters.
14247 (window_char_width_to_pixel_width): ditto.
14249 2000-02-25 Andy Piper <andy@xemacs.org>
14251 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14254 2000-02-24 Martin Buchholz <martin@xemacs.org>
14256 * alloc.c (staticpro):
14257 (staticpro_nodump):
14262 (compact_string_chars):
14263 (pdump_dump_wired):
14264 Convert: if (foo) abort(); ==> assert (! foo);
14266 * eldap.c (Fldap_search_basic):
14270 Fix compiler warnings, and possible crashes if (random) return
14271 value were to be used.
14273 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14275 * device-msw.c: Workaround ResetDC failure.
14277 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14278 applying a devmode.
14280 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14281 (mswindows_text_width): Do not start printer page.
14283 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14285 * glyphs-msw.c: Added image methods to msprinter console and
14286 msprinter-specific image instantiation.
14288 2000-02-20 Mike Alexander <mta@arbortext.com>
14290 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14291 to avoid crashes when selection-sets-clipboard is on
14292 (mswindows_own_selection): ditto
14294 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14297 * redisplay-msw.c (get_frame_dc):
14298 (get_frame_compdc):
14300 * device-msw.c (mswindows_init_device):
14301 (mswindows_delete_device):
14302 (msprinter_init_device):
14303 (msprinter_delete_device):
14304 * frame-msw.c (mswindows_init_frame_1):
14305 (mswindows_delete_frame):
14306 (msprinter_init_frame_3):
14307 (msprinter_delete_frame): Move compatible DC to device object from
14308 frame object, for both mswindows and msprinter. Only one at a time
14309 is needed, it is a real waste to have one per frame!
14311 2000-02-23 Andy Piper <andy@xemacs.org>
14313 * glyphs.c: add dynamic width and height elements.
14314 (image_instance_equal): ditto.
14316 * glyphs-widget.c (widget_query_geometry): calculate width and
14317 height dynamically if required.
14318 (initialize_widget_image_instance): initialize dynamic dimensions.
14319 (widget_instantiate): pick-up dynamic dimensions.
14321 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14322 dynamic determination. Add appropriate macros.
14324 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14326 (WINDOW_GUTTER_SIZE): ditto.
14327 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14329 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14331 (get_frame_dc): ditto.
14333 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14336 2000-02-23 Martin Buchholz <martin@xemacs.org>
14338 * XEmacs 21.2.31 is released.
14340 2000-02-22 Ben Wing <ben@xemacs.org>
14342 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14344 2000-02-22 Andy Piper <andy@xemacs.org>
14346 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14348 2000-02-21 Mike Sperber <mike@xemacs.org>
14352 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14355 2000-02-21 Mike Sperber <mike@xemacs.org>
14357 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14359 2000-02-21 Martin Buchholz <martin@xemacs.org>
14361 * XEmacs 21.2.30 is released.
14363 2000-02-20 Martin Buchholz <martin@xemacs.org>
14365 Performance hacking.
14367 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14368 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14369 * emacs.c (main_1):
14371 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14372 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14373 * symeval.h (DEFVAR_SYMVAL_FWD):
14374 * symbols.c (guts_of_unbound_marker):
14375 Make all c_readonly objects also lisp_readonly and marked for life.
14376 * lrecord.h (struct lrecord_implementation):
14377 Document flags better.
14378 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14379 * lrecord.h (DECLARE_LRECORD):
14380 * lrecord.h (XSETRECORD):
14381 * lrecord.h (RECORDP):
14382 * lrecord.h (RECORD_TYPEP):
14383 * lrecord.h (RECORD_MARKER): New.
14384 * lrecord.h (error_check_*):
14385 * lrecord.h (CONCHECK_NONRECORD):
14386 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14387 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14388 * lrecord.h (set_lheader_implementation):
14389 * lrecord.h (enum lrecord_type): New.
14390 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14391 * alloc.c (disksave_object_finalization_1):
14392 * alloc.c (mark_object):
14393 * alloc.c (lrecord_type_index):
14394 * alloc.c (tick_lcrecord_stats):
14395 * alloc.c (Fgarbage_collect):
14396 * alloc.c (init_alloc_once_early):
14397 * alloc.c (pdump_load):
14398 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14399 * alloc.c (lrecord_type_index): Delete.
14400 Make lisp object type indexes be constant.
14401 Makes (byte-compile) 5% faster.
14402 Put all marker functions into their own array.
14403 Makes (garbage-collect) 5% faster.
14404 Optimize SYMBOL_VALUE_MAGIC_P.
14405 Makes (byte-compile) 2-3% faster.
14406 * config.h.in (gc_checking_assert): New.
14407 * alloc.c: Use gc_checking_assert().
14408 * .dbxrc: Make compatible with new object type implementation.
14409 * .gdbinit: Make compatible with new object type implementation.
14410 * alloc.c: Delete all symbols defined only for debugging, such as
14411 Lisp_Type_Vector and lrecord_charset.
14413 2000-02-21 Andy Piper <andy@xemacs.org>
14415 * gui-msw.c (Fmswindows_shell_execute): fix file location
14418 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14419 unshowing so that set_window_buffer doesn't undo
14420 kill_buffer_hook's hard work.
14422 * glyphs-widget.c (tab_control_query_geometry): don't count the
14423 first item when calculating geometry.
14425 * glyphs.c (map_subwindow): remove redundant code.
14426 (update_frame_subwindows): be more circumspect about when to
14429 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14430 when items haven't changed. Update faces if faces have changed as
14431 well as just the widget face.
14432 (x_tab_control_update): Update faces if faces have changed as well
14433 as just the widget face.
14435 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14437 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14439 (build_syscolor_string): Use mswindows_color_to_string to try to
14441 (mswindows_device_system_metrics): Reverse the foreground and
14442 background colors so that they match the documentation.
14444 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14445 they match the default Windows palette.
14446 (mswindows_color_to_string): New function.
14448 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14450 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14452 2000-02-18 Olivier Galibert <galibert@pobox.com>
14454 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14455 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14457 * symbols.c (init_symbols_once_early): Removed obsolete
14458 DATA_SEG_BITS related kludge.
14459 (defvar_magic): Ditto.
14461 * malloc.c: Removed obsolete DATA_SEG_BITS
14463 * mem-limits.h: Ditto.
14465 * Makefile.in.in: Removed obsolete HAVE_SHM
14468 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14470 * device-msw.c (mswindows_delete_device): Free DDE string
14473 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14475 * keymap.c (get_keyelt):
14476 * unexnt.c (unexec):
14477 * vm-limit.c (memory_warnings):
14478 * ntheap.c (recreate_heap):
14479 * ntheap.h (UNINIT_PTR):
14480 * select-msw.c (Fmswindows_get_clipboard):
14481 (Fmswindows_set_clipboard):
14482 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14484 * menubar-msw.c (displayable_menu_item):
14486 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14487 * sysdep.c (sys_subshell):
14488 * process-nt.c (nt_create_process):
14489 * nt.c (normalize_filename):
14490 (dostounix_filename):
14491 (unixtodos_filename):
14492 * ntproc.c (win32_executable_type):
14493 * ntplay.c (play_sound_data_1):
14495 * editfns.c (get_home_directory):
14496 * event-msw.c (struct winsock_stream):
14497 (mswindows_dde_callback):
14498 * device-msw.c (msprinter_init_device):
14499 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14501 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14502 mswindows_clear_toolbar were swapped!
14504 * objects-msw.c:(colormap_t):
14506 * emacs.c (struct standard_args): Fixed const jumble.
14508 * glyphs-widget.c (update_widget): Fixed comparison notation.
14510 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14512 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14513 __declspec(noreturn) syntax.
14515 2000-02-19 Martin Buchholz <martin@xemacs.org>
14517 * eldap.c (Fldap_open):
14518 (Fldap_search_basic):
14521 Use new coding system conversion macros.
14523 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14525 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14527 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14529 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14530 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14532 * eldap.c (Qadd, Qreplace): New constant symbols
14533 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14534 interruptions by XEmacs signals
14535 Remove unnecessary calls to slow_down_interrupts and
14536 speed_up_interrupts
14537 (Fldap_search_basic): Renamed from Fldap_search_internal
14538 Added new optional parameter VERBOSE that triggers the
14539 display of progress messages
14540 Remove unnecessary calls to slow_down_interrupts and
14541 speed_up_interrupts
14542 LDAP result code analysis rewritten
14543 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14544 (syms_of_eldap): Define the new symbols and functions
14547 2000-02-17 Martin Buchholz <martin@xemacs.org>
14549 * realpath.c: Determine PATH_MAX maximally portably.
14551 * insdel.c (bytecount_to_charcount): Optimize.
14552 The function used to be optimized for entirely ASCII sequences.
14553 Now it is optimized for successive characters from the same
14554 charset. This also wins big for _mostly_ ASCII sequences.
14556 * fileio.c (Ffile_truename): convert return from realpath() using
14557 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14558 - Rewrite GCPROing slightly.
14560 * sysdep.c (sys_open): Do filename conversion, like all other
14561 sys_* functions. Fixes bug:
14562 (let ((file-name-coding-system 'iso-8859-2))
14563 (write-region x y latin2-name))
14564 ==> writes filename using internal encoding.
14566 2000-02-18 Martin Buchholz <martin@xemacs.org>
14568 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14569 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14570 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14571 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14572 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14573 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14574 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14575 (CONST_IF_NOT_DEBUG): Delete.
14576 * alloc.c (this_one_is_unmarkable): Delete.
14577 (mark_object): Don't check for this_one_is_unmarkable. Use the
14578 c_readonly flag instead.
14579 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14581 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14583 * event-msw.c (mswindows_drain_windows_queue):
14584 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14585 away redundant repaint events.
14587 2000-02-17 Andy Piper <andy@xemacs.org>
14589 * redisplay.h: declare mark_redisplay_structs.
14591 * redisplay.c (redisplay_window):
14592 (redisplay_frame): don't check subwindows_state_changed.
14593 (mark_redisplay): mark gutters here.
14595 * glyphs.c: (instantiate_image_instantiator): always layout if we
14596 haven't done so already.
14597 (allocate_image_instance): don't mark as dirty.
14598 (update_subwindow): bind inhibit_quit.
14600 * gutter.c (mark_gutters): new function.
14602 * glyphs-x.c (x_update_widget): Always resize to get round a
14605 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14606 breaking absolutely everything.
14608 * gutter.h: declare mark_gutters.
14610 2000-02-16 Martin Buchholz <martin@xemacs.org>
14612 * XEmacs 21.2.29 is released.
14614 2000-02-15 Olivier Galibert <galibert@pobox.com>
14616 * fns.c (size_bit_vector): Fix computation of the size.
14618 2000-02-15 Martin Buchholz <martin@xemacs.org>
14620 * *.[ch]: Change CONST to const globally.
14621 find -name '*.[ch]' | \
14622 xargs global-replace \
14623 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14624 - Remove vestigial references to CONST_IS_LOSING
14626 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14628 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14629 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14630 events instead of dispatching them directly.
14631 (mswindows_handle_paint): New function to do repainting.
14632 (mswindows_wnd_proc):
14633 (emacs_mswindows_handle_magic_event): Call above function.
14635 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14637 * objects-msw.c (mswindows_create_font_variant): Return the new
14639 (initialize_font_instance): Get font metrics from the underlined
14640 variant of the font to cope with the case where the underlined
14641 font has a bigger descent.
14643 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14645 * gui.c (gui_item_accelerator): Return the first underlined
14646 character in item name.
14648 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14650 * lisp.h: Added Qprinter.
14652 * general.c (syms_of_general): Initialized it.
14654 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14656 (get_frame_compdc): Made inline.
14658 * console.h (struct console_methods): Added eject_page method.
14660 * frame.h: Added FRAME_DISPLAY_P and friends.
14661 Aligned backslahes in many macros in more readable fashion.
14662 Added page_number to struct frame, and an accessor macro
14665 * defice.h: Added DEVICE_DISPLAY_P and friends.
14667 * device.c (Fdevice_printer_p): Used these.
14669 * frame.c (allocate_frame_core): Initialize page number.
14670 (Fprint_job_page_number):
14671 (Fprint_job_eject_page): Implemented.
14673 * frame-msw.c (msprinter_eject_page): Added method.
14674 (msprinter_start_page): Added.
14676 * window.c (Fwindow_truncated_p): Fixed docstring.
14677 (Fwindow_last_line_visible_height): Implemented.
14679 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14681 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14683 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14685 * syntax.c (scan_words): Always advance at least one character.
14687 2000-02-13 Andy Piper <andy@xemacs.org>
14689 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14690 to make sure the glyph is in the cachels.
14692 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14693 global image instance flag.
14694 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14695 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14697 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14698 (Fset_image_instance_property): mark layout as changed.
14699 (invalidate_glyph_geometry_maybe): mark layout as changed.
14700 (glyph_width): use new NEEDS_LAYOUT macro.
14701 (glyph_ascent): ditto.
14702 (glyph_descent): ditto.
14703 (glyph_height): ditto.
14704 (image_instance_layout): mark layout as clean after laying out.
14705 (update_subwindow): don't mark layout as clean here.
14707 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14708 should no longer be needed.
14710 * glyphs-x.c (x_update_widget): sanitize asserts.
14711 (x_finalize_image_instance): sanitize assignment to widgets.
14713 * glyphs-widget.c (widget_instantiate): don't need to clear the
14716 2000-02-13 Martin Buchholz <martin@xemacs.org>
14718 * sysdep.c (getcwd): Use standard prototype.
14719 * sysdep.h (getcwd): Use standard prototype.
14721 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14722 (sequence, start, end).
14723 Remove redundant type checking.
14724 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14725 view of `caller-protects') to avoid a crash where the real fix was
14728 2000-02-12 Martin Buchholz <martin@xemacs.org>
14730 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14732 * s/sol2.h: Remove feature macro initialization.
14734 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14735 (vector_hash): New. Code from internal_hash.
14737 Fix up allocation subsystem comments.
14739 * config.h.in: Add __EXTENSIONS__ for Solaris.
14741 * systime.h (EMACS_GETTIMEOFDAY): New.
14742 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14743 Remove Solaris-specific code.
14744 Use void* for the (ignored) second arg for gettimeofday().
14746 * elhash.c (hash_table_hash): Implement it, finally.
14747 * elhash.c: Use hashcode_t.
14749 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14750 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14752 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14753 * fns.c (size_bit_vector):
14754 * alloc.c (size_vector):
14755 (make_vector_internal):
14756 (make_bit_vector_internal):
14757 (sweep_bit_vectors_1):
14758 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14760 2000-02-10 Martin Buchholz <martin@xemacs.org>
14762 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14763 Include strings.h to avoid warnings for bzero and strcasecmp.
14765 2000-02-10 Olivier Galibert <galibert@pobox.com>
14767 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14768 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14770 * fns.c (size_bit_vector): New. Declare bit vectors as a
14773 2000-02-10 Olivier Galibert <galibert@pobox.com>
14775 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14776 use a value field instead.
14777 (symbol_value_forward_forward): Use value field.
14778 (DEFVAR_SYMVAL_FWD): Use value field.
14779 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14780 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14781 (DEFVAR_CONST_INT): Ditto.
14782 (DEFVAR_BOOL): Ditto.
14783 (DEFVAR_CONST_BOOL): Ditto.
14784 (DEFVAR_INT_MAGIC): Ditto.
14785 (DEFVAR_BOOL_MAGIC): Ditto.
14787 * symbols.c (guts_of_unbound_marker): Use value field.
14788 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14789 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
14791 * lisp.h: Declare dumpopaque and noninteractive1.
14793 * alloc.c (dumpopaque): Added.
14794 (pdump_dump_opaquevec): Added.
14795 (pdump): Call pdump_dump_opaquevec to dump opaque data.
14796 (pdump_load): Reload opaque data. Sync noninteractive1 with
14799 2000-02-10 Andy Piper <andy@xemacs.org>
14801 * glyphs.c (image_instance_layout): if the size changes, mark it
14804 * redisplay-output.c (redisplay_output_layout): Update the
14806 (redisplay_output_subwindow): ditto.
14808 * glyphs.c (update_subwindow): make sure we reset flags for
14809 layouts as well as everything else.
14811 * glyphs-widget.c (layout_layout): don't need to set the instances
14814 2000-02-09 Martin Buchholz <martin@xemacs.org>
14816 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
14817 not HAVE_DLOPEN, which is a lower-level thing.
14819 * .cvsignore: Ignore gmon.out
14821 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
14823 * .cvsignore: Ignore portable dumper xemacs.dmp file
14825 2000-02-09 Andy Piper <andy@xemacs.org>
14827 * redisplay-output.c (redisplay_output_layout): be more clever
14828 about when we output based on the changed flags.
14830 * glyphs.h (struct image_instantiator_methods): add update_method.
14831 (struct Lisp_Image_Instance): add changed flags. Declare new
14832 macros for manipulating them.
14834 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
14835 (image_instance_parent_glyph): find an image_instance's parent
14836 glyph or image_instance.
14837 (image_instance_layout): mark the size as changed.
14838 (set_image_instance_dirty_p): new function. mark an image
14839 instance, plus all of its parents, as dirty.
14840 (Fset_image_instance_property): use it.
14841 (Fglyph_animated_timeout_handler): use it.
14842 (update_subwindow): call update_widget and device methods for
14843 update_subwindow. Mark all changed flags as clean.
14844 (Fresize_subwindow): mark size as changed.
14846 * glyphs-x.c (x_finalize_image_instance): try and detect gc
14848 (x_update_subwindow): only resize subwindows here.
14849 (x_update_widget): new function. Update all changed properties of
14851 (x_resize_subwindow): deleted.
14852 (x_widget_set_property): deleted.
14853 (x_progress_gauge_set_property): deleted.
14854 (x_progress_gauge_update): new function. Implement recorded
14856 (x_tab_control_update): ditto.
14857 (x_tab_control_set_property): deleted.
14858 (console_type_create_glyphs_x): declare new functions.
14859 (image_instantiator_format_create_glyphs_x): ditto.
14861 * glyphs-widget.c (widget_set_property): mark text changed.
14862 (update_widget): new function. Update properties of a widget.
14863 (widget_instantiate): for layouts make sure we set their
14864 children's parent correctly.
14865 (tab_control_set_property): new function. Record changes that will
14866 take place under redisplay's control.
14867 (progress_gauge_set_property): ditto.
14868 (image_instantiator_progress_guage): declare new functions.
14869 (image_instantiator_tab_control): ditto.
14871 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
14873 (mswindows_update_widget): new function. Update all properties on
14874 a widget that have changed.
14875 (mswindows_button_update): new function. Update a button's set
14877 (mswindows_tab_control_update): new function. Update the items in
14879 (mswindows_tab_control_set_property): deleted.
14880 (mswindows_progress_gauge_update): new function. Update the
14881 progress gauge's progress.
14882 (mswindows_widget_set_property): deleted. This is all done
14883 asynchronously now.
14884 (mswindows_progress_gauge_set_property): ditto.
14885 (console_type_create_glyphs_mswindows): declare new methods.
14886 (image_instantiator_format_create_glyphs_mswindows): ditto.
14888 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
14889 (msprinter_set_frame_properties): ditto.
14891 * console.h (struct console_methods): Add update_widget_method.
14893 2000-02-09 Andy Piper <andy@xemacs.org>
14895 * gui-msw.c (Fmswindows_shell_execute): Make
14896 mswindows-shell-execute industrial strength.
14898 2000-02-08 Martin Buchholz <martin@xemacs.org>
14900 * lrecord.h: Make macro argument `props' match member function `plist'.
14903 * fns.c (Fremprop):
14904 * fns.c (Fobject_plist):
14907 Object property list frobbing cleanup.
14908 - Allow any lisp object (compared with `eq'), not just symbols, as
14909 keys in object plists.
14910 - Move symbol plist frobbing into symbols.c, where it belongs.
14911 - Move string plist frobbing into alloc.c, where it belongs.
14912 - Everything's an lrecord now, so no need to test for symbolp, etc.
14913 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
14915 * extents.c: Reorder code to remove declarations.
14917 * frame.h (store_in_alist): Remove useless declaration.
14919 2000-02-07 Martin Buchholz <martin@xemacs.org>
14921 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
14922 * config.h.in: Add HAVE_XCONVERTCASE.
14924 2000-02-07 Andy Piper <andy@xemacs.org>
14926 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
14927 it breaks many things.
14929 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14931 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
14932 actually can start a common comment type.
14933 * src/syntax.h (SYNTAX_END_P): ditto for end.
14935 2000-02-07 Martin Buchholz <martin@xemacs.org>
14937 * XEmacs 21.2.28 is released.
14939 2000-02-06 Martin Buchholz <martin@xemacs.org>
14941 * event-Xt.c (x_keysym_to_character): New.
14942 (maybe_define_x_key_as_self_inserting_character): New.
14943 (x_has_keysym): New.
14944 Auto-define all keys on the keyboard as self-insert-key.
14946 2000-02-02 Martin Buchholz <martin@xemacs.org>
14948 * menubar.c (vars_of_menubar): A small code simplification.
14950 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
14953 * ExternalClient.c:
14954 * EmacsShell-sub.c:
14957 Use consistent style for specifying X resources.
14959 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
14960 This makes (dontusethis-set-symbol-value-handler) actually usable.
14962 * lrecord.h (lrecord_decription_type):
14963 * alloc.c (pdump_register_sub):
14966 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
14967 Comply with XEmacs coding style.
14968 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
14969 args, and XD_LISP_OBJECT_ARRAY with 3 args.
14971 * keymap.c (Faccessible_keymaps):
14972 Make (accessible-keymaps map "\C-h") do the Right Thing.
14973 Make (accessible-keymaps map []) do the Right Thing.
14974 Make (accessible-keymaps map "") do the Right Thing.
14975 (check_keymap_definition_loop): New function.
14976 (keymap_store_internal): Keep luser from shooting self in foot,
14977 via (define-key ctl-x-4-map "p" global-map).
14978 Remove fullness slot from struct Lisp_Keymap, since hash tables
14980 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
14982 2000-01-30 Martin Buchholz <martin@xemacs.org>
14984 * redisplay.c (init_redisplay): Fix small memory leak.
14986 * elhash.c (pdump_reorganize_hash_table):
14987 Rename from reorganize_hash_table. Change prototype.
14988 Reuse the original memory for hentries. Save 100k.
14989 * alloc.c (PDUMP_READ): new macro.
14990 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
14991 * alloc.c: No need to #ifndef before #undef.
14993 * print.c: Allow debug_print() to print readably by modifying
14994 debug_print_readably. Use consistent variable names.
14996 * .dbxrc: Try to get things to work even if stopped in a function
14997 without source available by explicitly specifying source files.
14998 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15000 * unexnt.c (_start): Removed bogus code which caused loading heap
15001 from differrent executable file.
15002 Removed bogus assignment to _fmode, which caused inconsistencies.
15004 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15006 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15007 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15008 Do not preliminary `#define signal sigset'.
15010 * systime.h: Do not prototype environ on windows nt and cygwin,
15011 this conflicts with system header.
15013 * syssignal.h: Use correct define for WINDOWSNT
15015 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15016 with system header.
15018 * sysdep.c (near start of file): Fixed commentary and rearranged
15019 ifdefs in readable order.
15020 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15023 (end_of_data): Do not compile in if using PDUMP.
15025 * symsinit.h: Prototyped vars_of_nt().
15027 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15028 (find_child_console): Use it.
15029 (sys_kill): Use it.
15031 * ntheap.h: Do not extern os_subtype.
15033 * ntheap.c (cache_system_info): Do not cache unneeded:
15034 nt_major_version, nt_minor_version and os_subtype.
15035 (recreate_heap): Do not compile in when PDUMPing.
15037 * nt.c (geteuid and friends): Use the new varibale
15038 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15039 (init_user_info): Removed the above mentioned hackery.
15040 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15041 stat has been fixed in the C runtime.
15042 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15044 * file-coding.c (struct file_coding_dump): Do not define
15045 ucs_to_mule_table in the struct if not MULE.
15046 (struct struct lrecord_description fcd_description_1): Do not dump
15049 * emacs.c (main_1): Call vars_of_nt().
15050 (right before Fdump_emacs_data): Don't need lastfile if using both
15051 portabe dumper and system malloc.
15053 * alloc.c (Fmemory_limit): Conditionalized out.
15054 (pdump): Use OPEN_BINARY for the portable dump file.
15055 (pdump_load): Ditto.
15057 2000-02-02 Mike Alexander <mta@arbortext.com>
15059 * nt.c (convert_time): Set tm_isdst before calling mktime and
15060 avoid calling it at all if the compiler supports 64 bit integers.
15061 Also initialize utc_base_ft before using it.
15063 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15065 * frame.c (change_frame_size_1): Take f->internal_border_width
15066 into consideration when calculating the width of the frame.
15068 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15070 * window.c (frame_min_height):
15071 (frame_size_valid_p):
15072 (frame_pixsize_valid_p): Added.
15073 (check_frame_size): Generalized.
15075 * window.h: Prototyped the above.
15078 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15079 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15080 Deleted Vwin32_* and Vbinary_process_* unused variables.
15082 * device-msw.c (msprinter_init_device): Do not get printer font
15083 list; Added DEVMODE functions.
15085 * frame-msw.c: Added lots of printer code.
15087 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15090 * console-msw.h: Added more msprinter device private slots.
15092 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15094 * event-msw.c (key_needs_default_processing_p): Added.
15095 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15097 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15099 * glyphs.c (image_instance_layout): Mark image instance as clean
15101 (glyph_dirty_p): Removed redundant function.
15102 (invalidate_glyph_geometry_maybe): Added.
15103 (update_glyph_cachel_data): Call it.
15105 * glyphs.h: Prototyped it.
15107 * redisplay.c (add_glyph_rune): Call it.
15108 (redisplay_window): Reset glyphs cachels when frame faces have
15109 changed, thus forcing recomputation of built-in border glyphs.
15111 2000-01-30 Martin Buchholz <martin@xemacs.org>
15113 * Makefile.in.in: Make portable dumper and purify play well together.
15114 Add imperfect, but better than nothing, support for pdump.
15115 Remove xemacs.dmp when temacs is re-generated.
15116 Don't ignore errors when dumping xemacs.
15118 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15120 2000-01-28 Andy Piper <andy@xemacs.org>
15122 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15123 (setup_normal_frame): ditto.
15124 (setup_frame_without_minibuffer): ditto.
15125 (setup_minibuffer_frame): ditto.
15126 (delete_frame_internal): ditto.
15127 (Fmake_frame_invisible): ditto.
15128 (Ficonify_frame): ditto.
15130 * window.h: change Fset_window_buffer signature.
15132 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15133 (Fset_window_buffer): allow recording of buffer if the window is
15134 the selected window.
15135 (window_loop): Use new Fset_window signature.
15137 2000-01-23 Daniel Pittman <daniel@danann.net>
15139 * config.h.in: Added template for `HAVE_ATHENA_3D'
15141 2000-01-29 Andy Piper <andy@xemacs.org>
15143 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15145 * gutter.c (output_gutter): Don't output if the window isn't live.
15147 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15149 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15150 of 01/12/00: Moved SetFocus back here where it belongs.
15152 2000-01-23 Andy Piper <andy@xemacs.org>
15154 * s/cygwin32.h: declare printer things.
15156 2000-01-26 Andy Piper <andy@xemacs.org>
15158 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15161 2000-01-24 Andy Piper <andy@xemacs.org>
15163 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15164 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15166 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15168 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15170 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15172 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15173 (mswindows_output_display_block): Avoid local shadows.
15175 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15176 (mswindows_enqueue_mouse_button_event): ditto.
15177 (mswindows_handle_gui_wm_command): remove declaration.
15179 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15182 * console-msw.h: Avoid shadows.
15183 (mswindows_get_toolbar_button_text):
15184 (emacs_mswindows_create_stream_pair):
15185 (emacs_mswindows_delete_stream_pair):
15186 (mswindows_handle_toolbar_wm_command): declare.
15188 * device-msw.c (build_syscolor_string): Avoid shadows.
15190 2000-01-23 Andy Piper <andy@xemacs.org>
15192 * glyphs-widget.c (widget_instantiate): reverse the items for
15193 layouts so that children are in the expected order.
15195 2000-01-28 Martin Buchholz <martin@xemacs.org>
15197 * ralloc.c: safe_bcopy ==> memmove
15198 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15199 * s/msdos.h: Remove BCOPY macros.
15200 * insdel.c (gap_right): Remove BCOPY conditional code.
15201 * insdel.c (gap_left): Remove BCOPY conditional code.
15202 XEmacs demands a working ANSI C compiler - hence memmove.
15204 * regex.c (regex_compile): Remove accidental use of trigraphs.
15206 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15208 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15211 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15213 * event-msw.c (mswindows_drain_windows_queue): Added the
15215 (mswindows_need_event): Commented the call to
15216 mswindows_drain_windows_queue().
15217 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15220 * console-msw.h: Moved a few function prototypes here from
15223 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15224 parameter from unsigned short to unsigned long.
15225 (Fmswindows_shell_execute): Added return value.
15227 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15229 * sysdep.c (init_system_name):
15230 process-unix.c (unix_canonicalized_host_name):
15231 Don't call freeaddrinfo() if getaddrinfo() fails.
15233 * process-unix.c (unix_open_unix_network_stream):
15234 Moved the code to get a port # into address loop.
15236 2000-01-27 Martin Buchholz <martin@xemacs.org>
15238 * buffer.c (reinit_vars_of_buffer):
15239 The right place to initialize conversion_in_dynarr and
15240 conversion_out_dynarr.
15242 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15244 * process-unix.c (unix_canonicalize_host_name): Muleize.
15245 (unix_open_network_stream): Muleize.
15247 * buffer.h: Fix up prototypes for ralloc.c functions.
15249 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15250 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15251 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15252 instead of gethostbyname()
15253 * process-unix.c: In unix_canonicalize_host_name() and
15254 unix_open_network_stream(), add code to use getaddrinfo()
15255 instead of gethostbyname().
15257 2000-01-27 Daniel Pittman <daniel@danann.net>
15259 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15260 libs when built with flat Athena.
15262 2000-01-27 Martin Buchholz <martin@xemacs.org>
15264 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15265 Use coding standards for function prototypes.
15267 2000-01-25 Martin Buchholz <martin@xemacs.org>
15269 * dialog-msw.c (push_lisp_string_as_unicode):
15270 * doc.c (unparesseuxify_doc_string):
15271 * dired.c (Fuser_name_completion_1):
15272 * dired.c (Fuser_name_all_completions):
15273 * dired.c (free_user_cache):
15274 * dired.c (user_name_completion):
15275 * console-x.c (get_display_arg_connection):
15276 * minibuf.c (clear_echo_area_internal):
15277 * minibuf.c (echo_area_append):
15278 * eldap.c (Fldap_open):
15279 * eldap.c (Fldap_search_internal):
15280 * frame-x.c (x_set_frame_text_value):
15281 * frame-x.c (x_set_frame_properties):
15282 * frame-x.c (x_create_widgets):
15283 * redisplay-tty.c (term_get_fkeys_1):
15284 * objects-x.c (x_parse_nearest_color):
15285 * objects-x.c (x_valid_color_name_p):
15286 * objects-x.c (x_initialize_font_instance):
15287 * objects-x.c (x_list_fonts):
15288 * objects-x.c (x_find_charset_font):
15289 * tooltalk.c (Fadd_tooltalk_message_arg):
15290 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15291 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15292 * process-unix.c (unix_create_process):
15293 * ntproc.c (sys_spawnve):
15294 * sound.c (Fplay_sound_file):
15295 * sound.c (Fplay_sound):
15296 * buffer.c (init_initial_directory):
15297 * buffer.c (init_buffer):
15298 * editfns.c (init_editfns):
15299 * editfns.c (Ftemp_directory):
15300 * editfns.c (Fuser_full_name):
15301 * editfns.c (uncache_home_directory):
15302 * editfns.c (get_home_directory):
15303 * editfns.c (Fuser_home_directory):
15304 * editfns.c (Fformat_time_string):
15305 * editfns.c (Fcurrent_time_string):
15306 * gui-x.c (button_item_to_widget_value):
15307 * database.c (Fopen_database):
15308 * event-Xt.c (x_to_emacs_keysym):
15309 * event-Xt.c (x_event_to_emacs_event):
15310 * event-Xt.c (describe_event_window):
15311 * event-msw.c (mswindows_wnd_proc):
15312 * glyphs-eimage.c (jpeg_instantiate):
15313 * glyphs-eimage.c (gif_instantiate):
15314 * glyphs-eimage.c (png_instantiate):
15315 * glyphs-eimage.c (tiff_instantiate):
15316 * glyphs-x.c (xbm_instantiate_1):
15317 * glyphs-x.c (x_xbm_instantiate):
15318 * glyphs-x.c (x_xface_instantiate):
15319 * glyphs-x.c (autodetect_instantiate):
15320 * glyphs-x.c (cursor_font_instantiate):
15321 * glyphs-x.c (x_widget_instantiate):
15322 * glyphs-x.c (x_widget_set_property):
15323 * glyphs-x.c (x_widget_property):
15324 * glyphs-x.c (BUILD_GLYPH_INST):
15325 * print.c (write_string_to_stdio_stream):
15326 * print.c (output_string):
15327 * print.c (Falternate_debugging_output):
15328 * print.c (Fexternal_debugging_output):
15329 * glyphs-msw.c (extract_xpm_color_names):
15330 * glyphs-msw.c (mswindows_xpm_instantiate):
15331 * glyphs-msw.c (bmp_instantiate):
15332 * glyphs-msw.c (resource_name_to_resource):
15333 * glyphs-msw.c (mswindows_resource_instantiate):
15334 * glyphs-msw.c (xbm_instantiate_1):
15335 * glyphs-msw.c (mswindows_xbm_instantiate):
15336 * glyphs-msw.c (mswindows_xface_instantiate):
15337 * glyphs-msw.c (mswindows_widget_instantiate):
15338 * glyphs-msw.c (add_tree_item):
15339 * glyphs-msw.c (add_tab_item):
15340 * glyphs-msw.c (mswindows_combo_box_instantiate):
15341 * glyphs-msw.c (mswindows_widget_property):
15342 * glyphs-msw.c (mswindows_combo_box_property):
15343 * glyphs-msw.c (mswindows_widget_set_property):
15344 * console.c (stuff_buffered_input):
15345 * objects-msw.c (mswindows_initialize_color_instance):
15346 * objects-msw.c (mswindows_valid_color_name_p):
15347 * objects-msw.c (mswindows_list_fonts):
15348 * objects-msw.c (mswindows_font_instance_truename):
15349 * bytecode.c (optimize_compiled_function):
15350 * select-x.c (symbol_to_x_atom):
15351 * select-x.c (x_atom_to_symbol):
15352 * select-x.c (hack_motif_clipboard_selection):
15353 * select-x.c (selection_data_to_lisp_data):
15354 * select-x.c (lisp_data_to_selection_data):
15355 * select-x.c (Fx_get_cutbuffer_internal):
15356 * select-x.c (Fx_store_cutbuffer_internal):
15357 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15358 * buffer.h (TO_INTERNAL_FORMAT): New function.
15359 * emacs.c (make_arg_list_1):
15360 * emacs.c (make_argc_argv):
15361 * emacs.c (main_1):
15362 * emacs.c (Fdump_emacs):
15363 * emacs.c (split_string_by_emchar_1):
15368 * device-x.c (x_init_device):
15369 * device-x.c (Fx_valid_keysym_name_p):
15370 * device-x.c (Fx_get_font_path):
15371 * device-x.c (Fx_set_font_path):
15372 * glyphs.c (bitmap_to_lisp_data):
15373 * glyphs.c (pixmap_to_lisp_data):
15374 * alloc.c (make_ext_string): Use coding system arguments. Update
15376 * alloc.c (build_string):
15377 * callproc.c (child_setup):
15378 * callproc.c (init_callproc):
15379 * fileio.c (lisp_strerror):
15380 * fileio.c (directory_file_name):
15381 * fileio.c (Fexpand_file_name):
15382 * fileio.c (Ffile_truename):
15383 * fileio.c (Fsysnetunam):
15384 * fileio.c (Fdo_auto_save):
15385 * sysdep.c (sys_readdir):
15386 * tests.c: New file. Allow adding C tests.
15387 Replace GET_* macros with a more comprehensible and flexible
15388 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15390 Any coding system can be used to do format conversion.
15391 Eliminate enum external_data_format.
15392 Eliminate convert_to_external_format.
15393 Eliminate convert_to_internal_format.
15394 Make sure file-name, keyboard, terminal, and ctext are always
15395 defined as coding systems or aliases. Make
15396 file-name-coding-system, terminal-coding-system, and
15397 keyboard-coding-system magical variables that are equivalent to
15398 defining the corresponding coding system aliases.
15400 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15401 * file-coding.c (Fcoding_system_alias_p): New function.
15402 * file-coding.c (Fcoding_system_aliasee): New function.
15403 * file-coding.c (append_suffix_to_symbol): New function.
15404 * file-coding.c (dangling_coding_system_alias_p): New function.
15405 * file-coding.c (Ffind_coding_system):
15406 * file-coding.c (Fcopy_coding_system):
15407 * file-coding.c (encode_coding_no_conversion):
15408 * file-coding.c (syms_of_file_coding):
15409 * file-coding.c (vars_of_file_coding):
15410 Rewrite coding system alias code.
15411 Allow nested aliases, like symbolic links.
15412 Allow redefinition of coding system aliases.
15413 Prevent existence of dangling coding system aliases.
15415 * dired.c (Fuser_name_completion_1):
15416 * dired.c (Fuser_name_all_completions):
15417 A crash would happen if user did QUIT in the middle of building
15418 user_name_cache. Remove redundant code in mainline and unwind_protect.
15421 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15423 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15424 an unsigned char *. Update all callers.
15426 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15428 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15430 2000-01-25 Martin Buchholz <martin@xemacs.org>
15432 * elhash.c (hentry_description): Use more portable definition.
15433 (resize_hash_table): Initialize new hentries using
15434 xnew_array_and_zero, thereby simplifying the code.
15436 * mule-charset.c (make_charset): Make sure entire object is
15437 initialized, to avoid Purify warnings.
15439 * alloc.c (resize_string): Fix unlikely crash with big strings.
15441 2000-01-24 Martin Buchholz <martin@xemacs.org>
15443 * realpath.c (xrealpath):
15444 Don't call getwd().
15446 2000-01-25 Martin Buchholz <martin@xemacs.org>
15448 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15450 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15452 * unexelfsgi.c (unexec): Change the way we decide which segment
15453 should be extended.
15455 Assumption that .bss section should be outside the PT_LOADable
15456 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15457 it's present) is inside the 'data' segment. This would fail the
15458 test which was used to find a segment to grow and cover new
15459 heap. Instead of this assumption, I created another one - on IRIX
15460 the segment to grow should start below .bss and it's address
15461 should extent above the end of .bss. Once this segment is
15462 identified, it's grown to accommodate the new heap and new
15463 zero-length .bss section is added at the end of .data2.
15465 2000-01-25 Martin Buchholz <martin@xemacs.org>
15467 * eval.c (Feval): Wrong number of arguments should use original
15468 function, not the indirect_function version of it.
15470 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15472 * glyphs-x.c (x_button_instantiate): Don't add image if
15473 it is not a pixmap.
15474 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15477 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15479 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15481 (DEFVAR_INT_MAGIC): Ditto.
15482 (DEFVAR_BOOL_MAGIC): Ditto.
15483 * glyphs.h: Reindent backslash.
15485 2000-01-24 Martin Buchholz <martin@xemacs.org>
15487 * glyphs-widget.c (layout_query_geometry):
15488 (layout_layout): Use correct types for gheight, gwidth.
15490 2000-01-24 Martin Buchholz <martin@xemacs.org>
15492 * EmacsManager.c (QueryGeometry): Purified.
15494 2000-01-23 Martin Buchholz <martin@xemacs.org>
15496 * alloc.c (make_float): Make sure entire object is initialized, to
15497 avoid Purify warnings.
15498 (pdump_register_sub): Remove useless assignment.
15499 (pdump): Use xmalloc, not malloc.
15500 (pdump_load): Use xmalloc, not malloc.
15502 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15509 * sysdep.c: Removed redundant #include <windows.h>
15511 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15513 * frame.c (delete_frame_internal): Do not delete device when its
15514 implementation so declares.
15515 (delete_frame_internal): Set device selected frame to nil when
15516 last frame goes away.
15518 * device-msw.c (msprinter_device_system_metrics): Implemented.
15519 (mswindows_device_system_metrics): Added 'device-dpi property.
15521 * device.c: (Fdevice_printer_p): Added.
15522 Added 'offset-workspace device metric.
15524 * console.h (device_metrics): Declared DM_offset_workspace.
15526 2000-01-23 Martin Buchholz <martin@xemacs.org>
15528 * fileio.c (Ffile_truename): Remove pointless and confusing
15529 initialization of elen.
15531 * glyphs-widget.c: Compiler warning fixes.
15533 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15535 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15536 instead of a Lisp_Object as argument to make it consistent with
15537 the other LIVE_P macros.
15538 (CHECK_LIVE_PROCESS): New macro.
15540 * process.c: Declare Qprocess_live_p.
15541 (Fprocess_live_p): New function.
15542 (create_process): Use PROCESS_LIVE_P.
15543 (read_process_output): Ditto.
15544 (set_process_filter): Ditto.
15545 (Fdelete_process): Ditto.
15546 (kill_buffer_processes): Ditto
15547 (process_send_signal): Use CHECK_LIVE_PROCESS.
15548 (Fprocess_input_coding_system): Check whether process is still
15549 alive (fix PR#1061).
15550 (Fprocess_output_coding_system): Ditto.
15551 (Fprocess_coding_system): Ditto.
15552 (Fset_process_input_coding_system): Ditto.
15553 (Fset_process_output_coding_system): Ditto.
15555 2000-01-23 Andy Piper <andy@xemacs.org>
15557 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15560 * glyphs.c (mark_image_instance): take into account changed
15561 image_instance format.
15562 (image_instance_equal): ditto.
15563 (image_instance_hash): ditto.
15565 * glyphs-widget.c (widget_instantiate): Incorporate layout
15566 instantiation here. Delay layout of the layout until later.
15567 (layout_instantiate): deleted.
15568 (layout_query_geometry): new function. get the geometry of a
15570 (layout_layout): layout a layout dynamically.
15571 (image_instantiator_widget): New function - splitting up
15572 image_instantiator_format_create_glyphs_widget for netwinder
15574 (image_instantiator_buttons):
15575 (image_instantiator_edit_fields):
15576 (image_instantiator_combo_box):
15577 (image_instantiator_scrollbar):
15578 (image_instantiator_progress_guage):
15579 (image_instantiator_tree_view):
15580 (image_instantiator_tab_control):
15581 (image_instantiator_labels):
15582 (image_instantiator_layout): ditto.
15583 (image_instantiator_format_create_glyphs_widget): Call preceding
15586 2000-01-22 Martin Buchholz <martin@xemacs.org>
15588 * process.c (Fset_process_coding_system):
15589 * device-x.c (Fx_keysym_hash_table):
15592 * lstream.c (Lstream_write): Return documented value, not 0.
15594 * fileio.c (directory_file_name):
15595 (Fsubstitute_in_file_name):
15596 (Fsubstitute_insert_file_contents_internal):
15597 (Fwrite_region_internal):
15602 Remove vestigial APOLLO-conditional code.
15604 2000-01-21 Martin Buchholz <martin@xemacs.org>
15606 * getpagesize.h: Add guard macros.
15607 * libsst.h: Add guard macros.
15608 * libst.h: Add guard macros.
15609 * line-number.h: Add guard macros.
15610 * ndir.h: Add guard macros.
15611 * sysfloat.h: Add guard macros.
15612 * sysfile.h: Add guard macros.
15613 * sysproc.h: Add guard macros.
15614 * syswait.h: Add guard macros.
15615 * xintrinsic.h: Add guard macros.
15616 * xintrinsicp.h: Add guard macros.
15617 * xmmanager.h: Add guard macros.
15618 * xmmanagerp.h: Add guard macros.
15619 * xmprimitive.h: Add guard macros.
15620 * xmu.h: Add guard macros.
15621 * gpmevent.h: Add copyright statement. Add guard macros.
15622 * miscplay.h: Add guard macros.
15623 * *.h: Use consistent C-standards-approved guard macro names.
15625 * opaque.c (make_opaque): Switch parameter order.
15626 * opaque.h (make_opaque): Switch parameter order.
15627 Update all callers.
15628 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15630 * config.h.in (type_checking_assert): Added.
15631 (bufpos_checking_assert): Added.
15633 2000-01-21 Martin Buchholz <martin@xemacs.org>
15635 * alloc.c: Harmless pdump changes.
15637 - spell alignment correctly.
15638 * sysdep.c: Use countof()
15640 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15642 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15643 initially_selected_for_input() console method, default to 0.
15644 (semi_canonicalize_console_connection): Try to delegate to
15645 canonicalize_console_connection if no such console method.
15646 (canonicalize_console_connection): Vice versa.
15647 (print_console): Do not print nil connection.
15649 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15650 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15651 (XDEVIMPF_FRAMELESS_OK): Added.
15652 (CONSOLE_INHERITS_METHOD): Added.
15654 * console-msw.c (mswindows_canonicalize_console_connection):
15656 (mswindows_canonicalize_device_connection): Added.
15658 * console-msw.h (struct msprinter_device): Added this struct and
15660 (mswindows_device): Made fontlist a lisp object.
15662 * device.c (semi_canonicalize_device_connection): Try to delegate
15663 to canonicalize_device_connection if no such console method.
15664 (canonicalize_device_connection): Vice versa.
15665 (print_device): Do not print nil connection.
15667 * device-msw.c (mswindows_init_device): Call InitCommonControls
15669 (mswindows_delete_device): Removed fontlist deallocation.
15670 (mswindows_mark_device): Added.
15672 * events.c (event_equal): Added abort() at unreached code.
15673 (event_hash): Ditto.
15675 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15676 fallback tags of Windows devices.
15678 * general.c (syms_of_general): Initialized Qmsprinter.
15680 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15681 of fallback tags of Windows devices.
15683 * lisp.h: Declared Qmsprinter.
15685 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15687 (mswindows_list_fonts): Ditto.
15688 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15689 that it can be used by both mswindows and msprinter devices.
15690 (initialize_font_instance): Added.
15691 (mswindows_initialize_font_instance): Use it.
15692 (msprinter_initialize_font_instance): Added.
15694 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15695 and implementation flags check.
15696 (redisplay_without_hooks): Changed the call to the above.
15697 (Fredraw_device): Ditto.
15698 (Fredisplay_device): Ditto.
15700 * redisplay-msw.c (get_frame_dc): Implemented.
15701 (get_frame_compdc): Implemented.
15702 (many functions): Use the two functions above to get device
15703 contexts, ether for a window or a printer.
15705 2000-01-21 Olivier Galibert <galibert@pobox.com>
15707 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15708 initialization here.
15709 (init_symbols_once_early): Call it.
15710 * emacs.c (main_1): Call it.
15711 * symsinit.h: Declare it.
15713 2000-01-19 Olivier Galibert <galibert@pobox.com>
15715 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15717 (pdump_backtrace): Ditto.
15718 (pdump_register_object): Ditto. Cleanup use of the pointers.
15719 (pdump_get_entry): Abort if trying to register a null pointer.
15720 (pdump_dump_data): Cleanup types when relocating.
15721 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15722 (pdump_dump_rtables): Remove bad casts.
15723 (pdump_load): Cleanup relocation w.r.t union type. Use a
15724 Lisp_Object instead of a EMACS_INT for the hashtable
15727 2000-01-20 Martin Buchholz <martin@xemacs.org>
15729 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15731 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15733 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15735 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15737 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15739 * faces.h (FACE_STRIKETHRU_P): Added.
15741 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15744 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15745 (mswindows_set_dc_font): New function, aware of font variants,
15746 separated from mswindows_update_dc.
15748 * objects-msw.h (struct mswindows_font_instance_data): Added
15751 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15752 cached fonts and the data structure.
15753 (mswindows_initialize_font_instance): Added creation of font data
15755 (mswindows_print_font_instance): Print at least something.
15756 (mswindows_create_font_variant): Implemented.
15757 (mswindows_get_hfont): Implemented.
15759 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15761 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15762 prototyping problem with msvc.
15764 * emacs.c (main_1): added syms_of_gui_mswindows() call
15766 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15767 syms_of_gui_mswindows() function
15769 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15771 2000-01-18 Martin Buchholz <martin@xemacs.org>
15773 * XEmacs 21.2.27 is released.
15775 2000-01-18 Martin Buchholz <martin@xemacs.org>
15777 * glyphs-eimage.c (struct tiff_error_struct):
15779 (tiff_warning_func):
15780 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15785 * unexec.c: Remove vestigial Lucid C code.
15789 * libsst.c: Ansify.
15790 Remove declarations of errno and strerror().
15792 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
15794 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
15796 2000-01-16 Martin Buchholz <martin@xemacs.org>
15798 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
15801 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15806 Change enum eol_type to eol_type_t.
15808 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15810 * gui.c (get_gui_callback): Check cons before accessing car.
15812 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15814 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
15815 (XSETSPECIFIER_TYPE): Ditto.
15817 2000-01-17 Didier Verna <didier@xemacs.org>
15819 * redisplay.c (generate_fstring_runes): compute string size in
15820 characters, not bytes.
15822 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15824 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
15826 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
15828 * print.c (print_error_message): Call print_prepare().
15830 2000-01-14 Martin Buchholz <martin@xemacs.org>
15832 * .dbxrc: Renamed from dbxrc.
15834 * events.c (event_to_character):
15835 Use `assert (foo)' instead of `if (!foo) abort()'
15837 * .gdbinit (xtype): Add documentation.
15838 * .gdbinit (check-temacs): New function.
15839 * .gdbinit (check-xemacs): New function.
15840 * dbxrc (check-xemacs): New function.
15841 * dbxrc (check-xemacs): New function.
15843 2000-01-14 Andy Piper <andy@xemacs.org>
15845 * glyphs-widget.c (widget_query_geometry): Make sure that we
15846 calculate default dimensions correctly.
15848 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15850 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
15852 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
15853 pdump_wire'd variable.
15855 * emacs.c: (main_1): Conditionalized calls to
15856 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
15858 2000-01-13 Martin Buchholz <martin@xemacs.org>
15860 * window.c (Fset_window_configuration):
15861 * sysdep.c (_start):
15862 * input-method-motif.c (res):
15863 * event-Xt.c (Xt_process_to_emacs_event):
15864 Simple compiler warning fixes.
15866 * bytecode.c (funcall_compiled_function): Use the original
15867 function symbol on the backtrace list in preference to the
15868 compiled_function object in error messages.
15870 2000-01-13 Andy Piper <andy@xemacs.org>
15872 * glyphs-x.c (update_widget_face): Make sure we update the widget
15873 background as well as foreground.
15875 2000-01-13 Andy Piper <andy@xemacs.org>
15877 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
15878 fields to subwindow.
15879 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
15880 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
15881 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15882 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
15884 * glyphs-widget.c (check_valid_tab_orientation): new function.
15885 (initialize_widget_image_instance): zero orientation and
15887 (widget_instantiate): pick up orientation.
15888 (tab_control_query_geometry): return appropriate values for
15891 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
15892 appropriate creation flags for left, right and bottom tabs.
15894 * s/cygwin32.h: add tab definitions.
15896 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15898 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
15899 frame upon hiding a subwindow.
15900 (mswindows_button_instantiate): Changed the push button style to
15902 (mswindows_button_instantiate): Removed button BS_NOTIFY
15904 (mswindows_button_instantiate): Removed redundant check for
15905 a disabled gui item.
15906 (mswindows_button_instantiate): Made use of WS_TABSTOP
15907 consistent: "operable" controls (edit, button, tree, scroll) have
15908 this style, "display-only" ones (static, progress gauge) do
15909 not. This style is currently ignored by XEmacs though. Also,
15910 removed the WS_EX_CONTROLPARENT style - it is not for children,
15911 it is for their parents!
15912 (mswindows_edit_field_instantiate): Ditto.
15913 (mswindows_progress_gauge_instantiate): Ditto.
15914 (mswindows_tree_view_instantiate): Ditto.
15915 (mswindows_tab_control_instantiate): Ditto.
15916 (mswindows_scrollbar_instantiate): Ditto.
15917 (mswindows_combo_box_instantiate): Ditto.
15918 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
15919 style to the "clip" window.
15920 (mswindows_button_instantiate): Removed compilation warning by
15921 equally typing terms of the ?: operator.
15923 2000-01-12 Didier Verna <didier@xemacs.org>
15925 * redisplay.c (generate_fstring_runes): new parameter holding the
15926 last modeline-format extent.
15927 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
15928 extent, fill the glyph block with it.
15929 (generate_fstring_runes): handle these parameters.
15930 (generate_formatted_string_db): ditto.
15932 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
15933 glyphs'extents in the modeline.
15935 1999-01-11 Mike Woolley <mike@bulsara.com>
15937 * ntheap.c: Reduced the reserved heap space from 1Gb down to
15938 256Mb, as a workaround for the non-starting problem many people
15941 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15943 * console-tty.c (Fset_console_tty_output_coding_system):
15944 Force redrawing tty frame.
15946 2000-01-10 Didier Verna <didier@xemacs.org>
15948 * redisplay.c (generate_fstring_runes): fix size computation bug.
15950 2000-01-09 William M. Perry <wmperry@aventail.com>
15952 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
15954 2000-01-09 Andy Piper <andy@xemacs.org>
15956 * glyphs-msw.c: index -> i to avoid shadows.
15957 (xbm_create_bitmap_from_data): make static.
15958 (check_valid_string_or_int): deleted.
15959 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
15961 * glyphs-x.c (x_update_subwindow): remove unused args.
15963 * glyphs.c (glyph_image_instance): return the thing. Don't set the
15964 back pointer - this is done in allocate_image_instance.
15965 (query_string_font): return Qnil to make the compiler happy.
15966 (unmap_subwindow): set to ~0 to make the compiler happy.
15967 (glyph_query_geometry): comment out until used.
15968 (glyph_layout): ditto.
15970 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
15972 * insdel.c (signal_after_change): Remove extraneous unbind_to().