1 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
4 (char_encode_as_entity_reference): Likewise.
5 (decode_coding_big5): Modify for `decode_defined_char' and
7 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
8 avoid compiler warning.
9 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
11 * mule-charset.c (decode_defined_char): Add new argument
12 `without_inheritance'.
13 (Fdecode_char): Add new optional argument `without_inheritance'.
14 (Fdecode_builtin_char): Modify for `Fdecode_char'.
16 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
17 (simplify_char_spec): Likewise.
19 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
22 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
23 (map_char_table): Likewise.
24 (Fdefine_char): Use `Fdecode_char' without inheritance.
25 (Ffind_char): Modify for `Fdecode_char'.
27 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
29 * char-ucs.h (decode_defined_char): Add new argument
30 `without_inheritance'.
31 (DECODE_CHAR): Likewise.
32 (MAKE_CHAR): Modify for `DECODE_CHAR'.
34 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
36 * chartab.c (Vchise_system_db_directory): New variable.
37 (vars_of_chartab): Add new variable `chise-system-db-directory'.
39 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
41 * chartab.c: EXFUN `Fmount_char_attribute_table'.
42 (print_chartab_range): Don't define when `UTF2000' is defined.
43 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
46 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
48 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
49 and optional argument `rehash' is specified, call
50 `open_chise_data_source_maybe' before
51 `chise_ds_foreach_char_feature_name' is called.
53 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * chartab.c (char_attribute_list_reset_map_func): New function
56 when HAVE_LIBCHISE is defined.
57 (Fchar_attribute_list): Add new optional argument `rehash' when
58 HAVE_LIBCHISE is defined.
59 (open_chise_data_source_maybe): Use "chise-db" instead of
61 (char_attribute_system_db_file): Likewise.
62 (Fload_char_attribute_table): Use
63 `chise_feature_foreach_char_with_value' instead of
64 `chise_char_feature_value_iterate'.
66 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
68 * chartab.c (Vchise_db_directory): New variable.
69 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
71 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
74 instead of HAVE_CHISE to specify using with libchise.
76 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
78 * chartab.h: Don't use HAVE_CHISE_CLIENT.
80 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
81 defined or HAVE_LIBCHISE_LIBCHISE is defined.
82 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
84 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
85 HAVE_CHISE to specify using with libchise.
86 (syms_of_chartab): Don't define symbol `system-char-id' when
87 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
89 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
91 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
92 specify CHISE DB support.
93 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
94 of `char_attribute_system_db_file' to check feature DB file.
96 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
97 HAVE_CHISE_CLIENT to specify CHISE DB support.
99 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
100 specify CHISE DB support.
101 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
103 (Freset_char_attribute_table): Use `chise_feature_setup_db'
104 instead of `char_attribute_system_db_file' to check feature DB
107 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
112 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
115 (Fsave_charset_mapping_table): Don't use
116 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
118 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
119 (HAVE_LIBCHISE): New macro.
121 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
123 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
124 (Fsave_char_attribute_table): Don't use
125 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
127 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
131 (save_uint16_byte_table): Likewise.
132 (save_byte_table): Likewise.
133 (char_table_get_db): Use `chise_ds_load_char_feature_value'
134 instead of `chise_char_load_feature_value'.
135 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
137 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * chartab.h (struct Lisp_Char_Table): Delete member
140 `feature_table' if CHISE is defined.
142 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
143 (Fcopy_char_table): Likewise.
144 (char_table_open_db_maybe): Likewise.
145 (char_table_close_db_maybe): Likewise.
146 (char_table_get_db): Likewise.
147 (Fmount_char_attribute_table): Likewise.
148 (Fload_char_attribute_table): Likewise.
150 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * mule-charset.c (load_char_decoding_entry_maybe): Use
153 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
156 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
159 instead of `chise_open_data_source'.
160 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
163 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
166 instead of `chise_ds_open_feature_table'.
167 (char_table_close_db_maybe): Don't use `chise_ft_close'.
169 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
171 * mule-charset.c (Fsave_charset_mapping_table): Use
172 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
173 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
174 `chise_ccs_sync' instead of `chise_ccst_close'.
175 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
177 * chartab.c (open_chise_data_source_maybe): Modify for
178 `chise_open_data_source'.
179 (char_table_open_db_maybe): Modify for
180 `chise_ds_open_feature_table'.
182 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
184 * mule-charset.c (load_char_decoding_entry_maybe): Use
185 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
188 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
190 * mule-charset.c (Fsave_charset_mapping_table): Use
191 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
192 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
193 `chise_dt_put_char' and `chise_dt_close'.
194 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
195 `chise_ccs_decode' and `chise_ccst_close' instead of
196 `chise_ds_open_decoding_table', `chise_dt_get_char' and
199 * chartab.c (char_table_get_db): Use
200 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
201 (load_char_attribute_table_map_func): Modify for
202 `chise_char_feature_value_iterate'.
203 (Fload_char_attribute_table): Use
204 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
206 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
210 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
212 * chartab.c (put_char_table): Modify for inherited coded-charsets
215 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
217 * chartab.c (Fput_char_table_map_function): Fixed.
218 (word_boundary_p): Don't check charset in XEmacs CHISE.
220 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
222 * mule-charset.c (Fsave_charset_mapping_table): Use
223 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
224 instead of `chise_open_decoding_table'; refer
225 `default_chise_data_source'; use `chise_dt_close' instead of
226 `chise_close_decoding_table'.
227 (load_char_decoding_entry_maybe): Likewise.
229 * chartab.c (default_chise_data_source): New variable when `CHISE'
231 (Fcopy_char_table): `ct->ds' is deleted.
232 (open_chise_data_source_maybe): New function.
233 (Fclose_char_data_source): New function.
234 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
235 use `chise_ds_open_feature_table' instead of
236 `chise_open_feature_table'.
237 (char_table_close_db_maybe): Use `chise_ft_close' instead of
238 `chise_close_feature_table'; `cit->ds' is deleted.
239 (syms_of_chartab): Add new builtin function
240 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
242 * chartab.h (default_chise_data_source): New extern variable.
243 (open_chise_data_source_maybe): New prototype.
244 (struct Lisp_Char_Table): Delete `ds'.
246 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
248 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
251 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
253 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
254 not defined; add code for non-libchise setting.
255 (char_table_close_db_maybe): Likewise.
256 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
258 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
259 even if `CHISE' is not defined.
260 (Freset_char_attribute_table): Likewise.
261 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
262 `char_table_close_db_maybe' even if `CHISE' is not defined; use
264 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
265 `char_table_close_db_maybe' even if `CHISE' is not defined.
267 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
269 * chartab.c (char_table_open_db_maybe): New function.
270 (char_table_close_db_maybe): New function.
271 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
272 (Freset_char_attribute_table): Likewise.
273 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
274 `char_table_close_db_maybe'.
275 (Fload_char_attribute_table): Likewise.
277 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
279 * chartab.c: Don't include <chise.h> because it is included in
281 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
283 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
285 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
287 (Fclose_char_attribute_table): Close `ct->feature_table' and
288 `ct->ds' when `CHISE' is defined.
289 (Freset_char_attribute_table): Likewise.
290 (load_char_attribute_maybe): Use `cit->ds' and
291 `cit->feature_table' when `CHISE' is defined.
292 (Fload_char_attribute_table): Likewise.
294 * chartab.h: Include <chise.h> when `CHISE' is defined.
295 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
296 when `CHISE' is defined.
298 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
300 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
302 (char_table_description): Likewise.
303 (Fmake_char_table): Likewise.
304 (Fcopy_char_table): Likewise.
305 (Fmount_char_attribute_table): Likewise.
306 (Fclose_char_attribute_table): Likewise.
307 (Freset_char_attribute_table): Likewise.
308 (load_char_attribute_maybe): Likewise.
309 (Fload_char_attribute_table): Likewise.
311 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
314 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
316 * chartab.c (load_char_attribute_table_map_func): New function
317 when CHISE is defined.
318 (Qload_char_attribute_table_map_function): Don't define when CHISE
320 (Fload_char_attribute_table_map_function): Likewise.
321 (Fload_char_attribute_table): Use libchise when `CHISE' is
323 (syms_of_chartab): Don't define
324 `load-char-attribute-table-map-function' when CHISE is defined.
326 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
328 * chartab.c: Include <chise.h> when `CHISE' is defined.
329 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
331 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
333 * mule-charset.c (charset_code_point): Fix problem when searching
334 in mother CCS fails with `defined_only' mode.
336 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
338 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
339 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
340 (put_char_composition): Likewise.
341 (Fput_char_attribute): Likewise.
342 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
344 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
346 * chartab.c (Q_ucs): Deleted.
347 (Fput_char_attribute): Don't refer `->ucs'.
348 (Fdefine_char): Likewise.
349 (Ffind_char): Likewise.
350 (syms_of_chartab): Delete `->ucs'.
352 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
354 * mule-charset.c (Qmap_cns11643_2): Renamed from
355 `Qchinese_cns11643_2'.
356 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
357 `chinese-cns11643-2'.
358 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
361 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
363 * mule-charset.c (Qmap_cns11643_1): Renamed from
364 `Qchinese_cns11643_1'.
365 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
366 `chinese-cns11643-1'.
367 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
370 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
372 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
373 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
375 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
378 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
380 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
381 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
383 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
386 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
388 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
389 (syms_of_mule_charset): Add new symbol `=big5' instead of
391 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
393 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
396 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
398 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
401 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
403 * mule-charset.c (Qmap_jis_x0212): Renamed from
404 `Qjapanese_jisx0212'.
405 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
407 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
410 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
412 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
413 `Qjapanese_jisx0208'.
414 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
415 of `japanese-jisx0208'.
416 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
419 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
422 `Qjapanese_jisx0208_1978'.
423 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
424 of `japanese-jisx0208-1978'.
425 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
428 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
430 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
431 only for XEmacs CHISE.
433 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
435 * char-ucs.h: Compact non-ISO-IR charset-ids.
436 (LEADING_BYTE_UCS): Changed to -177.
437 (LEADING_BYTE_CONTROL_1): Changed to -77.
438 (LEADING_BYTE_UCS_BMP): Changed to -176.
439 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
441 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
443 * mule-charset.c (Qiso_ir): New variable.
444 (Fmake_charset): Recognise new property `iso-ir'.
445 (syms_of_mule_charset): Add new symbol `iso-ir'.
447 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
449 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
450 n to -n; charset-id of non ISO-IR sets are changed to positive
453 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
455 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
456 for &MCS-XXXXXXXX; values.
458 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
460 * mule.c (Vxemacs_chise_version): Renamed from
462 (vars_of_mule): Add new variable `xemacs-chise-version'; define
463 `utf-2000-version' as an alias for `xemacs-chise-version'.
465 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
467 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
468 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
471 * config.h.in (CHISE): New macro.
473 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
475 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
477 (Qmap_ucs): New variable.
478 (syms_of_mule_charset): Add new symbol `=ucs'.
479 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
481 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
482 (simplify_char_spec): Likewise.
484 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
486 * char-ucs.h (Qmap_ucs): New extern variable.
488 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
490 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
491 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
492 don't define it when UTF2000 is not defined.
493 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
494 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
495 when UTF2000 is not defined.
496 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
497 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
499 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
503 * mule-charset.c (Vcharset_ucs_gb): Deleted.
505 (syms_of_mule_charset): Delete `ucs-gb'.
506 (complex_vars_of_mule_charset): Likewise.
508 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
510 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
512 * mule-charset.c (Vcharset_ucs_cns): Deleted.
514 (syms_of_mule_charset): Delete `ucs-cns'.
515 (complex_vars_of_mule_charset): Likewise.
517 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
519 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
521 * mule-charset.c (Vcharset_ucs_jis): Deleted.
523 (syms_of_mule_charset): Delete `ucs-jis'.
524 (complex_vars_of_mule_charset): Likewise.
526 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
528 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
530 * mule-charset.c (Vcharset_ucs_ks): Deleted.
532 (syms_of_mule_charset): Delete `ucs-ks'.
533 (complex_vars_of_mule_charset): Likewise.
535 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
537 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
538 (Qideograph_daikanwa_2): Deleted.
539 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
540 (complex_vars_of_mule_charset): Likewise.
542 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
543 (LEADING_BYTE_DAIKANWA_1): Deleted.
544 (LEADING_BYTE_DAIKANWA_2): Deleted.
545 (MIN_CHAR_DAIKANWA): Deleted.
546 (MAX_CHAR_DAIKANWA): Deleted.
548 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
550 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
551 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
552 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
554 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
555 (Vcharset_ideograph_daikanwa): Deleted.
556 (Qideograph_hanziku_{1..12}): Deleted.
557 (Qideograph_daikanwa): Deleted.
558 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
559 Vcharset_ideograph_daikanwa.
560 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
561 `ideograph-hanziku-{1..12}'.
562 (complex_vars_of_mule_charset): Likewise.
564 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
566 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
568 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
569 (Qideograph_gt_pj_{1..11}): Deleted.
570 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
571 (complex_vars_of_mule_charset): Likewise.
573 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
575 * mule-charset.c (Vcharset_ucs_big5): Deleted.
576 (Vcharset_ideograph_gt): Deleted.
577 (Qucs_big5): Deleted.
578 (Qideograph_gt): Deleted.
579 (syms_of_mule_charset): Delete symbol `ucs-big5' and
581 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
584 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
585 (LEADING_BYTE_GT): Deleted.
586 (MIN_CHAR_GT): Deleted.
587 (MAX_CHAR_GT): Deleted.
589 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
591 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
593 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
595 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
596 (save_uint16_byte_table): Likewise.
597 (save_byte_table): Likewise; convert values by it.
598 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
599 for `ideographic-structure'.
600 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
601 as the filter for `ideographic-structure'.
603 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
605 * chartab.c (put_char_composition): New function.
606 (Fput_char_attribute): Use `put_char_composition'; use
607 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
609 * fns.c (simplify_char_spec): New function.
610 (char_ref_simplify_spec): New function.
611 (Fchar_refs_simplify_char_specs): New function.
612 (syms_of_fns): Add new builtin function
613 `char-refs-simplify-char-specs'.
615 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
617 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
618 (Qideograph_cbeta): Deleted.
619 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
620 (complex_vars_of_mule_charset): Likewise.
622 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
623 (MIN_CHAR_CBETA): Comment out.
624 (MAX_CHAR_CBETA): Likewise.
626 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
628 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
629 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
630 CHISE client feature.
632 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
634 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
636 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
638 * mule-charset.c (charset_lookup_description_1): Use
639 `NUM_LEADING_BYTES' in UTF-2000.
641 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
643 * char-ucs.h (GC_CHARSETP): Deleted.
645 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * char-ucs.h (MAX_CHAR_GT): Updated.
649 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
651 * text-coding.c: Sync with XEmacs 21.4.10.
653 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
655 * mule-charset.c (Vcharset_china3_jef): Deleted.
656 (Qchina3_jef): Deleted.
657 (syms_of_mule_charset): Don't define `china3-jef'.
658 (complex_vars_of_mule_charset): Likewise.
660 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
661 (MIN_CHAR_CHINA3_JEF): Comment out.
662 (MAX_CHAR_CHINA3_JEF): Comment out.
664 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * mule-charset.c (Vcharset_ucs_gb): New variable.
667 (Qucs_gb): New variable.
668 (syms_of_mule_charset): Add new symbol `ucs-gb'.
669 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
671 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
673 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
675 * mule-charset.c (charset_code_point): if a coded-charset has a
676 final-byte, don't inherit the builtin range of the mother CCS.
678 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
680 * mule-charset.c (charset_code_point): Fix problem about
683 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
685 * mule-charset.c (decode_builtin_char): Reorganized.
687 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * text-coding.c (char_encode_as_entity_reference): Modify for
690 `charset_code_point'.
691 (char_encode_shift_jis): Likewise.
692 (char_encode_big5): Likewise.
693 (char_encode_utf8): Likewise.
694 (char_encode_iso2022): Likewise.
696 * mule-charset.c (charset_code_point): Add new argument
698 (Fencode_char): Add new optional argument `defined_only'.
700 * chartab.c (put_char_table): Modify for `charset_code_point'.
702 * char-ucs.h (charset_code_point): Add new argument
704 (encode_char_1): Modify for `charset_code_point'.
706 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
709 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
711 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
714 (Qjis_x0208): Likewise.
715 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
716 XCHARSET_FINAL(charset).
717 (charset_code_point): Modify condition for final-byte based
719 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
720 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
721 in UTF-2000; specify `=jis-x0208' as the mother of
722 `japanese-jisx0208-1978', `japanese-jisx0208' and
723 `japanese-jisx0208-1990' in UTF-2000.
725 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
727 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
729 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * text-coding.c (decode_coding_utf16): Support UTF-16.
732 (char_encode_utf16): Fixed.
734 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
736 * text-coding.c (Qutf16): New variable in MULE.
737 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
738 (Fcoding_system_type): Add `utf-16' in MULE.
739 (struct detection_state): Add a structure for utf16 in MULE.
740 (detect_coding_type): Setup st->utf16.mask in MULE.
741 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
743 (reset_encoding_stream): Use `char_encode_utf16' and
744 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
745 (detect_coding_utf16): New function [incomplete].
746 (decode_coding_utf16): New function [support only UCS-2].
747 (char_encode_utf16): New function.
748 (char_finish_utf16): New function.
749 (syms_of_file_coding): Add new symbol `utf-16'; setup
750 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
752 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
754 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
755 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
757 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
759 * chartab.c (put_char_table): When a charset is specified as a
760 range in UTF-2000, don't support builtin characters.
762 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
764 * mule-charset.c (decode_defined_char): Don't refer external
765 database if Qunbound or Qnil are found.
766 (Fsave_charset_mapping_table): Don't define it if
767 HAVE_CHISE_CLIENT is not defined.
768 (Freset_charset_mapping_table): New function.
769 (load_char_decoding_entry_maybe): Store Qnil if a character is not
770 found in external database.
771 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
772 if HAVE_CHISE_CLIENT is not defined; add new builtin function
773 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
775 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
777 * text-coding.c (decode_coding_utf8): Check CCS is specified or
780 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
782 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
783 Q_lowercase, Q_uppercase in UTF-2000.
785 * chartab.c (get_char_table): Add special code for the standard
786 case table to use character attribute `->downcase' and
787 `->uppercase' for case operations in UTF-2000.
789 * casetab.c (Qflippedcase): New variable in UTF-2000.
790 (Q_lowercase): Likewise.
791 (Q_uppercase): Likewise.
792 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
793 and `->uppercase' in UTF-2000.
794 (complex_vars_of_casetab): Assign attribute name `downcase' to
795 downcase and CANON table of Vstandard_case_table in UTF-2000;
796 assign attribute name `flippedcase' to upcase and EQV table of
797 Vstandard_case_table in UTF-2000.
799 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * text-coding.c (decode_add_er_char): Support isolated-chars.
802 (char_encode_as_entity_reference): Likewise.
804 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
806 * emacs.c (Vutf_2000_lisp_directory): New variable.
807 (Vconfigure_utf_2000_lisp_directory): Likewise.
808 (complex_vars_of_emacs): Add new variable
809 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
811 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
813 * char-ucs.h (DECODE_CHAR): Delete special code for
814 `chinese-big5-1' and `chinese-big5-2'.
816 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
818 (decode_defined_char): Support CONVERSION_BIG5_1 and
820 (decode_builtin_char): Likewise.
821 (charset_code_point): Likewise.
822 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
823 'conversion in UTF-2000.
824 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
825 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
826 `chinese-big5-2' as children of `chinese-big5'.
828 * char-ucs.h (CONVERSION_BIG5_1): New macro.
829 (CONVERSION_BIG5_2): New macro.
831 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
833 * text-coding.c (char_encode_big5): Support entity-reference.
835 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
837 * text-coding.c (char_encode_as_entity_reference): New function.
838 (char_encode_utf8): Use `char_encode_as_entity_reference'.
840 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
842 * text-coding.c (decode_coding_big5): Support entity-reference
845 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
847 * text-coding.c (allocate_coding_system): Initialize initial
848 charsets for CODESYS_UTF8.
849 (Fmake_coding_system): Accept charset-g0, charset-g1 and
850 charset-g2 for CODESYS_UTF8.
851 (decode_coding_utf8): Use charset-g0.
852 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
853 to force variants to map to UCS.
855 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
857 * text-coding.c (Qutf_8_mcs): New variable.
858 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
859 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
860 instead of `utf-8' in UTF-2000.
862 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
864 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
865 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
866 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
867 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
868 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
869 CONVERSION_96x96x96x96 are introduced.
870 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
871 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
872 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
874 * char-ucs.h (CONVERSION_94): New macro.
875 (CONVERSION_96): New macro.
876 (CONVERSION_94x94): New macro.
877 (CONVERSION_96x96): New macro.
878 (CONVERSION_94x94x94): New macro.
879 (CONVERSION_96x96x96): New macro.
880 (CONVERSION_94x94x94x60): New macro.
881 (CONVERSION_94x94x94x94): New macro.
882 (CONVERSION_96x96x96x96): New macro.
884 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
886 * chartab.c (Vcharacter_variant_table): Deleted.
887 (Fchar_variants): Use character-attribute `->ucs-variants' instead
888 of `Vcharacter_variant_table'.
889 (Fput_char_attribute): Likewise.
890 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
891 (complex_vars_of_chartab): Likewise.
893 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
895 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
897 * fns.c (Qideographic_structure): New variable.
898 (Qkeyword_char): New variable.
899 (ids_format_unit): New function.
900 (Fideographic_structure_to_ids): New function.
901 (syms_of_fns): Add new symbols `ideographic-structure' and
902 `:char'; add new builtin function `ideographic-structure-to-ids'.
904 * data.c (Fchar_ref_p): New function.
905 (syms_of_data): Add new builtin function `char-ref-p'.
907 * chartab.h: Add an EXFUN for `Ffind_char'.
909 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
911 * text-coding.c (Vcharacter_composition_table): Deleted.
912 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
915 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
917 (Vcharacter_composition_table): Deleted.
918 (Fget_composite_char): Use the implementation for external-DB
919 support in every UTF-2000.
920 (Fput_char_attribute): Likewise.
921 (char_attribute_system_db_file): Don't define if external-DB
922 feature is not available.
923 (Fsave_char_attribute_table): Likewise.
924 (Fmount_char_attribute_table): Likewise.
925 (Fclose_char_attribute_table): Likewise.
926 (Freset_char_attribute_table): Likewise.
927 (Fload_char_attribute_table): Likewise.
928 (syms_of_chartab): Don't define `save-char-attribute-table',
929 `mount-char-attribute-table', `reset-char-attribute-table',
930 `close-char-attribute-table' and `load-char-attribute-table' if
931 external-DB feature is not available.
932 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
934 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
936 * text-coding.c (Qcomposition): Add extern if external-DB feature
938 (Vcharacter_composition_table): Don't add extern if external-DB
939 feature is supported.
940 (COMPOSE_ADD_CHAR): Modify for new data-representation of
941 character composition rule if external-DB feature is supported.
943 * chartab.c (Vcharacter_composition_table): Don't define if
944 external-DB feature is supported.
945 (Qcomposition): New variable.
946 (Fget_composite_char): New implementation for external-DB support.
947 (Fput_char_attribute): Use `composition' property of each
948 character instead of `Vcharacter_composition_table' to store
949 character-composition rules if external-DB feature is supported.
950 (syms_of_chartab): Add new symbol `composition'.
951 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
952 external-DB feature is supported.
954 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
956 * chartab.c (Vchar_db_stingy_mode): New variable.
957 (load_char_attribute_maybe): Close database if
958 Vchar_db_stingy_mode is not NIL.
959 (Fload_char_attribute_table_map_function): Use
960 `get_char_id_table_0' instead of `get_char_id_table'.
961 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
963 * chartab.h (get_char_id_table_0): New inline function.
964 (get_char_id_table): Use `get_char_id_table_0'.
966 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
968 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
969 and `COMPOSE_ADD_CHAR'.
970 (decode_coding_iso2022): Use `decode_flush_er_chars'.
972 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
974 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
975 instead of `DECODE_ADD_UCS_CHAR'.
976 (COMPOSE_ADD_CHAR): Likewise.
978 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
980 * text-coding.c (decode_flush_er_chars): New inline function.
981 (decode_add_er_char): New function.
982 (decode_coding_utf8): Use `decode_flush_er_chars' and
983 `decode_add_er_char'.
985 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
987 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
988 done before `decode_output_utf8_partial_char'.
990 * mule-charset.c (complex_vars_of_mule_charset): Specify
991 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
992 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
994 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
996 * mule-charset.c (decode_defined_char): New function; search
998 (decode_builtin_char): Don't search mother if
999 XCHARSET_MAX_CODE(charset) == 0.
1000 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1001 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1002 (Fdecode_char): Use `decode_defined_char' instead of
1003 `DECODE_DEFINED_CHAR'.
1004 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1005 mother of `Vcharset_ucs_jis'.
1007 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1008 instead of `DECODE_DEFINED_CHAR'.
1010 * char-ucs.h (decode_defined_char): Renamed from
1011 `DECODE_DEFINED_CHAR'; changed to normal function.
1012 (DECODE_CHAR): Use `decode_defined_char' instead of
1013 `DECODE_DEFINED_CHAR'.
1015 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1017 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1019 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1021 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1023 (Quse_entity_reference): New variable.
1027 (coding_system_description): Add description for
1028 `ccs_priority_list'.
1029 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1030 (allocate_coding_system): Initialize `ccs_priority_list' in
1032 (Fmake_coding_system): Add description about
1033 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1035 (Fcoding_system_property): Accept `disable-composition' and
1036 `use-entity-reference' in UTF-2000.
1037 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1039 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1040 (decode_coding_utf8): Decode entity-reference if
1041 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1042 (char_encode_utf8): Encode non-Unicode characters as
1043 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1045 (syms_of_file_coding): Add new symbols `use-entity-reference',
1047 (vars_of_file_coding): Add new variable
1048 `coded-charset-entity-reference-alist'.
1049 (complex_vars_of_file_coding): Declare `disable-composition' and
1050 `use-entity-reference' to be coding-system-properties in UTF-2000.
1052 * file-coding.h (struct Lisp_Coding_System): Add new member
1053 `use_entity_reference' and `ccs_priority_list'.
1054 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1055 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1056 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1058 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1060 * chartab.c (save_uint8_byte_table): Don't clear the table.
1061 (save_uint16_byte_table): Likewise.
1062 (save_byte_table): Likewise.
1063 (Fmount_char_attribute_table): New function.
1064 (syms_of_chartab): Add new builtin function
1065 `mount-char-attribute-table'.
1067 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1069 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1071 (load_char_decoding_entry_maybe): Open database as read-only mode.
1073 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1074 open database as "w+" mode.
1075 (load_char_attribute_maybe): Open database as read-only mode.
1076 (Fload_char_attribute_table): Likewise.
1078 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1080 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1081 (char_table_description): Delete member `db_file'.
1082 (Fmake_char_table): Don't refer `ct->db_file'.
1083 (Fcopy_char_table): Likewise.
1084 (Fsave_char_attribute_table): Likewise.
1085 (Fclose_char_attribute_table): Likewise.
1086 (Freset_char_attribute_table): Likewise.
1087 (load_char_attribute_maybe): Likewise.
1088 (Fload_char_attribute_table): Likewise.
1090 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1092 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1094 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1095 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1097 (load_char_attribute_maybe): Likewise.
1098 (Fload_char_attribute_table): Likewise.
1100 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1102 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1103 `ct->db_file' unconditionally.
1105 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1107 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1109 (char_table_description): Add description for `db_file' and `db'
1111 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1113 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1114 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1115 (Fclose_char_attribute_table): New function.
1116 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1117 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1119 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1120 (syms_of_chartab): Add new builtin function
1121 `Fclose_char_attribute_table'.
1123 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1125 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1127 (load_char_attribute_maybe): Change interface.
1128 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1130 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1132 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1134 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1136 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1137 instead of `DECODE_CHAR' for mother; don't use special code for
1138 chinese-big5 to use code space of chinese-big5-1 and
1140 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1141 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1143 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1144 (MAX_CHAR_BIG5_CDP): Revival.
1146 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1148 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1149 the XLFD registry-encoding name of `chinese-big5'.
1151 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1153 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1154 (Qchinese_big5_cdp): Deleted.
1155 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1156 (complex_vars_of_mule_charset): Delete coded-charset
1159 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1160 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1161 `CHARSET_ID_OFFSET - n' for private CCS.
1162 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1163 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1164 of `MIN_LEADING_BYTE'.
1165 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1166 `(CHARSET_ID_OFFSET - 97)'.
1167 (MIN_CHAR_BIG5_CDP): Deleted.
1168 (MAX_CHAR_BIG5_CDP): Deleted.
1170 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1172 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1174 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1176 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1177 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1180 * chartab.c (Vutf_2000_version): Moved to mule.c.
1181 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1183 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1185 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1186 when HAVE_CHISE_CLIENT is not defined.
1188 * mule.c (vars_of_mule): Provide feature `chise' when
1189 HAVE_CHISE_CLIENT is defined.
1191 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1193 * config.h.in (UTF2000): Add comment.
1194 (HAVE_CHISE_CLIENT): New macro.
1196 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1198 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1200 (Fput_char_attribute): Likewise.
1201 (char_attribute_system_db_file): Encode file-name of attribute.
1202 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1205 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1207 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1208 (Fsave_charset_mapping_table): Use
1209 `char_attribute_system_db_file'.
1210 (load_char_decoding_entry_maybe): Likewise.
1212 * chartab.h (Qsystem_char_id): New external variable.
1213 (char_attribute_system_db_file): New prototype.
1215 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1216 (char_attribute_system_db_file): New function.
1217 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1218 (Freset_char_attribute_table): Likewise.
1219 (load_char_attribute_maybe): Likewise.
1220 (Fload_char_attribute_table): Likewise.
1221 (syms_of_chartab): Add new symbol `system-char-id'.
1223 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1225 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1226 `XCHARSET_GRAPHIC(ccs)'.
1228 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1230 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1232 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1234 * chartab.c (Q_ucs_variants): New variable.
1235 (syms_of_chartab): Add new symbol `->ucs-variants'.
1236 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1237 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1238 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1240 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1242 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1243 `HAVE_DATABASE' is defined.
1244 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1245 `HAVE_DATABASE' is defined.
1247 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1249 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1251 (Freset_char_attribute_table): New function.
1252 (syms_of_chartab): Add new builtin function
1253 `reset-char-attribute-table'.
1255 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1257 * chartab.c (load_char_attribute_maybe): Don't make directories.
1259 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1261 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1263 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1266 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1268 * mule-charset.c (Fsave_charset_mapping_table): Use
1269 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1271 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1272 instead of `XCHARSET_CHARS'.
1274 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1276 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1277 (XCHARSET_BYTE_SIZE): Likewise.
1279 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1281 (XCHARSET_BYTE_SIZE): Likewise.
1283 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1285 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1286 data-directory to store database.
1287 (Fsave_char_attribute_table): Likewise.
1288 (load_char_attribute_maybe): Likewise.
1289 (Fload_char_attribute_table): Likewise.
1291 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1293 * mule-charset.c (Fsave_charset_mapping_table): New function.
1294 (syms_of_mule_charset): Add new builtin function
1295 `save-charset-mapping-table'.
1297 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1299 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1300 (get_ccs_octet_table): New inline function.
1301 (put_ccs_octet_table): Likewise.
1302 (decoding_table_put_char): Use `get_ccs_octet_table' and
1303 `put_ccs_octet_table'.
1304 (decoding_table_remove_char): Use `decoding_table_put_char'.
1305 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1307 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1308 into encoding_table.
1309 (make_charset): Use Qunbound instead Qnil as initial value of
1312 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1314 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1315 element is Qunloaded.
1316 (map_over_uint16_byte_table): Likewise.
1317 (map_over_byte_table): Likewise.
1318 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1319 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1320 database support, load encoding-table of the specified
1321 coded-charset if it is not loaded yet.
1322 (save_uint8_byte_table): New function of UTF-2000 with external
1324 (save_uint16_byte_table): Likewise.
1325 (save_byte_table): Likewise.
1326 (Fput_char_attribute): Don't store value into external database
1327 even if the external database feature is supported in UTF-2000;
1328 set `attribute' as name of char-table if the external database
1329 feature is supported.
1330 (Fsave_char_attribute_table): New function in UTF-2000.
1331 (syms_of_chartab): Add new builtin function
1332 `save-char-attribute-table' in UTF-2000.
1334 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1336 * chartab.c (char_attribute_table_to_put): New variable in
1338 (Qput_char_table_map_function): Likewise.
1339 (value_to_put): Likewise.
1340 (Fput_char_table_map_function): New function in UTF-2000.
1341 (put_char_table): Use `Fmap_char_attribute' for
1342 CHARTAB_RANGE_CHARSET in UTF-2000.
1343 (Fput_char_attribute): Store symbol instead of string in
1344 `XCHAR_TABLE_NAME (table)'.
1345 (load_char_attribute_maybe): Likewise.
1346 (syms_of_chartab): Add new symbol/function
1347 `put-char-table-map-function'.
1349 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1351 * database.h: Add new EXFUN for `Fmap_database'.
1353 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1354 (syms_of_database): Likewise.
1356 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1358 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1359 (XCHAR_TABLE_UNLOADED): Likewise.
1361 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1362 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1363 HAVE_DATABASE is defined.
1364 (char_attribute_table_to_load): New variable of UTF-2000 with
1365 external database support.
1366 (Qload_char_attribute_table_map_function): Likewise.
1367 (Fload_char_attribute_table_map_function): New function of
1368 UTF-2000 with external database support.
1369 (Fload_char_attribute_table): New function of UTF-2000.
1370 (Fmap_char_attribute): Call Fload_char_attribute_table if
1371 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1372 (syms_of_chartab): Add new symbol and function
1373 `load-char-attribute-table-map-function' in UTF-2000 with external
1374 database support; add new function `load-char-attribute-table' in
1377 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1379 * chartab.h (load_char_attribute_maybe): New prototype for
1380 UTF-2000 with DATABASE support.
1381 (get_char_id_table): Use `load_char_attribute_maybe' if
1382 HAVE_DATABASE is defined.
1384 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1385 with DATABASE support.
1387 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1389 * chartab.c (Fput_char_attribute): Use S-expression as key of
1392 * chartab.h (get_char_id_table): Use S-expression as key of
1395 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1397 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1398 if an element is not loaded, load the corresponding attributes
1399 from an external database.
1400 (map_over_uint16_byte_table): Likewise.
1401 (map_over_byte_table): Likewise.
1402 (map_char_table): Modify for `map_over_uint8_byte_table',
1403 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1404 element is not loaded, load the corresponding attributes from an
1406 (Fput_char_attribute): Change initial values to Qunloaded.
1408 * chartab.h (get_char_id_table): If a character attribute is not
1409 loaded and the attribute value is not found in an external
1410 database, store Qunbound as the attribute value.
1412 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1414 * chartab.c (BT_UINT8_unloaded): New macro.
1415 (UINT8_VALUE_P): Accept Qunloaded.
1416 (UINT8_ENCODE): Likewise.
1417 (UINT8_DECODE): Likewise.
1418 (BT_UINT16_unloaded): New macro.
1419 (UINT16_VALUE_P): Accept Qunloaded.
1420 (UINT16_ENCODE): Likewise.
1421 (UINT16_DECODE): Likewise.
1422 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1424 (mark_char_table): Mark `ct->name' in UTF-2000.
1425 (char_table_description): Add `name' in UTF-2000.
1426 (Fmake_char_table): Initialize `ct->name'.
1427 (Fcopy_char_table): Copy `ct->name'.
1428 (Fput_char_attribute): Store value into an external database if
1429 HAVE_DATABASE is defined.
1431 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1433 (CHAR_TABLE_NAME): New macro in UTF-2000.
1434 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1435 (get_char_id_table): Try to read an external database if Qunloaded
1436 is stored in a table.
1438 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1441 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1443 * database.h: Add EXFUN definitions for Fopen_database,
1444 Fput_database, Fget_database and Fclose_database.
1446 * data.c (Qunloaded): New variable in UTF-2000.
1448 * lisp.h (Qunloaded): New variable in UTF-2000.
1450 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1452 * mule-charset.c (put_char_ccs_code_point): Modify for
1453 `decoding_table_remove_char' and `decoding_table_put_char'.
1454 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1456 * char-ucs.h (decoding_table_remove_char): Change arguments to
1457 hide decoding_table vector.
1458 (decoding_table_put_char): Likewise.
1460 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1462 * mule-charset.c (decoding_table_remove_char): Moved to
1464 (decoding_table_put_char): Likewise.
1466 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1467 from mule-charset.c].
1468 (decoding_table_remove_char): New inline function [moved from
1470 (decoding_table_put_char): Likewise.
1472 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1474 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1477 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1479 * mule-charset.c (decode_builtin_char): Support mother charsets.
1481 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1483 * mule-charset.c (Q94x94x60): New variable.
1484 (charset_code_point): Support conversion `94x94x60'.
1485 (Fmake_charset): Likewise.
1486 (syms_of_mule_charset): Add new symbol `94x94x60'.
1488 * char-ucs.h (CONVERSION_94x94x60): New macro.
1490 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1492 * mule-charset.c (charset_code_point): Unify code about
1495 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * mule-charset.c (charset_code_point): Merge code about builtin
1498 characters into code about mother charsets; don't use
1499 `range_charset_code_point'.
1500 (range_charset_code_point): Deleted.
1502 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1504 * mule-charset.c (Qcode_offset): New variable.
1505 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1506 `max-code'; accept new property `code-offset'.
1507 (syms_of_mule_charset): Add new symbol `code-offset'.
1509 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1511 * mule-charset.c (range_charset_code_point): Fixed.
1513 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1515 * mule-charset.c (decode_builtin_char): Change semantics of
1516 code-offset of coded-charset.
1517 (charset_code_point): Likewise.
1518 (range_charset_code_point): Likewise.
1519 (complex_vars_of_mule_charset): Modify for the change.
1521 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1523 * mule-charset.c (Fencode_char): Reverse arguments.
1525 * mule-charset.c (charset_code_point): Fixed.
1527 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1529 * mule-charset.c (Vcharset_mojikyo): Deleted.
1530 (Vcharset_mojikyo_2022_1): Deleted.
1531 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1532 (Qmin_code): New variable in UTF-2000.
1533 (Qmax_code): Likewise.
1534 (Qmother): Likewise.
1535 (Qconversion): Likewise.
1537 (Qmojikyo): Deleted.
1538 (Qmojikyo_2022_1): Deleted.
1539 (Qmojikyo_pj_{1..22}): Deleted.
1540 (mark_charset): Mark `cs->mother'.
1541 (charset_description): Add description for `mother'.
1542 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1543 new arguments `mother' and `conversion'; use
1544 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1545 (charset_code_point): Moved from char-ucs.h; support `mother'
1547 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1548 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1549 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1550 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1551 allow 2 as the value of `graphic' in UTF-2000; add new properties
1552 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1553 require `final' in UTF-2000; modify for `make_charset'.
1554 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1555 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1556 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1557 (Fencode_char): New function.
1558 (syms_of_mule_charset): Add new builtin function `encode-char' in
1559 UTF-2000; add new symbols `min-code', `max-code', `mother',
1560 `conversion' and `94x60'; delete symbols `mojikyo',
1561 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1562 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1563 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1564 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1566 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1567 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1569 * char-ucs.h (Vcharset_mojikyo): Deleted.
1570 (Vcharset_mojikyo_2022_1): Deleted.
1571 (LEADING_BYTE_MOJIKYO): Deleted.
1572 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1573 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1574 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1575 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1576 add new member `mother'; add new member `conversion'.
1577 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1578 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1579 (CHARSET_MOTHER): New macro.
1580 (CHARSET_CONVERSION): New macro.
1581 (CONVERSION_IDENTICAL): New macro.
1582 (CONVERSION_94x60): New macro.
1583 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1584 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1585 (XCHARSET_MOTHER): New macro.
1586 (XCHARSET_CONVERSION): New macro.
1587 (MIN_CHAR_MOJIKYO): Deleted.
1588 (MAX_CHAR_MOJIKYO): Deleted.
1589 (DECODE_MOJIKYO_2022): Deleted.
1590 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1591 (charset_code_point): Changed to non-inline function.
1592 (encode_char_1): Use `charset_code_point'.
1593 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1595 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1597 * lread.c (read_compiled_function): Fix prototype.
1598 (read_vector): Likewise.
1600 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1602 * lrecord.h (struct lrecord_header): Delete `older'.
1603 (set_lheader_implementation): Delete code for `older'.
1604 (set_lheader_older_implementation): Deleted.
1605 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1606 (OLDER_RECORD_P): Deleted.
1607 (OLDER_RECORD_HEADER_P): Deleted.
1608 (alloc_older_lcrecord): Deleted.
1609 (alloc_older_lcrecord_type): Deleted.
1611 * alloc.c (all_older_lcrecords): Deleted.
1612 (alloc_older_lcrecord): Deleted.
1613 (disksave_object_finalization_1): Delete code for older objects.
1614 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1615 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1617 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1619 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1620 instead of `make_older_vector'.
1621 (put_char_ccs_code_point): Likewise.
1622 (mark_charset): Mark `cs->decoding_table'.
1623 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1625 * lisp.h (make_older_vector): Deleted.
1626 (make_vector_newer): Deleted.
1628 * config.h.in (HAVE_GGC): Deleted.
1630 * alloc.c (make_older_vector): Deleted.
1631 (make_vector_newer_1): Deleted.
1632 (make_vector_newer): Deleted.
1634 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1636 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1637 (Qideograph_daikanwa_2): New variable.
1638 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1639 (complex_vars_of_mule_charset): Add new coded-charset
1640 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1641 `LEADING_BYTE_DAIKANWA'.
1643 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1644 (LEADING_BYTE_DAIKANWA_1): New macro.
1645 (LEADING_BYTE_DAIKANWA_2): New macro.
1646 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1648 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1650 * mule-charset.c (complex_vars_of_mule_charset): Change
1651 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1652 the second revised version.
1654 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1656 * mule-charset.c (Vcharset_ucs_smp): New variable.
1657 (Vcharset_ucs_sip): New variable.
1658 (Qucs_smp): New variable.
1659 (Qucs_sip): New variable.
1660 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1661 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1662 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1663 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1664 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1665 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1667 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1668 (LEADING_BYTE_UCS_SIP): New macro.
1669 (MIN_CHAR_SMP): New macro.
1670 (MAX_CHAR_SMP): New macro.
1671 (MIN_CHAR_SIP): New macro.
1672 (MAX_CHAR_SIP): New macro.
1674 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1676 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1679 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1681 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1682 value; don't store value into `encoding_table' of `Lisp_Charset'.
1683 (mark_charset): `encoding_table' was deleted.
1684 (charset_description): Likewise.
1685 (make_charset): Likewise.
1686 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1687 `put_char_ccs_code_point'.
1689 * chartab.h (Fput_char_attribute): New EXFUN.
1691 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1692 is unified with normal symbol space.
1693 (Fget_char_attribute): Likewise.
1694 (Fput_char_attribute): Likewise; behavior of
1695 `put_char_ccs_code_point' is changed.
1697 * char-ucs.h: Include "elhash.h".
1698 (Vchar_attribute_hash_table): New external variable.
1699 (struct Lisp_Charset): Delete `encoding_table'.
1700 (CHARSET_ENCODING_TABLE): New implementation; refer
1701 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1704 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1706 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1709 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1711 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1714 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1716 * chartab.c (uint8_byte_table_description): New constant.
1717 (uint8-byte-table): Use `uint8_byte_table_description'.
1718 (uint16_byte_table_description): New constant.
1719 (uint16-byte-table): Use `uint16_byte_table_description'.
1721 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1723 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1724 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1726 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1728 * mule-charset.c (Vcharset_ucs_ks): New variable.
1729 (Qucs_ks): New variable.
1730 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1731 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1733 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1735 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1737 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1738 (Fdecode_char): Likewise.
1740 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1742 (Fdefine_char): Modify for Fdecode_char.
1743 (Ffind_char): Likewise.
1745 * mule-charset.c (Fdecode_char): Add new optional argument
1747 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1749 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1751 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1752 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1753 (allocate_coding_system): Initialize initial-charsets of
1754 CODESYS_BIG5 in XEmacs UTF-2000.
1755 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1756 CODESYS_BIG5 in XEmacs UTF-2000.
1757 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1758 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1760 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1762 (Qideograph_hanziku_{1 .. 12}): Likewise.
1763 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1765 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1766 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1767 `ideograph-hanziku-{1 .. 12}'.
1769 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1770 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1771 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1772 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1773 (DECODE_DEFINED_CHAR): New inline function.
1774 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1776 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1778 * mule-charset.c (Vcharset_china3_jef): Renamed from
1779 `Vcharset_japanese_jef_china3'.
1780 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1781 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1782 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1783 (syms_of_mule_charset): Rename `china3-jef' from
1784 `japanese-jef-china3'.
1785 (complex_vars_of_mule_charset): Likewise; rename
1786 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1788 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1789 `LEADING_BYTE_JEF_CHINA3'.
1790 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1791 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1793 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1795 * mule-charset.c (encode_builtin_char_1): Comment out special code
1796 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1798 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1799 (MAX_CHAR_MOJIKYO_0): Comment out.
1800 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1801 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1802 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1803 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1805 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1807 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1808 (Qideograph_cbeta): New variable.
1809 (encode_builtin_char_1): Comment out special code for
1810 coded-charset `mojikyo' and `japanese-jef-china3'.
1811 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1812 (complex_vars_of_mule_charset): Add new coded-charset
1815 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1816 (MIN_CHAR_CBETA): New macro.
1817 (MAX_CHAR_CBETA): New macro.
1819 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1821 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1822 (LEADING_BYTE_JEF_CHINA3): New macro.
1823 (MIN_CHAR_JEF_CHINA3): New macro.
1824 (MAX_CHAR_JEF_CHINA3): Likewise.
1825 (DECODE_CHAR): Fixed.
1827 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1829 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1830 (Qjapanese_jef_china3): New variable.
1831 (encode_builtin_char_1): Support `japanese-jef-china3'.
1832 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1833 (complex_vars_of_mule_charset): Add new coded-charset
1834 `japanese-jef-china3'.
1836 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1838 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1839 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1840 94^4, 96^3, 96^4, 128^n and 256^n set.
1841 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1842 (map_char_table): Likewise.
1844 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1846 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1849 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1851 * chartab.h (get_char_id_table): New inline function.
1853 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1856 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1858 * chartab.h (decode_char_table_range): New prototype in XEmacs
1860 (put_char_id_table): New inline function in XEmacs UTF-2000.
1862 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1864 (decode_char_table_range): Delete static declaration in XEmacs
1867 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1869 * chartab.c (put_char_id_table): Use `put_char_table'.
1871 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1873 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1874 (map_over_uint16_byte_table): Likewise.
1875 (map_over_byte_table): Likewise.
1876 (map_char_table): Modify for `map_over_uint8_byte_table',
1877 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1880 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1882 * chartab.c (struct map_char_table_for_charset_arg): New
1884 (map_char_table_for_charset_fun): New function.
1885 (map_char_table): Use `map_char_table' for encoding_table of
1888 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1890 * chartab.c (map_char_table): Check a character is found in
1891 range->charset instead of non default value is defined in
1892 char-table when range is CHARTAB_RANGE_ROW.
1894 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1896 * chartab.c (map_char_id_table): Deleted.
1897 (Fmap_char_attribute): Use `map_char_table' instead of
1898 `map_char_id_table'.
1900 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1902 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1904 (update_syntax_table): Deleted in XEmacs UTF-2000.
1906 * syntax.c (find_defun_start): Use `syntax_table' instead of
1907 `mirror_syntax_table' in XEmacs UTF-2000.
1908 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1910 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1912 (Fmatching_paren): Likewise.
1913 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1915 (find_start_of_comment): Likewise.
1916 (find_end_of_comment): Likewise.
1917 (Fforward_comment): Likewise.
1918 (scan_lists): Likewise.
1919 (char_quoted): Likewise.
1920 (Fbackward_prefix_chars): Likewise.
1921 (scan_sexps_forward): Likewise.
1922 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1923 (update_syntax_table): Likewise.
1925 * search.c (skip_chars): Use `syntax_table' instead of
1926 `mirror_syntax_table' in XEmacs UTF-2000.
1927 (wordify): Likewise.
1928 (Freplace_match): Likewise.
1930 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1931 `mirror_syntax_table' in XEmacs UTF-2000.
1932 (WORDCHAR_P_UNSAFE): Likewise.
1933 (re_match_2_internal): Likewise.
1935 * font-lock.c (find_context): Use `buf->syntax_table' instead of
1936 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1938 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
1939 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
1941 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
1944 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
1946 (print_char_table): Print `default_value' in XEmacs UTF-2000.
1947 (char_table_description): Delete `mirror_table' in XEmacs
1949 (fill_char_table): Don't call `update_syntax_table' in XEmacs
1951 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
1952 (Fcopy_char_table): Likewise.
1953 (put_char_table): Don't call `update_syntax_table' in XEmacs
1956 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
1957 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1958 (casify_region_internal): Likewise.
1960 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
1962 * buffer.c (common_init_complex_vars_of_buffer): Don't use
1963 `mirror_syntax_table' in XEmacs UTF-2000.
1965 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
1966 `buf->mirror_syntax_table' in XEmacs UTF-2000.
1967 (Fexpand_abbrev): Likewise.
1969 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1971 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
1973 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1975 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
1976 (map_over_uint16_byte_table): Likewise.
1977 (map_over_byte_table): Likewise.
1978 (get_char_id_table): Refer `cit->default_value'.
1979 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1980 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
1981 of character-id ranges.
1982 (mark_char_table): Mark `ct->default_value'.
1983 (char_table_description): Add `default_value'.
1984 (fill_char_table): Use `default_value'.
1985 (decode_char_table_range): Decode `nil' as
1986 `CHARTAB_RANGE_DEFAULT'.
1987 (get_char_id_table): Refer `cit->default_value'.
1988 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
1989 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
1990 temporary hack; check value of char-table is bound or not.
1991 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
1993 * chartab.h (struct Lisp_Char_Table): Add new member
1994 `default_value' in XEmacs UTF-2000.
1995 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
1996 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
1999 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2001 * chartab.h (Lisp_Char_ID_Table): Deleted.
2003 * chartab.c (char_table_description): Fix typo.
2004 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2005 `Lisp_Char_ID_Table'.
2007 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2009 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2012 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2015 * chartab.h (XCHAR_ID_TABLE): Deleted.
2016 (XSETCHAR_ID_TABLE): Deleted.
2017 (CHAR_ID_TABLE_P): Deleted.
2019 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2021 (Fget_composite_char): Likewise.
2022 (put_char_table): Likewise.
2023 (add_char_attribute_alist_mapper): Fixed.
2024 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2026 (Fget_char_attribute): Likewise.
2027 (Fget_char_attribute): Likewise.
2028 (Fmap_char_attribute): Likewise.
2030 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2032 (encode_char_1): Likewise.
2034 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2036 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2039 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2040 instead of `XCHAR_ID_TABLE'.
2041 (remove_char_ccs): Likewise.
2043 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2045 (Fget_composite_char): Likewise.
2046 (Fchar_variants): Likewise.
2047 (put_char_table): Likewise.
2048 (add_char_attribute_alist_mapper): Likewise.
2049 (Fchar_attribute_alist): Likewise.
2050 (Fget_char_attribute): Likewise.
2051 (Fput_char_attribute): Likewise.
2052 (Fmap_char_attribute): Likewise.
2053 (Fmap_char_attribute): Likewise.
2055 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2057 (encode_char_1): Likewise.
2059 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2061 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2062 `Lisp_Char_ID_Table'.
2063 (mark_char_id_table): Deleted.
2064 (print_char_id_table): Likewise.
2065 (char_id_table_equal): Likewise.
2066 (char_id_table_hash): Likewise.
2067 (char_id_table_description): Likewise.
2068 (char_id_table): Likewise.
2069 (make_char_id_table): Use `Fmake_char_table' and
2071 (get_char_id_table): Use `Lisp_Char_Table' instead of
2072 `Lisp_Char_ID_Table'.
2073 (put_char_id_table): Likewise.
2074 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2076 (Fremove_char_attribute): Likewise.
2077 (syms_of_chartab): Don't define type `char-id-table'.
2079 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2080 (char_id_table): Likewise.
2081 (GC_CHAR_ID_TABLE_P): Likewise.
2082 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2083 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2084 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2085 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2086 (get_char_id_table): Use `Lisp_Char_Table' instead of
2087 `Lisp_Char_ID_Table'.
2088 (put_char_id_table_0): Likewise.
2089 (put_char_id_table): Likewise.
2091 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2093 * chartab.h: Lisp_Byte_Table related codes are moved from
2096 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2098 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2100 * chartab.h: Don't include "chartab.h".
2101 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2102 (Lisp_Char_ID_Table): Likewise.
2103 (char_id_table): Likewise.
2104 (XCHAR_ID_TABLE): Likewise.
2105 (XSETCHAR_ID_TABLE): Likewise.
2106 (CHAR_ID_TABLE_P): Likewise.
2107 (GC_CHAR_ID_TABLE_P): Likewise.
2108 (get_char_id_table): Likewise.
2110 * char-ucs.h: Include "chartab.h".
2111 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2112 (Lisp_Char_ID_Table): Likewise.
2113 (char_id_table): Likewise.
2114 (XCHAR_ID_TABLE): Likewise.
2115 (XSETCHAR_ID_TABLE): Likewise.
2116 (CHAR_ID_TABLE_P): Likewise.
2117 (GC_CHAR_ID_TABLE_P): Likewise.
2118 (get_char_id_table): Likewise.
2120 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2122 * chartab.c (copy_uint8_byte_table): New function.
2123 (copy_uint16_byte_table): New function.
2124 (copy_byte_table): New function.
2125 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2127 (map_over_uint16_byte_table): Likewise.
2128 (map_over_byte_table): Likewise.
2129 (get_byte_table): Move prototype to chartab.h.
2130 (put_byte_table): Likewise.
2131 (put_char_id_table_0): Moved to chartab.h.
2132 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2133 (char_table_entry_equal): Likewise.
2134 (char_table_entry_hash): Likewise.
2135 (char_table_entry_description): Likewise.
2136 (char_table_entry): Likewise.
2137 (make_char_table_entry): Likewise.
2138 (copy_char_table_entry): Likewise.
2139 (get_non_ascii_char_table_value): Likewise.
2140 (map_over_charset_ascii): Likewise.
2141 (map_over_charset_control_1): Likewise.
2142 (map_over_charset_row): Likewise.
2143 (map_over_other_charset): Likewise.
2144 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2145 (print_char_table): Likewise.
2146 (char_table_equal): Likewise.
2147 (char_table_hash): Likewise.
2148 (char_table_description): Likewise.
2149 (fill_char_table): Likewise.
2150 (Fcopy_char_table): Likewise.
2151 (get_char_table): Likewise.
2152 (Fget_range_char_table): Likewise.
2153 (put_char_table): Likewise.
2154 (map_char_table): Likewise.
2155 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2158 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2160 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2161 `Vauto_fill_chars' in XEmacs UTF-2000.
2163 * chartab.h (get_byte_table): New prototype [moved from
2165 (put_byte_table): Likewise [moved from chartab.c].
2166 (put_char_id_table_0): New inline function [moved from chartab.c].
2167 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2168 (Lisp_Char_Table_Entry): Likewise.
2169 (char_table_entry): Likewise.
2170 (XCHAR_TABLE_ENTRY): Likewise.
2171 (XSETCHAR_TABLE_ENTRY): Likewise.
2172 (CHAR_TABLE_ENTRYP): Likewise.
2173 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2174 (NUM_ASCII_CHARS): Likewise.
2175 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2176 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2178 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2180 * chartab.c (get_char_id_table): Change interface.
2181 (put_char_id_table_0): New function.
2182 (put_char_id_table): Change interface; new implementation.
2183 (Fget_composite_char): Modify for interface change of
2184 `get_char_id_table'.
2185 (Fchar_variants): Likewise.
2186 (add_char_attribute_alist_mapper): Likewise.
2187 (Fchar_attribute_alist): Likewise.
2188 (Fget_char_attribute): Likewise.
2189 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2190 as same as character as the first argument like `put-char-table';
2191 modify for interface change of `put_char_id_table'.
2192 (Fremove_char_attribute): Modify for interface change of
2193 `put_char_id_table'.
2195 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2197 * text-coding.c: Sync up with XEmacs 21.2.41.
2198 (COMPOSE_ADD_CHAR): Modify for interface change of
2199 `get_char_id_table'.
2201 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2202 change of `put_char_id_table'.
2203 (remove_char_ccs): Likewise.
2205 * chartab.h (put_char_id_table): Change interface.
2207 * char-ucs.h (get_char_id_table): Change interface.
2208 (charset_code_point): Modify for interface change of
2209 `get_char_id_table'.
2210 (encode_char_1): Likewise.
2212 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2214 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2216 (map_over_uint16_byte_table): Likewise.
2217 (map_over_byte_table): Likewise.
2218 (map_char_id_table): Add new argument `range' like
2220 (Fmap_char_attribute): Add new argument `range' like
2223 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2225 * chartab.c (map_over_uint8_byte_table): Change interface of
2226 mapping function to use struct chartab_range instead of Emchar.
2227 (map_over_uint16_byte_table): Likewise.
2228 (map_over_byte_table): Likewise.
2229 (map_char_id_table): Likewise.
2230 (struct slow_map_char_id_table_arg): Deleted.
2231 (slow_map_char_id_table_fun): Deleted.
2232 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2233 function `slow_map_char_table_fun' instead of struct
2234 `slow_map_char_id_table_arg' and function
2235 `slow_map_char_id_table_fun'.
2237 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2239 * mule-charset.c: Move char-it-table related codes to chartab.c.
2240 (Vutf_2000_version): Moved to chartab.c.
2241 (Fdefine_char): Likewise.
2242 (Ffind_char): Likewise.
2243 (syms_of_mule_charset): Move types `uint8-byte-table',
2244 `uint16-byte-table', `byte-table' and `char-id-table' to
2245 chartab.c; move functions `char_attribute_list,
2246 `find_char_attribute_table, `char_attribute_alist,
2247 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2248 `map_char_attribute, `define_char, `find_char, `char_variants and
2249 `get_composite_char to chartab.c; move symbols `=>ucs',
2250 `->decomposition', `compat', `isolated', `initial', `medial',
2251 `final', `vertical', `noBreak', `fraction', `super', `sub',
2252 `circle', `square', `wide', `narrow', `small' and `font' to
2254 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2255 setting codes for `Vcharacter_composition_table' and
2256 `Vcharacter_variant_table' to chartab.c.
2257 (complex_vars_of_mule_charset): Move setting code for
2258 `Vchar_attribute_hash_table' to chartab.c.
2260 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2261 (make_char_id_table): New prototype.
2262 (put_char_id_table): Likewise.
2263 (Fget_char_attribute): Likewise.
2265 * chartab.c: Move char-id-table related code from mule-charset.c.
2266 (Vutf_2000_version): Moved from mule-charset.c.
2268 * char-ucs.h (Qucs): New external variable.
2269 (put_char_ccs_code_point): New prototype.
2270 (remove_char_ccs): Likewise.
2272 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2274 * mule-charset.c (Vcharset_ucs_jis): New variable.
2275 (Qucs_jis): Likewise.
2276 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2277 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2279 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2281 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2283 * mule-charset.c (map_over_uint8_byte_table): New function.
2284 (map_over_uint16_byte_table): Likewise.
2285 (map_over_byte_table): Likewise.
2286 (map_char_id_table): Likewise.
2287 (slow_map_char_id_table_fun): Likewise.
2288 (Fmap_char_attribute): Likewise.
2289 (syms_of_mule_charset): Add new function `map-char-attribute'.
2291 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2293 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2294 (syms_of_mule_charset): Add new function `find-char'.
2296 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2298 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2300 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2301 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2303 (complex_vars_of_mule_charset): Add new coded-charset
2304 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2305 `ideograph-gt-pj-*'.
2307 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2309 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2311 * mule-charset.c (encode_builtin_char_1): Purge codes about
2312 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2313 {MIN|MAX}_CHAR_HEBREW.
2314 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2315 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2317 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2318 (MAX_CHAR_GREEK): Purged.
2319 (MIN_CHAR_CYRILLIC): Purged.
2320 (MAX_CHAR_CYRILLIC): Purged.
2321 (MIN_CHAR_HEBREW): Commented out.
2322 (MAX_CHAR_HEBREW): Likewise.
2324 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2326 * mule-charset.c (Qto_ucs): New variable.
2327 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2328 (Fdefine_char): Likewise.
2329 (syms_of_mule_charset): Add new symbol `=>ucs'.
2331 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2333 * mule-charset.c (Fdecode_char): Fixed.
2335 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2337 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2338 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2341 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2343 * mule-charset.c (Vcharset_ucs_big5): New variable.
2344 (Qucs_big5): Likewise.
2345 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2346 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2348 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2350 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2352 * mule-charset.c (decode_builtin_char): Check Big5 code range
2353 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2355 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2357 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2358 (Qchinese_gb12345): Likewise.
2359 (Fdecode_builtin_char): Fixed.
2360 (syms_of_mule_charset): Add `chinese-gb12345'.
2361 (complex_vars_of_mule_charset): Add coded-charset
2364 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2365 (LEADING_BYTE_CHINESE_GB12345): New macro.
2367 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2369 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2370 and `latin-viscii-upper' for `latin-viscii'.
2372 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2374 * mule-charset.c (Fdecode_builtin_char): Comment out
2375 regularization code for ISO-IR GR representation.
2377 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2379 * mule-charset.c (decode_builtin_char): New function; renamed from
2380 `make_builtin_char'; return -1 instead of signal.
2381 (Fdecode_builtin_char): Use `decode_builtin_char'.
2383 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2384 `make_builtin_char'.
2385 (DECODE_CHAR): Use `decode_builtin_char' instead of
2386 `make_builtin_char'; use mapping table of `chinese-big5' for
2387 `chinese-big5-{1,2}'.
2389 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2391 * text-coding.c (char_encode_big5): New function.
2392 (char_finish_big5): Likewise.
2393 (reset_encoding_stream): Use `char_encode_big5' and
2394 `char_finish_big5' for CODESYS_BIG5.
2395 (mule_encode): Don't use `encode_coding_big5'.
2396 (encode_coding_big5): Deleted.
2398 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2400 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2401 0x81- in XEmacs UTF-2000.
2402 (detect_coding_big5): Likewise.
2404 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2406 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2407 generate character-id if the CCS property does not have
2408 corresponding predefined character.
2409 (make_builtin_char): Return -1 if corresponding predefined
2410 character is not found.
2411 (Fdecode_char): Return nil if corresponding character is not
2413 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2414 don't map to builtin ucs space.
2416 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2419 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2421 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2423 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2424 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2425 (Qideograph_gt): Likewise.
2426 (Qideograph_gt_pj_{1..11}): Likewise.
2427 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2428 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2429 `ideograph-gt-pj-11'.
2430 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2431 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2432 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2434 * char-ucs.h (LEADING_BYTE_GT): New macro.
2435 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2436 (MIN_CHAR_GT): Likewise.
2437 (MAX_CHAR_GT): Likewise.
2439 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2441 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2442 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2444 * doprnt.c (unsigned_int_converters): Add `c'.
2445 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2447 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2448 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2450 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2451 (MAX_CHAR_MOJIKYO_0): New macro.
2452 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2454 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2456 * mule-charset.c (Fdefine_char): Delete cemented out code.
2457 (encode_builtin_char_1): Modify for new allocation of builtin
2460 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2462 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2464 * mule-charset.c (Vcharset_ucs_cns): New variable.
2465 (Qucs_cns): New variable.
2466 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2467 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2469 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2471 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2473 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2475 * search.c (search_buffer): Make `charset_base_code' as
2476 character-id >> 6 to eliminate the corresponding last byte in
2477 UTF-8 representation [I'm not sure it is right thing].
2478 (boyer_moore): Likewise.
2480 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2482 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2483 representation in MULE.
2485 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2487 * text-coding.c (Fmake_coding_system): Use
2488 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2489 `EXTERNAL_PROPERTY_LIST_LOOP'.
2491 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2493 * text-coding.c (decode_output_utf8_partial_char): New function.
2494 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2496 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2498 * text-coding.c (decode_coding_utf8): Output original byte
2499 sequence if it is broken; change order of conditions.
2501 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2504 * mb-multibyte.h (BYTE_ASCII_P):
2505 Use bit ops for char-signedness safety.
2506 (BYTE_C0_P): Use bit ops for char-signedness safety.
2507 (BYTE_C1_P): Use bit ops for char-signedness safety.
2509 * character.h: (XCHAR_OR_CHAR_INT):
2510 Always use inline function.
2511 Remove redundant type checking assert() - XINT will abort quite
2514 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2516 * text-coding.c: (Fencode_shift_jis_char):
2517 (Fencode_big5_char):
2518 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2519 Replace 0 with '\0' when working with bytes.
2520 Replace initial "(" with "\(" in docstrings.
2522 (Fmake_coding_system):
2523 When type is ccl and value is vector, register it with a proper
2524 symbol. And checks whether the given ccl program is valid.
2525 (mule_decode): When calling ccl_driver, if src indicates
2526 NULL pointer, set an empty string instead.
2527 (mule_encode): Likewise.
2530 (detect_coding_sjis):
2531 (decode_coding_sjis):
2532 (detect_coding_big5):
2533 (decode_coding_big5):
2534 (detect_coding_ucs4):
2535 (decode_coding_ucs4):
2536 (detect_coding_utf8):
2537 (decode_coding_utf8):
2538 (detect_coding_iso2022):
2539 (decode_coding_iso2022):
2540 (decode_coding_no_conversion):
2542 Make all detecting and decoding functions take an Extbyte * arg.
2543 (text_encode_generic):
2544 (encode_coding_big5):
2545 (encode_coding_no_conversion):
2547 Make all encoding functions take a Bufbyte * arg.
2548 Use size_t instead of unsigned int for memory sizes.
2549 Only cast to unsigned char whenever dereferencing Extbyte *.
2551 (struct lrecord_description fcd_description_1): Use countof.
2552 (complex_vars_of_file_coding):
2553 Use countof instead of sizeof.
2554 Use CHECK_NATNUM instead of CHECK_INT.
2556 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2558 * mule-charset.c (Fget_char_attribute): Add new optional argument
2560 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2561 (remove_char_ccs): Likewise.
2563 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2565 * text-coding.c (char_encode_shift_jis): New implementation in
2567 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2570 * mule-charset.c (Vcharset_chinese_big5): New variable in
2572 (Qchinese_big5): New variable in UTF-2000.
2573 (BIG5_SAME_ROW): New macro in UTF-2000.
2574 (make_builtin_char): Use builtin characters of
2575 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2576 characters of `Vcharset_chinese_big5'.
2577 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2578 (complex_vars_of_mule_charset): Add new coded-charset
2579 `chinese-big5' in UTF-2000.
2581 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2582 (Vcharset_chinese_big5): New external variable declaration.
2583 (Vcharset_japanese_jisx0208_1990): Likewise.
2585 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2587 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2589 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2591 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2593 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2594 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2595 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2598 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2600 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2602 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2604 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2607 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2609 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2610 for `CHARSET_BY_ATTRIBUTES'.
2611 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2612 `CHARSET_BY_ATTRIBUTES'.
2614 * text-coding.c (struct decoding_stream): Rename member `CH' to
2616 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2617 (decode_coding_sjis): Likewise.
2618 (decode_coding_big5): Likewise.
2619 (decode_coding_ucs4): Likewise.
2620 (decode_coding_utf8): Likewise.
2621 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2622 `CHARSET_BY_ATTRIBUTES'.
2623 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2624 `str->counter'; decode 3, 4 bytes sets.
2625 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2627 (decode_coding_no_conversion): Use `str->cpos' instead of
2630 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2631 (Qmojikyo_2022_1): New variable.
2632 (make_charset): Don't use `CHARSET_TYPE_*'.
2633 (range_charset_code_point): Support coded-charset
2635 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2636 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2637 `CHARSET_BY_ATTRIBUTES'.
2638 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2639 `CHARSET_BY_ATTRIBUTES'.
2640 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2641 (complex_vars_of_mule_charset): Add new coded-charset
2644 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2645 interface; changed to inline function.
2647 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2648 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2649 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2650 (CHARSET_TYPE_94): Deleted.
2651 (CHARSET_TYPE_94X94): Deleted.
2652 (CHARSET_TYPE_96): Deleted.
2653 (CHARSET_TYPE_96X96): Deleted.
2654 (CHARSET_TYPE_128): Deleted.
2655 (CHARSET_TYPE_128X128): Deleted.
2656 (CHARSET_TYPE_256): Deleted.
2657 (CHARSET_TYPE_256X256): Deleted.
2658 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2660 (DECODE_MOJIKYO_2022): New inline function.
2661 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2662 `Vcharset_mojikyo_2022_1'.
2664 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2666 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2668 (put_byte_table): Likewise.
2669 (char_id_table_equal): Use `get_byte_table' [new implementation].
2671 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2673 * mule-charset.c: Include <limits.h> in UTF-2000.
2674 (BT_UINT8_MIN): New macro in UTF-2000.
2675 (BT_UINT8_MAX): New macro in UTF-2000.
2676 (BT_UINT8_t): New macro in UTF-2000.
2677 (BT_UINT8_nil): New macro in UTF-2000.
2678 (BT_UINT8_unbound): New macro in UTF-2000.
2679 (INT_UINT8_P): New inline function in UTF-2000.
2680 (UINT8_VALUE_P): New inline function in UTF-2000.
2681 (UINT8_ENCODE): New inline function in UTF-2000.
2682 (UINT8_DECODE): New inline function in UTF-2000.
2683 (mark_uint8_byte_table): New function in UTF-2000.
2684 (print_uint8_byte_table): New function in UTF-2000.
2685 (uint8_byte_table_equal): New function in UTF-2000.
2686 (uint8_byte_table_hash): New function in UTF-2000.
2687 (make_uint8_byte_table): New function in UTF-2000.
2688 (uint8_byte_table_same_value_p): New function in UTF-2000.
2689 (BT_UINT16_MIN): New macro in UTF-2000.
2690 (BT_UINT16_MAX): New macro in UTF-2000.
2691 (BT_UINT16_t): New macro in UTF-2000.
2692 (BT_UINT16_nil): New macro in UTF-2000.
2693 (BT_UINT16_unbound): New macro in UTF-2000.
2694 (INT_UINT16_P): New inline function in UTF-2000.
2695 (UINT16_VALUE_P): New inline function in UTF-2000.
2696 (UINT16_ENCODE): New inline function in UTF-2000.
2697 (UINT16_DECODE): New inline function in UTF-2000.
2698 (UINT8_TO_UINT16): New inline function in UTF-2000.
2699 (mark_uint16_byte_table): New function in UTF-2000.
2700 (print_uint16_byte_table): New function in UTF-2000.
2701 (uint16_byte_table_equal): New function in UTF-2000.
2702 (uint16_byte_table_hash): New function in UTF-2000.
2703 (make_uint16_byte_table): New function in UTF-2000.
2704 (uint16_byte_table_same_value_p): New function in UTF-2000.
2705 (print_byte_table): New function in UTF-2000.
2706 (byte-table): Use `print_byte_table' as printer.
2707 (make_byte_table): Delete second argument `older'.
2708 (byte_table_same_value_p): New function in UTF-2000.
2709 (copy_byte_table): Deleted.
2710 (get_byte_table): New function in UTF-2000.
2711 (put_byte_table): New function in UTF-2000.
2712 (print_char_id_table): New function in UTF-2000.
2713 (char-id-table): Use `print_char_id_table' as printer.
2714 (make_char_id_table): Delete second argument `older'.
2715 (get_char_id_table): Use `get_byte_table [new implementation].
2716 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2718 (Ffind_char_attribute_table): New function in UTF-2000.
2719 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2720 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2721 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2722 (syms_of_mule_charset): Add new function
2723 `find-char-attribute-table' in UTF-2000.
2725 * lrecord.h (enum lrecord_type): Add
2726 `lrecord_type_uint16_byte_table' and
2727 `lrecord_type_uint8_byte_table'.
2729 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2730 (Lisp_Uint8_Byte_Table): New type.
2731 (XUINT8_BYTE_TABLE): New macro.
2732 (XSETUINT8_BYTE_TABLE): New macro.
2733 (UINT8_BYTE_TABLE_P): New macro.
2734 (GC_UINT8_BYTE_TABLE_P): New macro.
2735 (struct Lisp_Uint16_Byte_Table): New structure.
2736 (Lisp_Uint16_Byte_Table): New type.
2737 (XUINT16_BYTE_TABLE): New macro.
2738 (XSETUINT16_BYTE_TABLE): New macro.
2739 (UINT16_BYTE_TABLE_P): New macro.
2740 (GC_UINT16_BYTE_TABLE_P): New macro.
2742 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2744 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2745 (Vcharacter_ideographic_strokes_table): Deleted.
2746 (Vcharacter_total_strokes_table): Deleted.
2747 (Vcharacter_morohashi_daikanwa_table): Deleted.
2748 (Vcharacter_decomposition_table): Deleted.
2749 (Qname): Deleted because it is duplicated.
2750 (Qideographic_radical): Deleted.
2751 (Qideographic_strokes): Deleted.
2752 (Qtotal_strokes): Deleted.
2753 (Qmorohashi_daikanwa): Deleted.
2754 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2755 `ideographic-radical', `ideographic-strokes', `total-strokes',
2756 `morohashi-daikanwa' and `->decomposition'.
2757 (Fget_char_attribute): Likewise.
2758 (Fput_char_attribute): Likewise; use `make-vector' instead of
2759 `make_older_vector' for `->decomposition' value.
2760 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2761 `ideograph-daikanwa'.
2762 (syms_of_mule_charset): Delete builtin symbols `name',
2763 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2764 `morohashi-daikanwa'.
2765 (vars_of_mule_charset): Don't setup
2766 `Vcharacter_ideographic_radical_table',
2767 `Vcharacter_ideographic_strokes_table',
2768 `Vcharacter_total_strokes_table',
2769 `Vcharacter_morohashi_daikanwa_table' and
2770 `Vcharacter_decomposition_table'.
2772 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2774 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2775 `make_older_vector', `make_vector_newer_1' and
2776 `make_vector_newer'.
2778 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2779 `make_older_vector' and `make_vector_newer'.
2781 * config.h.in (HAVE_GGC): New macro.
2783 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2785 * mule-charset.c (struct char_attribute_list_closure): New
2786 structure in UTF-2000.
2787 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2788 (Fchar_attribute_list): Likewise.
2789 (Fset_charset_mapping_table): Use `make_vector_newer'.
2790 (Fdecode_builtin_char): New function in UTF-2000.
2791 (syms_of_mule_charset): Add new function `char-attribute-list' and
2792 `decode-builtin-char' in UTF-2000.
2794 * lisp.h (make_vector_newer): New prototype.
2796 * alloc.c (make_vector_newer_1): New function.
2797 (make_vector_newer): New function.
2799 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2801 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2804 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2806 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2807 (Vcharacter_attribute_table): Deleted.
2808 (Vcharacter_name_table): Deleted.
2809 (put_char_attribute): Deleted.
2810 (remove_char_attribute): Deleted.
2811 (struct char_attribute_alist_closure): New structure.
2812 (add_char_attribute_alist_mapper): New function.
2813 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2814 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2815 (Fget_char_attribute): Likewise.
2816 (Fput_char_attribute): Likewise.
2817 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2818 of `remove_char_attribute'.
2819 (Fdefine_char): Return character.
2820 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2821 and `Vcharacter_name_table'.
2822 (complex_vars_of_mule_charset): Likewise
2823 `Vchar_attribute_hash_table'.
2825 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2827 * character.h (CHARC_CHARSET): New macro.
2828 (CHARC_CHARSET_ID): New macro.
2829 (CHARC_CODE_POINT): New macro.
2830 (CHARC_COLUMNS): New macro.
2831 (CHARC_TO_CHAR): New inline function.
2832 (CHARC_EQ): New inline function.
2833 (CHARC_ASCII_EQ): New inline function.
2834 (CHARC_IS_SPACE): New inline function.
2835 (ASCII_TO_CHARC): New inline function.
2837 * char-ucs.h (encode_char_2): Deleted.
2838 (ENCODE_CHAR): Use `encode_char_1' again.
2839 (breakup_char_1): Likewise.
2840 (CHAR_TO_CHARC): New inline function.
2842 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2844 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2846 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2847 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2848 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2849 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2850 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2852 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2854 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2856 (x_output_display_block): Use `CHARC_CHARSET' and
2859 * redisplay-tty.c (tty_output_display_block): Use
2861 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2863 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2865 * insdel.c (find_charsets_in_charc_string): Use
2867 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2868 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2869 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2870 (convert_charc_string_into_malloced_string): Likewise.
2872 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2874 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2875 instead of <Emchar_dynarr *> for buf; use
2876 `convert_bufbyte_string_into_charc_dynarr' instead of
2877 `convert_bufbyte_string_into_emchar_dynarr'; use
2878 `find_charsets_in_charc_string' instead of
2879 `find_charsets_in_emchar_string'.
2882 - Include "character.h".
2883 (struct rune): New member `cglyph'; delete member `chr'.
2885 * redisplay.c (redisplay_text_width_charc_string): New function;
2886 delete `redisplay_text_width_emchar_string'.
2887 (rtw_charc_dynarr): New variable; renamed from
2888 `rtw_emchar_dynarr'.
2889 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2890 `rtw_emchar_dynarr'; use
2891 `convert_bufbyte_string_into_charc_dynarr' instead of
2892 `convert_bufbyte_string_into_emchar_dynarr'; use
2893 `redisplay_text_width_charc_string' instead of
2894 `redisplay_text_width_emchar_string'.
2895 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2896 instead of `rtw_emchar_dynarr'; use
2897 `convert_bufbyte_string_into_charc_dynarr' instead of
2898 `convert_bufbyte_string_into_emchar_dynarr'.
2899 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2900 `redisplay_text_width_charc_string' instead of
2901 `redisplay_text_width_emchar_string'.
2902 (create_text_block): Modify for <struct rune> change.
2903 (generate_formatted_string_db): Likewise.
2904 (create_string_text_block): Likewise.
2905 (pixel_to_glyph_translation): Likewise.
2907 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2908 instead of <const Emchar *>.
2909 (x_text_width): Likewise.
2910 (x_output_display_block): Use <Charc_dynarr *> instead
2911 <Emchar_dynarr *>; modify for <structure rune> change.
2912 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2915 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2916 <const Emchar *>; use `charc_string_displayed_columns' instead of
2917 `emchar_string_displayed_columns'.
2918 (tty_output_display_block): Use <Charc_dynarr *> instead of
2919 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2920 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2921 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2922 `tty_output_emchar_dynarr_dynarr'.
2923 (tty_output_charc_dynarr): New function; delete
2924 `tty_output_charc_dynarr'.
2926 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2927 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2928 <Emchar_dynarr *> for buf; use
2929 `convert_bufbyte_string_into_charc_dynarr' instead of
2930 `convert_bufbyte_string_into_emchar_dynarr'.
2932 * frame.c (title_string_charc_dynarr): New variable; renamed from
2933 `title_string_emchar_dynarr'.
2934 (generate_title_string): Use `title_string_charc_dynarr' instead
2935 of `title_string_emchar_dynarr'; use
2936 `convert_charc_string_into_malloced_string' instead of
2937 `convert_emchar_string_into_malloced_string'.
2938 (init_frame): Use `title_string_charc_dynarr' instead of
2939 `title_string_emchar_dynarr'.
2942 - Include "character.h".
2943 (struct console_methods): Use <const Charc *> instead of <const
2944 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
2945 <Emchar_dynarr *> in output_string_method.
2947 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
2950 * console-stream.c (stream_text_width): Use <const Charc *>
2951 instead of <const Emchar *>.
2953 * character.h (Charc_dynarr): New type.
2955 * char-ucs.h (structure Charc): New structure; define new type
2958 * char-lb.h (DECODE_CHAR): New inline function.
2959 (encode_char_1): New inline function.
2960 (ENCODE_CHAR): New macro.
2961 (structure Charc): New structure; define new type `Charc'.
2963 * char-1byte.h (Vcharset_control_1): New macro.
2964 (Vcharset_latin_iso8859_1): New macro.
2965 (DECODE_CHAR): New inline function.
2966 (encode_char_1): New inline function.
2967 (ENCODE_CHAR): New macro.
2968 (structure Charc): New structure; define new type `Charc'.
2970 * insdel.c (find_charsets_in_charc_string): New function; delete
2971 `find_charsets_in_emchar_string'.
2972 (charc_string_displayed_columns): New function; delete
2973 `emchar_string_displayed_columns'.
2974 (convert_bufbyte_string_into_charc_dynarr): New function; delete
2975 `convert_bufbyte_string_into_emchar_dynarr'.
2976 (convert_charc_string_into_bufbyte_dynarr): New function; delete
2977 `convert_charc_string_into_bufbyte_dynarr'.
2978 (convert_charc_string_into_malloced_string): New function; delete
2979 `convert_charc_string_into_malloced_string'.
2981 * buffer.h (find_charsets_in_charc_string): New prototype; delete
2982 `find_charsets_in_emchar_string'.
2983 (charc_string_displayed_columns): New prototype; delete
2984 `emchar_string_displayed_columns'.
2985 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
2986 `convert_charc_string_into_bufbyte_dynarr'.
2987 (convert_charc_string_into_malloced_string): New prototype; delete
2988 `convert_charc_string_into_malloced_string'.
2990 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2992 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
2994 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2996 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
2998 * char-ucs.h: Use <short> for <Charset_ID>.
3000 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3003 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3005 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3008 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3010 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3012 (Qmorohashi_daikanwa): New variable.
3013 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3014 for `morohashi-daikanwa' attribute.
3015 (Fget_char_attribute): Likewise.
3016 (Fput_char_attribute): Likewise.
3017 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3018 has the same value of `ideograph-daikanwa'.
3019 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3020 (vars_of_mule_charset): Setup
3021 `Vcharacter_morohashi_daikanwa_table'.
3023 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3025 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3027 (add_charset_to_list_mapper): Add `key' instead of
3028 `XCHARSET_NAME (value)' to return aliases.
3030 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3032 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3034 (Vcharacter_ideographic_strokes_table): New variable.
3035 (Qideographic_radical): New variable.
3036 (Qideographic_strokes): New variable.
3037 (Fchar_attribute_alist): Use
3038 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3039 attribute; use `Vcharacter_ideographic_strokes_table' for
3040 `ideographic-strokes' attribute.
3041 (Fget_char_attribute): Likewise.
3042 (Fput_char_attribute): Likewise.
3043 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3044 `ideographic-strokes'.
3045 (vars_of_mule_charset): Setup
3046 `Vcharacter_ideographic_radical_table' and
3047 `Vcharacter_ideographic_strokes_table'.
3049 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3051 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3052 (Qtotal_strokes): New variable.
3053 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3054 `total-strokes' attribute.
3055 (Fget_char_attribute): Likewise.
3056 (Fput_char_attribute): Likewise.
3057 (syms_of_mule_charset): Add new symbol `total-strokes'.
3058 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3060 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3062 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3063 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3065 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3066 `->decomposition' attribute.
3067 (Fput_char_attribute): Likewise.
3068 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3070 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3072 * mule-charset.c (decoding_table_check_elements): New function.
3073 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3075 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3077 * mule-charset.c (Fset_charset_mapping_table): Use
3078 `put_char_ccs_code_point'.
3080 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3082 * mule-charset.c (decoding_table_put_char): New inline function.
3083 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3085 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3087 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3088 (XCHARSET_BYTE_SIZE): New macro.
3089 (decoding_table_remove_char): New inline function.
3090 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3091 `decoding_table_remove_char'.
3092 (remove_char_ccs): Use `decoding_table_remove_char'.
3093 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3095 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3097 * mule-charset.c (Vcharacter_name_table): New variable.
3098 (Qname): New variable.
3099 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3101 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3102 `Vcharacter_name_table' for `name' attribute.
3103 (Fremove_char_attribute): Use function `remove_char_ccs'.
3104 (put_char_ccs_code_point): New function.
3105 (remove_char_ccs): New function.
3106 (syms_of_mule_charset): Add new symbol `name'.
3107 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3109 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3111 * mule-charset.c (make_byte_table): Add new argument `older'.
3112 (make_char_id_table): Likewise.
3113 (copy_char_id_table): Comment out because it is not used.
3114 (put_char_id_table): Modify for `make_byte_table'.
3115 (Fput_char_attribute): Make encoding_table as older object;
3116 inherit older bit of `Vcharacter_composition_table'.
3117 (mark_charset): Don't mark `cs->encoding_table'.
3118 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3119 normal object; make `Vcharacter_composition_table' as an older
3120 object; delete staticpro for `Vcharacter_composition_table'; make
3121 `Vcharacter_variant_table' as a normal object.
3123 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3124 (mark_object): Don't check older object in UTF-2000.
3126 * lrecord.h (struct lrecord_header): Add new member `older' in
3128 (set_lheader_implementation): Setup `SLI_header->older' in
3130 (set_lheader_older_implementation): New macro in UTF-2000.
3131 (OLDER_RECORD_P): New macro in UTF-2000.
3132 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3133 (alloc_older_lcrecord): New prototype in UTF-2000.
3134 (alloc_older_lcrecord_type): New macro in UTF-2000.
3136 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3138 * mule-charset.c (byte_table_description): Use
3139 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3140 (char_id_table_description): Delete bogus `, 1'.
3141 (Fget_char_attribute): Refer encoding_table of each coded-charset
3142 to get value of coded-charset attribute of a character.
3143 (Fput_char_attribute): Use `make_older_vector' instead of
3144 `make_vector'; use encoding_table of each coded-charset to store
3145 value of coded-charset attribute of a character.
3146 (Fremove_char_attribute): Use encoding_table of each coded-charset
3147 to store value of coded-charset attribute of a character.
3148 (mark_charset): Mark `cs->encoding_table'; don't mark
3149 `cs->decoding_table'.
3150 (charset_description): Add description of new member
3152 (make_charset): Initialize `encoding_table'.
3154 * char-ucs.h (struct Lisp_Charset): Add new member
3156 (CHARSET_ENCODING_TABLE): New macro.
3157 (XCHARSET_ENCODING_TABLE): New macro.
3158 (charset_code_point): New implementation.
3159 (encode_char_1): Likewise.
3161 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3162 (disksave_object_finalization_1): Call finalizers of
3163 `all_older_lcrecords' in UTF-2000.
3164 (make_older_vector): New function in UTF-2000.
3165 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3168 * lisp.h (make_older_vector): New prototype in UTF-2000.
3170 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3172 * lrecord.h (enum lrecord_type): Rename
3173 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3175 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3176 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3177 `get_char_code_table'.
3179 * mule-charset.c (mark_char_id_table): Renamed from
3180 `mark_char_code_table'.
3181 (char_id_table_equal): Renamed from `char_code_table_equal'.
3182 (char_id_table_hash): Renamed from `char_code_table_hash'.
3183 (make_char_id_table): Renamed from `make_char_code_table'.
3184 (copy_char_id_table): Renamed from `copy_char_code_table'.
3185 (get_char_id_table): Renamed from `get_char_code_table'.
3186 (put_char_id_table): Renamed from `put_char_code_table'.
3187 (to_char_id): Renamed from `to_char_code'.
3189 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3190 `Lisp_Char_Code_Table'.
3191 (char_id_table): Renamed from `char_code_table'.
3192 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3193 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3194 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3195 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3196 (get_char_id_table): Renamed from `get_char_code_table'.
3198 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3200 * lrecord.h (enum lrecord_type): Rename
3201 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3203 * mule-charset.c (mark_byte_table): Renamed from
3204 `mark_char_byte_table'.
3205 (byte_table_equal): Renamed from `char_byte_table_equal'.
3206 (byte_table_hash): Renamed from `byte_table_hash'.
3207 (make_byte_table): Renamed from `make_byte_table'.
3208 (copy_byte_table): Renamed from `copy_char_byte_table'.
3210 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3211 `Lisp_Char_Byte_Table'.
3212 (byte_table): Renamed from `char_byte_table'.
3213 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3214 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3215 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3216 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3218 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3220 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3221 (dfc_convert_to_internal_format): Likewise.
3223 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3224 * text-coding.c (Fcoding_system_alias_p): New function.
3225 * text-coding.c (Fcoding_system_aliasee): New function.
3226 * text-coding.c (append_suffix_to_symbol): New function.
3227 * text-coding.c (dangling_coding_system_alias_p): New function.
3228 * text-coding.c (Ffind_coding_system):
3229 * text-coding.c (Fcopy_coding_system):
3230 * text-coding.c (encode_coding_no_conversion):
3231 * text-coding.c (syms_of_file_coding):
3232 * text-coding.c (vars_of_file_coding):
3233 Rewrite coding system alias code.
3234 Allow nested aliases, like symbolic links.
3235 Allow redefinition of coding system aliases.
3236 Prevent existence of dangling coding system aliases.
3237 Eliminate convert_to_external_format.
3238 Eliminate convert_to_internal_format.
3240 * text-coding.c: Change enum eol_type to eol_type_t.
3242 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3244 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3245 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3247 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3248 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3250 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3252 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3253 `ideograph-daikanwa'.
3255 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3256 (Vcharset_ucs_bmp): Likewise.
3257 (Vcharset_mojikyo): Add new extern variable definition.
3258 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3259 (Vcharset_latin_iso8859_3): Likewise.
3260 (Vcharset_latin_iso8859_4): Likewise.
3261 (Vcharset_latin_iso8859_9): Likewise.
3262 (Vcharset_latin_viscii_lower): Likewise.
3263 (Vcharset_latin_viscii_upper): Likewise.
3264 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3265 `mojikyo' code-point is used to decode.
3266 (encode_char_2): New function [to convert `mojikyo' code-point to
3267 Mojikyo font encoding].
3268 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3269 (breakup_char_1): Likewise.
3270 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3272 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3274 * text-coding.c (Fmake_coding_system): Add document about
3275 `disable-composition' property.
3277 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3279 * text-coding.c (Qdisable_composition): New variable; delete
3281 (Fmake_coding_system): Add new property `disable-composite';
3282 delete property `composite'.
3283 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3284 instead of `!CODING_SYSTEM_COMPOSITE'.
3285 (syms_of_file_coding): Add new symbol `disable-composition';
3286 delete symbol `composite'.
3288 * file-coding.h (struct Lisp_Coding_System): Add
3289 `disable_composition'; delete `enable_composition'.
3290 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3291 `CODING_SYSTEM_COMPOSITE'.
3292 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3293 `XCODING_SYSTEM_COMPOSITE'.
3295 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3297 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3300 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3302 * text-coding.c (Qcomposite): New variable.
3303 (Fmake_coding_system): Add new property `composite'.
3304 (struct decoding_stream): Add `combined_char_count',
3305 `combined_chars' and `combining_table' in UTF-2000.
3306 (COMPOSE_FLUSH_CHARS): New macro.
3307 (COMPOSE_ADD_CHAR): New macro.
3308 (reset_decoding_stream): Reset `str->combined_char_count' and
3309 `str->combining_table' in UTF-2000.
3310 (decode_coding_iso2022): Modify for character-decomposition.
3311 (syms_of_file_coding): Add new symbol `composite'.
3313 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3315 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3316 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3317 of `Vcharacter_composition_table' if `->decomposition' property
3319 (Qlatin_tcvn5712): New variable.
3320 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3321 (complex_vars_of_mule_charset): Add new coded-charset
3324 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3326 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3328 * file-coding.h (struct Lisp_Coding_System): Add
3329 `enable_composition'.
3330 (CODING_SYSTEM_COMPOSITE): New macro.
3331 (XCODING_SYSTEM_COMPOSITE): New macro.
3333 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3335 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3337 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3339 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3340 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3342 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3344 * mule-charset.c (Vcharset_mojikyo): New variable.
3345 (Fdefine_char): Don't use coded-charset which does not have
3346 non-builtin character range to allocate character-id.
3347 (Qmojikyo): New variable.
3348 (syms_of_mule_charset): Add new symbol `mojikyo'.
3349 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3351 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3352 (LEADING_BYTE_MOJIKYO): New macro.
3353 (MIN_CHAR_MOJIKYO): New macro.
3354 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3355 (MAX_CHAR_MOJIKYO): New macro.
3357 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3359 * mule-charset.c (remove_char_attribute): Fixed.
3361 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3363 * mule-charset.c (remove_char_attribute): New function.
3364 (Fremove_char_attribute): New function.
3365 (encode_builtin_char_1): Comment out builtin-support for
3366 greek-iso8859-7 and cyrillic-iso8859-5.
3367 (Fdecode_char): Check `code' is an integer.
3368 (syms_of_mule_charset): Add `remove-char-attribute'.
3369 (MIN_CHAR_GREEK): Deleted.
3370 (MAX_CHAR_GREEK): Likewise.
3371 (MIN_CHAR_CYRILLIC): Likewise.
3372 (MAX_CHAR_CYRILLIC): Likewise.
3373 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3374 MAX_CHAR_GREEK for `greek-iso8859-7'.
3376 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3377 (MAX_CHAR_GREEK): Likewise.
3378 (MIN_CHAR_CYRILLIC): Likewise.
3379 (MAX_CHAR_CYRILLIC): Likewise.
3381 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3383 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3384 format is used without `ucs' property.
3385 (Fdecode_char): Fix problem with GR representation.
3386 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3387 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3389 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3391 * mule-charset.c (make_builtin_char): New function.
3392 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3393 (Fset_charset_mapping_table): Modify for new representation of
3395 (Fdecode_char): New function.
3396 (syms_of_mule_charset): Add new builtin function `decode-char' in
3399 * char-ucs.h (make_builtin_char): New prototype.
3400 (DECODE_CHAR): New inline function.
3401 (MAKE_CHAR): Use `DECODE_CHAR'.
3403 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3405 * text-coding.c (parse_charset_conversion_specs): Use
3406 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3408 (iso2022_designate): Likewise.
3410 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3411 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3413 * mule-charset.c (Vcharset_ucs): New variable.
3414 (print_charset): Change design; use `CHARSET_CHARS' and
3415 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3416 (make_charset): Change signature to specify `chars' and
3417 `dimension' instead of `type'.
3418 (range_charset_code_point): Modify for 256^n-set.
3419 (encode_builtin_char_1): Encode as `ucs' in default.
3420 (Fmake_charset): Modify for `make_charset'.
3421 (Fmake_reverse_direction_charset): Likewise.
3422 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3424 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3427 * char-ucs.h (Vcharset_ucs): New variable.
3428 (LEADING_BYTE_UCS): New macro.
3429 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3430 and `chars' to `unsigned short' from `unsigned int'.
3431 (CHARSET_TYPE): Deleted.
3432 (XCHARSET_TYPE): Deleted.
3434 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3436 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3438 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3439 (ENCODE_CHAR): New macro.
3441 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3443 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3444 to 0.14 (Kawachi-Katakami).
3446 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3448 * text-coding.c (char_encode_shift_jis): Modify for
3449 `charset_code_point'.
3450 (char_encode_iso2022): Likewise.
3452 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3453 (integer) instead of list of <Lisp_Object>s (integers) as the
3454 format of code-point of a coded-charset.
3455 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3456 (encode_builtin_char_1): New function; delete
3457 `split_builtin_char'.
3458 (charset_code_point): Return <int> instead of <Lisp_Object>.
3459 (Fsplit_char): Don't use `SPLIT_CHAR'.
3461 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3462 prototype for `split_builtin_char'.
3463 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3464 (charset_code_point): Likewise.
3465 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3466 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3468 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3470 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3471 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3473 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3475 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3477 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3478 (MAX_CHAR_OBS_94x94): Deleted.
3480 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3482 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3484 * char-ucs.h (MAX_CHAR_BMP): New macro.
3486 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3488 * text-coding.c: Sync with r21-2-24.
3490 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3492 * file-coding.c: Modify for UTF-2000.
3494 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3496 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3499 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3501 * mule-charset.c (split_builtin_char): Delete builtin support for
3502 `katakana-jisx0201'.
3503 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3504 BMP area in builtin representation.
3506 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3507 `Vcharset_katakana_jisx0201'.
3509 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3511 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3512 (Qisolated): New variable.
3513 (Qinitial): New variable.
3514 (Qmedial): New variable.
3515 (Qfinal): New variable.
3516 (Qvertical): New variable.
3517 (Qsmall): New variable.
3518 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3519 `Qvertical' and `Qsmall'.
3520 (Qmojikyo_pj_[1 .. 21]): New variable.
3521 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3522 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3523 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3526 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3528 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3529 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3530 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3532 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3534 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3535 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3537 (Qjapanese_jisx0208_1990): New variable.
3538 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3539 (complex_vars_of_mule_charset): Add new coded-charset
3540 `japanese-jisx0208-1990'.
3542 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3543 (MIN_CHAR_JIS_X0208_1990): New macro.
3544 (MAX_CHAR_JIS_X0208_1990): New macro.
3546 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3548 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3549 coded-charset is not found.
3551 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3553 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3554 (Fdefine_char): Use `Fmake_char'.
3556 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3558 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3559 (Vcharset_hiragana_jisx0208): Deleted.
3560 (Vcharset_katakana_jisx0208): Deleted.
3561 (Qideograph_daikanwa): New variable.
3562 (Qhiragana_jisx0208): Deleted.
3563 (Qkatakana_jisx0208): Deleted.
3564 (split_builtin_char): Split `ideograph-daikanwa'.
3565 (Fsplit_char): New implementation for UTF-2000.
3566 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3567 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3568 (complex_vars_of_mule_charset): Add new coded-charset
3569 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3570 `katakana-jisx0208'.
3572 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3573 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3574 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3575 (MIN_CHAR_DAIKANWA): New macro.
3576 (MAX_CHAR_DAIKANWA): New macro.
3578 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3580 * data.c (Fstring_to_number): Don't recognize floating point if
3583 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3585 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3587 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3589 * mule-charset.c (Qsquare): New variable.
3590 (to_char_code): Add `Qsquare'.
3591 (syms_of_mule_charset): Add new symbol `square'.
3593 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3595 * mule-charset.c (Qcircle): New variable.
3596 (to_char_code): Add `Qcircle'.
3597 (syms_of_mule_charset): Add new symbol `circle'.
3599 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3601 * mule-charset.c (Qfont): New variable.
3602 (to_char_code): Add `Qfont'.
3603 (syms_of_mule_charset): Add new symbol `font'.
3605 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3607 * mule-charset.c (Qsub): New variable.
3608 (to_char_code): Add `Qsub'.
3609 (syms_of_mule_charset): Add new symbol `sub'.
3611 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3613 * mule-charset.c (Fput_char_attribute): Convert each element of
3614 VALUE to GL position if ATTRIBUTE is a GR-set,
3616 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3618 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3619 coded-charset is a GR-set.
3621 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3623 * mule-charset.c (Fput_char_attribute): Check each element of
3624 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3626 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3628 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3630 (Qethiopic_ucs): New variable in UTF-2000.
3631 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3632 (complex_vars_of_mule_charset): Add new coded-charset
3633 `ethiopic-ucs' in UTF-2000.
3635 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3636 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3638 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3640 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3642 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3644 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3647 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3649 * mule-charset.c (Vcharacter_variant_table): New variable.
3650 (Q_ucs): New variable.
3651 (Fchar_variants): New function.
3652 (Fput_char_attribute): Register `->ucs' value to
3653 `Vcharacter_variant_table'.
3654 (syms_of_mule_charset): Add new function `char-variants' and new
3656 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3658 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3660 * mule-charset.c (get_char_code_table): Allow negative character
3662 (put_char_code_table): Likewise.
3663 (Vcharacter_composition_table): New variable.
3664 (Q_decomposition): New variable.
3665 (Qwide): New variable.
3666 (Qnarrow): New variable.
3667 (Qcompat): New variable.
3668 (QnoBreak): New variable.
3669 (Qsuper): New variable.
3670 (Qfraction): New variable.
3671 (to_char_code): New function.
3672 (Fget_composite_char): New function.
3673 (Fput_char_attribute): Register `->decomposition' value to
3674 `Vcharacter_composition_table'.
3675 (syms_of_mule_charset): Add new function `get-composite-char', new
3676 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3677 `super' and `fraction'.
3678 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3680 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3682 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3683 character; copy the return value.
3685 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3687 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3689 * mule-charset.c (range_charset_code_point): Must use make_int.
3690 (split_builtin_char): New function.
3692 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3694 * mule-charset.c (char_byte_table): Change name from
3695 "char-code-table" to "char-byte-table".
3696 (mark_char_code_table): New function.
3697 (char_code_table_equal): New function.
3698 (char_code_table_hash): New function.
3699 (char_code_table_description): New constant.
3700 (char_code_table): New type.
3701 (make_char_code_table): New function.
3702 (copy_char_code_table): New function.
3703 (get_char_code_table): Modify for `char_code_table' type.
3704 (put_char_code_table): Likewise.
3705 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3708 * char-ucs.h (char_code_table): New type.
3709 (XCHAR_CODE_TABLE): New macro.
3710 (XSETCHAR_CODE_TABLE): New macro.
3711 (CHAR_CODE_TABLE_P): New macro.
3712 (GC_CHAR_CODE_TABLE_P): New macro.
3713 (struct Lisp_Char_Code_Table): New structure.
3715 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3717 * mule-charset.c (Fmake_charset): Setup byte_offset for
3720 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3722 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3725 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3727 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3730 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3732 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3733 charset, it is regarded as a charset.
3734 (put_char_attribute): New function in UTF-2000.
3735 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3736 charset, mapping-table of the charset is modified.
3737 (Fdefine_char): New function in UTF-2000.
3738 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3739 `Fput_char_attribute'.
3740 (syms_of_mule_charset): Add new function `define-char' and new
3741 symbol `ucs' in UTF-2000.
3742 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3744 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3746 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3747 non-UTF-2000 configuration.
3749 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3751 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3752 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3754 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3756 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3757 (Fset_charset_mapping_table): Likewise.
3759 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3760 (CHARSET_ENCODING_TABLE): Delete.
3761 (XCHARSET_ENCODING_TABLE): Delete.
3762 (charset_code_point): New interface.
3764 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3766 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3767 instead of `charset_get_byte1' and `charset_get_byte2'.
3769 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3770 (charset_get_byte2): Deleted.
3772 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3774 * char-ucs.h (SPLIT_CHAR): New inline function.
3775 (breakup_char_1): Use `SPLIT_CHAR'.
3777 * mule-charset.c (range_charset_code_point): New function.
3778 (charset_code_point): New function.
3780 * char-ucs.h (range_charset_code_point): New interface.
3781 (breakup_char_1): Use `range_charset_code_point'.
3783 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3785 * mule-charset.c (Fmake_charset): Delete unused local variable
3788 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3789 (breakup_char_1): Find a charset and code-point in
3790 `Vcharacter_attribute_table'.
3792 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3794 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3797 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3799 * mule-charset.c (Vcharacter_attribute_table): New variable.
3800 (Fchar_attribute_alist): New function.
3801 (Fget_char_attribute): New function.
3802 (Fput_char_attribute): New function.
3803 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3805 (syms_of_mule_charset): Add new function `char-attribute-alist',
3806 `get-char-attribute' and `put-char-attribute'.
3807 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3809 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3811 * mule-charset.c (Fmake_charset): Just use
3812 `get_unallocated_leading_byte'.
3814 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3815 sets; don't use final-byte based number for private sets.
3817 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3819 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3822 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3824 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3827 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3829 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3830 of `CHAR_LEADING_BYTE' in UTF-2000.
3832 * insdel.c (find_charsets_in_bufbyte_string): Use
3833 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3834 (find_charsets_in_emchar_string): Likewise.
3836 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3837 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3839 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3840 (CHAR_CHARSET_ID): New macro.
3842 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3844 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3845 charset-id - MIN_LEADING_BYTE.
3846 (put_char_table): Likewise.
3848 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3850 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3851 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3852 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3853 (CHARSET_ID_OFFSET): New macro.
3854 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3855 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3856 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3857 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3859 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3861 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3862 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3863 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3864 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3865 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3867 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3869 * mule-charset.c (next_allocated_leading_byte): New variable in
3871 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3872 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3873 (get_unallocated_leading_byte): Simply use
3874 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3875 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3878 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3879 (MAX_LEADING_BYTE_PRIVATE): New macro.
3880 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3881 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3883 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3885 * mule-charset.c (Fmake_charset): Allocate final-byte based
3886 charset-id for 94-set, 96-set and 94x94-set.
3888 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3890 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3892 (Fmake_charset): Likewise.
3893 (complex_vars_of_mule_charset): Modify the font registry of
3894 `ucs-bmp' not to match `Ethiopic-Unicode'.
3896 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3898 * mule-charset.c (complex_vars_of_mule_charset): Add font
3899 registory of `ucs-bmp'.
3901 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3903 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3904 coded-charsets in `default-coded-charset-priority-list' when
3905 breaking up a character.
3907 * mule-charset.c (Vcharset_latin_viscii): New variable.
3908 (Qlatin_viscii): New variable.
3909 (make_charset): Don't use `decoding_table'.
3910 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3912 (Fset_charset_mapping_table): New implementation.
3913 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3914 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3915 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3916 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3917 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3918 charset `latin_viscii'.
3920 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3921 (CHARSET_TYPE_94X94): Change to 1 from 2.
3922 (CHARSET_TYPE_96): Change to 2 from 1.
3923 (CHARSET_TYPE_128): New macro.
3924 (CHARSET_TYPE_128X128): Change to 5 from 4.
3925 (CHARSET_TYPE_256): New macro.
3926 (CHARSET_TYPE_256X256): Change to 7 from 5.
3927 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3929 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3931 * text-coding.c (char_encode_shift_jis): Refer
3932 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3933 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
3935 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
3936 (char_byte_table_equal): New function in UTF-2000.
3937 (char_byte_table_hash): New function in UTF-2000.
3938 (char_byte_table_description): New constant in UTF-2000.
3939 (char_byte_table): New type in UTF-2000.
3940 (make_char_byte_table): New function in UTF-2000.
3941 (copy_char_byte_table): New function in UTF-2000.
3942 (make_char_code_table): New macro in UTF-2000.
3943 (get_char_code_table): New function in UTF-2000.
3944 (put_char_code_table): New function in UTF-2000.
3945 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3946 (charset_description): Add setting in UTF-2000.
3947 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
3948 `CHARSET_TO_BYTE1_TABLE(cs)'.
3949 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
3950 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
3951 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
3952 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
3953 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
3954 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
3955 `CHARSET_TO_BYTE2_TABLE(cs)'.
3957 * char-ucs.h (char_byte_table): New type.
3958 (XCHAR_BYTE_TABLE): New macro.
3959 (XSETCHAR_BYTE_TABLE): New macro.
3960 (CHAR_BYTE_TABLE_P): New macro.
3961 (GC_CHAR_BYTE_TABLE_P): New macro.
3962 (struct Lisp_Char_Byte_Table): New structure.
3963 (get_char_code_table): New interface.
3964 (Emchar_to_byte_table): Deleted.
3965 (get_byte_from_character_table): Deleted.
3966 (struct Lisp_Charset): Add `encoding_table'; delete
3967 `to_byte1_table' and `to_byte2_table'.
3968 (CHARSET_ENCODING_TABLE): New macro.
3969 (CHARSET_TO_BYTE1_TABLE): Deleted.
3970 (CHARSET_TO_BYTE2_TABLE): Deleted.
3971 (XCHARSET_ENCODING_TABLE): New macro.
3972 (XCHARSET_TO_BYTE1_TABLE): Deleted.
3973 (XCHARSET_TO_BYTE2_TABLE): Deleted.
3975 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3977 * mule-charset.c (syms_of_mule_charset): Delete charset alias
3978 `vietnamese-viscii-*'.
3980 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
3982 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
3983 (Qvietnamese_viscii_upper): New variable.
3984 (Fdefine_charset_alias): New function.
3985 (syms_of_mule_charset): Add new function `define-charset-alias'.
3986 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
3987 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
3990 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
3992 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
3993 (MAX_CHAR_OBS_94x94): New macro.
3994 (breakup_char_1): Support obsolete XEmacs-UCS private code space
3997 * mule-charset.c (put_byte_from_character_table): Change unit size
3999 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4001 (Fmake_reverse_direction_charset): Modify dummy argument of
4002 `make_charset' for non-UTF-2000 environment.
4004 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4006 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4008 * mule-charset.c (destroy_byte_from_character_table): New macro.
4009 (latin_jisx0201_to_ucs): Deleted.
4010 (latin_iso8859_2_to_ucs): Deleted.
4011 (latin_iso8859_3_to_ucs): Deleted.
4012 (latin_iso8859_4_to_ucs): Deleted.
4013 (latin_iso8859_9_to_ucs): Deleted.
4014 (latin_viscii_lower_to_ucs): Deleted.
4015 (latin_viscii_upper_to_ucs): Deleted.
4016 (mark_charset): Mark `cs->decoding_table'.
4017 (Fcharset_mapping_table): Fix DOC-string.
4018 (Fset_charset_mapping_table): New function.
4019 (syms_of_mule_charset): Add nwe function
4020 `set-charset-mapping-table'.
4021 (complex_vars_of_mule_charset): Don't setup and use
4024 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4026 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4029 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4031 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4032 (Vcharset_katakana_jisx0208): New variable.
4033 (Qhiragana_jisx0208): New variable.
4034 (Qkatakana_jisx0208): New variable.
4035 (make_charset): Add new argument `byte_offset'.
4036 (charset_get_byte1): Modify for new coded-charset definition; use
4037 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4038 `XCHARSET_BYTE_OFFSET'.
4039 (Fmake_charset): Modify for `make_charset'.
4040 (Fmake_reverse_direction_charset): Likewise.
4041 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4042 `katakana-jisx0208'.
4043 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4044 `.' in font registry of charset `katakana-jisx0201',
4045 `latin-jisx0201', `vietnamese-viscii-lower' and
4046 `vietnamese-viscii-upper'; modify DOC-string of charset
4047 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4048 registry of charset `japanese-jisx0208' not to use font for JIS
4049 X0208:1990; add new charset `hiragana-jisx0208' and
4050 `katakana-jisx0208'.
4052 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4053 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4054 (struct Lisp_Charset): Add `byte_offset'.
4055 (CHARSET_BYTE_OFFSET): New macro.
4056 (XCHARSET_UCS_MIN): New macro.
4057 (XCHARSET_UCS_MAX): New macro.
4058 (XCHARSET_CODE_OFFSET): New macro.
4059 (XCHARSET_BYTE_OFFSET): New macro.
4060 (MIN_CHAR_HIRAGANA): New macro.
4061 (MAX_CHAR_HIRAGANA): New macro.
4062 (MIN_CHAR_KATAKANA): New macro.
4063 (MAX_CHAR_KATAKANA): New macro.
4064 (MAKE_CHAR): Modify for new coded-charset definition; use
4065 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4066 `XCHARSET_BYTE_OFFSET'.
4068 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4070 * mule-charset.c (CHAR96): Deleted.
4071 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4073 (latin_iso8859_2_to_ucs): Likewise.
4074 (latin_iso8859_3_to_ucs): Likewise.
4075 (latin_iso8859_4_to_ucs): Likewise.
4076 (latin_iso8859_9_to_ucs): Likewise.
4077 (latin_viscii_lower_to_ucs): Likewise.
4078 (latin_viscii_upper_to_ucs): Likewise.
4079 (latin_tcvn5712_to_ucs): Commented out.
4080 (make_charset): Change type of argument `decoding_table' from
4081 <Emchar*> to <Lisp_Object> [vector of characters].
4082 (Fmake_charset): Modify for `make_charset'.
4083 (Fmake_reverse_direction_charset): Likewise.
4084 (Fcharset_mapping_table): New function in UTF-2000.
4085 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4087 (complex_vars_of_mule_charset): Modify for type change of
4088 `*_to_ucs'; modify for `make_charset'.
4090 * char-ucs.h (struct Lisp_Charset): Change type of
4091 `decoding_table' from <Emchar*> to <Lisp_Object>.
4092 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4094 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4096 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4097 error with non-UTF-2000-Mule.
4099 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4101 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4103 (Vcharset_chinese_cns11643_4): Likewise.
4104 (Vcharset_chinese_cns11643_5): Likewise.
4105 (Vcharset_chinese_cns11643_6): Likewise.
4106 (Vcharset_chinese_cns11643_7): Likewise.
4107 (Qchinese_cns11643_3): Likewise.
4108 (Qchinese_cns11643_4): Likewise.
4109 (Qchinese_cns11643_5): Likewise.
4110 (Qchinese_cns11643_6): Likewise.
4111 (Qchinese_cns11643_7): Likewise.
4112 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4113 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4114 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4115 (complex_vars_of_mule_charset): Likewise.
4117 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4119 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4121 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4122 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4124 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4126 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4128 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4129 (breakup_char_1): Likewise.
4131 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4132 one of them includes the specified character.
4134 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4136 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4138 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4140 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4142 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4144 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4145 definition for non-UTF-2000 Mule.
4146 (latin_iso8859_3_to_ucs): Likewise.
4147 (latin_iso8859_4_to_ucs): Likewise.
4148 (latin_iso8859_9_to_ucs): Likewise.
4149 (latin_jisx0201_to_ucs): Likewise.
4150 (MIN_CHAR_THAI): Likewise.
4151 (MAX_CHAR_THAI): Likewise.
4152 (MIN_CHAR_GREEK): Likewise.
4153 (MAX_CHAR_GREEK): Likewise.
4154 (MIN_CHAR_HEBREW): Likewise.
4155 (MAX_CHAR_HEBREW): Likewise.
4156 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4157 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4158 (MIN_CHAR_CYRILLIC): Likewise.
4159 (MAX_CHAR_CYRILLIC): Likewise.
4161 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4163 * char-ucs.h (breakup_char_1): Use
4164 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4165 thai-tis620 and katakana-jisx0201 area.
4167 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4169 * char-ucs.h (breakup_char_1): Use
4170 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4173 * text-coding.c (reset_encoding_stream): Fixed.
4174 (char_encode_ucs4): Delete `& 255'.
4176 * char-ucs.h (breakup_char_1): Use
4177 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4179 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4181 * file-coding.c (Fmake_coding_system): Don't set up
4182 `codesys->fixed.size'.
4183 (encode_coding_no_conversion): Don't refer
4184 `str->codesys->fixed.size'.
4186 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4188 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4189 (latin_a_char_to_byte1): Deleted.
4190 (latin_a_char_to_byte2): Deleted.
4192 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4194 * mule-charset.c (make_charset): Add new argument `ucs_min',
4195 `ucs_max' and `code_offset'.
4196 (charset_get_byte1): New implementation [delete specific charset
4197 depended implementations].
4198 (Fmake_charset): Modify for `make_charset'.
4199 (Fmake_reverse_direction_charset): Likewise.
4200 (complex_vars_of_mule_charset): Likewise.
4202 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4204 (CHARSET_UCS_MIN): New macro.
4205 (CHARSET_UCS_MAX): New macro.
4206 (CHARSET_CODE_OFFSET): New macro.
4207 (MAKE_CHAR): Delete charset depended definitions [except
4210 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4212 * char-ucs.h (breakup_char_1): Use
4213 `Vdefault_coded_charset_priority_list' for C0-Controls,
4214 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4216 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4218 * char-ucs.h (charset_get_byte1): New function.
4219 (XCHARSET_GET_BYTE1): Deleted.
4220 (charset_get_byte2): New function.
4221 (XCHARSET_GET_BYTE2): Deleted.
4222 (Vdefault_coded_charset_priority_list): New external variable.
4223 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4224 `Vdefault_preferred_coded_charset_list'.
4226 * mule-charset.c (charset_get_byte1): New function.
4227 (charset_get_byte2): New function.
4228 (Vdefault_coded_charset_priority_list): New variable.
4229 (vars_of_mule_charset): Add new variable
4230 `default-coded-charset-priority-list'.
4232 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4234 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4235 (XCHARSET_GET_BYTE2): New inline function.
4236 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4237 `XCHARSET_GET_BYTE2'.
4239 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4241 * mule-charset.c (make_charset): Initialize
4242 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4243 NULL if table is not defined.
4245 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4247 * text-coding.c (char_encode_shift_jis): Use
4248 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4249 `ucs_to_latin_jisx0201'.
4251 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4252 (ucs_to_latin_iso8859_2): Deleted.
4253 (ucs_to_latin_iso8859_3): Deleted.
4254 (ucs_to_latin_iso8859_4): Deleted.
4255 (ucs_to_latin_iso8859_9): Deleted.
4256 (ucs_to_latin_viscii_lower): Deleted.
4257 (ucs_to_latin_viscii_upper): Deleted.
4258 (ucs_to_latin_tcvn5712): Deleted.
4259 (make_charset): Add new argument `decoding_table'; set up
4260 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4261 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4262 `decoding_table' is defined in UTF-2000.
4263 (Fmake_charset): Modify for `make_charset'.
4264 (Fmake_reverse_direction_charset): Likewise.
4265 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4266 and `GENERATE_96_SET'.
4268 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4269 (ucs_to_latin_jisx0201): Deleted.
4270 (latin_iso8859_2_to_ucs): Deleted.
4271 (ucs_to_latin_iso8859_2): Deleted.
4272 (latin_iso8859_3_to_ucs): Deleted.
4273 (ucs_to_latin_iso8859_3): Deleted.
4274 (latin_iso8859_4_to_ucs): Deleted.
4275 (ucs_to_latin_iso8859_4): Deleted.
4276 (latin_iso8859_9_to_ucs): Deleted.
4277 (ucs_to_latin_iso8859_9): Deleted.
4278 (latin_viscii_lower_to_ucs): Deleted.
4279 (ucs_to_latin_viscii_lower): Deleted.
4280 (latin_viscii_upper_to_ucs): Deleted.
4281 (ucs_to_latin_viscii_upper): Deleted.
4282 (struct Lisp_Charset): Renamed `encoding_table' to
4283 `to_byte1_table'; add `to_byte2_table'.
4284 (CHARSET_DECODING_TABLE): New macro.
4285 (CHARSET_TO_BYTE1_TABLE): New macro.
4286 (CHARSET_TO_BYTE2_TABLE): New macro.
4287 (XCHARSET_DECODING_TABLE): New macro.
4288 (XCHARSET_TO_BYTE1_TABLE): New macro.
4289 (XCHARSET_TO_BYTE2_TABLE): New macro.
4290 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4292 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4293 don't use `ucs_to_*' tables.
4295 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4297 * text-coding.c (Fmake_coding_system): Don't set up
4298 `codesys->fixed.size'.
4299 (encode_coding_no_conversion): Use `if' instead of `switch'.
4301 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4303 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4305 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4306 (Fmake_charset): Modify for `make_charset'.
4307 (Fmake_reverse_direction_charset): Likewise.
4308 (complex_vars_of_mule_charset): Likewise.
4310 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4312 * text-coding.c (char_encode_shift_jis): Use table
4313 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4315 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4317 * text-coding.c (text_encode_generic): Use `if' instead of
4319 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4322 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4324 * text-coding.c (encode_coding_sjis): Deleted.
4325 (char_encode_shift_jis): New function.
4326 (char_finish_shift_jis): New function.
4327 (reset_encoding_stream): Set up `encode_char' and `finish' for
4328 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4329 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4330 (char_encode_utf8): Treat `eol_type'.
4332 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4334 * file-coding.c (decode_coding_iso2022): Use
4335 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4337 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4339 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4342 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4344 * char-lb.h (CHAR_COLUMNS): New macro.
4346 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4348 * text-coding.c (char_encode_ucs4): New function.
4349 (char_finish_ucs4): New function.
4350 (encode_coding_ucs4): Deleted.
4351 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4352 (text_encode_generic): Delete local variable `charset' and `half'.
4353 (ucs_to_mule_table): Deleted.
4354 (mule_to_ucs_table): Deleted.
4355 (Fset_ucs_char): Deleted.
4356 (ucs_to_char): Deleted.
4357 (Fucs_char): Deleted.
4358 (Fset_char_ucs): Deleted.
4359 (Fchar_ucs): Deleted.
4360 (decode_ucs4): Deleted.
4361 (mule_char_to_ucs4): Deleted.
4362 (encode_ucs4): Deleted.
4363 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4364 (decode_coding_utf8): Likewise.
4365 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4366 (char_encode_iso2022): Fixed.
4367 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4368 `Fset_char_ucs' and `Fchar_ucs'.
4369 (complex_vars_of_file_coding): Don't initialize
4370 `ucs_to_mule_table'.
4372 * objects-tty.c (tty_initialize_font_instance): Don't use
4375 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4378 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4379 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4381 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4382 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4383 (emchar_string_displayed_columns): Likewise.
4385 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4386 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4387 (string_column_at_point): Likewise.
4388 (Fmove_to_column): Likewise.
4390 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4391 `encoding_table' and `decoding_table'.
4392 (CHARSET_REP_BYTES): Deleted.
4393 (XCHARSET_REP_BYTES): Deleted.
4394 (XCHARSET_COLUMNS): Deleted.
4395 (CHAR_COLUMNS): New macro.
4396 (lookup_composite_char): Deleted unconditionally.
4397 (composite_char_string): Likewise.
4399 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4401 * char-ucs.h (Emchar_to_byte_table): New type.
4402 (get_byte_from_character_table): New function interface.
4403 (Vcharset_latin_jisx0201): New variable.
4404 (latin_jisx0201_to_ucs): New variable.
4405 (ucs_to_latin_jisx0201): New variable.
4406 (Vcharset_latin_iso8859_2): New variable.
4407 (latin_iso8859_2_to_ucs): New variable.
4408 (ucs_to_latin_iso8859_2): New variable.
4409 (Vcharset_latin_iso8859_3): New variable.
4410 (latin_iso8859_3_to_ucs): New variable.
4411 (ucs_to_latin_iso8859_3): New variable.
4412 (Vcharset_latin_iso8859_4): New variable.
4413 (latin_iso8859_4_to_ucs): New variable.
4414 (ucs_to_latin_iso8859_4): New variable.
4415 (Vcharset_latin_iso8859_9): New variable.
4416 (latin_iso8859_9_to_ucs): New variable.
4417 (ucs_to_latin_iso8859_9): New variable.
4418 (Vcharset_latin_viscii_lower): New variable.
4419 (latin_viscii_lower_to_ucs): New variable.
4420 (ucs_to_latin_viscii_lower): New variable.
4421 (Vcharset_latin_viscii_upper): New variable.
4422 (latin_viscii_upper_to_ucs): New variable.
4423 (ucs_to_latin_viscii_upper): New variable.
4424 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4425 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4426 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4427 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4428 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4429 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4430 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4431 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4432 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4433 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4435 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4436 (Vcharset_latin_viscii_upper): New variable.
4437 (make_byte_from_character_table): New function.
4438 (put_byte_from_character_table): New function.
4439 (get_byte_from_character_table): New function.
4440 (CHAR96): New macro.
4441 (ucs_to_latin_jisx0201): New variable.
4442 (latin_jisx0201_to_ucs): New variable.
4443 (ucs_to_latin_iso8859_2): New variable.
4444 (latin_iso8859_2_to_ucs): New variable.
4445 (ucs_to_latin_iso8859_3): New variable.
4446 (latin_iso8859_3_to_ucs): New variable.
4447 (ucs_to_latin_iso8859_4): New variable.
4448 (latin_iso8859_4_to_ucs): New variable.
4449 (ucs_to_latin_iso8859_9): New variable.
4450 (latin_iso8859_9_to_ucs): New variable.
4451 (ucs_to_latin_viscii_lower): New variable.
4452 (latin_viscii_lower_to_ucs): New variable.
4453 (ucs_to_latin_viscii_upper): New variable.
4454 (latin_viscii_upper_to_ucs): New variable.
4455 (ucs_to_latin_tcvn5712): New variable.
4456 (latin_tcvn5712_to_ucs): New variable.
4457 (Qlatin_viscii_lower): New variable.
4458 (Qlatin_viscii_upper): New variable.
4459 (syms_of_mule_charset): Set up new symbol
4460 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4461 (complex_vars_of_mule_charset): Set up new charset
4462 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4463 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4464 `ucs_to_<CHARSET>' tables.
4466 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4468 * text-coding.c: New file.
4470 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4472 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4474 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4475 (MAKE_CHAR): Modify for `ucs-bmp'.
4476 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4477 non-MULE characters of BMP.
4479 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4481 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4484 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4487 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4488 - Include character.h for `CHAR_ASCII_P'.
4490 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4492 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4493 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4495 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4496 (BYTE_C0_P): Likewise.
4497 (BYTE_C1_P): Likewise.
4498 (Lstream_get_emchar_1): Likewise.
4499 (Lstream_fput_emchar): Likewise.
4500 (Lstream_funget_emchar): Likewise.
4501 (copy_internal_to_external): Likewise.
4502 (copy_external_to_internal): Likewise.
4504 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4505 (BYTE_C0_P): Likewise.
4506 (BYTE_C1_P): Likewise.
4507 (Lstream_get_emchar_1): Likewise.
4508 (Lstream_fput_emchar): Likewise.
4509 (Lstream_funget_emchar): Likewise.
4510 (copy_internal_to_external): Likewise.
4511 (copy_external_to_internal): Likewise.
4513 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4514 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4516 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4517 (BYTE_ASCII_P): Moved to mb-1byte.h.
4519 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4521 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4523 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4524 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4525 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4526 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4527 (VALIDATE_CHARPTR_FORWARD): Likewise.
4528 (simple_charptr_emchar): Moved to mb-multibyte.h.
4529 (simple_set_charptr_emchar): Likewise.
4530 (simple_charptr_copy_char): Likewise.
4531 (non_ascii_charptr_emchar): Likewise.
4532 (non_ascii_set_charptr_emchar): Likewise.
4533 (non_ascii_charptr_copy_char): Likewise.
4534 (charptr_emchar): Moved to mb-*byte.h.
4535 (set_charptr_emchar): Likewise.
4536 (charptr_copy_char): Likewise.
4538 * mb-1byte.h, mb-multibyte.h: New files.
4540 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4542 * mb-utf-8.h (MULTIBYTE): New macro.
4543 (MAX_EMCHAR_LEN): Moved from buffer.h.
4544 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4546 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4548 * mb-lb.h, multibyte.h: New files.
4550 * char-1byte.h (Charset_ID): Moved from buffer.h.
4551 (MIN_LEADING_BYTE): Likewise.
4552 (LEADING_BYTE_ASCII): Likewise.
4553 (NUM_LEADING_BYTES): Likewise.
4554 (CHARSETP): Likewise.
4555 (CHARSET_BY_LEADING_BYTE): Likewise.
4556 (XCHARSET_LEADING_BYTE): Likewise.
4557 (XCHARSET_GRAPHIC): Likewise.
4558 (XCHARSET_COLUMNS): Likewise.
4559 (XCHARSET_DIMENSION): Likewise.
4560 (CHAR_CHARSET): Likewise.
4561 (CHAR_LEADING_BYTE): Likewise.
4562 (BREAKUP_CHAR): Likewise.
4563 (Vcharset_ascii): Likewise.
4565 * buffer.h: Include multibyte.h unconditionally.
4566 (VALID_CHARPTR_P): Moved to multibyte.h.
4567 (ASSERT_VALID_CHARPTR): Likewise.
4568 (REAL_INC_CHARPTR): Likewise.
4569 (REAL_INC_CHARBYTIND): Likewise.
4570 (REAL_DEC_CHARPTR): Likewise.
4571 (INC_CHARPTR): Likewise.
4572 (INC_CHARBYTIND): Likewise.
4573 (DEC_CHARPTR): Likewise.
4574 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4575 (VALIDATE_CHARPTR_FORWARD): Likewise.
4576 (charptr_n_addr): Likewise.
4577 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4578 (simple_charptr_emchar): Moved to multibyte.h.
4579 (simple_set_charptr_emchar): Likewise.
4580 (simple_charptr_copy_char): Likewise.
4581 (non_ascii_charptr_emchar): Likewise.
4582 (non_ascii_set_charptr_emchar): Likewise.
4583 (non_ascii_charptr_copy_char): Likewise.
4584 (charptr_emchar): Likewise.
4585 (set_charptr_emchar): Likewise.
4586 (charptr_copy_char): Likewise.
4587 (charptr_emchar_n): Likewise.
4588 (Charset_ID): Moved to char-1byte.h.
4589 (Vcharset_ascii): Likewise.
4590 (CHAR_CHARSET): Likewise.
4591 (CHAR_LEADING_BYTE): Likewise.
4592 (LEADING_BYTE_ASCII): Likewise.
4593 (NUM_LEADING_BYTES): Likewise.
4594 (MIN_LEADING_BYTE): Likewise.
4595 (CHARSETP): Likewise.
4596 (CHARSET_BY_LEADING_BYTE): Likewise.
4597 (XCHARSET_LEADING_BYTE): Likewise.
4598 (XCHARSET_GRAPHIC): Likewise.
4599 (XCHARSET_COLUMNS): Likewise.
4600 (XCHARSET_DIMENSION): Likewise.
4601 (BREAKUP_CHAR): Likewise.
4603 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4605 * character.h: Add document about interface for characters.
4607 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4608 (MAKE_CHAR): Delete comment about
4609 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4610 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4611 (BREAKUP_CHAR): Modify name of arguments.
4612 (CHAR_CHARSET): Modify name of argument.
4614 * buffer.h: Delete document about Emchar accessors.
4616 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4618 * character.h (CHAR_INTP): Moved from buffer.h
4619 (CHAR_OR_CHAR_INTP): Likewise.
4620 (XCHAR_OR_CHAR_INT): Likewise.
4621 (CHECK_CHAR_COERCE_INT): Likewise.
4623 * buffer.h (CHAR_INTP): Moved to character.h
4624 (CHAR_OR_CHAR_INTP): Likewise.
4625 (XCHAR_OR_CHAR_INT): Likewise.
4626 (CHECK_CHAR_COERCE_INT): Likewise.
4628 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4631 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4632 - Include char-1byte.h, char-lb.h or char-ucs.h.
4634 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4636 * buffer.h: Include character unconditionally.
4637 (valid_char_p): Moved to char-*.h.
4638 (non_ascii_valid_char_p): Moved to char-lb.h.
4640 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4642 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4644 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4645 in UTF-2000 because it is not ported yet and not to use
4646 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4647 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4648 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4650 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4651 (CHAR_ASCII_P): Moved from character.h.
4653 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4654 (CHAR_ASCII_P): Likewise.
4655 (CHAR_FIELD1_MASK): Deleted.
4656 (CHAR_FIELD2_MASK): Deleted.
4657 (CHAR_FIELD3_MASK): Deleted.
4658 (MAX_CHAR_BASIC_LATIN): New macro.
4659 (CHAR_FIELD1): Deleted.
4660 (CHAR_FIELD2_INTERNAL): Deleted.
4661 (CHAR_FIELD3_INTERNAL): Deleted.
4662 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4663 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4664 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4665 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4666 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4667 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4668 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4669 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4670 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4671 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4672 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4673 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4674 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4675 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4676 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4677 (MIN_CHAR_COMPOSITION): Deleted.
4678 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4679 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4681 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4683 * buffer.h: Include mb-utf-8.h in UTF-2000.
4685 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4687 * mb-utf-8.h: New file.
4689 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4691 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4694 * mule-charset.h, buffer.h (Charset_ID): New type.
4696 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4698 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4699 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4700 instead of `MULE_CHAR_PRIVATE_OFFSET',
4701 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4702 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4703 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4705 * character.h (Vcharset_japanese_jisx0212): New variable
4708 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4710 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4711 (charset_by_attributes): Delete array about direction.
4712 (latin_a_char_to_charset): New variable in UTF-2000.
4713 (latin_a_char_to_byte1): New variable in UTF-2000.
4714 (latin_a_char_to_byte2): New variable in UTF-2000.
4715 (Qucs_bmp): New variable.
4716 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4718 (next_allocated_2_byte_leading_byte): Likewise.
4719 (non_ascii_set_charptr_emchar): Likewise.
4720 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4721 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4722 `charset_by_attributes'.
4723 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4724 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4725 and `CHARSET_BY_LEADING_BYTE'.
4726 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4727 `utf-2000-version' to `vars_of_mule_charset'.
4728 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4729 define `leading-code-private-11' in UTF-2000; move setting of
4730 `utf-2000-version' from `syms_of_mule_charset'.
4731 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4734 * character.h (Charset_ID): New type.
4735 (LEADING_BYTE_UCS_BMP): New macro.
4736 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4737 (CHARSET_ID_OFFSET_94): New macro.
4738 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4739 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4740 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4742 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4743 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4744 (CHARSET_ID_OFFSET_96): New macro.
4745 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4746 CHARSET_ID_OFFSET_96 and final-byte.
4747 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4748 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4749 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4750 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4751 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4752 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4753 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4754 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4755 (LEADING_BYTE_THAI_TIS620): Likewise.
4756 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4757 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4758 (CHARSET_ID_OFFSET_94x94): New macro.
4759 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4760 CHARSET_ID_OFFSET_94x94 and final-byte.
4761 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4762 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4763 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4764 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4765 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4766 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4767 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4768 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4769 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4770 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4771 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4772 (CHARSET_TYPE_128X128): New macro.
4773 (CHARSET_TYPE_256X256): New macro.
4774 (XCHARSET_PRIVATE_P): Delete unconditionally.
4775 (charset_by_attributes): Delete array about direction.
4776 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4777 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4778 (MIN_CHAR_94): New macro.
4779 (MAX_CHAR_94): New macro.
4780 (MIN_CHAR_96): New macro.
4781 (MAX_CHAR_96): New macro.
4782 (MIN_CHAR_94x94): New macro.
4783 (MAX_CHAR_94x94): New macro.
4784 (MIN_CHAR_96x96): New macro.
4785 (MAX_CHAR_96x96): New macro.
4786 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4787 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4788 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4790 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4791 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4792 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4793 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4794 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4795 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4796 `XCHARSET_LEADING_BYTE' to make code-point.
4797 (latin_a_char_to_charset): New variable.
4798 (latin_a_char_to_byte1): New variable.
4799 (latin_a_char_to_byte2): New variable.
4800 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4801 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4802 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4804 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4805 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4806 (find_charsets_in_emchar_string): Likewise.
4807 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4809 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4811 (decode_coding_iso2022): Likewise.
4813 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4816 * redisplay.c (redisplay_text_width_emchar_string): Use
4817 `Charset_ID' instead of `unsigned char'.
4818 (redisplay_frame_text_width_string): Likewise.
4820 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4823 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4824 instead of `unsigned char'.
4825 (face_cachel_charset_font_metric_info): Likewise.
4827 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4828 (get_non_ascii_char_table_value): Likewise.
4829 (get_char_table): Likewise.
4830 (put_char_table): Likewise.
4831 (map_over_other_charset): Likewise.
4832 (map_char_table): Likewise.
4834 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4835 instead of `unsigned char'.
4837 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4839 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4840 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4842 * mule-charset.c (leading_code_private_11): Don't define in
4845 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4846 in UTF-2000 because it is not ported yet and not to use
4847 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4849 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4851 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4853 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4855 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4858 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4859 of unsigned char to store leading-byte.
4861 * chartab.c (get_non_ascii_char_table_value): Don't use
4862 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4864 * file-coding.c (encode_coding_big5): Delete bogus implementation
4867 * character.h (LEADING_BYTE_*): Delete definition for
4869 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4870 (LEADING_BYTE_PREFIX_P): Deleted.
4871 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4872 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4873 (BUFBYTE_LEADING_BYTE_P): Deleted.
4874 (CHARSET_PRIVATE_P): Deleted unconditionally.
4875 (rep_bytes_by_first_byte): Deleted unconditionally.
4876 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4877 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4878 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4879 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4880 (CHAR_FIELD2): Deleted.
4881 (CHAR_FIELD3): Deleted.
4882 (MAKE_CHAR): Delete definition for non-UTF-2000.
4883 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4884 (breakup_char_1): New implementation.
4885 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4886 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4888 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4890 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4893 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4895 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4896 (CHARSET_PRIVATE_P): Likewise.
4897 (XCHARSET_PRIVATE_P): Likewise.
4898 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4900 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4902 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4904 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4906 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4907 (NUM_LEADING_BYTES): Changed from 128 to 256.
4908 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4909 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4911 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4913 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4915 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4916 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4917 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4918 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4919 (Qchinese_cns11643_3): New variable in UTF2000.
4920 (Qchinese_cns11643_4): New variable in UTF2000.
4921 (Qchinese_cns11643_5): New variable in UTF2000.
4922 (Qchinese_cns11643_6): New variable in UTF2000.
4923 (Qchinese_cns11643_7): New variable in UTF2000.
4924 (syms_of_mule_charset): Define `chinese-cns11643-3',
4925 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4926 and `chinese-cns11643-7' in UTF2000.
4927 (vars_of_mule_charset): Initialize
4928 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4930 (complex_vars_of_mule_charset): Setup charset
4931 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4932 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4934 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4936 * mule-charset.c: Move setting for `leading-code-private-11' from
4937 `syms_of_mule_charset' to `vars_of_mule_charset'.
4939 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4941 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
4942 and `NUM_LEADING_BYTES' in assert.
4944 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4946 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
4948 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
4949 `NUM_LEADING_BYTES' instead of 128.
4951 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4953 * mule-charset.h (charset_by_leading_byte): Use
4954 `NUM_LEADING_BYTES' instead of 128.
4955 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
4957 * mule-charset.c (charset_by_leading_byte): Use
4958 `NUM_LEADING_BYTES' instead of 128.
4959 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
4961 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
4964 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4966 * mule-charset.c (syms_of_mule_charset): Update to
4969 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
4971 * file-coding.c (encode_coding_sjis): New implementation for
4972 UTF2000. (decode_coding_sjis): Ditto.
4974 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4976 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
4977 Don't define in UTF2000.
4979 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
4982 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4983 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
4986 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4988 * config.h.in (CHAR_IS_UCS4): New macro.
4990 * mule-charset.c (rep_bytes_by_first_byte): Modify for
4991 conventional MULE representation.
4992 (syms_of_mule_charset): Update to 0.3 (Imamiya).
4994 * mule-charset.h: Reverted to original.
4996 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
4997 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
4998 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5000 * character.h: New file.
5002 * file-coding.c (Fmake_coding_system): Set 1 to
5003 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5005 (encode_coding_no_conversion): New implementation for UTF2000.
5007 * file-coding.h (struct Lisp_Coding_System): Add new member
5010 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5012 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5013 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5014 (encode_coding_iso2022): New implementation for UTF2000.
5016 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5018 * mule-canna.c (c2mu): New implementation for UTF2000.
5021 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5023 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5025 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5027 * file-coding.c (reset_encoding_stream): Set 0 to
5028 `str->iso2022.current_char_boundary' in UTF2000.
5029 (encode_utf8): Don't define in UTF2000.
5030 (encode_coding_utf8): New implementation for UTF-8 representation
5032 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5034 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5036 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5038 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5040 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5042 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5044 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5045 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5046 as UTF-8 in UTF2000.
5047 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5048 (non_ascii_valid_char_p): Don't define in UTF2000.
5049 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5050 (Lstream_get_emchar_1): Likewise.
5051 (utf-2000-version): New variable in UTF2000.
5053 * lread.c (read_escape): Add new reader `u'.
5055 * insdel.c (three_to_one_table): Don't define in UTF2000.
5056 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5057 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5059 (bytind_to_bufpos_func): Likewise.
5060 (buffer_mule_signal_inserted_region): Likewise.
5061 (vars_of_insdel): Don't initialize `three_to_one_table'.
5062 (init_buffer_text): Use `buf->text->mule_size' instead of
5063 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5066 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5067 UTF-8 representation in UTF2000.
5068 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5069 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5070 (decode_coding_iso2022): Don't define local variable `lb' in
5071 UTF2000; don't use LEADING_BYTE in UTF2000; use
5072 `DECODE_ADD_UCS_CHAR' in UTF2000.
5073 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5075 * config.h.in (UTF2000): New macro.
5077 * buffer.h (struct buffer_text): Add new member `mule_size' and
5078 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5079 (valid_char_p): Return always 1 in UTF2000.
5080 (MAX_EMCHAR_LEN): 6 in UTF2000.
5081 (three_to_one_table): Don't define in UTF2000.
5082 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5084 (real_bytind_to_bufpos): Likewise.
5086 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5088 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5090 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5091 representation change.
5092 (Vutf_2000_version): New variable.
5093 (leading_code_private_11): New variable.
5094 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5095 `leading-code-private-11'.
5097 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5098 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5099 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5100 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5101 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5102 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5103 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5104 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5105 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5106 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5107 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5108 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5109 (MIN_CHAR_GREEK): New macro.
5110 (MAX_CHAR_GREEK): New macro.
5111 (MIN_CHAR_CYRILLIC): New macro.
5112 (MAX_CHAR_CYRILLIC): New macro.
5113 (MIN_CHAR_HEBREW): New macro.
5114 (MAX_CHAR_HEBREW): New macro.
5115 (MIN_CHAR_THAI): New macro.
5116 (MAX_CHAR_THAI): New macro.
5117 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5118 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5119 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5120 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5121 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5122 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5123 (CHAR_FIELD2): New inline function.
5124 (CHAR_FIELD3): New inline function.
5125 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5126 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5127 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5128 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5129 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5130 (MIN_CHAR_COMPOSITION): Likewise.
5131 (CHAR_LEADING_BYTE): Modified for character representation change.
5132 (MAKE_CHAR): Likewise.
5134 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5135 (Vcharset_greek_iso8859_7): Likewise.
5136 (Vcharset_cyrillic_iso8859_5): Likewise.
5137 (Vcharset_hebrew_iso8859_8): Likewise.
5138 (Vcharset_thai_tis620): Likewise.
5139 (Vcharset_katakana_jisx0201): Likewise.
5141 2003-09-03 Vin Shelton <acs@xemacs.org>
5143 * XEmacs 21.4.14 is released
5145 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5147 * config.h.in (REGEX_MALLOC): Make it configure'able.
5149 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5151 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5153 * sysdll.c (dll_init):
5154 * sysdll.c (dll_open):
5155 * sysdll.c (dll_close):
5156 * sysdll.c (dll_function):
5157 * sysdll.c (dll_variable):
5158 * sysdll.c (dll_error):
5159 Add support for loading bundles using Darwin/MacOSX
5162 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5164 * process.c (start-process-internal): Document coding systems.
5166 2003-07-30 Jerry James <james@xemacs.org>
5168 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5170 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5172 * event-msw.c (mswindows_enqueue_mouse_button_event):
5173 * event-msw.c (mswindows_wnd_proc):
5174 enqueue button event when scrollwheel event isn't handled by
5175 mswindows_handle_mousewheel_event, such as when the scrollbars
5178 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5180 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5182 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5184 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5186 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5188 * regex.c (re_match_2_internal): Fix matching degenerate word
5191 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5193 * XEmacs 21.4.13 is released
5195 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5197 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5198 * lisp.h (<inttypes.h>):
5199 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5202 2003-03-15 Martin Buchholz <martin@xemacs.org>
5204 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5205 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5206 Result: "temacs can only be run in -batch mode."
5207 Fix: Check xemacs executable candidate for directory-ness.
5209 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5211 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5212 they conflict with <sys/types.h>.
5214 2003-02-14 Martin Buchholz <martin@xemacs.org>
5216 * database.c: Berkeley DB wants __STDC__ to be defined.
5218 2003-02-13 Martin Buchholz <martin@xemacs.org>
5220 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5222 2003-02-01 Martin Buchholz <martin@xemacs.org>
5224 * process-unix.c (unix_send_process): Fix C++ compile error.
5226 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5228 * Added .dylib as an acceptable shared library file extension
5229 * to support MacOSX.
5231 2003-02-01 Martin Buchholz <martin@xemacs.org>
5233 * EmacsFrameP.h (EmacsFramePart):
5234 Kludge to allow compiling with Motif1, but linking with Motif2.
5236 2003-01-28 Martin Buchholz <martin@xemacs.org>
5238 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5241 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5243 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5245 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5247 * sysdll.c: Included lisp.h to define needed alloca_array.
5249 2003-02-13 Martin Buchholz <martin@xemacs.org>
5251 Make XEmacs redisplay 10 times faster.
5252 If, that is, you're using a slow X connection and MoveOpaque.
5253 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5254 Use compress_motion = TRUE.
5255 * EmacsFrame.c (emacsFrameClassRec):
5256 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5257 * EmacsManager.c (emacsManagerClassRec):
5258 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5260 2003-01-30 Vin Shelton <acs@xemacs.org>
5262 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5264 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5266 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5267 Patch by Martin Buchholz.
5269 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5271 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5272 Thanks to icc for warning and Martin Buchholz for reporting.
5274 2003-01-29 Vin Shelton <acs@xemacs.org>
5276 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5278 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5279 remember to multiply by the element size.
5281 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5283 * XEmacs 21.4.12 "Portable Code" is released.
5285 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5287 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5288 * s/cygwin.sc: new linker file.
5290 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5292 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5294 * redisplay-x.c (x_output_string): Use X11-specified types.
5295 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5296 * emacs.c (__free_hook): Use typeof with Intel compiler.
5297 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5299 2003-01-08 Andy Piper <andy@xemacs.org>
5301 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5302 reserve size during unexec().
5304 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5306 * process-unix.c (unix_create_process): Don't let outchannel block.
5308 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5310 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5311 Needed for IsBadReadPtr().
5313 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5315 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5317 2002-12-14 Ben Wing <ben@xemacs.org>
5319 * callint.c: Declaration error.
5321 * dumper.c (pdump_load): Warning fix.
5322 * process.c: GCPRO error.
5323 * glyphs.c (unmap_subwindow):
5324 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5325 * event-stream.c (maybe_kbd_translate): Wrong argument to
5326 character_to_event().
5328 * alloc.c (garbage_collect_1):
5330 * emacs.c (debug_can_access_memory):
5331 * emacs.c (fatal_error_signal):
5332 * emacs.c (mswindows_handle_hardware_exceptions):
5335 * emacs.c (assert_failed):
5336 * emacs.c (syms_of_emacs):
5339 * print.c (std_handle_out_va):
5340 * print.c (write_string_to_stdio_stream):
5341 * print.c (write_fmt_string):
5342 * print.c (printing_badness):
5343 * print.c (printing_major_badness):
5344 * print.c (print_internal):
5345 * print.c (debug_print_no_newline):
5346 * print.c (debug_backtrace):
5347 Be more defensive in handling bad values when printing. Add code
5348 from trunk involving inhibit_non_essential_printing_operations.
5349 When going down or in debug_print(), don't do external conversion
5350 and such and try really, really hard when printing to avoid core
5351 dumping. Add force-debugging-signal, debug_break().
5353 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5355 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5356 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5358 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5360 * database.c: Fix open_database. Berkeley DB API has changed in
5361 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5363 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5365 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5367 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5369 * event-Xt.c (Xt_timeout):
5370 (Xt_timeout_callback):
5371 (emacs_Xt_add_timeout):
5372 (emacs_Xt_remove_timeout):
5373 (Xt_timeout_to_emacs_event):
5374 Turn completed_timeouts from a stack into a queue. Fixes
5375 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5377 2002-11-07 Wolfram Gloger <wg@malloc.de>
5379 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5380 * emacs.c (main): Assert that mmap'd allocation is disabled.
5382 2002-10-14 Andy Piper <andy@xemacs.org>
5384 * glyphs-widget.c (layout_query_geometry): add in fiddle
5385 factor. Include border text in width layout calculation.
5386 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5388 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5390 * XEmacs 21.4.10 "Military Intelligence" is released.
5392 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5394 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5395 using the NAS private array SoundFileInfo that no longer exists in
5396 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5397 and earlier. This is broken for some versions between 1.5a and
5400 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5402 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5404 * emacs.c (shut_down_emacs): Improve crash message.
5406 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5408 * file-coding.c (determine_real_coding_system): Check for coding
5409 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5410 shebangs and Python PEP 263.
5412 2002-10-08 Andy Piper <andy@xemacs.org>
5414 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5415 if static sizes haven't been set.
5417 2002-08-30 Mike Alexander <mta@arbortext.com>
5419 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5422 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5424 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5426 2002-09-20 Mike Sperber <mike@xemacs.org>
5428 (This partially gets back my patch from 2002-07-20 without the
5430 * callproc.c (child_setup): Remove Ben's comment noting confusion
5431 over the file descriptors >= 3: close_process_descs() doesn't
5432 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5433 * process-unix.c (unix_create_process): Call
5434 begin_dont_check_for_quit to inhibit unwanted interaction (and
5435 thus breaking of X event synchronicity) in the child.
5437 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5439 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5442 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5444 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5445 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5446 the xemacs process did not exit, but looped infinitely here. This
5449 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5451 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5452 (find_context): Improve comments.
5454 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5455 (re_match_2): An XCHAR_TABLE operation was missing.
5457 Many of the following changes were inspired by Andy Piper's (now
5458 obsolete) patch to make syntax-table text property lookup optional.
5462 * syntax.h (top level): Document semantics of syntax flags.
5463 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5464 * syntax.c, syntax.h (top level): Document syntax cache better in
5467 [Instrument syntax caching (temporary change)]
5469 * syntax.h (enum syntax_cache_statistics_functions, struct
5470 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5471 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5472 * syntax.c (scan_words, Fforward_comment, scan_lists,
5473 Fbackward_prefix_characters):
5474 * font-lock.c (find_context):
5475 Use them to instrument syntax caching.
5476 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5477 syntax_cache_statistics_function_names): New type and variables.
5478 * syntax.c (update_syntax_cache): Update and report statistics.
5480 [Major syntax cache optimizations]
5482 syntax.c (lookup_syntax_properties): Default off.
5484 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5485 * syntax.c (update_syntax_cache):
5486 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5488 [Minor syntax cache optimizations and code clarifications]
5490 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5491 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5492 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5493 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5494 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5495 (Code clarification.)
5497 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5498 scan_lists): Compute code from syncode, use Boolean macros instead
5499 of redundant masking operations. (Code clarification; any decent
5500 compiler can do this optimization.)
5502 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5505 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5506 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5507 use F*_single_property_change instead of F*_extent_change.
5508 Currently F*_single_property_change is _much_ less efficient.
5510 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5511 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5512 syntax_cache.object properly, don't leave Qt or Qnil.
5513 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5514 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5515 tests for Qt or Qnil.
5517 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5519 * redisplay.c (point_in_line_start_cache):
5520 * extents.c (print_extent_1):
5523 * extents.c (Fset_extent_property): Document `syntax-table' property.
5525 * extents.h (Fnext_single_property_change): EXFUN it.
5527 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5529 * search.c (clear_unused_search_regs): New static function.
5533 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5534 Minor clarifications in comments.
5536 * regex.c (re_match_2_internal): Ensure no stale submatches.
5538 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5540 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5542 2002-08-29 Jerry James <james@xemacs.org>
5544 * lisp.h: structrures -> structures.
5546 2002-06-03 Andy Piper <andy@xemacs.org>
5548 * frame.c (frame_conversion_internal): add conversion appropriate
5549 for setting frame dimensions in pixels.
5551 * console.h (struct console_methods): add device-specific widget
5554 * emacs.c (main_1): initialize glyph vars.
5556 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5557 (handle_focus_event_2): new function. Allow focus to
5558 be set to a particular window and widget.
5559 (enqueue_focus_event): new function. Create a
5560 synthetic focus event.
5561 (emacs_Xt_handle_magic_event): call
5562 handle_focus_event_2.
5564 * frame.c (Fset_frame_pixel_height): new function. Allow
5565 pixel-based sizing. Does the right thing on character-oriented
5567 (Fset_frame_pixel_width): ditto.
5568 (Fset_frame_pixel_size): ditto.
5569 (syms_of_frame): declare.
5571 * general-slots.h: add :vertically-justify and
5572 :horizontally-justify.
5574 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5575 (mswindows_widget_border_width): new function.
5576 (mswindows_combo_box_instantiate): set border widths.
5577 (console_type_create_glyphs_mswindows): declare.
5580 (check_valid_justification): allow vertical and horizontal
5582 (widget_border_width): new function. Call device methods.
5583 (widget_instance_border_width): ditto.
5584 (logical_unit_height): new function. Determine the height of a
5585 logical-unit. Logical units are intended to provide grid-like
5586 layout for subcontrols in a layout. If the layout is
5587 :vertically-justify top then subcontrols will be positioned on
5588 logical-unit boundaries, thus allowing adjacent subcontrols to
5590 (widget_logical_unit_height): ditto for widgets.
5591 (redisplay_widget): misc cleanup.
5592 (widget_spacing): new function. Call device specific
5593 methods. Intended to be the default gap between adjacent widgets.
5594 (widget_query_geometry): use new spacing functions to determine
5595 appropriate geometry.
5596 (initialize_widget_image_instance): initialize horizontal and
5597 vertical justification.
5598 (widget_instantiate): use logica-units where appropriate for
5599 sizing large widgets.
5600 (button_query_geometry): use widget_instance_border_width.
5601 (tree_view_query_geometry): ditto.
5602 (tab_control_query_geometry): ditto.
5603 (edit_field_query_geometry): new function.
5604 (layout_update): pick up :justify, :horizontally-justify and
5605 :vertically-justify none of which worked previously. :justify is
5606 used as a fallback for both horizontal and vertical justification.
5607 (layout_query_geometry): use logical units to size appropriately.
5608 (layout_layout): ditto.
5609 (Fwidget_logical_to_character_width): new function. Allow users to
5610 convert from logical units to characters so that frame sizes can
5611 be set appropriately.
5612 (Fwidget_logical_to_character_height): ditto.
5613 (syms_of_glyphs_widget): declare.
5614 (image_instantiator_edit_fields): add edit_field_query_geometry.
5615 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5616 :horizontally-justify.
5617 (specifier_vars_of_glyphs_widget): new function. Declare
5618 Vwidget_border_width which is not yet used.
5620 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5621 (x_widget_border_width): new function.
5622 (x_widget_instantiate): create a sensible name for widgets.
5623 (console_type_create_glyphs_x): declare x_widget_border_width.
5625 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5626 (struct Lisp_Image_Instance): add :vertically-justify and
5627 :horizontally-justify.
5628 (LAYOUT_JUSTIFY_TOP): new.
5629 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5630 (ROUND_UP): new macro. Round argument up to next integral
5633 * redisplay-output.c (redisplay_output_layout): misc formatting.
5635 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5637 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5639 * XEmacs 21.4.9 "Informed Management" is released.
5641 2002-08-19 Andy Piper <andy@xemacs.org>
5643 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5646 * realpath.c (xrealpath): normalize drive spec also so that dir
5647 sep chars are not mixed on cygwin.
5649 2002-08-06 Jerry James <james@xemacs.org>
5651 * window.c (Fsplit_window): Count only half of the divider width
5652 against the left window when splitting horizontally.
5654 2002-06-24 Andy Piper <andy@xemacs.org>
5656 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5657 toolbar was cleared.
5659 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5660 function. Split out from mswindows_output_frame_toolbars.
5661 (mswindows_output_frame_toolbars): move clear pieces to
5662 mswindows_output_frame_toolbars.
5664 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5665 out from gtk_output_frame_toolbars.
5666 (gtk_output_frame_toolbars): move clear pieces to
5667 gtk_clear_frame_toolbars.
5669 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5670 the frame is cleared. How this ever worked before is a mystery.
5671 (x_output_frame_toolbars): Only output toolbars.
5672 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5674 * gutter.c (update_gutter_geometry):
5675 Mark frame layout changed.
5676 (update_frame_gutter_geometry, update_frame_gutters):
5677 Respect frame_layout_changed.
5679 * console.h (struct console_methods): add
5680 clear_frame_toolbars_method.
5682 * redisplay.c (redisplay_frame): call
5683 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5685 * toolbar.h: declare update_frame_toolbars_geometry.
5687 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5688 out from update_frame_toolbars. Call clear_frame_toolbars.
5689 (update_frame_toolbars): only output, do not change geometry.
5691 * redisplay.c: add frame_layout_changed.
5693 * redisplay.h: add frame_layout_changed.
5694 (CLASS_RESET_CHANGED_FLAGS): set it.
5695 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5696 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5697 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5699 * device.h (struct device): add frame_layout_changed.
5700 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5702 * frame.h (struct frame): add frame_layout_changed.
5703 (MARK_FRAME_LAYOUT_CHANGED): new.
5705 2002-06-30 Mike Alexander <mta@arbortext.com>
5707 * event-msw.c (mswindows_need_event): Don't wait for a new message
5708 if the queue is not empty. Suggested by Paul Moore.
5710 2002-06-12 Andy Piper <andy@xemacs.org>
5712 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5713 for printing on accurately.
5715 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5717 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5718 WM_ACTIVATE message. Make sure that the frame is visible if the
5719 window is visible. This seemss to fix the problem where XEmacs
5720 appears to freeze after switching desktops with certain virtual
5722 (debug_output_mswin_message): Added code to output message
5723 parameters for WM_WINDOWPOSCHANGED,
5724 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5726 2002-05-25 Andy Piper <andy@xemacs.org>
5728 * select-x.c (vars_of_select_x): Fix docstring of
5729 x-selection-strict-motif-ownership
5731 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5733 * keymap.c (get_keymap):
5734 Add comment about do_autoload GCPROs own args.
5736 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5738 * bytecode.c (execute_optimized_program): check_opcode ifdef
5739 ERROR_CHECK_BYTE_CODE.
5741 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5743 Thanks to Ben Wing and Michael Sperber.
5745 * eval.c (Fcommand_execute):
5748 (Fmacroexpand_internal):
5749 (function_argcount):
5750 callint.c (Fcall_interactively):
5751 Add comment about do_autoload GCPROs own args.
5753 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5755 * eval.c (Ffuncall): Extra braces to placate GCC.
5757 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5759 * backtrace.h (grow_specpdl):
5761 * EmacsFrame.c (EmacsFrameSetValues):
5762 * eval.c (grow_specpdl):
5763 * ExternalShell.c (hack_event_masks_1):
5764 * glyphs-x.c (convert_EImage_to_XImage):
5765 (x_finalize_image_instance):
5766 * ralloc.c (page_size):
5768 * xgccache.c (gc_cache_hash):
5769 Fix unsigned comparison warnings.
5771 2002-07-29 Jerry James <james@xemacs.org>
5773 * lread.c (locate_file): Any nonnegative return value indicates
5774 success if MODE is nonnegative.
5776 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5778 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5781 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5783 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5785 * dumper.c (pdump_get_indirect_count):
5786 (pdump_scan_by_alignment):
5787 (pdump_dump_root_struct_ptrs):
5788 (pdump_dump_rtables):
5789 (pdump_dump_root_objects):
5791 * nas.c (WaveOpenDataForReading):
5792 * fns.c (print_bit_vector):
5793 * font-lock.c (SINGLE_SYNTAX_STYLE):
5794 * glyphs.c (check_for_ignored_expose):
5795 (find_matching_subwindow):
5797 * imgproc.c (get_histogram):
5798 * redisplay.c (point_in_line_start_cache):
5799 * redisplay-output.c (redisplay_unmap_subwindows):
5800 * symbols.c (defsymbol_massage_name_1):
5801 (defkeyword_massage_name):
5802 (deferror_massage_name_and_message):
5803 * redisplay-x.c (x_output_string):
5804 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5805 * frame.h (struct frame):
5806 * filelock.c (current_lock_owner):
5807 * doprnt.c (emacs_doprnt_1):
5808 * lisp.h (struct Lisp_Bit_Vector):
5812 2002-02-13 Ben Wing <ben@xemacs.org>
5814 * event-stream.c (reset_key_echo):
5815 * event-stream.c (reset_this_command_keys):
5816 * event-stream.c (execute_command_event):
5817 If console is dead as a result of C-x 5 0, then post-command stuff
5818 needs to be careful and do only non-console-specific stuff.
5820 2002-07-01 Mike Sperber <mike@xemacs.org>
5822 * process-unix.c (unix_send_process): Mark coding_outstream as
5823 non-open upon SIGPIPE.
5825 * event-stream.c (Fnext_event): Reorder switch cases to something
5828 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5830 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5831 Don't bogusly reinitialize ascii_character property.
5833 2002-07-08 Mike Sperber <mike@xemacs.org>
5835 * process.c (Fstart_process_internal): Do error checking before we
5836 fork off the child, so the child can't muck with the state of the
5839 2002-07-08 Mike Sperber <mike@xemacs.org>
5841 * ralloc.c (init_ralloc): Allocate properly for pdump.
5843 2002-06-12 Andy Piper <andy@xemacs.org>
5845 * glyphs.c (query_string_geometry): check the string.
5847 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5850 2002-06-17 Jerry James <james@xemacs.org>
5852 * sysdll.c: Remove RTLD_GLOBAL initialization.
5853 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5855 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5857 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5859 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5861 * sysdep.c (sys_rename): Make sys_rename work for the case where
5862 Windows rename sets errno to EACCES if target file exists.
5864 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5866 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5867 Fix detection of metric units to work on Win95
5869 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5871 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5873 2002-04-25 Andy Piper <andy@xemacs.org>
5875 * redisplay.c (create_text_block): Remove extra comment trailer.
5877 2002-04-24 Andy Piper <andy@xemacs.org>
5879 * redisplay.c (create_text_block): Don't actually add propagation
5880 data if the line ends after we have added a glyph.
5882 2002-04-22 Andy Piper <andy@xemacs.org>
5884 * extents.c (extent_fragment_update): check for glyphs we have
5885 previously displayed.
5886 * extents.c (print_extent_1): warning removal.
5887 * extents.h: change prototype.
5888 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5889 widths correctly for wide glyphs.
5890 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5891 * redisplay.c (prop_type): add PROP_GLYPH.
5892 * redisplay.c (struct prop_block): add glyph type
5893 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5894 to the propagation data.
5895 * redisplay.c (create_text_block): if there is a glyph in the
5896 propagation data use it to salt extent_fragment_update.
5897 * redisplay.c (create_string_text_block): ditto.
5899 2002-04-13 Nix <nix@esperi.demon.co.uk>
5901 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5902 * redisplay-output.c (compare_runes): Compare them.
5903 * redisplay.c: Update copyright date.
5904 * redisplay.c (pos_data): Add need_baseline_computation field.
5905 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5906 need_baseline_computation; zero yoffset. Set max_pixmap_height
5907 for all pixmaps, not just automatically positioned ones.
5908 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5909 * redisplay.c (calculate_baseline): New, compute textual baseline.
5910 * redisplay.c (add_glyph_rune): Call them.
5911 * redisplay.c (create_text_block): Likewise.
5912 * redisplay.c (create_overlay_glyph_block): Likewise.
5913 * redisplay.c (add_margin_runes): Likewise.
5914 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5916 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5917 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5918 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5919 * redisplay-msw.c (mswindows_output_string): Likewise.
5920 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5921 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5922 * redisplay-x.c (x_output_display_block): Likewise.
5924 2002-03-28 Ben Wing <ben@xemacs.org>
5926 * redisplay.c: Fixed bug in redisplay
5927 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5928 and down of the lines, since they're bigger than the line
5929 size. (It was seen most obviously when there's a horizontal scroll
5930 bar, e.g. do C-h a glyph or something like that.) The problem was
5931 that the glyph-contrib-p setting on glyphs was ignored even if it
5932 was set properly, which it wasn't until now.
5934 2002-04-24 Andy Piper <andy@xemacs.org>
5936 * lisp.h (Dynarr_end): Fix definition.
5938 2002-02-06 Adrian Aichner <adrian@xemacs.org>
5940 * redisplay.c (mark_redisplay): Remove call to
5941 update_frame_window_mirror.
5943 2001-11-15 Andy Piper <andy@xemacs.org>
5945 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
5948 2002-02-13 Andy Piper <andy@xemacs.org>
5950 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
5951 we did in fact enqueue the XM_MAPFRAME event.
5953 2002-01-15 Adrian Aichner <adrian@xemacs.org>
5955 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
5956 to fix problem switching between virtual desktops under virtuawin
5957 virtual window manager.
5959 2001-07-30 Adrian Aichner <adrian@xemacs.org>
5961 * event-msw.c: Typo fix.
5962 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
5963 magic XM_MAPFRAME event has been sent.
5965 2001-11-23 Andy Piper <andy@xemacs.org>
5967 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
5969 2001-11-21 Andy Piper <andy@xemacs.org>
5971 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
5972 mouse events outside the frame.
5974 2002-03-20 Andy Piper <andy@xemacs.org>
5976 * menubar-msw.c (mswindows_popup_menu): warning removal.
5977 * dialog-msw.c (dialog_popped_down): ditto.
5979 2001-12-11 Andy Piper <andy@xemacs.org>
5981 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
5982 * dialog-msw.c (mswindows_make_dialog_box_internal): set
5984 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
5985 * menubar-msw.c (mswindows_handle_wm_command): ditto.
5986 * menubar-msw.c (mswindows_popup_menu): ditto.
5988 2001-10-29 Andy Piper <andy@xemacs.org>
5990 * dialog-msw.c (handle_directory_dialog_box): quit if the user
5993 2002-01-03 Andy Piper <andy@xemacs.org>
5995 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
5999 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6001 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6002 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6003 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6004 Detect and handle case where machine is set up for metric units
6006 2002-04-02 Andy Piper <andy@xemacs.org>
6008 * dired-msw.c (mswindows_get_files):
6009 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6010 completely handled by XEmacs. Suggested by Thomas Vogler
6011 <mail@thomas-vogler.de>.
6013 2001-11-14 Andy Piper <andy@xemacs.org>
6015 * nt.c (REG_ROOT): change registry key to XEmacs.
6017 2002-04-27 Andy Piper <andy@xemacs.org>
6019 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6021 2002-04-26 Andy Piper <andy@xemacs.org>
6023 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6026 2002-03-14 Mike Alexander <mta@arbortext.com>
6028 * event-msw.c (mswindows_unwait_process): New, remove process from
6030 * process-nt.c (nt_finalize_process_data): Call
6031 mswindows_unwait_process
6032 * console-msw.h: Declare mswindows_unwait_process
6034 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6036 * editfns.c (Fdecode_time):
6037 (Fformat_time_string):
6038 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6039 (make_time): Warning elimination (change arg name).
6041 2001-11-24 Andy Piper <andy@xemacs.org>
6043 * window.c (Fsplit_window): Doc return type.
6045 2002-04-01 Andy Piper <andy@xemacs.org>
6047 * emacs.c (Fkill_emacs): Only output message box in interactive
6050 2002-04-26 Andy Piper <andy@xemacs.org>
6052 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6055 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6057 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6060 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6062 * XEmacs 21.4.8 "Honest Recruiter" is released.
6064 2002-05-07 Nix <nix@esperi.demon.co.uk>
6066 Supersedes 2002-04-17 patch.
6068 * process.h (PROCESS_LIVE_P): Use the process status as
6069 evidence of health, not the state of the input stream.
6070 (PROCESS_READABLE_P): Say if the process is readable
6071 from. (It may be dead nonetheless.)
6072 (CHECK_READABLE_PROCESS): Test for that condition.
6074 * process.c (create_process): Use PROCESS_READABLE_P.
6075 (read_process_output, set_process_filter): Likewise.
6077 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6078 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6080 This code is #if 0'd, this is not the time to add new functions:
6082 * process.c (Fprocess_readable_p): Report readability status.
6083 * process.c (Qprocess_readable_p): New, associated symbol...
6084 * process.c (syms_of_process): ... initialize it.
6086 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6088 * XEmacs 21.4.7 "Economic Science" is released.
6090 2002-04-17 Nix <nix@esperi.demon.co.uk>
6092 * process.h (PROCESS_LIVE_P): Use the process status as
6093 evidence of health, not the state of the input stream.
6095 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6097 * sysdep.c (sys_siglist): change "signum" to "signal"
6099 2001-04-21 Martin Buchholz <martin@xemacs.org>
6101 * s/darwin.h: New file.
6102 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6104 2002-04-23 Andreas Jaeger <aj@suse.de>
6106 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6107 which use lib64 for 64-bit libs.
6108 (START_FILES): Likewise.
6110 2002-02-11 Mike Sperber <mike@xemacs.org>
6113 (x_IO_error_handler):
6114 (x_init_device): Temporarily keep device in static variable
6115 `device_being_initialized' so we can recover gracefully from
6116 internal XOpenDevice failure. (XOpenDevice is documented to
6117 return NULL on failure, but sometimes calls the IO error handler
6120 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6122 * dired.c (Ffile_name_all_completions): Change documentation --
6123 remove reference to completion-ignored-extensions.
6124 * dired.c (vars_of_dired): Change documentation for
6125 completion-ignored-extensions -- remove reference to
6126 file-name-all-completions.
6128 2002-03-06 Jerry James <james@xemacs.org>
6130 * emodules.c (emodules_load): Fix multiple loading of same module.
6132 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6133 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6134 RTLD_LAZY to avoid incorrect symbol binding when using nested
6135 shared libraries on Solaris.
6137 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6139 * fileio.c (Ffind_file_name_handler): Improve docstring.
6141 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6143 * fns.c (Fmapconcat): Improve docstring.
6145 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6147 * device-gtk.c: Add prototype for
6148 emacs_gtk_selection_clear_event_handle.
6149 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6150 selection. Setup signal handler for "selection_clear_event"
6151 (emacs_gtk_selection_clear_event_handle).
6153 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6154 other applications owning the clipboard (based on
6155 x_handle_selection_clear).
6157 2001-12-23 William M. Perry <wmperry@gnu.org>
6159 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6161 2002-01-04 Martin Buchholz <martin@xemacs.org>
6163 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6165 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6167 * XEmacs 21.4.6 "Common Lisp" is released.
6169 2001-12-16 Torsten Duwe <duwe@caldera.de>
6171 * search.c (Freplace_match): Add missing sub-expression functionality.
6173 * buffer.c (decode_buffer): Add a check for pointer type to
6174 decode_buffer, before gcc's CSE optimization reorders a
6175 dereference in front of the allow_string test.
6177 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6179 * window.c (window_loop): Fix bug that sometimes prevented
6180 window_loop() from iterating across multiple devices. Also, at
6181 Ben's request, changed infloop-detecting code to abort() instead
6182 of silently terminating window_loop().
6184 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6186 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6187 * editfns.c (make_time): New function.
6188 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6189 * lisp.h (make_time): Prototype and comment it.
6190 * dired.c (wasteful_word_to_lisp): Deprecate.
6191 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6193 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6195 * fileio.c (auto_save_1): Use current coding system, not
6198 2001-11-13 Ben Wing <ben@xemacs.org>
6201 * window.c (window_truncation_on):
6202 * window.c (syms_of_window):
6203 truncate-partial-width-windows should respect the buffer being
6204 displayed, like other redisplay vars.
6206 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6208 * event-stream.c (Fread_key_sequence): save current buffer.
6210 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6212 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6214 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6216 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6218 2001-10-26 Mike Alexander <mta@arbortext.com>
6220 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6222 2001-10-25 Andy Piper <andy@xemacs.org>
6225 * dialog-msw.c (handle_directory_proc): new function.
6226 (handle_directory_dialog_box): new fucntion.
6227 (handle_file_dialog_box): use new directory dialog support.
6228 (mswindows_make_dialog_box_internal): ditto.
6229 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6231 (mswindows_find_frame): make global.
6232 * fileio.c (Fexpand_file_name): build fix.
6233 * general-slots.h: add Qdirectory.
6234 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6236 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6237 cygwin not leaving win32 paths unchanged.
6238 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6239 cygwin runtime to do path conversion.
6240 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6241 (syms_of_win32): add new function.
6242 * window.c (window_loop): build fix.
6244 2001-10-15 Andy Piper <andy@xemacs.org>
6246 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6248 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6250 * XEmacs 21.4.5 "Civil Service" is released.
6252 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6254 * glyphs-x.c: Force buffer-tab highlight update when moving the
6255 buffer, avoiding an ugly black border, used for keyboard focus
6256 indication, on a widget that can never have keyboard focus, the
6259 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6261 * process-unix.c (unix_open_multicast_group): Remove too much
6262 conversion between host and network byte order.
6264 2001-09-10 Nix <nix@esperi.demon.co.uk>
6266 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6267 before replacing them.
6269 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6272 * src/window.c (undedicate_windows): Use it.
6273 * src/window.h: Add prototype.
6275 2001-09-17 Ben Wing <ben@xemacs.org>
6277 * fileio.c (normalize_filename):
6278 * fileio.c (Fexpand_file_name):
6279 Fix various C++ compile errors in Andy's recent code.
6281 * callint.c (Fcall_interactively):
6282 * editfns.c (Ftemp_directory):
6283 * editfns.c (Fuser_full_name):
6284 * emacs.c (argmatch):
6285 * lread.c (locate_file_map_suffixes):
6286 * redisplay-x.c (x_ring_bell):
6287 Fix sign-compare warnings.
6289 2001-09-08 Andy Piper <andy@xemacs.org>
6291 * fileio.c (normalize_filename): copied from nt.c
6292 * (Ffile_name_directory): enable win32 paths under cygwin.
6293 * (Ffile_name_nondirectory): ditto.
6294 * (directory_file_name): ditto.
6295 * (Fexpand_file_name): ditto.
6296 * (Ffile_truename): ditto.
6297 * (Fsubstitute_in_file_name): ditto.
6298 * (Ffile_name_absolute_p): ditto.
6299 * (Ffile_readable_p): ditto.
6301 2001-09-08 Andy Piper <andy@xemacs.org>
6303 * device-msw.c (mswindows_finish_init_device): remove dde
6305 * device-msw.c (mswindows_init_dde): factor out from
6306 mswindows_finish_init_device()
6307 * device-msw.c (init_mswindows_very_early): new function
6308 initialize but don't enable dde.
6309 * emacs.c (main_1): call init_mswindows_very_early.
6311 * event-msw.c (mswindows_dde_callback): only execute when we are
6313 * symsinit.h: declare init_mswindows_very_early.
6315 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6317 [sjt: This has been in 21.5 for months with no complaints.]
6319 * console.h (struct console_methods): Added flags member.
6320 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6321 (CONMETH_IMPL_FLAG):
6322 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6323 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6325 * device.c (window_system_pixelated_geometry): Use the above macros.
6327 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6328 implememntation flag.
6329 * device.h (DEVICE_DISPLAY_P): Use it.
6331 * frame.c (delete_frame_internal): Use the above macro.
6333 * redisplay.c (redisplay_device): Use it.
6334 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6335 (redisplay_frame): Ditto.
6337 * device-msw.c (mswindows_device_implementation_flags): Removed.
6338 (msprinter_device_implementation_flags): Removed.
6339 (console_type_create_device_mswindows): Removed references to
6340 implementation_flags methods, set implementation flags here.
6341 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6343 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6344 (console_type_create_device_gtk): Removed method declaration.
6345 Added commented out statement which semantically matches the
6346 commented out statement in the above removed method.
6348 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6350 The attached patch fixes a few warnings.
6352 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6353 * src/frame-gtk.c: guard against GNOME calls in GTK only
6354 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6355 * src/select-gtk.c: prototype lisp_to_time
6357 2001-06-08 Ben Wing <ben@xemacs.org>
6359 ------ gc-in-window-procedure fixes ------
6362 * alloc.c (struct post_gc_action):
6363 * alloc.c (register_post_gc_action):
6364 * alloc.c (run_post_gc_actions):
6365 * alloc.c (garbage_collect_1):
6366 Create "post-gc actions", to avoid those dreaded "GC during window
6367 procedure" problems.
6370 Abort, clean and simple, when GC in window procedure. We want
6371 to flush these puppies out.
6374 * glyphs-msw.c (finalize_destroy_window):
6375 * glyphs-msw.c (mswindows_finalize_image_instance):
6376 Use a post-gc action when destroying subwindows.
6379 Declare register_post_gc_action().
6382 * scrollbar-msw.c (unshow_that_mofo):
6383 Use a post-gc action when unshowing scrollbar windows, if in gc.
6385 * redisplay.c (mark_redisplay):
6386 Add comment about the utter evilness of what's going down here.
6388 ------ cygwin setitimer fixes ------
6390 * Makefile.in.in (sheap_objs):
6391 * Makefile.in.in (profile_objs):
6392 * Makefile.in.in (objs):
6393 Compile profile.c only when HAVE_SETITIMER.
6395 * nt.c (mswindows_sigset):
6396 * nt.c (mswindows_sighold):
6397 * nt.c (mswindows_sigrelse):
6398 * nt.c (mswindows_sigpause):
6399 * nt.c (mswindows_raise):
6400 * nt.c (close_file_data):
6404 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6407 * profile.c (Fstart_profiling):
6408 * profile.c (Fstop_profiling):
6409 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6410 instead of just plain setitimer().
6413 * signal.c (set_one_shot_timer):
6415 Define qxe_setitimer() as an encapsulation around setitimer() --
6416 call setitimer() directly unless Cygwin or MS Win, in which case
6417 we use our simulated version in win32.c.
6420 * systime.h (struct itimerval):
6421 * systime.h (ITIMER_REAL):
6422 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6423 comment about "qxe" and the policy regarding encapsulation.
6426 * win32.c (setitimer_helper_proc):
6427 * win32.c (setitimer_helper_period):
6428 * win32.c (setitimer_helper):
6429 * win32.c (mswindows_setitimer):
6430 Move setitimer() emulation here, so Cygwin can use it.
6431 Rename a couple of functions and variables to be longer and more
6432 descriptive. In setitimer_helper_proc(), send the signal
6433 using either mswindows_raise() or (on Cygwin) kill(). If for
6434 some reason we are still getting lockups, we'll change the kill()
6435 to directly invoke the signal handlers.
6437 ------ windows shell fixes ------
6441 Comments about how these two files must die.
6443 * callproc.c (init_callproc):
6444 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6445 not just COMSPEC. (more correct and closer to FSF.) Don't
6446 force a value for SHELL into the environment. (Comments added
6447 to explain why not.)
6449 * nt.c (init_user_info):
6450 Don't shove a fabricated SHELL into the environment. See above.
6452 2001-06-01 Ben Wing <ben@xemacs.org>
6454 * Makefile.in.in (ldflags):
6455 eliminate that pesky "defaulting to 00401000" warning.
6459 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6461 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6462 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6464 2001-04-24 Jerry James <james@xemacs.org>
6466 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6469 2001-06-01 Ben Wing <ben@xemacs.org>
6471 * event-msw.c (debug_mswin_messages):
6472 conditionalize the messages that were causing compile errors.
6473 (if only macros could generate #ifdef statements ...)
6475 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6477 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6479 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6481 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6483 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6485 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6486 * process-unix.c (unix_canonicalize_host_name):
6487 sysdep.c (init_system_name):
6488 Use it to conditionally support IPv6 canonicalization.
6490 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6493 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6495 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6497 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6498 attempt is made to scroll when no scroll bar is available.
6500 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6502 * input-method-motif.c (XIM_delete_frame): New callback.
6503 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6504 got deleted from 21.4.3.)
6506 2001-06-01 Ben Wing <ben@xemacs.org>
6508 * nt.c (mswindows_utime):
6509 * nt.c (close_file_data):
6510 fix off-by-one-indirection error.
6512 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6514 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6515 because set_file_times() now takes Lisp_Object path, instead of
6517 * nt.c: Include buffer.h.
6518 * nt.c (convert_from_time_t): New.
6519 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6520 not set mtime correctly.
6521 * nt.h: Declare mswindows_utime().
6522 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6523 path, instead of char*.
6524 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6526 2001-05-30 Ben Wing <ben@xemacs.org>
6530 (Stephen, just take all event-msw.c patches. This includes
6531 the "iconify" fix below.)
6534 * event-msw.c (mswindows_dequeue_dispatch_event):
6535 * event-msw.c (assert):
6536 * event-msw.c (emacs_mswindows_quit_p):
6537 * event-msw.c (debug_mswin_messages):
6538 * event-msw.c (debug_output_mswin_message):
6539 * event-msw.c (vars_of_event_mswindows):
6540 Fix yet more problems with C-g handling.
6541 Implement debug-mswindows-events.
6543 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6545 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6547 2001-05-23 Ben Wing <ben@xemacs.org>
6549 * event-msw.c (winsock_writer):
6550 * event-msw.c (winsock_closer):
6551 prior kludgy code was clobbering the buffer, thinking it was
6552 "unused" space to store an unneeded return value; instead, use
6553 the variable we've already got staring us in the face.
6555 2001-05-17 Andy Piper <andy@xemacs.org>
6557 * sysfile.h: don't assume that file attributes are boolean
6559 2001-05-23 Ben Wing <ben@xemacs.org>
6561 * device-msw.c (msprinter_init_device):
6562 signal an error rather than crash with an unavailable network
6563 printer (from Mike Alexander).
6566 * event-msw.c (struct winsock_stream):
6567 * event-msw.c (winsock_writer):
6568 * event-msw.c (winsock_closer):
6569 * event-msw.c (make_winsock_stream_1):
6570 cleanup headers. fix (hopefully) an error with data corruption
6571 when sending to a network connection.
6573 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6574 to handle the ~user prefix by (a) always assuming we're referencing
6575 ourselves and not even verifying the user -- hence any file with
6576 a tilde as its first char is invalid! (b) if there wasn't a slash
6577 following the filename, the pointer was set *past* the end of
6578 file and we started reading from uninitialized memory. Now we
6579 simply treat these as files, always.
6581 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6583 2001-05-19 Ben Wing <ben@xemacs.org>
6585 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6588 * process-nt.c (vars_of_process_nt):
6589 remove unused mswindows-quote-process-args. rec for 21.4.
6591 2001-05-12 Ben Wing <ben@xemacs.org>
6593 * event-msw.c (mswindows_dde_callback):
6594 * event-msw.c (mswindows_wnd_proc):
6595 eliminate cygwin warnings.
6597 2001-05-06 Ben Wing <ben@xemacs.org>
6601 * device-msw.c (print_dialog_worker):
6602 * device-msw.c (mswindows_handle_print_dialog_box):
6603 * device-msw.c (syms_of_device_mswindows):
6604 * dialog-msw.c (mswindows_make_dialog_box_internal):
6606 implement printing the selection when it's selected.
6608 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6610 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6612 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6614 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6615 EMACS_INT is signed.
6617 2001-04-15 Michael Lausch <mla@1012surf.net>
6619 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6620 gtk_widget_request_size() to give scrollbar >0 width for
6623 2001-05-30 William M. Perry <wmperry@gnu.org>
6625 * event-gtk.c: Check for buttons as modifier keys.
6627 2001-05-25 Craig Lanning <CraigL@Knology.net>
6630 Properly find MinGW's <process.h> inside Cygwin's restructured
6631 include directories. Don't try to include <cygwin/version.h>
6632 since we are dropping support for MinGW in versions of Cygwin
6635 Drop support for MinGW in versions of Cygwin before b21.
6637 Properly find MinGW's <process.h> inside Cygwin's restructured
6638 include directories.
6640 Drop support for MinGW in versions of Cygwin before b21.
6642 Even though a.out.h is no longer detected by configure, allow
6643 MinGW to use it until we figure out how to do the job with Win32.
6645 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6647 * syntax.c (find_start_of_comment):
6648 Fix `unbalanced parentheses' bug when dealing with mixed comment
6649 styles in c++/java/etc. mode
6651 2001-05-29 Mike Alexander <mta@arbortext.com>
6653 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6654 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6656 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6658 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6660 2001-03-31 Mike Sperber <mike@xemacs.org>
6662 * search.c (Freplace_match): Support FSF-style specification of
6663 match subexpression when applied to a buffer.
6665 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6667 * event-stream.c (is_scrollbar_event): add missing semicolon
6669 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6671 * Makefile.in.in: Use TAR macro instead of hardcoding
6672 tar. Allows use of GNU tar instead of system tar
6674 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6676 * event-stream.c (is_scrollbar_event): add missing semicolon
6678 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6680 * XEmacs 21.4.3 "Academic Rigor" is released.
6682 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6684 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6686 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6688 * buffer.c (Vcase_fold_search): Remove obsolete
6689 comment about non ASCII case-fold-search. This
6690 bug has been fixed by case-table changes.
6692 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6694 * event-msw.c: Restore include of events-mod.h.
6696 2001-04-22 zhaoway <zw@debian.org>
6698 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6701 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6703 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6705 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6707 * mule-charset.c (Fmake_charset): Add missing else.
6709 2001-04-23 Ben Wing <ben@xemacs.org>
6711 * event-msw.c (FAKE_MOD_QUIT):
6712 * event-msw.c (mswindows_dequeue_dispatch_event):
6713 * event-msw.c (mswindows_wnd_proc):
6714 * event-msw.c (emacs_mswindows_quit_p):
6715 Get critical quit working.
6717 2001-05-05 Ben Wing <ben@xemacs.org>
6721 * device-msw.c (mswindows_get_default_margin):
6722 * frame-msw.c (mswindows_size_frame_internal):
6723 * frame-msw.c (msprinter_init_frame_1):
6724 * frame-msw.c (vars_of_frame_mswindows):
6725 Change top/bottom margin defaults to 0.5 inches.
6727 2001-05-01 Martin Buchholz <martin@xemacs.org>
6729 Fix link error with gcc 3.0 on Linux.
6730 * terminfo.c (UP): Remove.
6731 * terminfo.c (BC): Remove.
6732 * terminfo.c (PC): Remove.
6733 They weren't used, and in any case, these symbols should be
6734 defined in the *library*.
6736 2001-05-03 Martin Buchholz <martin@xemacs.org>
6738 * s/aix4.h: Fix crash with xlc -O3.
6739 Improve comment explaining how -O3 works.
6741 2001-04-15 Ben Wing <ben@xemacs.org>
6744 * event-stream.c (Fnext_event):
6745 * event-stream.c (is_scrollbar_event):
6746 * event-stream.c (execute_command_event):
6747 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6748 crash' problem. His fix introduces other problems. We filter
6749 out scrollbar events specifically, making them somewhat invisible
6750 to command-building, and not appearing in `this-command-keys'.
6751 More work is still needed (see comments in event-stream.c), but
6752 this fixes all the major problems.
6754 2001-04-20 Ben Wing <ben@xemacs.org>
6756 * .cvsignore: Added stuff for Windows.
6758 2001-04-28 Ben Wing <ben@xemacs.org>
6760 * buffer.c (Ferase_buffer):
6761 * editfns.c (buffer_insert1):
6762 * editfns.c (Finsert_before_markers):
6763 * editfns.c (Finsert_string):
6764 * editfns.c (Finsert_char):
6765 * editfns.c (Fdelete_region):
6766 * editfns.c (Fwiden):
6767 * editfns.c (Fnarrow_to_region):
6768 remove bogus lines setting zmacs_region_stays to 0.
6770 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6772 * process-unix.c (unix_open_network_stream): If connect() fails
6773 invalidate file descriptor after closing it.
6775 2001-03-08 Mike Alexander <mta@arbortext.com>
6777 * event-msw.c (mswindows_need_event_in_modal_loop):
6778 Don't dispatch a message if we didn't get one.
6779 (mswindows_need_event):
6780 Terminate the correct process when one exits instead of the first
6781 one on Vprocess_list and look for process termination when in
6782 mswindows_protect_modal_loop.
6784 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6786 * XEmacs 21.4.1 "Copyleft" is released.
6788 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6790 * input-method-motif.c (XIM_delete_frame): New callback.
6791 (XIM_init_frame): Register it.
6793 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6795 * XEmacs 21.4.0 "Solid Vapor" is released.
6797 2001-04-15 Ben Wing <ben@xemacs.org>
6799 * cmdloop.c (call_command_loop):
6800 Fix braino in bit-rotting code.
6802 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6804 * extents.c (Fset_extent_endpoints): Force creation of extent info
6805 in buffer_or_string.
6807 * extents.c (process_extents_for_insertion_mapper): Correctly
6808 check for open-open zero-length extents.
6810 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6812 * lisp.h: New typedefs Memory_count, Element_count.
6815 Sign-compare warning elimination: several unsigned -> signed.
6816 Based on work by Ben Wing <ben@xemacs.org>.
6818 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6820 * XEmacs 21.2.47 "Zephir" is released.
6822 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6824 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6826 2001-04-03 Mike Sperber <mike@xemacs.org>
6828 * search.c: Revert previous patch due because of release.
6830 2001-03-30 Ben Wing <ben@xemacs.org>
6833 Add missing killpg prototype.
6836 Add a comment about fixing problems when a new entry is added
6839 * frame-msw.c (mswindows_init_frame_1):
6840 Fix compile warnings.
6842 * menubar.c (vars_of_menubar):
6843 Provide `menu-accelerator-support' to indicate that we properly
6844 support %_ in menu specifications, so that package code can
6845 conditionalize on this (and remove %_ from menu specifications
6850 * scrollbar-msw.c (can_scroll):
6852 Fix handling of mouse wheel under Windows to follow standards --
6853 now scrolls window under pointer, not selected window.
6855 2001-03-31 Mike Sperber <mike@xemacs.org>
6857 * search.c (Freplace_match): Support FSF-style specification of
6858 match subexpression when applied to a buffer.
6860 2001-03-15 Martin Buchholz <martin@xemacs.org>
6862 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6863 function to modify KEYMAP, so map over a copy of the hash table.
6865 2001-03-21 Martin Buchholz <martin@xemacs.org>
6867 * XEmacs 21.2.46 "Urania" is released.
6869 2001-03-20 Dan Holmsand <dan@eyebee.com>
6871 * realpath.c (xrealpath): Make file-truename work with symlinks to
6872 /cygdrive paths on cygwin. Always lowercase drive-letters on
6874 (cygwin_readlink): Don't try to find canonical filename unless
6877 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6879 * ChangeLog: Log GTK merge.
6885 Revert gratuitous whitespace changes from GTK merge.
6887 * emacs.c: Document end of complex #ifdef @ l. 1495.
6890 2001-03-12 Andy Piper <andy@xemacs.org>
6892 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6893 have to do likewise.
6895 2001-03-12 Andy Piper <andy@xemacs.org>
6897 * sysdep.c: we only support mingw now.
6899 2001-03-09 Andy Piper <andy@xemacs.org>
6901 * unexcw.c (copy_executable_and_dump_data_section): making approx
6902 overrun a warning only.
6904 2001-03-10 William M. Perry <wmperry@aventail.com>
6906 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6907 satisfy Stephen's identical-after-cpp plea.
6909 2001-03-02 Ben Wing <ben@xemacs.org>
6912 * cmds.c (Fforward_char):
6916 Augment documentation of the most common motion commands to make
6917 note of the shifted-motion support.
6919 2001-03-02 Ben Wing <ben@xemacs.org>
6921 * nt.c (mswindows_fstat):
6922 * nt.c (mswindows_stat):
6923 * search.c (boyer_moore):
6924 Fix compile warnings under Windows.
6926 * sysdep.c (sys_readdir):
6927 Fix buggy filename-conversion code under Mule.
6929 2001-03-09 William M. Perry <wmperry@aventail.com>
6951 * redisplay-output.c:
6957 The Great GTK Merge.
6964 * emacs-widget-accessors.c:
6978 * native-gtk-toolbar.c:
6989 The Great GTK Merge: new files.
6991 2001-02-26 Ben Wing <ben@xemacs.org>
6993 Reapplied Lstream change.
6995 2001-02-26 Ben Wing <ben@xemacs.org>
6997 Undid the last change, since it is more controversial than I
6998 thought. It should be back in at some point soon.
7000 2001-02-25 Ben Wing <ben@xemacs.org>
7003 * callproc.c (Fold_call_process_internal):
7004 * event-msw.c (ntpipe_slurp_reader):
7005 * event-msw.c (ntpipe_shove_writer):
7006 * event-msw.c (winsock_reader):
7007 * event-msw.c (winsock_writer):
7009 * file-coding.c (detect_eol_type):
7010 * file-coding.c (detect_coding_type):
7011 * file-coding.c (determine_real_coding_system):
7012 * file-coding.c (Fdetect_coding_region):
7013 * file-coding.c (decoding_reader):
7014 * file-coding.c (decoding_writer):
7015 * file-coding.c (mule_decode):
7016 * file-coding.c (Fdecode_coding_region):
7017 * file-coding.c (encoding_reader):
7018 * file-coding.c (encoding_writer):
7019 * file-coding.c (mule_encode):
7020 * file-coding.c (Fencode_coding_region):
7021 * file-coding.c (detect_coding_sjis):
7022 * file-coding.c (decode_coding_sjis):
7023 * file-coding.c (encode_coding_sjis):
7024 * file-coding.c (detect_coding_big5):
7025 * file-coding.c (decode_coding_big5):
7026 * file-coding.c (encode_coding_big5):
7027 * file-coding.c (detect_coding_ucs4):
7028 * file-coding.c (decode_coding_ucs4):
7029 * file-coding.c (encode_coding_ucs4):
7030 * file-coding.c (detect_coding_utf8):
7031 * file-coding.c (decode_coding_utf8):
7032 * file-coding.c (encode_coding_utf8):
7033 * file-coding.c (detect_coding_iso2022):
7034 * file-coding.c (decode_coding_iso2022):
7035 * file-coding.c (encode_coding_iso2022):
7036 * file-coding.c (decode_coding_no_conversion):
7037 * file-coding.c (encode_coding_no_conversion):
7038 * glyphs-x.c (write_lisp_string_to_temp_file):
7039 * gpmevent.c (tty_get_foreign_selection):
7042 * lstream.c (Lstream_flush_out):
7043 * lstream.c (Lstream_adding):
7044 * lstream.c (Lstream_write_1):
7045 * lstream.c (Lstream_write):
7046 * lstream.c (Lstream_raw_read):
7047 * lstream.c (Lstream_read_more):
7048 * lstream.c (Lstream_read):
7049 * lstream.c (Lstream_unread):
7050 * lstream.c (Lstream_fputc):
7051 * lstream.c (stdio_reader):
7052 * lstream.c (stdio_writer):
7053 * lstream.c (filedesc_reader):
7054 * lstream.c (filedesc_writer):
7055 * lstream.c (lisp_string_reader):
7056 * lstream.c (struct fixed_buffer_stream):
7057 * lstream.c (make_fixed_buffer_input_stream):
7058 * lstream.c (make_fixed_buffer_output_stream):
7059 * lstream.c (fixed_buffer_reader):
7060 * lstream.c (fixed_buffer_writer):
7061 * lstream.c (struct resizing_buffer_stream):
7062 * lstream.c (resizing_buffer_writer):
7063 * lstream.c (dynarr_writer):
7064 * lstream.c (lisp_buffer_reader):
7065 * lstream.c (lisp_buffer_writer):
7067 * lstream.h (lstream_implementation):
7068 * lstream.h (struct lstream):
7070 * process-nt.c (nt_send_process):
7071 * process-unix.c (unix_send_process):
7073 Correct Lstream lossage due to mixing of signed and unsigned
7074 quantities. All Lstream uses of size_t and ssize_t are now a
7075 single signed data type Lstream_data_count. This fixes problems
7076 under Windows with sending large quantities of data to a process,
7077 and may well fix other subtle bugs.
7079 2001-02-23 Martin Buchholz <martin@xemacs.org>
7081 * XEmacs 21.2.45 "Thelxepeia" is released.
7083 2001-02-21 Martin Buchholz <martin@xemacs.org>
7085 * lisp-union.h (XSETINT):
7088 Reverse previous change of 2001-02-06.
7090 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7092 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7094 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7095 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7096 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7097 * regex.c (POS_AS_IN_BUFFER): removed
7098 * regex.c (re_search_2):
7099 * regex.c (re_match_2):
7100 Don't use an offset of 1 when calculating buffer positions, since
7101 `BI_BUF_BEGV' does it already.
7103 2001-02-18 Wim Dumon <wim@easics.be>
7105 * insdel.c (prepare_to_modify_buffer): Also check for
7106 supersession when clash-detection is enabled.
7108 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7110 * regex.c (re_match_2_internal):
7111 Convert temp characters from 'const unsigned char' to 're_char'.
7112 Fix crashing bug with extended characters under mule.
7113 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7114 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7115 font-lock, pdump, and new syntax-table code.
7116 * syntax.c (find_start_of_comment):
7117 (find_end_of_comment):
7119 Fix crashing bugs involving moving beyond end of buffer.
7120 * syntax.c (find_start_of_comment):
7121 Fixed logic to allow proper detection of cases where the same
7122 character is used to end both a two-char comment start and a
7123 two-char comment end sequence. Fixes `(forward-comment -1)'.
7124 * syntax.c (find_start_of_comment):
7125 Return position just past last comment-end character for all cases
7126 (previously was only done for two-char comment-end sequences).
7127 * syntax.c (forward-comment):
7128 Take value returned from `find_end_of_comment', rather than
7130 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7131 Properly deal with BUFFERP (syntax_cache.object)
7133 2001-02-17 Martin Buchholz <martin@xemacs.org>
7135 * alloc.c (Fgarbage_collect):
7136 * alloc.c (make_bit_vector_from_byte_vector):
7137 -Wsign-compare-correctness.
7139 2001-02-16 Martin Buchholz <martin@xemacs.org>
7141 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7142 (XSETCHAR): Likewise.
7143 (XSETOBJ): Likewise.
7145 2001-02-15 Martin Buchholz <martin@xemacs.org>
7147 * mule-canna.c (canna-func-delete_previous):
7148 Rename to canna-func-delete-previous.
7150 2001-02-14 Martin Buchholz <martin@xemacs.org>
7152 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7154 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7156 * font-lock.c (find_context): Fix C++ compile errors introduced by
7159 2001-02-13 Martin Buchholz <martin@xemacs.org>
7161 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7162 pragma, but earlier ones barf on the same pragma.
7164 2001-02-06 Mike Sperber <mike@xemacs.org>
7166 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7167 `configure-mule-lisp-directory'.
7169 2001-02-12 Martin Buchholz <martin@xemacs.org>
7171 Make sure dump-id.c is compiled in the same way as other .c's.
7172 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7173 * dump-id.h: Remove.
7174 * emacs.c: Move dump-id.h into dumper.h.
7175 * dumper.h: Move dump-id.h into dumper.h.
7177 Use standard .c.o rule for building dump-id.o.
7178 Remove preprocessor flags from link command.
7179 Add dump-id.o to ${otherobjs} if PDUMP.
7181 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7183 Port FSF 20.7 syntax table improvements.
7187 Fixups for new syntax table stuff.
7188 * dired.c: Include syntax.c.
7189 (Fdirectory_files): Initialize regex_match_object and
7191 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7192 and Fget_char_property.
7194 Use ported FSF 20.7 syntax table improvements.
7199 2001-02-09 Martin Buchholz <martin@xemacs.org>
7201 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7202 Unixware's enum boolean from sys/types.h.
7204 2001-02-10 Martin Buchholz <martin@xemacs.org>
7206 Fix support for building with latest Purify.
7207 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7208 (PURIFY_FLAGS): Likewise.
7210 2001-02-09 Martin Buchholz <martin@xemacs.org>
7212 * fileio.c (lisp_string_set_file_times): New.
7213 * fileio.c (Fcopy_file): Use it.
7215 (copy-file filename non-ascii-filename t t)
7216 ==> No such file or directory, non-ascii-filename
7218 2001-02-10 Martin Buchholz <martin@xemacs.org>
7220 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7221 USHRT_MAX seems clearer than ~0 anyways.
7223 2001-02-09 Martin Buchholz <martin@xemacs.org>
7225 dumper improvements. Inspired by Olivier.
7226 * dumper.c (pdump_max_align): New.
7227 * dumper.c (pdump_add_entry): Use pdump_max_align.
7228 * dumper.c (pdump_get_entry_list): Likewise.
7229 * dumper.c (pdump_scan_by_alignment): Likewise.
7230 Don't iterate through unnecessary alignments.
7231 * dumper.c (pdump_file_get): No need to align result of malloc().
7232 * dumper.c (pdump_mallocadr): Remove.
7233 The result of malloc() is guaranteed to be maximally aligned.
7234 * dumper.c: s/elmt/elt/g;
7235 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7236 * dumper.c (pdump_alert_undump_object): Likewise.
7237 * dumper.c (pdump_align_table):
7238 Don't support alignments > 64.
7239 Store ALIGNOF's, not shift counts, in table.
7241 2001-02-09 Martin Buchholz <martin@xemacs.org>
7243 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7244 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7245 * systime.h: Use HAVE_UTIME.
7246 * sysdep.c (struct utimbuf): Remove.
7247 * sysdep.c (set_file_times): Prefer utime() to utimes().
7248 * config.h.in (HAVE_UTIME): New.
7249 * config.h.in (HAVE_UTIME_H): Remove.
7250 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7252 2001-02-09 Martin Buchholz <martin@xemacs.org>
7254 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7256 2001-02-08 Martin Buchholz <martin@xemacs.org>
7258 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7260 2001-02-08 Martin Buchholz <martin@xemacs.org>
7262 * XEmacs 21.2.44 "Thalia" is released.
7264 2001-02-06 Martin Buchholz <martin@xemacs.org>
7266 Fixes crashes in kill-emacs on some systems.
7267 * process-unix.c (unix_kill_child_process):
7268 It's OK for kill() to fail with ESRCH.
7270 2001-02-07 Martin Buchholz <martin@xemacs.org>
7272 Contortions to make .gdbinit tricks work on most systems.
7273 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7274 * alloc.c (dbg_valmask): Make non-const.
7275 * alloc.c (dbg_typemask): Make non-const.
7276 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7277 * alloc.c (dbg_valbits): Make non-const.
7278 * alloc.c (dbg_gctypebits): Make non-const.
7279 * .gdbinit (decode_object): Make it work with AIX cc.
7281 2001-02-06 Martin Buchholz <martin@xemacs.org>
7283 * elhash.c (make_general_lisp_hash_table):
7284 Use simpler and more efficient calloc to clear entries.
7286 2001-02-07 Martin Buchholz <martin@xemacs.org>
7288 * window.c (window_scroll): Work around an AIX C compiler bug.
7289 Fixes 'scroll-up' does nothing problem with xlC.
7291 2001-02-05 Martin Buchholz <martin@xemacs.org>
7293 * .gdbinit: Remove obsolete comment.
7295 2001-01-31 Mike Alexander <mta@arbortext.com>
7297 * select.c (Fown_selection_internal): Set owned_p for device
7300 2001-02-01 Martin Buchholz <martin@xemacs.org>
7303 "not" cannot be used as a macro name as it is an operator in C++
7304 * config.h.in: Stop #defining `not'.
7305 * chartab.c (check_category_char): not ==> not_p
7306 * chartab.h: Likewise.
7307 * regex.c (re_match_2_internal): Likewise.
7309 2001-02-02 Martin Buchholz <martin@xemacs.org>
7311 * lisp-disunion.h: Fix up comments.
7313 2001-01-31 Martin Buchholz <martin@xemacs.org>
7315 * keymap.c (define_key_check_and_coerce_keysym):
7317 Support mouse-6 and mouse-7 bindings in the obvious way.
7319 2001-02-01 Martin Buchholz <martin@xemacs.org>
7321 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7323 2001-01-30 Martin Buchholz <martin@xemacs.org>
7325 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7326 Previous patch missed DEFVAR_INT_MAGIC.
7327 Make sure future DEFVAR_foo use correct types.
7328 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7329 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7330 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7331 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7332 * (DEFVAR_INT): Likewise.
7333 * redisplay.c (vertical_clip): Should be of type Fixnum.
7334 * redisplay.c (horizontal_clip): Likewise.
7335 * lisp.h (dump_add_opaque_int): New.
7336 (dump_add_opaque_fixnum): New.
7338 2001-01-29 Andy Piper <andy@xemacs.org>
7340 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7341 since they can be eval'ed
7343 2001-01-29 Martin Buchholz <martin@xemacs.org>
7345 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7346 Oops, XEmacs redefines `class'. Use `typename' instead.
7348 2001-01-28 Martin Buchholz <martin@xemacs.org>
7350 * dumper.c: Fix C++ compile errors.
7352 2001-01-29 Martin Buchholz <martin@xemacs.org>
7354 * tparam.c: Use correct prototypes.
7356 2001-01-28 Martin Buchholz <martin@xemacs.org>
7358 * sysproc.h: #include util.h for NetBSD's openpty.
7360 2001-01-27 Martin Buchholz <martin@xemacs.org>
7362 More 64-bit correctness.
7363 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7364 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7366 This finally finishes the 64-bit SGI port.
7367 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7368 * symbols.c: Fix up comments and type casts.
7369 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7370 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7371 * symeval.h (Fixnum): New type.
7372 * symeval.h (symbol_value_type): Fix up comment.
7388 * mule-canna.c: A million DEFVAR_INTs here...
7389 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7402 s/int/Fixnum/g in DEFVAR_INT declarations.
7404 2001-01-26 Martin Buchholz <martin@xemacs.org>
7406 Port pdump to SGI alignment-sensitive environment.
7407 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7408 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7410 Define and use aligned reading and writing macros.
7411 Use buffered stdio instead of posix i/o for faster dumping.
7412 Eliminate kludgy 256 byte space for header.
7413 Read and write from dump file using structs for alignment safety.
7414 * dumper.c (pdump_align_stream): New.
7415 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7416 * dumper.c (PDUMP_READ_ALIGNED): New.
7417 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7418 * dumper.c (pdump_static_Lisp_Object): New struct.
7419 * dumper.c (pdump_static_pointer): New struct.
7420 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7421 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7422 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7423 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7425 * dumper.c (pdump_backtrace):
7426 * dumper.c (pdump_get_indirect_count):
7427 * dumper.c (pdump_register_object):
7428 * dumper.c (pdump_register_struct):
7429 * dumper.c (pdump_reloc_one):
7430 * dumper.c (pdump_scan_by_alignment):
7431 * dumper.c (pdump_dump_from_root_struct_ptrs):
7432 * dumper.c (pdump_dump_opaques):
7433 * dumper.c (pdump_dump_rtables):
7434 * dumper.c (pdump_dump_from_root_objects):
7436 * dumper.c (pdump_load_finish):
7437 Use aligned reading and writing.
7439 * dumper.c (pdump_free): Make static.
7440 * dumper.c (pdump_hFile): Likewise.
7441 * dumper.c (pdump_hMap): Likewise.
7443 2001-01-26 Martin Buchholz <martin@xemacs.org>
7445 * XEmacs 21.2.43 "Terspichore" is released.
7447 2001-01-25 Martin Buchholz <martin@xemacs.org>
7449 Type fiddling for window_config.saved_windows_count
7450 * window.c (struct window_config):
7451 Make saved_windows_count member unsigned.
7452 * window.c (sizeof_window_config_for_n_windows):
7453 Make parameter unsigned.
7454 * window.c (mark_window_config):
7455 * window.c (window_config_equal):
7456 * window.c (free_window_configuration):
7457 * window.c (Fset_window_configuration):
7458 * window.c (count_windows):
7459 * window.c (Fcurrent_window_configuration):
7460 * window.c (reinit_vars_of_window):
7461 Update all callers and users.
7463 2001-01-25 Martin Buchholz <martin@xemacs.org>
7465 Alignment correctness for flexible arrays.
7466 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7467 Make alignment-correct. Add interesting comments.
7468 * alloc.c (size_vector):
7469 * alloc.c (make_vector_internal):
7470 * alloc.c (make_bit_vector_internal):
7471 * alloc.c (sweep_bit_vectors_1):
7472 * fns.c (size_bit_vector):
7473 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7474 * window.c (sizeof_window_config_for_n_windows):
7475 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7477 2001-01-24 Martin Buchholz <martin@xemacs.org>
7479 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7481 2001-01-23 Andy Piper <andy@xemacs.org>
7483 * select.c (Fown_selection_internal): pass owned_p
7485 * select-msw.c (mswindows_own_selection): New Signature.
7487 * console.h (struct console_methods): add owned_p to
7490 * select-x.c (x_own_selection): pass owned_p
7491 (hack_motif_clipboard_selection): use owned_p
7492 (vars_of_select_x): new variable -
7493 x_selection_strict_motif_ownership.
7495 2001-01-23 Martin Buchholz <martin@xemacs.org>
7497 * specifier.h (specifier_data_offset): Remove pointless parens.
7498 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7500 2001-01-24 Martin Buchholz <martin@xemacs.org>
7502 Make Lisp_Object sizeof methods be alignment-correct.
7503 pdump must restore objects to the same alignment as the C compiler
7504 assumes. It really matters on SGIs.
7505 * lstream.c (aligned_sizeof_lstream): New.
7506 (sizeof_lstream): Use aligned_sizeof_lstream.
7507 (Lstream_new): Likewise.
7508 * opaque.c (aligned_sizeof_opaque): New.
7509 (sizeof_opaque): Use aligned_sizeof_opaque.
7510 (make_opaque): Likewise.
7511 * specifier.c (aligned_sizeof_specifier): New.
7512 (sizeof_specifier): Use aligned_sizeof_specifier.
7513 (make_specifier_internal): Likewise.
7515 2001-01-23 Martin Buchholz <martin@xemacs.org>
7517 * lstream.h (struct lstream): Use max_align_t for trailing data.
7518 * specifier.h (struct Lisp_Specifier): Likewise.
7520 2001-01-22 Martin Buchholz <martin@xemacs.org>
7522 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7523 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7524 (CCL_SUSPEND): Likewise.
7525 (CCL_INVALID_CMD): Likewise.
7526 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7527 (ccl_driver): Likewise.
7528 (CCL_WRITE_CHAR): Macro hygiene.
7529 (CCL_WRITE_STRING): Macro hygiene.
7531 2001-01-22 Martin Buchholz <martin@xemacs.org>
7533 Port "portable" dumper to SunOS 4 and HP-UX.
7534 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7535 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7536 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7538 2001-01-22 Martin Buchholz <martin@xemacs.org>
7540 * lisp.h (ALIGNOF): A better definition for C++.
7542 2001-01-20 Martin Buchholz <martin@xemacs.org>
7545 Fix printf warnings: int format, long int arg.
7546 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7547 (PUSH_FAILURE_POINT): Use correct printf formats.
7548 (POP_FAILURE_POINT): Use correct printf formats.
7549 Use do {...} while (0)
7551 2001-01-20 Martin Buchholz <martin@xemacs.org>
7553 * XEmacs 21.2.42 "Poseidon" is released.
7555 2001-01-20 Martin Buchholz <martin@xemacs.org>
7557 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7559 2001-01-19 Martin Buchholz <martin@xemacs.org>
7561 De-kludgify FIXED_TYPE free list frobbing.
7562 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7563 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7564 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7565 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7566 * alloc.c (LRECORD_FREE_P): New.
7567 * alloc.c (MARK_LRECORD_AS_FREE): New.
7568 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7569 * alloc.c (STRUCT_FREE_P): Deleted.
7570 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7571 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7572 * alloc.c (STRING_CHARS_FREE_P): New.
7573 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7574 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7575 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7576 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7577 * alloc.c (resize_string): Use new definitions.
7578 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7579 * alloc.c (verify_string_chars_integrity): Use new definitions.
7580 * alloc.c (compact_string_chars): Use new definitions.
7581 * alloc.c: Update monster comments.
7582 * lrecord.h (lrecord_type): Add some new lrecord types for
7585 2001-01-18 Martin Buchholz <martin@xemacs.org>
7587 Improve alignment hackery.
7588 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7589 (max_align_t): Moved from opaque.h - general purpose.
7590 (ALIGN_PTR): Use size_t, not long.
7591 * opaque.h (max_align_t): Move to lisp.h.
7593 2001-01-18 Norbert Koch <nk@LF.net>
7595 * gui.h: Fix and add prototypes to fix build problems.
7597 2001-01-18 Martin Buchholz <martin@xemacs.org>
7599 temacs is going away, so `dump-temacs' is now a bad name.
7600 * .dbxrc (dump-temacs): Rename to `dmp'.
7601 * .gdbinit (dump-temacs): Rename to `dmp'.
7603 2001-01-17 Andy Piper <andy@xemacs.org>
7605 * glyphs.c (print_image_instance): comment to make martin happy.
7607 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7610 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7612 (mswindows_tab_control_redisplay): warning suppression.
7614 * glyphs-widget.c (widget_update): re-write to cope with updated
7616 (widget_instantiate): use new gui_item functions.
7617 (tab_control_update): deleted.
7618 (progress_gauge_update): deleted.
7619 (image_instantiator_progress_guage): take out update reference.
7620 (image_instantiator_tree_view): ditto.
7621 (image_instantiator_tab_control): ditto.
7623 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7625 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7626 return whether anything was changed.
7627 (update_gui_item_keywords): as it sounds.
7629 * gui.h: declare widget_gui_parse_item_keywords.
7631 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7632 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7634 2001-01-17 Martin Buchholz <martin@xemacs.org>
7636 * XEmacs 21.2.41 "Polyhymnia" is released.
7638 2001-01-16 Didier Verna <didier@xemacs.org>
7640 * glyphs.c (image_instantiate): don't use fallbacks when
7641 instantiating a face's background pixmap by inheritance.
7643 2001-01-14 Mike Sperber <mike@xemacs.org>
7645 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7646 Conditionalize accordingly.
7648 2001-01-16 Martin Buchholz <martin@xemacs.org>
7650 * dumper.c (pdump_file_get): Fix a compiler warning.
7652 2001-01-15 Martin Buchholz <martin@xemacs.org>
7654 Make Purify happy when pdumping.
7655 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7656 iniitalizing all bits of new lisp object memory.
7657 * symbols.c (Fmake_local_variable): Likewise.
7658 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7659 * symbols.c (Fdefvaralias): Likewise.
7660 * mule-charset.c (vars_of_mule_charset): Likewise.
7662 2001-01-15 Martin Buchholz <martin@xemacs.org>
7663 Add the `-nd' flag when running pre-dump operations under the debugger.
7664 * .dbxrc (run-temacs): Add `-nd'.
7665 * .dbxrc (update-elc): Likewise.
7666 * .dbxrc (dump-temacs): Likewise.
7667 * .gdbinit (run-temacs): Likewise.
7668 * .gdbinit (check-temacs): Likewise.
7669 * .gdbinit (update-elc): Likewise.
7670 * .gdbinit (dump-temacs): Likewise.
7672 2001-01-14 Martin Buchholz <martin@xemacs.org>
7674 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7675 export OBJECT_MODE=64
7676 configure --pdump --use-union-type=no
7677 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7678 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7680 * miscplay.c (sndcnv8U_2mono):
7681 Avoid two uses of `++' in the same expression.
7682 Suppresses a GCC warning.
7684 2001-01-13 Martin Buchholz <martin@xemacs.org>
7686 Make sure future compilers don't miscompile alloc.c.
7688 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7689 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7691 2001-01-12 Martin Buchholz <martin@xemacs.org>
7693 * dumper.c: A little post-pdump-rename comment fixup.
7695 2001-01-09 Jerry James <james@eecs.ku.edu>
7697 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7699 2001-01-13 Martin Buchholz <martin@xemacs.org>
7701 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7705 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7708 replace_symbol pdump_wire_lists pdump_weak_object_chains
7709 replace_symbol pdump_wire_list dump_add_weak_object_chain
7711 replace_symbol pdump_wires pdump_root_objects
7712 replace_symbol pdump_wire dump_add_root_object
7714 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7715 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7717 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7718 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7719 replace_symbol dumpstructinfo pdump_root_struct_ptr
7720 replace_symbol dumpstruct dump_add_root_struct_ptr
7722 replace_symbol dumpopaque dump_add_opaque
7723 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7724 replace_symbol dumpopaqueinfos pdump_opaques
7725 replace_symbol dumpopaqueinfo pdump_opaque
7727 replace_symbol nb_structdump nb_root_struct_ptrs
7728 replace_symbol nb_opaquedump nb_opaques
7730 replace_symbol align_table pdump_align_table
7731 replace_symbol dump_header pdump_header
7733 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7734 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7737 2001-01-12 Martin Buchholz <martin@xemacs.org>
7739 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7740 optimizing bytecount_to_charcount().
7742 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7745 (HAVE_DLFCN_H): Removed.
7746 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7748 2001-01-06 Martin Buchholz <martin@xemacs.org>
7750 Portable dumper maintainability improvements.
7751 * alloc.c (staticpro):
7752 * alloc.c (staticpro_nodump):
7753 * alloc.c (garbage_collect_1):
7754 * alloc.c (reinit_alloc_once_early):
7755 * alloc.c (init_alloc_once_early):
7756 * alloc.c: Move dumper functions to alloc.c.
7757 * dumper.c (pdump_backtrace):
7758 * dumper.c (pdump_dump_structs):
7759 * dumper.c (pdump_dump_opaques):
7760 * dumper.c (pdump_dump_rtables):
7761 * dumper.c (pdump_dump_wired):
7763 * dumper.c (pdump_load_check):
7764 * dumper.c (pdump_load_finish):
7765 * dumper.c (pdump_file_unmap):
7766 * dumper.c (pdump_file_get):
7767 * dumper.c (pdump_resource_free):
7768 * dumper.c (pdump_resource_get):
7769 * dumper.c (pdump_file_free):
7770 * dumper.c (pdump_file_try):
7771 * dumper.c (pdump_load):
7772 Remove fixed size limits on staticpro(), staticpro_nodump(),
7773 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7774 Remove custom code for dumping lrecord_implementations_table - use
7776 Remove (most of the) custom code for dumping staticpros - dump it
7777 like any other dynarr.
7779 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7780 * dumper.c: Moved functions from alloc.c.
7781 * alloc.c (dumpstruct): Moved to dumper.c.
7782 * alloc.c (dumpopaque): Likewise.
7783 * alloc.c (pdump_wire): Likewise.
7784 * alloc.c (pdump_wire_list): Likewise.
7786 * lisp.h (Dynarr_sizeof): New.
7787 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7788 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7789 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7791 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7792 * lisp.h (dumpopaque): ditto.
7793 * lisp.h (pdump_wire): ditto.
7794 * lisp.h (pdump_wire_list): ditto.
7796 2001-01-09 Martin Buchholz <martin@xemacs.org>
7798 * make-src-depend (PrintPatternDeps):
7799 Use `sort' to make output independent of perl version.
7801 2001-01-08 Martin Buchholz <martin@xemacs.org>
7804 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7805 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7807 2001-01-03 Didier Verna <didier@xemacs.org>
7809 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7810 that `focus_frame' is alive before thinking of calling
7811 `redisplay_redraw_cursor' on it.
7813 2001-01-08 Martin Buchholz <martin@xemacs.org>
7815 * XEmacs 21.2.40 is released.
7817 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7819 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7821 2001-01-06 Martin Buchholz <martin@xemacs.org>
7823 * alloc.c (dbg_valmask): Make const.
7824 * alloc.c (dbg_typemask): Make const.
7825 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7826 * alloc.c (dbg_valbits): Make const.
7827 * alloc.c (dbg_gctypebits): Make const.
7829 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7831 * redisplay-x.c (x_bevel_area):
7832 redisplay.h (struct rune):
7833 Typo fixes in comments.
7835 2001-01-05 Andy Piper <andy@xemacs.org>
7837 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7840 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7842 2001-01-05 Martin Buchholz <martin@xemacs.org>
7844 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7846 * mule-ccl.c (stack_idx_of_map_multiple):
7847 Non const global data must not be initialized!
7848 Found by MIYASHITA Hisashi.
7850 2001-01-02 Andy Piper <andy@xemacs.org>
7852 * frame.c (change_frame_size): make sure frame size is always
7855 * glyphs.c (image_instance_layout): minor code reuse.
7857 * window.c (Fcurrent_window_configuration): revert previous
7860 2001-01-02 Martin Buchholz <martin@xemacs.org>
7863 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7865 2000-12-31 Andy Piper <andy@xemacs.org>
7867 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7868 when widget gets unmapped.
7870 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7871 function. Make sure widgets losing focus don't just drop it.
7872 (handle_focus_event_1): record the widget with focus.
7874 2000-12-31 Andy Piper <andy@xemacs.org>
7876 * window.c (allocate_window): use
7877 make_image_instance_cache_hash_table.
7878 (make_dummy_parent): ditto.
7879 (Fset_window_configuration): ditto.
7881 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7883 * glyphs.c (process_image_string_instantiator): use
7885 (get_image_instantiator_governing_domain): ditto.
7886 (normalize_image_instantiator): ditto.
7887 (instantiate_image_instantiator): ditto.
7888 (make_image_instance_1): ditto.
7889 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7890 (instantiator_eq_equal): new function for use with instance hash
7892 (instantiator_eq_hash): ditto.
7893 (make_image_instance_cache_hash_table): create a suitable hash
7894 table for storing image instances.
7896 * elhash.h (hash_table_weakness): new internal weakness type
7897 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7898 declare new functions.
7900 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7901 another weakness type for glyphs.
7902 (make_standard_lisp_hash_table): new function split out from
7903 make_general_lisp_hash_table.
7904 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7905 (hash_table_instantiate): ditto.
7906 (Fmake_hash_table): ditto.
7908 2000-12-31 Martin Buchholz <martin@xemacs.org>
7910 * XEmacs 21.2.39 is released.
7912 2000-12-29 Andy Piper <andy@xemacs.org>
7914 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7916 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7917 the frame has changed so that we pick up geometry changes such as
7920 2000-12-28 Andy Piper <andy@xemacs.org>
7922 * lastfile.c (my_ebss): make a char array so we can pad the
7923 bss. Fixes cygwin unexec.
7925 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7927 2000-12-26 Andy Piper <andy@xemacs.org>
7929 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7930 comments and try and be more precise about a non-/SIGIO world.
7931 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7934 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
7935 we don't normalize to zero width or height.
7937 2000-12-24 Andy Piper <andy@xemacs.org>
7939 * Makefile.in.in (ldflags): add -mwindows when appropriate.
7941 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
7943 * s/sco5.h: SCO 5 has pty support.
7945 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
7947 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
7948 input-method-xlib.c contains whole contents of input-method-xfs.c,
7949 so we can use input-method-xlib.c's code for USE_XFONTSET
7951 * input-method-xfs.c: removed.
7953 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
7955 * file-coding.h (enum coding_category_type): reorder enumerators to
7956 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
7957 (now one greater than largest real coding_category_type enumerator).
7958 * file-coding.c (coding_category_symbol, coding_category_by_priority,
7959 coding_category_system, fcd_descriptihon_1, decode_coding_category,
7960 Fcoding_category_list, Fset_coding_priority_list,
7961 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
7962 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
7964 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7966 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
7967 * redisplay-output.c (redisplay_output_window): Clear top of window
7968 when face is changed.
7969 * redisplay-x.c (x_redraw_exposed_window): Call
7970 redisplay_clear_top_of_window.
7971 * redisplay.h: Publish redisplay_clear_top_of_window.
7973 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
7975 * buffer.c (Fkill_buffer): Map over all devices.
7976 * window.c (window_loop): Remove UNSHOW_BUFFER code.
7977 (list_windows): New function.
7978 (list_all_windows): Ditto.
7979 (Freplace_buffer_in_windows): Use them.
7981 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
7983 * database.c (berkdb_subtype): Recognize new subtype `queue'.
7984 (Fopen_database): Use `db_create' instead of `db_open'.
7985 (syms_of_database): Initialize Qqueue.
7987 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
7989 * buffer.c (common_init_complex_vars_of_buffer): Initialize
7990 buffer_local_face_property.
7991 * buffer.h (struct buffer): New member buffer_local_face_property.
7992 * window.c (Fset_window_buffer): Mark window's face as changed
7993 when buffer has buffer local face.
7994 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
7995 * objects.c (color_after_change): Set buffer_local_face_property
7996 when locale of face specifier is buffer.
7997 * objects.c (font_after_change): Ditto.
7998 * objects.c (face_boolean_after_change): Ditto.
7999 * glyphs.c (image_after_change): Ditto.
8001 2000-12-09 Dan Holmsand <dan@eyebee.com>
8003 * nt.c (mswindows_fstat): Report file permissions, volume serial
8004 number, etc. Code adapted from FSF Emacs 20.7.
8006 2000-12-09 Dan Holmsand <dan@eyebee.com>
8008 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8009 of stat when we don't have symbolic links, to make sure
8010 mswindows_stat is called on mswindows.
8012 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8014 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8016 2000-12-12 Martin Buchholz <martin@xemacs.org>
8018 * doprnt.c (emacs_doprnt_1): More printing fixes.
8019 Make printing of numbers compatible with libc and FSF Emacs.
8020 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8021 Use the system printf to do most of the hard work of formatting,
8022 instead of doprnt_1().
8023 Calculate memory to allocate for format string.
8024 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8025 (doprnt_1): Cleaner code and documentation.
8027 2000-12-01 Jerry James <james@eecs.ukans.edu>
8029 * Makefile.in.in: Use the loop variable to install headers.
8031 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8033 * window.c (Fsplit_window): Don't invalidate face cache.
8035 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8037 * minibuf.c (Fall_completions): Undo the previous change
8038 which removed checking elements start with space.
8040 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8042 * mule-canna.c: Didier suppression.
8044 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8046 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8047 (warning suppression). Add English comment translations.
8049 2000-12-05 Martin Buchholz <martin@xemacs.org>
8051 * unexelfsgi.c (unexec): Better test for mmap failure.
8053 2000-12-05 Martin Buchholz <martin@xemacs.org>
8055 * XEmacs 21.2.38 is released.
8057 2000-12-05 Martin Buchholz <martin@xemacs.org>
8059 * redisplay.c (bar-cursor): Make a user variable.
8061 * symsinit.h: Add init_postgresql_from_environment.
8063 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8065 * regex.c: Convert to clean C.
8067 2000-12-05 Dan Holmsand <dan@eyebee.com>
8070 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8072 (sys_readlink): renamed to system_readlink to avoid conflict with
8073 the other sys_readlink.
8075 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8077 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8079 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8081 * postgresql.c (init_postgresql_from_environment): new function.
8082 (vars_of_postgresql): Move code initializing Lisp variables out and
8083 into init_postgresql_from_environment.
8084 emacs.c (main_1): Call init_postgresql_from_environment if and only
8085 if running a dumped XEmacs.
8087 2000-08-31 Dan Holmsand <dan@eyebee.com>
8089 * buffer.c: Make find-file-compare-truenames default to true on
8092 * realpath.c (win32_abs_start):
8094 (win32_readlink): New functions.
8095 (xrealpath): Return really real filenames on windows.
8097 * fileio.c (Ffile_truename): Make file-truename work on windows.
8099 2000-11-29 Didier Verna <didier@xemacs.org>
8101 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8102 * faces.c (update_face_cachel_data): use it.
8103 * faces.c (add_face_cachel): use it. Complete background pixmap
8104 frobbing in face cache if `update_face_cachel_data' has not done so.
8106 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8108 * search.c (string_match_1): Don't set last_thing_searched
8111 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8113 * buffer.c: Include casetab.h
8114 (common_init_complex_vars_of_buffer): Use new case-table object.
8115 * buffer.h: Include casetab.h
8116 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8117 (DOWNCASE_TABLE_OF): Ditto.
8118 * bufslots.h: Remove char-tables and add case-table.
8119 * casetab.c: Include casetab.h
8120 (CASE_TABLE_P): Removed.
8121 (mark_case_table): New function.
8122 (allocate_case_table): New function.
8123 (Fcase_table_p): Use new case-table.
8124 (case_table_char): New function.
8125 (Fget_case_table): Ditto.
8126 (Fput_case_table): Ditto.
8127 (Fput_case_table_pair): Ditto.
8128 (Fcopy_case_table): Ditto.
8129 (Fcurrent_case_table): Return case-table.
8130 (Fstandard_case_table): Return case-table.
8131 (Fset_case_table): Fix doc-string.
8132 (set_case_table): Use case-table
8133 (syms_of_casetab): DEFSUBR new functions.
8134 (complex_vars_of_casetab): Set up standard case-table.
8135 * casetab.h: New file.
8136 * editfns.c: Include casetab.h
8137 (Fcompare_buffer_substrings): Use case-table.
8138 * inline.c: Include casetab.h
8139 * lisp.h: Remove bogus extern.
8140 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8141 * search.c: Include casetab.h
8142 (TRANSLATE_ASCII): Removed.
8143 (TRANSLATE): Unconditionally translate character.
8144 (looking_at_1): Use case-table.
8145 (string_match_1): Ditto.
8146 (fast_string_match): Ditto.
8147 (search_command): Ditto.
8148 (search_buffer): Separate boyer_moore. Check whether
8149 boyer_moore is possible.
8150 (simple_search): New function.
8151 (boyer_moore): Separated from search_buffer. Translate char.
8153 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8155 * regex.c (RE_TR_ASCII): Removed.
8156 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8157 (PATFETCH): Call PATFETCH_RAW.
8158 (PATFETCH_RAW): Fetch Emchar.
8159 (PATUNFETCH): Decrement charptr.
8160 (GET_BUFFER_SPACE): Rename b to buf_end.
8162 (BUF_PUSH_2): Ditto.
8163 (BUF_PUSH_3): Ditto.
8164 (EXTEND_BUFFER): Ditto.
8165 (SET_LIST_BIT): Ditto.
8166 (regex_compile): Ditto. Translate non ASCII char.
8167 (compile_range): Ditto.
8168 (re_search_2): Ditto.
8169 (re_match_2_internal): Compare Emchar.
8170 (bcmp_translate): Ditto.
8172 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8174 * lisp.h (basic char/int typedefs): comment improvement.
8176 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8178 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8179 unstomp inhibit_site_lisp. Improve comments.
8181 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8183 * mule-charset.c (Fcharset_property): improve type checking, comments.
8185 2000-11-28 Andy Piper <andy@xemacs.org>
8187 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8188 clipped display for windows in the gutter also.
8189 (redisplay_display_boxes_in_window_p): change semantics of return
8190 codes to be more intuitive.
8192 * gutter.h: declare display_boxes_in_gutter_p.
8194 * gutter.c (display_boxes_in_gutter_p): new function for
8197 2000-11-22 Andy Piper <andy@xemacs.org>
8199 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8202 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8204 * callproc.c (Fold_call_process_internal):
8205 * gpm.c (Freceive_gpm_event):
8206 (tty_get_foreign_selection): Might be just warning supression.
8207 * fileio.c (Fwrite_region_internal):
8208 (Fset_visited_file_modtime):
8209 * keymap.c (event_matches_key_specifier_p):
8210 Initialize GCPROed variable.
8212 * menubar-x.c (command_builder_find_menu_accelerator):
8213 Initialize before use.
8215 2000-11-23 Andy Piper <andy@xemacs.org>
8217 * unexcw.c (unexec): make the resulting executable executable.
8219 2000-11-21 Martin Buchholz <martin@xemacs.org>
8221 * doc.c (get_doc_string):
8222 Use size_t, not int, for result of XSTRING_LENGTH.
8224 * cmds.c (Fdelete_char):
8225 * cmds.c (Fpoint_at_eol):
8226 * cmds.c (Fself_insert_command):
8227 Use EMACS_INT, not int, for result of XINT.
8228 Someday, someone will want to insert more than 2**31 identical characters.
8230 * cmds.c (Fdelete_char):
8231 * cmds.c (Fdelete_backward_char):
8232 * syntax.c (Fforward_word):
8233 * syntax.c (Fforward_comment):
8234 Make COUNT argument optional, for consistency with forward-char et al.
8236 2000-11-22 Martin Buchholz <martin@xemacs.org>
8239 * print.c (long_to_string):
8240 Return a useful value: the pointer at end of data written.
8243 Use `static const char * const' for constant strings.
8244 (union printf_arg): Delete `i', `ui' members.
8247 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8248 Do all printf-ing via the `l' specifier.
8249 Use EMACS_INT instead of int.
8252 2000-11-20 Didier Verna <didier@xemacs.org>
8254 * faces.c (update_face_cachel_data): don't frob the background
8255 pixmap when the window is being created. The face is needed but
8258 2000-11-20 Andy Piper <andy@xemacs.org>
8260 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8261 messing with a debug environment.
8263 2000-11-20 Martin Buchholz <martin@xemacs.org>
8265 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8267 2000-11-20 Martin Buchholz <martin@xemacs.org>
8269 * casetab.c (Fcase_table_p): Fix compile error and crash.
8271 2000-11-18 Philip Aston <philipa@mail.com>
8273 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8275 2000-11-18 Martin Buchholz <martin@xemacs.org>
8277 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8278 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8280 2000-11-17 Martin Buchholz <martin@xemacs.org>
8282 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8283 * unexelf.c: Use HAVE_ELF_H.
8284 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8285 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8286 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8287 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8289 So this is an unexelfsgi.c from a different line of development.
8291 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8293 * regex.c (RE_TR_ASCII): New function.
8294 (RE_TRANSLATE): Call it.
8296 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8298 * buffer.h (TRT_TABLE_OF): Remove assert.
8299 (IN_TRT_TABLE_DOMAIN): Removed.
8301 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8303 * free-hook.c (log_gcpro):
8304 (show_gcprohist): Add support for GCPRO5.
8306 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8308 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8310 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8312 * symeval.h: Declare flush_all_buffer_local_cache.
8314 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8315 (flush_buffer_local_cache): Added.
8316 (flush_all_buffer_local_cache): Added.
8318 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8320 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8321 (pdump_dump_data): Ditto.
8322 (pdump_reloc_one): Ditto.
8323 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8327 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8329 * buffer.c: Remove if 0'ed entry.
8330 * buffer.h: Rewrite TRT to use char-table.
8331 * bufslots.h: Remove mirror tables.
8332 * casetab.c: Remove mirror tables.
8333 (CASE_TABLE_P): New macro.
8334 (Fcase_table_p): Element of a case table is string or char-table.
8335 (make_mirror_trt_table): Removed.
8336 (set_case_table): Setup char-table from strings for backward
8338 * dired.c (Fdirectory_files):
8339 * dired-msw.c: (mswindows_get_files):
8340 * lisp.h: Change prototype of re_pattern_buffer.
8341 * regex.c: (RE_TRANSLATE): New macro.
8342 (TRANSLATE_P): Ditto.
8343 Change translate to type RE_TRANSLATE_TYPE.
8344 * regex.h: Define RE_TRANSLATE_TYPE
8345 * search.c (TRANSLATE): New macro.
8346 (TRANSLATE_ASCII): New macro.
8347 Translate table is changed to Lisp_Object.
8348 (signal_failure): Inhibit return.
8350 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8357 Do UNGCPRO before return.
8359 2000-11-14 Martin Buchholz <martin@xemacs.org>
8361 * XEmacs 21.2.37 is released.
8363 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8365 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8366 Add comments about discarded return value.
8368 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8371 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8373 2000-10-27 Andy Piper <andy@xemacs.org>
8375 * gutter.c (Fset_default_gutter_position): default left and right
8377 (calculate_gutter_size): calculate resonable heuristic for left
8378 and right gutter sizes.
8379 (specifier_vars_of_gutter): change left and right gutter sizes to
8381 (calculate_gutter_size_from_display_lines): new function.
8382 (output_gutter): check for resizing on left and right gutters.
8383 (clear_gutter): don't special case top and left gutters.
8384 (specifier_vars_of_gutter): use new signature for
8385 set_specifier_caching.
8387 * glyphs-x.c (x_redisplay_widget): spelling fix.
8388 * glyphs.c (specifier_vars_of_glyphs):
8389 * menubar.c (specifier_vars_of_menubar):
8390 * redisplay.c (specifier_vars_of_redisplay):
8391 * toolbar.c (specifier_vars_of_toolbar):
8392 * window.c (specifier_vars_of_window):
8393 * scrollbar.c (specifier_vars_of_scrollbar):
8394 (complex_vars_of_scrollbar): use new signature for
8395 set_specifier_caching.
8397 * specifier.c (set_specifier_caching): include recompute flag.
8398 (recompute_one_cached_specifier_in_window): always recompute if
8400 (recompute_one_cached_specifier_in_frame): ditto.
8402 * specifier.h (struct specifier_caching): add recompute flag.
8404 2000-10-24 Andy Piper <andy@xemacs.org>
8406 * unexcw.c (copy_executable_and_dump_data_section): add new
8407 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8410 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8412 * console-x.h (x_device): New member modifier_release_time.
8413 * event-Xt.c (x_handle_sticky_modifiers):
8414 Bound interval modifier keys are sticky.
8415 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8416 * events.h: extern it.
8418 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8420 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8422 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8424 * event-stream.c (execute_command_event): Preserve current_events
8425 and the like when event is misc-user-event.
8426 Inhibit quit during the call to maybe_echo_keys.
8428 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8430 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8431 symlink when buffer is killed.
8432 (inhibit_clash_detection): New variable.
8434 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8436 * console.c (Fset_input_method): Trigger redisplay on tty.
8438 2000-11-07 Martin Buchholz <martin@xemacs.org>
8440 * process.c (Fprocess_status): Revert to previous behavior:
8441 (process-status "nosuchprocess") ==> nil
8443 2000-11-06 Martin Buchholz <martin@xemacs.org>
8445 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8446 Work around another GCC 2.95.2 optimizer bug.
8448 2000-11-02 Martin Buchholz <martin@xemacs.org>
8450 * process.c (Fget_process): Use LIST_LOOP_2.
8451 (kill_buffer_processes): Use LIST_LOOP_2.
8453 * minibuf.c (Fall_completions):
8454 Delete old non-functional code for FSF fourth argument.
8456 * frame.c (frame_matches_frame_spec):
8457 Renamed from `frame_matches_frametype'. Update all callers.
8458 (device_matches_device_spec):
8459 Renamed from 'device_matches_console_spec'. Update all callers.
8461 * doc.c (Fsubstitute_command_keys):
8462 Remove buffer overflow crash. Small code cleanups.
8464 * casetab.c (check_case_table): Simpler code.
8466 * window.c (Freplace_buffer_in_windows):
8467 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8468 (and similar implementation) as Fdelete_windows_on.
8471 * alloc.c (Fmake_list):
8472 * alloc.c (make_vector):
8473 * alloc.c (Fmake_vector):
8474 * alloc.c (make_bit_vector):
8475 * alloc.c (Fmake_bit_vector):
8476 * alloc.c (Fbit_vector):
8477 * alloc.c (Fmake_string):
8478 * alloc.c (Fpurecopy):
8479 * alloc.c (Fmemory_limit):
8481 * buffer.c (Fget_buffer):
8482 * buffer.c (Fkill_buffer):
8483 * buffer.c (complex_vars_of_buffer):
8484 * bytecode.c (Fcompiled_function_stack_depth):
8485 * callint.c (Fprefix_numeric_value):
8487 * event-stream.c (Fread_key_sequence):
8489 * casetab.c (Fcase_table_p):
8490 * casetab.c (check_case_table):
8491 * casetab.c (Fset_case_table):
8492 * casetab.c (Fset_standard_case_table):
8494 * chartab.c (Fchar_table_type):
8495 * chartab.c (Freset_char_table):
8496 * chartab.c (Fget_char_table):
8497 * chartab.c (Fget_range_char_table):
8498 * chartab.c (Fput_char_table):
8499 * chartab.c (Fmap_char_table):
8500 * chartab.c (Fcategory_table_p):
8501 * chartab.c (Fcheck_category_at):
8502 * chartab.c (Fchar_in_category_p):
8503 * chartab.c (Fcategory_table):
8504 * chartab.c (Fcopy_category_table):
8505 * chartab.c (Fset_category_table):
8506 * chartab.c (Fcategory_designator_p):
8507 * chartab.c (Fcategory_table_value_p):
8508 * cmds.c (Fdelete_char):
8509 * cmds.c (Fdelete_backward_char):
8510 * cmds.c (Fself_insert_command):
8511 * cmds.c (Fself_insert_internal):
8512 * console.c (Fvalid_console_type_p):
8513 * console.c (Fcdfw_console):
8514 * console.c (Fconsole_type):
8515 * console.c (Fconsole_name):
8516 * console.c (Fconsole_device_list):
8517 * console.c (Fconsole_on_window_system_p):
8521 * data.c (Fsubr_interactive):
8522 * data.c (Fchar_to_int):
8523 * data.c (Fint_to_char):
8526 * data.c (Fnumber_to_string):
8527 * data.c (Fstring_to_number):
8529 * database.c (mark_database):
8530 * database.c (finalize_database):
8531 * database.c (Fdatabase_live_p):
8532 * database.c (Fdatabasep):
8533 * device-x.c (Fx_get_resource):
8534 * device.c (Fdfw_device):
8536 * dired.c (Ffile_name_completion):
8537 * dired.c (Ffile_name_all_completions):
8538 * dired.c (Fuser_name_completion):
8539 * dired.c (Fuser_name_completion_1):
8540 * dired.c (Fuser_name_all_completions):
8541 * doc.c (Fdocumentation):
8542 * doc.c (Fdocumentation_property):
8543 * doc.c (Fsubstitute_command_keys):
8545 * editfns.c (Fchar_to_string):
8546 * editfns.c (Fstring_to_char):
8547 * editfns.c (Ftemp_directory):
8548 * editfns.c (Finsert_char):
8549 * editfns.c (Fbuffer_substring_no_properties):
8550 * editfns.c (Fnarrow_to_region):
8551 * editfns.c (Fchar_equal):
8552 * editfns.c (Fchar_Equal):
8553 * editfns.c (Ftranspose_regions):
8554 * emacs.c (Fdump_emacs):
8556 * eval.c (Fcommand_execute):
8557 * eval.c (Fautoload):
8558 * eval.c (Fbacktrace):
8559 * eval.c (Fbacktrace_frame):
8561 * events.c (Fcopy_event):
8562 * events.c (Fcharacter_to_event):
8563 * events.c (Fevent_button):
8564 * events.c (Fevent_process):
8566 * extents.c (Fnext_extent_change):
8567 * extents.c (Fextent_property):
8569 * faces.c (Fmake_face):
8571 * file-coding.c (Fencode_shift_jis_char):
8572 * file-coding.c (Fencode_big5_char):
8573 * fileio.c (Ffile_name_directory):
8574 * fileio.c (Ffile_name_nondirectory):
8575 * fileio.c (Ffile_name_as_directory):
8576 * fileio.c (Fdirectory_file_name):
8577 * fileio.c (Ffile_truename):
8578 * fileio.c (Fsubstitute_in_file_name):
8579 * fileio.c (Ffile_modes):
8580 * fileio.c (Fset_file_modes):
8581 * fileio.c (Fset_default_file_modes):
8582 * fileio.c (Fverify_visited_file_modtime):
8583 * floatfns.c (Facos):
8584 * floatfns.c (Fasin):
8585 * floatfns.c (Fatan):
8586 * floatfns.c (Fcos):
8587 * floatfns.c (Fsin):
8588 * floatfns.c (Ftan):
8589 * floatfns.c (Fbessel_j0):
8590 * floatfns.c (Fbessel_j1):
8591 * floatfns.c (Fbessel_jn):
8592 * floatfns.c (Fbessel_y0):
8593 * floatfns.c (Fbessel_y1):
8594 * floatfns.c (Fbessel_yn):
8595 * floatfns.c (Ferf):
8596 * floatfns.c (Ferfc):
8597 * floatfns.c (Flog_gamma):
8598 * floatfns.c (Fexp):
8599 * floatfns.c (Fexpt):
8600 * floatfns.c (Flog):
8601 * floatfns.c (Flog10):
8602 * floatfns.c (Fsqrt):
8603 * floatfns.c (Fcube_root):
8604 * floatfns.c (Facosh):
8605 * floatfns.c (Fasinh):
8606 * floatfns.c (Fatanh):
8607 * floatfns.c (Fcosh):
8608 * floatfns.c (Fsinh):
8609 * floatfns.c (Ftanh):
8610 * floatfns.c (Fabs):
8611 * floatfns.c (Ffloat):
8612 * floatfns.c (Flogb):
8613 * floatfns.c (Fceiling):
8614 * floatfns.c (Ffloor):
8615 * floatfns.c (Fround):
8616 * floatfns.c (Ftruncate):
8617 * floatfns.c (Ffceiling):
8618 * floatfns.c (Fffloor):
8619 * floatfns.c (Ffround):
8620 * floatfns.c (Fftruncate):
8621 * fns.c (Fstring_equal):
8622 * fns.c (Fstring_lessp):
8627 * fns.c (Fsubstring):
8629 * fns.c (Fold_assoc):
8630 * fns.c (assoc_no_quit):
8632 * fns.c (Fold_assq):
8633 * fns.c (assq_no_quit):
8635 * fns.c (Fold_rassoc):
8637 * fns.c (Fold_rassq):
8638 * fns.c (rassq_no_quit):
8639 * fns.c (Fremassoc):
8640 * fns.c (remassoc_no_quit):
8642 * fns.c (remassq_no_quit):
8643 * fns.c (Fremrassoc):
8644 * fns.c (Fremrassq):
8645 * fns.c (remrassq_no_quit):
8647 * fns.c (Fplist_get):
8648 * fns.c (Fplist_put):
8649 * fns.c (Fplist_remprop):
8650 * fns.c (Fplist_member):
8651 * fns.c (Flax_plist_get):
8652 * fns.c (Flax_plist_put):
8653 * fns.c (Flax_plist_remprop):
8654 * fns.c (Flax_plist_member):
8656 * fns.c (Fold_equal):
8658 * fns.c (Fbase64_encode_region):
8659 * fns.c (Fbase64_encode_string):
8660 * fns.c (Fbase64_decode_region):
8662 * frame.c (frame_matches_frame_spec):
8663 * frame.c (device_matches_device_spec):
8664 * frame.c (next_frame):
8665 * frame.c (previous_frame):
8666 * frame.c (Fnext_frame):
8667 * frame.c (Fprevious_frame):
8668 * frame.c (Fframe_property):
8669 * frame.c (Fset_frame_height):
8670 * frame.c (Fset_frame_size):
8674 * glyphs.c (decode_error_behavior_flag):
8675 * glyphs.c (Fmake_image_instance):
8676 * indent.c (Findent_to):
8677 * intl.c (Fignore_defer_gettext):
8678 * keymap.c (Fkeymapp):
8679 * keymap.c (Flookup_key):
8681 * lread.c (Fload_internal):
8682 * lread.c (Feval_buffer):
8683 * lread.c (Feval_region):
8684 * macros.c (Fexecute_kbd_macro):
8685 * marker.c (set_marker_internal):
8686 * marker.c (Fset_marker):
8687 * marker.c (set_marker_restricted):
8688 * marker.c (Fcopy_marker):
8689 * marker.c (noseeum_copy_marker):
8691 * menubar.c (Fpopup_menu):
8693 * mule-charset.c (Fcharset_name):
8694 * mule-charset.c (Fchar_charset):
8695 * mule-charset.c (Fchar_octet):
8696 * mule-charset.c (Fsplit_char):
8697 * mule-wnnfns.c (Fwnn_open):
8698 * mule-wnnfns.c (Fwnn_dict_comment):
8699 * mule-wnnfns.c (Fwnn_quit_henkan):
8700 * mule-wnnfns.c (Fwnn_word_toroku):
8701 * mule-wnnfns.c (Fwnn_word_sakujo):
8702 * mule-wnnfns.c (Fwnn_word_use):
8703 * mule-wnnfns.c (Fwnn_hindo_set):
8705 * objects.c (Fmake_color_instance):
8706 * objects.c (Fmake_font_instance):
8707 * print.c (Fwrite_char):
8709 * process.c (mark_process):
8710 * process.c (print_process):
8711 * process.c (get_process_from_usid):
8712 * process.c (Fprocessp):
8713 * process.c (Fprocess_live_p):
8714 * process.c (Fget_process):
8715 * process.c (Fget_buffer_process):
8716 * process.c (get_process):
8717 * process.c (Fprocess_id):
8718 * process.c (Fprocess_name):
8719 * process.c (Fprocess_command):
8720 * process.c (init_process_io_handles):
8721 * process.c (start_process_unwind):
8722 * process.c (Fstart_process_internal):
8723 * process.c (Fopen_multicast_group_internal):
8724 * process.c (Fset_process_window_size):
8725 * process.c (read_process_output):
8726 * process.c (send_process):
8727 * process.c (Fprocess_tty_name):
8728 * process.c (Fset_process_buffer):
8729 * process.c (Fprocess_buffer):
8730 * process.c (Fprocess_mark):
8731 * process.c (set_process_filter):
8732 * process.c (Fset_process_filter):
8733 * process.c (Fprocess_filter):
8734 * process.c (Fprocess_send_region):
8735 * process.c (Fprocess_send_string):
8736 * process.c (exec_sentinel):
8737 * process.c (Fset_process_sentinel):
8738 * process.c (Fprocess_sentinel):
8739 * process.c (status_notify):
8740 * process.c (Fprocess_status):
8741 * process.c (Fprocess_exit_status):
8742 * process.c (process_send_signal):
8743 * process.c (Fprocess_send_eof):
8744 * process.c (deactivate_process):
8745 * process.c (remove_process):
8746 * process.c (Fdelete_process):
8747 * process.c (kill_buffer_processes):
8748 * process.c (Fprocess_kill_without_query):
8749 * process.c (Fprocess_kill_without_query_p):
8751 * rangetab.c (Fget_range_table):
8752 * rangetab.c (Fput_range_table):
8753 * rangetab.c (Fremove_range_table):
8754 * rangetab.c (Fclear_range_table):
8756 * search.c (Fskip_chars_forward):
8757 * search.c (Fskip_chars_backward):
8758 * search.c (Fskip_syntax_forward):
8759 * search.c (Fskip_syntax_backward):
8760 * search.c (search_command):
8761 * search.c (Freplace_match):
8762 * search.c (Fregexp_quote):
8763 * select.c (Fown_selection_internal):
8764 * select.c (Fselection_owner_p):
8765 * select.c (Fselection_exists_p):
8766 * select.c (Fget_selection_internal):
8769 * symbols.c (Fintern):
8770 * symbols.c (Fintern_soft):
8771 * symbols.c (Funintern):
8772 * symbols.c (Fapropos_internal):
8773 * symbols.c (Fset_default):
8775 * syntax.c (Fsyntax_table_p):
8776 * syntax.c (Fcopy_syntax_table):
8777 * syntax.c (Fset_syntax_table):
8778 * syntax.c (Fchar_syntax):
8779 * syntax.c (syntax_match):
8780 * syntax.c (Fmatching_paren):
8781 * syntax.c (Fforward_word):
8782 * syntax.c (scan_lists):
8783 * syntax.c (Fscan_lists):
8784 * syntax.c (Fscan_sexps):
8785 * syntax.c (Fparse_partial_sexp):
8786 * toolbar.c (Fcheck_toolbar_button_syntax):
8789 * window.c (Fwindowp):
8790 * window.c (Fwindow_live_p):
8791 * window.c (Fwindow_point):
8792 * window.c (Fdelete_window):
8793 * window.c (Fnext_window):
8794 * window.c (Fprevious_window):
8795 * window.c (Fother_window):
8796 * window.c (window_loop):
8797 * window.c (Fget_lru_window):
8798 * window.c (Fsplit_window):
8799 * window.c (Fenlarge_window):
8800 * window.c (Fenlarge_window_pixels):
8801 * window.c (Fshrink_window):
8802 * window.c (Fshrink_window_pixels):
8803 * window.c (change_window_height):
8804 * window.c (Fwindow_configuration_p):
8805 * window.c (Fcurrent_window_configuration):
8807 * casefiddle.c (casify_object):
8808 * casefiddle.c (Fupcase):
8809 * casefiddle.c (Fdowncase):
8810 * casefiddle.c (Fcapitalize):
8811 * casefiddle.c (Fupcase_initials):
8812 * casefiddle.c (casify_region_internal):
8813 * casefiddle.c (casify_region):
8814 * casefiddle.c (Fupcase_region):
8815 * casefiddle.c (Fdowncase_region):
8816 * casefiddle.c (Fcapitalize_region):
8817 * casefiddle.c (Fupcase_initials_region):
8818 * casefiddle.c (Fupcase_word):
8819 * casefiddle.c (Fdowncase_word):
8820 * casefiddle.c (Fcapitalize_word):
8821 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8822 Replace 0 with '\0' when working with bytes.
8823 Replace initial "(" with "\(" in docstrings.
8825 2000-11-01 Martin Buchholz <martin@xemacs.org>
8827 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8829 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8831 2000-10-31 Martin Buchholz <martin@xemacs.org>
8833 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8835 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8837 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8840 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8842 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8843 (inhibit_auto_save_session): New variable.
8844 (vars_of_fileio): Declare and initialize them.
8845 * fileio.c (Fdo_auto_save): Don't create session file if
8846 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8848 2000-10-31 Martin Buchholz <martin@xemacs.org>
8850 * sgiplay.c (play_internal): C++ compilability.
8851 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8852 * callproc.c (Fold_call_process_internal):
8853 Remove unused vars `env', `first'.
8854 * scrollbar.c (update_scrollbar_instance):
8855 #### unused var `current_window'.
8856 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8857 etc. within #ifdef NOT_YET.
8858 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8859 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8860 * specifier.c (specifier_instance):
8861 #### unused var `tag'.
8862 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8864 2000-10-27 Martin Buchholz <martin@xemacs.org>
8867 * fns.c (list_sort):
8868 * fns.c (Ffillarray):
8869 * fns.c (bytecode_nconc2):
8872 * fns.c (Fmapconcat):
8873 Be pedantically 64-bit correct. For the time when someone will
8874 want to have a list with length > 2**32.
8876 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8877 Work around MIPSpro compiler bug.
8879 * process-unix.c (unix_kill_child_process): Add snarky comment.
8880 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8882 * config.h.in: Oops, _getpt ==> _getpty
8884 2000-10-26 Martin Buchholz <martin@xemacs.org>
8888 Use void*, not char*, as return type of alloca().
8890 * alloc.c (free_marker): Side effect inside assert expression!
8892 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8894 * mule-charset.c (Fset_charset_ccl_program): To check
8895 if the given ccl program is valid, use setup_ccl_program()
8896 instead of CHECK_VECTOR().
8897 (Fmake_charset): Likewise.
8899 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8901 * faces.c (get_extent_fragment_face_cache_index):
8902 Fix cachel.merged_faces memory leak.
8904 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8906 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8907 Reset MSB of octets obtained by DECODE_SJIS
8908 because of the incompatibility with Emacs.
8909 (ccl_driver)<CCL_ENCODE_SJIS>:
8910 Set MSB of octets before passing them to
8911 ENCODE_SJIS because of the incompatibility
8914 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8916 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8917 (DECLARE_LRECORD): Undo the last change.
8918 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8920 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8922 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8923 the implementation to lrecord_implementations_table.
8925 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8927 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8928 initial value of `lrecord_type_##c_name' and
8929 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8930 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8931 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8932 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8933 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
8935 2000-10-17 Martin Buchholz <martin@xemacs.org>
8937 * miscplay.c (sndcnv8S_2mono):
8938 (sndcnv2monounsigned):
8939 (sndcnvULaw_2linear):
8941 Remove implementation-defined behavior.
8943 2000-10-12 Martin Buchholz <martin@xemacs.org>
8945 * input-method-xlib.c: Warning suppression.
8947 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
8949 * mule-ccl.c: Sync up with Emacs 21.0.90.
8950 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
8952 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
8954 (ccl_driver[WriteMultibyteChar2]): Bug fix.
8955 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
8956 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
8957 leading char belongs to official 2-dimensional charset.
8958 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
8959 write the given character as is. Otherwise,
8960 if it is a multibyte char, convert it by
8961 non_ascii_set_charptr_emchar, then write it.
8962 (CCL_WRITE_STRING): Likewise.
8963 (ccl_get_compiled_code): New function.
8964 (setup_ccl_program): When ccl_prog is invalid,
8966 (Fregister_code_conversion_map): New function.
8967 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
8969 * mule-ccl.h: Sync up with Emacs 21.0.90.
8970 (Fregister_ccl_program): export it.
8972 * redisplay-msw.c (separate_textual_runs):
8973 If ccl program is not valid, don't do ccl conversion.
8975 * redisplay-x.c (separate_textual_runs): Ditto.
8977 * file-coding.c (Fmake_coding_system):
8978 When type is ccl and value is vector, register it
8979 with a proper symbol. And checks whether the
8980 given ccl program is valid.
8981 (mule_decode): When calling ccl_driver, if src indicates
8982 NULL pointer, set an empty string instead.
8983 (mule_encode): Likewise.
8985 2000-10-11 Martin Buchholz <martin@xemacs.org>
8987 The following large batch of changes gets us back to a state of
8988 C++ compilability. Extbyte is now a char, which means that
8989 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
8991 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
8993 * sound.c (Fplay_sound): Type correctness.
8995 * select-x.c (hack_motif_clipboard_selection): Type correctness.
8996 (x_get_window_property): Type correctness.
8997 (receive_incremental_selection): unsigned char ==> Extbyte
8998 (selection_data_to_lisp_data): unsigned char ==> Extbyte
8999 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9000 (Fx_store_cutbuffer_internal): Type correctness.
9002 * process-unix.c (try_to_initialize_subtty): Type correctness.
9004 * objects-x.c (x_print_color_instance): Type correctness.
9005 (x_print_font_instance): Type correctness.
9006 (x_list_fonts): SExtbyte ==> Extbyte.
9007 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9008 (x_find_charset_font): SExtbyte ==> Extbyte.
9009 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9010 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9011 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9014 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9015 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9016 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9017 (BYTE_C0_P): Use bit ops for char-signedness safety.
9018 (BYTE_C1_P): Use bit ops for char-signedness safety.
9019 (CHARSET_BY_LEADING_BYTE):
9020 (CHARSET_BY_ATTRIBUTES):
9021 Always use inline function.
9022 Use type_checking_assert.
9025 * mule-charset.c (non_ascii_charptr_copy_char):
9026 Modify to work with both ASCII and non-ASCII characters.
9027 Improve docs and variable names.
9028 Replace over-clever fall-through switch with a simple loop.
9029 (Lstream_get_emchar_1):
9030 Replace over-clever fall-through switch with a simple loop.
9032 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9033 Warning suppression.
9035 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9036 the return value of Lstream_getc, which could be EOF as well.
9038 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9040 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9041 APIs can be used on Extbytes without casts. Risky!
9045 * input-method-xlib.c (XIM_init_device):
9046 Use Xlib.h instead of IntrinsicP.h.
9047 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9048 which will break in X11R7.
9049 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9050 to call XRegisterIMInstantiateCallback with correct types.
9052 * gui-x.c (button_item_to_widget_value): Type correctness.
9054 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9056 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9057 (xbm_instantiate_1): Type correctness.
9058 (BUILD_GLYPH_INST): Type correctness.
9060 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9063 (decode_coding_sjis):
9064 (decode_coding_big5):
9065 (decode_coding_ucs4):
9066 (decode_coding_utf8):
9067 (decode_coding_iso2022):
9068 (decode_coding_no_conversion):
9069 Make all decoding functions take an Extbyte * arg.
9070 (encode_coding_sjis):
9071 (encode_coding_big5):
9072 (encode_coding_ucs4):
9073 (encode_coding_utf8):
9074 (encode_coding_iso2022):
9075 (encode_coding_no_conversion):
9076 Make all encoding functions take a Bufbyte * arg.
9077 Use size_t instead of unsigned int for memory sizes.
9078 Only cast to unsigned char whenever dereferencing Extbyte *.
9080 * doc.c (unparesseuxify_doc_string): Type correctness.
9082 * console-x.c (split_up_display_spec):
9083 Rewrite without using details of internal string representation.
9084 (x_semi_canonicalize_device_connection): Type correctness.
9087 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9088 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9089 (HAVE_XFREE386): Removed.
9091 * buffer.h (DEC_CHARPTR): `const' correctness.
9092 (bufbyte_strcmp): New.
9093 (bufbyte_memcmp): New.
9095 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9097 * buffer.h (XCHAR_OR_CHAR_INT):
9098 Always use inline function.
9099 Remove redundant type checking assert() - XINT will abort quite nicely.
9101 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9103 * search.c (Freplace_match): Set newtext to an empty string.
9105 2000-10-10 Martin Buchholz <martin@xemacs.org>
9107 * s/decosf1-3.h: Remove #include of stropts.h
9108 * s/ptx.h: Remove #include of stropts.h
9109 * s/usg5-4.h: Remove #include of stropts.h
9112 Use stropts.h, not sys/stropts.h.
9113 Use strtio.h, not sys/strtio.h.
9115 2000-10-04 Martin Buchholz <martin@xemacs.org>
9117 * XEmacs 21.2.36 is released.
9119 2000-09-21 Andy Piper <andy@xemacs.org>
9121 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9122 changes still involve copying the widget tree.
9123 (update_widget_face): make sure a change is register in the widget
9124 tree. Call update_tab_widget_face appropriately.
9125 (update_tab_widget_face): ditto.
9126 (x_tab_control_redisplay): make sure non-structural changes still
9127 involve copying the widget tree.
9129 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9131 * lread.c (locate_file): Check the path element is non-nil.
9133 2000-10-02 Martin Buchholz <martin@xemacs.org>
9135 * lisp.h: Warning suppression for SCO compilers.
9137 * redisplay-tty.c (reset_tty_modes): Fix crash.
9138 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9140 2000-09-27 Martin Buchholz <martin@xemacs.org>
9142 Big signal/process handling overhaul. Bugs fixed:
9143 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9144 M-x comint-kill-subjob should work for both values nil and t of
9145 process-connection-type. It was broken on most platforms.
9146 Testing on Irix and Cygwin still needed. Other plaforms tested.
9147 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9148 * process-unix.c: Signal/Process handling overhaul.
9149 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9150 (allocate_pty): Use all available modern methods of allocating
9151 ptys, falling back to old style BSD allocation as a last resort.
9152 Use allegedly more secure Unix98 pty allocation by default.
9153 (allocate_pty_the_old_fashioned_way): New. the last resort.
9154 (unix_create_process): Push ptem, ldterm, ttcompat where
9155 available. Autoconfiscate.
9156 (try_to_initialize_subtty): New.
9157 (unix_kill_child_process): Proper signal handling for ptys on most
9158 platforms, using special knowledge of AIX, BSD, etc...
9159 (unix_create_process): Always disconnect_controlling_terminal() for
9160 subprocesses, whether using ptys or not.
9161 * process.h: Remove old getpt-dependent PTY code.
9162 * process.c (Fprocess_send_signal): New, obvious generic function.
9163 (decode_signal): New.
9164 (Finterrupt_process):
9168 (Fcontinue_process):
9169 (Fsignal_process): Use decode_signal.
9170 (process_send_signal):
9171 Many docstring corrections.
9172 Allow any signal to be sent to a process object.
9173 * config.h.in: Add symbols for big signal/process overhaul.
9174 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9175 * sysproc.h: Include process-related headers, where available:
9176 sys/stropts.h sys/strtio.h pty.h libutil.h
9184 Remove old S&M pty stuff.
9185 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9186 * systty.h: Simplify cpp hackery, improve comments.
9187 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9189 * editfns.c (Fformat_time_string):
9190 Be a little more paranoid with the return value of ctime.
9192 * fileio.c (check_executable):
9194 Use symbolic constants X_OK, W_OK.
9196 * console-x.c (split_up_display_spec): Fix a warning.
9198 2000-10-02 Martin Buchholz <martin@xemacs.org>
9200 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9201 * ntproc.c (sys_spawnve): make_string ==> build_string
9202 Small clarity improvements.
9204 2000-09-30 Martin Buchholz <martin@xemacs.org>
9206 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9208 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9210 * config.h.in (HAVE_STRCASECMP): Remove.
9212 2000-09-29 Martin Buchholz <martin@xemacs.org>
9214 * redisplay-output.c (redisplay_output_pixmap):
9215 Cleaner and possibly more 64-bit correct code.
9217 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9219 * dumper.c (pdump_load_finish): move restoration of
9220 `noninteractive1' to emacs.c (main_1).
9221 * emacs.c (main_1): protect LISP-visible command-line flags
9224 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9226 * Makefile.in.in (versionclean): Use EXE_TARGET and
9227 DUMP_TARGET instead of literal program names.
9229 2000-09-20 Martin Buchholz <martin@xemacs.org>
9231 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9233 2000-09-19 Martin Buchholz <martin@xemacs.org>
9235 * *: Spelling mega-patch
9237 2000-09-19 Martin Buchholz <martin@xemacs.org>
9239 * fns.c (bad_bad_turtle):
9240 Delete "Eek!" comment, since we fixed the bug to which it refers.
9242 2000-09-16 Martin Buchholz <martin@xemacs.org>
9244 * alloca.c: Replace REGISTER with register.
9246 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9248 * file-coding.c (ucs_to_char): Use countof.
9250 2000-09-16 Martin Buchholz <martin@xemacs.org>
9252 * file-coding.c: (ucs_to_char):
9253 (complex_vars_of_file_coding):
9254 Use countof instead of sizeof.
9255 Use CHECK_NATNUM instead of CHECK_INT.
9257 * sysdep.c (strcasecmp): Remove.
9258 * device-x.c (ascii_strcasecmp): New.
9259 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9260 Avoid using non-standard non-portable strcasecmp.
9262 2000-09-16 Martin Buchholz <martin@xemacs.org>
9264 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9265 * font-lock.c: remove reference to emacsfns.h.
9266 * search.c: small doc improvement.
9267 * event-Xt.c: correct file names in comments.
9268 * console-x.h Correct file names in comments.
9269 * frame.c: Correct file names in comments.
9270 * event-stream.c: remove Energize from comments.
9272 2000-09-15 Martin Buchholz <martin@xemacs.org>
9274 * symeval.h (DEFERROR_STANDARD):
9277 (DEFSYMBOL_NO_DUMP):
9278 (DEFSYMBOL_MULTIWORD_PREDICATE):
9279 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9281 The construct &##name is not sensible C.
9282 Fixes compilation errors with Unixware native compiler.
9284 2000-09-14 Martin Buchholz <martin@xemacs.org>
9286 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9287 (next_frame_internal): Removed. We now just have next_frame.
9289 Write a simpler and cleaner one-pass algorithm.
9290 Remove called_from_delete_device arg and #ifdefed-out code.
9292 Renamed from prev_frame. Update callers.
9293 Cleaned up to have an analogous implementation to next_frame.
9294 (other_visible_frames_internal): Remove the
9295 called_from_delete_device bogus arg, and hence, remove this
9296 function. Just use other_visible_frames().
9298 * window.c (Fnext_window):
9300 Since next_frame() is guaranteed to return a frame, remove check
9301 for nil inserted in previous patch.
9304 Make code look more like Fnext_window.
9306 Respect the `console' arg when iterating through windows.
9307 Fixes bug: (get-buffer-window buffer t device) not respecting
9309 This function needs more work, as others have pointed out.
9311 * frame.h: Rename prev_frame to previous_frame.
9312 device_matches_console_spec no longer takes a `frame' arg.
9317 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9318 From "Golubev I. N." <gin@mo.msk.ru>.
9320 * make-src-depend: Fix typo.
9322 2000-09-13 Martin Buchholz <martin@xemacs.org>
9324 * window.c (Fnext_window):
9325 next_frame() might return nil, not a frame.
9327 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9329 * frame.c (next_frame_internal):
9330 We've passed a frame if we've passed its device.
9332 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9333 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9335 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9337 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9338 Allow option to suppress accelerators in menu/dialog items.
9339 (populate_or_checksum_helper): Pass dialog title through above.
9341 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9343 * event-msw.c (mswindows_key_to_emacs_keysym):
9344 Add "pause" key, fix "menu" key.
9346 2000-09-09 Martin Buchholz <martin@xemacs.org>
9348 * eval.c (reinit_vars_of_eval):
9349 Increase max_lisp_eval_depth to 1000,
9350 required for thai-xtis.el to byte-compile under some circumstances.
9352 2000-09-04 Martin Buchholz <martin@xemacs.org>
9354 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9357 2000-09-01 Martin Buchholz <martin@xemacs.org>
9359 * make-src-depend: Make the generated Makefiles smaller.
9361 * s/hpux.h (SETUP_SLAVE_PTY):
9362 Provide a %d in the format string for the errno argument.
9364 * editfns.c (Ftemp_directory):
9366 Avoid buffer overrun on very long file name.
9368 * input-method-xlib.c (XIM_init_device):
9369 6th parameter of XRegisterIMInstantiateCallback has different
9370 pointer types on different OSes, so simply cast to (void *).
9372 * unexhp9k800.c: Warning fixes. Fiddly changes.
9374 * sysdll.c (dll_open):
9375 shl_load will hang hard if passed a NULL filename.
9376 Simply return NULL for compatibility with dlopen.
9377 * sysdll.c: Conform to XEmacs coding standards.
9379 * sysdep.c (get_pty_max_bytes):
9380 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9382 2000-08-31 Martin Buchholz <martin@xemacs.org>
9384 * tooltalk.c: Add #include <syssignal.h>
9386 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9388 * s/hpux.h: Don't use undefined function sigunblock().
9390 2000-08-31 Martin Buchholz <martin@xemacs.org>
9392 * config.h.in: Add HAVE_BALLOON_HELP.
9393 * emacs.c: Use HAVE_BALLOON_HELP.
9394 * Makefile.in.in (x_objs):
9395 Make Balloon Help conditional on finding shape.h.
9397 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9399 * syntax.c (regex_emacs_buffer_p): New variable.
9400 * syntax.h (regex_emacs_buffer_p): extern.
9401 * search.c (looking_at_1):
9403 (fast_string_match):
9404 (search_buffer): Set regex_emacs_buffer_p.
9405 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9406 when before_dot, at_dot, after_dot.
9408 2000-08-23 Andy Piper <andy@xemacs.org>
9410 * gui-x.c (popup_selection_callback): Only set action_occurred
9411 when we really have an image instance.
9412 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9414 2000-08-23 Andy Piper <andy@xemacs.org>
9416 * gui-msw.c (mswindows_handle_gui_wm_command): set
9418 * gui-x.c (popup_selection_callback): ditto.
9420 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9421 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9422 (struct Lisp_Image_Instance): add action_occurred flag.
9424 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9425 (image_instance_changed): ditto.
9426 (reset_frame_subwindow_instance_cache): only unmap windows - do
9427 not remove them from the cache also.
9429 * glyphs-widget.c (tab_control_update): better debug.
9430 (progress_gauge_update): ditto.
9431 (layout_update): ditto.
9432 (layout_instantiate): ditto.
9433 (tab_control_order_only_changed): cope with null pending items.
9435 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9436 debug. Force selection of an item when an action occurred. Cope
9437 with null pending_items.
9438 (mswindows_progress_gauge_redisplay): better debug.
9439 * glyphs-x.c (x_tab_control_redisplay): ditto.
9441 * redisplay.c (redisplay_frame): reset the frame cache if the
9444 * window.c (Fset_window_configuration): potentially re-enable
9446 (window_unmap_subwindows): need to finalize instances here since
9447 it is only used in mark_window_as_deleted.
9449 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9451 * nas.c (SndOpenDataForReading):
9452 nas.c (WaveOpenDataForReading):
9453 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9454 Somehow escaped from the 2000-08-14 patch.
9456 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9458 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9459 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9461 2000-08-21 Andy Piper <andy@xemacs.org>
9463 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9464 window if it is not already displayed.
9466 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9467 it is not already displayed.
9469 * window.c (Fset_window_configuration): don't reset the frame
9472 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9473 instances from the frame cache if we are actually finalizing them.
9474 (reset_frame_subwindow_instance_cache): reset frame cache only
9475 after unmapping everything.
9476 (map_subwindow): set displayed flag after mapping.
9478 2000-08-21 Martin Buchholz <martin@xemacs.org>
9480 * data.c (indirect_function):
9481 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9483 * eval.c (function_argcount):
9484 Use original function when signaling errors.
9486 2000-08-18 Andy Piper <andy@xemacs.org>
9488 * frame.c (delete_frame_internal): use new
9489 free_frame_subwindow_instances name.
9491 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9492 (add_tab_item): make return type correct.
9493 (mswindows_tab_control_instantiate): assert index of tab.
9494 (mswindows_tab_control_redisplay): Re-code to use
9495 gui_item_equal_sans_selected and gui_item_list_find_selected.
9497 * glyphs-widget.c (tab_control_update): Correct comment.
9499 * window.c (window_unmap_subwindows): use new
9500 unmap_subwindow_instance_cache_mapper.
9501 (window_unmap_subwindows_cache_mapper): deleted.
9502 (Fset_window_configuration): comparisons should now be with
9503 EQ. Preserve the subwindow instance cache across configuration
9505 (allocate_window): ditto.
9506 (make_dummy_parent): ditto.
9508 * glyphs.c (free_frame_subwindow_instances): rename from
9509 free_frame_subwindow_instance_cache. finalize all instances rather
9510 than just those in the display cache.
9511 (finalize_all_subwindow_instances): walk windows unmapping and
9512 finalizing subwindows.
9513 (unmap_subwindow_instance_cache_mapper): moved from
9514 window.c. Allow finalization as well as unmapping.
9516 * gui.c (gui_item_list_find_selected): new function.
9518 * gui.h (gui_item_list_find_selected): declare.
9520 * glyphs-x.c (x_tab_control_redisplay): pick tab
9521 explicitly. Re-code to use gui_item_equal_sans_selected and
9522 gui_item_list_find_selected.
9524 * glyphs-x.h: add lwlib-utils.h
9526 * buffer.c (Frecord_buffer): undo previous change.
9528 2000-08-09 Vin Shelton <acs@xemacs.org>
9530 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9531 possible. Create temporary files more securely. The patch was
9532 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9533 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9534 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9537 2000-08-07 Ben Wing <ben@xemacs.org>
9539 * getloadavg.c: remove duplicate (and windows-breaking)
9540 includes of fcntl.h and sys/file.h.
9542 * nt.c: remove duplicate getloadavg() definition.
9544 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9547 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9549 * eval.c (function_argcount): If function needs to be autoloaded
9550 actually use the loaded definition.
9553 2000-08-05 Ben Wing <ben@xemacs.org>
9555 * getloadavg.c: add prototype for getloadavg(). remove
9556 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9557 of the code). remove duplicate header includes.
9559 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9561 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9562 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9563 useful load average.
9565 * alloc.c (reinit_alloc_once_early): removed references to
9566 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9567 the lisp vars are the only things referencing the malloc_sbrk_*
9568 vars, and they were already if 0'd out. these vars only exist
9569 in the older malloc.c, which is basically unused, and they're
9570 only for informational purposes.
9572 * m\*.h: removed useless VIRT_ADDR_VARIES.
9574 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9576 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9578 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9579 color if the image is a mono pixmap.
9581 2000-07-30 Ben Wing <ben@xemacs.org>
9583 * Makefile.in.in (release):
9586 * buffer.c (directory_is_current_directory):
9587 * dired-msw.c (mswindows_get_files):
9589 * dired.c (Fdirectory_files):
9590 * dired.c (file_name_completion_stat):
9591 * dired.c (Ffile_attributes):
9592 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9593 preprocessor tricks, to avoid problems on some machines
9596 * callproc.c (egetenv): GC docs.
9599 * console-msw.h (struct mswindows_dialog_id):
9600 * lrecord.h (lrecord_type):
9601 New object for use with MSW dialogs.
9603 * console.h (struct console_methods):
9604 New enable/disable frame methods, for proper modal dialogs.
9606 * device-msw.c (msprinter_default_printer): Fix to follow
9607 proper Mule conventions.
9610 * device-msw.c (signal_open_printer_error):
9611 * device-msw.c (msprinter_init_device):
9612 * device-msw.c (ensure_not_printing):
9613 * device-msw.c (plist_get_margin):
9614 * device-msw.c (Fmsprinter_select_settings):
9615 * device-msw.c (finalize_devmode):
9616 * device-msw.c (Fmsprinter_settings_despecialize):
9617 * device-msw.c (signal_enum_priner_error):
9618 * extents.c (decode_extent):
9619 * extents.c (decode_map_extents_flags):
9620 * extents.c (decode_extent_at_flag):
9621 * extents.c (Fextent_at):
9622 * extents.c (Fextents_at):
9623 * extents.c (symbol_to_glyph_layout):
9624 [[[[2]]]] Use structured errors.
9627 * dialog-msw.c (mswindows_is_dialog_msg):
9628 * dialog-msw.c (mark_mswindows_dialog_id):
9629 * dialog-msw.c (dialog_proc):
9630 * dialog-msw.c (handle_question_dialog_box):
9631 * dialog-msw.c (syms_of_dialog_mswindows):
9632 Define new object to clean up marking; use it as a dialog identifier.
9633 Call new delete-dialog-box-hook.
9635 * dialog-x.c (dbox_selection_callback):
9636 * dialog-x.c (dbox_descriptor_to_widget_value):
9637 * dialog-x.c (x_make_dialog_box_internal):
9638 Call new delete-dialog-box-hook.
9642 * dialog.c (syms_of_dialog):
9643 * dialog.c (vars_of_dialog):
9644 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9647 * eval.c (signal_call_debugger):
9648 when noninteractive, output stack traces on the console instead
9649 of in a (never-seen) buffer.
9651 * eval.c (signal_type_error):
9652 * eval.c (invalid_argument_2):
9654 new funs for use w/structured errors.
9657 * event-Xt.c (x_to_emacs_keysym):
9658 * event-Xt.c (describe_event):
9659 * event-Xt.c (emacs_Xt_event_handler):
9660 * event-Xt.c (vars_of_event_Xt):
9662 * event-msw.c (mswindows_wnd_proc):
9663 * event-msw.c (vars_of_event_mswindows):
9664 rename {x,mswindows}-debug-events to debug-{}-events for
9665 consistency with other debug-foo variables.
9668 document next-event more clearly.
9670 * fileio.c (Ffile_name_directory):
9671 * fileio.c (Ffile_name_nondirectory):
9672 * fileio.c (Funhandled_file_name_directory):
9673 * fileio.c (file_name_as_directory):
9674 * fileio.c (Ffile_name_as_directory):
9675 * fileio.c (directory_file_name):
9676 * fileio.c (Fdirectory_file_name):
9677 * fileio.c (Fmake_temp_name):
9678 * fileio.c (Ffile_truename):
9679 * fileio.c (Fsubstitute_in_file_name):
9680 * fileio.c (expand_and_dir_to_file):
9681 * fileio.c (barf_or_query_if_file_exists):
9682 * fileio.c (check_executable):
9683 * fileio.c (Ffile_exists_p):
9684 * fileio.c (Ffile_writable_p):
9685 * fileio.c (Ffile_directory_p):
9686 * fileio.c (Ffile_regular_p):
9687 * fileio.c (Ffile_modes):
9688 * fileio.c (Ffile_newer_than_file_p):
9689 * fileio.c (Fverify_visited_file_modtime):
9690 * fileio.c (Fset_visited_file_modtime):
9691 * fileio.c (auto_save_1):
9696 * frame-msw.c (mswindows_init_frame_1):
9697 * frame-msw.c (mswindows_enable_frame):
9698 * frame-msw.c (error_frame_unsizable):
9699 * frame-msw.c (msprinter_init_frame_1):
9700 * frame-msw.c (msprinter_init_frame_3):
9701 * frame-msw.c (console_type_create_frame_mswindows):
9703 implement new enable/disable frame methods.
9706 * frame-x.c (x_enable_frame):
9707 * frame-x.c (console_type_create_frame_x):
9708 implement new enable/disable frame methods.
9711 * frame.c (Fdisable_frame):
9712 * frame.c (syms_of_frame):
9713 * frame.h (struct frame):
9714 implement new enable/disable frame methods/functions.
9719 * glyphs-msw.c (mswindows_widget_instantiate):
9720 comment that initial-focus should be implemented.
9723 * glyphs-widget.c (check_valid_instantiator):
9724 * glyphs-widget.c (check_valid_orientation):
9725 * glyphs-widget.c (check_valid_tab_orientation):
9726 * glyphs-widget.c (check_valid_justification):
9727 * glyphs-widget.c (check_valid_border):
9728 * glyphs-widget.c (check_valid_callback):
9729 * glyphs-widget.c (check_valid_int_or_function):
9730 * glyphs-widget.c (check_valid_string_or_vector):
9731 * glyphs-widget.c (check_valid_item_list_1):
9732 * glyphs-widget.c (widget_validate):
9733 * glyphs-widget.c (combo_box_validate):
9734 * glyphs-widget.c (widget_instantiate):
9735 * glyphs-widget.c (syms_of_glyphs_widget):
9736 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9737 * glyphs-widget.c (image_instantiator_combo_box):
9738 * glyphs-widget.c (image_instantiator_scrollbar):
9739 * glyphs-widget.c (image_instantiator_tab_control):
9740 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9742 support (unimplemented) keyword initial-focus.
9743 reindent long macros.
9745 * glyphs-x.c (x_redisplay_widget):
9746 * glyphs-x.c (x_button_instantiate):
9747 * glyphs-x.c (x_button_redisplay):
9748 * glyphs-x.c (x_progress_gauge_instantiate):
9749 * glyphs-x.c (x_edit_field_instantiate):
9750 * glyphs-x.c (x_combo_box_instantiate):
9751 * glyphs-x.c (x_tab_control_instantiate):
9752 * glyphs-x.c (x_label_instantiate):
9754 * gui-x.c (button_item_to_widget_value):
9755 * gui-x.c (gui_items_to_widget_values_1):
9756 * gui-x.c (gui_item_children_to_widget_values):
9757 * gui-x.c (gui_items_to_widget_values):
9759 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9760 add new flag to gui-parsing routines to indicate whether
9761 accelerator specs should be supported.
9763 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9765 * glyphs.h (struct Lisp_Image_Instance):
9766 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9767 add initial-focus flag.
9770 * gui.c (syms_of_gui):
9771 * gui.c (vars_of_gui):
9772 clean up menu-no-selection-hook.
9775 support delete-dialog-box-hook.
9777 * lread.c (Fload_internal):
9778 * lread.c (locate_file_in_directory_mapper):
9782 * lrecord.h (struct toolbar_button):
9783 * lrecord.h (syms_of_toolbar):
9784 document how to create a new object.
9786 * menubar-msw.c (mswindows_char_is_accelerator):
9787 may be called on frames w/o menus.
9789 * menubar.c (vars_of_menubar):
9790 clean up :filter docs.
9797 * process-nt.c (validate_signal_number):
9798 * process-nt.c (signal_cannot_launch):
9799 * process-nt.c (nt_create_process):
9800 * process-nt.c (nt_send_process):
9801 * process-nt.c (nt_kill_child_process):
9802 * process-nt.c (nt_open_network_stream):
9803 * process-nt.c (syms_of_process_nt):
9805 delete quote-handling. call new lisp code that does it better.
9807 * process-unix.c (connect_to_file_descriptor):
9808 * process-unix.c (allocate_pty):
9809 * process-unix.c (unix_send_process):
9810 * process-unix.c (unix_kill_child_process):
9811 * process-unix.c (unix_open_network_stream):
9812 * process-unix.c (unix_open_multicast_group):
9816 * process.c (Fstart_process_internal):
9817 (2). need to canonicalize process path even if absolute.
9819 * select-msw.c (symbol_to_ms_cf):
9820 * select-msw.c (ms_cf_to_symbol):
9821 * select-msw.c (cf_is_autofreed):
9822 * select-msw.c (mswindows_destroy_selection):
9824 * select.c (syms_of_select):
9826 support dibv5, fix bugs. (from Mike Alexander)
9828 * select.c (Fget_selection_internal):
9829 * select.c (select_convert_out):
9832 * sysdep.c (xemacs_stat):
9837 but keep original stat() here because we provide encapsulation
9841 * sysfile.h (fstat):
9842 remove stat garbage.
9846 don't include tchar.h. it's inappropriate because it makes
9847 compile-time distinctions when we want runtime distinctions.
9848 (we provide our own tchar replacements)
9851 use default object printer for toolbar-button.
9854 make sure we don't encapsulate.
9856 * window.c (vars_of_window):
9857 emphasize that temp-buffer-show-hook is obsolete.
9859 2000-08-05 Martin Buchholz <martin@xemacs.org>
9861 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9862 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9864 * events.c (Fevent_timestamp_lessp):
9865 Not 64-bit clean. Use EMACS_INT, not int.
9867 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9869 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9870 unsigned int and changed the last enum to
9871 lrecord_type_last_built_in_type.
9872 (lrecord_implementations_table): changed prototype to know how
9873 long the array is supposed to be.
9874 (lrecord_type_count): new unsigned int to keep track of the
9875 current number of lisp lrecord types.
9876 (DEFINE_EXTERNAL_LRECORD):
9877 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9878 dynamic-modules to declare new lisp types. They are the same
9879 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9880 int for each new type, and increment lrecord_type_count by 1.
9882 * alloc.c (lrecord_implementations_table): Changed to reference
9883 lrecord_type_last_built_in_type for the size of the array.
9884 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9886 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9888 * glyphs.h (check_valid_item_list): Renamed from
9889 check_valid_item_list_1.
9891 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9893 * select.c (Qselect_coerce): New.
9894 * select.c (Vselection_coercion_alist): New.
9895 * select.c (syms_of_select): Declare.
9896 * select.c (get-selection-internal): Use it.
9897 Use the new select-coerce functionality.
9899 * select.c (select_coerce): New.
9900 * select.h (select_coerce): Declare.
9901 New function to coerce one type of data into another.
9903 2000-08-03 Martin Buchholz <martin@xemacs.org>
9905 * callproc.c (Fcall_process_internal):
9906 (Fcall_process_internal):
9907 * process-unix.c (unix_create_process):
9908 Save and restore the value of errno, so that error messages are accurate.
9910 2000-08-01 Martin Buchholz <martin@xemacs.org>
9912 * elhash.c (print_hash_table):
9913 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9914 Prettify docstrings and indentation.
9916 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9918 * window.c (Fwindow_pixel_edges): Subtract frame border and
9921 2000-07-31 Andy Piper <andy@xemacs.org>
9923 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9924 will acknowledge the change.
9926 * glyphs.h: declare tab_control_order_only_changed.
9928 * glyphs-x.c (x_tab_control_redisplay): use
9929 tab_control_order_only_changed.
9931 * glyphs-widget.c (tab_control_order_only_changed): new function.
9933 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9934 tab_control_order_only_changed.
9936 * gui.c (gui_item_equal_sans_selected): new function.
9937 (gui_item_equal): use it.
9939 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
9940 :properties in favor of :items..
9942 * glyphs-widget.c (check_valid_item_list): rename from
9943 check_valid_item_list_1.
9944 (check_valid_item_list_1): renamed.
9945 (combo_box_validate): deprecate :properties in favor of :items.
9946 (widget_instantiate): ditto.
9947 (tab_control_update): ditto.
9948 (image_instantiator_combo_box): ditto.
9949 (image_instantiator_tree_view): ditto.
9950 (image_instantiator_tab_control): ditto.
9951 (layout_post_instantiate): remove dead code.
9953 * print.c (debug_print_no_newline): only write to debugger if in
9956 * elhash.c (Fmake_hash_table): update doc string.
9958 * event-msw.c (mswindows_wnd_proc): don't allow processing of
9959 messages whilst in GC. This at least stops XEmacs crashing but has
9960 the potential for wierd behaviour.
9962 2000-07-31 Martin Buchholz <martin@xemacs.org>
9965 Make existence of s&m files optional.
9967 * s/bsd386.h: Remove HAVE_GETLOADAVG.
9968 * s/freebsd.h: Remove HAVE_GETLOADAVG.
9969 * s/gnu.h: Remove HAVE_GETLOADAVG.
9970 * s/netbsd.h: Remove HAVE_GETLOADAVG.
9971 * s/sol2.h: Remove HAVE_GETLOADAVG.
9972 * lisp.h: Remove getloadavg() declaration.
9974 Include <sys/loadavg.h> if available.
9975 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
9976 * config.h.in: Group together getloadavg()-related macros.
9977 Use only configure-time tests to detect getloadavg().
9979 2000-07-30 Martin Buchholz <martin@xemacs.org>
9981 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
9983 2000-07-25 Andy Piper <andy@xemacs.org>
9985 * syswindows.h: add tchar.h for native builds.
9987 * frame.c (syms_of_frame): remove set-glyph-image.
9989 * general-slots.h: add Qset_glyph_image.
9991 * glyphs-widget.c (layout_update): add domain arg to
9993 (syms_of_glyphs_widget): remove set-glyph-image.
9995 2000-07-23 Ben Wing <ben@xemacs.org>
9997 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10000 2000-07-22 Andy Piper <andy@xemacs.org>
10002 * symsinit.h: add syms_of_win32().
10004 * gui-msw.c (syms_of_gui_mswindows): remove
10005 Fmswindows_shell_execute.
10006 (Fmswindows_shell_execute): moved to win32.c.
10008 * emacs.c (main_1): add syms_of_win32 ().
10010 * win32.c (init_potentially_nonexistent_functions): rewrite in
10011 compiler-friendly terms.
10012 (Fmswindows_shell_execute): move here from gui-msw.c.
10013 (syms_of_win32): new.
10015 * device-msw.c (Fmswindows_printer_list): clean up args to
10017 Don't include tchar under cygwin or mingw.
10018 (msprinter_default_printer): make cygwin-friendly.
10020 2000-07-21 Andy Piper <andy@xemacs.org>
10022 * glyphs-widget.c (image_instantiator_tree_view): use tab
10023 control's update function.
10024 (layout_property): new function. Retrieve items.
10026 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10027 function. Re-populate the tree view from the pending items.
10029 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10030 is designated the parent if the domain is an image instance. This
10031 is needed so that dirtiness can be cascade up the hierarchy and
10032 thus for layout children to be redisplayed correctly.
10033 (allocate_image_instance): rename glyph -> parent.
10035 * redisplay.h: change redisplay_output_layout signature.
10037 * redisplay-msw.c (mswindows_output_display_block): use domain
10040 * redisplay-x.c (x_output_display_block): use domain arg.
10042 2000-07-10 Andy Piper <andy@xemacs.org>
10044 * window.c (Fset_window_configuration): add comment.
10046 * redisplay-output.c (compare_runes):
10047 (redisplay_output_subwindow): redisplay rather than update subwindow.
10048 (redisplay_output_layout): ditto.
10050 * redisplay-msw.c (mswindows_frame_output_end):
10051 (mswindows_frame_output_end): make defer window pos optional.
10053 * lisp.h: add Flast.
10055 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10056 normalize method. Change update method to be for changed
10057 instantiators. Add redisplay method. Change signature of layout
10059 (struct Lisp_Image_Instance): add instantiator.
10060 (IMAGE_INSTANCE_INSTANTIATOR): new.
10061 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10062 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10063 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10066 (find_instantiator_differences): new function.
10067 (Fset_instantiator_property): new convenience function.
10068 (check_image_instance_structure): strictly check for vector
10070 (normalize_image_instantiator): make non-static.
10071 (instantiate_image_instantiator): pass on dest_mask and use new
10072 signatures for image_instance_layout and friends.
10073 (mark_image_instance): mark the instantiator. Mark the subwindow
10074 face not the widget face.
10075 (image_instance_equal): add instantiator.
10076 (image_instance_hash): ditto.
10077 (allocate_image_instance): ditto.
10078 (Fset_image_instance_property): removed.
10079 (Fimage_instance_file_name): ditto.
10080 (Fcolorize_image_instance): ditto.
10081 (image_instance_layout): add offsets to be set.
10082 (update_image_instance): new function. update an image instance
10083 from its changed instantiator.
10084 (inherit_normalize): add dest_mask.
10085 (xbm_normalize): ditto.
10086 (xface_normalize): ditto.
10087 (xpm_normalize): ditto.
10088 (text_update): set_property -> update.
10089 (image_instantiate): use the glyph identity as a hash key, not the
10091 (glyph_width): use new image_instance_layout signature.
10092 (glyph_ascent): ditto.
10093 (glyph_descent): ditto.
10094 (glyph_height): ditto.
10095 (glyph_query_geometry): ressurrect.
10096 (glyph_layout): ditto.
10097 (redisplay_subwindow): update -> redisplay.
10098 (syms_of_glyphs): add Fset_instantiator_property.
10099 (image_instantiator_format_create): set_property -> update.
10102 (autodetect_normalize): add dest_maks to signature.
10103 (x_redisplay_subwindow): update -> redisplay.
10104 (x_redisplay_widget): ditto.
10105 (x_button_redisplay): ditto.
10106 (x_progress_gauge_redisplay): ditto.
10107 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10109 (console_type_create_glyphs_x): update -> redisplay.
10110 (image_instantiator_format_create_glyphs_x): ditto.
10113 (check_valid_instantiator): disallow glyphs in the instantiator,
10114 they must now be vectors.
10115 (check_valid_instantiator_list): ditto.
10116 (glyph_instantiator_to_glyph): use internal symbol rather than
10118 (widget_update): renamed from widget_set_property. Call cascaded
10120 (redisplay_widget): renamed from update_widget.
10121 (widget_layout): image_instance_layout now takes position as well
10123 (widget_normalize): ditto.
10124 (widget_instantiate): ditto.
10125 (tab_control_query_geometry) ditto.:
10126 (tab_control_update): renamed from tab_control_set_property.
10127 (progress_gauge_update): set_property -> update.
10128 (layout_normalize): rewrite so that child instantiators are
10130 (layout_update): new function. Create glyphs from the normalized
10131 children and cope with any other layout keywords. We do not
10132 instantiate children here that will be take care of by
10133 redisplay_output_layout.
10134 (layout_instantiate): call layout_update and not much else.
10135 (layout_post_instantiate): not sure whether this is needed
10137 (layout_query_geometry): query glyph geometry rather than
10138 image_instance geometry.
10139 (layout_layout): set offsets from pass in parameters. Use glyph
10140 geometry and layout functions rather than image instance ones.
10141 (native_layout_layout): ditto.
10142 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10143 (image_instantiator_widget): set_property -> update.
10144 (image_instantiator_buttons): ditto.
10145 (image_instantiator_progress_guage): ditto.
10146 (image_instantiator_tab_control): ditto.
10147 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10148 (image_instantiator_layout): add update method.
10150 * glyphs-msw.c (bmp_normalize):
10151 (mswindows_resource_normalize): add dest_mask so that it can be
10152 proprogated by layout_normalize.
10153 (begin_defer_window_pos): make optional because it may not be the
10154 right thing to do and it introduces differences with X.
10155 (mswindows_unmap_subwindow): ditto.
10156 (mswindows_map_subwindow): ditto.
10157 (mswindows_redisplay_subwindow): renamed from
10158 mswindows_update_subwindow.
10159 (mswindows_redisplay_widget): ditto.
10160 (mswindows_button_redisplay): renamed from
10161 mswindows_button_update. Update is now what the instantiation
10162 function does for a changed instantiator.
10163 (mswindows_progress_gauge_instantiate): set the progress value
10164 here if appropriate.
10165 (mswindows_tab_control_redisplay): cope with re-ordering of the
10166 members of the tab widget by simply selecting the new top
10167 widget. This makes things appear ok if you click on a tab.
10168 (mswindows_combo_box_instantiate): image_instance_layout now takes
10169 position as well as size.
10170 (mswindows_progress_gauge_redisplay): renamed from
10171 mswindows_progress_gauge_update.
10172 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10173 (image_instantiator_format_create_glyphs_mswindows): ditto.
10175 * glyphs-eimage.c (jpeg_normalize):
10178 (tiff_normalize): add dest_mask so that it can be proprogated by
10182 (print_hash_table):
10183 (hash_table_weakness_validate):
10184 (decode_hash_table_weakness):
10185 (Fhash_table_weakness):
10186 (Fhash_table_type):
10187 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10189 * console.h (struct console_methods): move update_* to
10192 2000-07-20 Ben Wing <ben@xemacs.org>
10194 * *.[ch] (XSETOBJ): remove unused middle argument.
10195 lisp-disunion.h: correct wrap_object() to one argument.
10197 2000-07-15 Ben Wing <ben@xemacs.org>
10200 * s/cygwin32.h (CYGWIN_CONV_PATH):
10201 Add missing logb prototype for v1.1.
10202 Use post-b20 names and alias to pre-b20 names when pre-b20.
10204 * s/windowsnt.h: [5].
10206 2000-07-15 Ben Wing <ben@xemacs.org>
10208 * Makefile.in.in (x_objs):
10209 * Makefile.in.in (sheap_objs):
10210 * Makefile.in.in (objs):
10211 added win32.o, cosmetic cleanups.
10213 * alloc.c (Fmake_byte_code):
10214 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10215 etc. macros which declare their own args now.
10217 * alloc.c (syms_of_alloc):
10218 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10221 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10223 * buffer.c (Fget_file_buffer):
10224 Fixed GCPRO problem.
10226 * buffer.c (get_truename_buffer):
10227 Fixed comment about GC checking.
10229 * buffer.c (syms_of_buffer):
10230 Undeclared those dedicated frame funs.
10234 Define convenience macros for internal/external conversions.
10235 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10236 and Qenvironment_variable_encoding for cleaner code.
10239 Remove dedicated-frame; in lisp.
10241 * bytecode.c (funcall_compiled_function):
10244 * bytecode.c (syms_of_bytecode):
10248 * console-msw.c (mswindows_show_console): Rewrote.
10250 * console-msw.c (Fmswindows_debugging_output): New.
10251 Sends to OutputDebugString (special MSWin debugger interface).
10253 * console-msw.c (Fmswindows_message_box):
10254 Fixed stupid bugs so it works when called from kill-emacs.
10256 * console-msw.c (syms_of_console_mswindows):
10257 Declare Fmswindows_debugging_output.
10260 New MSWin prototypes.
10262 * console-msw.h (struct mswindows_frame):
10263 New entry last-click-mods for improved button-modifier support.
10265 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10266 New struct entry `popup' with corresponding accessor.
10269 * console-x.c (split_up_display_spec):
10270 * console-x.c (get_display_arg_connection):
10271 * console-x.c (x_semi_canonicalize_console_connection):
10272 * console-x.c (x_canonicalize_device_connection):
10273 [[[6]]]: Change char to more specific type.
10274 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10276 * console-x.c (x_semi_canonicalize_console_connection):
10277 * console-x.c (x_canonicalize_device_connection):
10278 [[[9]]]: Fix up error signalling to use new structured error system.
10281 [[[4]]]: Define codesys aliases:
10282 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10283 Qx_color_name_encoding, Qx_display_name_encoding.
10285 * console.h (struct console_methods):
10286 New method make_dialog_box_internal supersedes older
10287 popup_dialog_box method.
10290 Define many new errors, part of new structured errors.
10292 * data.c (init_errors_once_early):
10293 * data.c (syms_of_data):
10296 * device-msw.c (mswindows_init_device):
10297 [[[5]]]: Cleanup to support NT 3.51.
10299 * device-msw.c (decode_devmode): Cleanup.
10301 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10302 * device-msw.c (mswindows_handle_print_dialog_box):
10303 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10304 * device-msw.c (syms_of_device_mswindows):
10305 Delete the dialog box primitives recently introduced by Kirill and
10306 instead interface to general dialog box interface.
10309 * device-x.c (compute_x_app_name):
10310 * device-x.c (x_init_device):
10311 * device-x.c (Fx_valid_keysym_name_p):
10312 * device-x.c (Fx_set_font_path):
10316 * device.h (wrap_device): New.
10317 First of its kind; meant to replace XSETDEVICE.
10319 * dialog-msw.c: Many file-dialog symbols.
10321 * dialog-msw.c (mswindows_register_popup_frame): New.
10322 * dialog-msw.c (mswindows_is_dialog_msg): New.
10323 For supporting kbd traversal in dialog boxes.
10325 * dialog-msw.c (dialog_proc):
10326 Support hitting ESC in dialogs.
10328 * dialog-msw.c (struct):
10329 Common dialog box errors.
10331 * dialog-msw.c (handle_file_dialog_box): New.
10332 Add file dialog code.
10334 * dialog-msw.c (handle_question_dialog_box):
10335 Redo existing code to support new question dialog syntax.
10337 * dialog-msw.c (console_type_create_dialog_mswindows):
10338 We support new dialog console method.
10340 * dialog-msw.c (syms_of_dialog_mswindows):
10341 * dialog-msw.c (vars_of_dialog_mswindows):
10342 New file dialog symbols, vars.
10345 * dialog-x.c (maybe_run_dbox_text_callback):
10346 * dialog-x.c (dbox_descriptor_to_widget_value):
10347 * dialog-x.c (x_make_dialog_box_internal):
10348 * dialog-x.c (console_type_create_dialog_x):
10349 Mule-ize entire file.
10350 Redo to support question dialog syntax.
10354 * dialog.c (Fmake_dialog_box_internal):
10355 * dialog.c (syms_of_dialog):
10356 Kill old popup-dialog-box, replace with new primitive.
10357 Just call device method or signal error.
10359 * eldap.c (Fldap_open):
10360 * eldap.c (Fldap_search_basic):
10361 * eldap.c (Fldap_add):
10362 * eldap.c (Fldap_modify):
10367 * emacs.c (make_arg_list_1):
10368 * emacs.c (make_arg_list):
10369 Mule-ize call to dll_init().
10373 * emacs.c (make_argc_argv):
10374 * emacs.c (free_argc_argv):
10375 * emacs.c (init_cmdargs):
10376 * emacs.c (main_1):
10377 * emacs.c (Fkill_emacs):
10378 * emacs.c (Fdump_emacs):
10379 Update comments about what can be used in syms_* etc.
10380 Call init_win32() when necessary.
10381 Fix up MS Win dialog box in kill-buffer to actually work right.
10392 * eval.c (condition_case_3):
10394 * eval.c (function_argcount):
10395 * eval.c (funcall_lambda):
10398 * eval.c (type_error): New.
10399 * eval.c (maybe_type_error): New.
10400 * eval.c (continuable_type_error): New.
10401 * eval.c (maybe_continuable_type_error): New.
10402 * eval.c (type_error_with_frob): New.
10403 * eval.c (maybe_type_error_with_frob): New.
10404 * eval.c (continuable_type_error_with_frob): New.
10405 * eval.c (maybe_continuable_type_error_with_frob): New.
10406 New functions for use with structured errors.
10409 * event-Xt.c (x_event_to_emacs_event):
10410 Buttons are now modifiers too.
10412 * event-Xt.c (emacs_Xt_current_event_timestamp):
10413 Implement new event method.
10414 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10417 * event-msw.c (ntpipe_shove_writer): [5].
10418 * event-msw.c (mswindows_enqueue_mouse_button_event):
10419 * event-msw.c (mswindows_drain_windows_queue):
10420 * event-msw.c (mswindows_wnd_proc): [7].
10421 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10422 * event-msw.c (mswindows_modifier_state):
10423 Throughout: support new button modifiers.
10425 * event-msw.c (emacs_mswindows_current_event_timestamp):
10426 Implement new event method.
10427 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10430 * event-stream.c (event_stream_current_event_timestamp): New.
10431 * event-stream.c (maybe_kbd_translate): New functionality.
10432 * event-stream.c (vars_of_event_stream):
10433 Document new kbd-translate-table functionality.
10435 * event-stream.c (Fcurrent_event_timestamp): New.
10436 New primitive for use in fabricated events.
10437 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10439 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10442 * events.c (Fmake_event):
10443 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10447 * events.c (format_event_object): fix gcc warnings.
10449 * events.c (Fevent_timestamp): Document new primitives.
10451 * events.c (TIMESTAMP_HALFSPACE): New.
10453 * events.c (Fevent_timestamp_lessp): New. New primitive for
10454 comparing timestamps correctly (half-space algorithm).
10456 * events.c (Fevent_modifier_bits): Doc fix.
10458 * events.c (Fevent_modifiers): Major doc addition.
10459 * events.c (event_x_y_pixel_internal): Typo fix.
10460 * events.c (syms_of_events): Declare new primitives.
10463 Update long comment for button modifiers, timestamps.
10465 * events.h (struct event_stream):
10466 New current_event_timestamp method.
10469 * extents.c (extent_in_region_p):
10470 * extents.c (decode_extent):
10471 * extents.c (Fset_extent_parent):
10472 * extents.c (decode_map_extents_flags):
10476 * extents.c (struct extent_at_arg):
10477 * extents.c (decode_extent_at_flag):
10478 * extents.c (extent_at_mapper):
10479 * extents.c (extent_at_bytind):
10480 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10481 * extents.c (Fextents_at): New primitive. [9].
10482 * extents.c (symbol_to_glyph_layout): [9].
10483 Support new primitive `extents-at'.
10486 * extents.c (get_text_property_bytind):
10487 extent_at_bytind has another arg.
10490 * extents.c (syms_of_extents): New primitive.
10492 * file-coding.c (Fmake_coding_system): [1].
10493 * file-coding.c (subsidiary_coding_system): fix gcc warning
10494 * file-coding.c (syms_of_file_coding): [2].
10496 * fileio.c (Fexpand_file_name):
10497 * fileio.c (Fsysnetunam):
10498 * fileio.c (Ffile_exists_p):
10499 * fileio.c (Ffile_executable_p):
10500 * fileio.c (Fverify_visited_file_modtime):
10503 * fileio.c (syms_of_fileio): [2].
10505 * filelock.c (lock_file_1):
10506 * filelock.c (current_lock_owner):
10507 * filelock.c (lock_if_free):
10508 * filelock.c (lock_file):
10509 * filelock.c (unlock_file):
10512 * fns.c (concat): Fix gcc warning.
10515 * fns.c (Fold_member):
10517 * fns.c (Fold_memq):
10518 * fns.c (memq_no_quit):
10520 * fns.c (Fold_assoc):
10522 * fns.c (Fold_assq):
10523 * fns.c (assq_no_quit):
10525 * fns.c (Fold_rassoc):
10527 * fns.c (Fold_rassq):
10528 * fns.c (rassq_no_quit):
10530 * fns.c (Fold_delete):
10532 * fns.c (Fold_delq):
10533 * fns.c (delq_no_quit):
10534 * fns.c (Fremassoc):
10535 * fns.c (Fremassq):
10536 * fns.c (remassq_no_quit):
10537 * fns.c (Fremrassoc):
10538 * fns.c (Fremrassq):
10539 * fns.c (remrassq_no_quit):
10540 * fns.c (Freverse):
10544 * frame-msw.c (mswindows_init_frame_1):
10545 * frame-msw.c (mswindows_delete_frame):
10546 Register popups with dialog code so keyboard traversing works.
10548 * frame-tty.c (tty_raise_frame_no_select): [1].
10551 * frame-x.c (x_set_frame_text_value):
10552 * frame-x.c (x_set_frame_properties):
10553 * frame-x.c (x_create_widgets):
10557 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10559 * frame.h (wrap_frame): New.
10560 Macro like wrap_device.
10563 * general.c (SYMBOL):
10564 * general.c (syms_of_general):
10565 Major reorg. This is now just a wrapper and symbols themselves
10566 are listed in general-slots.h.
10568 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10569 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10571 * glyphs-msw.c (mswindows_native_layout_instantiate):
10572 Add DS_CONTROL so keyboard traversal will work.
10575 * glyphs-widget.c (syms_of_glyphs_widget):
10576 Move some symbols to general-slots.h.
10579 * glyphs-x.c (xbm_instantiate_1):
10580 * glyphs-x.c (x_xbm_instantiate):
10581 * glyphs-x.c (x_xface_instantiate):
10582 * glyphs-x.c (autodetect_instantiate):
10583 * glyphs-x.c (cursor_font_instantiate):
10584 * glyphs-x.c (x_update_widget):
10585 * glyphs-x.c (x_widget_instantiate):
10586 * glyphs.c (bitmap_to_lisp_data):
10587 * glyphs.c (pixmap_to_lisp_data):
10590 * glyphs.c (syms_of_glyphs):
10594 * gui-x.c (print_widget_value):
10595 * gui-x.c (menu_separator_style_and_to_external):
10596 * gui-x.c (add_accel_and_to_external):
10597 * gui-x.c (button_item_to_widget_value):
10598 * gui-x.c (gui_items_to_widget_values_1):
10599 * gui-x.c (gui_items_to_widget_values):
10600 * gui-x.c (syms_of_gui_x):
10601 * gui-x.c (vars_of_gui_x):
10602 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10606 Muleize, prototype changes matching gui-x.c.
10609 * gui.c (separator_string_p):
10610 * gui.c (gui_item_add_keyval_pair):
10611 * gui.c (make_gui_item_from_keywords_internal):
10612 * gui.c (signal_too_long_error):
10613 * gui.c (parse_gui_item_tree_item):
10614 * gui.c (syms_of_gui):
10615 * gui.c (vars_of_gui):
10617 menu-no-selection-hook moved here (used by MSWin).
10618 Move some symbols to general-slots.h.
10622 * insdel.c (get_buffer_pos_char):
10623 * insdel.c (get_buffer_range_char):
10626 * keymap.c (keymap_lookup_directly):
10627 * keymap.c (keymap_store):
10628 * keymap.c (ensure_meta_prefix_char_keymapp):
10629 * keymap.c (describe_map):
10631 Support new button modifiers.
10633 * lisp-disunion.h (wrap_object):
10634 * lisp-disunion.h (XSETOBJ):
10635 Rename make_obj to wrap_object.
10638 * lisp-union.h (make_int):
10639 * lisp-union.h (make_char):
10640 Support wrap_object.
10643 * lisp.h (LIST_LOOP):
10644 * lisp.h (EXTERNAL_LIST_LOOP):
10645 * lisp.h (LIST_LOOP_2):
10646 * lisp.h (EXTERNAL_LIST_LOOP_1):
10647 * lisp.h (EXTERNAL_LIST_LOOP_2):
10648 * lisp.h (EXTERNAL_LIST_LOOP_3):
10649 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10650 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10651 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10652 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10653 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10654 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10655 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10656 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10657 * lisp.h (struct Lisp_Symbol):
10658 * lisp.h (maybe_continuable_error_with_frob):
10659 Fix up section comments.
10660 Add new types for char to indicate usage.
10661 Delete symbols auto-generated from general-slots.h.
10662 Add prototypes for structured error functions.
10663 Add long comments describing looping macros and change interface
10664 so that lvalues are automatically declared.
10665 Add NO_DECLARE macro in case callers want to declare lvalues
10668 * lread.c (read_syntax_error):
10669 * lread.c (continuable_read_syntax_error):
10670 * lread.c (read_structure):
10671 * lread.c (sequence_reader):
10672 * lread.c (read_list_conser):
10673 * lread.c (read_compiled_function):
10674 Rename syntax_error and continuable_syntax_error to avoid clash
10675 with same-named structured error functions.
10677 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10678 * menubar-msw.c (populate_menu_add_item):
10679 * menubar-msw.c (populate_or_checksum_helper):
10684 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10685 Mule-ize whole file.
10687 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10689 * mule-charset.c (Fmake_charset):
10690 * mule-wnnfns.c (Fwnn_set_param):
10693 * ntproc.c (create_child):
10694 * ntproc.c (Fwin32_set_current_locale):
10695 Add comments portending doom.
10698 * objects-msw.c (old_font_enum_callback_2):
10699 * objects-msw.c (font_enum_callback_1):
10700 * objects-msw.c (mswindows_enumerate_fonts):
10704 * objects-x.c (allocate_nearest_color):
10705 * objects-x.c (x_parse_nearest_color):
10706 * objects-x.c (x_initialize_color_instance):
10707 * objects-x.c (x_print_color_instance):
10708 * objects-x.c (x_finalize_color_instance):
10709 * objects-x.c (x_valid_color_name_p):
10710 * objects-x.c (x_initialize_font_instance):
10711 * objects-x.c (x_print_font_instance):
10712 * objects-x.c (valid_x_font_name_p):
10713 * objects-x.c (truename_via_FONT_prop):
10714 * objects-x.c (truename_via_random_props):
10715 * objects-x.c (truename_via_XListFonts):
10716 * objects-x.c (x_font_truename):
10717 * objects-x.c (x_font_instance_truename):
10718 * objects-x.c (x_font_instance_properties):
10719 * objects-x.c (x_list_fonts):
10720 * objects-x.c (x_find_charset_font):
10721 Mule-ize entire file.
10728 * print.c (std_handle_out_external):
10729 * print.c (debug_print_no_newline):
10730 * print.c (syms_of_print):
10731 Output to all debugger kinds in debug-print.
10732 Fix console-output code under MSWin to actually work.
10734 * process-nt.c (send_signal):
10735 * process-nt.c (nt_create_process):
10736 Use newer Unicode macros.
10738 * process-unix.c (unix_create_process):
10739 * process-unix.c (unix_canonicalize_host_name):
10740 * process-unix.c (unix_open_network_stream):
10746 * search.c (syms_of_search):
10749 * select-msw.c (mswindows_destroy_selection):
10752 * select-x.c (symbol_to_x_atom):
10755 * select.c (syms_of_select):
10758 * sound.c (Fplay_sound_file):
10762 * specifier.c (decode_specifier_type):
10763 * specifier.c (Fvalid_specifier_locale_type_p):
10764 * specifier.c (check_valid_locale_or_locale_type):
10765 * specifier.c (decode_locale):
10766 * specifier.c (decode_locale_type):
10767 * specifier.c (decode_locale_list):
10768 * specifier.c (check_valid_domain):
10769 * specifier.c (decode_specifier_tag_set):
10770 * specifier.c (Fcanonicalize_tag_set):
10771 * specifier.c (Fdefine_specifier_tag):
10772 * specifier.c (Fspecifier_tag_predicate):
10773 * specifier.c (check_valid_inst_list):
10774 * specifier.c (check_valid_spec_list):
10775 * specifier.c (decode_how_to_add_specification):
10776 * specifier.c (check_modifiable_specifier):
10777 * specifier.c (specifier_add_spec):
10778 * specifier.c (boolean_validate):
10779 * specifier.c (display_table_validate):
10782 * specifier.c (syms_of_specifier):
10783 Move some symbols to general-slots.h.
10787 * symbols.c (Fmapatoms):
10788 * symbols.c (Fapropos_internal):
10791 * symbols.c (set_default_buffer_slot_variable):
10792 * symbols.c (set_default_console_slot_variable):
10795 * symbols.c (defsymbol_massage_name_1):
10796 * symbols.c (defkeyword_massage_name):
10797 * symbols.c (deferror_1):
10798 * symbols.c (deferror):
10799 * symbols.c (deferror_massage_name_and_message):
10801 * symeval.h (DEFSYMBOL):
10802 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10804 * symbols.c (syms_of_symbols):
10808 * symsinit.h (init_win32): New.
10809 Also new is syms_of_dialog_mswindows.
10812 Add new Unicode macros, missing Cygwin wide-char functions,
10813 convenience conversion macros for Qmswindows_tstr, macros for
10814 encapsulating required MSWin <-> Cygwin filename conversions,
10815 prototype for dynamically-extracted (not in NT 3.51) functions.
10820 * tooltalk.c (Fadd_tooltalk_message_arg):
10821 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10822 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10825 * tooltalk.c (syms_of_tooltalk):
10829 * unexnt.c (unexec):
10830 Fix up headers, declaration of unexec() to be more standard.
10832 2000-07-20 Martin Buchholz <martin@xemacs.org>
10834 * offix.h: Revert change to guard macros - they're used in offix.c!
10836 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10838 * lisp.h: Defsubred Fdelete.
10840 * console-msw.h: (msprinter_default_printer): Added.
10842 * console-msw.c (msprinter_canonicalize_console_connection):
10843 (msprinter_canonicalize_device_connection): Added.
10845 * device-msw.c (msprinter_default_printer):
10846 (Fmswingows_get_default_printer):
10847 (signal_enum_priner_error):
10848 (Fmswingows_printer_list): Added.
10850 2000-07-19 Martin Buchholz <martin@xemacs.org>
10852 * XEmacs 21.2.35 is released.
10854 2000-07-19 Martin Buchholz <martin@xemacs.org>
10856 * select-x.c (x_handle_selection_request):
10857 Text selected in xemacs and pasted into xterm failed to appear.
10858 Spelling fixes and cosmetic changes.
10860 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10862 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10863 XEmacs frame (fix for doubling chars in dialog boxes).
10865 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10867 * select.c (select_convert_in, select_convert_out):
10868 Don't call intern() every time.
10870 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10871 * select.c (vars_of_select): Initialise them.
10873 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10875 * select.c (selection-coercible-types): New.
10877 * select.c (own-selection-internal):
10878 * select.c (get-selection-internal):
10879 MULE bug fix - these should default to COMPOUND_TEXT and not
10880 STRING for MULE. I think.
10882 * select.c (select_convert_out): Use selection-coercible-types
10883 to find types that we can attempt to perform coercions on.
10885 2000-07-18 Martin Buchholz <martin@xemacs.org>
10889 Add coding: cookie to identify encoding.
10891 * mule-canna.c (CANNA_mode_keys): make static.
10892 Use proper prototypes, even for functions of no arguments.
10893 Remove external prototype for Fding().
10895 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10897 * select.c (syms_of_select): Add missing DEFSUBR.
10899 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10901 * select.c (get_selection_internal, own_selection_internal):
10902 Make the type default to STRING, rather than placing a nil type
10903 into Vselection_alist.
10905 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10907 * gpmevent.c (tty_selection_exists_p):
10908 * gpmevent.c (tty_own_selection):
10909 Updated parameter lists.
10911 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10913 * select.h (selection-alist): Removed declaration.
10915 * select.h (get_local_selection):
10916 * select.c (get_local_selection):
10919 * select.h (convert_selection): Removed declaration.
10920 * select.c (convert_selection): Removed.
10921 This function belongs in Lisp.
10923 * select.h (select_convert_in): Declare.
10924 * select.h (select_convert_out): Declare.
10925 * select.c (select_convert_in): New.
10926 * select.c (select_convert_out): New.
10927 New conversion functions for other files to call.
10929 * select.h (select_notify_buffer_kill): Declare.
10930 * select.c (select_notify_buffer_kill): New.
10931 New functions that get called from kill-buffer.
10933 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10934 X-specific lisp code.
10936 * select.h: Declare some of the lisp-visible functions for
10939 * select.c (clean_local_selection_data): Removed. This was
10940 a disgusting function, and previously should have been in
10941 select-x.c in any case. The functionality is now provided
10942 in select-convert-from-integer (select.el).
10944 * select.c (available-selection-types): Fixed stupidity where
10945 INTEGER and ATOM got added twice. Also add STRING when we see an
10948 * select.c (get-selection-internal): Removed symbol stripping. No
10949 longer causes conversion when data comes from the internal cache.
10951 * select.c (syms_of_select): Added new functions.
10953 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
10954 error checking - previously this called abort!
10956 * select-x.c (x_own_selection): Changed comment.
10958 * select-x.c (x_handle_selection_request): Use select_convert_out.
10959 Don't mess with selection-alist; it's an internal variable of select.c.
10961 * select-x.c (x_get_foreign_selection): Use select_convert_in.
10963 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
10964 rather than messing with selection-alist.
10966 * select-msw.c (mswindows_get_foreign_selection):
10967 Use TO_INTERNAL_FORMAT rather than hacking.
10969 2000-07-14 Martin Buchholz <martin@xemacs.org>
10971 * process-unix.c (unix_open_multicast_group):
10972 (unix_open_multicast_group): Remove useless casts.
10974 2000-07-13 Martin Buchholz <martin@xemacs.org>
10976 * sound.c (Fplay_sound): Fix `unused variable' warning.
10978 * emacs.c (main): Use correct type for _environ on SCO5.
10980 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
10982 * console.h (own_selection_method):
10983 * console.h (selection_exists_p_method):
10984 * console.h (available_selection_types_method): New.
10985 * console.h (register_selection_data_type_method): New.
10986 * console.h (selection_data_type_name): New.
10988 * console-msw.h (mswindows_destroy_selection): Declare it. New
10989 function & alist to track GlobalAlloc()'d handles that need
10990 releasing when the clipboard data gets replaced or emptied.
10992 * event-msw.c (mswindows_wnd_proc): Call it.
10994 * lisp.h, general.c (Qappend): New symbol representing a
10997 * select.c (own-selection-internal):
10998 * select.c (selection-exists-p):
10999 * select.c (available-selection-types): New.
11000 * select.c (register-selection-data-type): New.
11001 * select.c (selection-data-type-name): New. New functions to deal
11002 with device-specific selection data formats.
11003 * select.c (selection-converter-out-alist): Renamed.
11004 * select.c (selection-converter-in-alist): New.
11005 * select.c (selection-appender-alist): New. Added new alists.
11006 * select.c (syms_of_select, vars_of_select): Added new symbols &
11008 * select.c (get_local_selection): Split.
11009 * select.c: Removed spurious type checking - selections may now be
11010 of any type, not just strings.
11011 * select.c (own-selection-internal):
11013 * select.h, select.c (convert_selection): New. Created
11014 convert_selection() function based on get_local_selection().
11015 * select.h, select.c (QCF_*): New symbols representing mswindows
11017 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11018 symbols representing `how-to-add' modes.
11020 * select-msw.c (x_sym_p): New.
11021 * select-msw.c (symbol_to_ms_cf): New.
11022 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11023 symbols & clipboard formats. Can also handle string names.
11024 * select-msw.c (mswindows_own_selection):
11025 * select-msw.c (mswindows_selection_exists_p):
11026 Added `data-type' parameter. Use it.
11027 * select-msw.c (mswindows_available_selection_types): New.
11028 * select-msw.c (mswindows_register_selection_data_type): New.
11029 * select-msw.c (mswindows_selection_data_type_name): New.
11030 * select-msw.c (mswindows_own_selection):
11031 * select-msw.c (mswindows_get_foreign_selection):
11032 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11033 * select-msw.c (console_create_select_mswindows): Added new methods.
11034 * select-msw.c (mswindows_destroy_selection): New.
11035 * select-msw.c (Vhandle_alist): New list.
11036 * select-msw.c (mswindows_own_selection):
11038 * select-x.c (x_own_selection):
11039 * select-x.c (x_selection_exists_p):
11040 * select-x.c: Added some comments about maybe using new
11042 * select-x.c (x_own_selection):
11044 * specifier.c: Remove definition of Qappend (now in general.c)
11045 * specifier.c (syms_of_specifier): Remove Qappend.
11047 2000-07-12 Martin Buchholz <martin@xemacs.org>
11049 * config.h.in: Add socklen_t.
11051 * s/decosf4-0.h: No special compiler flags needed or desired.
11052 In particular, undefine _BSD for DEC OSF 4.0.
11054 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11056 * redisplay-msw.c (msprinter_frame_output_end): Added.
11057 (console_type_create_redisplay_mswindows): Referred the above.
11059 * frame.c (setup_frame_without_minibuffer): Do not create a
11060 default minibuffer frame on a printer device.
11062 * frame-msw.c (apply_dc_geometry): Added.
11063 (msprinter_start_page):
11064 (msprinter_init_frame_3):
11065 (msprinter_eject_page): Use it.
11067 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11068 and removed residual duplex and orientation properties.
11070 2000-07-11 Martin Buchholz <martin@xemacs.org>
11072 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11074 * unexalpha.c: Remove system prototypes from C sources!
11076 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11078 * eval.c: Remove references to M-x edit-options in DEFUNs for
11079 `defvar' and `defconst'.
11081 2000-07-09 Martin Buchholz <martin@xemacs.org>
11083 * config.h.in: Remove SMART_INCLUDE hackery.
11085 PostgreSQL hacking:
11086 * config.h.in: Don't use SMART_INCLUDE.
11088 * postgresql.h: Include libpq-fe.h here. Fix typo.
11089 * inline.c: Simply #include "postgresql.h"
11091 - Don't use SMART_INCLUDE
11092 - Use simply "const".
11093 - Use standard doc string conventions.
11094 - Use correct type for result of PQstatus.
11096 2000-07-09 Martin Buchholz <martin@xemacs.org>
11098 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11100 C++ compilation changes.
11101 * config.h.in (EXTERN_C): Define.
11102 * config.h.in (not): This is also a C++ keyword.
11103 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11104 * cm.c: Use EXTERN_C.
11105 * redisplay-tty.c: Use EXTERN_C.
11106 * sysdep.c: Use EXTERN_C. Remove Gould support.
11108 2000-07-09 Martin Buchholz <martin@xemacs.org>
11110 * general.c: Remove duplicate definition for Qfunction.
11112 2000-07-08 Ben Wing <ben@xemacs.org>
11114 * device-msw.c (msprinter_init_device):
11115 * device-msw.c (sync_printer_with_devmode):
11116 * device-msw.c (handle_devmode_changes):
11117 * device-msw.c (print_dialog_worker):
11118 * device-msw.c (Fmsprinter_apply_settings):
11119 * device-msw.c (hash_devmode):
11120 * device-msw.c (Fmsprinter_settings_despecialize):
11121 use Qmswindows_tstr, not Qctext.
11123 * vm-limit.c (check_memory_limits):
11124 avoid infinite loop printing warning messages.
11126 2000-07-05 Craig Lanning <lanning@scra.org>
11128 * Makefile.in.in: Add support for including the Windows resources
11129 when building with the cygwin and mingw targets.
11131 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11132 not set or not correct.
11133 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11134 (init_initial_directory): Don't try to use $PWD on the
11135 WIN32_NATIVE target.
11138 [[Add -mwindows to eliminate console window.]] not required --ben
11139 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11140 (MAIL_USE_POP): removed; now handled by configure.
11142 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11143 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11144 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11145 (MAIL_USE_POP): removed; now handled by configure.
11146 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11147 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11148 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11150 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11151 up from <winsock.h> via systime.h.
11152 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11153 (getpagesize): from Dan Holmsand, added.
11154 Added #endif which was left dangling by Ben's mega patch; added
11155 comment to help prevent this in the future.
11157 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11159 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11161 * console-msw.h (struct mswindows_device): Removed unnecessary
11162 cached device geometry values.
11163 Added update_tick and an accessor macro.
11164 (Lisp_Devmode): Added lrecord declaration.
11165 (struct msprinter_device): Contain devmode as a Lisp object.
11166 Added mswindows_get_selected_frame_hwnd();
11168 * console.h (struct console_methods): Indentation nitpicking.
11170 * device-msw.c (mswindows_init_device): Do not initialize geometry
11171 cache. Initialize update tick.
11172 (mswindows_device_system_metrics): Ask the device for its geometry.
11173 (global_free_2_maybe):
11174 (devmode_to_hglobal):
11175 (handle_printer_changes):
11176 (ensure_not_printing):
11177 (print_dialog_worker):
11178 (Fmsprinter_print_setup_dialog):
11179 (Fmsprinter_print_dialog):
11180 (plist_get_margin):
11181 (plist_set_margin):
11182 (Fmsprinter_page_setup_dialog): Added functions.
11183 (sync_printer_with_devmode):
11184 (handle_devmode_changes):
11185 (Fmsprinter_get_settings):
11186 (Fmsprinter_select_settings):
11187 (Fmsprinter_apply_settings):
11188 (allocate_devmode):
11189 (Fmsprinter_settings_copy):
11190 (Fmsprinter_settings_despecialize):
11192 (finalize_devmode):
11194 (hash_devmode): Added functions
11195 (syms_of_device_mswindows): Init devmode lrecord class.
11197 * device.h: Added an exfun for find-device.
11199 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11200 geometry; although, recreate the device compatible DC.
11202 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11203 (msprinter_init_frame_3):
11204 (msprinter_frame_property):
11205 (msprinter_internal_frame_property_p):
11206 (msprinter_frame_properties):
11207 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11208 print job properties (will move to device settings).
11210 * lisp.h: Added symbols.
11212 * general.c (syms_of_general): Declared them.
11214 * hash.c (string_hash): Added.
11216 * lrecord.h (lrecord_type): Added devmode lrecord type.
11218 2000-07-02 Mike Sperber <mike@xemacs.org>
11220 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11223 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11225 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11228 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11230 * data.c (Fstring_to_number): Don't recognize floating point if
11233 2000-06-22 Martin Buchholz <martin@xemacs.org>
11235 * glyphs-widget.c (tab_control_query_geometry):
11236 (widget_query_geometry):
11237 (button_query_geometry):
11238 * glyphs.c (text_query_geometry):
11239 Enforce type correctness.
11241 2000-06-18 Martin Buchholz <martin@xemacs.org>
11243 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11244 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11246 2000-06-17 Martin Buchholz <martin@xemacs.org>
11248 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11249 conflicts with gcc's fixincluded version of FOO.h.
11251 * glyphs.h (image_instance_geometry): Remove trailing `,'
11253 2000-06-08 Mike Alexander <mta@arbortext.com>
11255 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11256 (shove_thread): Don't write the same output twice
11257 (make_ntpipe_output_stream): Increase priority of shove thread
11258 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11260 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11263 2000-06-12 Ben Wing <ben@xemacs.org>
11265 * s\mingw32.h (sigset):
11266 * s\windowsnt.h (sigset):
11267 rename msw_ to mswindows_ for consistency with general convention.
11269 2000-06-12 Ben Wing <ben@xemacs.org>
11272 * console-msw.c (mswindows_get_console_hwnd):
11273 * console-msw.c (mswindows_ensure_console_allocated):
11274 * console-msw.c (mswindows_hide_console):
11275 * console-msw.c (mswindows_show_console):
11276 * console-msw.c (mswindows_ensure_console_buffered):
11277 * console-msw.c (mswindows_output_console_string):
11278 * console-msw.c (mswindows_windows9x_p):
11280 * device-msw.c (mswindows_get_workspace_coords):
11281 * device-msw.c (mswindows_device_system_metrics):
11282 * dialog-msw.c (mswindows_popup_dialog_box):
11283 * event-msw.c (mswindows_wnd_proc):
11284 * frame-msw.c (mswindows_size_frame_internal):
11285 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11286 * menubar-msw.c (displayable_menu_item):
11287 * menubar-msw.c (mswindows_char_is_accelerator):
11289 * nt.c (mswindows_sigset):
11290 * nt.c (mswindows_sigrelse):
11291 * nt.c (mswindows_sigpause):
11292 * nt.c (mswindows_raise):
11293 * nt.c (timer_proc):
11295 * ntproc.c (find_child_console):
11296 * ntproc.c (sys_kill):
11298 * print.c (std_handle_out_external):
11299 * process-nt.c (find_child_console):
11300 * process-nt.c (send_signal_the_95_way):
11301 * process-nt.c (ensure_console_window_exists):
11302 * process-nt.c (nt_create_process):
11304 rename msw_ to mswindows_ for consistency with general convention.
11308 include nt.h, not syswindows.h.
11310 * nt.c (mswindows_fstat):
11311 * nt.c (mswindows_stat):
11312 prefix mswindows_ instead of attempting to directly override the
11313 library functions. fix declarations.
11316 include syswindows.h. move some sysdep.h stuff here.
11319 include syswindows.h, not <windows.h>.
11327 * sysdep.c (sys_fstat):
11328 * sysdep.c (sys_stat):
11329 call mswindows versions when appropriate.
11332 move mswin decls to nt.h.
11335 add long comment describing appropriate use of the various windows
11338 2000-06-11 Ben Wing <ben@xemacs.org>
11340 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11342 2000-06-10 Ben Wing <ben@xemacs.org>
11344 * Makefile.in.in (release):
11345 Correction to make sure xemacs.exe always dumped when correct.
11349 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11351 * buffer.c (set_buffer_internal):
11352 [[[[2]]]]: Remove HAVE_FEP code.
11354 * buffer.c (init_initial_directory):
11358 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11362 * callproc.c (call_process_cleanup):
11363 * callproc.c (Fold_call_process_internal):
11364 * callproc.c (child_setup):
11365 * callproc.c (getenv_internal):
11366 * callproc.c (init_callproc):
11367 * callproc.c (vars_of_callproc):
11368 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11369 __CYGWIN32__ -> CYGWIN.
11370 DOS_NT -> WIN32_NATIVE.
11371 Remove MSDOS support/references, converting to WIN32_NATIVE
11373 __MINGW32__ -> MINGW.
11374 Fix windows.h includes.
11375 Remove bogus HAVE_NTGUI.
11381 mswindows_message_outputted added for use in allowing startup
11382 errors on the console to be seen.
11384 * console-msw.c (msw_ensure_console_allocated):
11385 * console-msw.c (msw_output_console_string):
11386 * console-msw.c (DHEADER):
11387 * console-msw.c (DOPAQUE_DATA):
11388 * console-msw.c (DEVENT):
11389 * console-msw.c (DCONS):
11390 * console-msw.c (DCONSCDR):
11391 * console-msw.c (DSTRING):
11392 * console-msw.c (DVECTOR):
11393 * console-msw.c (DSYMBOL):
11394 * console-msw.c (DSYMNAME):
11397 * console-stream.c (stream_init_console):
11398 Fix text/binary problems.
11401 * device-msw.c (mswindows_finish_init_device):
11402 * device-msw.c (mswindows_delete_device):
11405 * device.c (handle_asynch_device_change):
11409 * dgif_lib.c (DGifOpenFileName):
11410 * dgif_lib.c (DGifOpenFileHandle):
11411 * dgif_lib.c (DGifGetLine):
11412 * dgif_lib.c (DGifGetPixel):
11413 Added config.h/lisp.h, fix up includes.
11420 * dired.c (file_name_completion):
11421 * dired.c (Ffile_attributes):
11422 * dired.c (syms_of_dired):
11426 * dumper.c (pdump_file_unmap):
11427 * dumper.c (pdump_load):
11431 * editfns.c (Ftemp_directory):
11432 * editfns.c (user_login_name):
11433 * editfns.c (Fuser_real_login_name):
11434 * editfns.c (get_home_directory):
11437 * elhash.c (finish_marking_weak_hash_tables):
11438 [[[[5]]]]: Fix GCC warnings.
11441 * emacs.c (mswindows_handle_hardware_exceptions):
11442 * emacs.c (make_arg_list_1):
11443 * emacs.c (main_1):
11444 * emacs.c (Fkill_emacs):
11445 * emacs.c (Fdump_emacs):
11447 Fix problems with nested crashes, add long comment.
11449 * event-Xt.c (init_event_Xt_late):
11453 * event-msw.c (mswindows_dde_callback):
11454 * event-msw.c (mswindows_handle_sticky_modifiers):
11455 * event-msw.c (mswindows_wnd_proc):
11459 * events.c (character_to_event):
11463 * fileio.c (Ffile_name_directory):
11464 * fileio.c (Ffile_name_nondirectory):
11465 * fileio.c (directory_file_name):
11466 * fileio.c (Fexpand_file_name):
11467 * fileio.c (Fsubstitute_in_file_name):
11468 * fileio.c (Ffile_name_absolute_p):
11469 * fileio.c (check_executable):
11470 * fileio.c (Ffile_readable_p):
11471 * fileio.c (Ffile_accessible_directory_p):
11472 * fileio.c (Ffile_modes):
11473 * fileio.c (Funix_sync):
11474 * fileio.c (vars_of_fileio):
11477 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11479 Expand getdefdir defn.
11480 Fix bogus rename() comment.
11482 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11483 to use standard XEmacs include files, e.g. sysfile.h, rather
11484 than system-specific includes.
11490 * frame.c (vars_of_frame):
11494 * getloadavg.c (getloadavg):
11496 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11497 (We don't use it elsewhere in the code; just add a comment.)
11504 * glyphs-msw.c (mswindows_resource_instantiate):
11507 * glyphs-x.c (x_native_layout_instantiate):
11510 * gui-msw.c (Fmswindows_shell_execute):
11519 * lread.c (locate_file_in_directory_mapper):
11526 * mem-limits.h (get_lim_data):
11538 * nt.c (rva_to_section):
11539 * nt.c (mswindows_executable_type):
11541 Fix closedir() defn.
11544 [[[[8]]]]: *_OK defs moved to sysfile.h.
11553 * print.c (std_handle_out_external):
11557 * process-nt.c (nt_create_process):
11559 try to fix process quoting somewhat.
11561 * process-unix.c (unix_create_process):
11565 * process.c (vars_of_process):
11572 * realpath.c (xrealpath):
11575 * redisplay-tty.c (init_tty_for_redisplay):
11585 * sheap.c (more_static_core):
11586 * sheap.c (report_sheap_usage):
11590 * signal.c (alarm_signal):
11597 * strftime.c (zone_name):
11600 * symsinit.h (init_sunpro):
11604 commctrl.h not in Cygwin b20.1.
11607 * sysdep.c (endif):
11608 * sysdep.c (sys_subshell):
11609 * sysdep.c (init_baud_rate):
11610 * sysdep.c (emacs_get_tty):
11611 * sysdep.c (emacs_set_tty):
11612 * sysdep.c (tty_init_sys_modes_on_device):
11613 * sysdep.c (init_system_name):
11614 * sysdep.c (sys_open):
11615 * sysdep.c (interruptible_open):
11616 * sysdep.c (sys_fopen):
11617 * sysdep.c (sys_mkdir):
11618 * sysdep.c (sys_rename):
11619 * sysdep.c (get_process_times_1):
11626 * sysdir.h (DIRENTRY_NONEMPTY):
11629 * sysdll.c (dll_init):
11635 added text/binary defs.
11641 * sysproc.h (EDESTADDRREQ):
11642 * sysproc.h (poll_fds_for_input):
11659 Always define WIN32_LEAN_AND_MEAN.
11661 * unexcw.c (unexec):
11665 * unexec.c (copy_text_and_data):
11666 * unexec.c (adjust_lnnoptrs):
11670 * unexnt.c (_start):
11673 2000-06-07 Ben Wing <ben@xemacs.org>
11675 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11676 was used only as a model. We've long since extracted any useful
11677 logic or code out of this. (I just did an exhaustive search.)
11679 * s\msdos.h: Removed.
11681 * s\windows95.h: Removed.
11683 2000-06-10 Ben Wing <ben@xemacs.org>
11687 Don't use extern with fun defs.
11691 Remove nt\inc include.
11692 Remove getdisk, getdefdir. (The former is unused, the latter
11693 expanded in fileio.h.)
11696 * s\windowsnt.h (WIN32_NATIVE):
11697 * s\windowsnt.h (HAVE_STRCASECMP):
11699 Add long comment about preprocessor changes.
11700 Remove getdisk, getdefdir. (The former is unused, the latter
11701 expanded in fileio.h.)
11703 2000-06-10 Ben Wing <ben@xemacs.org>
11712 Remove bogus/unused NO_SOCK_SIGIO.
11714 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11716 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11719 2000-06-04 Mike Sperber <mike@xemacs.org>
11721 * casetab.c (set_case_table): For `set-standard-case-table',
11722 actually deposit the new case tables where the rest of XEmacs can
11725 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11727 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11729 2000-06-05 Ben Wing <ben@xemacs.org>
11731 * callproc.c (child_setup): Don't do close_load_descs() under
11732 MS Windows. Put in a comment explaining why.
11734 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11736 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11737 Toolkit shell" which breaks `kill-compilation' on Windows NT
11738 native, retaining STDERR handling improvements.
11740 2000-06-01 Andreas Jaeger <aj@suse.de>
11742 * s/s390.h: Support for S390, based on a patch by Martin
11743 Schwidefsky <schwidefsky@de.ibm.com>.
11745 2000-05-30 Andy Piper <andy@xemacs.org>
11747 * window.c (allocate_window):
11748 (make_dummy_parent):
11749 (Fset_window_configuration): use new hashtable type.
11751 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11752 (struct image_instantiator_methods):
11753 (struct Lisp_Image_Instance): make instance geometry signed.
11755 * glyphs.c (instantiate_image_instantiator):
11756 (image_instance_query_geometry):
11757 (image_instance_layout):
11758 (image_instance_layout):
11759 (query_string_geometry):
11760 (text_query_geometry):
11761 (image_instantiate):
11762 (image_instantiate):
11763 (cache_subwindow_instance_in_frame_maybe):
11764 (subwindow_query_geometry): make instance geometry signed.
11766 * glyphs-widget.c (widget_query_geometry):
11768 (button_query_geometry):
11769 (tree_view_query_geometry):
11770 (tab_control_query_geometry):
11771 (layout_query_geometry):
11773 (native_layout_layout): make instance geometry signed.
11775 2000-05-29 Olivier Galibert <galibert@pobox.com>
11777 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11780 * general.c (syms_of_general): Add Qfull_assoc symbol.
11782 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11784 (decode_weak_list_type): Decode full-assoc type.
11785 (encode_weak_list_type): Encode full-assoc type.
11786 (Fmake_weak_list): Update doc string.
11788 2000-05-30 Andy Piper <andy@xemacs.org>
11790 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11792 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11793 (decode_hash_table_weakness): ditto.
11794 (Fhash_table_weakness): ditto.
11795 (Fhash_table_type): ditto.
11796 (finish_marking_weak_hash_tables): ditto.
11797 (hash_table_weakness_validate): ditto.
11798 (syms_of_elhash): ditto.
11800 2000-05-28 Martin Buchholz <martin@xemacs.org>
11802 * XEmacs 21.2.34 is released.
11804 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11806 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11808 (updating_line_start_cache): Gone.
11809 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11810 generic code to force a minimum of 1 line laid out in the
11813 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11815 * glyphs.c (instantiate_image_instantiator): Check for initialized
11816 height & width no longer special cases IMAGE_NOTHING.
11817 (nothing_instantiate): Set height and width of instance.
11819 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11821 * unexelf.c (unexec): Search for ".data" section.
11822 Initialize new_data2_offset from old_data_index.
11823 Remove redundant check for ElfW.
11825 2000-05-23 Andy Piper <andy@xemacs.org>
11827 * glyphs.c (get_image_instantiator_governing_domain): allow more
11828 specific domains as the governing domain rather than expecting an
11829 exact match. This fixes problems with layouts.
11831 2000-05-22 Andy Piper <andy@xemacs.org>
11833 * redisplay-output.c (compare_runes): check for non-images
11835 * glyphs.c (set_glyph_dirty_p): ditto.
11836 (update_glyph_cachel_data): ditto.
11838 * glyphs-widget.c (layout_post_instantiate): ditto.
11839 (layout_post_instantiate): ditto.
11841 * event-msw.c (mswindows_wnd_proc): warning removal.
11843 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11845 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11847 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11849 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11851 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11852 (mswindows_executable_type): mingw32 now has enough headers for
11855 2000-05-20 Andy Piper <andy@xemacs.org>
11857 * console-msw.c (mswindows_output_last_error): ; -> ,
11859 2000-05-12 Andy Piper <andy@xemacs.org>
11861 * console-msw.c (FROB): compare ints with ints.
11863 2000-05-11 Andy Piper <andy@xemacs.org>
11865 * glyphs-x.c (x_finalize_image_instance): make minimal build
11868 2000-05-20 Ben Wing <ben@xemacs.org>
11871 * event-Xt.c (vars_of_event_Xt):
11872 move modifier-keys-are-sticky to event-stream.c.
11875 * event-msw.c (mswindows_enqueue_mouse_button_event):
11876 * event-msw.c (key_needs_default_processing_p):
11877 * event-msw.c (XEMSW_LCONTROL):
11878 * event-msw.c (mswindows_handle_sticky_modifiers):
11879 * event-msw.c (FROB):
11880 * event-msw.c (clear_sticky_modifiers):
11881 * event-msw.c (output_modifier_keyboard_state):
11882 * event-msw.c (output_alt_keyboard_state):
11883 * event-msw.c (mswindows_wnd_proc):
11884 * event-msw.c (mswindows_modifier_state):
11885 * event-msw.c (emacs_mswindows_handle_magic_event):
11886 implement sticky modifiers.
11889 * event-stream.c (vars_of_event_stream):
11890 move modifier-keys-are-sticky here.
11893 add CHECK_FUNCTION.
11896 implement map-range-table.
11899 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11901 * redisplay-tty.c (reset_tty_modes):
11902 (tty_redisplay_shutdown): Adjust argument type to
11903 tty_frame_output_end.
11905 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11907 * eval.c (Fbacktrace): Don't output a line with only right
11910 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11912 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11913 (Fpq_reset_poll): Ditto.
11915 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11917 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11919 2000-05-16 Ben Wing <ben@xemacs.org>
11922 * buffer.c (dfc_convert_to/from_internal_format):
11923 * buffer.c (reinit_vars_of_buffer):
11924 Fix conversion functions to allow reentrancy.
11927 * console-msw.c (mswindows_output_last_error):
11928 New fun, generally useful -- output a human-readable
11929 version of GetLastError() on the console.
11932 * console-msw.h (struct mswindows_frame):
11933 Changes for DeferWindowPos. Declare mswindows_output_last_error().
11935 * console-stream.c (stream_output_begin):
11936 * console-stream.c (stream_output_end):
11937 * console-stream.c (stream_output_vertical_divider):
11938 * console-stream.c (stream_clear_region):
11939 * console-stream.c (stream_flash):
11940 * console-stream.c (console_type_create_stream):
11941 Delete blank stream methods, not needed.
11943 * console.h (struct console_methods):
11944 Split begin/end methods into window and frame.
11947 * event-msw.c (mswindows_handle_paint):
11948 * event-msw.c (output_alt_keyboard_state):
11949 * event-msw.c (mswindows_wnd_proc):
11950 * event-msw.c (vars_of_event_mswindows):
11951 Comment about problems with ignored-expose.
11952 Define mswindows-debug-events; not really implemented.
11954 * frame-msw.c (mswindows_init_frame_1):
11958 * glyphs-msw.c (begin_defer_window_pos):
11959 * glyphs-msw.c (mswindows_unmap_subwindow):
11960 * glyphs-msw.c (mswindows_map_subwindow):
11961 * glyphs-msw.c (mswindows_resize_subwindow):
11962 Use DeferWindowPos to reduce flashing when mapping/unmapping.
11964 * glyphs.c (make_image_instance_1):
11967 * gutter.c (Fredisplay_gutter_area):
11968 Use new begin/end methods.
11970 * lisp.h (Dynarr_new2):
11974 * redisplay-msw.c (mswindows_frame_output_begin):
11975 * redisplay-msw.c (mswindows_frame_output_end):
11976 * redisplay-msw.c (console_type_create_redisplay_mswindows):
11977 New begin/end methods -- handle DeferWindowPos.
11979 * redisplay-output.c (redisplay_move_cursor):
11980 * redisplay-output.c (redraw_cursor_in_window):
11981 * redisplay-output.c (redisplay_update_line):
11982 * redisplay-output.c (redisplay_output_window):
11983 New begin/end methods.
11986 * redisplay-tty.c (tty_frame_output_begin):
11987 * redisplay-tty.c (tty_frame_output_end):
11988 * redisplay-tty.c (console_type_create_redisplay_tty):
11989 New begin/end methods.
11992 * redisplay-x.c (x_window_output_begin):
11993 * redisplay-x.c (x_window_output_end):
11994 * redisplay-x.c (console_type_create_redisplay_x):
11995 New begin/end methods.
11997 * redisplay.c (redisplay_frame):
11998 * redisplay.c (Fredisplay_echo_area):
11999 New begin/end methods.
12000 use MAYBE_DEVMETH for clear_frame; it may not exist.
12002 * window.h (WINDOW_XFRAME):
12003 WINDOW_XFOO macros -- get locale and decode struct pointer.
12006 2000-05-12 Ben Wing <ben@xemacs.org>
12009 * emacs.c (ensure_no_quitting_from_now_on):
12010 * emacs.c (fatal_error_signal):
12011 * emacs.c (mswindows_handle_hardware_exceptions):
12013 * emacs.c (Fkill_emacs):
12014 * emacs.c (shut_down_emacs):
12015 * emacs.c (assert_failed):
12016 various improvements in fatal error handling.
12019 move preparing_for_armageddon to emacs.c.
12022 declare fatal_error_in_progress.
12025 * print.c (std_handle_out_external):
12026 * print.c (std_handle_out_va):
12027 * print.c (stderr_out):
12028 * print.c (stdout_out):
12029 use console under mswin when no standard output.
12030 don't do code conversion during fatal error.
12032 * scrollbar.c (Fscrollbar_page_up):
12033 * scrollbar.c (Fscrollbar_page_down):
12034 fix missing else. reindent.
12036 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12040 * glyphs.h (GLYPH_CACHEL_DESCENT):
12041 (GLYPH_CACHEL_DESCENT):
12042 (GLYPH_CACHEL_DESCENT):
12043 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12044 used in case these are inline functions.
12045 Use more absurd values to error check.
12047 include window.h for error check functions.
12049 2000-05-11 Ben Wing <ben@xemacs.org>
12051 * cmdloop.c (Freally_early_error_handler):
12052 Display message box under windows; otherwise, message will disappear
12053 before it can be viewed.
12056 * console-msw.c (Fmswindows_message_box):
12057 * console-msw.c (FROB):
12058 * console-msw.c (syms_of_console_mswindows):
12059 Define new fun `mswindows-message-box'.
12060 #### I will merge this into `popup-dialog-box'; just give me
12064 * general.c (syms_of_general):
12065 Some new symbols used in `mswindows-message-box'.
12068 * glyphs.c (Fset_image_instance_property):
12069 put warning in this fun.
12072 * glyphs.h (GLYPH_CACHEL_WIDTH):
12073 * glyphs.h (GLYPH_CACHEL_ASCENT):
12074 * glyphs.h (GLYPH_CACHEL):
12075 * glyphs.h (GLYPH_CACHEL_GLYPH):
12076 define error-checking versions to try to catch a bug i've seen --
12077 redisplay gets in an infinite loop because the glyph width of the
12078 continuation glyph is 65535.
12081 Extern message-box stuff.
12083 * window.c (allocate_window):
12084 * window.c (make_dummy_parent):
12085 * window.c (Fset_window_configuration):
12086 Use EQUAL not EQ for subwindow caches to make them work a bit
12087 better. (Something is still very broken.)
12090 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12092 * glyphs.c (image_instantiate): Suppress gcc warnings.
12093 (Fmake_image_instance): Fix doc string.
12094 * specifier.c (Fmake_specifier): Ditto.
12096 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12098 * paths.h.in (PATH_LOCK): Removed.
12099 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12100 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12102 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12104 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12105 Document (featurep '(and xemacs 21.02)).
12107 2000-05-09 Ben Wing <ben@xemacs.org>
12109 * buffer.c (complex_vars_of_buffer):
12110 update modeline-format doc.
12113 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12116 timeline of all released versions of Emacs, for use in creating
12117 authorship comments and in synching up.
12119 * glyphs-widget.c (image_instantiator_buttons):
12120 * glyphs-widget.c (image_instantiator_edit_fields):
12121 * glyphs-widget.c (image_instantiator_combo_box):
12122 * glyphs-widget.c (image_instantiator_scrollbar):
12123 * glyphs-widget.c (image_instantiator_progress_guage):
12124 * glyphs-widget.c (image_instantiator_tree_view):
12125 * glyphs-widget.c (image_instantiator_tab_control):
12126 * glyphs-widget.c (image_instantiator_labels):
12127 * glyphs-widget.c (image_instantiator_layout):
12128 * glyphs-widget.c (image_instantiator_native_layout):
12129 rename decode_domain method to governing_domain.
12132 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12133 * glyphs.c (add_entry_to_device_ii_format_list):
12134 make sure we don't put an entry more than once into the list.
12135 * glyphs.c (check_instance_cache_mapper):
12136 *************************************************************
12137 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12139 *************************************************************
12140 * glyphs.c (get_image_instantiator_governing_domain):
12141 clean up, expand on new concept of governing domain.
12142 * glyphs.c (instantiate_image_instantiator):
12143 * glyphs.c (allocate_image_instance):
12144 use governing_domain instead of cache_domain in naming.
12145 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12146 * glyphs.c (make_image_instance_1):
12147 * glyphs.c (Fmake_image_instance):
12148 allow for any domain (not just device), and process the
12149 governing domain correctly. very big doc fix.
12150 * glyphs.c (Fimage_instance_domain):
12151 new primitive, to retrieve the governing domain of an image instance.
12152 * glyphs.c (image_instantiate):
12153 use new governing_domain stuff. this fixes a crash you could get
12154 by instantiating certain widget glyphs in frame locales. (should
12155 signal an error instead of crashing.)
12156 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12157 * glyphs.c (Fglyphp): clean up doc.
12158 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12159 * glyphs.c (syms_of_glyphs):
12160 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12161 * glyphs.c (image_instantiator_format_create): add some comments about
12163 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12164 for current-display-table. (Apparently Hrjove implemented in 1998 a
12165 design I wrote up in 1996, but didn't update the doc string.)
12167 * glyphs.h: clean up a doc string.
12168 * glyphs.h (governing_domain):
12169 * glyphs.h (struct image_instantiator_methods):
12170 changes for governing_domain stuff.
12173 * gutter.c (Fgutter_specifier_p):
12174 * gutter.c (Fgutter_size_specifier_p):
12175 * gutter.c (Fgutter_visible_specifier_p):
12177 * objects.c (Fcolor_specifier_p):
12178 * objects.c (Ffont_specifier_p):
12179 * objects.c (Fface_boolean_specifier_p):
12180 doc strings moved to make-*-specifier.
12182 * redisplay.c (add_disp_table_entry_runes_1):
12183 * redisplay.c (generate_fstring_runes):
12184 * redisplay.c (screen):
12185 add random comments and doc strings.
12188 * specifier.c (Fmake_specifier):
12189 major overhaul of this doc string.
12191 * specifier.c (Fvalid_specifier_domain_p):
12192 comment about the bogosity of image instances being domains.
12193 * specifier.c (decode_domain):
12194 now non-static, used in glyphs.c.
12195 * specifier.c (specifier_instance):
12196 comment about the bogosity of image instances being domains.
12197 * specifier.c (Fgeneric_specifier_p):
12198 move doc string to make-generic-specifier.
12199 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12203 * specifier.h (DOMAIN_FRAME):
12204 * specifier.h (DOMAIN_LIVE_P):
12205 * specifier.h (DOMAIN_XDEVICE):
12207 add comments about problems with these macros.
12208 prototype for decode_domain.
12211 * toolbar.c (Ftoolbar_specifier_p):
12212 move doc string to `make-toolbar-specifier'.
12214 * window.c (window_unmap_subwindows_cache_mapper):
12215 *************************************************************
12216 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12218 *************************************************************
12220 2000-05-09 Andy Piper <andy@xemacs.org>
12222 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12224 * window.c (Fset_window_configuration): reset the frame subwindow
12225 cache and re-initialize the window subwindow caches.
12227 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12229 2000-05-09 Ben Wing <ben@xemacs.org>
12231 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12234 2000-04-26 Mike Woolley <mike@bulsara.com>
12236 * ntheap.c: Changed recreate_heap to limit the amount reserved
12237 for the heap to that which is actually available. Also now
12238 displays a message box (with some dignostics) in the event that
12239 it still can't start.
12241 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12243 * callproc.c (Fold_call_process_internal): GCPRO path
12245 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12247 Patch by Bill Perry.
12249 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12250 back data instead of #ifdef.
12251 (Fscrollbar_page_down): ditto.
12253 2000-05-07 Ben Wing <ben@xemacs.org>
12256 Kludge for defining Qmswindows_tstr.
12259 * nt.c (open_input_file):
12260 * nt.c (open_output_file):
12261 * nt.c (rva_to_section):
12262 * nt.c (mswindows_executable_type):
12263 Move all memory-mapped-file routines here (some were in unexnt.c,
12264 which is bad because they are used by process-nt.c, and unexnt
12265 won't be around when portable dumping). Synched the above routines
12269 Removed ifdef'd out bogus code.
12270 Fixed some prototypes.
12272 * nt.h (file_data):
12273 * nt.h (OFFSET_TO_RVA):
12274 * nt.h (RVA_TO_OFFSET):
12275 * nt.h (RVA_TO_PTR):
12276 Moved the memory-mapped-file structures, macros and prototypes
12277 here, to parallel nt.c. ntheap.h should really be removed
12278 entirely, and it's a non-portable-dumper specific file.
12280 * ntheap.h (round_to_next):
12281 Moved the memory-mapped-file structures, macros and prototypes
12284 * ntproc.c (compare_env):
12285 Moved rva_to_section and mswindows_executable_type to nt.c.
12286 Moved compare_env to process-nt.c.
12287 ntproc.c will die, one day.
12289 * ntproc.c (sys_spawnve):
12290 Account for win32_ -> mswindows_.
12293 * process-nt.c (struct nt_process_data):
12294 * process-nt.c (ensure_console_window_exists):
12295 * process-nt.c (compare_env):
12296 * process-nt.c (nt_create_process):
12297 * process-nt.c (nt_kill_process_by_pid):
12298 * process-nt.c (syms_of_process_nt):
12299 * process-nt.c (vars_of_process_nt):
12300 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12301 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12302 changes). Eliminate our old `nt-quote-process-args' mechanism.
12303 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12304 Move compare_env here from ntproc.c.
12306 * process.c (Fprocess_send_region):
12307 Takes an optional fourth argument, BUFFER, which should fix some
12308 problems with call-process.
12311 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12314 Move ICC_BAR_CLASSES to syscommctrl.h.
12315 Add preliminary macros for MSWindows/Mule. More to come.
12318 * unexnt.c (unexec):
12319 open_output_file moved to nt.c.
12322 2000-05-05 Andy Piper <andy@xemacs.org>
12324 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12325 instance from the frame cache also since GC may catch up too late
12326 to make frame deletion sane.
12328 2000-05-04 Andy Piper <andy@xemacs.org>
12330 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12331 (x_finalize_image_instance): ungcpro on deletion.
12333 * glyphs.c (image_instantiator_format_create): give pointers a
12334 query geometry method so that the geometry is at least set.
12336 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12337 initialize layouts if using widgets.
12339 2000-05-03 Andy Piper <andy@xemacs.org>
12341 * nt.c: remove bogus reference to sysmmsystem.h
12343 * gui-x.c (popup_selection_callback): fix no selection abort.
12345 2000-05-02 Andy Piper <andy@xemacs.org>
12347 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12348 (mswindows_widget_instantiate): ditto.
12350 * glyphs-widget.c (initialize_widget_image_instance): initialize
12351 children correctly.
12352 (widget_instantiate): cope with children and items in the same
12355 * glyphs.c (mark_image_instance): cope with children as a first
12357 (image_instance_equal): ditto.
12358 (image_instance_hash): ditto.
12359 (image_instance_changed): ditto.
12361 2000-04-30 Andy Piper <andy@xemacs.org>
12363 * glyphs.c (subwindow_query_geometry): new function. Return some
12365 (subwindow_instantiate): don't assign dimensions if none have been
12367 (image_instantiator_format_create): add subwindow_query_geometry.
12368 (print_image_instance): cope with layouts as widgets.
12370 2000-04-29 Andy Piper <andy@xemacs.org>
12372 * frame.c (delete_frame_internal): call
12373 free_frame_subwindow_instance_cache so that all subwindows are
12374 finalized before their parent.
12375 (mark_frame): remove subwindow_cachels.
12376 (Fmake_frame): remove subwindow_cachel manipulation.
12377 (allocate_frame_core): subwindow_instance_cache is a weak list.
12378 (delete_frame_internal): set subwindow_instance_cache to nil.
12380 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12382 (mswindows_finalize_image_instance): use the device
12383 not the domain as the domain may have died already.
12385 * glyphs-x.c (x_finalize_image_instance): ditto.
12386 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12389 * redisplay-output.c (redisplay_unmap_subwindows): update for
12390 subwindow instance cache as a weak list.
12391 (redisplay_unmap_subwindows_maybe): ditto.
12392 (redisplay_unmap_subwindows_except_us): ditto.
12394 * glyphs.c (unmap_subwindow): error checking will check the domain
12395 so don't deal with it here. Don't use cachels anymore.
12396 (map_subwindow): ditto.
12397 (update_subwindow_cachel_data): remove old accessor names.
12398 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12399 (Fresize_subwindow): don't update cachel.
12400 (mark_subwindow_cachels):
12401 (update_subwindow_cachel_data):
12402 (add_subwindow_cachel):
12403 (get_subwindow_cachel_index):
12404 (update_subwindow_cachel):
12405 (reset_subwindow_cachels):
12406 (mark_subwindow_cachels_as_not_updated): deleted.
12407 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12408 subwindow instance to the frame cache.
12409 (find_matching_subwindow): update for subwindow instance cache as
12411 (update_widget_instances): ditto.
12412 (image_instance_type_to_mask):inlined.
12413 (free_frame_subwindow_instance_cache): new function. finalize all
12414 subwindows that are instantiated.
12416 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12417 of cachel information.
12418 (IMAGE_INSTANCE_DISPLAY_X):
12419 (IMAGE_INSTANCE_DISPLAY_Y):
12420 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12421 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12422 (XIMAGE_INSTANCE_DISPLAY_X):
12423 (XIMAGE_INSTANCE_DISPLAY_Y):
12424 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12425 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12426 remove subwindow_cachel structure and function references.
12427 (image_instance_type_to_mask): inline from glyphs.c
12429 * redisplay.c (redisplay_frame): remove subwindow_cachel
12432 * frame.h (struct frame): remove subwindow_cachels.
12433 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12435 * frameslots.h: add subwindow_instance_cache.
12437 * window.c (replace_window): check subwindow cache of replacement.
12438 (window_unmap_subwindows_cache_mapper):
12439 (window_unmap_subwindows): new functions. Unmap all subwindows
12440 cached on this window.
12441 (mark_window_as_deleted): unmap all subwindows.
12443 2000-04-27 Andy Piper <andy@xemacs.org>
12445 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12447 * glyphs-widget.c (widget_layout): return something.
12448 (layout_layout): return something. Fail if not initialized.
12449 (layout_query_geometry): ditto.
12450 (image_instantiator_native_layout): new function. Initialized the
12451 native layout type.
12452 (widget_instantiate): don't do layout stuff here.
12454 * glyphs.c (instantiate_image_instantiator): reorded calling or
12455 instantiate and post_instantiate with layout in between.
12456 (image_instance_layout): be more selective about deciding whether
12457 the layout has been done or not.
12459 * glyphs.h (struct image_instantiator_methods): return a value
12460 from layout_method.
12462 2000-04-26 Andy Piper <andy@xemacs.org>
12464 * glyphs.c (allocate_image_instance): make initial width and
12465 height unspecified. Set initialized to 0.
12467 * syscommctrl.h new file. Encapsulates commctrl.h.
12469 * syswindows.h new file. Encapsulates windows.h.
12471 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12473 * console-msw.h: ditto.
12475 * redisplay-tty.c (tty_output_display_block): remove layout references.
12477 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12478 window handle rather than just the frame.
12480 * glyphs.c (mark_image_instance): remove layout references.
12481 (print_image_instance): ditto.
12482 (image_instance_equal): ditto.
12483 (image_instance_hash): ditto.
12484 (decode_image_instance_type): ditto.
12485 (encode_image_instance_type): ditto.
12486 (image_instantiate): ditto.
12487 (allocate_glyph): ditto.
12488 (Fimage_instance_height): ditto.
12489 (Fimage_instance_width): ditto.
12490 (update_subwindow): ditto.
12492 * redisplay-x.c (x_output_display_block): recode for layouts as
12495 * redisplay-output.c (redisplay_output_layout): recode for layouts
12497 (compare_runes): remove layout references.
12499 * redisplay-msw.c (mswindows_output_display_block): recode for
12500 layouts as widgets.
12502 * glyphs-widget.c (image_instantiator_layout): remove
12503 layout_possible_dest_types.
12504 (layout_possible_dest_types): deleted.
12506 * glyphs.h (image_instance_type): remove layout references.
12507 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12508 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12509 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12511 2000-04-25 Andy Piper <andy@xemacs.org>
12513 * glyphs-widget.c (image_instantiator_buttons):
12514 (image_instantiator_edit_fields):
12515 (image_instantiator_combo_box):
12516 (image_instantiator_scrollbar):
12517 (image_instantiator_progress_guage):
12518 (image_instantiator_tree_view):
12519 (image_instantiator_tab_control):
12520 (image_instantiator_labels):
12521 (image_instantiator_layout): call default post_instantiate method.
12522 (widget_post_instantiate): new function. Simply lays out the
12525 * glyphs.h (struct image_instantiator_methods): add
12526 post_instantiate method.
12528 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12531 2000-04-23 Andy Piper <andy@xemacs.org>
12533 * glyphs.h (struct image_instantiator_methods): add
12534 decode_domain_method.
12535 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12536 derived from the domain.
12537 (IMAGE_INSTANCE_FRAME): new accessor.
12538 (XIMAGE_INSTANCE_FRAME): ditto.
12540 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12541 instead of _SUBWINDOW_FRAME.
12542 (finalize_image_instance): ditto.
12543 (Fimage_instance_foreground): ditto.
12544 (Fimage_instance_background): ditto.
12545 (image_instantiate): ditto.
12546 (update_subwindow_cachel): ditto.
12547 (update_subwindow): ditto.
12548 (unmap_subwindow): ditto.
12549 (map_subwindow): ditto
12550 (subwindow_instantiate): ditto.
12551 * glyphs-msw.c (mswindows_update_widget): ditto.
12552 (mswindows_progress_gauge_instantiate): ditto.
12553 (mswindows_tab_control_update): ditto.
12554 * glyphs-x.c (x_update_widget): ditto.
12555 (x_widget_instantiate): ditto.
12556 (x_tab_control_instantiate): ditto.
12557 (x_tab_control_update): ditto.
12558 * event-msw.c (mswindows_wnd_proc): ditto
12560 * glyphs-widget.c (image_instantiator_layout): use
12561 subwindow_decode_domain.
12562 (image_instantiator_buttons): ditto.
12563 (image_instantiator_edit_fields): ditto.
12564 (image_instantiator_combo_box): ditto.
12565 (image_instantiator_scrollbar): ditto.
12566 (image_instantiator_progress_guage): ditto.
12567 (image_instantiator_tree_view): ditto.
12568 (image_instantiator_tab_control): ditto.
12569 (image_instantiator_labels): ditto.
12570 (image_instantiator_layout): ditto.
12572 * glyphs.c: add instance error checking to many functions.
12573 (instantiate_image_instantiator): decode device from cache_domain.
12574 (image_instantiate): partially rewrite by using
12575 decode_image_instantiator_domain to determine what domain the
12576 instance needs to be cached in.
12577 (decode_image_instantiator_domain): new function. Determine what
12578 domain the image needs to be cached in.
12579 (check_window_subwindow_cache): new error checking function.
12580 (check_instance_cache_mapper): ditto.
12581 (check_image_instance_structure): ditto.
12582 (subwindow_decode_domain): new function. Encodes a window as a
12583 subwindow's cache domain.
12584 (image_instantiator_format_create): use it for text and
12587 2000-04-21 Andy Piper <andy@xemacs.org>
12589 * glyphs.c (image_instance_device): new function.
12590 (image_instance_frame): new function.
12591 (image_instance_window): new function.
12592 (image_instance_live_p): new function.
12594 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12597 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12598 (IMAGE_INSTANCE_DOMAIN): new accessor.
12599 (XIMAGE_INSTANCE_DOMAIN): ditto.
12601 * glyphs-x.c (x_finalize_image_instance): device->domain.
12603 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12604 (mswindows_finalize_image_instance): ditto.
12606 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12607 (gif_instantiate): ditto.
12608 (png_instantiate): ditto.
12609 (tiff_instantiate): ditto.
12611 * glyphs.c (instantiate_image_instantiator): use domain rather
12613 (mark_image_instance): device -> domain.
12614 (print_image_instance): ditto.
12615 (finalize_image_instance): ditto.
12616 (image_instance_equal): ditto.
12617 (allocate_image_instance): ditto.
12618 (Fcolorize_image_instance): ditto.
12619 (query_string_geometry): ditto.
12620 (image_instantiate): ditto
12621 (query_string_font): ditto.
12622 (image_instantiate): ditto.
12623 (update_subwindow): ditto.
12624 (unmap_subwindow): ditto.
12625 (map_subwindow): ditto.
12626 (subwindow_instantiate): ditto.
12628 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12629 (DOMAIN_FRAME): ditto.
12630 (DOMAIN_WINDOW): ditto.
12631 (DOMAIN_LIVE_P): ditto.
12632 (XDOMAIN_DEVICE): ditto.
12633 (XDOMAIN_FRAME): ditto.
12634 (XDOMAIN_WINDOW): ditto.
12636 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12637 a valid specifier domain.
12639 2000-04-19 Andy Piper <andy@xemacs.org>
12641 * glyphs-widget.c (syms_of_glyphs_widget): remove
12642 widget-callback-current-channel.
12643 (vars_of_glyphs_widget): ditto.
12646 * gui.c (get_gui_callback): revert to previous behaviour.
12648 2000-04-18 Andy Piper <andy@xemacs.org>
12650 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12651 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12652 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12654 * glyphs.c (image_instance_equal): add margin_width.
12655 (image_instance_hash): ditto.
12657 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12658 (layout_query_geometry): ditto.
12659 (layout_layout): ditto.
12660 (syms_of_glyphs_widget): add margin-width.
12661 (image_instantiator_layout): allow margin-width.
12663 * glyphs.c (update_widget_instances): make a normal function.
12664 (syms_of_glyphs): remove Qupdate_widget_instances.
12667 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12668 so that we don't corrupt ideas about the last event or
12669 command. Remove widget-callback-current-channel fiddling.
12670 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12672 2000-05-01 Martin Buchholz <martin@xemacs.org>
12674 * XEmacs 21.2.33 is released.
12676 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12678 * make-src-depend: Allow dots in header file name.
12680 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12682 * mule-charset.h (struct charset_lookup): Add
12683 next_allocated_1_byte_leading_byte and
12684 next_allocated_2_byte_leading_byte.
12685 * mule-charset.c: Move above two variables so that those values
12688 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12690 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12691 when string length is zero.
12692 (find_charsets_in_emchar_string): Ditto.
12694 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12696 * lisp.h: extern Qdialog and Qmenubar.
12698 * gui-x.c: added events.h.
12699 also fixed typo which made the file uncompilable.
12701 * general.c: Added Qmenubar and Qdialog
12703 2000-04-28 Ben Wing <ben@xemacs.org>
12705 * frame-msw.c (mswindows_init_frame_1):
12706 * frame-msw.c (mswindows_mark_frame):
12707 * event-msw.c (mswindows_enqueue_dispatch_event):
12709 * console-msw.h (struct mswindows_frame):
12710 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12711 there are now three hash tables for callbacks.
12712 mswindows_enqueue_dispatch_event is no longer static.
12714 * dialog-x.c (maybe_run_dbox_text_callback):
12715 * dialog-x.c (dbox_descriptor_to_widget_value):
12716 switch to new cons3 form for callbacks.
12718 * glyphs-msw.c (mswindows_register_gui_item):
12719 * glyphs-msw.c (mswindows_widget_instantiate):
12720 * glyphs-msw.c (add_tree_item):
12721 * glyphs-msw.c (add_tab_item):
12722 new image instance parameter, so it can be passed to callback-ex.
12723 respect :callback-ex as well as :callback.
12725 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12728 * glyphs.c (print_image_instance):
12729 prettify, e.g. now prints widget type.
12732 certain funs have new image instance parameter.
12735 * gui.c (get_gui_callback):
12736 * gui.c (gui_item_add_keyval_pair):
12737 * gui.c (gui_item_init):
12738 * gui.c (gui_add_item_keywords_to_plist):
12739 * gui.c (mark_gui_item):
12740 * gui.c (gui_item_hash):
12741 * gui.c (gui_item_equal):
12742 * gui.c (copy_gui_item):
12743 * gui.c (syms_of_gui):
12744 recognize callback-ex in a number of places.
12745 also, fix the annoying "can't get out of yes-no dialog" bug.
12748 * gui.h (struct Lisp_Gui_Item):
12749 recognize callback-ex in a number of places.
12751 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12752 new parameter in button_item_to_widget_value.
12754 * glyphs-x.c (x_update_widget):
12755 * glyphs-x.c (x_button_instantiate):
12756 * glyphs-x.c (x_button_update):
12757 * glyphs-x.c (x_progress_gauge_instantiate):
12758 * glyphs-x.c (x_edit_field_instantiate):
12759 * glyphs-x.c (x_combo_box_instantiate):
12760 * glyphs-x.c (x_tab_control_instantiate):
12761 * glyphs-x.c (x_label_instantiate):
12762 new image instance parameter in various places.
12765 * event-Xt.c (enqueue_Xt_dispatch_event):
12766 this fun gets exported.
12769 * gui-msw.c (mswindows_handle_gui_wm_command):
12770 handle both :callback and :callback-ex, and generate our own
12771 event because it's one of the callback-ex arguments.
12774 * gui-x.c (popup_selection_callback):
12775 handle both :callback and :callback-ex, and generate our own
12776 event because it's one of the callback-ex arguments.
12777 * gui-x.c (button_item_to_widget_value):
12778 * gui-x.c (gui_items_to_widget_values_1):
12779 * gui-x.c (gui_item_children_to_widget_values):
12780 * gui-x.c (gui_items_to_widget_values):
12781 new image instance parameter in various places.
12783 * fns.c (Freplace_list):
12784 fix small typo in doc string.
12787 declare enqueue_Xt_dispatch_event.
12789 2000-04-28 Ben Wing <ben@xemacs.org>
12792 * buffer.c (Frecord_buffer):
12793 * buffer.c (syms_of_buffer):
12794 delete record-buffer-hook.
12797 * fns.c (Freplace_list):
12798 * fns.c (syms_of_fns):
12799 new primitive replace-list.
12802 slot for old buffer-alist.
12805 exfun replace-list.
12808 * redisplay.c (redisplay_frame):
12809 * redisplay.c (syms_of_redisplay):
12810 * redisplay.c (vars_of_redisplay):
12811 new hook buffer-list-changed-hook.
12814 2000-04-27 Ben Wing <ben@xemacs.org>
12816 * extents.h: extern in_modeline_generation.
12818 * redisplay.c (generate_formatted_string_db): set
12819 in_modeline_generation.
12821 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12822 flags if in modeline generation. otherwise frame-modified-tick
12823 is ticked far too often.
12824 Declare in_modeline_generation.
12826 2000-04-26 Ben Wing <ben@xemacs.org>
12828 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12830 (vars_of_emacs): add quick-build as an error-checking option.
12831 A bit kludgy, but there doesn't seem much point in creating
12832 a real var for this.
12834 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12836 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12838 * redisplay.h (struct display_line): Add a new variable,
12841 * redisplay.c (create_text_block): Set dl->line_continuation if
12842 the line continues.
12843 (create_string_text_block): Ditto.
12844 (regenerate_window_incrementally): Use line_continuation instead
12845 of searching continuation glyph.
12846 (add_margin_runes): Call add_glyph_rune.
12847 (add_glyph_rune): Handle margin glyph.
12849 2000-04-20 Martin Buchholz <martin@xemacs.org>
12851 * filelock.c (fill_in_lock_file_name):
12853 Check for IS_ANY_SEP instead of '/'.
12855 Avoid generating gratuitous garbage. Call user_login_name() directly.
12856 Never check errno without first seeing that system call failed.
12857 (unlock_file): Add GCPRO.
12858 (Flock_buffer): Fix docstring.
12859 (Ffile_locked_p): Fix docstring. Add GCPRO.
12861 2000-04-19 Martin Buchholz <martin@xemacs.org>
12863 * sysdep.c (get_pty_max_bytes):
12864 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12865 strings longer than 252 bytes.
12867 * md5.c: Unconditionally include ANSI header <limits.h>
12869 * glyphs-x.c (convert_EImage_to_XImage):
12870 * lisp-union.h (union Lisp_Object):
12871 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12873 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12875 * filelock.c (current_lock_owner): Remove unused variable o, p.
12877 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12879 * callint.c: Remove multiply defined symbol Qlet
12880 (syms_of_callint): ditto.
12882 2000-04-14 Andy Piper <andy@xemacs.org>
12884 * general.c (syms_of_general): add last-command, this-command, let
12887 * lisp.h: declare various symbols.
12889 * glyphs.h: declare Qwidget_callback_current_channel;
12891 * glyphs-widget.c (syms_of_glyphs_widget): add
12892 Qgui_callback_current_channel.
12893 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12895 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12896 widget-callback-current-channel when invoking the interactive
12897 arg. Also bind last-command and next-command when invoking the
12899 * gui-x.c (popup_selection_callback): ditto.
12901 * gui.c (get_gui_callback): massage args so that we are always
12902 calling eval. This allows us to add our own variable bindings
12905 * glyphs-x.c (x_button_instantiate): use
12906 gui_items_to_widget_values since this is GC safe.
12907 (x_progress_gauge_instantiate): ditto.
12908 (x_edit_field_instantiate): ditto.
12909 (x_label_instantiate): ditto.
12911 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12912 (emacs_Xt_event_widget_focus_out): new function
12913 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12915 (emacs_Xt_event_add_widget_actions): new function. add focus
12916 functions as actions.
12917 (init_event_Xt_late): use it.
12919 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12921 * event-stream.c (Fdispatch_event): Doc fix.
12923 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12925 * postgresql.c: Remove all references to PQsetenv*.
12927 * postgresql.h: Remove references to PGsetenvHandler object.
12928 * lrecord.h (lrecord_type): Ditto.
12930 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12932 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12933 real_heigh and real_width members, and accessor macros for these.
12935 * glyphs-msw.c (init_image_instance_geometry): New function.
12936 (init_image_instance_from_dibitmap): Use it.
12937 (mswindows_resource_instantiate): Use it.
12938 (init_image_instance_from_xbm_inline): Use it.
12939 (mswindows_initialize_image_instance_mask): Use real bitmap
12941 (mswindows_create_resized_bitmap): Ditto.
12942 (mswindows_create_resized_mask): Ditto.
12944 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
12945 and bitmap to their surface size.
12947 2000-04-11 Jan Vroonhof <jan@xemacs.org>
12949 * process-unix.c (unix_send_process): Guard against process MIA
12950 after Faccept_process_output.
12952 2000-04-11 Ben Wing <ben@xemacs.org>
12954 * eval.c (unbind_to_hairy): fix brokenness introduced by
12955 nanosecond speed improvements.
12957 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
12959 * sunplay.c (init_device): To play sounds correctly, the device
12960 apparently needs to be initialized at least once by XEmacs. Make
12963 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
12965 * redisplay.c (add_margin_runes): Add text image glyph
12968 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
12970 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
12971 gcc is newer than 2.5.
12973 2000-04-06 Colin Rafferty <colin@xemacs.org>
12975 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
12977 * fns.c (size_bit_vector):
12978 * alloc.c (size_vector):
12979 (make_vector_internal):
12980 (make_bit_vector_internal):
12981 (sweep_bit_vectors_1):
12982 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
12984 2000-04-06 Andy Piper <andy@xemacs.org>
12986 * gmalloc.c (malloc): undo previous change.
12991 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
12993 * line-number.c (buffer_line_number): Revert to former version.
12995 2000-04-06 Andy Piper <andy@xemacs.org>
12997 * gmalloc.c (malloc): add error checking.
13002 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13003 button_item_to_widget_value arg.
13005 * glyphs-x.c (x_button_instantiate): add extra
13006 button_item_to_widget_value arg.
13007 (x_progress_gauge_instantiate): ditto.
13008 (x_edit_field_instantiate): ditto.
13009 (x_label_instantiate): ditto.
13011 * gui-x.c (gui_items_to_widget_values_1): add extra
13012 button_item_to_widget_value arg.
13013 (button_item_to_widget_value): add extra menu_item_p arg.
13015 * gui-x.h: change signature of button_item_to_widget_value.
13017 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13018 button_item_to_widget_value arg.
13020 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13022 * buffer.h (struct buffer): auto_save_modified should be long.
13024 2000-04-05 Andy Piper <andy@xemacs.org>
13026 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13028 (button_query_geometry): give a little more room so that athena
13031 2000-04-05 Andy Piper <andy@xemacs.org>
13033 * faces.c (complex_vars_of_faces): The widget face should inherit
13034 the font of the gui-element face.
13036 2000-04-04 Andy Piper <andy@xemacs.org>
13038 * glyphs-x.c (x_button_update): new function. unconditionally
13039 update a button's state when the instance is dirty.
13040 (image_instantiator_format_create_glyphs_x): add x_button_update.
13041 (x_widget_instantiate): remove old resize cruft.
13043 2000-04-02 Andy Piper <andy@xemacs.org>
13045 * frame.c (change_frame_size_1): The introduction of gutters means
13046 that we need to allow 0 as a potential frame dimension.
13048 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13050 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13051 image glyph if allow_cursor.
13052 (add_hscroll_rune): Don't allow cursor to border glyph.
13053 (create_text_block): Ditto.
13055 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13056 text not in buffer.
13057 (redisplay_output_layout): Call ensure_face_cachel_complete for
13061 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13063 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13065 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13068 * redisplay-tty.c (tty_output_display_block): Delete the routine
13069 for text image glyph
13070 * redisplay-x.c (x_output_display_block): ditto
13071 * redisplay-msw.c (mswindows_output_display_block): ditto
13073 2000-02-02 Mike Alexander <mta@arbortext.com>
13075 Note: Some of these were committed by accident as part of other
13078 * regex.c (regex_compile): Avoid compiler warnings.
13080 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13082 * nt.h: Declare term_ntproc correctly.
13084 * nt.c: Remove incorrect declaration of get_home_directory which
13085 is declared correctly in lisp.h.
13087 * keymap.c (get_keyelt): Avoid compiler warnings.
13088 (raw_lookup_key_mapper): Avoid compiler warnings.
13090 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13092 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13094 * filemode.c (mode_string): Avoid compiler warnings.
13096 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13099 * events-mod.h: Undef some things that winuser.h defines differently.
13101 * data.c (Faset): Avoid compiler warnings.
13103 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13105 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13107 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13108 Fall through to simple beep on error.
13109 Replace "extern" by real header file.
13111 * linuxplay.c: Use nativesound.h
13112 (play_sound_data): Return error code. Be less verbose on error.
13114 * sunplay.c: Use nativesound.h
13115 (play_sound_data): Return error code. Be less verbose on error.
13117 * ntplay.c: Use nativesound.h
13118 (play_sound_data): Return fake error code
13120 * sgiplay.c: Use nativesound.h
13121 (play_sound_data): Return error code
13123 * hpplay.c: Use nativesound.h, partially implement
13124 new error code. Break compilation until finished.
13125 (play_sound_data): error code.
13127 * nativesound.h (play_sound_file):
13128 (play_sound_data): Prototype in new header.
13130 2000-03-31 Andy Piper <andy@xemacs.org>
13132 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13133 for toggle and radio buttons.
13134 (image_instantiator_buttons): use it.
13136 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13138 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13139 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13140 found. Scrollbar event probably belonged to some old config.
13142 2000-03-31 Andy Piper <andy@xemacs.org>
13144 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13146 (initialize_widget_image_instance): default layout to
13147 LAYOUT_HORIZONTAL rather than 0.
13148 (widget_instantiate): reverse the item list at the end rather than
13150 (layout_layout): re-code for the border text at the front of the
13151 item list rather than at the end.
13152 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13153 provided by the user.
13154 (widget_query_geometry): comment.
13156 2000-03-30 Andy Piper <andy@xemacs.org>
13158 * glyphs-widget.c (image_instantiator_layout): allow standard
13159 widget keywords in layouts.
13161 * gutter.c (output_gutter): cope with nil gutter contents.
13163 * frame.c (Fset_frame_properties): add gutter docs.
13165 2000-03-29 Andy Piper <andy@xemacs.org>
13167 * toolbar-msw.c (TBSTYLE_FLAT): add.
13168 (mswindows_output_toolbar): minor fiddling.
13170 2000-03-29 Andy Piper <andy@xemacs.org>
13172 * gutter.c (output_gutter): force gutter size recalculation if
13173 what we are trying to display won't fit.
13174 (update_gutter_geometry): new function. A per-gutter version of
13175 update_frame_gutter_geometry.
13176 (update_frame_gutter_geometry): use it.
13177 (redraw_exposed_gutter): add extra debugging output.
13179 2000-03-28 Mike Alexander <mta@arbortext.com>
13181 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13182 (pdump_file_unmap): Implement it on Windows
13183 (pdump_file_get): Save alocated handles for pdump_file_unmap
13185 2000-03-28 Andy Piper <andy@xemacs.org>
13187 * gui.c (get_gui_callback): treat Quit specially.
13189 2000-03-27 Andy Piper <andy@xemacs.org>
13191 * glyphs.c (image_instantiate): be careful to check in the same
13194 2000-03-27 Didier Verna <didier@xemacs.org>
13196 * config.h.in: define the proper SMART_INCLUDE macro.
13197 handle renaming of `foo_h_path' to `foo_h_file'.
13199 * database.c: ditto.
13203 * linuxplay.c: ditto.
13205 * terminfo.c: ditto.
13207 * tooltalk.h: ditto.
13209 2000-03-27 Andy Piper <andy@xemacs.org>
13211 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13212 gets updated whenever the face might have changed.
13214 2000-03-26 Mike Alexander <mta@arbortext.com>
13216 * dumper.c (pdump_resource_free): Fix the comment.
13218 2000-03-21 Olivier Galibert <galibert@pobox.com>
13220 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13222 2000-03-22 Mike Alexander <mta@arbortext.com>
13224 * dumper.c: Include Windows headers on Windows
13225 (pdump_resource_free): Add a body to the function
13226 (pdump_load): exe_name -> exe_path and add some comments.
13228 2000-03-25 Mike Alexander <mta@arbortext.com>
13230 * gui.c (copy_gui_item_tree): Return a value in all cases
13232 2000-03-21 Didier Verna <didier@xemacs.org>
13234 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13236 (SMART_INCLUDE): new macro.
13237 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13238 the proper location.
13240 * postgresql.c: use it.
13244 2000-03-24 Andy Piper <andy@xemacs.org>
13246 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13249 2000-03-24 Andy Piper <andy@xemacs.org>
13251 * redisplay-output.c (compare_runes): use image_instance_changed
13252 to detect changes. Do not depend on glyphs_changed, only depend on
13254 (redisplay_output_layout): add debug messages.
13255 (compare_runes): ditto.
13257 * glyphs.h: declare new functions.
13258 (struct Lisp_Image_Instance): remove percent and associated
13261 * gui.h: declare new copying functions.
13263 * gui.c (copy_gui_item_tree): new function.
13264 (copy_gui_item): new function.
13265 (gui_item_id_hash): revert to standard hash.
13266 (gui_item_hash): ditto.
13267 (gui_item_hash_internal): deleted.
13268 (mark_gui_item): mark value.
13269 (gui_item_add_keyval_pair): add value.
13270 (gui_item_init): ditto.
13271 (gui_add_item_keywords_to_plist): ditto.
13272 (gui_item_equal): ditto.
13273 (syms_of_gui): add Q_value.
13275 * glyphs-x.c (x_progress_gauge_update): use pending items and
13276 value for setting the state.
13277 (x_update_widget): don't set items from pending here.
13279 * glyphs-widget.c (update_widget): update items here.
13280 (progress_gauge_set_property): use items for storing value. Put
13281 new value in pending items.
13283 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13284 items for new value. Convert percent -> value.
13285 (mswindows_tab_control_update): don't update items here.
13287 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13288 (update_subwindow): ditto.
13289 (image_instance_changed): new function. Compare hash values and
13290 past and present widget items.
13291 (image_instantiate): We more careful about where we instantiate
13293 (image_instantiate): add error checking.
13295 * gutter.c (syms_of_gutter): use -hook.
13297 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13299 * console-tty.c (Fset_console_tty_input_coding_system): Use
13301 (Fset_console_tty_output_coding_system): Use Qterminal.
13302 (tty_init_console): Use Qkeyboard and Qterminal.
13304 2000-03-21 Ben Wing <ben@xemacs.org>
13306 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13307 From Mike Alexander <mta@arbortext.com>.
13309 2000-03-21 Ben Wing <ben@xemacs.org>
13311 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13312 process brokenness. Proper implementation to come.
13314 Rename call-process-internal to old-call-process-internal.
13315 New impl. in process.el.
13317 2000-03-21 Martin Buchholz <martin@xemacs.org>
13319 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13321 2000-03-20 Andy Piper <andy@xemacs.org>
13323 * glyphs.c (full_list_hash): make hashes of the same elements in
13324 different orders return different values.
13326 2000-03-20 Martin Buchholz <martin@xemacs.org>
13328 * XEmacs 21.2.32 is released.
13330 2000-03-20 Martin Buchholz <martin@xemacs.org>
13332 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13333 (DFC_MALLOC_USE_CONVERTED_DATA):
13334 Add aliasing-safe casts to allow use with char* or unsigned char*
13337 * eldap.c (Fldap_open):
13338 (Fldap_search_basic):
13341 Make C++-compilable.
13342 Make sure GCPRO'ed variables are initialized.
13343 Use temp variables to avoid repeated calls to Flength.
13345 2000-03-16 Martin Buchholz <martin@xemacs.org>
13348 Make sure PATH_MAX is always defined.
13349 Include limits.h for PATH_MAX.
13350 Deprecate use of MAXPATHLEN.
13352 2000-03-10 Martin Buchholz <martin@xemacs.org>
13354 * emacs.c: Add reinit_vars_of_fileio.
13355 * symsinit.h: Add reinit_vars_of_fileio.
13356 * fileio.c (reinit_vars_of_fileio): New.
13357 * fileio.c (Fmake_temp_name):
13358 Initialize temp_name random number from microseconds to make
13359 collisions even less likely. Initialize always at process startup
13360 time. (make-temp-name) used to return the same file name twice in
13362 Random stylistic fiddling.
13365 2000-03-20 Andy Piper <andy@xemacs.org>
13367 * glyphs.c (image_instantiate): allow text glyphs to be
13368 instantiated in the minibuffer window.
13370 2000-03-19 Andy Piper <andy@xemacs.org>
13372 * glyphs.c (image_instance_hash): be careful about which items we
13375 * glyphs-widget.c (tab_control_set_property): record into pending
13376 items rather than the actual items.
13378 * glyphs-x.c (x_update_widget): use pending items to update with.
13380 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13383 * glyphs.c (mark_image_instance): mark pending items.
13385 * window.c (Fset_window_configuration): record the buffer.
13386 (Fselect_window): totally revert previous change which breaks many
13389 2000-03-18 Andy Piper <andy@xemacs.org>
13391 * glyphs-msw.c (mswindows_tab_control_update): force selected
13394 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13395 window domain cache, otherwise we get inconsistencies at
13396 startup. There is something fishy at startup which can lead to the
13397 minibuffer being the selected window when the gutter content is
13400 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13402 (parse_gui_item_tree_children): ditto.
13403 (parse_gui_item_tree_item): ditto.
13405 * glyphs.c (Fupdate_widget_instances): return something.
13407 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13409 * window.c (Fselect_window): Undo 2000-03-17 change.
13411 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13413 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13414 against v7.0 libraries. Insta-coredump city until the postgres
13417 2000-03-17 Andy Piper <andy@xemacs.org>
13419 * faces.c (complex_vars_of_faces): don't give the widget face an
13420 inherited background pixmap.
13422 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13425 * event-stream.c (Fdispatch_non_command_events): return something.
13427 * gutter.c (output_gutter): use widget face.
13428 (clear_gutter): ditto.
13430 * NEWS: adjust again.
13432 * window.c (Fselect_window): make sure this runs to completion to
13433 avoid oddities with Fset_window_configuration.
13434 (Fcurrent_window_configuration): in general do not save the
13435 minibuffer as the selected window.
13437 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13439 2000-03-16 Olivier Galibert <galibert@pobox.com>
13441 * emacs.c (Frunning_temacs_p): Revert previous patch.
13442 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13444 2000-03-16 Andy Piper <andy@xemacs.org>
13446 * glyphs-x.c (x_tab_control_update): if no widget values then
13449 * NEWS: update for new features.
13451 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13452 synthetic event to the native system.
13453 (reinit_vars_of_event_Xt): set force_event_pending to
13454 emacs_Xt_force_event_pending.
13456 * events.h (struct event_stream): add force_event_pending.
13458 * specifier.c (recompute_one_cached_specifier_in_window): add
13461 * redisplay.c (redisplay_frame): don't call
13462 update_frame_subwindows. Reset subwindow cachels when
13463 subwindows_changed, removing this was an optimization too far.
13465 * redisplay-output.c (compare_runes): reorganize so that we catch
13466 glyph changes when we want them. Set optimize_output when this
13467 would help layouts.
13468 (redisplay_output_layout): remove frame_really_changed, use
13469 optimize_output instead.
13471 * redisplay-msw.c (mswindows_output_display_block): reset
13472 optimize_output after outputting a glyph.
13473 * redisplay-x.c (x_output_display_block): ditto.
13474 * redisplay-tty.c (tty_output_display_block): ditto.
13476 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13478 (gutter_specs_changed): do specific gutter positions.
13479 (top_gutter_specs_changed): new function. Only update the
13480 specified gutter specs.
13481 (bottom_gutter_specs_changed): ditto.
13482 (left_gutter_specs_changed): ditto.
13483 (right_gutter_specs_changed): ditto.
13485 * gui.c (gui_item_hash_internal): new function, does a real hash.
13486 (gui_item_id_hash): use it.
13487 (gui_item_hash): hash the eval'ed gui_item.
13489 * gui-x.c (popup_selection_callback): send an eval event to call
13490 Fupdate_widget_instances.
13492 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13493 to call Fupdate_widget_instances.
13495 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13496 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13498 * glyphs.c: (update_frame_subwindows): deleted.
13499 (Fupdate_widget_instances): new function for updating the dirty
13500 state of widgets that might have changed.
13501 (syms_of_glyphs): add Qupdate_widget_instances.
13502 (full_list_hash): hash a list completely.
13503 (image_instance_hash): use it for items and properties.
13505 * frame-msw.c (mswindows_size_frame_internal): remove unused
13508 * faces.h (struct face_cachel): fix comment.
13510 * event-stream.c (Fdispatch_non_command_events): new
13511 function. Process non-command events, forcing an event cycle
13513 (syms_of_event_stream): declare.
13514 (event_stream_force_event_pending): new function. Force an event
13515 on the native event queue so that an event cycle will occur next
13519 (struct ntpipe_shove_stream):
13520 (mswindows_enqueue_dispatch_event):
13521 (mswindows_dequeue_dispatch_event):
13522 (mswindows_cancel_dispatch_event):
13523 (mswindows_pump_outstanding_events):
13524 (mswindows_drain_windows_queue):
13525 (mswindows_handle_paint):
13526 (mswindows_wnd_proc):
13527 (mswindows_key_to_emacs_keysym):
13528 (get_process_input_waitable):
13529 (emacs_mswindows_delete_stream_pair): re-indent file.
13530 (mswindows_need_event): do not process further fds if the windows
13531 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13532 fixes the 100% cpu problem.
13533 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13535 2000-03-15 Olivier Galibert <galibert@pobox.com>
13541 * emacs.c: Moved dump file searching to dumper.c.
13542 (Frunning_temacs_p): Fixed.
13544 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13545 last_lrecord_type_index_assigned.
13547 2000-02-20 Olivier Galibert <galibert@pobox.com>
13549 * symsinit.h: Added reinit parameter to init_console_stream
13552 * lisp.h: Added file parameter to pdump_load declaration.
13554 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13555 support. Added dump file searching.
13557 * config.h.in: Added EMACS_PROGNAME.
13559 * console-stream.c (init_console_stream): Fix reinitialisation
13560 when running from temacs.
13562 * alloc.c (pdump): Add id support.
13563 (pdump_load): Add file parameter and signature/id support.
13565 * Makefile.in.in: Add full pdump support.
13567 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13569 * postgresql.c: Update documentation to reflect latest code
13571 (print_result): Show tuple counts in printed representation when
13573 (Fpq_put_nbytes): MULE-ize.
13574 (Fpq_get_line_async): Ditto.
13576 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13578 * postgresql.c (Fpq_lo_import): Fix return value.
13579 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13581 2000-03-13 Ben Wing <ben@xemacs.org>
13583 * alloc.c (pdump_load):
13584 Fix compile warning under mswin.
13586 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13588 * postgresql.c: Mule-ization, bug fixes.
13589 Use PG_CODING to encapsulate coding system name changes.
13590 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13591 (pg-coding-system): Create.
13593 (Fpq_conn_defaults): Mule-ize.
13594 (Fpq_connectdb): Mule-ize & bug fix.
13595 (Fpq_connect_start): Mule-ize.
13596 (Fpq_set_client_encoding): Mule-ize.
13597 (Fpq_finish): Document `DEAD' connection status.
13598 (Fpq_clear): Ditto.
13599 (Fpq_pgconn): Mule-ize.
13600 (Fpq_exec): Mule-ize & bug fix.
13601 (Fpq_send_query): Ditto.
13602 (Fpq_get_result): Ditto.
13603 (Fpq_res_status): Mule-ize.
13604 (Fpq_result_error_message): Mule-ize.
13605 (Fpq_ntuples): fix comments.
13606 (Fpq_fname): Mule-ize.
13607 (Fpq_fnumber): Mule-ize.
13608 (Fpq_ftype): fix comments.
13609 (Fpq_get_value): Mule-ize.
13610 (Fpq_cmd_status): Ditto.
13611 (Fpq_cmd_tuples): Ditto.
13612 (Fpq_oid_value): Ditto.
13613 (Fpq_notifies): Ditto.
13614 (Fpq_lo_import): Ditto.
13615 (Fpq_lo_export): Ditto.
13616 (Fpq_get_line): Ditto.
13617 (Fpq_put_line): Mule-ize and bug fix.
13618 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13620 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13622 * postgresql.c (vars_of_postgresql): Mule-ize.
13623 (Fpq_conn_defaults): Ditto.
13625 2000-03-12 Ben Wing <ben@xemacs.org>
13627 * alloc.c (Fmake_byte_code):
13628 * alloc.c (debug_string_purity_print):
13629 * alloc.c (pdump_backtrace):
13630 * alloc.c (pdump_get_indirect_count):
13631 * alloc.c (pdump_register_sub):
13632 * alloc.c (pdump_register_object):
13633 * alloc.c (pdump_register_struct):
13634 * alloc.c (pdump_dump_data):
13635 * alloc.c (pdump_reloc_one):
13639 * console-msw.c (GetConsoleHwnd):
13640 * console-msw.c (msw_hide_console):
13641 * console-msw.c (msw_show_console):
13642 * console-msw.c (msw_ensure_console_buffered):
13643 * console-msw.c (msw_output_console_string):
13644 * console-msw.c (console_type_create_mswindows):
13646 a) Added functions to manipulate the console window for use with
13649 b) Added support for writing text to the console, which is now
13650 used under Windows when xemacs is not being run non-interactively,
13651 to write text that would otherwise be destined for stdout because
13652 under these circumstances, text written to stdout tends to
13653 disappear and not be seen.
13657 * event-Xt.c (x_event_to_emacs_event):
13658 * event-Xt.c (describe_event_window):
13659 * events-mod.h (XEMACS_MOD_CONTROL):
13661 * events.c (Fmake_event):
13662 * events.c (character_to_event):
13663 * events.c (event_to_character):
13664 * events.c (format_event_object):
13665 * events.c (Fevent_modifiers):
13667 * events.h (struct key_data):
13668 * events.h (struct button_data):
13669 * events.h (struct misc_user_data):
13670 * frame-x.c (Fcde_start_drag_internal):
13671 * frame-x.c (Foffix_start_drag_internal):
13672 * gpmevent.c (Freceive_gpm_event):
13674 * keymap.c (bucky_sym_to_bucky_bit):
13675 * keymap.c (control_meta_superify):
13676 * keymap.c (make_key_description):
13677 * keymap.c (keymap_lookup_directly):
13678 * keymap.c (create_bucky_submap):
13679 * keymap.c (keymap_store):
13680 * keymap.c (define_key_check_and_coerce_keysym):
13681 * keymap.c (define_key_parser):
13682 * keymap.c (define_key_alternate_name):
13683 * keymap.c (Fdefine_key):
13684 * keymap.c (raw_lookup_key_mapper):
13685 * keymap.c (struct map_keymap_unsorted_closure):
13686 * keymap.c (map_keymap_unsorted_mapper):
13687 * keymap.c (map_keymap_sort_predicate):
13688 * keymap.c (map_keymap_sorted):
13689 * keymap.c (accessible_keymaps_mapper_1):
13690 * keymap.c (where_is_recursive_mapper):
13691 * keymap.c (describe_map_mapper):
13692 * keymap.c (describe_map_sort_predicate):
13693 * keymap.c (describe_map):
13694 * keymap.c (complex_vars_of_keymap):
13695 And a number of other files, the key modifier preprocessor
13696 constants that xemacs uses have names that conflict with constants
13697 defined under MS Windows for other purposes, so they were renamed
13698 to begin with the prefix XEMACS_. The variables that hold such
13699 modifiers were changed to consistently be of type int to fix
13700 various compile warnings.
13702 * console.c (complex_vars_of_console):
13705 * device-msw.c (mswindows_finish_init_device):
13706 * device-msw.c (msw_get_workspace_coords):
13707 * device-msw.c (mswindows_device_system_metrics):
13708 and various other files, added support for a new
13709 device property called offset-workspace which returns the position
13710 of the upper left corner of the workspace area and goes along with
13711 the existing size-workspace property.
13714 * dialog-msw.c (push_bufbyte_string_as_unicode):
13715 * dialog-msw.c (mswindows_popup_dialog_box):
13716 Added support for XEmacs-style accelerator specifications in
13717 button text. Note: I didn't add support for this under X Windows,
13718 and somebody needs to do this.
13721 * dialog.c (Fpopup_dialog_box):
13722 Documented the support for accelerators that was just mentioned.
13724 editfns.c (get_home_directory): Changed behavior under Windows
13725 when HOME not defined; former behavior was irretrievably broken.
13728 * emacs.c (main_1):
13730 * minibuf.c (clear_echo_area_internal):
13731 * minibuf.c (echo_area_append):
13733 * print.c (std_handle_out_external):
13734 * print.c (std_handle_out_va):
13736 * print.c (write_string_to_stdio_stream):
13737 * print.c (output_string):
13738 * print.c (debug_print):
13739 * print.c (debug_backtrace):
13740 * print.c (debug_short_backtrace):
13741 Cleaned up the code that prints text to stdout so that this can be
13742 changed to output into a console window instead under MS Windows,
13743 as described above.
13746 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13747 * eval.c (internal_catch):
13748 * eval.c (unwind_to_catch):
13749 * eval.c (throw_or_bomb_out):
13750 * eval.c (condition_case_1):
13751 * eval.c (signal_1):
13752 * eval.c (check_error_state_sanity):
13753 * eval.c (call_with_suspended_errors_1):
13754 * eval.c (call_with_suspended_errors):
13755 * eval.c (reinit_vars_of_eval):
13756 Added code to catch throw loops and check for a pesky bug that may
13760 * event-msw.c (key_needs_default_processing_p):
13761 * event-msw.c (mswindows_wnd_proc):
13762 * event-msw.c (mswindows_modifier_state):
13763 * event-msw.c (emacs_mswindows_quit_p):
13764 * event-msw.c (vars_of_event_mswindows):
13765 a) Added support for using the alt key to select menu items as is
13766 standard under MS Windows. This is controlled using the variable
13767 menu-accelerator-enabled, just like under X Windows. There is an
13768 option on the options menu to turn this support on. I really
13769 think that it should be on by default under Windows, but I'm not
13770 going to make this change yet.
13772 b) Added support for dynamic display size changes under Windows.
13775 * event-stream.c (maybe_echo_keys):
13776 * event-stream.c (Fnext_event):
13777 * event-stream.c (command_builder_find_leaf):
13778 * event-stream.c (lookup_command_event):
13779 * event-stream.c (execute_command_event):
13780 * event-stream.c (pre_command_hook):
13781 * event-stream.c (post_command_hook):
13782 * event-stream.c (syms_of_event_stream):
13783 * event-stream.c (vars_of_event_stream):
13784 * event-stream.c (complex_vars_of_event_stream):
13785 * events.h (struct command_builder):
13787 a) Tried to clean up a little bit the horribly written x-specific
13788 accelerator code that crept into this file. I moved this code
13789 into menubar-x.c where it belongs. I also needed to move the
13790 command builder structure into the file events.h because it is
13791 accessed directly by this accelerator code. What I didn't do, but
13792 which should be done at some point, is to properly abstract this
13793 code using device methods instead of the kludgy way that it
13794 currently hooks into the event code.
13796 b) Added the lisp variables this-command-properties and
13797 last-command- properties, which should be used to synchronize two
13798 adjacent commands in preference to playing games with the variable
13799 this-command, which is typically what happens.
13801 c) Added some slightly nasty code to hook into the lisp support
13802 for shifted- motion-key selection. This is actually necessary for
13803 somewhat complicated reasons, which are described in
13804 simple.el. (NB: I think the proper thing would be to have the code
13805 that calls the pre and post command hooks also call out to generic
13806 lisp functions in simple.el, where all built-in stuff could be
13807 added. I will think about this more.)
13809 * event-unixoid.c (poll_fds_for_input):
13810 * lread.c (readchar):
13811 * redisplay-tty.c (tty_clear_frame):
13812 * redisplay-x.c (x_get_gc):
13813 * signal.c (interrupt_signal):
13814 And a whole bunch of other files: fixed up places that printed
13815 directly to stderr to instead call the function stderr_out so that
13816 the changes I made under Windows work correctly.
13818 * filemode.c (mode_string):
13822 * frame-msw.c (mswindows_size_frame_internal):
13823 Fixed the computation of frame size and position to keep the frame
13824 within the workspace area, rather than within the physical
13825 dimensions of the screen, so that the frame doesn't overlap window
13826 manager decorations, such as the start menu and toolbar, typically
13827 at the bottom of the screen.
13829 * frame.c (vars_of_frame):
13830 Changed the default frame title format under MS Windows to consist
13831 of buffername-XEmacs, which is standard under MS Windows. I think
13832 it might be a good idea to change this everywhere because I think
13833 it is superior to the current frame title format, but this is the
13834 kind of change that is likely to cause some people to get annoyed,
13835 so I'm not making it.
13837 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13839 * gui-msw.c (mswindows_handle_gui_wm_command):
13840 Fixed compile warnings.
13843 * gui-x.c (strdup_and_add_accel):
13844 * gui-x.c (button_item_to_widget_value):
13846 Added code to automatically put an accelerator onto the beginning
13847 of menu items that don't have one as is now the standard, and is
13848 described more later. Also fixed things so that the menu item
13849 name can be an evaluated expression, again a new standard.
13852 * gui.c (gui_item_add_keyval_pair):
13853 * gui.c (make_gui_item_from_keywords_internal):
13854 * gui.c (gui_add_item_keywords_to_plist):
13855 * gui.c (gui_item_accelerator):
13856 * gui.c (gui_name_accelerator):
13857 * gui.c (gui_item_included_p):
13858 * gui.c (gui_item_display_flush_left):
13859 * gui.c (gui_item_display_flush_right):
13860 * gui.c (parse_gui_item_tree_item):
13861 * gui.c (parse_gui_item_tree_children):
13862 * gui.c (parse_gui_item_tree_list):
13863 Mule-ized. Cleanup. GCPRO addition.
13865 * line-number.c (buffer_line_number):
13867 * lisp.h (EMACS_INT_MAX):
13868 Added the manifest constant EMACS_INT_MIN corresponding to the
13869 existing constant EMACS_INT_MAX. This is partially to fix compile
13870 warnings under Windows, and partly for cleanliness.
13873 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13874 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13875 * menubar-msw.c (displayable_menu_item):
13876 * menubar-msw.c (populate_menu_add_item):
13877 * menubar-msw.c (populate_or_checksum_helper):
13878 * menubar-msw.c (populate_menu):
13879 * menubar-msw.c (update_frame_menubar_maybe):
13880 * menubar-msw.c (prune_menubar):
13881 * menubar-msw.c (msw_char_is_accelerator):
13882 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13883 * menubar-msw.c (mswindows_handle_wm_command):
13884 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13885 * menubar-msw.c (mswindows_handle_wm_initmenu):
13886 * menubar-msw.c (mswindows_update_frame_menubars):
13887 * menubar-msw.c (mswindows_free_frame_menubars):
13888 * menubar-msw.c (mswindows_popup_menu):
13889 Fixed a bug in handling accelerators where an extra character
13890 would be displayed in the menu item. Also generalized the
13891 function displayable_menu_item because it is now used by the
13892 dialog box code as well. And finally, added code in the functions
13893 that create the menubar to extract a list of accelerators for the
13894 top level menubar, which is used in the event code to determine
13895 whether a particular alt-key combination should be used to invoke
13896 a menu item, or should be passed through to access the standard
13897 XEmacs keymap binding for this key combination.
13899 Much needed GCPROing.
13902 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13903 * menubar-x.c (menu_item_descriptor_to_widget_value):
13904 * menubar-x.c (restore_in_menu_callback):
13905 * menubar-x.c (x_popup_menu):
13906 * menubar-x.c (menu_move_up):
13907 * menubar-x.c (menu_move_down):
13908 * menubar-x.c (menu_move_left):
13909 * menubar-x.c (menu_move_right):
13910 * menubar-x.c (menu_select_item):
13911 * menubar-x.c (command_builder_operate_menu_accelerator):
13912 * menubar-x.c (menu_accelerator_junk_on_error):
13913 * menubar-x.c (command_builder_find_menu_accelerator):
13914 * menubar-x.c (Faccelerate_menu):
13916 Moved a whole bunch of code here that was previously in
13917 event-stream.c as described above. There is also code connected
13918 to the new standard of adding an accelerator to the beginning of
13919 menu items that don't have one as described above and below.
13922 * menubar.c (menu_parse_submenu_keywords):
13923 * menubar.c (Fmenu_find_real_submenu):
13924 * menubar.c (Fnormalize_menu_item_name):
13925 * menubar.c (syms_of_menubar):
13926 * menubar.c (vars_of_menubar):
13927 * menubar.c (complex_vars_of_menubar):
13929 a) Cleaned up a bunch of documentation and improved it.
13931 b) XEmacs now automatically adds an accelerator onto the beginning
13932 of any menu items that don't have one. I did this because there
13933 will inevitably be some menu items on the main menubar that don't
13934 have accelerators on them because the package that adds that
13935 particular menu item hasn't yet been fixed up to have accelerators
13936 in them and it looked rather strange to have some items with and
13937 some items without accelerators, especially since even in items
13938 without accelerators, you can, at least under windows, still
13939 access the item through an accelerator corresponding to the first
13940 character in the item's name. If people don't like this behavior,
13941 I can add a variable to turn it off optionally, but I'm not sure
13942 this is a good idea because we really do need to have accelerators
13943 on all of the menu items, and if a package doesn't like the
13944 accelerators being put on the first character, then it should put
13945 the accelerators where they belong.
13947 c) I made a behavior change, which is that the descriptor that
13948 specifies the text of the menu item, which formerly was just a
13949 string, can now also be an evaluated expression. This makes this
13950 descriptor parallel with all of the others, which could also be
13951 evaluated expressions. This also obviates the need for the
13952 keyword :label, which was previously listed in the documentation
13953 as unimplemented, and which was for the same purpose.
13958 * ntproc.c (new_child):
13959 * ntproc.c (sys_spawnve):
13960 * ntproc.c (find_child_console):
13961 * ntproc.c (sys_kill):
13962 Fixed compile warnings. By the way, this file should really go
13963 away entirely, and this will happen as soon as Kirill makes his
13964 final round of process cleanups, which affect the function
13968 * process-nt.c (struct nt_process_data):
13969 * process-nt.c (find_process_from_pid):
13970 * process-nt.c (send_signal_the_nt_way):
13971 * process-nt.c (enable_child_signals):
13972 * process-nt.c (find_child_console):
13973 * process-nt.c (send_signal_the_95_way):
13974 * process-nt.c (nt_finalize_process_data):
13975 * process-nt.c (ensure_console_window_exists):
13976 * process-nt.c (nt_create_process):
13977 * process-nt.c (nt_kill_child_process):
13978 * process-nt.c (nt_kill_process_by_pid):
13979 * process-nt.c (nt_open_network_stream):
13980 * process-nt.c (vars_of_process_nt):
13981 Copied over code from Emacs 20.5 to correctly send signals to sub-
13982 processes under Windows 95. Also added code to automatically
13983 create and hide console window when a sub-process is created under
13984 Windows 95, which obviates the need for the separate runemacs.exe
13985 executable, and finally implemented some variables that were
13986 implemented in Emacs 20.5, but previously not in XEmacs. These
13987 include mswindows- start-process-share-console and
13988 mswindows-start-process-inherit-error-mode. (Both of these only
13989 apply to Windows 95.)
13991 * regex.c (regex_compile): Fixed a compile warning.
13994 * select-msw.c (mswindows_own_selection):
13995 * select-msw.c (mswindows_get_foreign_selection):
13996 * select-msw.c (mswindows_disown_selection):
13997 * select-msw.c (console_type_create_select_mswindows):
13998 * select-msw.c (syms_of_select_mswindows):
13999 Cleaned up the file and implemented the device method
14000 selection_exists_p, which had accidentally been left out. Also
14001 removed four lisp functions that were remnants from before the
14002 time when the selection code was properly device abstracted.
14003 These functions are no longer needed because there are generic
14004 equivalents, and because they were added recently and don't exist
14005 in FSF Emacs, I don't think there's any problem with just deleting
14009 * sysdep.c (sys_subshell):
14010 Fixed a compile warning, although in this case there's probably
14011 something wrong with this code, and it ought to be looked into
14012 more thoroughly by somebody who understands it.
14015 * window.c (Fwindow_text_area_height):
14016 * window.c (Fwindow_width):
14017 * window.c (Fwindow_full_width):
14018 * window.c (Fwindow_pixel_width):
14019 * window.c (debug_print_window):
14020 * window.c (syms_of_window):
14021 Added functions window-text-area-height and window-full-width,
14022 which are functions for returning various width and height
14023 characteristics of a window. (One of these functions is necessary
14024 for making the file dialog box work correctly, and the other one
14025 was added for completeness.) Also added a table to the
14026 documentation for window-height which describes the entire scheme
14027 for accessing width and height characteristics of a window.
14029 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14031 * nt.c (fstat): Added a comment for another problem with
14032 non-encapsulated [f]stat(), reported by Adrian Aichner
14033 <aichner@ecf.teradyne.com>.
14035 2000-03-11 Andy Piper <andy@xemacs.org>
14037 * window.c (make_dummy_parent): initialize subwindow instance
14039 (Fset_window_configuration): zero extent_modiff.
14041 2000-03-10 Andy Piper <andy@xemacs.org>
14043 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14044 more changes can be triggered.
14045 (Fredisplay_frame): ditto.
14046 (Fredraw_device): ditto.
14047 (Fredisplay_device): ditto.
14048 (redisplay_frame): make non-static.
14049 (redisplay_frame): call update_frame_gutter_geometry outside of
14052 * gutter.h: declare update_frame_gutter_geometry.
14054 * redisplay.h: declare redisplay_frame.
14056 * gutter.c (update_frame_gutter_geometry): move geometry changes
14057 in update_frame_gutters here. Geometry changes can only occur
14058 outside of redisplay.
14059 (update_frame_gutters): remove geometry change code.
14060 (Fredisplay_gutter_area): make sure that we are in display when we
14061 update and that we have flushed any size changes.
14063 2000-03-11 Andy Piper <andy@xemacs.org>
14065 * alloc.c (pdump_dump_data): remove i & count shadows.
14067 2000-02-27 Mike Alexander <mta@arbortext.com>
14069 * sysdep.h: Declare pdump_read_file
14071 * sysdep.c (pdump_read_file): New function
14073 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14076 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14078 * lrecord.h: add `lrecord_type_pgsetenv'.
14080 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14082 * symsinit.h: declare (vars|syms)_of* functions.
14083 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14085 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14087 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14089 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14092 * emacs.c (main_1): Call postgres initialization code.
14094 * postgresql.h: New file. PostgreSQL RDBMS support.
14095 * postgresql.c: New file.
14097 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14099 * redisplay-output.c (redisplay_output_display_block): Disable
14102 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14104 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14105 (Fcanna_henkan_next): Ditto.
14106 (Fcanna_bunsetu_henkou): Ditto.
14107 (Fcanna_henkan_kakutei): Ditto.
14108 (Fcanna_henkan_end): Ditto.
14109 (Fcanna_henkan_quit): Ditto.
14110 (Fcanna_henkan_next): Set retun value correctly.
14111 (c2mu): Use unsigned char instead of signed char.
14113 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14115 * emacs.c (main_1): Always call syms_of_gui.
14116 * inline.c: include gui.h
14118 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14120 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14121 converted to Lisp_Object.
14122 (Qtop_bottom): New variable.
14123 (syms_of_redisplay): Initialize it.
14124 * redisplay.h (Vvisible_bell): Ditto.
14125 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14126 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14127 only flash top and bottom.
14129 2000-03-08 Andy Piper <andy@xemacs.org>
14131 * buffer.c (Frename_buffer): record new buffer name the right way.
14133 2000-03-08 Andy Piper <andy@xemacs.org>
14135 * glyphs.c (update_subwindow): increase hash depth so that widget
14136 items get picked up properly.
14138 * redisplay-output.c (compare_runes): increase hash depth so that
14139 widget items get picked up properly.
14141 2000-03-08 Andy Piper <andy@xemacs.org>
14143 * gutter.c (output_gutter): add some debug.
14145 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14146 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14147 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14149 * redisplay-output.c (compare_runes): use display_hash to
14150 determine if glyphs really are not the same.
14152 * glyphs.c (update_subwindow): check display_hash to see if
14153 anything really needs to be updated. If not then do
14154 nothing. Record the display_hash after updating.
14155 (image_instance_equal): compare the image_instance face also.
14157 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14159 * redisplay.h: Fix comment style.
14161 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14163 * consle-msw.h (struct mswindows_frame):
14164 Added new member paint_pending to indicate whether a WM_PAINT
14165 magic event has been queued for this frame.
14167 * event-msw.c (mswindows_drain_windows_queue):
14168 Don't queue a WM_PAINT magic event if one is already queued.
14169 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14171 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14173 2000-03-07 Didier Verna <didier@xemacs.org>
14175 * dired.c: #include `regex.h' after `sysfile.h'.
14177 2000-03-06 Martin Buchholz <martin@xemacs.org>
14179 * sound.c (init_nas_sound): Fix compiler warning.
14181 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14183 (MARK_STRUCT_AS_FREE):
14184 (MARK_STRUCT_AS_NOT_FREE):
14185 Make `gcc -fstrict-aliasing' work properly.
14187 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14189 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14190 (mswindows_delete_device): Call CoUnnitialize().
14192 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14194 2000-02-25 <CraigL@DyCon.com>
14196 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14199 * sysdep.c: This extern declaration for environ prevents MinGW
14200 from finding the variable in CRTDLL.DLL.
14202 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14204 (SHGFI_EXETYPE): ..
14205 (WM_MOUSEWHEEL): ..
14206 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14208 (MMRESULT): Removed, now defined in cygwin's windows headers.
14210 (uid_t,gid_t,pid_t,ssize_t): ..
14211 (_timeb): Removed, MinGW defines both _timeb and timeb.
14212 (HAVE_H_ERRNO): Added.
14213 (HAVE_TZNAME): Added, configure is not detecting this.
14215 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14217 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14218 * syntax.c (syntax_match): Use it.
14220 * cmds.c: Import auto-fill-chars from FSF Emacs.
14221 (Vauto_fill_chars): New variables.
14222 (internal_self_insert): Check Vauto_fill_chars.
14224 Declare auto-fill-chars as a Lisp variable and initialize it.
14226 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14228 * fileio.c (Fmake_symbolic_link):
14230 Run handlers even if local machine doesn't have symlinks.
14232 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14234 * event-msw.c (mswindows_drain_windows_queue):
14235 Don't generate paint magic events for non-XEmacs frames.
14237 2000-03-05 Andy Piper <andy@xemacs.org>
14239 * redisplay.c (redisplay_frame): generate_displayable_area and
14240 friends assumes that we are not in GC, we therefore have to make
14241 sure that this doesn't happen.
14243 * gutter.c (calculate_gutter_size): generate_displayable_area
14244 assumes that we are not in GC, we therefore have to make sure that
14245 this doesn't happen.
14247 2000-03-05 Martin Buchholz <martin@xemacs.org>
14249 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14251 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14253 * redisplay.c (regenerate_window): Make sure we set a sane value
14254 for end_pos even if we jump out of the loop.
14255 (regenerate_window): Answer Ben's question :-).
14256 (start_end_of_last_line): Add may_error argument.
14257 (start_of_last_line):
14258 (end_of_last_line): Pass may_error = 0.
14259 (end_of_last_line_may_error): New function.
14260 (pixel_to_glyph_translation): Use it, so we don't crash in
14263 2000-03-04 Andy Piper <andy@xemacs.org>
14265 * window.h (struct window): add gutter_extent_modiff.
14267 * window.c (allocate_window): zero out gutter_extent_modiff.
14269 * redisplay.h: declare sync_display_line_structs.
14271 * redisplay.c (add_glyph_rune): add a better comment.
14273 * redisplay-output.c (sync_display_line_structs): made non-static.
14274 (compare_runes): remove unneccesary glyph cachel access.
14276 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14278 * gutter.c (output_gutter): don't output the gutter if extent
14279 changes only involve extents in buffers. use 4 sets of display
14281 (gutter_extent_signal_changed_region_maybe): new function. Mark
14282 extents in gutters as changed.
14283 (update_frame_gutters): use 4 sets of display lines.
14284 (reset_gutter_display_lines): ditto.
14285 (free_frame_gutters): ditto.
14286 (redraw_exposed_gutter): force output of gutters.
14288 * frame.h (struct frame): add 4 sets of gutter display lines.
14290 * extents.c: (extent_changed_for_redisplay): signal changes to
14291 extents in strings in the gutter as well as extents in buffers.
14293 2000-03-02 Andy Piper <andy@xemacs.org>
14295 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14297 * frame.c (Fmake_frame): make sure the gutters get initialized
14298 after the frame is visible.
14299 (set_frame_selected_window): re-arrange compilation macros a
14301 (change_frame_size_1): mark gutters changed.
14303 * device.c (Fset_device_class): mark gutters changed.
14305 2000-03-01 Andy Piper <andy@xemacs.org>
14307 * window.c (window_top_frame_gutter_height): deleted.
14308 (window_bottom_frame_gutter_height): ditto.
14309 (window_left_frame_gutter_height): ditto.
14310 (window_right_frame_gutter_height): ditto.
14311 (window_top_gutter_height): don't use them.
14312 (window_bottom_gutter_height): ditto.
14313 (window_left_gutter_width): ditto.
14314 (window_right_gutter_width): ditto.
14315 (Fsplit_window): ditto.
14316 (Fwindow_pixel_edges): don't use border dimensions here.
14318 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14319 (update_scrollbar_instance): ditto.
14321 * redisplay.c (generate_modeline): don't take gutters into account.
14322 (generate_modeline): ditto.
14323 (redisplay_frame): small gutter display optimization.
14325 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14327 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14328 gutters into account.
14330 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14331 for window position and type.
14333 * gutter.c (get_gutter_coords): fix for frame gutters.
14334 (update_frame_gutters): update frame geometry if the gutters have
14336 (init_frame_gutters): record current gutter geometries.
14338 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14340 (mswindows_widget_instantiate): ditto.
14342 * frame.h (struct frame): add current_gutter_bounds.
14344 * frame.c (change_frame_size_1): position window and minibuffer
14345 appropriately taking into account the frame gutters.
14347 * frame-x.c: (x_initialize_frame_size): take into account the
14350 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14352 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14354 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14356 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14358 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14360 * file-coding.c (reset_decoding_stream): Clear previous
14361 detection state when autodetect.
14363 2000-02-29 Didier Verna <didier@xemacs.org>
14365 * extents.c (set_extent_glyph_1): don't require extents to be
14368 2000-02-27 Andy Piper <andy@xemacs.org>
14370 * gutter.c (Fset_default_gutter_position): don't default left and
14371 right gutter visibility to t.
14372 (Fset_default_gutter_position): run
14373 default-gutter-position-changed-hook.
14374 (syms_of_gutter): add default-gutter-position-changed-hook.
14376 2000-02-26 Andy Piper <andy@xemacs.org>
14378 * specifier.c (Fmake_specifier): add gutter references.
14380 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14382 * lisp.h: declare Fvalid_plist_p.
14384 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14386 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14387 well as its visibility so that it gets reconstructed.
14388 (construct_window_gutter_spec): new function. Construct a string
14389 to be displayed in the gutter from a plist of strings. Take care
14390 to only use elements that are declared as visible.
14391 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14393 (gutter_validate): allow plists of strings in the specifier.
14394 (gutter_specs_changed): construct the real_gutter from the gutter
14395 specs using construct_window_gutter_spec.
14396 (gutter_visible_validate): gutter-visible is a new specifier type.
14397 (Fgutter_visible_specifier_p): new function for the new specifier.
14398 (syms_of_gutter): declare gutter-visible and
14399 Fgutter_visible_specifier_p.
14400 (specifier_type_create_gutter): intitalize new gutter-visible
14402 (reinit_specifier_type_create_gutter): ditto.
14403 (specifier_vars_of_gutter): use new specifier type for gutter
14405 (init_frame_gutters): construct real_gutter correctly.
14406 (Fgutter_specifier_p): beef up documentation.
14407 (Fgutter_size_specifier_p): ditto.
14409 * winslots.h: add real_gutter slots.
14411 2000-02-25 Andy Piper <andy@xemacs.org>
14413 * device-msw.c: Be kind to older cygwin versions. From Raymond
14414 Toy <toy@rtp.ericsson.se>.
14416 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14417 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14419 2000-02-25 Martin Buchholz <martin@xemacs.org>
14421 * elhash.c (MARK_OBJ): Practice macro hygiene.
14423 2000-02-24 Martin Buchholz <martin@xemacs.org>
14425 * miscplay.c: s/__inline__/inline/g;
14426 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14427 (get_device_compdc): INLINE ==> static inline
14428 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14429 find -name '*.h' | \
14430 xargs global-replace \
14431 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14433 2000-02-25 Andy Piper <andy@xemacs.org>
14435 * window.c (window_top_frame_gutter_height): new function.
14436 (window_top_window_gutter_height): ditto.
14437 (window_top_gutter_height): use them.
14438 (window_bottom_frame_gutter_height): new function.
14439 (window_bottom_window_gutter_height): ditto.
14440 (window_bottom_gutter_height): use them.
14441 (window_left_window_gutter_width): new function.
14442 (window_left_frame_gutter_width): ditto.
14443 (window_left_gutter_width): use them.
14444 (window_right_window_gutter_width): new function.
14445 (window_right_frame_gutter_width): ditto.
14446 (window_right_gutter_width): use them.
14447 (window_pixel_height): new function. calulate window pixel height
14448 with frame gutter involvement.
14449 (Fsplit_window): calculate new sizes taking frame gutters into
14451 (window_char_height_to_pixel_height): don't include frame gutters.
14452 (window_char_height): use window_pixel_height.
14453 (window_pixheight): rename from window_pixel_height.
14454 (change_window_height): use it.
14455 (window_pixel_height_to_char_height): don't include frame gutters.
14456 (window_char_width_to_pixel_width): ditto.
14458 2000-02-25 Andy Piper <andy@xemacs.org>
14460 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14463 2000-02-24 Martin Buchholz <martin@xemacs.org>
14465 * alloc.c (staticpro):
14466 (staticpro_nodump):
14471 (compact_string_chars):
14472 (pdump_dump_wired):
14473 Convert: if (foo) abort(); ==> assert (! foo);
14475 * eldap.c (Fldap_search_basic):
14479 Fix compiler warnings, and possible crashes if (random) return
14480 value were to be used.
14482 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14484 * device-msw.c: Workaround ResetDC failure.
14486 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14487 applying a devmode.
14489 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14490 (mswindows_text_width): Do not start printer page.
14492 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14494 * glyphs-msw.c: Added image methods to msprinter console and
14495 msprinter-specific image instantiation.
14497 2000-02-20 Mike Alexander <mta@arbortext.com>
14499 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14500 to avoid crashes when selection-sets-clipboard is on
14501 (mswindows_own_selection): ditto
14503 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14506 * redisplay-msw.c (get_frame_dc):
14507 (get_frame_compdc):
14509 * device-msw.c (mswindows_init_device):
14510 (mswindows_delete_device):
14511 (msprinter_init_device):
14512 (msprinter_delete_device):
14513 * frame-msw.c (mswindows_init_frame_1):
14514 (mswindows_delete_frame):
14515 (msprinter_init_frame_3):
14516 (msprinter_delete_frame): Move compatible DC to device object from
14517 frame object, for both mswindows and msprinter. Only one at a time
14518 is needed, it is a real waste to have one per frame!
14520 2000-02-23 Andy Piper <andy@xemacs.org>
14522 * glyphs.c: add dynamic width and height elements.
14523 (image_instance_equal): ditto.
14525 * glyphs-widget.c (widget_query_geometry): calculate width and
14526 height dynamically if required.
14527 (initialize_widget_image_instance): initialize dynamic dimensions.
14528 (widget_instantiate): pick-up dynamic dimensions.
14530 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14531 dynamic determination. Add appropriate macros.
14533 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14535 (WINDOW_GUTTER_SIZE): ditto.
14536 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14538 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14540 (get_frame_dc): ditto.
14542 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14545 2000-02-23 Martin Buchholz <martin@xemacs.org>
14547 * XEmacs 21.2.31 is released.
14549 2000-02-22 Ben Wing <ben@xemacs.org>
14551 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14553 2000-02-22 Andy Piper <andy@xemacs.org>
14555 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14557 2000-02-21 Mike Sperber <mike@xemacs.org>
14561 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14564 2000-02-21 Mike Sperber <mike@xemacs.org>
14566 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14568 2000-02-21 Martin Buchholz <martin@xemacs.org>
14570 * XEmacs 21.2.30 is released.
14572 2000-02-20 Martin Buchholz <martin@xemacs.org>
14574 Performance hacking.
14576 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14577 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14578 * emacs.c (main_1):
14580 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14581 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14582 * symeval.h (DEFVAR_SYMVAL_FWD):
14583 * symbols.c (guts_of_unbound_marker):
14584 Make all c_readonly objects also lisp_readonly and marked for life.
14585 * lrecord.h (struct lrecord_implementation):
14586 Document flags better.
14587 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14588 * lrecord.h (DECLARE_LRECORD):
14589 * lrecord.h (XSETRECORD):
14590 * lrecord.h (RECORDP):
14591 * lrecord.h (RECORD_TYPEP):
14592 * lrecord.h (RECORD_MARKER): New.
14593 * lrecord.h (error_check_*):
14594 * lrecord.h (CONCHECK_NONRECORD):
14595 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14596 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14597 * lrecord.h (set_lheader_implementation):
14598 * lrecord.h (enum lrecord_type): New.
14599 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14600 * alloc.c (disksave_object_finalization_1):
14601 * alloc.c (mark_object):
14602 * alloc.c (lrecord_type_index):
14603 * alloc.c (tick_lcrecord_stats):
14604 * alloc.c (Fgarbage_collect):
14605 * alloc.c (init_alloc_once_early):
14606 * alloc.c (pdump_load):
14607 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14608 * alloc.c (lrecord_type_index): Delete.
14609 Make lisp object type indexes be constant.
14610 Makes (byte-compile) 5% faster.
14611 Put all marker functions into their own array.
14612 Makes (garbage-collect) 5% faster.
14613 Optimize SYMBOL_VALUE_MAGIC_P.
14614 Makes (byte-compile) 2-3% faster.
14615 * config.h.in (gc_checking_assert): New.
14616 * alloc.c: Use gc_checking_assert().
14617 * .dbxrc: Make compatible with new object type implementation.
14618 * .gdbinit: Make compatible with new object type implementation.
14619 * alloc.c: Delete all symbols defined only for debugging, such as
14620 Lisp_Type_Vector and lrecord_charset.
14622 2000-02-21 Andy Piper <andy@xemacs.org>
14624 * gui-msw.c (Fmswindows_shell_execute): fix file location
14627 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14628 unshowing so that set_window_buffer doesn't undo
14629 kill_buffer_hook's hard work.
14631 * glyphs-widget.c (tab_control_query_geometry): don't count the
14632 first item when calculating geometry.
14634 * glyphs.c (map_subwindow): remove redundant code.
14635 (update_frame_subwindows): be more circumspect about when to
14638 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14639 when items haven't changed. Update faces if faces have changed as
14640 well as just the widget face.
14641 (x_tab_control_update): Update faces if faces have changed as well
14642 as just the widget face.
14644 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14646 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14648 (build_syscolor_string): Use mswindows_color_to_string to try to
14650 (mswindows_device_system_metrics): Reverse the foreground and
14651 background colors so that they match the documentation.
14653 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14654 they match the default Windows palette.
14655 (mswindows_color_to_string): New function.
14657 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14659 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14661 2000-02-18 Olivier Galibert <galibert@pobox.com>
14663 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14664 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14666 * symbols.c (init_symbols_once_early): Removed obsolete
14667 DATA_SEG_BITS related kludge.
14668 (defvar_magic): Ditto.
14670 * malloc.c: Removed obsolete DATA_SEG_BITS
14672 * mem-limits.h: Ditto.
14674 * Makefile.in.in: Removed obsolete HAVE_SHM
14677 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14679 * device-msw.c (mswindows_delete_device): Free DDE string
14682 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14684 * keymap.c (get_keyelt):
14685 * unexnt.c (unexec):
14686 * vm-limit.c (memory_warnings):
14687 * ntheap.c (recreate_heap):
14688 * ntheap.h (UNINIT_PTR):
14689 * select-msw.c (Fmswindows_get_clipboard):
14690 (Fmswindows_set_clipboard):
14691 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14693 * menubar-msw.c (displayable_menu_item):
14695 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14696 * sysdep.c (sys_subshell):
14697 * process-nt.c (nt_create_process):
14698 * nt.c (normalize_filename):
14699 (dostounix_filename):
14700 (unixtodos_filename):
14701 * ntproc.c (win32_executable_type):
14702 * ntplay.c (play_sound_data_1):
14704 * editfns.c (get_home_directory):
14705 * event-msw.c (struct winsock_stream):
14706 (mswindows_dde_callback):
14707 * device-msw.c (msprinter_init_device):
14708 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14710 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14711 mswindows_clear_toolbar were swapped!
14713 * objects-msw.c:(colormap_t):
14715 * emacs.c (struct standard_args): Fixed const jumble.
14717 * glyphs-widget.c (update_widget): Fixed comparison notation.
14719 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14721 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14722 __declspec(noreturn) syntax.
14724 2000-02-19 Martin Buchholz <martin@xemacs.org>
14726 * eldap.c (Fldap_open):
14727 (Fldap_search_basic):
14730 Use new coding system conversion macros.
14732 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14734 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14736 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14738 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14739 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14741 * eldap.c (Qadd, Qreplace): New constant symbols
14742 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14743 interruptions by XEmacs signals
14744 Remove unnecessary calls to slow_down_interrupts and
14745 speed_up_interrupts
14746 (Fldap_search_basic): Renamed from Fldap_search_internal
14747 Added new optional parameter VERBOSE that triggers the
14748 display of progress messages
14749 Remove unnecessary calls to slow_down_interrupts and
14750 speed_up_interrupts
14751 LDAP result code analysis rewritten
14752 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14753 (syms_of_eldap): Define the new symbols and functions
14756 2000-02-17 Martin Buchholz <martin@xemacs.org>
14758 * realpath.c: Determine PATH_MAX maximally portably.
14760 * insdel.c (bytecount_to_charcount): Optimize.
14761 The function used to be optimized for entirely ASCII sequences.
14762 Now it is optimized for successive characters from the same
14763 charset. This also wins big for _mostly_ ASCII sequences.
14765 * fileio.c (Ffile_truename): convert return from realpath() using
14766 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14767 - Rewrite GCPROing slightly.
14769 * sysdep.c (sys_open): Do filename conversion, like all other
14770 sys_* functions. Fixes bug:
14771 (let ((file-name-coding-system 'iso-8859-2))
14772 (write-region x y latin2-name))
14773 ==> writes filename using internal encoding.
14775 2000-02-18 Martin Buchholz <martin@xemacs.org>
14777 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14778 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14779 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14780 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14781 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14782 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14783 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14784 (CONST_IF_NOT_DEBUG): Delete.
14785 * alloc.c (this_one_is_unmarkable): Delete.
14786 (mark_object): Don't check for this_one_is_unmarkable. Use the
14787 c_readonly flag instead.
14788 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14790 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14792 * event-msw.c (mswindows_drain_windows_queue):
14793 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14794 away redundant repaint events.
14796 2000-02-17 Andy Piper <andy@xemacs.org>
14798 * redisplay.h: declare mark_redisplay_structs.
14800 * redisplay.c (redisplay_window):
14801 (redisplay_frame): don't check subwindows_state_changed.
14802 (mark_redisplay): mark gutters here.
14804 * glyphs.c: (instantiate_image_instantiator): always layout if we
14805 haven't done so already.
14806 (allocate_image_instance): don't mark as dirty.
14807 (update_subwindow): bind inhibit_quit.
14809 * gutter.c (mark_gutters): new function.
14811 * glyphs-x.c (x_update_widget): Always resize to get round a
14814 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14815 breaking absolutely everything.
14817 * gutter.h: declare mark_gutters.
14819 2000-02-16 Martin Buchholz <martin@xemacs.org>
14821 * XEmacs 21.2.29 is released.
14823 2000-02-15 Olivier Galibert <galibert@pobox.com>
14825 * fns.c (size_bit_vector): Fix computation of the size.
14827 2000-02-15 Martin Buchholz <martin@xemacs.org>
14829 * *.[ch]: Change CONST to const globally.
14830 find -name '*.[ch]' | \
14831 xargs global-replace \
14832 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14833 - Remove vestigial references to CONST_IS_LOSING
14835 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14837 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14838 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14839 events instead of dispatching them directly.
14840 (mswindows_handle_paint): New function to do repainting.
14841 (mswindows_wnd_proc):
14842 (emacs_mswindows_handle_magic_event): Call above function.
14844 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14846 * objects-msw.c (mswindows_create_font_variant): Return the new
14848 (initialize_font_instance): Get font metrics from the underlined
14849 variant of the font to cope with the case where the underlined
14850 font has a bigger descent.
14852 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14854 * gui.c (gui_item_accelerator): Return the first underlined
14855 character in item name.
14857 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14859 * lisp.h: Added Qprinter.
14861 * general.c (syms_of_general): Initialized it.
14863 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14865 (get_frame_compdc): Made inline.
14867 * console.h (struct console_methods): Added eject_page method.
14869 * frame.h: Added FRAME_DISPLAY_P and friends.
14870 Aligned backslahes in many macros in more readable fashion.
14871 Added page_number to struct frame, and an accessor macro
14874 * defice.h: Added DEVICE_DISPLAY_P and friends.
14876 * device.c (Fdevice_printer_p): Used these.
14878 * frame.c (allocate_frame_core): Initialize page number.
14879 (Fprint_job_page_number):
14880 (Fprint_job_eject_page): Implemented.
14882 * frame-msw.c (msprinter_eject_page): Added method.
14883 (msprinter_start_page): Added.
14885 * window.c (Fwindow_truncated_p): Fixed docstring.
14886 (Fwindow_last_line_visible_height): Implemented.
14888 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14890 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14892 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14894 * syntax.c (scan_words): Always advance at least one character.
14896 2000-02-13 Andy Piper <andy@xemacs.org>
14898 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14899 to make sure the glyph is in the cachels.
14901 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14902 global image instance flag.
14903 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14904 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14906 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14907 (Fset_image_instance_property): mark layout as changed.
14908 (invalidate_glyph_geometry_maybe): mark layout as changed.
14909 (glyph_width): use new NEEDS_LAYOUT macro.
14910 (glyph_ascent): ditto.
14911 (glyph_descent): ditto.
14912 (glyph_height): ditto.
14913 (image_instance_layout): mark layout as clean after laying out.
14914 (update_subwindow): don't mark layout as clean here.
14916 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14917 should no longer be needed.
14919 * glyphs-x.c (x_update_widget): sanitize asserts.
14920 (x_finalize_image_instance): sanitize assignment to widgets.
14922 * glyphs-widget.c (widget_instantiate): don't need to clear the
14925 2000-02-13 Martin Buchholz <martin@xemacs.org>
14927 * sysdep.c (getcwd): Use standard prototype.
14928 * sysdep.h (getcwd): Use standard prototype.
14930 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14931 (sequence, start, end).
14932 Remove redundant type checking.
14933 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14934 view of `caller-protects') to avoid a crash where the real fix was
14937 2000-02-12 Martin Buchholz <martin@xemacs.org>
14939 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
14941 * s/sol2.h: Remove feature macro initialization.
14943 * alloc.c (alloc_lcrecord): Add more type checking assertions.
14944 (vector_hash): New. Code from internal_hash.
14946 Fix up allocation subsystem comments.
14948 * config.h.in: Add __EXTENSIONS__ for Solaris.
14950 * systime.h (EMACS_GETTIMEOFDAY): New.
14951 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
14952 Remove Solaris-specific code.
14953 Use void* for the (ignored) second arg for gettimeofday().
14955 * elhash.c (hash_table_hash): Implement it, finally.
14956 * elhash.c: Use hashcode_t.
14958 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
14959 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
14961 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
14962 * fns.c (size_bit_vector):
14963 * alloc.c (size_vector):
14964 (make_vector_internal):
14965 (make_bit_vector_internal):
14966 (sweep_bit_vectors_1):
14967 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
14969 2000-02-10 Martin Buchholz <martin@xemacs.org>
14971 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
14972 Include strings.h to avoid warnings for bzero and strcasecmp.
14974 2000-02-10 Olivier Galibert <galibert@pobox.com>
14976 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
14977 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
14979 * fns.c (size_bit_vector): New. Declare bit vectors as a
14982 2000-02-10 Olivier Galibert <galibert@pobox.com>
14984 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
14985 use a value field instead.
14986 (symbol_value_forward_forward): Use value field.
14987 (DEFVAR_SYMVAL_FWD): Use value field.
14988 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
14989 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
14990 (DEFVAR_CONST_INT): Ditto.
14991 (DEFVAR_BOOL): Ditto.
14992 (DEFVAR_CONST_BOOL): Ditto.
14993 (DEFVAR_INT_MAGIC): Ditto.
14994 (DEFVAR_BOOL_MAGIC): Ditto.
14996 * symbols.c (guts_of_unbound_marker): Use value field.
14997 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
14998 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15000 * lisp.h: Declare dumpopaque and noninteractive1.
15002 * alloc.c (dumpopaque): Added.
15003 (pdump_dump_opaquevec): Added.
15004 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15005 (pdump_load): Reload opaque data. Sync noninteractive1 with
15008 2000-02-10 Andy Piper <andy@xemacs.org>
15010 * glyphs.c (image_instance_layout): if the size changes, mark it
15013 * redisplay-output.c (redisplay_output_layout): Update the
15015 (redisplay_output_subwindow): ditto.
15017 * glyphs.c (update_subwindow): make sure we reset flags for
15018 layouts as well as everything else.
15020 * glyphs-widget.c (layout_layout): don't need to set the instances
15023 2000-02-09 Martin Buchholz <martin@xemacs.org>
15025 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15026 not HAVE_DLOPEN, which is a lower-level thing.
15028 * .cvsignore: Ignore gmon.out
15030 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15032 * .cvsignore: Ignore portable dumper xemacs.dmp file
15034 2000-02-09 Andy Piper <andy@xemacs.org>
15036 * redisplay-output.c (redisplay_output_layout): be more clever
15037 about when we output based on the changed flags.
15039 * glyphs.h (struct image_instantiator_methods): add update_method.
15040 (struct Lisp_Image_Instance): add changed flags. Declare new
15041 macros for manipulating them.
15043 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15044 (image_instance_parent_glyph): find an image_instance's parent
15045 glyph or image_instance.
15046 (image_instance_layout): mark the size as changed.
15047 (set_image_instance_dirty_p): new function. mark an image
15048 instance, plus all of its parents, as dirty.
15049 (Fset_image_instance_property): use it.
15050 (Fglyph_animated_timeout_handler): use it.
15051 (update_subwindow): call update_widget and device methods for
15052 update_subwindow. Mark all changed flags as clean.
15053 (Fresize_subwindow): mark size as changed.
15055 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15057 (x_update_subwindow): only resize subwindows here.
15058 (x_update_widget): new function. Update all changed properties of
15060 (x_resize_subwindow): deleted.
15061 (x_widget_set_property): deleted.
15062 (x_progress_gauge_set_property): deleted.
15063 (x_progress_gauge_update): new function. Implement recorded
15065 (x_tab_control_update): ditto.
15066 (x_tab_control_set_property): deleted.
15067 (console_type_create_glyphs_x): declare new functions.
15068 (image_instantiator_format_create_glyphs_x): ditto.
15070 * glyphs-widget.c (widget_set_property): mark text changed.
15071 (update_widget): new function. Update properties of a widget.
15072 (widget_instantiate): for layouts make sure we set their
15073 children's parent correctly.
15074 (tab_control_set_property): new function. Record changes that will
15075 take place under redisplay's control.
15076 (progress_gauge_set_property): ditto.
15077 (image_instantiator_progress_guage): declare new functions.
15078 (image_instantiator_tab_control): ditto.
15080 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15082 (mswindows_update_widget): new function. Update all properties on
15083 a widget that have changed.
15084 (mswindows_button_update): new function. Update a button's set
15086 (mswindows_tab_control_update): new function. Update the items in
15088 (mswindows_tab_control_set_property): deleted.
15089 (mswindows_progress_gauge_update): new function. Update the
15090 progress gauge's progress.
15091 (mswindows_widget_set_property): deleted. This is all done
15092 asynchronously now.
15093 (mswindows_progress_gauge_set_property): ditto.
15094 (console_type_create_glyphs_mswindows): declare new methods.
15095 (image_instantiator_format_create_glyphs_mswindows): ditto.
15097 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15098 (msprinter_set_frame_properties): ditto.
15100 * console.h (struct console_methods): Add update_widget_method.
15102 2000-02-09 Andy Piper <andy@xemacs.org>
15104 * gui-msw.c (Fmswindows_shell_execute): Make
15105 mswindows-shell-execute industrial strength.
15107 2000-02-08 Martin Buchholz <martin@xemacs.org>
15109 * lrecord.h: Make macro argument `props' match member function `plist'.
15112 * fns.c (Fremprop):
15113 * fns.c (Fobject_plist):
15116 Object property list frobbing cleanup.
15117 - Allow any lisp object (compared with `eq'), not just symbols, as
15118 keys in object plists.
15119 - Move symbol plist frobbing into symbols.c, where it belongs.
15120 - Move string plist frobbing into alloc.c, where it belongs.
15121 - Everything's an lrecord now, so no need to test for symbolp, etc.
15122 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15124 * extents.c: Reorder code to remove declarations.
15126 * frame.h (store_in_alist): Remove useless declaration.
15128 2000-02-07 Martin Buchholz <martin@xemacs.org>
15130 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15131 * config.h.in: Add HAVE_XCONVERTCASE.
15133 2000-02-07 Andy Piper <andy@xemacs.org>
15135 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15136 it breaks many things.
15138 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15140 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15141 actually can start a common comment type.
15142 * src/syntax.h (SYNTAX_END_P): ditto for end.
15144 2000-02-07 Martin Buchholz <martin@xemacs.org>
15146 * XEmacs 21.2.28 is released.
15148 2000-02-06 Martin Buchholz <martin@xemacs.org>
15150 * event-Xt.c (x_keysym_to_character): New.
15151 (maybe_define_x_key_as_self_inserting_character): New.
15152 (x_has_keysym): New.
15153 Auto-define all keys on the keyboard as self-insert-key.
15155 2000-02-02 Martin Buchholz <martin@xemacs.org>
15157 * menubar.c (vars_of_menubar): A small code simplification.
15159 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15162 * ExternalClient.c:
15163 * EmacsShell-sub.c:
15166 Use consistent style for specifying X resources.
15168 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15169 This makes (dontusethis-set-symbol-value-handler) actually usable.
15171 * lrecord.h (lrecord_decription_type):
15172 * alloc.c (pdump_register_sub):
15175 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15176 Comply with XEmacs coding style.
15177 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15178 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15180 * keymap.c (Faccessible_keymaps):
15181 Make (accessible-keymaps map "\C-h") do the Right Thing.
15182 Make (accessible-keymaps map []) do the Right Thing.
15183 Make (accessible-keymaps map "") do the Right Thing.
15184 (check_keymap_definition_loop): New function.
15185 (keymap_store_internal): Keep luser from shooting self in foot,
15186 via (define-key ctl-x-4-map "p" global-map).
15187 Remove fullness slot from struct Lisp_Keymap, since hash tables
15189 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15191 2000-01-30 Martin Buchholz <martin@xemacs.org>
15193 * redisplay.c (init_redisplay): Fix small memory leak.
15195 * elhash.c (pdump_reorganize_hash_table):
15196 Rename from reorganize_hash_table. Change prototype.
15197 Reuse the original memory for hentries. Save 100k.
15198 * alloc.c (PDUMP_READ): new macro.
15199 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15200 * alloc.c: No need to #ifndef before #undef.
15202 * print.c: Allow debug_print() to print readably by modifying
15203 debug_print_readably. Use consistent variable names.
15205 * .dbxrc: Try to get things to work even if stopped in a function
15206 without source available by explicitly specifying source files.
15207 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15209 * unexnt.c (_start): Removed bogus code which caused loading heap
15210 from differrent executable file.
15211 Removed bogus assignment to _fmode, which caused inconsistencies.
15213 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15215 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15216 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15217 Do not preliminary `#define signal sigset'.
15219 * systime.h: Do not prototype environ on windows nt and cygwin,
15220 this conflicts with system header.
15222 * syssignal.h: Use correct define for WINDOWSNT
15224 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15225 with system header.
15227 * sysdep.c (near start of file): Fixed commentary and rearranged
15228 ifdefs in readable order.
15229 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15232 (end_of_data): Do not compile in if using PDUMP.
15234 * symsinit.h: Prototyped vars_of_nt().
15236 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15237 (find_child_console): Use it.
15238 (sys_kill): Use it.
15240 * ntheap.h: Do not extern os_subtype.
15242 * ntheap.c (cache_system_info): Do not cache unneeded:
15243 nt_major_version, nt_minor_version and os_subtype.
15244 (recreate_heap): Do not compile in when PDUMPing.
15246 * nt.c (geteuid and friends): Use the new varibale
15247 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15248 (init_user_info): Removed the above mentioned hackery.
15249 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15250 stat has been fixed in the C runtime.
15251 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15253 * file-coding.c (struct file_coding_dump): Do not define
15254 ucs_to_mule_table in the struct if not MULE.
15255 (struct struct lrecord_description fcd_description_1): Do not dump
15258 * emacs.c (main_1): Call vars_of_nt().
15259 (right before Fdump_emacs_data): Don't need lastfile if using both
15260 portabe dumper and system malloc.
15262 * alloc.c (Fmemory_limit): Conditionalized out.
15263 (pdump): Use OPEN_BINARY for the portable dump file.
15264 (pdump_load): Ditto.
15266 2000-02-02 Mike Alexander <mta@arbortext.com>
15268 * nt.c (convert_time): Set tm_isdst before calling mktime and
15269 avoid calling it at all if the compiler supports 64 bit integers.
15270 Also initialize utc_base_ft before using it.
15272 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15274 * frame.c (change_frame_size_1): Take f->internal_border_width
15275 into consideration when calculating the width of the frame.
15277 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15279 * window.c (frame_min_height):
15280 (frame_size_valid_p):
15281 (frame_pixsize_valid_p): Added.
15282 (check_frame_size): Generalized.
15284 * window.h: Prototyped the above.
15287 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15288 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15289 Deleted Vwin32_* and Vbinary_process_* unused variables.
15291 * device-msw.c (msprinter_init_device): Do not get printer font
15292 list; Added DEVMODE functions.
15294 * frame-msw.c: Added lots of printer code.
15296 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15299 * console-msw.h: Added more msprinter device private slots.
15301 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15303 * event-msw.c (key_needs_default_processing_p): Added.
15304 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15306 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15308 * glyphs.c (image_instance_layout): Mark image instance as clean
15310 (glyph_dirty_p): Removed redundant function.
15311 (invalidate_glyph_geometry_maybe): Added.
15312 (update_glyph_cachel_data): Call it.
15314 * glyphs.h: Prototyped it.
15316 * redisplay.c (add_glyph_rune): Call it.
15317 (redisplay_window): Reset glyphs cachels when frame faces have
15318 changed, thus forcing recomputation of built-in border glyphs.
15320 2000-01-30 Martin Buchholz <martin@xemacs.org>
15322 * Makefile.in.in: Make portable dumper and purify play well together.
15323 Add imperfect, but better than nothing, support for pdump.
15324 Remove xemacs.dmp when temacs is re-generated.
15325 Don't ignore errors when dumping xemacs.
15327 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15329 2000-01-28 Andy Piper <andy@xemacs.org>
15331 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15332 (setup_normal_frame): ditto.
15333 (setup_frame_without_minibuffer): ditto.
15334 (setup_minibuffer_frame): ditto.
15335 (delete_frame_internal): ditto.
15336 (Fmake_frame_invisible): ditto.
15337 (Ficonify_frame): ditto.
15339 * window.h: change Fset_window_buffer signature.
15341 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15342 (Fset_window_buffer): allow recording of buffer if the window is
15343 the selected window.
15344 (window_loop): Use new Fset_window signature.
15346 2000-01-23 Daniel Pittman <daniel@danann.net>
15348 * config.h.in: Added template for `HAVE_ATHENA_3D'
15350 2000-01-29 Andy Piper <andy@xemacs.org>
15352 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15354 * gutter.c (output_gutter): Don't output if the window isn't live.
15356 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15358 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15359 of 01/12/00: Moved SetFocus back here where it belongs.
15361 2000-01-23 Andy Piper <andy@xemacs.org>
15363 * s/cygwin32.h: declare printer things.
15365 2000-01-26 Andy Piper <andy@xemacs.org>
15367 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15370 2000-01-24 Andy Piper <andy@xemacs.org>
15372 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15373 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15375 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15377 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15379 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15381 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15382 (mswindows_output_display_block): Avoid local shadows.
15384 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15385 (mswindows_enqueue_mouse_button_event): ditto.
15386 (mswindows_handle_gui_wm_command): remove declaration.
15388 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15391 * console-msw.h: Avoid shadows.
15392 (mswindows_get_toolbar_button_text):
15393 (emacs_mswindows_create_stream_pair):
15394 (emacs_mswindows_delete_stream_pair):
15395 (mswindows_handle_toolbar_wm_command): declare.
15397 * device-msw.c (build_syscolor_string): Avoid shadows.
15399 2000-01-23 Andy Piper <andy@xemacs.org>
15401 * glyphs-widget.c (widget_instantiate): reverse the items for
15402 layouts so that children are in the expected order.
15404 2000-01-28 Martin Buchholz <martin@xemacs.org>
15406 * ralloc.c: safe_bcopy ==> memmove
15407 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15408 * s/msdos.h: Remove BCOPY macros.
15409 * insdel.c (gap_right): Remove BCOPY conditional code.
15410 * insdel.c (gap_left): Remove BCOPY conditional code.
15411 XEmacs demands a working ANSI C compiler - hence memmove.
15413 * regex.c (regex_compile): Remove accidental use of trigraphs.
15415 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15417 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15420 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15422 * event-msw.c (mswindows_drain_windows_queue): Added the
15424 (mswindows_need_event): Commented the call to
15425 mswindows_drain_windows_queue().
15426 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15429 * console-msw.h: Moved a few function prototypes here from
15432 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15433 parameter from unsigned short to unsigned long.
15434 (Fmswindows_shell_execute): Added return value.
15436 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15438 * sysdep.c (init_system_name):
15439 process-unix.c (unix_canonicalized_host_name):
15440 Don't call freeaddrinfo() if getaddrinfo() fails.
15442 * process-unix.c (unix_open_unix_network_stream):
15443 Moved the code to get a port # into address loop.
15445 2000-01-27 Martin Buchholz <martin@xemacs.org>
15447 * buffer.c (reinit_vars_of_buffer):
15448 The right place to initialize conversion_in_dynarr and
15449 conversion_out_dynarr.
15451 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15453 * process-unix.c (unix_canonicalize_host_name): Muleize.
15454 (unix_open_network_stream): Muleize.
15456 * buffer.h: Fix up prototypes for ralloc.c functions.
15458 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15459 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15460 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15461 instead of gethostbyname()
15462 * process-unix.c: In unix_canonicalize_host_name() and
15463 unix_open_network_stream(), add code to use getaddrinfo()
15464 instead of gethostbyname().
15466 2000-01-27 Daniel Pittman <daniel@danann.net>
15468 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15469 libs when built with flat Athena.
15471 2000-01-27 Martin Buchholz <martin@xemacs.org>
15473 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15474 Use coding standards for function prototypes.
15476 2000-01-25 Martin Buchholz <martin@xemacs.org>
15478 * dialog-msw.c (push_lisp_string_as_unicode):
15479 * doc.c (unparesseuxify_doc_string):
15480 * dired.c (Fuser_name_completion_1):
15481 * dired.c (Fuser_name_all_completions):
15482 * dired.c (free_user_cache):
15483 * dired.c (user_name_completion):
15484 * console-x.c (get_display_arg_connection):
15485 * minibuf.c (clear_echo_area_internal):
15486 * minibuf.c (echo_area_append):
15487 * eldap.c (Fldap_open):
15488 * eldap.c (Fldap_search_internal):
15489 * frame-x.c (x_set_frame_text_value):
15490 * frame-x.c (x_set_frame_properties):
15491 * frame-x.c (x_create_widgets):
15492 * redisplay-tty.c (term_get_fkeys_1):
15493 * objects-x.c (x_parse_nearest_color):
15494 * objects-x.c (x_valid_color_name_p):
15495 * objects-x.c (x_initialize_font_instance):
15496 * objects-x.c (x_list_fonts):
15497 * objects-x.c (x_find_charset_font):
15498 * tooltalk.c (Fadd_tooltalk_message_arg):
15499 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15500 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15501 * process-unix.c (unix_create_process):
15502 * ntproc.c (sys_spawnve):
15503 * sound.c (Fplay_sound_file):
15504 * sound.c (Fplay_sound):
15505 * buffer.c (init_initial_directory):
15506 * buffer.c (init_buffer):
15507 * editfns.c (init_editfns):
15508 * editfns.c (Ftemp_directory):
15509 * editfns.c (Fuser_full_name):
15510 * editfns.c (uncache_home_directory):
15511 * editfns.c (get_home_directory):
15512 * editfns.c (Fuser_home_directory):
15513 * editfns.c (Fformat_time_string):
15514 * editfns.c (Fcurrent_time_string):
15515 * gui-x.c (button_item_to_widget_value):
15516 * database.c (Fopen_database):
15517 * event-Xt.c (x_to_emacs_keysym):
15518 * event-Xt.c (x_event_to_emacs_event):
15519 * event-Xt.c (describe_event_window):
15520 * event-msw.c (mswindows_wnd_proc):
15521 * glyphs-eimage.c (jpeg_instantiate):
15522 * glyphs-eimage.c (gif_instantiate):
15523 * glyphs-eimage.c (png_instantiate):
15524 * glyphs-eimage.c (tiff_instantiate):
15525 * glyphs-x.c (xbm_instantiate_1):
15526 * glyphs-x.c (x_xbm_instantiate):
15527 * glyphs-x.c (x_xface_instantiate):
15528 * glyphs-x.c (autodetect_instantiate):
15529 * glyphs-x.c (cursor_font_instantiate):
15530 * glyphs-x.c (x_widget_instantiate):
15531 * glyphs-x.c (x_widget_set_property):
15532 * glyphs-x.c (x_widget_property):
15533 * glyphs-x.c (BUILD_GLYPH_INST):
15534 * print.c (write_string_to_stdio_stream):
15535 * print.c (output_string):
15536 * print.c (Falternate_debugging_output):
15537 * print.c (Fexternal_debugging_output):
15538 * glyphs-msw.c (extract_xpm_color_names):
15539 * glyphs-msw.c (mswindows_xpm_instantiate):
15540 * glyphs-msw.c (bmp_instantiate):
15541 * glyphs-msw.c (resource_name_to_resource):
15542 * glyphs-msw.c (mswindows_resource_instantiate):
15543 * glyphs-msw.c (xbm_instantiate_1):
15544 * glyphs-msw.c (mswindows_xbm_instantiate):
15545 * glyphs-msw.c (mswindows_xface_instantiate):
15546 * glyphs-msw.c (mswindows_widget_instantiate):
15547 * glyphs-msw.c (add_tree_item):
15548 * glyphs-msw.c (add_tab_item):
15549 * glyphs-msw.c (mswindows_combo_box_instantiate):
15550 * glyphs-msw.c (mswindows_widget_property):
15551 * glyphs-msw.c (mswindows_combo_box_property):
15552 * glyphs-msw.c (mswindows_widget_set_property):
15553 * console.c (stuff_buffered_input):
15554 * objects-msw.c (mswindows_initialize_color_instance):
15555 * objects-msw.c (mswindows_valid_color_name_p):
15556 * objects-msw.c (mswindows_list_fonts):
15557 * objects-msw.c (mswindows_font_instance_truename):
15558 * bytecode.c (optimize_compiled_function):
15559 * select-x.c (symbol_to_x_atom):
15560 * select-x.c (x_atom_to_symbol):
15561 * select-x.c (hack_motif_clipboard_selection):
15562 * select-x.c (selection_data_to_lisp_data):
15563 * select-x.c (lisp_data_to_selection_data):
15564 * select-x.c (Fx_get_cutbuffer_internal):
15565 * select-x.c (Fx_store_cutbuffer_internal):
15566 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15567 * buffer.h (TO_INTERNAL_FORMAT): New function.
15568 * emacs.c (make_arg_list_1):
15569 * emacs.c (make_argc_argv):
15570 * emacs.c (main_1):
15571 * emacs.c (Fdump_emacs):
15572 * emacs.c (split_string_by_emchar_1):
15577 * device-x.c (x_init_device):
15578 * device-x.c (Fx_valid_keysym_name_p):
15579 * device-x.c (Fx_get_font_path):
15580 * device-x.c (Fx_set_font_path):
15581 * glyphs.c (bitmap_to_lisp_data):
15582 * glyphs.c (pixmap_to_lisp_data):
15583 * alloc.c (make_ext_string): Use coding system arguments. Update
15585 * alloc.c (build_string):
15586 * callproc.c (child_setup):
15587 * callproc.c (init_callproc):
15588 * fileio.c (lisp_strerror):
15589 * fileio.c (directory_file_name):
15590 * fileio.c (Fexpand_file_name):
15591 * fileio.c (Ffile_truename):
15592 * fileio.c (Fsysnetunam):
15593 * fileio.c (Fdo_auto_save):
15594 * sysdep.c (sys_readdir):
15595 * tests.c: New file. Allow adding C tests.
15596 Replace GET_* macros with a more comprehensible and flexible
15597 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15599 Any coding system can be used to do format conversion.
15600 Eliminate enum external_data_format.
15601 Eliminate convert_to_external_format.
15602 Eliminate convert_to_internal_format.
15603 Make sure file-name, keyboard, terminal, and ctext are always
15604 defined as coding systems or aliases. Make
15605 file-name-coding-system, terminal-coding-system, and
15606 keyboard-coding-system magical variables that are equivalent to
15607 defining the corresponding coding system aliases.
15609 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15610 * file-coding.c (Fcoding_system_alias_p): New function.
15611 * file-coding.c (Fcoding_system_aliasee): New function.
15612 * file-coding.c (append_suffix_to_symbol): New function.
15613 * file-coding.c (dangling_coding_system_alias_p): New function.
15614 * file-coding.c (Ffind_coding_system):
15615 * file-coding.c (Fcopy_coding_system):
15616 * file-coding.c (encode_coding_no_conversion):
15617 * file-coding.c (syms_of_file_coding):
15618 * file-coding.c (vars_of_file_coding):
15619 Rewrite coding system alias code.
15620 Allow nested aliases, like symbolic links.
15621 Allow redefinition of coding system aliases.
15622 Prevent existence of dangling coding system aliases.
15624 * dired.c (Fuser_name_completion_1):
15625 * dired.c (Fuser_name_all_completions):
15626 A crash would happen if user did QUIT in the middle of building
15627 user_name_cache. Remove redundant code in mainline and unwind_protect.
15630 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15632 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15633 an unsigned char *. Update all callers.
15635 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15637 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15639 2000-01-25 Martin Buchholz <martin@xemacs.org>
15641 * elhash.c (hentry_description): Use more portable definition.
15642 (resize_hash_table): Initialize new hentries using
15643 xnew_array_and_zero, thereby simplifying the code.
15645 * mule-charset.c (make_charset): Make sure entire object is
15646 initialized, to avoid Purify warnings.
15648 * alloc.c (resize_string): Fix unlikely crash with big strings.
15650 2000-01-24 Martin Buchholz <martin@xemacs.org>
15652 * realpath.c (xrealpath):
15653 Don't call getwd().
15655 2000-01-25 Martin Buchholz <martin@xemacs.org>
15657 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15659 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15661 * unexelfsgi.c (unexec): Change the way we decide which segment
15662 should be extended.
15664 Assumption that .bss section should be outside the PT_LOADable
15665 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15666 it's present) is inside the 'data' segment. This would fail the
15667 test which was used to find a segment to grow and cover new
15668 heap. Instead of this assumption, I created another one - on IRIX
15669 the segment to grow should start below .bss and it's address
15670 should extent above the end of .bss. Once this segment is
15671 identified, it's grown to accommodate the new heap and new
15672 zero-length .bss section is added at the end of .data2.
15674 2000-01-25 Martin Buchholz <martin@xemacs.org>
15676 * eval.c (Feval): Wrong number of arguments should use original
15677 function, not the indirect_function version of it.
15679 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15681 * glyphs-x.c (x_button_instantiate): Don't add image if
15682 it is not a pixmap.
15683 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15686 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15688 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15690 (DEFVAR_INT_MAGIC): Ditto.
15691 (DEFVAR_BOOL_MAGIC): Ditto.
15692 * glyphs.h: Reindent backslash.
15694 2000-01-24 Martin Buchholz <martin@xemacs.org>
15696 * glyphs-widget.c (layout_query_geometry):
15697 (layout_layout): Use correct types for gheight, gwidth.
15699 2000-01-24 Martin Buchholz <martin@xemacs.org>
15701 * EmacsManager.c (QueryGeometry): Purified.
15703 2000-01-23 Martin Buchholz <martin@xemacs.org>
15705 * alloc.c (make_float): Make sure entire object is initialized, to
15706 avoid Purify warnings.
15707 (pdump_register_sub): Remove useless assignment.
15708 (pdump): Use xmalloc, not malloc.
15709 (pdump_load): Use xmalloc, not malloc.
15711 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15718 * sysdep.c: Removed redundant #include <windows.h>
15720 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15722 * frame.c (delete_frame_internal): Do not delete device when its
15723 implementation so declares.
15724 (delete_frame_internal): Set device selected frame to nil when
15725 last frame goes away.
15727 * device-msw.c (msprinter_device_system_metrics): Implemented.
15728 (mswindows_device_system_metrics): Added 'device-dpi property.
15730 * device.c: (Fdevice_printer_p): Added.
15731 Added 'offset-workspace device metric.
15733 * console.h (device_metrics): Declared DM_offset_workspace.
15735 2000-01-23 Martin Buchholz <martin@xemacs.org>
15737 * fileio.c (Ffile_truename): Remove pointless and confusing
15738 initialization of elen.
15740 * glyphs-widget.c: Compiler warning fixes.
15742 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15744 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15745 instead of a Lisp_Object as argument to make it consistent with
15746 the other LIVE_P macros.
15747 (CHECK_LIVE_PROCESS): New macro.
15749 * process.c: Declare Qprocess_live_p.
15750 (Fprocess_live_p): New function.
15751 (create_process): Use PROCESS_LIVE_P.
15752 (read_process_output): Ditto.
15753 (set_process_filter): Ditto.
15754 (Fdelete_process): Ditto.
15755 (kill_buffer_processes): Ditto
15756 (process_send_signal): Use CHECK_LIVE_PROCESS.
15757 (Fprocess_input_coding_system): Check whether process is still
15758 alive (fix PR#1061).
15759 (Fprocess_output_coding_system): Ditto.
15760 (Fprocess_coding_system): Ditto.
15761 (Fset_process_input_coding_system): Ditto.
15762 (Fset_process_output_coding_system): Ditto.
15764 2000-01-23 Andy Piper <andy@xemacs.org>
15766 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15769 * glyphs.c (mark_image_instance): take into account changed
15770 image_instance format.
15771 (image_instance_equal): ditto.
15772 (image_instance_hash): ditto.
15774 * glyphs-widget.c (widget_instantiate): Incorporate layout
15775 instantiation here. Delay layout of the layout until later.
15776 (layout_instantiate): deleted.
15777 (layout_query_geometry): new function. get the geometry of a
15779 (layout_layout): layout a layout dynamically.
15780 (image_instantiator_widget): New function - splitting up
15781 image_instantiator_format_create_glyphs_widget for netwinder
15783 (image_instantiator_buttons):
15784 (image_instantiator_edit_fields):
15785 (image_instantiator_combo_box):
15786 (image_instantiator_scrollbar):
15787 (image_instantiator_progress_guage):
15788 (image_instantiator_tree_view):
15789 (image_instantiator_tab_control):
15790 (image_instantiator_labels):
15791 (image_instantiator_layout): ditto.
15792 (image_instantiator_format_create_glyphs_widget): Call preceding
15795 2000-01-22 Martin Buchholz <martin@xemacs.org>
15797 * process.c (Fset_process_coding_system):
15798 * device-x.c (Fx_keysym_hash_table):
15801 * lstream.c (Lstream_write): Return documented value, not 0.
15803 * fileio.c (directory_file_name):
15804 (Fsubstitute_in_file_name):
15805 (Fsubstitute_insert_file_contents_internal):
15806 (Fwrite_region_internal):
15811 Remove vestigial APOLLO-conditional code.
15813 2000-01-21 Martin Buchholz <martin@xemacs.org>
15815 * getpagesize.h: Add guard macros.
15816 * libsst.h: Add guard macros.
15817 * libst.h: Add guard macros.
15818 * line-number.h: Add guard macros.
15819 * ndir.h: Add guard macros.
15820 * sysfloat.h: Add guard macros.
15821 * sysfile.h: Add guard macros.
15822 * sysproc.h: Add guard macros.
15823 * syswait.h: Add guard macros.
15824 * xintrinsic.h: Add guard macros.
15825 * xintrinsicp.h: Add guard macros.
15826 * xmmanager.h: Add guard macros.
15827 * xmmanagerp.h: Add guard macros.
15828 * xmprimitive.h: Add guard macros.
15829 * xmu.h: Add guard macros.
15830 * gpmevent.h: Add copyright statement. Add guard macros.
15831 * miscplay.h: Add guard macros.
15832 * *.h: Use consistent C-standards-approved guard macro names.
15834 * opaque.c (make_opaque): Switch parameter order.
15835 * opaque.h (make_opaque): Switch parameter order.
15836 Update all callers.
15837 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15839 * config.h.in (type_checking_assert): Added.
15840 (bufpos_checking_assert): Added.
15842 2000-01-21 Martin Buchholz <martin@xemacs.org>
15844 * alloc.c: Harmless pdump changes.
15846 - spell alignment correctly.
15847 * sysdep.c: Use countof()
15849 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15851 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15852 initially_selected_for_input() console method, default to 0.
15853 (semi_canonicalize_console_connection): Try to delegate to
15854 canonicalize_console_connection if no such console method.
15855 (canonicalize_console_connection): Vice versa.
15856 (print_console): Do not print nil connection.
15858 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15859 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15860 (XDEVIMPF_FRAMELESS_OK): Added.
15861 (CONSOLE_INHERITS_METHOD): Added.
15863 * console-msw.c (mswindows_canonicalize_console_connection):
15865 (mswindows_canonicalize_device_connection): Added.
15867 * console-msw.h (struct msprinter_device): Added this struct and
15869 (mswindows_device): Made fontlist a lisp object.
15871 * device.c (semi_canonicalize_device_connection): Try to delegate
15872 to canonicalize_device_connection if no such console method.
15873 (canonicalize_device_connection): Vice versa.
15874 (print_device): Do not print nil connection.
15876 * device-msw.c (mswindows_init_device): Call InitCommonControls
15878 (mswindows_delete_device): Removed fontlist deallocation.
15879 (mswindows_mark_device): Added.
15881 * events.c (event_equal): Added abort() at unreached code.
15882 (event_hash): Ditto.
15884 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15885 fallback tags of Windows devices.
15887 * general.c (syms_of_general): Initialized Qmsprinter.
15889 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15890 of fallback tags of Windows devices.
15892 * lisp.h: Declared Qmsprinter.
15894 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15896 (mswindows_list_fonts): Ditto.
15897 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15898 that it can be used by both mswindows and msprinter devices.
15899 (initialize_font_instance): Added.
15900 (mswindows_initialize_font_instance): Use it.
15901 (msprinter_initialize_font_instance): Added.
15903 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15904 and implementation flags check.
15905 (redisplay_without_hooks): Changed the call to the above.
15906 (Fredraw_device): Ditto.
15907 (Fredisplay_device): Ditto.
15909 * redisplay-msw.c (get_frame_dc): Implemented.
15910 (get_frame_compdc): Implemented.
15911 (many functions): Use the two functions above to get device
15912 contexts, ether for a window or a printer.
15914 2000-01-21 Olivier Galibert <galibert@pobox.com>
15916 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15917 initialization here.
15918 (init_symbols_once_early): Call it.
15919 * emacs.c (main_1): Call it.
15920 * symsinit.h: Declare it.
15922 2000-01-19 Olivier Galibert <galibert@pobox.com>
15924 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15926 (pdump_backtrace): Ditto.
15927 (pdump_register_object): Ditto. Cleanup use of the pointers.
15928 (pdump_get_entry): Abort if trying to register a null pointer.
15929 (pdump_dump_data): Cleanup types when relocating.
15930 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15931 (pdump_dump_rtables): Remove bad casts.
15932 (pdump_load): Cleanup relocation w.r.t union type. Use a
15933 Lisp_Object instead of a EMACS_INT for the hashtable
15936 2000-01-20 Martin Buchholz <martin@xemacs.org>
15938 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
15940 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
15942 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
15944 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
15946 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15948 * faces.h (FACE_STRIKETHRU_P): Added.
15950 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
15953 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
15954 (mswindows_set_dc_font): New function, aware of font variants,
15955 separated from mswindows_update_dc.
15957 * objects-msw.h (struct mswindows_font_instance_data): Added
15960 * objects-msw.c (mswindows_finalize_font_instance): Delete all
15961 cached fonts and the data structure.
15962 (mswindows_initialize_font_instance): Added creation of font data
15964 (mswindows_print_font_instance): Print at least something.
15965 (mswindows_create_font_variant): Implemented.
15966 (mswindows_get_hfont): Implemented.
15968 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
15970 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
15971 prototyping problem with msvc.
15973 * emacs.c (main_1): added syms_of_gui_mswindows() call
15975 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
15976 syms_of_gui_mswindows() function
15978 * symsinit.h: added the prototype for syms_of_gui_mswindows()
15980 2000-01-18 Martin Buchholz <martin@xemacs.org>
15982 * XEmacs 21.2.27 is released.
15984 2000-01-18 Martin Buchholz <martin@xemacs.org>
15986 * glyphs-eimage.c (struct tiff_error_struct):
15988 (tiff_warning_func):
15989 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
15994 * unexec.c: Remove vestigial Lucid C code.
15998 * libsst.c: Ansify.
15999 Remove declarations of errno and strerror().
16001 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16003 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16005 2000-01-16 Martin Buchholz <martin@xemacs.org>
16007 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16010 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16015 Change enum eol_type to eol_type_t.
16017 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16019 * gui.c (get_gui_callback): Check cons before accessing car.
16021 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16023 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16024 (XSETSPECIFIER_TYPE): Ditto.
16026 2000-01-17 Didier Verna <didier@xemacs.org>
16028 * redisplay.c (generate_fstring_runes): compute string size in
16029 characters, not bytes.
16031 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16033 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16035 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16037 * print.c (print_error_message): Call print_prepare().
16039 2000-01-14 Martin Buchholz <martin@xemacs.org>
16041 * .dbxrc: Renamed from dbxrc.
16043 * events.c (event_to_character):
16044 Use `assert (foo)' instead of `if (!foo) abort()'
16046 * .gdbinit (xtype): Add documentation.
16047 * .gdbinit (check-temacs): New function.
16048 * .gdbinit (check-xemacs): New function.
16049 * dbxrc (check-xemacs): New function.
16050 * dbxrc (check-xemacs): New function.
16052 2000-01-14 Andy Piper <andy@xemacs.org>
16054 * glyphs-widget.c (widget_query_geometry): Make sure that we
16055 calculate default dimensions correctly.
16057 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16059 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16061 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16062 pdump_wire'd variable.
16064 * emacs.c: (main_1): Conditionalized calls to
16065 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16067 2000-01-13 Martin Buchholz <martin@xemacs.org>
16069 * window.c (Fset_window_configuration):
16070 * sysdep.c (_start):
16071 * input-method-motif.c (res):
16072 * event-Xt.c (Xt_process_to_emacs_event):
16073 Simple compiler warning fixes.
16075 * bytecode.c (funcall_compiled_function): Use the original
16076 function symbol on the backtrace list in preference to the
16077 compiled_function object in error messages.
16079 2000-01-13 Andy Piper <andy@xemacs.org>
16081 * glyphs-x.c (update_widget_face): Make sure we update the widget
16082 background as well as foreground.
16084 2000-01-13 Andy Piper <andy@xemacs.org>
16086 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16087 fields to subwindow.
16088 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16089 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16090 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16091 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16093 * glyphs-widget.c (check_valid_tab_orientation): new function.
16094 (initialize_widget_image_instance): zero orientation and
16096 (widget_instantiate): pick up orientation.
16097 (tab_control_query_geometry): return appropriate values for
16100 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16101 appropriate creation flags for left, right and bottom tabs.
16103 * s/cygwin32.h: add tab definitions.
16105 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16107 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16108 frame upon hiding a subwindow.
16109 (mswindows_button_instantiate): Changed the push button style to
16111 (mswindows_button_instantiate): Removed button BS_NOTIFY
16113 (mswindows_button_instantiate): Removed redundant check for
16114 a disabled gui item.
16115 (mswindows_button_instantiate): Made use of WS_TABSTOP
16116 consistent: "operable" controls (edit, button, tree, scroll) have
16117 this style, "display-only" ones (static, progress gauge) do
16118 not. This style is currently ignored by XEmacs though. Also,
16119 removed the WS_EX_CONTROLPARENT style - it is not for children,
16120 it is for their parents!
16121 (mswindows_edit_field_instantiate): Ditto.
16122 (mswindows_progress_gauge_instantiate): Ditto.
16123 (mswindows_tree_view_instantiate): Ditto.
16124 (mswindows_tab_control_instantiate): Ditto.
16125 (mswindows_scrollbar_instantiate): Ditto.
16126 (mswindows_combo_box_instantiate): Ditto.
16127 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16128 style to the "clip" window.
16129 (mswindows_button_instantiate): Removed compilation warning by
16130 equally typing terms of the ?: operator.
16132 2000-01-12 Didier Verna <didier@xemacs.org>
16134 * redisplay.c (generate_fstring_runes): new parameter holding the
16135 last modeline-format extent.
16136 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16137 extent, fill the glyph block with it.
16138 (generate_fstring_runes): handle these parameters.
16139 (generate_formatted_string_db): ditto.
16141 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16142 glyphs'extents in the modeline.
16144 1999-01-11 Mike Woolley <mike@bulsara.com>
16146 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16147 256Mb, as a workaround for the non-starting problem many people
16150 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16152 * console-tty.c (Fset_console_tty_output_coding_system):
16153 Force redrawing tty frame.
16155 2000-01-10 Didier Verna <didier@xemacs.org>
16157 * redisplay.c (generate_fstring_runes): fix size computation bug.
16159 2000-01-09 William M. Perry <wmperry@aventail.com>
16161 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16163 2000-01-09 Andy Piper <andy@xemacs.org>
16165 * glyphs-msw.c: index -> i to avoid shadows.
16166 (xbm_create_bitmap_from_data): make static.
16167 (check_valid_string_or_int): deleted.
16168 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16170 * glyphs-x.c (x_update_subwindow): remove unused args.
16172 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16173 back pointer - this is done in allocate_image_instance.
16174 (query_string_font): return Qnil to make the compiler happy.
16175 (unmap_subwindow): set to ~0 to make the compiler happy.
16176 (glyph_query_geometry): comment out until used.
16177 (glyph_layout): ditto.
16179 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16181 * insdel.c (signal_after_change): Remove extraneous unbind_to().