1 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
4 inheritance itself; fix typo; stop recursive search if cyclic
7 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
9 * chartab.c (Q_denotational): New variable.
10 (Q_denotational_from): New variable.
11 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
12 (put_char_attribute): New function.
13 (Fput_char_attribute): Use `put_char_attribute'; regard
14 `->denotational' and `<-denotational' as same as `->unified' and
16 (syms_of_chartab): Add new symbols `->denotational' and
19 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
21 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
22 `Fget_char_attribute'.
23 (Fchar_variants): Likewise.
24 (get_char_table): Likewise.
25 (Fchar_feature): New function.
26 (put_char_composition): Use `Fchar_feature' instead of
27 `Fget_char_attribute'.
28 (Fput_char_attribute): Likewise; don't put the target character
29 into its `->unified' value.
30 (syms_of_chartab): Add new builtin function `char-feature'.
32 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
35 `Fget_char_attribute'.
36 (char_encode_utf8): Likewise.
38 * chartab.h: Add an EXFUN for `Fchar_feature'.
40 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
42 * chartab.c (Vnext_defined_char_id): New variable.
43 (Fput_char_attribute): Accept characters in `->unified'.
44 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
45 new characters which are not related with builtin char-id ranges.
46 (vars_of_chartab): Add new variable `next-defined-char-id'.
48 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
50 * chartab.c (Q_unified): New variable.
51 (Q_unified_from): New variable.
52 (Fput_char_attribute): Add code for `->unified'.
53 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
56 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * mule-charset.c (decode_ccs_conversion): New function.
59 (decode_defined_char): Use `decode_ccs_conversion'.
60 (decode_builtin_char): Likewise.
62 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
64 * char-ucs.h: Change some charset-ids of private coded-charsets.
66 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
68 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
69 (char_encode_as_entity_reference): Likewise.
70 (decode_coding_big5): Modify for `decode_defined_char' and
72 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
73 avoid compiler warning.
74 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
76 * mule-charset.c (decode_defined_char): Add new argument
77 `without_inheritance'.
78 (Fdecode_char): Add new optional argument `without_inheritance'.
79 (Fdecode_builtin_char): Modify for `Fdecode_char'.
81 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
82 (simplify_char_spec): Likewise.
84 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
87 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
88 (map_char_table): Likewise.
89 (Fdefine_char): Use `Fdecode_char' without inheritance.
90 (Ffind_char): Modify for `Fdecode_char'.
92 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
94 * char-ucs.h (decode_defined_char): Add new argument
95 `without_inheritance'.
96 (DECODE_CHAR): Likewise.
97 (MAKE_CHAR): Modify for `DECODE_CHAR'.
99 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
101 * chartab.c (Vchise_system_db_directory): New variable.
102 (vars_of_chartab): Add new variable `chise-system-db-directory'.
104 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * chartab.c: EXFUN `Fmount_char_attribute_table'.
107 (print_chartab_range): Don't define when `UTF2000' is defined.
108 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
111 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
114 and optional argument `rehash' is specified, call
115 `open_chise_data_source_maybe' before
116 `chise_ds_foreach_char_feature_name' is called.
118 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * chartab.c (char_attribute_list_reset_map_func): New function
121 when HAVE_LIBCHISE is defined.
122 (Fchar_attribute_list): Add new optional argument `rehash' when
123 HAVE_LIBCHISE is defined.
124 (open_chise_data_source_maybe): Use "chise-db" instead of
126 (char_attribute_system_db_file): Likewise.
127 (Fload_char_attribute_table): Use
128 `chise_feature_foreach_char_with_value' instead of
129 `chise_char_feature_value_iterate'.
131 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * chartab.c (Vchise_db_directory): New variable.
134 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
136 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
138 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
139 instead of HAVE_CHISE to specify using with libchise.
141 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
143 * chartab.h: Don't use HAVE_CHISE_CLIENT.
145 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
146 defined or HAVE_LIBCHISE_LIBCHISE is defined.
147 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
149 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
150 HAVE_CHISE to specify using with libchise.
151 (syms_of_chartab): Don't define symbol `system-char-id' when
152 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
154 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
157 specify CHISE DB support.
158 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
159 of `char_attribute_system_db_file' to check feature DB file.
161 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
162 HAVE_CHISE_CLIENT to specify CHISE DB support.
164 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
165 specify CHISE DB support.
166 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
168 (Freset_char_attribute_table): Use `chise_feature_setup_db'
169 instead of `char_attribute_system_db_file' to check feature DB
172 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
177 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
180 (Fsave_charset_mapping_table): Don't use
181 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
183 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
184 (HAVE_LIBCHISE): New macro.
186 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
188 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
189 (Fsave_char_attribute_table): Don't use
190 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
192 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
194 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
196 (save_uint16_byte_table): Likewise.
197 (save_byte_table): Likewise.
198 (char_table_get_db): Use `chise_ds_load_char_feature_value'
199 instead of `chise_char_load_feature_value'.
200 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
202 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * chartab.h (struct Lisp_Char_Table): Delete member
205 `feature_table' if CHISE is defined.
207 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
208 (Fcopy_char_table): Likewise.
209 (char_table_open_db_maybe): Likewise.
210 (char_table_close_db_maybe): Likewise.
211 (char_table_get_db): Likewise.
212 (Fmount_char_attribute_table): Likewise.
213 (Fload_char_attribute_table): Likewise.
215 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * mule-charset.c (load_char_decoding_entry_maybe): Use
218 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
221 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
224 instead of `chise_open_data_source'.
225 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
228 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
231 instead of `chise_ds_open_feature_table'.
232 (char_table_close_db_maybe): Don't use `chise_ft_close'.
234 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * mule-charset.c (Fsave_charset_mapping_table): Use
237 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
238 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
239 `chise_ccs_sync' instead of `chise_ccst_close'.
240 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
242 * chartab.c (open_chise_data_source_maybe): Modify for
243 `chise_open_data_source'.
244 (char_table_open_db_maybe): Modify for
245 `chise_ds_open_feature_table'.
247 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
249 * mule-charset.c (load_char_decoding_entry_maybe): Use
250 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
253 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
255 * mule-charset.c (Fsave_charset_mapping_table): Use
256 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
257 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
258 `chise_dt_put_char' and `chise_dt_close'.
259 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
260 `chise_ccs_decode' and `chise_ccst_close' instead of
261 `chise_ds_open_decoding_table', `chise_dt_get_char' and
264 * chartab.c (char_table_get_db): Use
265 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
266 (load_char_attribute_table_map_func): Modify for
267 `chise_char_feature_value_iterate'.
268 (Fload_char_attribute_table): Use
269 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
271 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
273 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
275 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
277 * chartab.c (put_char_table): Modify for inherited coded-charsets
280 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
282 * chartab.c (Fput_char_table_map_function): Fixed.
283 (word_boundary_p): Don't check charset in XEmacs CHISE.
285 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
287 * mule-charset.c (Fsave_charset_mapping_table): Use
288 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
289 instead of `chise_open_decoding_table'; refer
290 `default_chise_data_source'; use `chise_dt_close' instead of
291 `chise_close_decoding_table'.
292 (load_char_decoding_entry_maybe): Likewise.
294 * chartab.c (default_chise_data_source): New variable when `CHISE'
296 (Fcopy_char_table): `ct->ds' is deleted.
297 (open_chise_data_source_maybe): New function.
298 (Fclose_char_data_source): New function.
299 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
300 use `chise_ds_open_feature_table' instead of
301 `chise_open_feature_table'.
302 (char_table_close_db_maybe): Use `chise_ft_close' instead of
303 `chise_close_feature_table'; `cit->ds' is deleted.
304 (syms_of_chartab): Add new builtin function
305 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
307 * chartab.h (default_chise_data_source): New extern variable.
308 (open_chise_data_source_maybe): New prototype.
309 (struct Lisp_Char_Table): Delete `ds'.
311 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
313 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
316 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
318 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
319 not defined; add code for non-libchise setting.
320 (char_table_close_db_maybe): Likewise.
321 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
323 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
324 even if `CHISE' is not defined.
325 (Freset_char_attribute_table): Likewise.
326 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
327 `char_table_close_db_maybe' even if `CHISE' is not defined; use
329 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
330 `char_table_close_db_maybe' even if `CHISE' is not defined.
332 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
334 * chartab.c (char_table_open_db_maybe): New function.
335 (char_table_close_db_maybe): New function.
336 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
337 (Freset_char_attribute_table): Likewise.
338 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
339 `char_table_close_db_maybe'.
340 (Fload_char_attribute_table): Likewise.
342 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
344 * chartab.c: Don't include <chise.h> because it is included in
346 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
348 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
350 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
352 (Fclose_char_attribute_table): Close `ct->feature_table' and
353 `ct->ds' when `CHISE' is defined.
354 (Freset_char_attribute_table): Likewise.
355 (load_char_attribute_maybe): Use `cit->ds' and
356 `cit->feature_table' when `CHISE' is defined.
357 (Fload_char_attribute_table): Likewise.
359 * chartab.h: Include <chise.h> when `CHISE' is defined.
360 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
361 when `CHISE' is defined.
363 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
365 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
367 (char_table_description): Likewise.
368 (Fmake_char_table): Likewise.
369 (Fcopy_char_table): Likewise.
370 (Fmount_char_attribute_table): Likewise.
371 (Fclose_char_attribute_table): Likewise.
372 (Freset_char_attribute_table): Likewise.
373 (load_char_attribute_maybe): Likewise.
374 (Fload_char_attribute_table): Likewise.
376 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
379 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
381 * chartab.c (load_char_attribute_table_map_func): New function
382 when CHISE is defined.
383 (Qload_char_attribute_table_map_function): Don't define when CHISE
385 (Fload_char_attribute_table_map_function): Likewise.
386 (Fload_char_attribute_table): Use libchise when `CHISE' is
388 (syms_of_chartab): Don't define
389 `load-char-attribute-table-map-function' when CHISE is defined.
391 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
393 * chartab.c: Include <chise.h> when `CHISE' is defined.
394 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
396 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * mule-charset.c (charset_code_point): Fix problem when searching
399 in mother CCS fails with `defined_only' mode.
401 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
403 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
404 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
405 (put_char_composition): Likewise.
406 (Fput_char_attribute): Likewise.
407 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
409 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
411 * chartab.c (Q_ucs): Deleted.
412 (Fput_char_attribute): Don't refer `->ucs'.
413 (Fdefine_char): Likewise.
414 (Ffind_char): Likewise.
415 (syms_of_chartab): Delete `->ucs'.
417 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
419 * mule-charset.c (Qmap_cns11643_2): Renamed from
420 `Qchinese_cns11643_2'.
421 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
422 `chinese-cns11643-2'.
423 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
426 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
428 * mule-charset.c (Qmap_cns11643_1): Renamed from
429 `Qchinese_cns11643_1'.
430 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
431 `chinese-cns11643-1'.
432 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
435 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
437 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
438 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
440 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
443 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
445 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
446 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
448 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
451 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
453 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
454 (syms_of_mule_charset): Add new symbol `=big5' instead of
456 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
458 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
460 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
461 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
463 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
466 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
468 * mule-charset.c (Qmap_jis_x0212): Renamed from
469 `Qjapanese_jisx0212'.
470 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
472 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
475 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
477 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
478 `Qjapanese_jisx0208'.
479 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
480 of `japanese-jisx0208'.
481 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
484 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
486 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
487 `Qjapanese_jisx0208_1978'.
488 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
489 of `japanese-jisx0208-1978'.
490 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
493 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
495 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
496 only for XEmacs CHISE.
498 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
500 * char-ucs.h: Compact non-ISO-IR charset-ids.
501 (LEADING_BYTE_UCS): Changed to -177.
502 (LEADING_BYTE_CONTROL_1): Changed to -77.
503 (LEADING_BYTE_UCS_BMP): Changed to -176.
504 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
506 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * mule-charset.c (Qiso_ir): New variable.
509 (Fmake_charset): Recognise new property `iso-ir'.
510 (syms_of_mule_charset): Add new symbol `iso-ir'.
512 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
514 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
515 n to -n; charset-id of non ISO-IR sets are changed to positive
518 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
520 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
521 for &MCS-XXXXXXXX; values.
523 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
525 * mule.c (Vxemacs_chise_version): Renamed from
527 (vars_of_mule): Add new variable `xemacs-chise-version'; define
528 `utf-2000-version' as an alias for `xemacs-chise-version'.
530 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
532 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
533 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
536 * config.h.in (CHISE): New macro.
538 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
540 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
542 (Qmap_ucs): New variable.
543 (syms_of_mule_charset): Add new symbol `=ucs'.
544 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
546 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
547 (simplify_char_spec): Likewise.
549 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
551 * char-ucs.h (Qmap_ucs): New extern variable.
553 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
555 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
556 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
557 don't define it when UTF2000 is not defined.
558 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
559 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
560 when UTF2000 is not defined.
561 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
562 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
564 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
566 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
568 * mule-charset.c (Vcharset_ucs_gb): Deleted.
570 (syms_of_mule_charset): Delete `ucs-gb'.
571 (complex_vars_of_mule_charset): Likewise.
573 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
575 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
577 * mule-charset.c (Vcharset_ucs_cns): Deleted.
579 (syms_of_mule_charset): Delete `ucs-cns'.
580 (complex_vars_of_mule_charset): Likewise.
582 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
584 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
586 * mule-charset.c (Vcharset_ucs_jis): Deleted.
588 (syms_of_mule_charset): Delete `ucs-jis'.
589 (complex_vars_of_mule_charset): Likewise.
591 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
593 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
595 * mule-charset.c (Vcharset_ucs_ks): Deleted.
597 (syms_of_mule_charset): Delete `ucs-ks'.
598 (complex_vars_of_mule_charset): Likewise.
600 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
602 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
603 (Qideograph_daikanwa_2): Deleted.
604 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
605 (complex_vars_of_mule_charset): Likewise.
607 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
608 (LEADING_BYTE_DAIKANWA_1): Deleted.
609 (LEADING_BYTE_DAIKANWA_2): Deleted.
610 (MIN_CHAR_DAIKANWA): Deleted.
611 (MAX_CHAR_DAIKANWA): Deleted.
613 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
615 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
616 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
617 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
619 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
620 (Vcharset_ideograph_daikanwa): Deleted.
621 (Qideograph_hanziku_{1..12}): Deleted.
622 (Qideograph_daikanwa): Deleted.
623 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
624 Vcharset_ideograph_daikanwa.
625 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
626 `ideograph-hanziku-{1..12}'.
627 (complex_vars_of_mule_charset): Likewise.
629 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
631 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
633 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
634 (Qideograph_gt_pj_{1..11}): Deleted.
635 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
636 (complex_vars_of_mule_charset): Likewise.
638 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * mule-charset.c (Vcharset_ucs_big5): Deleted.
641 (Vcharset_ideograph_gt): Deleted.
642 (Qucs_big5): Deleted.
643 (Qideograph_gt): Deleted.
644 (syms_of_mule_charset): Delete symbol `ucs-big5' and
646 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
649 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
650 (LEADING_BYTE_GT): Deleted.
651 (MIN_CHAR_GT): Deleted.
652 (MAX_CHAR_GT): Deleted.
654 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
656 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
658 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
661 (save_uint16_byte_table): Likewise.
662 (save_byte_table): Likewise; convert values by it.
663 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
664 for `ideographic-structure'.
665 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
666 as the filter for `ideographic-structure'.
668 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
670 * chartab.c (put_char_composition): New function.
671 (Fput_char_attribute): Use `put_char_composition'; use
672 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
674 * fns.c (simplify_char_spec): New function.
675 (char_ref_simplify_spec): New function.
676 (Fchar_refs_simplify_char_specs): New function.
677 (syms_of_fns): Add new builtin function
678 `char-refs-simplify-char-specs'.
680 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
682 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
683 (Qideograph_cbeta): Deleted.
684 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
685 (complex_vars_of_mule_charset): Likewise.
687 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
688 (MIN_CHAR_CBETA): Comment out.
689 (MAX_CHAR_CBETA): Likewise.
691 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
693 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
694 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
695 CHISE client feature.
697 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
699 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
701 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
703 * mule-charset.c (charset_lookup_description_1): Use
704 `NUM_LEADING_BYTES' in UTF-2000.
706 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
708 * char-ucs.h (GC_CHARSETP): Deleted.
710 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
712 * char-ucs.h (MAX_CHAR_GT): Updated.
714 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
716 * text-coding.c: Sync with XEmacs 21.4.10.
718 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
720 * mule-charset.c (Vcharset_china3_jef): Deleted.
721 (Qchina3_jef): Deleted.
722 (syms_of_mule_charset): Don't define `china3-jef'.
723 (complex_vars_of_mule_charset): Likewise.
725 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
726 (MIN_CHAR_CHINA3_JEF): Comment out.
727 (MAX_CHAR_CHINA3_JEF): Comment out.
729 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * mule-charset.c (Vcharset_ucs_gb): New variable.
732 (Qucs_gb): New variable.
733 (syms_of_mule_charset): Add new symbol `ucs-gb'.
734 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
736 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
738 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
740 * mule-charset.c (charset_code_point): if a coded-charset has a
741 final-byte, don't inherit the builtin range of the mother CCS.
743 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
745 * mule-charset.c (charset_code_point): Fix problem about
748 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
750 * mule-charset.c (decode_builtin_char): Reorganized.
752 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * text-coding.c (char_encode_as_entity_reference): Modify for
755 `charset_code_point'.
756 (char_encode_shift_jis): Likewise.
757 (char_encode_big5): Likewise.
758 (char_encode_utf8): Likewise.
759 (char_encode_iso2022): Likewise.
761 * mule-charset.c (charset_code_point): Add new argument
763 (Fencode_char): Add new optional argument `defined_only'.
765 * chartab.c (put_char_table): Modify for `charset_code_point'.
767 * char-ucs.h (charset_code_point): Add new argument
769 (encode_char_1): Modify for `charset_code_point'.
771 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
773 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
774 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
776 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
778 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
779 (Qjis_x0208): Likewise.
780 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
781 XCHARSET_FINAL(charset).
782 (charset_code_point): Modify condition for final-byte based
784 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
785 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
786 in UTF-2000; specify `=jis-x0208' as the mother of
787 `japanese-jisx0208-1978', `japanese-jisx0208' and
788 `japanese-jisx0208-1990' in UTF-2000.
790 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
792 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
794 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
796 * text-coding.c (decode_coding_utf16): Support UTF-16.
797 (char_encode_utf16): Fixed.
799 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * text-coding.c (Qutf16): New variable in MULE.
802 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
803 (Fcoding_system_type): Add `utf-16' in MULE.
804 (struct detection_state): Add a structure for utf16 in MULE.
805 (detect_coding_type): Setup st->utf16.mask in MULE.
806 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
808 (reset_encoding_stream): Use `char_encode_utf16' and
809 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
810 (detect_coding_utf16): New function [incomplete].
811 (decode_coding_utf16): New function [support only UCS-2].
812 (char_encode_utf16): New function.
813 (char_finish_utf16): New function.
814 (syms_of_file_coding): Add new symbol `utf-16'; setup
815 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
817 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
819 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
820 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
822 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
824 * chartab.c (put_char_table): When a charset is specified as a
825 range in UTF-2000, don't support builtin characters.
827 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
829 * mule-charset.c (decode_defined_char): Don't refer external
830 database if Qunbound or Qnil are found.
831 (Fsave_charset_mapping_table): Don't define it if
832 HAVE_CHISE_CLIENT is not defined.
833 (Freset_charset_mapping_table): New function.
834 (load_char_decoding_entry_maybe): Store Qnil if a character is not
835 found in external database.
836 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
837 if HAVE_CHISE_CLIENT is not defined; add new builtin function
838 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
840 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
842 * text-coding.c (decode_coding_utf8): Check CCS is specified or
845 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
847 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
848 Q_lowercase, Q_uppercase in UTF-2000.
850 * chartab.c (get_char_table): Add special code for the standard
851 case table to use character attribute `->downcase' and
852 `->uppercase' for case operations in UTF-2000.
854 * casetab.c (Qflippedcase): New variable in UTF-2000.
855 (Q_lowercase): Likewise.
856 (Q_uppercase): Likewise.
857 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
858 and `->uppercase' in UTF-2000.
859 (complex_vars_of_casetab): Assign attribute name `downcase' to
860 downcase and CANON table of Vstandard_case_table in UTF-2000;
861 assign attribute name `flippedcase' to upcase and EQV table of
862 Vstandard_case_table in UTF-2000.
864 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
866 * text-coding.c (decode_add_er_char): Support isolated-chars.
867 (char_encode_as_entity_reference): Likewise.
869 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
871 * emacs.c (Vutf_2000_lisp_directory): New variable.
872 (Vconfigure_utf_2000_lisp_directory): Likewise.
873 (complex_vars_of_emacs): Add new variable
874 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
876 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
878 * char-ucs.h (DECODE_CHAR): Delete special code for
879 `chinese-big5-1' and `chinese-big5-2'.
881 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
883 (decode_defined_char): Support CONVERSION_BIG5_1 and
885 (decode_builtin_char): Likewise.
886 (charset_code_point): Likewise.
887 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
888 'conversion in UTF-2000.
889 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
890 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
891 `chinese-big5-2' as children of `chinese-big5'.
893 * char-ucs.h (CONVERSION_BIG5_1): New macro.
894 (CONVERSION_BIG5_2): New macro.
896 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
898 * text-coding.c (char_encode_big5): Support entity-reference.
900 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
902 * text-coding.c (char_encode_as_entity_reference): New function.
903 (char_encode_utf8): Use `char_encode_as_entity_reference'.
905 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
907 * text-coding.c (decode_coding_big5): Support entity-reference
910 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
912 * text-coding.c (allocate_coding_system): Initialize initial
913 charsets for CODESYS_UTF8.
914 (Fmake_coding_system): Accept charset-g0, charset-g1 and
915 charset-g2 for CODESYS_UTF8.
916 (decode_coding_utf8): Use charset-g0.
917 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
918 to force variants to map to UCS.
920 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * text-coding.c (Qutf_8_mcs): New variable.
923 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
924 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
925 instead of `utf-8' in UTF-2000.
927 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
929 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
930 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
931 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
932 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
933 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
934 CONVERSION_96x96x96x96 are introduced.
935 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
936 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
937 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
939 * char-ucs.h (CONVERSION_94): New macro.
940 (CONVERSION_96): New macro.
941 (CONVERSION_94x94): New macro.
942 (CONVERSION_96x96): New macro.
943 (CONVERSION_94x94x94): New macro.
944 (CONVERSION_96x96x96): New macro.
945 (CONVERSION_94x94x94x60): New macro.
946 (CONVERSION_94x94x94x94): New macro.
947 (CONVERSION_96x96x96x96): New macro.
949 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
951 * chartab.c (Vcharacter_variant_table): Deleted.
952 (Fchar_variants): Use character-attribute `->ucs-variants' instead
953 of `Vcharacter_variant_table'.
954 (Fput_char_attribute): Likewise.
955 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
956 (complex_vars_of_chartab): Likewise.
958 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
960 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
962 * fns.c (Qideographic_structure): New variable.
963 (Qkeyword_char): New variable.
964 (ids_format_unit): New function.
965 (Fideographic_structure_to_ids): New function.
966 (syms_of_fns): Add new symbols `ideographic-structure' and
967 `:char'; add new builtin function `ideographic-structure-to-ids'.
969 * data.c (Fchar_ref_p): New function.
970 (syms_of_data): Add new builtin function `char-ref-p'.
972 * chartab.h: Add an EXFUN for `Ffind_char'.
974 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
976 * text-coding.c (Vcharacter_composition_table): Deleted.
977 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
980 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
982 (Vcharacter_composition_table): Deleted.
983 (Fget_composite_char): Use the implementation for external-DB
984 support in every UTF-2000.
985 (Fput_char_attribute): Likewise.
986 (char_attribute_system_db_file): Don't define if external-DB
987 feature is not available.
988 (Fsave_char_attribute_table): Likewise.
989 (Fmount_char_attribute_table): Likewise.
990 (Fclose_char_attribute_table): Likewise.
991 (Freset_char_attribute_table): Likewise.
992 (Fload_char_attribute_table): Likewise.
993 (syms_of_chartab): Don't define `save-char-attribute-table',
994 `mount-char-attribute-table', `reset-char-attribute-table',
995 `close-char-attribute-table' and `load-char-attribute-table' if
996 external-DB feature is not available.
997 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
999 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1001 * text-coding.c (Qcomposition): Add extern if external-DB feature
1003 (Vcharacter_composition_table): Don't add extern if external-DB
1004 feature is supported.
1005 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1006 character composition rule if external-DB feature is supported.
1008 * chartab.c (Vcharacter_composition_table): Don't define if
1009 external-DB feature is supported.
1010 (Qcomposition): New variable.
1011 (Fget_composite_char): New implementation for external-DB support.
1012 (Fput_char_attribute): Use `composition' property of each
1013 character instead of `Vcharacter_composition_table' to store
1014 character-composition rules if external-DB feature is supported.
1015 (syms_of_chartab): Add new symbol `composition'.
1016 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1017 external-DB feature is supported.
1019 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1021 * chartab.c (Vchar_db_stingy_mode): New variable.
1022 (load_char_attribute_maybe): Close database if
1023 Vchar_db_stingy_mode is not NIL.
1024 (Fload_char_attribute_table_map_function): Use
1025 `get_char_id_table_0' instead of `get_char_id_table'.
1026 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1028 * chartab.h (get_char_id_table_0): New inline function.
1029 (get_char_id_table): Use `get_char_id_table_0'.
1031 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1033 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1034 and `COMPOSE_ADD_CHAR'.
1035 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1037 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1039 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1040 instead of `DECODE_ADD_UCS_CHAR'.
1041 (COMPOSE_ADD_CHAR): Likewise.
1043 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1045 * text-coding.c (decode_flush_er_chars): New inline function.
1046 (decode_add_er_char): New function.
1047 (decode_coding_utf8): Use `decode_flush_er_chars' and
1048 `decode_add_er_char'.
1050 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1052 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1053 done before `decode_output_utf8_partial_char'.
1055 * mule-charset.c (complex_vars_of_mule_charset): Specify
1056 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1057 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1059 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1061 * mule-charset.c (decode_defined_char): New function; search
1063 (decode_builtin_char): Don't search mother if
1064 XCHARSET_MAX_CODE(charset) == 0.
1065 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1066 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1067 (Fdecode_char): Use `decode_defined_char' instead of
1068 `DECODE_DEFINED_CHAR'.
1069 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1070 mother of `Vcharset_ucs_jis'.
1072 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1073 instead of `DECODE_DEFINED_CHAR'.
1075 * char-ucs.h (decode_defined_char): Renamed from
1076 `DECODE_DEFINED_CHAR'; changed to normal function.
1077 (DECODE_CHAR): Use `decode_defined_char' instead of
1078 `DECODE_DEFINED_CHAR'.
1080 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1082 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1084 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1086 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1088 (Quse_entity_reference): New variable.
1092 (coding_system_description): Add description for
1093 `ccs_priority_list'.
1094 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1095 (allocate_coding_system): Initialize `ccs_priority_list' in
1097 (Fmake_coding_system): Add description about
1098 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1100 (Fcoding_system_property): Accept `disable-composition' and
1101 `use-entity-reference' in UTF-2000.
1102 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1104 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1105 (decode_coding_utf8): Decode entity-reference if
1106 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1107 (char_encode_utf8): Encode non-Unicode characters as
1108 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1110 (syms_of_file_coding): Add new symbols `use-entity-reference',
1112 (vars_of_file_coding): Add new variable
1113 `coded-charset-entity-reference-alist'.
1114 (complex_vars_of_file_coding): Declare `disable-composition' and
1115 `use-entity-reference' to be coding-system-properties in UTF-2000.
1117 * file-coding.h (struct Lisp_Coding_System): Add new member
1118 `use_entity_reference' and `ccs_priority_list'.
1119 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1120 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1121 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1123 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1125 * chartab.c (save_uint8_byte_table): Don't clear the table.
1126 (save_uint16_byte_table): Likewise.
1127 (save_byte_table): Likewise.
1128 (Fmount_char_attribute_table): New function.
1129 (syms_of_chartab): Add new builtin function
1130 `mount-char-attribute-table'.
1132 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1134 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1136 (load_char_decoding_entry_maybe): Open database as read-only mode.
1138 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1139 open database as "w+" mode.
1140 (load_char_attribute_maybe): Open database as read-only mode.
1141 (Fload_char_attribute_table): Likewise.
1143 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1145 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1146 (char_table_description): Delete member `db_file'.
1147 (Fmake_char_table): Don't refer `ct->db_file'.
1148 (Fcopy_char_table): Likewise.
1149 (Fsave_char_attribute_table): Likewise.
1150 (Fclose_char_attribute_table): Likewise.
1151 (Freset_char_attribute_table): Likewise.
1152 (load_char_attribute_maybe): Likewise.
1153 (Fload_char_attribute_table): Likewise.
1155 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1157 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1159 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1160 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1162 (load_char_attribute_maybe): Likewise.
1163 (Fload_char_attribute_table): Likewise.
1165 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1167 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1168 `ct->db_file' unconditionally.
1170 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1172 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1174 (char_table_description): Add description for `db_file' and `db'
1176 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1178 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1179 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1180 (Fclose_char_attribute_table): New function.
1181 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1182 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1184 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1185 (syms_of_chartab): Add new builtin function
1186 `Fclose_char_attribute_table'.
1188 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1190 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1192 (load_char_attribute_maybe): Change interface.
1193 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1195 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1197 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1199 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1201 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1202 instead of `DECODE_CHAR' for mother; don't use special code for
1203 chinese-big5 to use code space of chinese-big5-1 and
1205 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1206 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1208 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1209 (MAX_CHAR_BIG5_CDP): Revival.
1211 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1213 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1214 the XLFD registry-encoding name of `chinese-big5'.
1216 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1218 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1219 (Qchinese_big5_cdp): Deleted.
1220 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1221 (complex_vars_of_mule_charset): Delete coded-charset
1224 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1225 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1226 `CHARSET_ID_OFFSET - n' for private CCS.
1227 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1228 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1229 of `MIN_LEADING_BYTE'.
1230 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1231 `(CHARSET_ID_OFFSET - 97)'.
1232 (MIN_CHAR_BIG5_CDP): Deleted.
1233 (MAX_CHAR_BIG5_CDP): Deleted.
1235 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1237 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1239 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1241 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1242 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1245 * chartab.c (Vutf_2000_version): Moved to mule.c.
1246 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1248 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1250 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1251 when HAVE_CHISE_CLIENT is not defined.
1253 * mule.c (vars_of_mule): Provide feature `chise' when
1254 HAVE_CHISE_CLIENT is defined.
1256 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1258 * config.h.in (UTF2000): Add comment.
1259 (HAVE_CHISE_CLIENT): New macro.
1261 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1263 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1265 (Fput_char_attribute): Likewise.
1266 (char_attribute_system_db_file): Encode file-name of attribute.
1267 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1270 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1272 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1273 (Fsave_charset_mapping_table): Use
1274 `char_attribute_system_db_file'.
1275 (load_char_decoding_entry_maybe): Likewise.
1277 * chartab.h (Qsystem_char_id): New external variable.
1278 (char_attribute_system_db_file): New prototype.
1280 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1281 (char_attribute_system_db_file): New function.
1282 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1283 (Freset_char_attribute_table): Likewise.
1284 (load_char_attribute_maybe): Likewise.
1285 (Fload_char_attribute_table): Likewise.
1286 (syms_of_chartab): Add new symbol `system-char-id'.
1288 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1290 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1291 `XCHARSET_GRAPHIC(ccs)'.
1293 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1295 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1297 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1299 * chartab.c (Q_ucs_variants): New variable.
1300 (syms_of_chartab): Add new symbol `->ucs-variants'.
1301 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1302 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1303 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1305 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1307 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1308 `HAVE_DATABASE' is defined.
1309 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1310 `HAVE_DATABASE' is defined.
1312 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1314 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1316 (Freset_char_attribute_table): New function.
1317 (syms_of_chartab): Add new builtin function
1318 `reset-char-attribute-table'.
1320 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1322 * chartab.c (load_char_attribute_maybe): Don't make directories.
1324 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1326 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1328 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1331 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1333 * mule-charset.c (Fsave_charset_mapping_table): Use
1334 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1336 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1337 instead of `XCHARSET_CHARS'.
1339 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1341 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1342 (XCHARSET_BYTE_SIZE): Likewise.
1344 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1346 (XCHARSET_BYTE_SIZE): Likewise.
1348 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1350 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1351 data-directory to store database.
1352 (Fsave_char_attribute_table): Likewise.
1353 (load_char_attribute_maybe): Likewise.
1354 (Fload_char_attribute_table): Likewise.
1356 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1358 * mule-charset.c (Fsave_charset_mapping_table): New function.
1359 (syms_of_mule_charset): Add new builtin function
1360 `save-charset-mapping-table'.
1362 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1364 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1365 (get_ccs_octet_table): New inline function.
1366 (put_ccs_octet_table): Likewise.
1367 (decoding_table_put_char): Use `get_ccs_octet_table' and
1368 `put_ccs_octet_table'.
1369 (decoding_table_remove_char): Use `decoding_table_put_char'.
1370 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1372 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1373 into encoding_table.
1374 (make_charset): Use Qunbound instead Qnil as initial value of
1377 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1379 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1380 element is Qunloaded.
1381 (map_over_uint16_byte_table): Likewise.
1382 (map_over_byte_table): Likewise.
1383 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1384 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1385 database support, load encoding-table of the specified
1386 coded-charset if it is not loaded yet.
1387 (save_uint8_byte_table): New function of UTF-2000 with external
1389 (save_uint16_byte_table): Likewise.
1390 (save_byte_table): Likewise.
1391 (Fput_char_attribute): Don't store value into external database
1392 even if the external database feature is supported in UTF-2000;
1393 set `attribute' as name of char-table if the external database
1394 feature is supported.
1395 (Fsave_char_attribute_table): New function in UTF-2000.
1396 (syms_of_chartab): Add new builtin function
1397 `save-char-attribute-table' in UTF-2000.
1399 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1401 * chartab.c (char_attribute_table_to_put): New variable in
1403 (Qput_char_table_map_function): Likewise.
1404 (value_to_put): Likewise.
1405 (Fput_char_table_map_function): New function in UTF-2000.
1406 (put_char_table): Use `Fmap_char_attribute' for
1407 CHARTAB_RANGE_CHARSET in UTF-2000.
1408 (Fput_char_attribute): Store symbol instead of string in
1409 `XCHAR_TABLE_NAME (table)'.
1410 (load_char_attribute_maybe): Likewise.
1411 (syms_of_chartab): Add new symbol/function
1412 `put-char-table-map-function'.
1414 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1416 * database.h: Add new EXFUN for `Fmap_database'.
1418 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1419 (syms_of_database): Likewise.
1421 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1423 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1424 (XCHAR_TABLE_UNLOADED): Likewise.
1426 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1427 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1428 HAVE_DATABASE is defined.
1429 (char_attribute_table_to_load): New variable of UTF-2000 with
1430 external database support.
1431 (Qload_char_attribute_table_map_function): Likewise.
1432 (Fload_char_attribute_table_map_function): New function of
1433 UTF-2000 with external database support.
1434 (Fload_char_attribute_table): New function of UTF-2000.
1435 (Fmap_char_attribute): Call Fload_char_attribute_table if
1436 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1437 (syms_of_chartab): Add new symbol and function
1438 `load-char-attribute-table-map-function' in UTF-2000 with external
1439 database support; add new function `load-char-attribute-table' in
1442 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * chartab.h (load_char_attribute_maybe): New prototype for
1445 UTF-2000 with DATABASE support.
1446 (get_char_id_table): Use `load_char_attribute_maybe' if
1447 HAVE_DATABASE is defined.
1449 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1450 with DATABASE support.
1452 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1454 * chartab.c (Fput_char_attribute): Use S-expression as key of
1457 * chartab.h (get_char_id_table): Use S-expression as key of
1460 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1462 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1463 if an element is not loaded, load the corresponding attributes
1464 from an external database.
1465 (map_over_uint16_byte_table): Likewise.
1466 (map_over_byte_table): Likewise.
1467 (map_char_table): Modify for `map_over_uint8_byte_table',
1468 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1469 element is not loaded, load the corresponding attributes from an
1471 (Fput_char_attribute): Change initial values to Qunloaded.
1473 * chartab.h (get_char_id_table): If a character attribute is not
1474 loaded and the attribute value is not found in an external
1475 database, store Qunbound as the attribute value.
1477 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1479 * chartab.c (BT_UINT8_unloaded): New macro.
1480 (UINT8_VALUE_P): Accept Qunloaded.
1481 (UINT8_ENCODE): Likewise.
1482 (UINT8_DECODE): Likewise.
1483 (BT_UINT16_unloaded): New macro.
1484 (UINT16_VALUE_P): Accept Qunloaded.
1485 (UINT16_ENCODE): Likewise.
1486 (UINT16_DECODE): Likewise.
1487 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1489 (mark_char_table): Mark `ct->name' in UTF-2000.
1490 (char_table_description): Add `name' in UTF-2000.
1491 (Fmake_char_table): Initialize `ct->name'.
1492 (Fcopy_char_table): Copy `ct->name'.
1493 (Fput_char_attribute): Store value into an external database if
1494 HAVE_DATABASE is defined.
1496 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1498 (CHAR_TABLE_NAME): New macro in UTF-2000.
1499 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1500 (get_char_id_table): Try to read an external database if Qunloaded
1501 is stored in a table.
1503 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1506 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1508 * database.h: Add EXFUN definitions for Fopen_database,
1509 Fput_database, Fget_database and Fclose_database.
1511 * data.c (Qunloaded): New variable in UTF-2000.
1513 * lisp.h (Qunloaded): New variable in UTF-2000.
1515 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1517 * mule-charset.c (put_char_ccs_code_point): Modify for
1518 `decoding_table_remove_char' and `decoding_table_put_char'.
1519 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1521 * char-ucs.h (decoding_table_remove_char): Change arguments to
1522 hide decoding_table vector.
1523 (decoding_table_put_char): Likewise.
1525 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1527 * mule-charset.c (decoding_table_remove_char): Moved to
1529 (decoding_table_put_char): Likewise.
1531 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1532 from mule-charset.c].
1533 (decoding_table_remove_char): New inline function [moved from
1535 (decoding_table_put_char): Likewise.
1537 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1539 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1542 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1544 * mule-charset.c (decode_builtin_char): Support mother charsets.
1546 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1548 * mule-charset.c (Q94x94x60): New variable.
1549 (charset_code_point): Support conversion `94x94x60'.
1550 (Fmake_charset): Likewise.
1551 (syms_of_mule_charset): Add new symbol `94x94x60'.
1553 * char-ucs.h (CONVERSION_94x94x60): New macro.
1555 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1557 * mule-charset.c (charset_code_point): Unify code about
1560 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1562 * mule-charset.c (charset_code_point): Merge code about builtin
1563 characters into code about mother charsets; don't use
1564 `range_charset_code_point'.
1565 (range_charset_code_point): Deleted.
1567 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1569 * mule-charset.c (Qcode_offset): New variable.
1570 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1571 `max-code'; accept new property `code-offset'.
1572 (syms_of_mule_charset): Add new symbol `code-offset'.
1574 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1576 * mule-charset.c (range_charset_code_point): Fixed.
1578 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1580 * mule-charset.c (decode_builtin_char): Change semantics of
1581 code-offset of coded-charset.
1582 (charset_code_point): Likewise.
1583 (range_charset_code_point): Likewise.
1584 (complex_vars_of_mule_charset): Modify for the change.
1586 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1588 * mule-charset.c (Fencode_char): Reverse arguments.
1590 * mule-charset.c (charset_code_point): Fixed.
1592 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1594 * mule-charset.c (Vcharset_mojikyo): Deleted.
1595 (Vcharset_mojikyo_2022_1): Deleted.
1596 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1597 (Qmin_code): New variable in UTF-2000.
1598 (Qmax_code): Likewise.
1599 (Qmother): Likewise.
1600 (Qconversion): Likewise.
1602 (Qmojikyo): Deleted.
1603 (Qmojikyo_2022_1): Deleted.
1604 (Qmojikyo_pj_{1..22}): Deleted.
1605 (mark_charset): Mark `cs->mother'.
1606 (charset_description): Add description for `mother'.
1607 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1608 new arguments `mother' and `conversion'; use
1609 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1610 (charset_code_point): Moved from char-ucs.h; support `mother'
1612 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1613 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1614 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1615 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1616 allow 2 as the value of `graphic' in UTF-2000; add new properties
1617 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1618 require `final' in UTF-2000; modify for `make_charset'.
1619 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1620 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1621 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1622 (Fencode_char): New function.
1623 (syms_of_mule_charset): Add new builtin function `encode-char' in
1624 UTF-2000; add new symbols `min-code', `max-code', `mother',
1625 `conversion' and `94x60'; delete symbols `mojikyo',
1626 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1627 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1628 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1629 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1631 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1632 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1634 * char-ucs.h (Vcharset_mojikyo): Deleted.
1635 (Vcharset_mojikyo_2022_1): Deleted.
1636 (LEADING_BYTE_MOJIKYO): Deleted.
1637 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1638 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1639 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1640 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1641 add new member `mother'; add new member `conversion'.
1642 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1643 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1644 (CHARSET_MOTHER): New macro.
1645 (CHARSET_CONVERSION): New macro.
1646 (CONVERSION_IDENTICAL): New macro.
1647 (CONVERSION_94x60): New macro.
1648 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1649 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1650 (XCHARSET_MOTHER): New macro.
1651 (XCHARSET_CONVERSION): New macro.
1652 (MIN_CHAR_MOJIKYO): Deleted.
1653 (MAX_CHAR_MOJIKYO): Deleted.
1654 (DECODE_MOJIKYO_2022): Deleted.
1655 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1656 (charset_code_point): Changed to non-inline function.
1657 (encode_char_1): Use `charset_code_point'.
1658 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1660 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1662 * lread.c (read_compiled_function): Fix prototype.
1663 (read_vector): Likewise.
1665 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1667 * lrecord.h (struct lrecord_header): Delete `older'.
1668 (set_lheader_implementation): Delete code for `older'.
1669 (set_lheader_older_implementation): Deleted.
1670 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1671 (OLDER_RECORD_P): Deleted.
1672 (OLDER_RECORD_HEADER_P): Deleted.
1673 (alloc_older_lcrecord): Deleted.
1674 (alloc_older_lcrecord_type): Deleted.
1676 * alloc.c (all_older_lcrecords): Deleted.
1677 (alloc_older_lcrecord): Deleted.
1678 (disksave_object_finalization_1): Delete code for older objects.
1679 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1680 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1682 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1684 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1685 instead of `make_older_vector'.
1686 (put_char_ccs_code_point): Likewise.
1687 (mark_charset): Mark `cs->decoding_table'.
1688 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1690 * lisp.h (make_older_vector): Deleted.
1691 (make_vector_newer): Deleted.
1693 * config.h.in (HAVE_GGC): Deleted.
1695 * alloc.c (make_older_vector): Deleted.
1696 (make_vector_newer_1): Deleted.
1697 (make_vector_newer): Deleted.
1699 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1701 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1702 (Qideograph_daikanwa_2): New variable.
1703 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1704 (complex_vars_of_mule_charset): Add new coded-charset
1705 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1706 `LEADING_BYTE_DAIKANWA'.
1708 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1709 (LEADING_BYTE_DAIKANWA_1): New macro.
1710 (LEADING_BYTE_DAIKANWA_2): New macro.
1711 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1713 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1715 * mule-charset.c (complex_vars_of_mule_charset): Change
1716 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1717 the second revised version.
1719 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1721 * mule-charset.c (Vcharset_ucs_smp): New variable.
1722 (Vcharset_ucs_sip): New variable.
1723 (Qucs_smp): New variable.
1724 (Qucs_sip): New variable.
1725 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1726 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1727 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1728 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1729 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1730 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1732 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1733 (LEADING_BYTE_UCS_SIP): New macro.
1734 (MIN_CHAR_SMP): New macro.
1735 (MAX_CHAR_SMP): New macro.
1736 (MIN_CHAR_SIP): New macro.
1737 (MAX_CHAR_SIP): New macro.
1739 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1741 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1744 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1746 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1747 value; don't store value into `encoding_table' of `Lisp_Charset'.
1748 (mark_charset): `encoding_table' was deleted.
1749 (charset_description): Likewise.
1750 (make_charset): Likewise.
1751 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1752 `put_char_ccs_code_point'.
1754 * chartab.h (Fput_char_attribute): New EXFUN.
1756 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1757 is unified with normal symbol space.
1758 (Fget_char_attribute): Likewise.
1759 (Fput_char_attribute): Likewise; behavior of
1760 `put_char_ccs_code_point' is changed.
1762 * char-ucs.h: Include "elhash.h".
1763 (Vchar_attribute_hash_table): New external variable.
1764 (struct Lisp_Charset): Delete `encoding_table'.
1765 (CHARSET_ENCODING_TABLE): New implementation; refer
1766 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1769 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1771 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1774 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1776 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1779 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1781 * chartab.c (uint8_byte_table_description): New constant.
1782 (uint8-byte-table): Use `uint8_byte_table_description'.
1783 (uint16_byte_table_description): New constant.
1784 (uint16-byte-table): Use `uint16_byte_table_description'.
1786 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1788 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1789 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1791 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1793 * mule-charset.c (Vcharset_ucs_ks): New variable.
1794 (Qucs_ks): New variable.
1795 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1796 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1798 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1800 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1802 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1803 (Fdecode_char): Likewise.
1805 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1807 (Fdefine_char): Modify for Fdecode_char.
1808 (Ffind_char): Likewise.
1810 * mule-charset.c (Fdecode_char): Add new optional argument
1812 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1814 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1816 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1817 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1818 (allocate_coding_system): Initialize initial-charsets of
1819 CODESYS_BIG5 in XEmacs UTF-2000.
1820 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1821 CODESYS_BIG5 in XEmacs UTF-2000.
1822 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1823 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1825 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1827 (Qideograph_hanziku_{1 .. 12}): Likewise.
1828 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1830 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1831 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1832 `ideograph-hanziku-{1 .. 12}'.
1834 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1835 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1836 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1837 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1838 (DECODE_DEFINED_CHAR): New inline function.
1839 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1841 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1843 * mule-charset.c (Vcharset_china3_jef): Renamed from
1844 `Vcharset_japanese_jef_china3'.
1845 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1846 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1847 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1848 (syms_of_mule_charset): Rename `china3-jef' from
1849 `japanese-jef-china3'.
1850 (complex_vars_of_mule_charset): Likewise; rename
1851 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1853 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1854 `LEADING_BYTE_JEF_CHINA3'.
1855 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1856 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1858 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1860 * mule-charset.c (encode_builtin_char_1): Comment out special code
1861 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1863 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1864 (MAX_CHAR_MOJIKYO_0): Comment out.
1865 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1866 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1867 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1868 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1870 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1872 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1873 (Qideograph_cbeta): New variable.
1874 (encode_builtin_char_1): Comment out special code for
1875 coded-charset `mojikyo' and `japanese-jef-china3'.
1876 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1877 (complex_vars_of_mule_charset): Add new coded-charset
1880 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1881 (MIN_CHAR_CBETA): New macro.
1882 (MAX_CHAR_CBETA): New macro.
1884 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1886 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1887 (LEADING_BYTE_JEF_CHINA3): New macro.
1888 (MIN_CHAR_JEF_CHINA3): New macro.
1889 (MAX_CHAR_JEF_CHINA3): Likewise.
1890 (DECODE_CHAR): Fixed.
1892 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1894 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1895 (Qjapanese_jef_china3): New variable.
1896 (encode_builtin_char_1): Support `japanese-jef-china3'.
1897 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1898 (complex_vars_of_mule_charset): Add new coded-charset
1899 `japanese-jef-china3'.
1901 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1903 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1904 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1905 94^4, 96^3, 96^4, 128^n and 256^n set.
1906 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1907 (map_char_table): Likewise.
1909 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1911 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1914 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1916 * chartab.h (get_char_id_table): New inline function.
1918 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1921 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1923 * chartab.h (decode_char_table_range): New prototype in XEmacs
1925 (put_char_id_table): New inline function in XEmacs UTF-2000.
1927 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1929 (decode_char_table_range): Delete static declaration in XEmacs
1932 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1934 * chartab.c (put_char_id_table): Use `put_char_table'.
1936 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1938 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1939 (map_over_uint16_byte_table): Likewise.
1940 (map_over_byte_table): Likewise.
1941 (map_char_table): Modify for `map_over_uint8_byte_table',
1942 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
1945 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1947 * chartab.c (struct map_char_table_for_charset_arg): New
1949 (map_char_table_for_charset_fun): New function.
1950 (map_char_table): Use `map_char_table' for encoding_table of
1953 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1955 * chartab.c (map_char_table): Check a character is found in
1956 range->charset instead of non default value is defined in
1957 char-table when range is CHARTAB_RANGE_ROW.
1959 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1961 * chartab.c (map_char_id_table): Deleted.
1962 (Fmap_char_attribute): Use `map_char_table' instead of
1963 `map_char_id_table'.
1965 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1967 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
1969 (update_syntax_table): Deleted in XEmacs UTF-2000.
1971 * syntax.c (find_defun_start): Use `syntax_table' instead of
1972 `mirror_syntax_table' in XEmacs UTF-2000.
1973 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
1975 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
1977 (Fmatching_paren): Likewise.
1978 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
1980 (find_start_of_comment): Likewise.
1981 (find_end_of_comment): Likewise.
1982 (Fforward_comment): Likewise.
1983 (scan_lists): Likewise.
1984 (char_quoted): Likewise.
1985 (Fbackward_prefix_chars): Likewise.
1986 (scan_sexps_forward): Likewise.
1987 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
1988 (update_syntax_table): Likewise.
1990 * search.c (skip_chars): Use `syntax_table' instead of
1991 `mirror_syntax_table' in XEmacs UTF-2000.
1992 (wordify): Likewise.
1993 (Freplace_match): Likewise.
1995 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
1996 `mirror_syntax_table' in XEmacs UTF-2000.
1997 (WORDCHAR_P_UNSAFE): Likewise.
1998 (re_match_2_internal): Likewise.
2000 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2001 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2003 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2004 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2006 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2009 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2011 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2012 (char_table_description): Delete `mirror_table' in XEmacs
2014 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2016 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2017 (Fcopy_char_table): Likewise.
2018 (put_char_table): Don't call `update_syntax_table' in XEmacs
2021 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2022 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2023 (casify_region_internal): Likewise.
2025 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2027 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2028 `mirror_syntax_table' in XEmacs UTF-2000.
2030 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2031 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2032 (Fexpand_abbrev): Likewise.
2034 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2036 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2038 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2040 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2041 (map_over_uint16_byte_table): Likewise.
2042 (map_over_byte_table): Likewise.
2043 (get_char_id_table): Refer `cit->default_value'.
2044 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2045 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2046 of character-id ranges.
2047 (mark_char_table): Mark `ct->default_value'.
2048 (char_table_description): Add `default_value'.
2049 (fill_char_table): Use `default_value'.
2050 (decode_char_table_range): Decode `nil' as
2051 `CHARTAB_RANGE_DEFAULT'.
2052 (get_char_id_table): Refer `cit->default_value'.
2053 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2054 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2055 temporary hack; check value of char-table is bound or not.
2056 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2058 * chartab.h (struct Lisp_Char_Table): Add new member
2059 `default_value' in XEmacs UTF-2000.
2060 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2061 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2064 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2066 * chartab.h (Lisp_Char_ID_Table): Deleted.
2068 * chartab.c (char_table_description): Fix typo.
2069 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2070 `Lisp_Char_ID_Table'.
2072 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2074 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2077 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2080 * chartab.h (XCHAR_ID_TABLE): Deleted.
2081 (XSETCHAR_ID_TABLE): Deleted.
2082 (CHAR_ID_TABLE_P): Deleted.
2084 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2086 (Fget_composite_char): Likewise.
2087 (put_char_table): Likewise.
2088 (add_char_attribute_alist_mapper): Fixed.
2089 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2091 (Fget_char_attribute): Likewise.
2092 (Fget_char_attribute): Likewise.
2093 (Fmap_char_attribute): Likewise.
2095 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2097 (encode_char_1): Likewise.
2099 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2101 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2104 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2105 instead of `XCHAR_ID_TABLE'.
2106 (remove_char_ccs): Likewise.
2108 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2110 (Fget_composite_char): Likewise.
2111 (Fchar_variants): Likewise.
2112 (put_char_table): Likewise.
2113 (add_char_attribute_alist_mapper): Likewise.
2114 (Fchar_attribute_alist): Likewise.
2115 (Fget_char_attribute): Likewise.
2116 (Fput_char_attribute): Likewise.
2117 (Fmap_char_attribute): Likewise.
2118 (Fmap_char_attribute): Likewise.
2120 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2122 (encode_char_1): Likewise.
2124 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2126 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2127 `Lisp_Char_ID_Table'.
2128 (mark_char_id_table): Deleted.
2129 (print_char_id_table): Likewise.
2130 (char_id_table_equal): Likewise.
2131 (char_id_table_hash): Likewise.
2132 (char_id_table_description): Likewise.
2133 (char_id_table): Likewise.
2134 (make_char_id_table): Use `Fmake_char_table' and
2136 (get_char_id_table): Use `Lisp_Char_Table' instead of
2137 `Lisp_Char_ID_Table'.
2138 (put_char_id_table): Likewise.
2139 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2141 (Fremove_char_attribute): Likewise.
2142 (syms_of_chartab): Don't define type `char-id-table'.
2144 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2145 (char_id_table): Likewise.
2146 (GC_CHAR_ID_TABLE_P): Likewise.
2147 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2148 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2149 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2150 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2151 (get_char_id_table): Use `Lisp_Char_Table' instead of
2152 `Lisp_Char_ID_Table'.
2153 (put_char_id_table_0): Likewise.
2154 (put_char_id_table): Likewise.
2156 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2158 * chartab.h: Lisp_Byte_Table related codes are moved from
2161 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2163 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2165 * chartab.h: Don't include "chartab.h".
2166 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2167 (Lisp_Char_ID_Table): Likewise.
2168 (char_id_table): Likewise.
2169 (XCHAR_ID_TABLE): Likewise.
2170 (XSETCHAR_ID_TABLE): Likewise.
2171 (CHAR_ID_TABLE_P): Likewise.
2172 (GC_CHAR_ID_TABLE_P): Likewise.
2173 (get_char_id_table): Likewise.
2175 * char-ucs.h: Include "chartab.h".
2176 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2177 (Lisp_Char_ID_Table): Likewise.
2178 (char_id_table): Likewise.
2179 (XCHAR_ID_TABLE): Likewise.
2180 (XSETCHAR_ID_TABLE): Likewise.
2181 (CHAR_ID_TABLE_P): Likewise.
2182 (GC_CHAR_ID_TABLE_P): Likewise.
2183 (get_char_id_table): Likewise.
2185 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2187 * chartab.c (copy_uint8_byte_table): New function.
2188 (copy_uint16_byte_table): New function.
2189 (copy_byte_table): New function.
2190 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2192 (map_over_uint16_byte_table): Likewise.
2193 (map_over_byte_table): Likewise.
2194 (get_byte_table): Move prototype to chartab.h.
2195 (put_byte_table): Likewise.
2196 (put_char_id_table_0): Moved to chartab.h.
2197 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2198 (char_table_entry_equal): Likewise.
2199 (char_table_entry_hash): Likewise.
2200 (char_table_entry_description): Likewise.
2201 (char_table_entry): Likewise.
2202 (make_char_table_entry): Likewise.
2203 (copy_char_table_entry): Likewise.
2204 (get_non_ascii_char_table_value): Likewise.
2205 (map_over_charset_ascii): Likewise.
2206 (map_over_charset_control_1): Likewise.
2207 (map_over_charset_row): Likewise.
2208 (map_over_other_charset): Likewise.
2209 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2210 (print_char_table): Likewise.
2211 (char_table_equal): Likewise.
2212 (char_table_hash): Likewise.
2213 (char_table_description): Likewise.
2214 (fill_char_table): Likewise.
2215 (Fcopy_char_table): Likewise.
2216 (get_char_table): Likewise.
2217 (Fget_range_char_table): Likewise.
2218 (put_char_table): Likewise.
2219 (map_char_table): Likewise.
2220 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2223 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2225 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2226 `Vauto_fill_chars' in XEmacs UTF-2000.
2228 * chartab.h (get_byte_table): New prototype [moved from
2230 (put_byte_table): Likewise [moved from chartab.c].
2231 (put_char_id_table_0): New inline function [moved from chartab.c].
2232 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2233 (Lisp_Char_Table_Entry): Likewise.
2234 (char_table_entry): Likewise.
2235 (XCHAR_TABLE_ENTRY): Likewise.
2236 (XSETCHAR_TABLE_ENTRY): Likewise.
2237 (CHAR_TABLE_ENTRYP): Likewise.
2238 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2239 (NUM_ASCII_CHARS): Likewise.
2240 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2241 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2243 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2245 * chartab.c (get_char_id_table): Change interface.
2246 (put_char_id_table_0): New function.
2247 (put_char_id_table): Change interface; new implementation.
2248 (Fget_composite_char): Modify for interface change of
2249 `get_char_id_table'.
2250 (Fchar_variants): Likewise.
2251 (add_char_attribute_alist_mapper): Likewise.
2252 (Fchar_attribute_alist): Likewise.
2253 (Fget_char_attribute): Likewise.
2254 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2255 as same as character as the first argument like `put-char-table';
2256 modify for interface change of `put_char_id_table'.
2257 (Fremove_char_attribute): Modify for interface change of
2258 `put_char_id_table'.
2260 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2262 * text-coding.c: Sync up with XEmacs 21.2.41.
2263 (COMPOSE_ADD_CHAR): Modify for interface change of
2264 `get_char_id_table'.
2266 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2267 change of `put_char_id_table'.
2268 (remove_char_ccs): Likewise.
2270 * chartab.h (put_char_id_table): Change interface.
2272 * char-ucs.h (get_char_id_table): Change interface.
2273 (charset_code_point): Modify for interface change of
2274 `get_char_id_table'.
2275 (encode_char_1): Likewise.
2277 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2279 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2281 (map_over_uint16_byte_table): Likewise.
2282 (map_over_byte_table): Likewise.
2283 (map_char_id_table): Add new argument `range' like
2285 (Fmap_char_attribute): Add new argument `range' like
2288 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2290 * chartab.c (map_over_uint8_byte_table): Change interface of
2291 mapping function to use struct chartab_range instead of Emchar.
2292 (map_over_uint16_byte_table): Likewise.
2293 (map_over_byte_table): Likewise.
2294 (map_char_id_table): Likewise.
2295 (struct slow_map_char_id_table_arg): Deleted.
2296 (slow_map_char_id_table_fun): Deleted.
2297 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2298 function `slow_map_char_table_fun' instead of struct
2299 `slow_map_char_id_table_arg' and function
2300 `slow_map_char_id_table_fun'.
2302 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2304 * mule-charset.c: Move char-it-table related codes to chartab.c.
2305 (Vutf_2000_version): Moved to chartab.c.
2306 (Fdefine_char): Likewise.
2307 (Ffind_char): Likewise.
2308 (syms_of_mule_charset): Move types `uint8-byte-table',
2309 `uint16-byte-table', `byte-table' and `char-id-table' to
2310 chartab.c; move functions `char_attribute_list,
2311 `find_char_attribute_table, `char_attribute_alist,
2312 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2313 `map_char_attribute, `define_char, `find_char, `char_variants and
2314 `get_composite_char to chartab.c; move symbols `=>ucs',
2315 `->decomposition', `compat', `isolated', `initial', `medial',
2316 `final', `vertical', `noBreak', `fraction', `super', `sub',
2317 `circle', `square', `wide', `narrow', `small' and `font' to
2319 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2320 setting codes for `Vcharacter_composition_table' and
2321 `Vcharacter_variant_table' to chartab.c.
2322 (complex_vars_of_mule_charset): Move setting code for
2323 `Vchar_attribute_hash_table' to chartab.c.
2325 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2326 (make_char_id_table): New prototype.
2327 (put_char_id_table): Likewise.
2328 (Fget_char_attribute): Likewise.
2330 * chartab.c: Move char-id-table related code from mule-charset.c.
2331 (Vutf_2000_version): Moved from mule-charset.c.
2333 * char-ucs.h (Qucs): New external variable.
2334 (put_char_ccs_code_point): New prototype.
2335 (remove_char_ccs): Likewise.
2337 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2339 * mule-charset.c (Vcharset_ucs_jis): New variable.
2340 (Qucs_jis): Likewise.
2341 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2342 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2344 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2346 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2348 * mule-charset.c (map_over_uint8_byte_table): New function.
2349 (map_over_uint16_byte_table): Likewise.
2350 (map_over_byte_table): Likewise.
2351 (map_char_id_table): Likewise.
2352 (slow_map_char_id_table_fun): Likewise.
2353 (Fmap_char_attribute): Likewise.
2354 (syms_of_mule_charset): Add new function `map-char-attribute'.
2356 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2358 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2359 (syms_of_mule_charset): Add new function `find-char'.
2361 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2363 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2365 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2366 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2368 (complex_vars_of_mule_charset): Add new coded-charset
2369 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2370 `ideograph-gt-pj-*'.
2372 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2374 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2376 * mule-charset.c (encode_builtin_char_1): Purge codes about
2377 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2378 {MIN|MAX}_CHAR_HEBREW.
2379 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2380 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2382 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2383 (MAX_CHAR_GREEK): Purged.
2384 (MIN_CHAR_CYRILLIC): Purged.
2385 (MAX_CHAR_CYRILLIC): Purged.
2386 (MIN_CHAR_HEBREW): Commented out.
2387 (MAX_CHAR_HEBREW): Likewise.
2389 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2391 * mule-charset.c (Qto_ucs): New variable.
2392 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2393 (Fdefine_char): Likewise.
2394 (syms_of_mule_charset): Add new symbol `=>ucs'.
2396 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2398 * mule-charset.c (Fdecode_char): Fixed.
2400 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2402 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2403 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2406 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2408 * mule-charset.c (Vcharset_ucs_big5): New variable.
2409 (Qucs_big5): Likewise.
2410 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2411 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2413 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2415 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2417 * mule-charset.c (decode_builtin_char): Check Big5 code range
2418 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2420 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2422 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2423 (Qchinese_gb12345): Likewise.
2424 (Fdecode_builtin_char): Fixed.
2425 (syms_of_mule_charset): Add `chinese-gb12345'.
2426 (complex_vars_of_mule_charset): Add coded-charset
2429 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2430 (LEADING_BYTE_CHINESE_GB12345): New macro.
2432 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2434 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2435 and `latin-viscii-upper' for `latin-viscii'.
2437 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2439 * mule-charset.c (Fdecode_builtin_char): Comment out
2440 regularization code for ISO-IR GR representation.
2442 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2444 * mule-charset.c (decode_builtin_char): New function; renamed from
2445 `make_builtin_char'; return -1 instead of signal.
2446 (Fdecode_builtin_char): Use `decode_builtin_char'.
2448 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2449 `make_builtin_char'.
2450 (DECODE_CHAR): Use `decode_builtin_char' instead of
2451 `make_builtin_char'; use mapping table of `chinese-big5' for
2452 `chinese-big5-{1,2}'.
2454 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2456 * text-coding.c (char_encode_big5): New function.
2457 (char_finish_big5): Likewise.
2458 (reset_encoding_stream): Use `char_encode_big5' and
2459 `char_finish_big5' for CODESYS_BIG5.
2460 (mule_encode): Don't use `encode_coding_big5'.
2461 (encode_coding_big5): Deleted.
2463 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2465 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2466 0x81- in XEmacs UTF-2000.
2467 (detect_coding_big5): Likewise.
2469 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2471 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2472 generate character-id if the CCS property does not have
2473 corresponding predefined character.
2474 (make_builtin_char): Return -1 if corresponding predefined
2475 character is not found.
2476 (Fdecode_char): Return nil if corresponding character is not
2478 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2479 don't map to builtin ucs space.
2481 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2483 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2484 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2486 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2488 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2489 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2490 (Qideograph_gt): Likewise.
2491 (Qideograph_gt_pj_{1..11}): Likewise.
2492 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2493 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2494 `ideograph-gt-pj-11'.
2495 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2496 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2497 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2499 * char-ucs.h (LEADING_BYTE_GT): New macro.
2500 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2501 (MIN_CHAR_GT): Likewise.
2502 (MAX_CHAR_GT): Likewise.
2504 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2506 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2507 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2509 * doprnt.c (unsigned_int_converters): Add `c'.
2510 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2512 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2513 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2515 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2516 (MAX_CHAR_MOJIKYO_0): New macro.
2517 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2519 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2521 * mule-charset.c (Fdefine_char): Delete cemented out code.
2522 (encode_builtin_char_1): Modify for new allocation of builtin
2525 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2527 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2529 * mule-charset.c (Vcharset_ucs_cns): New variable.
2530 (Qucs_cns): New variable.
2531 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2532 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2534 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2536 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2538 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2540 * search.c (search_buffer): Make `charset_base_code' as
2541 character-id >> 6 to eliminate the corresponding last byte in
2542 UTF-8 representation [I'm not sure it is right thing].
2543 (boyer_moore): Likewise.
2545 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2547 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2548 representation in MULE.
2550 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2552 * text-coding.c (Fmake_coding_system): Use
2553 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2554 `EXTERNAL_PROPERTY_LIST_LOOP'.
2556 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2558 * text-coding.c (decode_output_utf8_partial_char): New function.
2559 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2561 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2563 * text-coding.c (decode_coding_utf8): Output original byte
2564 sequence if it is broken; change order of conditions.
2566 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2569 * mb-multibyte.h (BYTE_ASCII_P):
2570 Use bit ops for char-signedness safety.
2571 (BYTE_C0_P): Use bit ops for char-signedness safety.
2572 (BYTE_C1_P): Use bit ops for char-signedness safety.
2574 * character.h: (XCHAR_OR_CHAR_INT):
2575 Always use inline function.
2576 Remove redundant type checking assert() - XINT will abort quite
2579 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2581 * text-coding.c: (Fencode_shift_jis_char):
2582 (Fencode_big5_char):
2583 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2584 Replace 0 with '\0' when working with bytes.
2585 Replace initial "(" with "\(" in docstrings.
2587 (Fmake_coding_system):
2588 When type is ccl and value is vector, register it with a proper
2589 symbol. And checks whether the given ccl program is valid.
2590 (mule_decode): When calling ccl_driver, if src indicates
2591 NULL pointer, set an empty string instead.
2592 (mule_encode): Likewise.
2595 (detect_coding_sjis):
2596 (decode_coding_sjis):
2597 (detect_coding_big5):
2598 (decode_coding_big5):
2599 (detect_coding_ucs4):
2600 (decode_coding_ucs4):
2601 (detect_coding_utf8):
2602 (decode_coding_utf8):
2603 (detect_coding_iso2022):
2604 (decode_coding_iso2022):
2605 (decode_coding_no_conversion):
2607 Make all detecting and decoding functions take an Extbyte * arg.
2608 (text_encode_generic):
2609 (encode_coding_big5):
2610 (encode_coding_no_conversion):
2612 Make all encoding functions take a Bufbyte * arg.
2613 Use size_t instead of unsigned int for memory sizes.
2614 Only cast to unsigned char whenever dereferencing Extbyte *.
2616 (struct lrecord_description fcd_description_1): Use countof.
2617 (complex_vars_of_file_coding):
2618 Use countof instead of sizeof.
2619 Use CHECK_NATNUM instead of CHECK_INT.
2621 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2623 * mule-charset.c (Fget_char_attribute): Add new optional argument
2625 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2626 (remove_char_ccs): Likewise.
2628 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2630 * text-coding.c (char_encode_shift_jis): New implementation in
2632 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2635 * mule-charset.c (Vcharset_chinese_big5): New variable in
2637 (Qchinese_big5): New variable in UTF-2000.
2638 (BIG5_SAME_ROW): New macro in UTF-2000.
2639 (make_builtin_char): Use builtin characters of
2640 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2641 characters of `Vcharset_chinese_big5'.
2642 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2643 (complex_vars_of_mule_charset): Add new coded-charset
2644 `chinese-big5' in UTF-2000.
2646 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2647 (Vcharset_chinese_big5): New external variable declaration.
2648 (Vcharset_japanese_jisx0208_1990): Likewise.
2650 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2652 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2654 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2656 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2658 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2659 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2660 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2663 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2665 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2667 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2669 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2672 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2674 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2675 for `CHARSET_BY_ATTRIBUTES'.
2676 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2677 `CHARSET_BY_ATTRIBUTES'.
2679 * text-coding.c (struct decoding_stream): Rename member `CH' to
2681 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2682 (decode_coding_sjis): Likewise.
2683 (decode_coding_big5): Likewise.
2684 (decode_coding_ucs4): Likewise.
2685 (decode_coding_utf8): Likewise.
2686 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2687 `CHARSET_BY_ATTRIBUTES'.
2688 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2689 `str->counter'; decode 3, 4 bytes sets.
2690 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2692 (decode_coding_no_conversion): Use `str->cpos' instead of
2695 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2696 (Qmojikyo_2022_1): New variable.
2697 (make_charset): Don't use `CHARSET_TYPE_*'.
2698 (range_charset_code_point): Support coded-charset
2700 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2701 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2702 `CHARSET_BY_ATTRIBUTES'.
2703 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2704 `CHARSET_BY_ATTRIBUTES'.
2705 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2706 (complex_vars_of_mule_charset): Add new coded-charset
2709 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2710 interface; changed to inline function.
2712 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2713 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2714 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2715 (CHARSET_TYPE_94): Deleted.
2716 (CHARSET_TYPE_94X94): Deleted.
2717 (CHARSET_TYPE_96): Deleted.
2718 (CHARSET_TYPE_96X96): Deleted.
2719 (CHARSET_TYPE_128): Deleted.
2720 (CHARSET_TYPE_128X128): Deleted.
2721 (CHARSET_TYPE_256): Deleted.
2722 (CHARSET_TYPE_256X256): Deleted.
2723 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2725 (DECODE_MOJIKYO_2022): New inline function.
2726 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2727 `Vcharset_mojikyo_2022_1'.
2729 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2731 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2733 (put_byte_table): Likewise.
2734 (char_id_table_equal): Use `get_byte_table' [new implementation].
2736 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2738 * mule-charset.c: Include <limits.h> in UTF-2000.
2739 (BT_UINT8_MIN): New macro in UTF-2000.
2740 (BT_UINT8_MAX): New macro in UTF-2000.
2741 (BT_UINT8_t): New macro in UTF-2000.
2742 (BT_UINT8_nil): New macro in UTF-2000.
2743 (BT_UINT8_unbound): New macro in UTF-2000.
2744 (INT_UINT8_P): New inline function in UTF-2000.
2745 (UINT8_VALUE_P): New inline function in UTF-2000.
2746 (UINT8_ENCODE): New inline function in UTF-2000.
2747 (UINT8_DECODE): New inline function in UTF-2000.
2748 (mark_uint8_byte_table): New function in UTF-2000.
2749 (print_uint8_byte_table): New function in UTF-2000.
2750 (uint8_byte_table_equal): New function in UTF-2000.
2751 (uint8_byte_table_hash): New function in UTF-2000.
2752 (make_uint8_byte_table): New function in UTF-2000.
2753 (uint8_byte_table_same_value_p): New function in UTF-2000.
2754 (BT_UINT16_MIN): New macro in UTF-2000.
2755 (BT_UINT16_MAX): New macro in UTF-2000.
2756 (BT_UINT16_t): New macro in UTF-2000.
2757 (BT_UINT16_nil): New macro in UTF-2000.
2758 (BT_UINT16_unbound): New macro in UTF-2000.
2759 (INT_UINT16_P): New inline function in UTF-2000.
2760 (UINT16_VALUE_P): New inline function in UTF-2000.
2761 (UINT16_ENCODE): New inline function in UTF-2000.
2762 (UINT16_DECODE): New inline function in UTF-2000.
2763 (UINT8_TO_UINT16): New inline function in UTF-2000.
2764 (mark_uint16_byte_table): New function in UTF-2000.
2765 (print_uint16_byte_table): New function in UTF-2000.
2766 (uint16_byte_table_equal): New function in UTF-2000.
2767 (uint16_byte_table_hash): New function in UTF-2000.
2768 (make_uint16_byte_table): New function in UTF-2000.
2769 (uint16_byte_table_same_value_p): New function in UTF-2000.
2770 (print_byte_table): New function in UTF-2000.
2771 (byte-table): Use `print_byte_table' as printer.
2772 (make_byte_table): Delete second argument `older'.
2773 (byte_table_same_value_p): New function in UTF-2000.
2774 (copy_byte_table): Deleted.
2775 (get_byte_table): New function in UTF-2000.
2776 (put_byte_table): New function in UTF-2000.
2777 (print_char_id_table): New function in UTF-2000.
2778 (char-id-table): Use `print_char_id_table' as printer.
2779 (make_char_id_table): Delete second argument `older'.
2780 (get_char_id_table): Use `get_byte_table [new implementation].
2781 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2783 (Ffind_char_attribute_table): New function in UTF-2000.
2784 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2785 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2786 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2787 (syms_of_mule_charset): Add new function
2788 `find-char-attribute-table' in UTF-2000.
2790 * lrecord.h (enum lrecord_type): Add
2791 `lrecord_type_uint16_byte_table' and
2792 `lrecord_type_uint8_byte_table'.
2794 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2795 (Lisp_Uint8_Byte_Table): New type.
2796 (XUINT8_BYTE_TABLE): New macro.
2797 (XSETUINT8_BYTE_TABLE): New macro.
2798 (UINT8_BYTE_TABLE_P): New macro.
2799 (GC_UINT8_BYTE_TABLE_P): New macro.
2800 (struct Lisp_Uint16_Byte_Table): New structure.
2801 (Lisp_Uint16_Byte_Table): New type.
2802 (XUINT16_BYTE_TABLE): New macro.
2803 (XSETUINT16_BYTE_TABLE): New macro.
2804 (UINT16_BYTE_TABLE_P): New macro.
2805 (GC_UINT16_BYTE_TABLE_P): New macro.
2807 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2809 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2810 (Vcharacter_ideographic_strokes_table): Deleted.
2811 (Vcharacter_total_strokes_table): Deleted.
2812 (Vcharacter_morohashi_daikanwa_table): Deleted.
2813 (Vcharacter_decomposition_table): Deleted.
2814 (Qname): Deleted because it is duplicated.
2815 (Qideographic_radical): Deleted.
2816 (Qideographic_strokes): Deleted.
2817 (Qtotal_strokes): Deleted.
2818 (Qmorohashi_daikanwa): Deleted.
2819 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2820 `ideographic-radical', `ideographic-strokes', `total-strokes',
2821 `morohashi-daikanwa' and `->decomposition'.
2822 (Fget_char_attribute): Likewise.
2823 (Fput_char_attribute): Likewise; use `make-vector' instead of
2824 `make_older_vector' for `->decomposition' value.
2825 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2826 `ideograph-daikanwa'.
2827 (syms_of_mule_charset): Delete builtin symbols `name',
2828 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2829 `morohashi-daikanwa'.
2830 (vars_of_mule_charset): Don't setup
2831 `Vcharacter_ideographic_radical_table',
2832 `Vcharacter_ideographic_strokes_table',
2833 `Vcharacter_total_strokes_table',
2834 `Vcharacter_morohashi_daikanwa_table' and
2835 `Vcharacter_decomposition_table'.
2837 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2839 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2840 `make_older_vector', `make_vector_newer_1' and
2841 `make_vector_newer'.
2843 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2844 `make_older_vector' and `make_vector_newer'.
2846 * config.h.in (HAVE_GGC): New macro.
2848 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2850 * mule-charset.c (struct char_attribute_list_closure): New
2851 structure in UTF-2000.
2852 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2853 (Fchar_attribute_list): Likewise.
2854 (Fset_charset_mapping_table): Use `make_vector_newer'.
2855 (Fdecode_builtin_char): New function in UTF-2000.
2856 (syms_of_mule_charset): Add new function `char-attribute-list' and
2857 `decode-builtin-char' in UTF-2000.
2859 * lisp.h (make_vector_newer): New prototype.
2861 * alloc.c (make_vector_newer_1): New function.
2862 (make_vector_newer): New function.
2864 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2866 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2869 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2871 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2872 (Vcharacter_attribute_table): Deleted.
2873 (Vcharacter_name_table): Deleted.
2874 (put_char_attribute): Deleted.
2875 (remove_char_attribute): Deleted.
2876 (struct char_attribute_alist_closure): New structure.
2877 (add_char_attribute_alist_mapper): New function.
2878 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2879 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2880 (Fget_char_attribute): Likewise.
2881 (Fput_char_attribute): Likewise.
2882 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2883 of `remove_char_attribute'.
2884 (Fdefine_char): Return character.
2885 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2886 and `Vcharacter_name_table'.
2887 (complex_vars_of_mule_charset): Likewise
2888 `Vchar_attribute_hash_table'.
2890 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2892 * character.h (CHARC_CHARSET): New macro.
2893 (CHARC_CHARSET_ID): New macro.
2894 (CHARC_CODE_POINT): New macro.
2895 (CHARC_COLUMNS): New macro.
2896 (CHARC_TO_CHAR): New inline function.
2897 (CHARC_EQ): New inline function.
2898 (CHARC_ASCII_EQ): New inline function.
2899 (CHARC_IS_SPACE): New inline function.
2900 (ASCII_TO_CHARC): New inline function.
2902 * char-ucs.h (encode_char_2): Deleted.
2903 (ENCODE_CHAR): Use `encode_char_1' again.
2904 (breakup_char_1): Likewise.
2905 (CHAR_TO_CHARC): New inline function.
2907 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2909 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2911 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2912 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2913 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2914 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2915 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2917 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2919 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2921 (x_output_display_block): Use `CHARC_CHARSET' and
2924 * redisplay-tty.c (tty_output_display_block): Use
2926 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2928 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2930 * insdel.c (find_charsets_in_charc_string): Use
2932 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2933 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2934 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2935 (convert_charc_string_into_malloced_string): Likewise.
2937 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2939 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2940 instead of <Emchar_dynarr *> for buf; use
2941 `convert_bufbyte_string_into_charc_dynarr' instead of
2942 `convert_bufbyte_string_into_emchar_dynarr'; use
2943 `find_charsets_in_charc_string' instead of
2944 `find_charsets_in_emchar_string'.
2947 - Include "character.h".
2948 (struct rune): New member `cglyph'; delete member `chr'.
2950 * redisplay.c (redisplay_text_width_charc_string): New function;
2951 delete `redisplay_text_width_emchar_string'.
2952 (rtw_charc_dynarr): New variable; renamed from
2953 `rtw_emchar_dynarr'.
2954 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
2955 `rtw_emchar_dynarr'; use
2956 `convert_bufbyte_string_into_charc_dynarr' instead of
2957 `convert_bufbyte_string_into_emchar_dynarr'; use
2958 `redisplay_text_width_charc_string' instead of
2959 `redisplay_text_width_emchar_string'.
2960 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
2961 instead of `rtw_emchar_dynarr'; use
2962 `convert_bufbyte_string_into_charc_dynarr' instead of
2963 `convert_bufbyte_string_into_emchar_dynarr'.
2964 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
2965 `redisplay_text_width_charc_string' instead of
2966 `redisplay_text_width_emchar_string'.
2967 (create_text_block): Modify for <struct rune> change.
2968 (generate_formatted_string_db): Likewise.
2969 (create_string_text_block): Likewise.
2970 (pixel_to_glyph_translation): Likewise.
2972 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
2973 instead of <const Emchar *>.
2974 (x_text_width): Likewise.
2975 (x_output_display_block): Use <Charc_dynarr *> instead
2976 <Emchar_dynarr *>; modify for <structure rune> change.
2977 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
2980 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
2981 <const Emchar *>; use `charc_string_displayed_columns' instead of
2982 `emchar_string_displayed_columns'.
2983 (tty_output_display_block): Use <Charc_dynarr *> instead of
2984 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
2985 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
2986 (tty_output_charc_dynarr_dynarr): New variable; renamed from
2987 `tty_output_emchar_dynarr_dynarr'.
2988 (tty_output_charc_dynarr): New function; delete
2989 `tty_output_charc_dynarr'.
2991 * redisplay-output.c (compare_runes): Modify for `struct rune'.
2992 (redisplay_output_layout): Use <Charc_dynarr *> instead of
2993 <Emchar_dynarr *> for buf; use
2994 `convert_bufbyte_string_into_charc_dynarr' instead of
2995 `convert_bufbyte_string_into_emchar_dynarr'.
2997 * frame.c (title_string_charc_dynarr): New variable; renamed from
2998 `title_string_emchar_dynarr'.
2999 (generate_title_string): Use `title_string_charc_dynarr' instead
3000 of `title_string_emchar_dynarr'; use
3001 `convert_charc_string_into_malloced_string' instead of
3002 `convert_emchar_string_into_malloced_string'.
3003 (init_frame): Use `title_string_charc_dynarr' instead of
3004 `title_string_emchar_dynarr'.
3007 - Include "character.h".
3008 (struct console_methods): Use <const Charc *> instead of <const
3009 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3010 <Emchar_dynarr *> in output_string_method.
3012 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3015 * console-stream.c (stream_text_width): Use <const Charc *>
3016 instead of <const Emchar *>.
3018 * character.h (Charc_dynarr): New type.
3020 * char-ucs.h (structure Charc): New structure; define new type
3023 * char-lb.h (DECODE_CHAR): New inline function.
3024 (encode_char_1): New inline function.
3025 (ENCODE_CHAR): New macro.
3026 (structure Charc): New structure; define new type `Charc'.
3028 * char-1byte.h (Vcharset_control_1): New macro.
3029 (Vcharset_latin_iso8859_1): New macro.
3030 (DECODE_CHAR): New inline function.
3031 (encode_char_1): New inline function.
3032 (ENCODE_CHAR): New macro.
3033 (structure Charc): New structure; define new type `Charc'.
3035 * insdel.c (find_charsets_in_charc_string): New function; delete
3036 `find_charsets_in_emchar_string'.
3037 (charc_string_displayed_columns): New function; delete
3038 `emchar_string_displayed_columns'.
3039 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3040 `convert_bufbyte_string_into_emchar_dynarr'.
3041 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3042 `convert_charc_string_into_bufbyte_dynarr'.
3043 (convert_charc_string_into_malloced_string): New function; delete
3044 `convert_charc_string_into_malloced_string'.
3046 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3047 `find_charsets_in_emchar_string'.
3048 (charc_string_displayed_columns): New prototype; delete
3049 `emchar_string_displayed_columns'.
3050 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3051 `convert_charc_string_into_bufbyte_dynarr'.
3052 (convert_charc_string_into_malloced_string): New prototype; delete
3053 `convert_charc_string_into_malloced_string'.
3055 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3057 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3059 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3061 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3063 * char-ucs.h: Use <short> for <Charset_ID>.
3065 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3068 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3070 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3073 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3075 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3077 (Qmorohashi_daikanwa): New variable.
3078 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3079 for `morohashi-daikanwa' attribute.
3080 (Fget_char_attribute): Likewise.
3081 (Fput_char_attribute): Likewise.
3082 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3083 has the same value of `ideograph-daikanwa'.
3084 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3085 (vars_of_mule_charset): Setup
3086 `Vcharacter_morohashi_daikanwa_table'.
3088 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3090 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3092 (add_charset_to_list_mapper): Add `key' instead of
3093 `XCHARSET_NAME (value)' to return aliases.
3095 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3097 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3099 (Vcharacter_ideographic_strokes_table): New variable.
3100 (Qideographic_radical): New variable.
3101 (Qideographic_strokes): New variable.
3102 (Fchar_attribute_alist): Use
3103 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3104 attribute; use `Vcharacter_ideographic_strokes_table' for
3105 `ideographic-strokes' attribute.
3106 (Fget_char_attribute): Likewise.
3107 (Fput_char_attribute): Likewise.
3108 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3109 `ideographic-strokes'.
3110 (vars_of_mule_charset): Setup
3111 `Vcharacter_ideographic_radical_table' and
3112 `Vcharacter_ideographic_strokes_table'.
3114 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3116 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3117 (Qtotal_strokes): New variable.
3118 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3119 `total-strokes' attribute.
3120 (Fget_char_attribute): Likewise.
3121 (Fput_char_attribute): Likewise.
3122 (syms_of_mule_charset): Add new symbol `total-strokes'.
3123 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3125 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3127 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3128 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3130 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3131 `->decomposition' attribute.
3132 (Fput_char_attribute): Likewise.
3133 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3135 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3137 * mule-charset.c (decoding_table_check_elements): New function.
3138 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3140 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3142 * mule-charset.c (Fset_charset_mapping_table): Use
3143 `put_char_ccs_code_point'.
3145 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3147 * mule-charset.c (decoding_table_put_char): New inline function.
3148 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3150 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3152 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3153 (XCHARSET_BYTE_SIZE): New macro.
3154 (decoding_table_remove_char): New inline function.
3155 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3156 `decoding_table_remove_char'.
3157 (remove_char_ccs): Use `decoding_table_remove_char'.
3158 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3160 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3162 * mule-charset.c (Vcharacter_name_table): New variable.
3163 (Qname): New variable.
3164 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3166 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3167 `Vcharacter_name_table' for `name' attribute.
3168 (Fremove_char_attribute): Use function `remove_char_ccs'.
3169 (put_char_ccs_code_point): New function.
3170 (remove_char_ccs): New function.
3171 (syms_of_mule_charset): Add new symbol `name'.
3172 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3174 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3176 * mule-charset.c (make_byte_table): Add new argument `older'.
3177 (make_char_id_table): Likewise.
3178 (copy_char_id_table): Comment out because it is not used.
3179 (put_char_id_table): Modify for `make_byte_table'.
3180 (Fput_char_attribute): Make encoding_table as older object;
3181 inherit older bit of `Vcharacter_composition_table'.
3182 (mark_charset): Don't mark `cs->encoding_table'.
3183 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3184 normal object; make `Vcharacter_composition_table' as an older
3185 object; delete staticpro for `Vcharacter_composition_table'; make
3186 `Vcharacter_variant_table' as a normal object.
3188 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3189 (mark_object): Don't check older object in UTF-2000.
3191 * lrecord.h (struct lrecord_header): Add new member `older' in
3193 (set_lheader_implementation): Setup `SLI_header->older' in
3195 (set_lheader_older_implementation): New macro in UTF-2000.
3196 (OLDER_RECORD_P): New macro in UTF-2000.
3197 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3198 (alloc_older_lcrecord): New prototype in UTF-2000.
3199 (alloc_older_lcrecord_type): New macro in UTF-2000.
3201 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3203 * mule-charset.c (byte_table_description): Use
3204 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3205 (char_id_table_description): Delete bogus `, 1'.
3206 (Fget_char_attribute): Refer encoding_table of each coded-charset
3207 to get value of coded-charset attribute of a character.
3208 (Fput_char_attribute): Use `make_older_vector' instead of
3209 `make_vector'; use encoding_table of each coded-charset to store
3210 value of coded-charset attribute of a character.
3211 (Fremove_char_attribute): Use encoding_table of each coded-charset
3212 to store value of coded-charset attribute of a character.
3213 (mark_charset): Mark `cs->encoding_table'; don't mark
3214 `cs->decoding_table'.
3215 (charset_description): Add description of new member
3217 (make_charset): Initialize `encoding_table'.
3219 * char-ucs.h (struct Lisp_Charset): Add new member
3221 (CHARSET_ENCODING_TABLE): New macro.
3222 (XCHARSET_ENCODING_TABLE): New macro.
3223 (charset_code_point): New implementation.
3224 (encode_char_1): Likewise.
3226 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3227 (disksave_object_finalization_1): Call finalizers of
3228 `all_older_lcrecords' in UTF-2000.
3229 (make_older_vector): New function in UTF-2000.
3230 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3233 * lisp.h (make_older_vector): New prototype in UTF-2000.
3235 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3237 * lrecord.h (enum lrecord_type): Rename
3238 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3240 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3241 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3242 `get_char_code_table'.
3244 * mule-charset.c (mark_char_id_table): Renamed from
3245 `mark_char_code_table'.
3246 (char_id_table_equal): Renamed from `char_code_table_equal'.
3247 (char_id_table_hash): Renamed from `char_code_table_hash'.
3248 (make_char_id_table): Renamed from `make_char_code_table'.
3249 (copy_char_id_table): Renamed from `copy_char_code_table'.
3250 (get_char_id_table): Renamed from `get_char_code_table'.
3251 (put_char_id_table): Renamed from `put_char_code_table'.
3252 (to_char_id): Renamed from `to_char_code'.
3254 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3255 `Lisp_Char_Code_Table'.
3256 (char_id_table): Renamed from `char_code_table'.
3257 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3258 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3259 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3260 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3261 (get_char_id_table): Renamed from `get_char_code_table'.
3263 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3265 * lrecord.h (enum lrecord_type): Rename
3266 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3268 * mule-charset.c (mark_byte_table): Renamed from
3269 `mark_char_byte_table'.
3270 (byte_table_equal): Renamed from `char_byte_table_equal'.
3271 (byte_table_hash): Renamed from `byte_table_hash'.
3272 (make_byte_table): Renamed from `make_byte_table'.
3273 (copy_byte_table): Renamed from `copy_char_byte_table'.
3275 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3276 `Lisp_Char_Byte_Table'.
3277 (byte_table): Renamed from `char_byte_table'.
3278 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3279 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3280 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3281 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3283 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3285 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3286 (dfc_convert_to_internal_format): Likewise.
3288 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3289 * text-coding.c (Fcoding_system_alias_p): New function.
3290 * text-coding.c (Fcoding_system_aliasee): New function.
3291 * text-coding.c (append_suffix_to_symbol): New function.
3292 * text-coding.c (dangling_coding_system_alias_p): New function.
3293 * text-coding.c (Ffind_coding_system):
3294 * text-coding.c (Fcopy_coding_system):
3295 * text-coding.c (encode_coding_no_conversion):
3296 * text-coding.c (syms_of_file_coding):
3297 * text-coding.c (vars_of_file_coding):
3298 Rewrite coding system alias code.
3299 Allow nested aliases, like symbolic links.
3300 Allow redefinition of coding system aliases.
3301 Prevent existence of dangling coding system aliases.
3302 Eliminate convert_to_external_format.
3303 Eliminate convert_to_internal_format.
3305 * text-coding.c: Change enum eol_type to eol_type_t.
3307 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3309 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3310 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3312 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3313 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3315 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3317 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3318 `ideograph-daikanwa'.
3320 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3321 (Vcharset_ucs_bmp): Likewise.
3322 (Vcharset_mojikyo): Add new extern variable definition.
3323 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3324 (Vcharset_latin_iso8859_3): Likewise.
3325 (Vcharset_latin_iso8859_4): Likewise.
3326 (Vcharset_latin_iso8859_9): Likewise.
3327 (Vcharset_latin_viscii_lower): Likewise.
3328 (Vcharset_latin_viscii_upper): Likewise.
3329 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3330 `mojikyo' code-point is used to decode.
3331 (encode_char_2): New function [to convert `mojikyo' code-point to
3332 Mojikyo font encoding].
3333 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3334 (breakup_char_1): Likewise.
3335 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3337 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3339 * text-coding.c (Fmake_coding_system): Add document about
3340 `disable-composition' property.
3342 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3344 * text-coding.c (Qdisable_composition): New variable; delete
3346 (Fmake_coding_system): Add new property `disable-composite';
3347 delete property `composite'.
3348 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3349 instead of `!CODING_SYSTEM_COMPOSITE'.
3350 (syms_of_file_coding): Add new symbol `disable-composition';
3351 delete symbol `composite'.
3353 * file-coding.h (struct Lisp_Coding_System): Add
3354 `disable_composition'; delete `enable_composition'.
3355 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3356 `CODING_SYSTEM_COMPOSITE'.
3357 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3358 `XCODING_SYSTEM_COMPOSITE'.
3360 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3362 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3365 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3367 * text-coding.c (Qcomposite): New variable.
3368 (Fmake_coding_system): Add new property `composite'.
3369 (struct decoding_stream): Add `combined_char_count',
3370 `combined_chars' and `combining_table' in UTF-2000.
3371 (COMPOSE_FLUSH_CHARS): New macro.
3372 (COMPOSE_ADD_CHAR): New macro.
3373 (reset_decoding_stream): Reset `str->combined_char_count' and
3374 `str->combining_table' in UTF-2000.
3375 (decode_coding_iso2022): Modify for character-decomposition.
3376 (syms_of_file_coding): Add new symbol `composite'.
3378 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3380 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3381 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3382 of `Vcharacter_composition_table' if `->decomposition' property
3384 (Qlatin_tcvn5712): New variable.
3385 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3386 (complex_vars_of_mule_charset): Add new coded-charset
3389 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3391 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3393 * file-coding.h (struct Lisp_Coding_System): Add
3394 `enable_composition'.
3395 (CODING_SYSTEM_COMPOSITE): New macro.
3396 (XCODING_SYSTEM_COMPOSITE): New macro.
3398 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3400 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3402 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3404 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3405 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3407 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3409 * mule-charset.c (Vcharset_mojikyo): New variable.
3410 (Fdefine_char): Don't use coded-charset which does not have
3411 non-builtin character range to allocate character-id.
3412 (Qmojikyo): New variable.
3413 (syms_of_mule_charset): Add new symbol `mojikyo'.
3414 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3416 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3417 (LEADING_BYTE_MOJIKYO): New macro.
3418 (MIN_CHAR_MOJIKYO): New macro.
3419 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3420 (MAX_CHAR_MOJIKYO): New macro.
3422 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3424 * mule-charset.c (remove_char_attribute): Fixed.
3426 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3428 * mule-charset.c (remove_char_attribute): New function.
3429 (Fremove_char_attribute): New function.
3430 (encode_builtin_char_1): Comment out builtin-support for
3431 greek-iso8859-7 and cyrillic-iso8859-5.
3432 (Fdecode_char): Check `code' is an integer.
3433 (syms_of_mule_charset): Add `remove-char-attribute'.
3434 (MIN_CHAR_GREEK): Deleted.
3435 (MAX_CHAR_GREEK): Likewise.
3436 (MIN_CHAR_CYRILLIC): Likewise.
3437 (MAX_CHAR_CYRILLIC): Likewise.
3438 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3439 MAX_CHAR_GREEK for `greek-iso8859-7'.
3441 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3442 (MAX_CHAR_GREEK): Likewise.
3443 (MIN_CHAR_CYRILLIC): Likewise.
3444 (MAX_CHAR_CYRILLIC): Likewise.
3446 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3448 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3449 format is used without `ucs' property.
3450 (Fdecode_char): Fix problem with GR representation.
3451 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3452 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3454 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3456 * mule-charset.c (make_builtin_char): New function.
3457 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3458 (Fset_charset_mapping_table): Modify for new representation of
3460 (Fdecode_char): New function.
3461 (syms_of_mule_charset): Add new builtin function `decode-char' in
3464 * char-ucs.h (make_builtin_char): New prototype.
3465 (DECODE_CHAR): New inline function.
3466 (MAKE_CHAR): Use `DECODE_CHAR'.
3468 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3470 * text-coding.c (parse_charset_conversion_specs): Use
3471 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3473 (iso2022_designate): Likewise.
3475 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3476 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3478 * mule-charset.c (Vcharset_ucs): New variable.
3479 (print_charset): Change design; use `CHARSET_CHARS' and
3480 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3481 (make_charset): Change signature to specify `chars' and
3482 `dimension' instead of `type'.
3483 (range_charset_code_point): Modify for 256^n-set.
3484 (encode_builtin_char_1): Encode as `ucs' in default.
3485 (Fmake_charset): Modify for `make_charset'.
3486 (Fmake_reverse_direction_charset): Likewise.
3487 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3489 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3492 * char-ucs.h (Vcharset_ucs): New variable.
3493 (LEADING_BYTE_UCS): New macro.
3494 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3495 and `chars' to `unsigned short' from `unsigned int'.
3496 (CHARSET_TYPE): Deleted.
3497 (XCHARSET_TYPE): Deleted.
3499 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3501 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3503 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3504 (ENCODE_CHAR): New macro.
3506 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3508 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3509 to 0.14 (Kawachi-Katakami).
3511 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3513 * text-coding.c (char_encode_shift_jis): Modify for
3514 `charset_code_point'.
3515 (char_encode_iso2022): Likewise.
3517 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3518 (integer) instead of list of <Lisp_Object>s (integers) as the
3519 format of code-point of a coded-charset.
3520 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3521 (encode_builtin_char_1): New function; delete
3522 `split_builtin_char'.
3523 (charset_code_point): Return <int> instead of <Lisp_Object>.
3524 (Fsplit_char): Don't use `SPLIT_CHAR'.
3526 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3527 prototype for `split_builtin_char'.
3528 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3529 (charset_code_point): Likewise.
3530 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3531 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3533 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3535 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3536 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3538 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3540 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3542 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3543 (MAX_CHAR_OBS_94x94): Deleted.
3545 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3547 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3549 * char-ucs.h (MAX_CHAR_BMP): New macro.
3551 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3553 * text-coding.c: Sync with r21-2-24.
3555 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3557 * file-coding.c: Modify for UTF-2000.
3559 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3561 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3564 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3566 * mule-charset.c (split_builtin_char): Delete builtin support for
3567 `katakana-jisx0201'.
3568 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3569 BMP area in builtin representation.
3571 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3572 `Vcharset_katakana_jisx0201'.
3574 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3576 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3577 (Qisolated): New variable.
3578 (Qinitial): New variable.
3579 (Qmedial): New variable.
3580 (Qfinal): New variable.
3581 (Qvertical): New variable.
3582 (Qsmall): New variable.
3583 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3584 `Qvertical' and `Qsmall'.
3585 (Qmojikyo_pj_[1 .. 21]): New variable.
3586 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3587 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3588 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3591 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3593 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3594 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3595 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3597 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3599 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3600 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3602 (Qjapanese_jisx0208_1990): New variable.
3603 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3604 (complex_vars_of_mule_charset): Add new coded-charset
3605 `japanese-jisx0208-1990'.
3607 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3608 (MIN_CHAR_JIS_X0208_1990): New macro.
3609 (MAX_CHAR_JIS_X0208_1990): New macro.
3611 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3613 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3614 coded-charset is not found.
3616 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3618 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3619 (Fdefine_char): Use `Fmake_char'.
3621 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3623 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3624 (Vcharset_hiragana_jisx0208): Deleted.
3625 (Vcharset_katakana_jisx0208): Deleted.
3626 (Qideograph_daikanwa): New variable.
3627 (Qhiragana_jisx0208): Deleted.
3628 (Qkatakana_jisx0208): Deleted.
3629 (split_builtin_char): Split `ideograph-daikanwa'.
3630 (Fsplit_char): New implementation for UTF-2000.
3631 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3632 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3633 (complex_vars_of_mule_charset): Add new coded-charset
3634 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3635 `katakana-jisx0208'.
3637 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3638 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3639 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3640 (MIN_CHAR_DAIKANWA): New macro.
3641 (MAX_CHAR_DAIKANWA): New macro.
3643 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3645 * data.c (Fstring_to_number): Don't recognize floating point if
3648 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3650 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3652 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3654 * mule-charset.c (Qsquare): New variable.
3655 (to_char_code): Add `Qsquare'.
3656 (syms_of_mule_charset): Add new symbol `square'.
3658 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3660 * mule-charset.c (Qcircle): New variable.
3661 (to_char_code): Add `Qcircle'.
3662 (syms_of_mule_charset): Add new symbol `circle'.
3664 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3666 * mule-charset.c (Qfont): New variable.
3667 (to_char_code): Add `Qfont'.
3668 (syms_of_mule_charset): Add new symbol `font'.
3670 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3672 * mule-charset.c (Qsub): New variable.
3673 (to_char_code): Add `Qsub'.
3674 (syms_of_mule_charset): Add new symbol `sub'.
3676 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3678 * mule-charset.c (Fput_char_attribute): Convert each element of
3679 VALUE to GL position if ATTRIBUTE is a GR-set,
3681 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3683 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3684 coded-charset is a GR-set.
3686 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3688 * mule-charset.c (Fput_char_attribute): Check each element of
3689 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3691 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3693 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3695 (Qethiopic_ucs): New variable in UTF-2000.
3696 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3697 (complex_vars_of_mule_charset): Add new coded-charset
3698 `ethiopic-ucs' in UTF-2000.
3700 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3701 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3703 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3705 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3707 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3709 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3712 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3714 * mule-charset.c (Vcharacter_variant_table): New variable.
3715 (Q_ucs): New variable.
3716 (Fchar_variants): New function.
3717 (Fput_char_attribute): Register `->ucs' value to
3718 `Vcharacter_variant_table'.
3719 (syms_of_mule_charset): Add new function `char-variants' and new
3721 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3723 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3725 * mule-charset.c (get_char_code_table): Allow negative character
3727 (put_char_code_table): Likewise.
3728 (Vcharacter_composition_table): New variable.
3729 (Q_decomposition): New variable.
3730 (Qwide): New variable.
3731 (Qnarrow): New variable.
3732 (Qcompat): New variable.
3733 (QnoBreak): New variable.
3734 (Qsuper): New variable.
3735 (Qfraction): New variable.
3736 (to_char_code): New function.
3737 (Fget_composite_char): New function.
3738 (Fput_char_attribute): Register `->decomposition' value to
3739 `Vcharacter_composition_table'.
3740 (syms_of_mule_charset): Add new function `get-composite-char', new
3741 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3742 `super' and `fraction'.
3743 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3745 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3747 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3748 character; copy the return value.
3750 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3752 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3754 * mule-charset.c (range_charset_code_point): Must use make_int.
3755 (split_builtin_char): New function.
3757 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3759 * mule-charset.c (char_byte_table): Change name from
3760 "char-code-table" to "char-byte-table".
3761 (mark_char_code_table): New function.
3762 (char_code_table_equal): New function.
3763 (char_code_table_hash): New function.
3764 (char_code_table_description): New constant.
3765 (char_code_table): New type.
3766 (make_char_code_table): New function.
3767 (copy_char_code_table): New function.
3768 (get_char_code_table): Modify for `char_code_table' type.
3769 (put_char_code_table): Likewise.
3770 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3773 * char-ucs.h (char_code_table): New type.
3774 (XCHAR_CODE_TABLE): New macro.
3775 (XSETCHAR_CODE_TABLE): New macro.
3776 (CHAR_CODE_TABLE_P): New macro.
3777 (GC_CHAR_CODE_TABLE_P): New macro.
3778 (struct Lisp_Char_Code_Table): New structure.
3780 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3782 * mule-charset.c (Fmake_charset): Setup byte_offset for
3785 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3787 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3790 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3792 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3795 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3797 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3798 charset, it is regarded as a charset.
3799 (put_char_attribute): New function in UTF-2000.
3800 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3801 charset, mapping-table of the charset is modified.
3802 (Fdefine_char): New function in UTF-2000.
3803 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3804 `Fput_char_attribute'.
3805 (syms_of_mule_charset): Add new function `define-char' and new
3806 symbol `ucs' in UTF-2000.
3807 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3809 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3811 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3812 non-UTF-2000 configuration.
3814 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3816 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3817 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3819 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3821 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3822 (Fset_charset_mapping_table): Likewise.
3824 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3825 (CHARSET_ENCODING_TABLE): Delete.
3826 (XCHARSET_ENCODING_TABLE): Delete.
3827 (charset_code_point): New interface.
3829 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3831 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3832 instead of `charset_get_byte1' and `charset_get_byte2'.
3834 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3835 (charset_get_byte2): Deleted.
3837 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3839 * char-ucs.h (SPLIT_CHAR): New inline function.
3840 (breakup_char_1): Use `SPLIT_CHAR'.
3842 * mule-charset.c (range_charset_code_point): New function.
3843 (charset_code_point): New function.
3845 * char-ucs.h (range_charset_code_point): New interface.
3846 (breakup_char_1): Use `range_charset_code_point'.
3848 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3850 * mule-charset.c (Fmake_charset): Delete unused local variable
3853 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3854 (breakup_char_1): Find a charset and code-point in
3855 `Vcharacter_attribute_table'.
3857 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3859 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3862 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3864 * mule-charset.c (Vcharacter_attribute_table): New variable.
3865 (Fchar_attribute_alist): New function.
3866 (Fget_char_attribute): New function.
3867 (Fput_char_attribute): New function.
3868 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3870 (syms_of_mule_charset): Add new function `char-attribute-alist',
3871 `get-char-attribute' and `put-char-attribute'.
3872 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3874 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3876 * mule-charset.c (Fmake_charset): Just use
3877 `get_unallocated_leading_byte'.
3879 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3880 sets; don't use final-byte based number for private sets.
3882 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3884 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3887 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3889 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3892 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3894 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3895 of `CHAR_LEADING_BYTE' in UTF-2000.
3897 * insdel.c (find_charsets_in_bufbyte_string): Use
3898 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3899 (find_charsets_in_emchar_string): Likewise.
3901 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3902 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3904 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3905 (CHAR_CHARSET_ID): New macro.
3907 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3909 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3910 charset-id - MIN_LEADING_BYTE.
3911 (put_char_table): Likewise.
3913 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3915 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3916 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3917 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3918 (CHARSET_ID_OFFSET): New macro.
3919 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3920 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3921 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3922 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3924 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3926 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3927 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3928 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3929 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3930 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3932 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3934 * mule-charset.c (next_allocated_leading_byte): New variable in
3936 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3937 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3938 (get_unallocated_leading_byte): Simply use
3939 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3940 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3943 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3944 (MAX_LEADING_BYTE_PRIVATE): New macro.
3945 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
3946 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
3948 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3950 * mule-charset.c (Fmake_charset): Allocate final-byte based
3951 charset-id for 94-set, 96-set and 94x94-set.
3953 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3955 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
3957 (Fmake_charset): Likewise.
3958 (complex_vars_of_mule_charset): Modify the font registry of
3959 `ucs-bmp' not to match `Ethiopic-Unicode'.
3961 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3963 * mule-charset.c (complex_vars_of_mule_charset): Add font
3964 registory of `ucs-bmp'.
3966 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3968 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
3969 coded-charsets in `default-coded-charset-priority-list' when
3970 breaking up a character.
3972 * mule-charset.c (Vcharset_latin_viscii): New variable.
3973 (Qlatin_viscii): New variable.
3974 (make_charset): Don't use `decoding_table'.
3975 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
3977 (Fset_charset_mapping_table): New implementation.
3978 (syms_of_mule_charset): Add new symbol `latin-viscii'.
3979 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
3980 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
3981 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
3982 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
3983 charset `latin_viscii'.
3985 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
3986 (CHARSET_TYPE_94X94): Change to 1 from 2.
3987 (CHARSET_TYPE_96): Change to 2 from 1.
3988 (CHARSET_TYPE_128): New macro.
3989 (CHARSET_TYPE_128X128): Change to 5 from 4.
3990 (CHARSET_TYPE_256): New macro.
3991 (CHARSET_TYPE_256X256): Change to 7 from 5.
3992 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
3994 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
3996 * text-coding.c (char_encode_shift_jis): Refer
3997 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
3998 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4000 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4001 (char_byte_table_equal): New function in UTF-2000.
4002 (char_byte_table_hash): New function in UTF-2000.
4003 (char_byte_table_description): New constant in UTF-2000.
4004 (char_byte_table): New type in UTF-2000.
4005 (make_char_byte_table): New function in UTF-2000.
4006 (copy_char_byte_table): New function in UTF-2000.
4007 (make_char_code_table): New macro in UTF-2000.
4008 (get_char_code_table): New function in UTF-2000.
4009 (put_char_code_table): New function in UTF-2000.
4010 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4011 (charset_description): Add setting in UTF-2000.
4012 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4013 `CHARSET_TO_BYTE1_TABLE(cs)'.
4014 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4015 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4016 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4017 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4018 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4019 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4020 `CHARSET_TO_BYTE2_TABLE(cs)'.
4022 * char-ucs.h (char_byte_table): New type.
4023 (XCHAR_BYTE_TABLE): New macro.
4024 (XSETCHAR_BYTE_TABLE): New macro.
4025 (CHAR_BYTE_TABLE_P): New macro.
4026 (GC_CHAR_BYTE_TABLE_P): New macro.
4027 (struct Lisp_Char_Byte_Table): New structure.
4028 (get_char_code_table): New interface.
4029 (Emchar_to_byte_table): Deleted.
4030 (get_byte_from_character_table): Deleted.
4031 (struct Lisp_Charset): Add `encoding_table'; delete
4032 `to_byte1_table' and `to_byte2_table'.
4033 (CHARSET_ENCODING_TABLE): New macro.
4034 (CHARSET_TO_BYTE1_TABLE): Deleted.
4035 (CHARSET_TO_BYTE2_TABLE): Deleted.
4036 (XCHARSET_ENCODING_TABLE): New macro.
4037 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4038 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4040 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4042 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4043 `vietnamese-viscii-*'.
4045 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4047 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4048 (Qvietnamese_viscii_upper): New variable.
4049 (Fdefine_charset_alias): New function.
4050 (syms_of_mule_charset): Add new function `define-charset-alias'.
4051 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4052 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4055 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4057 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4058 (MAX_CHAR_OBS_94x94): New macro.
4059 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4062 * mule-charset.c (put_byte_from_character_table): Change unit size
4064 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4066 (Fmake_reverse_direction_charset): Modify dummy argument of
4067 `make_charset' for non-UTF-2000 environment.
4069 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4071 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4073 * mule-charset.c (destroy_byte_from_character_table): New macro.
4074 (latin_jisx0201_to_ucs): Deleted.
4075 (latin_iso8859_2_to_ucs): Deleted.
4076 (latin_iso8859_3_to_ucs): Deleted.
4077 (latin_iso8859_4_to_ucs): Deleted.
4078 (latin_iso8859_9_to_ucs): Deleted.
4079 (latin_viscii_lower_to_ucs): Deleted.
4080 (latin_viscii_upper_to_ucs): Deleted.
4081 (mark_charset): Mark `cs->decoding_table'.
4082 (Fcharset_mapping_table): Fix DOC-string.
4083 (Fset_charset_mapping_table): New function.
4084 (syms_of_mule_charset): Add nwe function
4085 `set-charset-mapping-table'.
4086 (complex_vars_of_mule_charset): Don't setup and use
4089 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4091 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4094 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4096 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4097 (Vcharset_katakana_jisx0208): New variable.
4098 (Qhiragana_jisx0208): New variable.
4099 (Qkatakana_jisx0208): New variable.
4100 (make_charset): Add new argument `byte_offset'.
4101 (charset_get_byte1): Modify for new coded-charset definition; use
4102 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4103 `XCHARSET_BYTE_OFFSET'.
4104 (Fmake_charset): Modify for `make_charset'.
4105 (Fmake_reverse_direction_charset): Likewise.
4106 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4107 `katakana-jisx0208'.
4108 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4109 `.' in font registry of charset `katakana-jisx0201',
4110 `latin-jisx0201', `vietnamese-viscii-lower' and
4111 `vietnamese-viscii-upper'; modify DOC-string of charset
4112 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4113 registry of charset `japanese-jisx0208' not to use font for JIS
4114 X0208:1990; add new charset `hiragana-jisx0208' and
4115 `katakana-jisx0208'.
4117 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4118 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4119 (struct Lisp_Charset): Add `byte_offset'.
4120 (CHARSET_BYTE_OFFSET): New macro.
4121 (XCHARSET_UCS_MIN): New macro.
4122 (XCHARSET_UCS_MAX): New macro.
4123 (XCHARSET_CODE_OFFSET): New macro.
4124 (XCHARSET_BYTE_OFFSET): New macro.
4125 (MIN_CHAR_HIRAGANA): New macro.
4126 (MAX_CHAR_HIRAGANA): New macro.
4127 (MIN_CHAR_KATAKANA): New macro.
4128 (MAX_CHAR_KATAKANA): New macro.
4129 (MAKE_CHAR): Modify for new coded-charset definition; use
4130 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4131 `XCHARSET_BYTE_OFFSET'.
4133 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4135 * mule-charset.c (CHAR96): Deleted.
4136 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4138 (latin_iso8859_2_to_ucs): Likewise.
4139 (latin_iso8859_3_to_ucs): Likewise.
4140 (latin_iso8859_4_to_ucs): Likewise.
4141 (latin_iso8859_9_to_ucs): Likewise.
4142 (latin_viscii_lower_to_ucs): Likewise.
4143 (latin_viscii_upper_to_ucs): Likewise.
4144 (latin_tcvn5712_to_ucs): Commented out.
4145 (make_charset): Change type of argument `decoding_table' from
4146 <Emchar*> to <Lisp_Object> [vector of characters].
4147 (Fmake_charset): Modify for `make_charset'.
4148 (Fmake_reverse_direction_charset): Likewise.
4149 (Fcharset_mapping_table): New function in UTF-2000.
4150 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4152 (complex_vars_of_mule_charset): Modify for type change of
4153 `*_to_ucs'; modify for `make_charset'.
4155 * char-ucs.h (struct Lisp_Charset): Change type of
4156 `decoding_table' from <Emchar*> to <Lisp_Object>.
4157 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4159 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4161 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4162 error with non-UTF-2000-Mule.
4164 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4166 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4168 (Vcharset_chinese_cns11643_4): Likewise.
4169 (Vcharset_chinese_cns11643_5): Likewise.
4170 (Vcharset_chinese_cns11643_6): Likewise.
4171 (Vcharset_chinese_cns11643_7): Likewise.
4172 (Qchinese_cns11643_3): Likewise.
4173 (Qchinese_cns11643_4): Likewise.
4174 (Qchinese_cns11643_5): Likewise.
4175 (Qchinese_cns11643_6): Likewise.
4176 (Qchinese_cns11643_7): Likewise.
4177 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4178 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4179 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4180 (complex_vars_of_mule_charset): Likewise.
4182 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4184 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4186 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4187 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4189 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4191 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4193 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4194 (breakup_char_1): Likewise.
4196 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4197 one of them includes the specified character.
4199 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4201 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4203 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4205 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4207 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4209 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4210 definition for non-UTF-2000 Mule.
4211 (latin_iso8859_3_to_ucs): Likewise.
4212 (latin_iso8859_4_to_ucs): Likewise.
4213 (latin_iso8859_9_to_ucs): Likewise.
4214 (latin_jisx0201_to_ucs): Likewise.
4215 (MIN_CHAR_THAI): Likewise.
4216 (MAX_CHAR_THAI): Likewise.
4217 (MIN_CHAR_GREEK): Likewise.
4218 (MAX_CHAR_GREEK): Likewise.
4219 (MIN_CHAR_HEBREW): Likewise.
4220 (MAX_CHAR_HEBREW): Likewise.
4221 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4222 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4223 (MIN_CHAR_CYRILLIC): Likewise.
4224 (MAX_CHAR_CYRILLIC): Likewise.
4226 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4228 * char-ucs.h (breakup_char_1): Use
4229 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4230 thai-tis620 and katakana-jisx0201 area.
4232 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4234 * char-ucs.h (breakup_char_1): Use
4235 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4238 * text-coding.c (reset_encoding_stream): Fixed.
4239 (char_encode_ucs4): Delete `& 255'.
4241 * char-ucs.h (breakup_char_1): Use
4242 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4244 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4246 * file-coding.c (Fmake_coding_system): Don't set up
4247 `codesys->fixed.size'.
4248 (encode_coding_no_conversion): Don't refer
4249 `str->codesys->fixed.size'.
4251 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4253 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4254 (latin_a_char_to_byte1): Deleted.
4255 (latin_a_char_to_byte2): Deleted.
4257 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4259 * mule-charset.c (make_charset): Add new argument `ucs_min',
4260 `ucs_max' and `code_offset'.
4261 (charset_get_byte1): New implementation [delete specific charset
4262 depended implementations].
4263 (Fmake_charset): Modify for `make_charset'.
4264 (Fmake_reverse_direction_charset): Likewise.
4265 (complex_vars_of_mule_charset): Likewise.
4267 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4269 (CHARSET_UCS_MIN): New macro.
4270 (CHARSET_UCS_MAX): New macro.
4271 (CHARSET_CODE_OFFSET): New macro.
4272 (MAKE_CHAR): Delete charset depended definitions [except
4275 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4277 * char-ucs.h (breakup_char_1): Use
4278 `Vdefault_coded_charset_priority_list' for C0-Controls,
4279 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4281 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4283 * char-ucs.h (charset_get_byte1): New function.
4284 (XCHARSET_GET_BYTE1): Deleted.
4285 (charset_get_byte2): New function.
4286 (XCHARSET_GET_BYTE2): Deleted.
4287 (Vdefault_coded_charset_priority_list): New external variable.
4288 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4289 `Vdefault_preferred_coded_charset_list'.
4291 * mule-charset.c (charset_get_byte1): New function.
4292 (charset_get_byte2): New function.
4293 (Vdefault_coded_charset_priority_list): New variable.
4294 (vars_of_mule_charset): Add new variable
4295 `default-coded-charset-priority-list'.
4297 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4299 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4300 (XCHARSET_GET_BYTE2): New inline function.
4301 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4302 `XCHARSET_GET_BYTE2'.
4304 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4306 * mule-charset.c (make_charset): Initialize
4307 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4308 NULL if table is not defined.
4310 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4312 * text-coding.c (char_encode_shift_jis): Use
4313 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4314 `ucs_to_latin_jisx0201'.
4316 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4317 (ucs_to_latin_iso8859_2): Deleted.
4318 (ucs_to_latin_iso8859_3): Deleted.
4319 (ucs_to_latin_iso8859_4): Deleted.
4320 (ucs_to_latin_iso8859_9): Deleted.
4321 (ucs_to_latin_viscii_lower): Deleted.
4322 (ucs_to_latin_viscii_upper): Deleted.
4323 (ucs_to_latin_tcvn5712): Deleted.
4324 (make_charset): Add new argument `decoding_table'; set up
4325 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4326 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4327 `decoding_table' is defined in UTF-2000.
4328 (Fmake_charset): Modify for `make_charset'.
4329 (Fmake_reverse_direction_charset): Likewise.
4330 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4331 and `GENERATE_96_SET'.
4333 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4334 (ucs_to_latin_jisx0201): Deleted.
4335 (latin_iso8859_2_to_ucs): Deleted.
4336 (ucs_to_latin_iso8859_2): Deleted.
4337 (latin_iso8859_3_to_ucs): Deleted.
4338 (ucs_to_latin_iso8859_3): Deleted.
4339 (latin_iso8859_4_to_ucs): Deleted.
4340 (ucs_to_latin_iso8859_4): Deleted.
4341 (latin_iso8859_9_to_ucs): Deleted.
4342 (ucs_to_latin_iso8859_9): Deleted.
4343 (latin_viscii_lower_to_ucs): Deleted.
4344 (ucs_to_latin_viscii_lower): Deleted.
4345 (latin_viscii_upper_to_ucs): Deleted.
4346 (ucs_to_latin_viscii_upper): Deleted.
4347 (struct Lisp_Charset): Renamed `encoding_table' to
4348 `to_byte1_table'; add `to_byte2_table'.
4349 (CHARSET_DECODING_TABLE): New macro.
4350 (CHARSET_TO_BYTE1_TABLE): New macro.
4351 (CHARSET_TO_BYTE2_TABLE): New macro.
4352 (XCHARSET_DECODING_TABLE): New macro.
4353 (XCHARSET_TO_BYTE1_TABLE): New macro.
4354 (XCHARSET_TO_BYTE2_TABLE): New macro.
4355 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4357 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4358 don't use `ucs_to_*' tables.
4360 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4362 * text-coding.c (Fmake_coding_system): Don't set up
4363 `codesys->fixed.size'.
4364 (encode_coding_no_conversion): Use `if' instead of `switch'.
4366 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4368 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4370 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4371 (Fmake_charset): Modify for `make_charset'.
4372 (Fmake_reverse_direction_charset): Likewise.
4373 (complex_vars_of_mule_charset): Likewise.
4375 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4377 * text-coding.c (char_encode_shift_jis): Use table
4378 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4380 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4382 * text-coding.c (text_encode_generic): Use `if' instead of
4384 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4387 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4389 * text-coding.c (encode_coding_sjis): Deleted.
4390 (char_encode_shift_jis): New function.
4391 (char_finish_shift_jis): New function.
4392 (reset_encoding_stream): Set up `encode_char' and `finish' for
4393 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4394 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4395 (char_encode_utf8): Treat `eol_type'.
4397 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4399 * file-coding.c (decode_coding_iso2022): Use
4400 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4402 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4404 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4407 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4409 * char-lb.h (CHAR_COLUMNS): New macro.
4411 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4413 * text-coding.c (char_encode_ucs4): New function.
4414 (char_finish_ucs4): New function.
4415 (encode_coding_ucs4): Deleted.
4416 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4417 (text_encode_generic): Delete local variable `charset' and `half'.
4418 (ucs_to_mule_table): Deleted.
4419 (mule_to_ucs_table): Deleted.
4420 (Fset_ucs_char): Deleted.
4421 (ucs_to_char): Deleted.
4422 (Fucs_char): Deleted.
4423 (Fset_char_ucs): Deleted.
4424 (Fchar_ucs): Deleted.
4425 (decode_ucs4): Deleted.
4426 (mule_char_to_ucs4): Deleted.
4427 (encode_ucs4): Deleted.
4428 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4429 (decode_coding_utf8): Likewise.
4430 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4431 (char_encode_iso2022): Fixed.
4432 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4433 `Fset_char_ucs' and `Fchar_ucs'.
4434 (complex_vars_of_file_coding): Don't initialize
4435 `ucs_to_mule_table'.
4437 * objects-tty.c (tty_initialize_font_instance): Don't use
4440 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4443 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4444 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4446 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4447 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4448 (emchar_string_displayed_columns): Likewise.
4450 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4451 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4452 (string_column_at_point): Likewise.
4453 (Fmove_to_column): Likewise.
4455 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4456 `encoding_table' and `decoding_table'.
4457 (CHARSET_REP_BYTES): Deleted.
4458 (XCHARSET_REP_BYTES): Deleted.
4459 (XCHARSET_COLUMNS): Deleted.
4460 (CHAR_COLUMNS): New macro.
4461 (lookup_composite_char): Deleted unconditionally.
4462 (composite_char_string): Likewise.
4464 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4466 * char-ucs.h (Emchar_to_byte_table): New type.
4467 (get_byte_from_character_table): New function interface.
4468 (Vcharset_latin_jisx0201): New variable.
4469 (latin_jisx0201_to_ucs): New variable.
4470 (ucs_to_latin_jisx0201): New variable.
4471 (Vcharset_latin_iso8859_2): New variable.
4472 (latin_iso8859_2_to_ucs): New variable.
4473 (ucs_to_latin_iso8859_2): New variable.
4474 (Vcharset_latin_iso8859_3): New variable.
4475 (latin_iso8859_3_to_ucs): New variable.
4476 (ucs_to_latin_iso8859_3): New variable.
4477 (Vcharset_latin_iso8859_4): New variable.
4478 (latin_iso8859_4_to_ucs): New variable.
4479 (ucs_to_latin_iso8859_4): New variable.
4480 (Vcharset_latin_iso8859_9): New variable.
4481 (latin_iso8859_9_to_ucs): New variable.
4482 (ucs_to_latin_iso8859_9): New variable.
4483 (Vcharset_latin_viscii_lower): New variable.
4484 (latin_viscii_lower_to_ucs): New variable.
4485 (ucs_to_latin_viscii_lower): New variable.
4486 (Vcharset_latin_viscii_upper): New variable.
4487 (latin_viscii_upper_to_ucs): New variable.
4488 (ucs_to_latin_viscii_upper): New variable.
4489 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4490 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4491 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4492 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4493 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4494 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4495 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4496 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4497 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4498 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4500 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4501 (Vcharset_latin_viscii_upper): New variable.
4502 (make_byte_from_character_table): New function.
4503 (put_byte_from_character_table): New function.
4504 (get_byte_from_character_table): New function.
4505 (CHAR96): New macro.
4506 (ucs_to_latin_jisx0201): New variable.
4507 (latin_jisx0201_to_ucs): New variable.
4508 (ucs_to_latin_iso8859_2): New variable.
4509 (latin_iso8859_2_to_ucs): New variable.
4510 (ucs_to_latin_iso8859_3): New variable.
4511 (latin_iso8859_3_to_ucs): New variable.
4512 (ucs_to_latin_iso8859_4): New variable.
4513 (latin_iso8859_4_to_ucs): New variable.
4514 (ucs_to_latin_iso8859_9): New variable.
4515 (latin_iso8859_9_to_ucs): New variable.
4516 (ucs_to_latin_viscii_lower): New variable.
4517 (latin_viscii_lower_to_ucs): New variable.
4518 (ucs_to_latin_viscii_upper): New variable.
4519 (latin_viscii_upper_to_ucs): New variable.
4520 (ucs_to_latin_tcvn5712): New variable.
4521 (latin_tcvn5712_to_ucs): New variable.
4522 (Qlatin_viscii_lower): New variable.
4523 (Qlatin_viscii_upper): New variable.
4524 (syms_of_mule_charset): Set up new symbol
4525 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4526 (complex_vars_of_mule_charset): Set up new charset
4527 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4528 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4529 `ucs_to_<CHARSET>' tables.
4531 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4533 * text-coding.c: New file.
4535 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4537 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4539 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4540 (MAKE_CHAR): Modify for `ucs-bmp'.
4541 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4542 non-MULE characters of BMP.
4544 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4546 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4549 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4552 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4553 - Include character.h for `CHAR_ASCII_P'.
4555 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4557 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4558 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4560 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4561 (BYTE_C0_P): Likewise.
4562 (BYTE_C1_P): Likewise.
4563 (Lstream_get_emchar_1): Likewise.
4564 (Lstream_fput_emchar): Likewise.
4565 (Lstream_funget_emchar): Likewise.
4566 (copy_internal_to_external): Likewise.
4567 (copy_external_to_internal): Likewise.
4569 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4570 (BYTE_C0_P): Likewise.
4571 (BYTE_C1_P): Likewise.
4572 (Lstream_get_emchar_1): Likewise.
4573 (Lstream_fput_emchar): Likewise.
4574 (Lstream_funget_emchar): Likewise.
4575 (copy_internal_to_external): Likewise.
4576 (copy_external_to_internal): Likewise.
4578 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4579 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4581 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4582 (BYTE_ASCII_P): Moved to mb-1byte.h.
4584 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4586 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4588 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4589 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4590 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4591 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4592 (VALIDATE_CHARPTR_FORWARD): Likewise.
4593 (simple_charptr_emchar): Moved to mb-multibyte.h.
4594 (simple_set_charptr_emchar): Likewise.
4595 (simple_charptr_copy_char): Likewise.
4596 (non_ascii_charptr_emchar): Likewise.
4597 (non_ascii_set_charptr_emchar): Likewise.
4598 (non_ascii_charptr_copy_char): Likewise.
4599 (charptr_emchar): Moved to mb-*byte.h.
4600 (set_charptr_emchar): Likewise.
4601 (charptr_copy_char): Likewise.
4603 * mb-1byte.h, mb-multibyte.h: New files.
4605 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4607 * mb-utf-8.h (MULTIBYTE): New macro.
4608 (MAX_EMCHAR_LEN): Moved from buffer.h.
4609 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4611 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4613 * mb-lb.h, multibyte.h: New files.
4615 * char-1byte.h (Charset_ID): Moved from buffer.h.
4616 (MIN_LEADING_BYTE): Likewise.
4617 (LEADING_BYTE_ASCII): Likewise.
4618 (NUM_LEADING_BYTES): Likewise.
4619 (CHARSETP): Likewise.
4620 (CHARSET_BY_LEADING_BYTE): Likewise.
4621 (XCHARSET_LEADING_BYTE): Likewise.
4622 (XCHARSET_GRAPHIC): Likewise.
4623 (XCHARSET_COLUMNS): Likewise.
4624 (XCHARSET_DIMENSION): Likewise.
4625 (CHAR_CHARSET): Likewise.
4626 (CHAR_LEADING_BYTE): Likewise.
4627 (BREAKUP_CHAR): Likewise.
4628 (Vcharset_ascii): Likewise.
4630 * buffer.h: Include multibyte.h unconditionally.
4631 (VALID_CHARPTR_P): Moved to multibyte.h.
4632 (ASSERT_VALID_CHARPTR): Likewise.
4633 (REAL_INC_CHARPTR): Likewise.
4634 (REAL_INC_CHARBYTIND): Likewise.
4635 (REAL_DEC_CHARPTR): Likewise.
4636 (INC_CHARPTR): Likewise.
4637 (INC_CHARBYTIND): Likewise.
4638 (DEC_CHARPTR): Likewise.
4639 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4640 (VALIDATE_CHARPTR_FORWARD): Likewise.
4641 (charptr_n_addr): Likewise.
4642 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4643 (simple_charptr_emchar): Moved to multibyte.h.
4644 (simple_set_charptr_emchar): Likewise.
4645 (simple_charptr_copy_char): Likewise.
4646 (non_ascii_charptr_emchar): Likewise.
4647 (non_ascii_set_charptr_emchar): Likewise.
4648 (non_ascii_charptr_copy_char): Likewise.
4649 (charptr_emchar): Likewise.
4650 (set_charptr_emchar): Likewise.
4651 (charptr_copy_char): Likewise.
4652 (charptr_emchar_n): Likewise.
4653 (Charset_ID): Moved to char-1byte.h.
4654 (Vcharset_ascii): Likewise.
4655 (CHAR_CHARSET): Likewise.
4656 (CHAR_LEADING_BYTE): Likewise.
4657 (LEADING_BYTE_ASCII): Likewise.
4658 (NUM_LEADING_BYTES): Likewise.
4659 (MIN_LEADING_BYTE): Likewise.
4660 (CHARSETP): Likewise.
4661 (CHARSET_BY_LEADING_BYTE): Likewise.
4662 (XCHARSET_LEADING_BYTE): Likewise.
4663 (XCHARSET_GRAPHIC): Likewise.
4664 (XCHARSET_COLUMNS): Likewise.
4665 (XCHARSET_DIMENSION): Likewise.
4666 (BREAKUP_CHAR): Likewise.
4668 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4670 * character.h: Add document about interface for characters.
4672 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4673 (MAKE_CHAR): Delete comment about
4674 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4675 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4676 (BREAKUP_CHAR): Modify name of arguments.
4677 (CHAR_CHARSET): Modify name of argument.
4679 * buffer.h: Delete document about Emchar accessors.
4681 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4683 * character.h (CHAR_INTP): Moved from buffer.h
4684 (CHAR_OR_CHAR_INTP): Likewise.
4685 (XCHAR_OR_CHAR_INT): Likewise.
4686 (CHECK_CHAR_COERCE_INT): Likewise.
4688 * buffer.h (CHAR_INTP): Moved to character.h
4689 (CHAR_OR_CHAR_INTP): Likewise.
4690 (XCHAR_OR_CHAR_INT): Likewise.
4691 (CHECK_CHAR_COERCE_INT): Likewise.
4693 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4696 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4697 - Include char-1byte.h, char-lb.h or char-ucs.h.
4699 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4701 * buffer.h: Include character unconditionally.
4702 (valid_char_p): Moved to char-*.h.
4703 (non_ascii_valid_char_p): Moved to char-lb.h.
4705 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4707 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4709 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4710 in UTF-2000 because it is not ported yet and not to use
4711 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4712 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4713 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4715 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4716 (CHAR_ASCII_P): Moved from character.h.
4718 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4719 (CHAR_ASCII_P): Likewise.
4720 (CHAR_FIELD1_MASK): Deleted.
4721 (CHAR_FIELD2_MASK): Deleted.
4722 (CHAR_FIELD3_MASK): Deleted.
4723 (MAX_CHAR_BASIC_LATIN): New macro.
4724 (CHAR_FIELD1): Deleted.
4725 (CHAR_FIELD2_INTERNAL): Deleted.
4726 (CHAR_FIELD3_INTERNAL): Deleted.
4727 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4728 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4729 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4730 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4731 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4732 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4733 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4734 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4735 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4736 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4737 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4738 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4739 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4740 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4741 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4742 (MIN_CHAR_COMPOSITION): Deleted.
4743 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4744 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4746 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4748 * buffer.h: Include mb-utf-8.h in UTF-2000.
4750 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4752 * mb-utf-8.h: New file.
4754 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4756 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4759 * mule-charset.h, buffer.h (Charset_ID): New type.
4761 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4763 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4764 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4765 instead of `MULE_CHAR_PRIVATE_OFFSET',
4766 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4767 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4768 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4770 * character.h (Vcharset_japanese_jisx0212): New variable
4773 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4775 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4776 (charset_by_attributes): Delete array about direction.
4777 (latin_a_char_to_charset): New variable in UTF-2000.
4778 (latin_a_char_to_byte1): New variable in UTF-2000.
4779 (latin_a_char_to_byte2): New variable in UTF-2000.
4780 (Qucs_bmp): New variable.
4781 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4783 (next_allocated_2_byte_leading_byte): Likewise.
4784 (non_ascii_set_charptr_emchar): Likewise.
4785 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4786 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4787 `charset_by_attributes'.
4788 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4789 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4790 and `CHARSET_BY_LEADING_BYTE'.
4791 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4792 `utf-2000-version' to `vars_of_mule_charset'.
4793 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4794 define `leading-code-private-11' in UTF-2000; move setting of
4795 `utf-2000-version' from `syms_of_mule_charset'.
4796 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4799 * character.h (Charset_ID): New type.
4800 (LEADING_BYTE_UCS_BMP): New macro.
4801 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4802 (CHARSET_ID_OFFSET_94): New macro.
4803 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4804 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4805 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4807 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4808 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4809 (CHARSET_ID_OFFSET_96): New macro.
4810 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4811 CHARSET_ID_OFFSET_96 and final-byte.
4812 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4813 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4814 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4815 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4816 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4817 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4818 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4819 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4820 (LEADING_BYTE_THAI_TIS620): Likewise.
4821 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4822 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4823 (CHARSET_ID_OFFSET_94x94): New macro.
4824 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4825 CHARSET_ID_OFFSET_94x94 and final-byte.
4826 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4827 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4828 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4829 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4830 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4831 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4832 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4833 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4834 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4835 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4836 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4837 (CHARSET_TYPE_128X128): New macro.
4838 (CHARSET_TYPE_256X256): New macro.
4839 (XCHARSET_PRIVATE_P): Delete unconditionally.
4840 (charset_by_attributes): Delete array about direction.
4841 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4842 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4843 (MIN_CHAR_94): New macro.
4844 (MAX_CHAR_94): New macro.
4845 (MIN_CHAR_96): New macro.
4846 (MAX_CHAR_96): New macro.
4847 (MIN_CHAR_94x94): New macro.
4848 (MAX_CHAR_94x94): New macro.
4849 (MIN_CHAR_96x96): New macro.
4850 (MAX_CHAR_96x96): New macro.
4851 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4852 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4853 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4855 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4856 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4857 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4858 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4859 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4860 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4861 `XCHARSET_LEADING_BYTE' to make code-point.
4862 (latin_a_char_to_charset): New variable.
4863 (latin_a_char_to_byte1): New variable.
4864 (latin_a_char_to_byte2): New variable.
4865 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4866 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4867 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4869 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4870 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4871 (find_charsets_in_emchar_string): Likewise.
4872 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4874 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4876 (decode_coding_iso2022): Likewise.
4878 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4881 * redisplay.c (redisplay_text_width_emchar_string): Use
4882 `Charset_ID' instead of `unsigned char'.
4883 (redisplay_frame_text_width_string): Likewise.
4885 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4888 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4889 instead of `unsigned char'.
4890 (face_cachel_charset_font_metric_info): Likewise.
4892 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4893 (get_non_ascii_char_table_value): Likewise.
4894 (get_char_table): Likewise.
4895 (put_char_table): Likewise.
4896 (map_over_other_charset): Likewise.
4897 (map_char_table): Likewise.
4899 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4900 instead of `unsigned char'.
4902 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4904 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4905 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4907 * mule-charset.c (leading_code_private_11): Don't define in
4910 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4911 in UTF-2000 because it is not ported yet and not to use
4912 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4914 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4916 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4918 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4920 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4923 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4924 of unsigned char to store leading-byte.
4926 * chartab.c (get_non_ascii_char_table_value): Don't use
4927 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4929 * file-coding.c (encode_coding_big5): Delete bogus implementation
4932 * character.h (LEADING_BYTE_*): Delete definition for
4934 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4935 (LEADING_BYTE_PREFIX_P): Deleted.
4936 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4937 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4938 (BUFBYTE_LEADING_BYTE_P): Deleted.
4939 (CHARSET_PRIVATE_P): Deleted unconditionally.
4940 (rep_bytes_by_first_byte): Deleted unconditionally.
4941 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4942 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4943 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4944 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
4945 (CHAR_FIELD2): Deleted.
4946 (CHAR_FIELD3): Deleted.
4947 (MAKE_CHAR): Delete definition for non-UTF-2000.
4948 (BREAKUP_CHAR_1_UNSAFE): Deleted.
4949 (breakup_char_1): New implementation.
4950 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
4951 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
4953 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4955 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
4958 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4960 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
4961 (CHARSET_PRIVATE_P): Likewise.
4962 (XCHARSET_PRIVATE_P): Likewise.
4963 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
4965 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
4967 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
4969 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4971 * character.h (LEADING_BYTE_*): Changed in UTF2000.
4972 (NUM_LEADING_BYTES): Changed from 128 to 256.
4973 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4974 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
4976 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
4978 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
4980 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
4981 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
4982 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
4983 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
4984 (Qchinese_cns11643_3): New variable in UTF2000.
4985 (Qchinese_cns11643_4): New variable in UTF2000.
4986 (Qchinese_cns11643_5): New variable in UTF2000.
4987 (Qchinese_cns11643_6): New variable in UTF2000.
4988 (Qchinese_cns11643_7): New variable in UTF2000.
4989 (syms_of_mule_charset): Define `chinese-cns11643-3',
4990 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4991 and `chinese-cns11643-7' in UTF2000.
4992 (vars_of_mule_charset): Initialize
4993 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
4995 (complex_vars_of_mule_charset): Setup charset
4996 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
4997 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
4999 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5001 * mule-charset.c: Move setting for `leading-code-private-11' from
5002 `syms_of_mule_charset' to `vars_of_mule_charset'.
5004 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5006 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5007 and `NUM_LEADING_BYTES' in assert.
5009 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5011 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5013 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5014 `NUM_LEADING_BYTES' instead of 128.
5016 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5018 * mule-charset.h (charset_by_leading_byte): Use
5019 `NUM_LEADING_BYTES' instead of 128.
5020 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5022 * mule-charset.c (charset_by_leading_byte): Use
5023 `NUM_LEADING_BYTES' instead of 128.
5024 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5026 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5029 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5031 * mule-charset.c (syms_of_mule_charset): Update to
5034 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5036 * file-coding.c (encode_coding_sjis): New implementation for
5037 UTF2000. (decode_coding_sjis): Ditto.
5039 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5041 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5042 Don't define in UTF2000.
5044 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5047 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5048 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5051 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5053 * config.h.in (CHAR_IS_UCS4): New macro.
5055 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5056 conventional MULE representation.
5057 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5059 * mule-charset.h: Reverted to original.
5061 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5062 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5063 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5065 * character.h: New file.
5067 * file-coding.c (Fmake_coding_system): Set 1 to
5068 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5070 (encode_coding_no_conversion): New implementation for UTF2000.
5072 * file-coding.h (struct Lisp_Coding_System): Add new member
5075 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5077 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5078 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5079 (encode_coding_iso2022): New implementation for UTF2000.
5081 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5083 * mule-canna.c (c2mu): New implementation for UTF2000.
5086 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5088 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5090 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5092 * file-coding.c (reset_encoding_stream): Set 0 to
5093 `str->iso2022.current_char_boundary' in UTF2000.
5094 (encode_utf8): Don't define in UTF2000.
5095 (encode_coding_utf8): New implementation for UTF-8 representation
5097 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5099 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5101 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5103 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5105 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5107 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5109 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5110 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5111 as UTF-8 in UTF2000.
5112 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5113 (non_ascii_valid_char_p): Don't define in UTF2000.
5114 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5115 (Lstream_get_emchar_1): Likewise.
5116 (utf-2000-version): New variable in UTF2000.
5118 * lread.c (read_escape): Add new reader `u'.
5120 * insdel.c (three_to_one_table): Don't define in UTF2000.
5121 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5122 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5124 (bytind_to_bufpos_func): Likewise.
5125 (buffer_mule_signal_inserted_region): Likewise.
5126 (vars_of_insdel): Don't initialize `three_to_one_table'.
5127 (init_buffer_text): Use `buf->text->mule_size' instead of
5128 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5131 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5132 UTF-8 representation in UTF2000.
5133 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5134 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5135 (decode_coding_iso2022): Don't define local variable `lb' in
5136 UTF2000; don't use LEADING_BYTE in UTF2000; use
5137 `DECODE_ADD_UCS_CHAR' in UTF2000.
5138 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5140 * config.h.in (UTF2000): New macro.
5142 * buffer.h (struct buffer_text): Add new member `mule_size' and
5143 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5144 (valid_char_p): Return always 1 in UTF2000.
5145 (MAX_EMCHAR_LEN): 6 in UTF2000.
5146 (three_to_one_table): Don't define in UTF2000.
5147 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5149 (real_bytind_to_bufpos): Likewise.
5151 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5153 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5155 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5156 representation change.
5157 (Vutf_2000_version): New variable.
5158 (leading_code_private_11): New variable.
5159 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5160 `leading-code-private-11'.
5162 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5163 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5164 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5165 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5166 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5167 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5168 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5169 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5170 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5171 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5172 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5173 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5174 (MIN_CHAR_GREEK): New macro.
5175 (MAX_CHAR_GREEK): New macro.
5176 (MIN_CHAR_CYRILLIC): New macro.
5177 (MAX_CHAR_CYRILLIC): New macro.
5178 (MIN_CHAR_HEBREW): New macro.
5179 (MAX_CHAR_HEBREW): New macro.
5180 (MIN_CHAR_THAI): New macro.
5181 (MAX_CHAR_THAI): New macro.
5182 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5183 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5184 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5185 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5186 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5187 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5188 (CHAR_FIELD2): New inline function.
5189 (CHAR_FIELD3): New inline function.
5190 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5191 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5192 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5193 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5194 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5195 (MIN_CHAR_COMPOSITION): Likewise.
5196 (CHAR_LEADING_BYTE): Modified for character representation change.
5197 (MAKE_CHAR): Likewise.
5199 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5200 (Vcharset_greek_iso8859_7): Likewise.
5201 (Vcharset_cyrillic_iso8859_5): Likewise.
5202 (Vcharset_hebrew_iso8859_8): Likewise.
5203 (Vcharset_thai_tis620): Likewise.
5204 (Vcharset_katakana_jisx0201): Likewise.
5206 2003-09-03 Vin Shelton <acs@xemacs.org>
5208 * XEmacs 21.4.14 is released
5210 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5212 * config.h.in (REGEX_MALLOC): Make it configure'able.
5214 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5216 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5218 * sysdll.c (dll_init):
5219 * sysdll.c (dll_open):
5220 * sysdll.c (dll_close):
5221 * sysdll.c (dll_function):
5222 * sysdll.c (dll_variable):
5223 * sysdll.c (dll_error):
5224 Add support for loading bundles using Darwin/MacOSX
5227 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5229 * process.c (start-process-internal): Document coding systems.
5231 2003-07-30 Jerry James <james@xemacs.org>
5233 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5235 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5237 * event-msw.c (mswindows_enqueue_mouse_button_event):
5238 * event-msw.c (mswindows_wnd_proc):
5239 enqueue button event when scrollwheel event isn't handled by
5240 mswindows_handle_mousewheel_event, such as when the scrollbars
5243 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5245 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5247 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5249 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5251 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5253 * regex.c (re_match_2_internal): Fix matching degenerate word
5256 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5258 * XEmacs 21.4.13 is released
5260 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5262 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5263 * lisp.h (<inttypes.h>):
5264 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5267 2003-03-15 Martin Buchholz <martin@xemacs.org>
5269 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5270 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5271 Result: "temacs can only be run in -batch mode."
5272 Fix: Check xemacs executable candidate for directory-ness.
5274 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5276 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5277 they conflict with <sys/types.h>.
5279 2003-02-14 Martin Buchholz <martin@xemacs.org>
5281 * database.c: Berkeley DB wants __STDC__ to be defined.
5283 2003-02-13 Martin Buchholz <martin@xemacs.org>
5285 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5287 2003-02-01 Martin Buchholz <martin@xemacs.org>
5289 * process-unix.c (unix_send_process): Fix C++ compile error.
5291 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5293 * Added .dylib as an acceptable shared library file extension
5294 * to support MacOSX.
5296 2003-02-01 Martin Buchholz <martin@xemacs.org>
5298 * EmacsFrameP.h (EmacsFramePart):
5299 Kludge to allow compiling with Motif1, but linking with Motif2.
5301 2003-01-28 Martin Buchholz <martin@xemacs.org>
5303 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5306 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5308 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5310 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5312 * sysdll.c: Included lisp.h to define needed alloca_array.
5314 2003-02-13 Martin Buchholz <martin@xemacs.org>
5316 Make XEmacs redisplay 10 times faster.
5317 If, that is, you're using a slow X connection and MoveOpaque.
5318 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5319 Use compress_motion = TRUE.
5320 * EmacsFrame.c (emacsFrameClassRec):
5321 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5322 * EmacsManager.c (emacsManagerClassRec):
5323 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5325 2003-01-30 Vin Shelton <acs@xemacs.org>
5327 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5329 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5331 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5332 Patch by Martin Buchholz.
5334 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5336 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5337 Thanks to icc for warning and Martin Buchholz for reporting.
5339 2003-01-29 Vin Shelton <acs@xemacs.org>
5341 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5343 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5344 remember to multiply by the element size.
5346 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5348 * XEmacs 21.4.12 "Portable Code" is released.
5350 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5352 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5353 * s/cygwin.sc: new linker file.
5355 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5357 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5359 * redisplay-x.c (x_output_string): Use X11-specified types.
5360 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5361 * emacs.c (__free_hook): Use typeof with Intel compiler.
5362 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5364 2003-01-08 Andy Piper <andy@xemacs.org>
5366 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5367 reserve size during unexec().
5369 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5371 * process-unix.c (unix_create_process): Don't let outchannel block.
5373 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5375 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5376 Needed for IsBadReadPtr().
5378 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5380 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5382 2002-12-14 Ben Wing <ben@xemacs.org>
5384 * callint.c: Declaration error.
5386 * dumper.c (pdump_load): Warning fix.
5387 * process.c: GCPRO error.
5388 * glyphs.c (unmap_subwindow):
5389 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5390 * event-stream.c (maybe_kbd_translate): Wrong argument to
5391 character_to_event().
5393 * alloc.c (garbage_collect_1):
5395 * emacs.c (debug_can_access_memory):
5396 * emacs.c (fatal_error_signal):
5397 * emacs.c (mswindows_handle_hardware_exceptions):
5400 * emacs.c (assert_failed):
5401 * emacs.c (syms_of_emacs):
5404 * print.c (std_handle_out_va):
5405 * print.c (write_string_to_stdio_stream):
5406 * print.c (write_fmt_string):
5407 * print.c (printing_badness):
5408 * print.c (printing_major_badness):
5409 * print.c (print_internal):
5410 * print.c (debug_print_no_newline):
5411 * print.c (debug_backtrace):
5412 Be more defensive in handling bad values when printing. Add code
5413 from trunk involving inhibit_non_essential_printing_operations.
5414 When going down or in debug_print(), don't do external conversion
5415 and such and try really, really hard when printing to avoid core
5416 dumping. Add force-debugging-signal, debug_break().
5418 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5420 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5421 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5423 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5425 * database.c: Fix open_database. Berkeley DB API has changed in
5426 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5428 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5430 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5432 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5434 * event-Xt.c (Xt_timeout):
5435 (Xt_timeout_callback):
5436 (emacs_Xt_add_timeout):
5437 (emacs_Xt_remove_timeout):
5438 (Xt_timeout_to_emacs_event):
5439 Turn completed_timeouts from a stack into a queue. Fixes
5440 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5442 2002-11-07 Wolfram Gloger <wg@malloc.de>
5444 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5445 * emacs.c (main): Assert that mmap'd allocation is disabled.
5447 2002-10-14 Andy Piper <andy@xemacs.org>
5449 * glyphs-widget.c (layout_query_geometry): add in fiddle
5450 factor. Include border text in width layout calculation.
5451 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5453 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5455 * XEmacs 21.4.10 "Military Intelligence" is released.
5457 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5459 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5460 using the NAS private array SoundFileInfo that no longer exists in
5461 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5462 and earlier. This is broken for some versions between 1.5a and
5465 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5467 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5469 * emacs.c (shut_down_emacs): Improve crash message.
5471 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5473 * file-coding.c (determine_real_coding_system): Check for coding
5474 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5475 shebangs and Python PEP 263.
5477 2002-10-08 Andy Piper <andy@xemacs.org>
5479 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5480 if static sizes haven't been set.
5482 2002-08-30 Mike Alexander <mta@arbortext.com>
5484 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5487 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5489 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5491 2002-09-20 Mike Sperber <mike@xemacs.org>
5493 (This partially gets back my patch from 2002-07-20 without the
5495 * callproc.c (child_setup): Remove Ben's comment noting confusion
5496 over the file descriptors >= 3: close_process_descs() doesn't
5497 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5498 * process-unix.c (unix_create_process): Call
5499 begin_dont_check_for_quit to inhibit unwanted interaction (and
5500 thus breaking of X event synchronicity) in the child.
5502 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5504 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5507 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5509 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5510 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5511 the xemacs process did not exit, but looped infinitely here. This
5514 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5516 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5517 (find_context): Improve comments.
5519 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5520 (re_match_2): An XCHAR_TABLE operation was missing.
5522 Many of the following changes were inspired by Andy Piper's (now
5523 obsolete) patch to make syntax-table text property lookup optional.
5527 * syntax.h (top level): Document semantics of syntax flags.
5528 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5529 * syntax.c, syntax.h (top level): Document syntax cache better in
5532 [Instrument syntax caching (temporary change)]
5534 * syntax.h (enum syntax_cache_statistics_functions, struct
5535 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5536 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5537 * syntax.c (scan_words, Fforward_comment, scan_lists,
5538 Fbackward_prefix_characters):
5539 * font-lock.c (find_context):
5540 Use them to instrument syntax caching.
5541 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5542 syntax_cache_statistics_function_names): New type and variables.
5543 * syntax.c (update_syntax_cache): Update and report statistics.
5545 [Major syntax cache optimizations]
5547 syntax.c (lookup_syntax_properties): Default off.
5549 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5550 * syntax.c (update_syntax_cache):
5551 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5553 [Minor syntax cache optimizations and code clarifications]
5555 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5556 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5557 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5558 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5559 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5560 (Code clarification.)
5562 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5563 scan_lists): Compute code from syncode, use Boolean macros instead
5564 of redundant masking operations. (Code clarification; any decent
5565 compiler can do this optimization.)
5567 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5570 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5571 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5572 use F*_single_property_change instead of F*_extent_change.
5573 Currently F*_single_property_change is _much_ less efficient.
5575 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5576 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5577 syntax_cache.object properly, don't leave Qt or Qnil.
5578 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5579 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5580 tests for Qt or Qnil.
5582 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5584 * redisplay.c (point_in_line_start_cache):
5585 * extents.c (print_extent_1):
5588 * extents.c (Fset_extent_property): Document `syntax-table' property.
5590 * extents.h (Fnext_single_property_change): EXFUN it.
5592 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5594 * search.c (clear_unused_search_regs): New static function.
5598 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5599 Minor clarifications in comments.
5601 * regex.c (re_match_2_internal): Ensure no stale submatches.
5603 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5605 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5607 2002-08-29 Jerry James <james@xemacs.org>
5609 * lisp.h: structrures -> structures.
5611 2002-06-03 Andy Piper <andy@xemacs.org>
5613 * frame.c (frame_conversion_internal): add conversion appropriate
5614 for setting frame dimensions in pixels.
5616 * console.h (struct console_methods): add device-specific widget
5619 * emacs.c (main_1): initialize glyph vars.
5621 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5622 (handle_focus_event_2): new function. Allow focus to
5623 be set to a particular window and widget.
5624 (enqueue_focus_event): new function. Create a
5625 synthetic focus event.
5626 (emacs_Xt_handle_magic_event): call
5627 handle_focus_event_2.
5629 * frame.c (Fset_frame_pixel_height): new function. Allow
5630 pixel-based sizing. Does the right thing on character-oriented
5632 (Fset_frame_pixel_width): ditto.
5633 (Fset_frame_pixel_size): ditto.
5634 (syms_of_frame): declare.
5636 * general-slots.h: add :vertically-justify and
5637 :horizontally-justify.
5639 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5640 (mswindows_widget_border_width): new function.
5641 (mswindows_combo_box_instantiate): set border widths.
5642 (console_type_create_glyphs_mswindows): declare.
5645 (check_valid_justification): allow vertical and horizontal
5647 (widget_border_width): new function. Call device methods.
5648 (widget_instance_border_width): ditto.
5649 (logical_unit_height): new function. Determine the height of a
5650 logical-unit. Logical units are intended to provide grid-like
5651 layout for subcontrols in a layout. If the layout is
5652 :vertically-justify top then subcontrols will be positioned on
5653 logical-unit boundaries, thus allowing adjacent subcontrols to
5655 (widget_logical_unit_height): ditto for widgets.
5656 (redisplay_widget): misc cleanup.
5657 (widget_spacing): new function. Call device specific
5658 methods. Intended to be the default gap between adjacent widgets.
5659 (widget_query_geometry): use new spacing functions to determine
5660 appropriate geometry.
5661 (initialize_widget_image_instance): initialize horizontal and
5662 vertical justification.
5663 (widget_instantiate): use logica-units where appropriate for
5664 sizing large widgets.
5665 (button_query_geometry): use widget_instance_border_width.
5666 (tree_view_query_geometry): ditto.
5667 (tab_control_query_geometry): ditto.
5668 (edit_field_query_geometry): new function.
5669 (layout_update): pick up :justify, :horizontally-justify and
5670 :vertically-justify none of which worked previously. :justify is
5671 used as a fallback for both horizontal and vertical justification.
5672 (layout_query_geometry): use logical units to size appropriately.
5673 (layout_layout): ditto.
5674 (Fwidget_logical_to_character_width): new function. Allow users to
5675 convert from logical units to characters so that frame sizes can
5676 be set appropriately.
5677 (Fwidget_logical_to_character_height): ditto.
5678 (syms_of_glyphs_widget): declare.
5679 (image_instantiator_edit_fields): add edit_field_query_geometry.
5680 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5681 :horizontally-justify.
5682 (specifier_vars_of_glyphs_widget): new function. Declare
5683 Vwidget_border_width which is not yet used.
5685 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5686 (x_widget_border_width): new function.
5687 (x_widget_instantiate): create a sensible name for widgets.
5688 (console_type_create_glyphs_x): declare x_widget_border_width.
5690 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5691 (struct Lisp_Image_Instance): add :vertically-justify and
5692 :horizontally-justify.
5693 (LAYOUT_JUSTIFY_TOP): new.
5694 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5695 (ROUND_UP): new macro. Round argument up to next integral
5698 * redisplay-output.c (redisplay_output_layout): misc formatting.
5700 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5702 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5704 * XEmacs 21.4.9 "Informed Management" is released.
5706 2002-08-19 Andy Piper <andy@xemacs.org>
5708 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5711 * realpath.c (xrealpath): normalize drive spec also so that dir
5712 sep chars are not mixed on cygwin.
5714 2002-08-06 Jerry James <james@xemacs.org>
5716 * window.c (Fsplit_window): Count only half of the divider width
5717 against the left window when splitting horizontally.
5719 2002-06-24 Andy Piper <andy@xemacs.org>
5721 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5722 toolbar was cleared.
5724 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5725 function. Split out from mswindows_output_frame_toolbars.
5726 (mswindows_output_frame_toolbars): move clear pieces to
5727 mswindows_output_frame_toolbars.
5729 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5730 out from gtk_output_frame_toolbars.
5731 (gtk_output_frame_toolbars): move clear pieces to
5732 gtk_clear_frame_toolbars.
5734 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5735 the frame is cleared. How this ever worked before is a mystery.
5736 (x_output_frame_toolbars): Only output toolbars.
5737 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5739 * gutter.c (update_gutter_geometry):
5740 Mark frame layout changed.
5741 (update_frame_gutter_geometry, update_frame_gutters):
5742 Respect frame_layout_changed.
5744 * console.h (struct console_methods): add
5745 clear_frame_toolbars_method.
5747 * redisplay.c (redisplay_frame): call
5748 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5750 * toolbar.h: declare update_frame_toolbars_geometry.
5752 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5753 out from update_frame_toolbars. Call clear_frame_toolbars.
5754 (update_frame_toolbars): only output, do not change geometry.
5756 * redisplay.c: add frame_layout_changed.
5758 * redisplay.h: add frame_layout_changed.
5759 (CLASS_RESET_CHANGED_FLAGS): set it.
5760 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5761 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5762 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5764 * device.h (struct device): add frame_layout_changed.
5765 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5767 * frame.h (struct frame): add frame_layout_changed.
5768 (MARK_FRAME_LAYOUT_CHANGED): new.
5770 2002-06-30 Mike Alexander <mta@arbortext.com>
5772 * event-msw.c (mswindows_need_event): Don't wait for a new message
5773 if the queue is not empty. Suggested by Paul Moore.
5775 2002-06-12 Andy Piper <andy@xemacs.org>
5777 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5778 for printing on accurately.
5780 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5782 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5783 WM_ACTIVATE message. Make sure that the frame is visible if the
5784 window is visible. This seemss to fix the problem where XEmacs
5785 appears to freeze after switching desktops with certain virtual
5787 (debug_output_mswin_message): Added code to output message
5788 parameters for WM_WINDOWPOSCHANGED,
5789 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5791 2002-05-25 Andy Piper <andy@xemacs.org>
5793 * select-x.c (vars_of_select_x): Fix docstring of
5794 x-selection-strict-motif-ownership
5796 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5798 * keymap.c (get_keymap):
5799 Add comment about do_autoload GCPROs own args.
5801 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5803 * bytecode.c (execute_optimized_program): check_opcode ifdef
5804 ERROR_CHECK_BYTE_CODE.
5806 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5808 Thanks to Ben Wing and Michael Sperber.
5810 * eval.c (Fcommand_execute):
5813 (Fmacroexpand_internal):
5814 (function_argcount):
5815 callint.c (Fcall_interactively):
5816 Add comment about do_autoload GCPROs own args.
5818 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5820 * eval.c (Ffuncall): Extra braces to placate GCC.
5822 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5824 * backtrace.h (grow_specpdl):
5826 * EmacsFrame.c (EmacsFrameSetValues):
5827 * eval.c (grow_specpdl):
5828 * ExternalShell.c (hack_event_masks_1):
5829 * glyphs-x.c (convert_EImage_to_XImage):
5830 (x_finalize_image_instance):
5831 * ralloc.c (page_size):
5833 * xgccache.c (gc_cache_hash):
5834 Fix unsigned comparison warnings.
5836 2002-07-29 Jerry James <james@xemacs.org>
5838 * lread.c (locate_file): Any nonnegative return value indicates
5839 success if MODE is nonnegative.
5841 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5843 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5846 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5848 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5850 * dumper.c (pdump_get_indirect_count):
5851 (pdump_scan_by_alignment):
5852 (pdump_dump_root_struct_ptrs):
5853 (pdump_dump_rtables):
5854 (pdump_dump_root_objects):
5856 * nas.c (WaveOpenDataForReading):
5857 * fns.c (print_bit_vector):
5858 * font-lock.c (SINGLE_SYNTAX_STYLE):
5859 * glyphs.c (check_for_ignored_expose):
5860 (find_matching_subwindow):
5862 * imgproc.c (get_histogram):
5863 * redisplay.c (point_in_line_start_cache):
5864 * redisplay-output.c (redisplay_unmap_subwindows):
5865 * symbols.c (defsymbol_massage_name_1):
5866 (defkeyword_massage_name):
5867 (deferror_massage_name_and_message):
5868 * redisplay-x.c (x_output_string):
5869 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5870 * frame.h (struct frame):
5871 * filelock.c (current_lock_owner):
5872 * doprnt.c (emacs_doprnt_1):
5873 * lisp.h (struct Lisp_Bit_Vector):
5877 2002-02-13 Ben Wing <ben@xemacs.org>
5879 * event-stream.c (reset_key_echo):
5880 * event-stream.c (reset_this_command_keys):
5881 * event-stream.c (execute_command_event):
5882 If console is dead as a result of C-x 5 0, then post-command stuff
5883 needs to be careful and do only non-console-specific stuff.
5885 2002-07-01 Mike Sperber <mike@xemacs.org>
5887 * process-unix.c (unix_send_process): Mark coding_outstream as
5888 non-open upon SIGPIPE.
5890 * event-stream.c (Fnext_event): Reorder switch cases to something
5893 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5895 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5896 Don't bogusly reinitialize ascii_character property.
5898 2002-07-08 Mike Sperber <mike@xemacs.org>
5900 * process.c (Fstart_process_internal): Do error checking before we
5901 fork off the child, so the child can't muck with the state of the
5904 2002-07-08 Mike Sperber <mike@xemacs.org>
5906 * ralloc.c (init_ralloc): Allocate properly for pdump.
5908 2002-06-12 Andy Piper <andy@xemacs.org>
5910 * glyphs.c (query_string_geometry): check the string.
5912 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5915 2002-06-17 Jerry James <james@xemacs.org>
5917 * sysdll.c: Remove RTLD_GLOBAL initialization.
5918 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5920 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5922 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5924 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5926 * sysdep.c (sys_rename): Make sys_rename work for the case where
5927 Windows rename sets errno to EACCES if target file exists.
5929 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5931 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5932 Fix detection of metric units to work on Win95
5934 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5936 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5938 2002-04-25 Andy Piper <andy@xemacs.org>
5940 * redisplay.c (create_text_block): Remove extra comment trailer.
5942 2002-04-24 Andy Piper <andy@xemacs.org>
5944 * redisplay.c (create_text_block): Don't actually add propagation
5945 data if the line ends after we have added a glyph.
5947 2002-04-22 Andy Piper <andy@xemacs.org>
5949 * extents.c (extent_fragment_update): check for glyphs we have
5950 previously displayed.
5951 * extents.c (print_extent_1): warning removal.
5952 * extents.h: change prototype.
5953 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
5954 widths correctly for wide glyphs.
5955 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
5956 * redisplay.c (prop_type): add PROP_GLYPH.
5957 * redisplay.c (struct prop_block): add glyph type
5958 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
5959 to the propagation data.
5960 * redisplay.c (create_text_block): if there is a glyph in the
5961 propagation data use it to salt extent_fragment_update.
5962 * redisplay.c (create_string_text_block): ditto.
5964 2002-04-13 Nix <nix@esperi.demon.co.uk>
5966 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
5967 * redisplay-output.c (compare_runes): Compare them.
5968 * redisplay.c: Update copyright date.
5969 * redisplay.c (pos_data): Add need_baseline_computation field.
5970 * redisplay.c (add_glyph_rune): Update ascent, descent, and
5971 need_baseline_computation; zero yoffset. Set max_pixmap_height
5972 for all pixmaps, not just automatically positioned ones.
5973 * redisplay.c (calculate_yoffset): New, compute yoffset values.
5974 * redisplay.c (calculate_baseline): New, compute textual baseline.
5975 * redisplay.c (add_glyph_rune): Call them.
5976 * redisplay.c (create_text_block): Likewise.
5977 * redisplay.c (create_overlay_glyph_block): Likewise.
5978 * redisplay.c (add_margin_runes): Likewise.
5979 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
5981 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
5982 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
5983 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
5984 * redisplay-msw.c (mswindows_output_string): Likewise.
5985 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
5986 * redisplay-gtk.c (gtk_output_display_block): Likewise.
5987 * redisplay-x.c (x_output_display_block): Likewise.
5989 2002-03-28 Ben Wing <ben@xemacs.org>
5991 * redisplay.c: Fixed bug in redisplay
5992 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
5993 and down of the lines, since they're bigger than the line
5994 size. (It was seen most obviously when there's a horizontal scroll
5995 bar, e.g. do C-h a glyph or something like that.) The problem was
5996 that the glyph-contrib-p setting on glyphs was ignored even if it
5997 was set properly, which it wasn't until now.
5999 2002-04-24 Andy Piper <andy@xemacs.org>
6001 * lisp.h (Dynarr_end): Fix definition.
6003 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6005 * redisplay.c (mark_redisplay): Remove call to
6006 update_frame_window_mirror.
6008 2001-11-15 Andy Piper <andy@xemacs.org>
6010 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6013 2002-02-13 Andy Piper <andy@xemacs.org>
6015 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6016 we did in fact enqueue the XM_MAPFRAME event.
6018 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6020 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6021 to fix problem switching between virtual desktops under virtuawin
6022 virtual window manager.
6024 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6026 * event-msw.c: Typo fix.
6027 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6028 magic XM_MAPFRAME event has been sent.
6030 2001-11-23 Andy Piper <andy@xemacs.org>
6032 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6034 2001-11-21 Andy Piper <andy@xemacs.org>
6036 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6037 mouse events outside the frame.
6039 2002-03-20 Andy Piper <andy@xemacs.org>
6041 * menubar-msw.c (mswindows_popup_menu): warning removal.
6042 * dialog-msw.c (dialog_popped_down): ditto.
6044 2001-12-11 Andy Piper <andy@xemacs.org>
6046 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6047 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6049 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6050 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6051 * menubar-msw.c (mswindows_popup_menu): ditto.
6053 2001-10-29 Andy Piper <andy@xemacs.org>
6055 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6058 2002-01-03 Andy Piper <andy@xemacs.org>
6060 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6064 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6066 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6067 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6068 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6069 Detect and handle case where machine is set up for metric units
6071 2002-04-02 Andy Piper <andy@xemacs.org>
6073 * dired-msw.c (mswindows_get_files):
6074 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6075 completely handled by XEmacs. Suggested by Thomas Vogler
6076 <mail@thomas-vogler.de>.
6078 2001-11-14 Andy Piper <andy@xemacs.org>
6080 * nt.c (REG_ROOT): change registry key to XEmacs.
6082 2002-04-27 Andy Piper <andy@xemacs.org>
6084 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6086 2002-04-26 Andy Piper <andy@xemacs.org>
6088 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6091 2002-03-14 Mike Alexander <mta@arbortext.com>
6093 * event-msw.c (mswindows_unwait_process): New, remove process from
6095 * process-nt.c (nt_finalize_process_data): Call
6096 mswindows_unwait_process
6097 * console-msw.h: Declare mswindows_unwait_process
6099 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6101 * editfns.c (Fdecode_time):
6102 (Fformat_time_string):
6103 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6104 (make_time): Warning elimination (change arg name).
6106 2001-11-24 Andy Piper <andy@xemacs.org>
6108 * window.c (Fsplit_window): Doc return type.
6110 2002-04-01 Andy Piper <andy@xemacs.org>
6112 * emacs.c (Fkill_emacs): Only output message box in interactive
6115 2002-04-26 Andy Piper <andy@xemacs.org>
6117 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6120 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6122 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6125 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6127 * XEmacs 21.4.8 "Honest Recruiter" is released.
6129 2002-05-07 Nix <nix@esperi.demon.co.uk>
6131 Supersedes 2002-04-17 patch.
6133 * process.h (PROCESS_LIVE_P): Use the process status as
6134 evidence of health, not the state of the input stream.
6135 (PROCESS_READABLE_P): Say if the process is readable
6136 from. (It may be dead nonetheless.)
6137 (CHECK_READABLE_PROCESS): Test for that condition.
6139 * process.c (create_process): Use PROCESS_READABLE_P.
6140 (read_process_output, set_process_filter): Likewise.
6142 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6143 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6145 This code is #if 0'd, this is not the time to add new functions:
6147 * process.c (Fprocess_readable_p): Report readability status.
6148 * process.c (Qprocess_readable_p): New, associated symbol...
6149 * process.c (syms_of_process): ... initialize it.
6151 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6153 * XEmacs 21.4.7 "Economic Science" is released.
6155 2002-04-17 Nix <nix@esperi.demon.co.uk>
6157 * process.h (PROCESS_LIVE_P): Use the process status as
6158 evidence of health, not the state of the input stream.
6160 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6162 * sysdep.c (sys_siglist): change "signum" to "signal"
6164 2001-04-21 Martin Buchholz <martin@xemacs.org>
6166 * s/darwin.h: New file.
6167 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6169 2002-04-23 Andreas Jaeger <aj@suse.de>
6171 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6172 which use lib64 for 64-bit libs.
6173 (START_FILES): Likewise.
6175 2002-02-11 Mike Sperber <mike@xemacs.org>
6178 (x_IO_error_handler):
6179 (x_init_device): Temporarily keep device in static variable
6180 `device_being_initialized' so we can recover gracefully from
6181 internal XOpenDevice failure. (XOpenDevice is documented to
6182 return NULL on failure, but sometimes calls the IO error handler
6185 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6187 * dired.c (Ffile_name_all_completions): Change documentation --
6188 remove reference to completion-ignored-extensions.
6189 * dired.c (vars_of_dired): Change documentation for
6190 completion-ignored-extensions -- remove reference to
6191 file-name-all-completions.
6193 2002-03-06 Jerry James <james@xemacs.org>
6195 * emodules.c (emodules_load): Fix multiple loading of same module.
6197 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6198 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6199 RTLD_LAZY to avoid incorrect symbol binding when using nested
6200 shared libraries on Solaris.
6202 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6204 * fileio.c (Ffind_file_name_handler): Improve docstring.
6206 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6208 * fns.c (Fmapconcat): Improve docstring.
6210 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6212 * device-gtk.c: Add prototype for
6213 emacs_gtk_selection_clear_event_handle.
6214 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6215 selection. Setup signal handler for "selection_clear_event"
6216 (emacs_gtk_selection_clear_event_handle).
6218 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6219 other applications owning the clipboard (based on
6220 x_handle_selection_clear).
6222 2001-12-23 William M. Perry <wmperry@gnu.org>
6224 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6226 2002-01-04 Martin Buchholz <martin@xemacs.org>
6228 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6230 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6232 * XEmacs 21.4.6 "Common Lisp" is released.
6234 2001-12-16 Torsten Duwe <duwe@caldera.de>
6236 * search.c (Freplace_match): Add missing sub-expression functionality.
6238 * buffer.c (decode_buffer): Add a check for pointer type to
6239 decode_buffer, before gcc's CSE optimization reorders a
6240 dereference in front of the allow_string test.
6242 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6244 * window.c (window_loop): Fix bug that sometimes prevented
6245 window_loop() from iterating across multiple devices. Also, at
6246 Ben's request, changed infloop-detecting code to abort() instead
6247 of silently terminating window_loop().
6249 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6251 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6252 * editfns.c (make_time): New function.
6253 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6254 * lisp.h (make_time): Prototype and comment it.
6255 * dired.c (wasteful_word_to_lisp): Deprecate.
6256 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6258 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6260 * fileio.c (auto_save_1): Use current coding system, not
6263 2001-11-13 Ben Wing <ben@xemacs.org>
6266 * window.c (window_truncation_on):
6267 * window.c (syms_of_window):
6268 truncate-partial-width-windows should respect the buffer being
6269 displayed, like other redisplay vars.
6271 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6273 * event-stream.c (Fread_key_sequence): save current buffer.
6275 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6277 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6279 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6281 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6283 2001-10-26 Mike Alexander <mta@arbortext.com>
6285 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6287 2001-10-25 Andy Piper <andy@xemacs.org>
6290 * dialog-msw.c (handle_directory_proc): new function.
6291 (handle_directory_dialog_box): new fucntion.
6292 (handle_file_dialog_box): use new directory dialog support.
6293 (mswindows_make_dialog_box_internal): ditto.
6294 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6296 (mswindows_find_frame): make global.
6297 * fileio.c (Fexpand_file_name): build fix.
6298 * general-slots.h: add Qdirectory.
6299 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6301 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6302 cygwin not leaving win32 paths unchanged.
6303 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6304 cygwin runtime to do path conversion.
6305 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6306 (syms_of_win32): add new function.
6307 * window.c (window_loop): build fix.
6309 2001-10-15 Andy Piper <andy@xemacs.org>
6311 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6313 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6315 * XEmacs 21.4.5 "Civil Service" is released.
6317 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6319 * glyphs-x.c: Force buffer-tab highlight update when moving the
6320 buffer, avoiding an ugly black border, used for keyboard focus
6321 indication, on a widget that can never have keyboard focus, the
6324 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6326 * process-unix.c (unix_open_multicast_group): Remove too much
6327 conversion between host and network byte order.
6329 2001-09-10 Nix <nix@esperi.demon.co.uk>
6331 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6332 before replacing them.
6334 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6337 * src/window.c (undedicate_windows): Use it.
6338 * src/window.h: Add prototype.
6340 2001-09-17 Ben Wing <ben@xemacs.org>
6342 * fileio.c (normalize_filename):
6343 * fileio.c (Fexpand_file_name):
6344 Fix various C++ compile errors in Andy's recent code.
6346 * callint.c (Fcall_interactively):
6347 * editfns.c (Ftemp_directory):
6348 * editfns.c (Fuser_full_name):
6349 * emacs.c (argmatch):
6350 * lread.c (locate_file_map_suffixes):
6351 * redisplay-x.c (x_ring_bell):
6352 Fix sign-compare warnings.
6354 2001-09-08 Andy Piper <andy@xemacs.org>
6356 * fileio.c (normalize_filename): copied from nt.c
6357 * (Ffile_name_directory): enable win32 paths under cygwin.
6358 * (Ffile_name_nondirectory): ditto.
6359 * (directory_file_name): ditto.
6360 * (Fexpand_file_name): ditto.
6361 * (Ffile_truename): ditto.
6362 * (Fsubstitute_in_file_name): ditto.
6363 * (Ffile_name_absolute_p): ditto.
6364 * (Ffile_readable_p): ditto.
6366 2001-09-08 Andy Piper <andy@xemacs.org>
6368 * device-msw.c (mswindows_finish_init_device): remove dde
6370 * device-msw.c (mswindows_init_dde): factor out from
6371 mswindows_finish_init_device()
6372 * device-msw.c (init_mswindows_very_early): new function
6373 initialize but don't enable dde.
6374 * emacs.c (main_1): call init_mswindows_very_early.
6376 * event-msw.c (mswindows_dde_callback): only execute when we are
6378 * symsinit.h: declare init_mswindows_very_early.
6380 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6382 [sjt: This has been in 21.5 for months with no complaints.]
6384 * console.h (struct console_methods): Added flags member.
6385 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6386 (CONMETH_IMPL_FLAG):
6387 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6388 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6390 * device.c (window_system_pixelated_geometry): Use the above macros.
6392 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6393 implememntation flag.
6394 * device.h (DEVICE_DISPLAY_P): Use it.
6396 * frame.c (delete_frame_internal): Use the above macro.
6398 * redisplay.c (redisplay_device): Use it.
6399 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6400 (redisplay_frame): Ditto.
6402 * device-msw.c (mswindows_device_implementation_flags): Removed.
6403 (msprinter_device_implementation_flags): Removed.
6404 (console_type_create_device_mswindows): Removed references to
6405 implementation_flags methods, set implementation flags here.
6406 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6408 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6409 (console_type_create_device_gtk): Removed method declaration.
6410 Added commented out statement which semantically matches the
6411 commented out statement in the above removed method.
6413 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6415 The attached patch fixes a few warnings.
6417 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6418 * src/frame-gtk.c: guard against GNOME calls in GTK only
6419 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6420 * src/select-gtk.c: prototype lisp_to_time
6422 2001-06-08 Ben Wing <ben@xemacs.org>
6424 ------ gc-in-window-procedure fixes ------
6427 * alloc.c (struct post_gc_action):
6428 * alloc.c (register_post_gc_action):
6429 * alloc.c (run_post_gc_actions):
6430 * alloc.c (garbage_collect_1):
6431 Create "post-gc actions", to avoid those dreaded "GC during window
6432 procedure" problems.
6435 Abort, clean and simple, when GC in window procedure. We want
6436 to flush these puppies out.
6439 * glyphs-msw.c (finalize_destroy_window):
6440 * glyphs-msw.c (mswindows_finalize_image_instance):
6441 Use a post-gc action when destroying subwindows.
6444 Declare register_post_gc_action().
6447 * scrollbar-msw.c (unshow_that_mofo):
6448 Use a post-gc action when unshowing scrollbar windows, if in gc.
6450 * redisplay.c (mark_redisplay):
6451 Add comment about the utter evilness of what's going down here.
6453 ------ cygwin setitimer fixes ------
6455 * Makefile.in.in (sheap_objs):
6456 * Makefile.in.in (profile_objs):
6457 * Makefile.in.in (objs):
6458 Compile profile.c only when HAVE_SETITIMER.
6460 * nt.c (mswindows_sigset):
6461 * nt.c (mswindows_sighold):
6462 * nt.c (mswindows_sigrelse):
6463 * nt.c (mswindows_sigpause):
6464 * nt.c (mswindows_raise):
6465 * nt.c (close_file_data):
6469 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6472 * profile.c (Fstart_profiling):
6473 * profile.c (Fstop_profiling):
6474 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6475 instead of just plain setitimer().
6478 * signal.c (set_one_shot_timer):
6480 Define qxe_setitimer() as an encapsulation around setitimer() --
6481 call setitimer() directly unless Cygwin or MS Win, in which case
6482 we use our simulated version in win32.c.
6485 * systime.h (struct itimerval):
6486 * systime.h (ITIMER_REAL):
6487 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6488 comment about "qxe" and the policy regarding encapsulation.
6491 * win32.c (setitimer_helper_proc):
6492 * win32.c (setitimer_helper_period):
6493 * win32.c (setitimer_helper):
6494 * win32.c (mswindows_setitimer):
6495 Move setitimer() emulation here, so Cygwin can use it.
6496 Rename a couple of functions and variables to be longer and more
6497 descriptive. In setitimer_helper_proc(), send the signal
6498 using either mswindows_raise() or (on Cygwin) kill(). If for
6499 some reason we are still getting lockups, we'll change the kill()
6500 to directly invoke the signal handlers.
6502 ------ windows shell fixes ------
6506 Comments about how these two files must die.
6508 * callproc.c (init_callproc):
6509 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6510 not just COMSPEC. (more correct and closer to FSF.) Don't
6511 force a value for SHELL into the environment. (Comments added
6512 to explain why not.)
6514 * nt.c (init_user_info):
6515 Don't shove a fabricated SHELL into the environment. See above.
6517 2001-06-01 Ben Wing <ben@xemacs.org>
6519 * Makefile.in.in (ldflags):
6520 eliminate that pesky "defaulting to 00401000" warning.
6524 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6526 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6527 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6529 2001-04-24 Jerry James <james@xemacs.org>
6531 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6534 2001-06-01 Ben Wing <ben@xemacs.org>
6536 * event-msw.c (debug_mswin_messages):
6537 conditionalize the messages that were causing compile errors.
6538 (if only macros could generate #ifdef statements ...)
6540 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6542 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6544 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6546 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6548 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6550 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6551 * process-unix.c (unix_canonicalize_host_name):
6552 sysdep.c (init_system_name):
6553 Use it to conditionally support IPv6 canonicalization.
6555 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6558 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6560 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6562 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6563 attempt is made to scroll when no scroll bar is available.
6565 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6567 * input-method-motif.c (XIM_delete_frame): New callback.
6568 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6569 got deleted from 21.4.3.)
6571 2001-06-01 Ben Wing <ben@xemacs.org>
6573 * nt.c (mswindows_utime):
6574 * nt.c (close_file_data):
6575 fix off-by-one-indirection error.
6577 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6579 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6580 because set_file_times() now takes Lisp_Object path, instead of
6582 * nt.c: Include buffer.h.
6583 * nt.c (convert_from_time_t): New.
6584 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6585 not set mtime correctly.
6586 * nt.h: Declare mswindows_utime().
6587 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6588 path, instead of char*.
6589 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6591 2001-05-30 Ben Wing <ben@xemacs.org>
6595 (Stephen, just take all event-msw.c patches. This includes
6596 the "iconify" fix below.)
6599 * event-msw.c (mswindows_dequeue_dispatch_event):
6600 * event-msw.c (assert):
6601 * event-msw.c (emacs_mswindows_quit_p):
6602 * event-msw.c (debug_mswin_messages):
6603 * event-msw.c (debug_output_mswin_message):
6604 * event-msw.c (vars_of_event_mswindows):
6605 Fix yet more problems with C-g handling.
6606 Implement debug-mswindows-events.
6608 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6610 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6612 2001-05-23 Ben Wing <ben@xemacs.org>
6614 * event-msw.c (winsock_writer):
6615 * event-msw.c (winsock_closer):
6616 prior kludgy code was clobbering the buffer, thinking it was
6617 "unused" space to store an unneeded return value; instead, use
6618 the variable we've already got staring us in the face.
6620 2001-05-17 Andy Piper <andy@xemacs.org>
6622 * sysfile.h: don't assume that file attributes are boolean
6624 2001-05-23 Ben Wing <ben@xemacs.org>
6626 * device-msw.c (msprinter_init_device):
6627 signal an error rather than crash with an unavailable network
6628 printer (from Mike Alexander).
6631 * event-msw.c (struct winsock_stream):
6632 * event-msw.c (winsock_writer):
6633 * event-msw.c (winsock_closer):
6634 * event-msw.c (make_winsock_stream_1):
6635 cleanup headers. fix (hopefully) an error with data corruption
6636 when sending to a network connection.
6638 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6639 to handle the ~user prefix by (a) always assuming we're referencing
6640 ourselves and not even verifying the user -- hence any file with
6641 a tilde as its first char is invalid! (b) if there wasn't a slash
6642 following the filename, the pointer was set *past* the end of
6643 file and we started reading from uninitialized memory. Now we
6644 simply treat these as files, always.
6646 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6648 2001-05-19 Ben Wing <ben@xemacs.org>
6650 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6653 * process-nt.c (vars_of_process_nt):
6654 remove unused mswindows-quote-process-args. rec for 21.4.
6656 2001-05-12 Ben Wing <ben@xemacs.org>
6658 * event-msw.c (mswindows_dde_callback):
6659 * event-msw.c (mswindows_wnd_proc):
6660 eliminate cygwin warnings.
6662 2001-05-06 Ben Wing <ben@xemacs.org>
6666 * device-msw.c (print_dialog_worker):
6667 * device-msw.c (mswindows_handle_print_dialog_box):
6668 * device-msw.c (syms_of_device_mswindows):
6669 * dialog-msw.c (mswindows_make_dialog_box_internal):
6671 implement printing the selection when it's selected.
6673 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6675 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6677 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6679 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6680 EMACS_INT is signed.
6682 2001-04-15 Michael Lausch <mla@1012surf.net>
6684 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6685 gtk_widget_request_size() to give scrollbar >0 width for
6688 2001-05-30 William M. Perry <wmperry@gnu.org>
6690 * event-gtk.c: Check for buttons as modifier keys.
6692 2001-05-25 Craig Lanning <CraigL@Knology.net>
6695 Properly find MinGW's <process.h> inside Cygwin's restructured
6696 include directories. Don't try to include <cygwin/version.h>
6697 since we are dropping support for MinGW in versions of Cygwin
6700 Drop support for MinGW in versions of Cygwin before b21.
6702 Properly find MinGW's <process.h> inside Cygwin's restructured
6703 include directories.
6705 Drop support for MinGW in versions of Cygwin before b21.
6707 Even though a.out.h is no longer detected by configure, allow
6708 MinGW to use it until we figure out how to do the job with Win32.
6710 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6712 * syntax.c (find_start_of_comment):
6713 Fix `unbalanced parentheses' bug when dealing with mixed comment
6714 styles in c++/java/etc. mode
6716 2001-05-29 Mike Alexander <mta@arbortext.com>
6718 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6719 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6721 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6723 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6725 2001-03-31 Mike Sperber <mike@xemacs.org>
6727 * search.c (Freplace_match): Support FSF-style specification of
6728 match subexpression when applied to a buffer.
6730 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6732 * event-stream.c (is_scrollbar_event): add missing semicolon
6734 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6736 * Makefile.in.in: Use TAR macro instead of hardcoding
6737 tar. Allows use of GNU tar instead of system tar
6739 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6741 * event-stream.c (is_scrollbar_event): add missing semicolon
6743 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6745 * XEmacs 21.4.3 "Academic Rigor" is released.
6747 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6749 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6751 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6753 * buffer.c (Vcase_fold_search): Remove obsolete
6754 comment about non ASCII case-fold-search. This
6755 bug has been fixed by case-table changes.
6757 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6759 * event-msw.c: Restore include of events-mod.h.
6761 2001-04-22 zhaoway <zw@debian.org>
6763 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6766 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6768 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6770 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6772 * mule-charset.c (Fmake_charset): Add missing else.
6774 2001-04-23 Ben Wing <ben@xemacs.org>
6776 * event-msw.c (FAKE_MOD_QUIT):
6777 * event-msw.c (mswindows_dequeue_dispatch_event):
6778 * event-msw.c (mswindows_wnd_proc):
6779 * event-msw.c (emacs_mswindows_quit_p):
6780 Get critical quit working.
6782 2001-05-05 Ben Wing <ben@xemacs.org>
6786 * device-msw.c (mswindows_get_default_margin):
6787 * frame-msw.c (mswindows_size_frame_internal):
6788 * frame-msw.c (msprinter_init_frame_1):
6789 * frame-msw.c (vars_of_frame_mswindows):
6790 Change top/bottom margin defaults to 0.5 inches.
6792 2001-05-01 Martin Buchholz <martin@xemacs.org>
6794 Fix link error with gcc 3.0 on Linux.
6795 * terminfo.c (UP): Remove.
6796 * terminfo.c (BC): Remove.
6797 * terminfo.c (PC): Remove.
6798 They weren't used, and in any case, these symbols should be
6799 defined in the *library*.
6801 2001-05-03 Martin Buchholz <martin@xemacs.org>
6803 * s/aix4.h: Fix crash with xlc -O3.
6804 Improve comment explaining how -O3 works.
6806 2001-04-15 Ben Wing <ben@xemacs.org>
6809 * event-stream.c (Fnext_event):
6810 * event-stream.c (is_scrollbar_event):
6811 * event-stream.c (execute_command_event):
6812 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6813 crash' problem. His fix introduces other problems. We filter
6814 out scrollbar events specifically, making them somewhat invisible
6815 to command-building, and not appearing in `this-command-keys'.
6816 More work is still needed (see comments in event-stream.c), but
6817 this fixes all the major problems.
6819 2001-04-20 Ben Wing <ben@xemacs.org>
6821 * .cvsignore: Added stuff for Windows.
6823 2001-04-28 Ben Wing <ben@xemacs.org>
6825 * buffer.c (Ferase_buffer):
6826 * editfns.c (buffer_insert1):
6827 * editfns.c (Finsert_before_markers):
6828 * editfns.c (Finsert_string):
6829 * editfns.c (Finsert_char):
6830 * editfns.c (Fdelete_region):
6831 * editfns.c (Fwiden):
6832 * editfns.c (Fnarrow_to_region):
6833 remove bogus lines setting zmacs_region_stays to 0.
6835 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6837 * process-unix.c (unix_open_network_stream): If connect() fails
6838 invalidate file descriptor after closing it.
6840 2001-03-08 Mike Alexander <mta@arbortext.com>
6842 * event-msw.c (mswindows_need_event_in_modal_loop):
6843 Don't dispatch a message if we didn't get one.
6844 (mswindows_need_event):
6845 Terminate the correct process when one exits instead of the first
6846 one on Vprocess_list and look for process termination when in
6847 mswindows_protect_modal_loop.
6849 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6851 * XEmacs 21.4.1 "Copyleft" is released.
6853 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6855 * input-method-motif.c (XIM_delete_frame): New callback.
6856 (XIM_init_frame): Register it.
6858 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6860 * XEmacs 21.4.0 "Solid Vapor" is released.
6862 2001-04-15 Ben Wing <ben@xemacs.org>
6864 * cmdloop.c (call_command_loop):
6865 Fix braino in bit-rotting code.
6867 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6869 * extents.c (Fset_extent_endpoints): Force creation of extent info
6870 in buffer_or_string.
6872 * extents.c (process_extents_for_insertion_mapper): Correctly
6873 check for open-open zero-length extents.
6875 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6877 * lisp.h: New typedefs Memory_count, Element_count.
6880 Sign-compare warning elimination: several unsigned -> signed.
6881 Based on work by Ben Wing <ben@xemacs.org>.
6883 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6885 * XEmacs 21.2.47 "Zephir" is released.
6887 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6889 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6891 2001-04-03 Mike Sperber <mike@xemacs.org>
6893 * search.c: Revert previous patch due because of release.
6895 2001-03-30 Ben Wing <ben@xemacs.org>
6898 Add missing killpg prototype.
6901 Add a comment about fixing problems when a new entry is added
6904 * frame-msw.c (mswindows_init_frame_1):
6905 Fix compile warnings.
6907 * menubar.c (vars_of_menubar):
6908 Provide `menu-accelerator-support' to indicate that we properly
6909 support %_ in menu specifications, so that package code can
6910 conditionalize on this (and remove %_ from menu specifications
6915 * scrollbar-msw.c (can_scroll):
6917 Fix handling of mouse wheel under Windows to follow standards --
6918 now scrolls window under pointer, not selected window.
6920 2001-03-31 Mike Sperber <mike@xemacs.org>
6922 * search.c (Freplace_match): Support FSF-style specification of
6923 match subexpression when applied to a buffer.
6925 2001-03-15 Martin Buchholz <martin@xemacs.org>
6927 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6928 function to modify KEYMAP, so map over a copy of the hash table.
6930 2001-03-21 Martin Buchholz <martin@xemacs.org>
6932 * XEmacs 21.2.46 "Urania" is released.
6934 2001-03-20 Dan Holmsand <dan@eyebee.com>
6936 * realpath.c (xrealpath): Make file-truename work with symlinks to
6937 /cygdrive paths on cygwin. Always lowercase drive-letters on
6939 (cygwin_readlink): Don't try to find canonical filename unless
6942 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6944 * ChangeLog: Log GTK merge.
6950 Revert gratuitous whitespace changes from GTK merge.
6952 * emacs.c: Document end of complex #ifdef @ l. 1495.
6955 2001-03-12 Andy Piper <andy@xemacs.org>
6957 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
6958 have to do likewise.
6960 2001-03-12 Andy Piper <andy@xemacs.org>
6962 * sysdep.c: we only support mingw now.
6964 2001-03-09 Andy Piper <andy@xemacs.org>
6966 * unexcw.c (copy_executable_and_dump_data_section): making approx
6967 overrun a warning only.
6969 2001-03-10 William M. Perry <wmperry@aventail.com>
6971 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
6972 satisfy Stephen's identical-after-cpp plea.
6974 2001-03-02 Ben Wing <ben@xemacs.org>
6977 * cmds.c (Fforward_char):
6981 Augment documentation of the most common motion commands to make
6982 note of the shifted-motion support.
6984 2001-03-02 Ben Wing <ben@xemacs.org>
6986 * nt.c (mswindows_fstat):
6987 * nt.c (mswindows_stat):
6988 * search.c (boyer_moore):
6989 Fix compile warnings under Windows.
6991 * sysdep.c (sys_readdir):
6992 Fix buggy filename-conversion code under Mule.
6994 2001-03-09 William M. Perry <wmperry@aventail.com>
7016 * redisplay-output.c:
7022 The Great GTK Merge.
7029 * emacs-widget-accessors.c:
7043 * native-gtk-toolbar.c:
7054 The Great GTK Merge: new files.
7056 2001-02-26 Ben Wing <ben@xemacs.org>
7058 Reapplied Lstream change.
7060 2001-02-26 Ben Wing <ben@xemacs.org>
7062 Undid the last change, since it is more controversial than I
7063 thought. It should be back in at some point soon.
7065 2001-02-25 Ben Wing <ben@xemacs.org>
7068 * callproc.c (Fold_call_process_internal):
7069 * event-msw.c (ntpipe_slurp_reader):
7070 * event-msw.c (ntpipe_shove_writer):
7071 * event-msw.c (winsock_reader):
7072 * event-msw.c (winsock_writer):
7074 * file-coding.c (detect_eol_type):
7075 * file-coding.c (detect_coding_type):
7076 * file-coding.c (determine_real_coding_system):
7077 * file-coding.c (Fdetect_coding_region):
7078 * file-coding.c (decoding_reader):
7079 * file-coding.c (decoding_writer):
7080 * file-coding.c (mule_decode):
7081 * file-coding.c (Fdecode_coding_region):
7082 * file-coding.c (encoding_reader):
7083 * file-coding.c (encoding_writer):
7084 * file-coding.c (mule_encode):
7085 * file-coding.c (Fencode_coding_region):
7086 * file-coding.c (detect_coding_sjis):
7087 * file-coding.c (decode_coding_sjis):
7088 * file-coding.c (encode_coding_sjis):
7089 * file-coding.c (detect_coding_big5):
7090 * file-coding.c (decode_coding_big5):
7091 * file-coding.c (encode_coding_big5):
7092 * file-coding.c (detect_coding_ucs4):
7093 * file-coding.c (decode_coding_ucs4):
7094 * file-coding.c (encode_coding_ucs4):
7095 * file-coding.c (detect_coding_utf8):
7096 * file-coding.c (decode_coding_utf8):
7097 * file-coding.c (encode_coding_utf8):
7098 * file-coding.c (detect_coding_iso2022):
7099 * file-coding.c (decode_coding_iso2022):
7100 * file-coding.c (encode_coding_iso2022):
7101 * file-coding.c (decode_coding_no_conversion):
7102 * file-coding.c (encode_coding_no_conversion):
7103 * glyphs-x.c (write_lisp_string_to_temp_file):
7104 * gpmevent.c (tty_get_foreign_selection):
7107 * lstream.c (Lstream_flush_out):
7108 * lstream.c (Lstream_adding):
7109 * lstream.c (Lstream_write_1):
7110 * lstream.c (Lstream_write):
7111 * lstream.c (Lstream_raw_read):
7112 * lstream.c (Lstream_read_more):
7113 * lstream.c (Lstream_read):
7114 * lstream.c (Lstream_unread):
7115 * lstream.c (Lstream_fputc):
7116 * lstream.c (stdio_reader):
7117 * lstream.c (stdio_writer):
7118 * lstream.c (filedesc_reader):
7119 * lstream.c (filedesc_writer):
7120 * lstream.c (lisp_string_reader):
7121 * lstream.c (struct fixed_buffer_stream):
7122 * lstream.c (make_fixed_buffer_input_stream):
7123 * lstream.c (make_fixed_buffer_output_stream):
7124 * lstream.c (fixed_buffer_reader):
7125 * lstream.c (fixed_buffer_writer):
7126 * lstream.c (struct resizing_buffer_stream):
7127 * lstream.c (resizing_buffer_writer):
7128 * lstream.c (dynarr_writer):
7129 * lstream.c (lisp_buffer_reader):
7130 * lstream.c (lisp_buffer_writer):
7132 * lstream.h (lstream_implementation):
7133 * lstream.h (struct lstream):
7135 * process-nt.c (nt_send_process):
7136 * process-unix.c (unix_send_process):
7138 Correct Lstream lossage due to mixing of signed and unsigned
7139 quantities. All Lstream uses of size_t and ssize_t are now a
7140 single signed data type Lstream_data_count. This fixes problems
7141 under Windows with sending large quantities of data to a process,
7142 and may well fix other subtle bugs.
7144 2001-02-23 Martin Buchholz <martin@xemacs.org>
7146 * XEmacs 21.2.45 "Thelxepeia" is released.
7148 2001-02-21 Martin Buchholz <martin@xemacs.org>
7150 * lisp-union.h (XSETINT):
7153 Reverse previous change of 2001-02-06.
7155 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7157 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7159 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7160 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7161 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7162 * regex.c (POS_AS_IN_BUFFER): removed
7163 * regex.c (re_search_2):
7164 * regex.c (re_match_2):
7165 Don't use an offset of 1 when calculating buffer positions, since
7166 `BI_BUF_BEGV' does it already.
7168 2001-02-18 Wim Dumon <wim@easics.be>
7170 * insdel.c (prepare_to_modify_buffer): Also check for
7171 supersession when clash-detection is enabled.
7173 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7175 * regex.c (re_match_2_internal):
7176 Convert temp characters from 'const unsigned char' to 're_char'.
7177 Fix crashing bug with extended characters under mule.
7178 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7179 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7180 font-lock, pdump, and new syntax-table code.
7181 * syntax.c (find_start_of_comment):
7182 (find_end_of_comment):
7184 Fix crashing bugs involving moving beyond end of buffer.
7185 * syntax.c (find_start_of_comment):
7186 Fixed logic to allow proper detection of cases where the same
7187 character is used to end both a two-char comment start and a
7188 two-char comment end sequence. Fixes `(forward-comment -1)'.
7189 * syntax.c (find_start_of_comment):
7190 Return position just past last comment-end character for all cases
7191 (previously was only done for two-char comment-end sequences).
7192 * syntax.c (forward-comment):
7193 Take value returned from `find_end_of_comment', rather than
7195 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7196 Properly deal with BUFFERP (syntax_cache.object)
7198 2001-02-17 Martin Buchholz <martin@xemacs.org>
7200 * alloc.c (Fgarbage_collect):
7201 * alloc.c (make_bit_vector_from_byte_vector):
7202 -Wsign-compare-correctness.
7204 2001-02-16 Martin Buchholz <martin@xemacs.org>
7206 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7207 (XSETCHAR): Likewise.
7208 (XSETOBJ): Likewise.
7210 2001-02-15 Martin Buchholz <martin@xemacs.org>
7212 * mule-canna.c (canna-func-delete_previous):
7213 Rename to canna-func-delete-previous.
7215 2001-02-14 Martin Buchholz <martin@xemacs.org>
7217 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7219 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7221 * font-lock.c (find_context): Fix C++ compile errors introduced by
7224 2001-02-13 Martin Buchholz <martin@xemacs.org>
7226 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7227 pragma, but earlier ones barf on the same pragma.
7229 2001-02-06 Mike Sperber <mike@xemacs.org>
7231 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7232 `configure-mule-lisp-directory'.
7234 2001-02-12 Martin Buchholz <martin@xemacs.org>
7236 Make sure dump-id.c is compiled in the same way as other .c's.
7237 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7238 * dump-id.h: Remove.
7239 * emacs.c: Move dump-id.h into dumper.h.
7240 * dumper.h: Move dump-id.h into dumper.h.
7242 Use standard .c.o rule for building dump-id.o.
7243 Remove preprocessor flags from link command.
7244 Add dump-id.o to ${otherobjs} if PDUMP.
7246 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7248 Port FSF 20.7 syntax table improvements.
7252 Fixups for new syntax table stuff.
7253 * dired.c: Include syntax.c.
7254 (Fdirectory_files): Initialize regex_match_object and
7256 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7257 and Fget_char_property.
7259 Use ported FSF 20.7 syntax table improvements.
7264 2001-02-09 Martin Buchholz <martin@xemacs.org>
7266 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7267 Unixware's enum boolean from sys/types.h.
7269 2001-02-10 Martin Buchholz <martin@xemacs.org>
7271 Fix support for building with latest Purify.
7272 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7273 (PURIFY_FLAGS): Likewise.
7275 2001-02-09 Martin Buchholz <martin@xemacs.org>
7277 * fileio.c (lisp_string_set_file_times): New.
7278 * fileio.c (Fcopy_file): Use it.
7280 (copy-file filename non-ascii-filename t t)
7281 ==> No such file or directory, non-ascii-filename
7283 2001-02-10 Martin Buchholz <martin@xemacs.org>
7285 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7286 USHRT_MAX seems clearer than ~0 anyways.
7288 2001-02-09 Martin Buchholz <martin@xemacs.org>
7290 dumper improvements. Inspired by Olivier.
7291 * dumper.c (pdump_max_align): New.
7292 * dumper.c (pdump_add_entry): Use pdump_max_align.
7293 * dumper.c (pdump_get_entry_list): Likewise.
7294 * dumper.c (pdump_scan_by_alignment): Likewise.
7295 Don't iterate through unnecessary alignments.
7296 * dumper.c (pdump_file_get): No need to align result of malloc().
7297 * dumper.c (pdump_mallocadr): Remove.
7298 The result of malloc() is guaranteed to be maximally aligned.
7299 * dumper.c: s/elmt/elt/g;
7300 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7301 * dumper.c (pdump_alert_undump_object): Likewise.
7302 * dumper.c (pdump_align_table):
7303 Don't support alignments > 64.
7304 Store ALIGNOF's, not shift counts, in table.
7306 2001-02-09 Martin Buchholz <martin@xemacs.org>
7308 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7309 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7310 * systime.h: Use HAVE_UTIME.
7311 * sysdep.c (struct utimbuf): Remove.
7312 * sysdep.c (set_file_times): Prefer utime() to utimes().
7313 * config.h.in (HAVE_UTIME): New.
7314 * config.h.in (HAVE_UTIME_H): Remove.
7315 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7317 2001-02-09 Martin Buchholz <martin@xemacs.org>
7319 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7321 2001-02-08 Martin Buchholz <martin@xemacs.org>
7323 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7325 2001-02-08 Martin Buchholz <martin@xemacs.org>
7327 * XEmacs 21.2.44 "Thalia" is released.
7329 2001-02-06 Martin Buchholz <martin@xemacs.org>
7331 Fixes crashes in kill-emacs on some systems.
7332 * process-unix.c (unix_kill_child_process):
7333 It's OK for kill() to fail with ESRCH.
7335 2001-02-07 Martin Buchholz <martin@xemacs.org>
7337 Contortions to make .gdbinit tricks work on most systems.
7338 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7339 * alloc.c (dbg_valmask): Make non-const.
7340 * alloc.c (dbg_typemask): Make non-const.
7341 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7342 * alloc.c (dbg_valbits): Make non-const.
7343 * alloc.c (dbg_gctypebits): Make non-const.
7344 * .gdbinit (decode_object): Make it work with AIX cc.
7346 2001-02-06 Martin Buchholz <martin@xemacs.org>
7348 * elhash.c (make_general_lisp_hash_table):
7349 Use simpler and more efficient calloc to clear entries.
7351 2001-02-07 Martin Buchholz <martin@xemacs.org>
7353 * window.c (window_scroll): Work around an AIX C compiler bug.
7354 Fixes 'scroll-up' does nothing problem with xlC.
7356 2001-02-05 Martin Buchholz <martin@xemacs.org>
7358 * .gdbinit: Remove obsolete comment.
7360 2001-01-31 Mike Alexander <mta@arbortext.com>
7362 * select.c (Fown_selection_internal): Set owned_p for device
7365 2001-02-01 Martin Buchholz <martin@xemacs.org>
7368 "not" cannot be used as a macro name as it is an operator in C++
7369 * config.h.in: Stop #defining `not'.
7370 * chartab.c (check_category_char): not ==> not_p
7371 * chartab.h: Likewise.
7372 * regex.c (re_match_2_internal): Likewise.
7374 2001-02-02 Martin Buchholz <martin@xemacs.org>
7376 * lisp-disunion.h: Fix up comments.
7378 2001-01-31 Martin Buchholz <martin@xemacs.org>
7380 * keymap.c (define_key_check_and_coerce_keysym):
7382 Support mouse-6 and mouse-7 bindings in the obvious way.
7384 2001-02-01 Martin Buchholz <martin@xemacs.org>
7386 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7388 2001-01-30 Martin Buchholz <martin@xemacs.org>
7390 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7391 Previous patch missed DEFVAR_INT_MAGIC.
7392 Make sure future DEFVAR_foo use correct types.
7393 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7394 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7395 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7396 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7397 * (DEFVAR_INT): Likewise.
7398 * redisplay.c (vertical_clip): Should be of type Fixnum.
7399 * redisplay.c (horizontal_clip): Likewise.
7400 * lisp.h (dump_add_opaque_int): New.
7401 (dump_add_opaque_fixnum): New.
7403 2001-01-29 Andy Piper <andy@xemacs.org>
7405 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7406 since they can be eval'ed
7408 2001-01-29 Martin Buchholz <martin@xemacs.org>
7410 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7411 Oops, XEmacs redefines `class'. Use `typename' instead.
7413 2001-01-28 Martin Buchholz <martin@xemacs.org>
7415 * dumper.c: Fix C++ compile errors.
7417 2001-01-29 Martin Buchholz <martin@xemacs.org>
7419 * tparam.c: Use correct prototypes.
7421 2001-01-28 Martin Buchholz <martin@xemacs.org>
7423 * sysproc.h: #include util.h for NetBSD's openpty.
7425 2001-01-27 Martin Buchholz <martin@xemacs.org>
7427 More 64-bit correctness.
7428 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7429 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7431 This finally finishes the 64-bit SGI port.
7432 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7433 * symbols.c: Fix up comments and type casts.
7434 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7435 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7436 * symeval.h (Fixnum): New type.
7437 * symeval.h (symbol_value_type): Fix up comment.
7453 * mule-canna.c: A million DEFVAR_INTs here...
7454 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7467 s/int/Fixnum/g in DEFVAR_INT declarations.
7469 2001-01-26 Martin Buchholz <martin@xemacs.org>
7471 Port pdump to SGI alignment-sensitive environment.
7472 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7473 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7475 Define and use aligned reading and writing macros.
7476 Use buffered stdio instead of posix i/o for faster dumping.
7477 Eliminate kludgy 256 byte space for header.
7478 Read and write from dump file using structs for alignment safety.
7479 * dumper.c (pdump_align_stream): New.
7480 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7481 * dumper.c (PDUMP_READ_ALIGNED): New.
7482 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7483 * dumper.c (pdump_static_Lisp_Object): New struct.
7484 * dumper.c (pdump_static_pointer): New struct.
7485 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7486 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7487 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7488 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7490 * dumper.c (pdump_backtrace):
7491 * dumper.c (pdump_get_indirect_count):
7492 * dumper.c (pdump_register_object):
7493 * dumper.c (pdump_register_struct):
7494 * dumper.c (pdump_reloc_one):
7495 * dumper.c (pdump_scan_by_alignment):
7496 * dumper.c (pdump_dump_from_root_struct_ptrs):
7497 * dumper.c (pdump_dump_opaques):
7498 * dumper.c (pdump_dump_rtables):
7499 * dumper.c (pdump_dump_from_root_objects):
7501 * dumper.c (pdump_load_finish):
7502 Use aligned reading and writing.
7504 * dumper.c (pdump_free): Make static.
7505 * dumper.c (pdump_hFile): Likewise.
7506 * dumper.c (pdump_hMap): Likewise.
7508 2001-01-26 Martin Buchholz <martin@xemacs.org>
7510 * XEmacs 21.2.43 "Terspichore" is released.
7512 2001-01-25 Martin Buchholz <martin@xemacs.org>
7514 Type fiddling for window_config.saved_windows_count
7515 * window.c (struct window_config):
7516 Make saved_windows_count member unsigned.
7517 * window.c (sizeof_window_config_for_n_windows):
7518 Make parameter unsigned.
7519 * window.c (mark_window_config):
7520 * window.c (window_config_equal):
7521 * window.c (free_window_configuration):
7522 * window.c (Fset_window_configuration):
7523 * window.c (count_windows):
7524 * window.c (Fcurrent_window_configuration):
7525 * window.c (reinit_vars_of_window):
7526 Update all callers and users.
7528 2001-01-25 Martin Buchholz <martin@xemacs.org>
7530 Alignment correctness for flexible arrays.
7531 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7532 Make alignment-correct. Add interesting comments.
7533 * alloc.c (size_vector):
7534 * alloc.c (make_vector_internal):
7535 * alloc.c (make_bit_vector_internal):
7536 * alloc.c (sweep_bit_vectors_1):
7537 * fns.c (size_bit_vector):
7538 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7539 * window.c (sizeof_window_config_for_n_windows):
7540 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7542 2001-01-24 Martin Buchholz <martin@xemacs.org>
7544 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7546 2001-01-23 Andy Piper <andy@xemacs.org>
7548 * select.c (Fown_selection_internal): pass owned_p
7550 * select-msw.c (mswindows_own_selection): New Signature.
7552 * console.h (struct console_methods): add owned_p to
7555 * select-x.c (x_own_selection): pass owned_p
7556 (hack_motif_clipboard_selection): use owned_p
7557 (vars_of_select_x): new variable -
7558 x_selection_strict_motif_ownership.
7560 2001-01-23 Martin Buchholz <martin@xemacs.org>
7562 * specifier.h (specifier_data_offset): Remove pointless parens.
7563 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7565 2001-01-24 Martin Buchholz <martin@xemacs.org>
7567 Make Lisp_Object sizeof methods be alignment-correct.
7568 pdump must restore objects to the same alignment as the C compiler
7569 assumes. It really matters on SGIs.
7570 * lstream.c (aligned_sizeof_lstream): New.
7571 (sizeof_lstream): Use aligned_sizeof_lstream.
7572 (Lstream_new): Likewise.
7573 * opaque.c (aligned_sizeof_opaque): New.
7574 (sizeof_opaque): Use aligned_sizeof_opaque.
7575 (make_opaque): Likewise.
7576 * specifier.c (aligned_sizeof_specifier): New.
7577 (sizeof_specifier): Use aligned_sizeof_specifier.
7578 (make_specifier_internal): Likewise.
7580 2001-01-23 Martin Buchholz <martin@xemacs.org>
7582 * lstream.h (struct lstream): Use max_align_t for trailing data.
7583 * specifier.h (struct Lisp_Specifier): Likewise.
7585 2001-01-22 Martin Buchholz <martin@xemacs.org>
7587 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7588 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7589 (CCL_SUSPEND): Likewise.
7590 (CCL_INVALID_CMD): Likewise.
7591 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7592 (ccl_driver): Likewise.
7593 (CCL_WRITE_CHAR): Macro hygiene.
7594 (CCL_WRITE_STRING): Macro hygiene.
7596 2001-01-22 Martin Buchholz <martin@xemacs.org>
7598 Port "portable" dumper to SunOS 4 and HP-UX.
7599 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7600 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7601 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7603 2001-01-22 Martin Buchholz <martin@xemacs.org>
7605 * lisp.h (ALIGNOF): A better definition for C++.
7607 2001-01-20 Martin Buchholz <martin@xemacs.org>
7610 Fix printf warnings: int format, long int arg.
7611 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7612 (PUSH_FAILURE_POINT): Use correct printf formats.
7613 (POP_FAILURE_POINT): Use correct printf formats.
7614 Use do {...} while (0)
7616 2001-01-20 Martin Buchholz <martin@xemacs.org>
7618 * XEmacs 21.2.42 "Poseidon" is released.
7620 2001-01-20 Martin Buchholz <martin@xemacs.org>
7622 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7624 2001-01-19 Martin Buchholz <martin@xemacs.org>
7626 De-kludgify FIXED_TYPE free list frobbing.
7627 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7628 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7629 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7630 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7631 * alloc.c (LRECORD_FREE_P): New.
7632 * alloc.c (MARK_LRECORD_AS_FREE): New.
7633 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7634 * alloc.c (STRUCT_FREE_P): Deleted.
7635 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7636 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7637 * alloc.c (STRING_CHARS_FREE_P): New.
7638 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7639 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7640 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7641 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7642 * alloc.c (resize_string): Use new definitions.
7643 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7644 * alloc.c (verify_string_chars_integrity): Use new definitions.
7645 * alloc.c (compact_string_chars): Use new definitions.
7646 * alloc.c: Update monster comments.
7647 * lrecord.h (lrecord_type): Add some new lrecord types for
7650 2001-01-18 Martin Buchholz <martin@xemacs.org>
7652 Improve alignment hackery.
7653 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7654 (max_align_t): Moved from opaque.h - general purpose.
7655 (ALIGN_PTR): Use size_t, not long.
7656 * opaque.h (max_align_t): Move to lisp.h.
7658 2001-01-18 Norbert Koch <nk@LF.net>
7660 * gui.h: Fix and add prototypes to fix build problems.
7662 2001-01-18 Martin Buchholz <martin@xemacs.org>
7664 temacs is going away, so `dump-temacs' is now a bad name.
7665 * .dbxrc (dump-temacs): Rename to `dmp'.
7666 * .gdbinit (dump-temacs): Rename to `dmp'.
7668 2001-01-17 Andy Piper <andy@xemacs.org>
7670 * glyphs.c (print_image_instance): comment to make martin happy.
7672 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7675 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7677 (mswindows_tab_control_redisplay): warning suppression.
7679 * glyphs-widget.c (widget_update): re-write to cope with updated
7681 (widget_instantiate): use new gui_item functions.
7682 (tab_control_update): deleted.
7683 (progress_gauge_update): deleted.
7684 (image_instantiator_progress_guage): take out update reference.
7685 (image_instantiator_tree_view): ditto.
7686 (image_instantiator_tab_control): ditto.
7688 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7690 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7691 return whether anything was changed.
7692 (update_gui_item_keywords): as it sounds.
7694 * gui.h: declare widget_gui_parse_item_keywords.
7696 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7697 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7699 2001-01-17 Martin Buchholz <martin@xemacs.org>
7701 * XEmacs 21.2.41 "Polyhymnia" is released.
7703 2001-01-16 Didier Verna <didier@xemacs.org>
7705 * glyphs.c (image_instantiate): don't use fallbacks when
7706 instantiating a face's background pixmap by inheritance.
7708 2001-01-14 Mike Sperber <mike@xemacs.org>
7710 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7711 Conditionalize accordingly.
7713 2001-01-16 Martin Buchholz <martin@xemacs.org>
7715 * dumper.c (pdump_file_get): Fix a compiler warning.
7717 2001-01-15 Martin Buchholz <martin@xemacs.org>
7719 Make Purify happy when pdumping.
7720 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7721 iniitalizing all bits of new lisp object memory.
7722 * symbols.c (Fmake_local_variable): Likewise.
7723 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7724 * symbols.c (Fdefvaralias): Likewise.
7725 * mule-charset.c (vars_of_mule_charset): Likewise.
7727 2001-01-15 Martin Buchholz <martin@xemacs.org>
7728 Add the `-nd' flag when running pre-dump operations under the debugger.
7729 * .dbxrc (run-temacs): Add `-nd'.
7730 * .dbxrc (update-elc): Likewise.
7731 * .dbxrc (dump-temacs): Likewise.
7732 * .gdbinit (run-temacs): Likewise.
7733 * .gdbinit (check-temacs): Likewise.
7734 * .gdbinit (update-elc): Likewise.
7735 * .gdbinit (dump-temacs): Likewise.
7737 2001-01-14 Martin Buchholz <martin@xemacs.org>
7739 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7740 export OBJECT_MODE=64
7741 configure --pdump --use-union-type=no
7742 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7743 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7745 * miscplay.c (sndcnv8U_2mono):
7746 Avoid two uses of `++' in the same expression.
7747 Suppresses a GCC warning.
7749 2001-01-13 Martin Buchholz <martin@xemacs.org>
7751 Make sure future compilers don't miscompile alloc.c.
7753 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7754 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7756 2001-01-12 Martin Buchholz <martin@xemacs.org>
7758 * dumper.c: A little post-pdump-rename comment fixup.
7760 2001-01-09 Jerry James <james@eecs.ku.edu>
7762 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7764 2001-01-13 Martin Buchholz <martin@xemacs.org>
7766 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7770 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7773 replace_symbol pdump_wire_lists pdump_weak_object_chains
7774 replace_symbol pdump_wire_list dump_add_weak_object_chain
7776 replace_symbol pdump_wires pdump_root_objects
7777 replace_symbol pdump_wire dump_add_root_object
7779 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7780 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7782 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7783 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7784 replace_symbol dumpstructinfo pdump_root_struct_ptr
7785 replace_symbol dumpstruct dump_add_root_struct_ptr
7787 replace_symbol dumpopaque dump_add_opaque
7788 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7789 replace_symbol dumpopaqueinfos pdump_opaques
7790 replace_symbol dumpopaqueinfo pdump_opaque
7792 replace_symbol nb_structdump nb_root_struct_ptrs
7793 replace_symbol nb_opaquedump nb_opaques
7795 replace_symbol align_table pdump_align_table
7796 replace_symbol dump_header pdump_header
7798 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7799 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7802 2001-01-12 Martin Buchholz <martin@xemacs.org>
7804 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7805 optimizing bytecount_to_charcount().
7807 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7810 (HAVE_DLFCN_H): Removed.
7811 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7813 2001-01-06 Martin Buchholz <martin@xemacs.org>
7815 Portable dumper maintainability improvements.
7816 * alloc.c (staticpro):
7817 * alloc.c (staticpro_nodump):
7818 * alloc.c (garbage_collect_1):
7819 * alloc.c (reinit_alloc_once_early):
7820 * alloc.c (init_alloc_once_early):
7821 * alloc.c: Move dumper functions to alloc.c.
7822 * dumper.c (pdump_backtrace):
7823 * dumper.c (pdump_dump_structs):
7824 * dumper.c (pdump_dump_opaques):
7825 * dumper.c (pdump_dump_rtables):
7826 * dumper.c (pdump_dump_wired):
7828 * dumper.c (pdump_load_check):
7829 * dumper.c (pdump_load_finish):
7830 * dumper.c (pdump_file_unmap):
7831 * dumper.c (pdump_file_get):
7832 * dumper.c (pdump_resource_free):
7833 * dumper.c (pdump_resource_get):
7834 * dumper.c (pdump_file_free):
7835 * dumper.c (pdump_file_try):
7836 * dumper.c (pdump_load):
7837 Remove fixed size limits on staticpro(), staticpro_nodump(),
7838 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7839 Remove custom code for dumping lrecord_implementations_table - use
7841 Remove (most of the) custom code for dumping staticpros - dump it
7842 like any other dynarr.
7844 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7845 * dumper.c: Moved functions from alloc.c.
7846 * alloc.c (dumpstruct): Moved to dumper.c.
7847 * alloc.c (dumpopaque): Likewise.
7848 * alloc.c (pdump_wire): Likewise.
7849 * alloc.c (pdump_wire_list): Likewise.
7851 * lisp.h (Dynarr_sizeof): New.
7852 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7853 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7854 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7856 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7857 * lisp.h (dumpopaque): ditto.
7858 * lisp.h (pdump_wire): ditto.
7859 * lisp.h (pdump_wire_list): ditto.
7861 2001-01-09 Martin Buchholz <martin@xemacs.org>
7863 * make-src-depend (PrintPatternDeps):
7864 Use `sort' to make output independent of perl version.
7866 2001-01-08 Martin Buchholz <martin@xemacs.org>
7869 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7870 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7872 2001-01-03 Didier Verna <didier@xemacs.org>
7874 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7875 that `focus_frame' is alive before thinking of calling
7876 `redisplay_redraw_cursor' on it.
7878 2001-01-08 Martin Buchholz <martin@xemacs.org>
7880 * XEmacs 21.2.40 is released.
7882 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7884 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7886 2001-01-06 Martin Buchholz <martin@xemacs.org>
7888 * alloc.c (dbg_valmask): Make const.
7889 * alloc.c (dbg_typemask): Make const.
7890 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7891 * alloc.c (dbg_valbits): Make const.
7892 * alloc.c (dbg_gctypebits): Make const.
7894 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7896 * redisplay-x.c (x_bevel_area):
7897 redisplay.h (struct rune):
7898 Typo fixes in comments.
7900 2001-01-05 Andy Piper <andy@xemacs.org>
7902 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7905 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7907 2001-01-05 Martin Buchholz <martin@xemacs.org>
7909 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7911 * mule-ccl.c (stack_idx_of_map_multiple):
7912 Non const global data must not be initialized!
7913 Found by MIYASHITA Hisashi.
7915 2001-01-02 Andy Piper <andy@xemacs.org>
7917 * frame.c (change_frame_size): make sure frame size is always
7920 * glyphs.c (image_instance_layout): minor code reuse.
7922 * window.c (Fcurrent_window_configuration): revert previous
7925 2001-01-02 Martin Buchholz <martin@xemacs.org>
7928 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7930 2000-12-31 Andy Piper <andy@xemacs.org>
7932 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7933 when widget gets unmapped.
7935 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7936 function. Make sure widgets losing focus don't just drop it.
7937 (handle_focus_event_1): record the widget with focus.
7939 2000-12-31 Andy Piper <andy@xemacs.org>
7941 * window.c (allocate_window): use
7942 make_image_instance_cache_hash_table.
7943 (make_dummy_parent): ditto.
7944 (Fset_window_configuration): ditto.
7946 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
7948 * glyphs.c (process_image_string_instantiator): use
7950 (get_image_instantiator_governing_domain): ditto.
7951 (normalize_image_instantiator): ditto.
7952 (instantiate_image_instantiator): ditto.
7953 (make_image_instance_1): ditto.
7954 (image_instantiate): ditto. Key on glyph *and* instantiator type.
7955 (instantiator_eq_equal): new function for use with instance hash
7957 (instantiator_eq_hash): ditto.
7958 (make_image_instance_cache_hash_table): create a suitable hash
7959 table for storing image instances.
7961 * elhash.h (hash_table_weakness): new internal weakness type
7962 HASH_TABLE_KEY_CAR_VALUE_WEAK.
7963 declare new functions.
7965 * elhash.c (finish_marking_weak_hash_tables): introduce yet
7966 another weakness type for glyphs.
7967 (make_standard_lisp_hash_table): new function split out from
7968 make_general_lisp_hash_table.
7969 (make_lisp_hash_table): call make_standard_lisp_hash_table.
7970 (hash_table_instantiate): ditto.
7971 (Fmake_hash_table): ditto.
7973 2000-12-31 Martin Buchholz <martin@xemacs.org>
7975 * XEmacs 21.2.39 is released.
7977 2000-12-29 Andy Piper <andy@xemacs.org>
7979 * menubar.c (menubar_visible_p_changed): signal the frame changed.
7981 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
7982 the frame has changed so that we pick up geometry changes such as
7985 2000-12-28 Andy Piper <andy@xemacs.org>
7987 * lastfile.c (my_ebss): make a char array so we can pad the
7988 bss. Fixes cygwin unexec.
7990 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
7992 2000-12-26 Andy Piper <andy@xemacs.org>
7994 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
7995 comments and try and be more precise about a non-/SIGIO world.
7996 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
7999 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8000 we don't normalize to zero width or height.
8002 2000-12-24 Andy Piper <andy@xemacs.org>
8004 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8006 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8008 * s/sco5.h: SCO 5 has pty support.
8010 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8012 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8013 input-method-xlib.c contains whole contents of input-method-xfs.c,
8014 so we can use input-method-xlib.c's code for USE_XFONTSET
8016 * input-method-xfs.c: removed.
8018 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8020 * file-coding.h (enum coding_category_type): reorder enumerators to
8021 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8022 (now one greater than largest real coding_category_type enumerator).
8023 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8024 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8025 Fcoding_category_list, Fset_coding_priority_list,
8026 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8027 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8029 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8031 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8032 * redisplay-output.c (redisplay_output_window): Clear top of window
8033 when face is changed.
8034 * redisplay-x.c (x_redraw_exposed_window): Call
8035 redisplay_clear_top_of_window.
8036 * redisplay.h: Publish redisplay_clear_top_of_window.
8038 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8040 * buffer.c (Fkill_buffer): Map over all devices.
8041 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8042 (list_windows): New function.
8043 (list_all_windows): Ditto.
8044 (Freplace_buffer_in_windows): Use them.
8046 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8048 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8049 (Fopen_database): Use `db_create' instead of `db_open'.
8050 (syms_of_database): Initialize Qqueue.
8052 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8054 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8055 buffer_local_face_property.
8056 * buffer.h (struct buffer): New member buffer_local_face_property.
8057 * window.c (Fset_window_buffer): Mark window's face as changed
8058 when buffer has buffer local face.
8059 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8060 * objects.c (color_after_change): Set buffer_local_face_property
8061 when locale of face specifier is buffer.
8062 * objects.c (font_after_change): Ditto.
8063 * objects.c (face_boolean_after_change): Ditto.
8064 * glyphs.c (image_after_change): Ditto.
8066 2000-12-09 Dan Holmsand <dan@eyebee.com>
8068 * nt.c (mswindows_fstat): Report file permissions, volume serial
8069 number, etc. Code adapted from FSF Emacs 20.7.
8071 2000-12-09 Dan Holmsand <dan@eyebee.com>
8073 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8074 of stat when we don't have symbolic links, to make sure
8075 mswindows_stat is called on mswindows.
8077 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8079 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8081 2000-12-12 Martin Buchholz <martin@xemacs.org>
8083 * doprnt.c (emacs_doprnt_1): More printing fixes.
8084 Make printing of numbers compatible with libc and FSF Emacs.
8085 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8086 Use the system printf to do most of the hard work of formatting,
8087 instead of doprnt_1().
8088 Calculate memory to allocate for format string.
8089 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8090 (doprnt_1): Cleaner code and documentation.
8092 2000-12-01 Jerry James <james@eecs.ukans.edu>
8094 * Makefile.in.in: Use the loop variable to install headers.
8096 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8098 * window.c (Fsplit_window): Don't invalidate face cache.
8100 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8102 * minibuf.c (Fall_completions): Undo the previous change
8103 which removed checking elements start with space.
8105 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8107 * mule-canna.c: Didier suppression.
8109 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8111 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8112 (warning suppression). Add English comment translations.
8114 2000-12-05 Martin Buchholz <martin@xemacs.org>
8116 * unexelfsgi.c (unexec): Better test for mmap failure.
8118 2000-12-05 Martin Buchholz <martin@xemacs.org>
8120 * XEmacs 21.2.38 is released.
8122 2000-12-05 Martin Buchholz <martin@xemacs.org>
8124 * redisplay.c (bar-cursor): Make a user variable.
8126 * symsinit.h: Add init_postgresql_from_environment.
8128 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8130 * regex.c: Convert to clean C.
8132 2000-12-05 Dan Holmsand <dan@eyebee.com>
8135 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8137 (sys_readlink): renamed to system_readlink to avoid conflict with
8138 the other sys_readlink.
8140 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8142 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8144 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8146 * postgresql.c (init_postgresql_from_environment): new function.
8147 (vars_of_postgresql): Move code initializing Lisp variables out and
8148 into init_postgresql_from_environment.
8149 emacs.c (main_1): Call init_postgresql_from_environment if and only
8150 if running a dumped XEmacs.
8152 2000-08-31 Dan Holmsand <dan@eyebee.com>
8154 * buffer.c: Make find-file-compare-truenames default to true on
8157 * realpath.c (win32_abs_start):
8159 (win32_readlink): New functions.
8160 (xrealpath): Return really real filenames on windows.
8162 * fileio.c (Ffile_truename): Make file-truename work on windows.
8164 2000-11-29 Didier Verna <didier@xemacs.org>
8166 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8167 * faces.c (update_face_cachel_data): use it.
8168 * faces.c (add_face_cachel): use it. Complete background pixmap
8169 frobbing in face cache if `update_face_cachel_data' has not done so.
8171 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8173 * search.c (string_match_1): Don't set last_thing_searched
8176 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8178 * buffer.c: Include casetab.h
8179 (common_init_complex_vars_of_buffer): Use new case-table object.
8180 * buffer.h: Include casetab.h
8181 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8182 (DOWNCASE_TABLE_OF): Ditto.
8183 * bufslots.h: Remove char-tables and add case-table.
8184 * casetab.c: Include casetab.h
8185 (CASE_TABLE_P): Removed.
8186 (mark_case_table): New function.
8187 (allocate_case_table): New function.
8188 (Fcase_table_p): Use new case-table.
8189 (case_table_char): New function.
8190 (Fget_case_table): Ditto.
8191 (Fput_case_table): Ditto.
8192 (Fput_case_table_pair): Ditto.
8193 (Fcopy_case_table): Ditto.
8194 (Fcurrent_case_table): Return case-table.
8195 (Fstandard_case_table): Return case-table.
8196 (Fset_case_table): Fix doc-string.
8197 (set_case_table): Use case-table
8198 (syms_of_casetab): DEFSUBR new functions.
8199 (complex_vars_of_casetab): Set up standard case-table.
8200 * casetab.h: New file.
8201 * editfns.c: Include casetab.h
8202 (Fcompare_buffer_substrings): Use case-table.
8203 * inline.c: Include casetab.h
8204 * lisp.h: Remove bogus extern.
8205 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8206 * search.c: Include casetab.h
8207 (TRANSLATE_ASCII): Removed.
8208 (TRANSLATE): Unconditionally translate character.
8209 (looking_at_1): Use case-table.
8210 (string_match_1): Ditto.
8211 (fast_string_match): Ditto.
8212 (search_command): Ditto.
8213 (search_buffer): Separate boyer_moore. Check whether
8214 boyer_moore is possible.
8215 (simple_search): New function.
8216 (boyer_moore): Separated from search_buffer. Translate char.
8218 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8220 * regex.c (RE_TR_ASCII): Removed.
8221 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8222 (PATFETCH): Call PATFETCH_RAW.
8223 (PATFETCH_RAW): Fetch Emchar.
8224 (PATUNFETCH): Decrement charptr.
8225 (GET_BUFFER_SPACE): Rename b to buf_end.
8227 (BUF_PUSH_2): Ditto.
8228 (BUF_PUSH_3): Ditto.
8229 (EXTEND_BUFFER): Ditto.
8230 (SET_LIST_BIT): Ditto.
8231 (regex_compile): Ditto. Translate non ASCII char.
8232 (compile_range): Ditto.
8233 (re_search_2): Ditto.
8234 (re_match_2_internal): Compare Emchar.
8235 (bcmp_translate): Ditto.
8237 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8239 * lisp.h (basic char/int typedefs): comment improvement.
8241 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8243 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8244 unstomp inhibit_site_lisp. Improve comments.
8246 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8248 * mule-charset.c (Fcharset_property): improve type checking, comments.
8250 2000-11-28 Andy Piper <andy@xemacs.org>
8252 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8253 clipped display for windows in the gutter also.
8254 (redisplay_display_boxes_in_window_p): change semantics of return
8255 codes to be more intuitive.
8257 * gutter.h: declare display_boxes_in_gutter_p.
8259 * gutter.c (display_boxes_in_gutter_p): new function for
8262 2000-11-22 Andy Piper <andy@xemacs.org>
8264 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8267 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8269 * callproc.c (Fold_call_process_internal):
8270 * gpm.c (Freceive_gpm_event):
8271 (tty_get_foreign_selection): Might be just warning supression.
8272 * fileio.c (Fwrite_region_internal):
8273 (Fset_visited_file_modtime):
8274 * keymap.c (event_matches_key_specifier_p):
8275 Initialize GCPROed variable.
8277 * menubar-x.c (command_builder_find_menu_accelerator):
8278 Initialize before use.
8280 2000-11-23 Andy Piper <andy@xemacs.org>
8282 * unexcw.c (unexec): make the resulting executable executable.
8284 2000-11-21 Martin Buchholz <martin@xemacs.org>
8286 * doc.c (get_doc_string):
8287 Use size_t, not int, for result of XSTRING_LENGTH.
8289 * cmds.c (Fdelete_char):
8290 * cmds.c (Fpoint_at_eol):
8291 * cmds.c (Fself_insert_command):
8292 Use EMACS_INT, not int, for result of XINT.
8293 Someday, someone will want to insert more than 2**31 identical characters.
8295 * cmds.c (Fdelete_char):
8296 * cmds.c (Fdelete_backward_char):
8297 * syntax.c (Fforward_word):
8298 * syntax.c (Fforward_comment):
8299 Make COUNT argument optional, for consistency with forward-char et al.
8301 2000-11-22 Martin Buchholz <martin@xemacs.org>
8304 * print.c (long_to_string):
8305 Return a useful value: the pointer at end of data written.
8308 Use `static const char * const' for constant strings.
8309 (union printf_arg): Delete `i', `ui' members.
8312 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8313 Do all printf-ing via the `l' specifier.
8314 Use EMACS_INT instead of int.
8317 2000-11-20 Didier Verna <didier@xemacs.org>
8319 * faces.c (update_face_cachel_data): don't frob the background
8320 pixmap when the window is being created. The face is needed but
8323 2000-11-20 Andy Piper <andy@xemacs.org>
8325 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8326 messing with a debug environment.
8328 2000-11-20 Martin Buchholz <martin@xemacs.org>
8330 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8332 2000-11-20 Martin Buchholz <martin@xemacs.org>
8334 * casetab.c (Fcase_table_p): Fix compile error and crash.
8336 2000-11-18 Philip Aston <philipa@mail.com>
8338 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8340 2000-11-18 Martin Buchholz <martin@xemacs.org>
8342 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8343 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8345 2000-11-17 Martin Buchholz <martin@xemacs.org>
8347 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8348 * unexelf.c: Use HAVE_ELF_H.
8349 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8350 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8351 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8352 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8354 So this is an unexelfsgi.c from a different line of development.
8356 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8358 * regex.c (RE_TR_ASCII): New function.
8359 (RE_TRANSLATE): Call it.
8361 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8363 * buffer.h (TRT_TABLE_OF): Remove assert.
8364 (IN_TRT_TABLE_DOMAIN): Removed.
8366 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8368 * free-hook.c (log_gcpro):
8369 (show_gcprohist): Add support for GCPRO5.
8371 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8373 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8375 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8377 * symeval.h: Declare flush_all_buffer_local_cache.
8379 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8380 (flush_buffer_local_cache): Added.
8381 (flush_all_buffer_local_cache): Added.
8383 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8385 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8386 (pdump_dump_data): Ditto.
8387 (pdump_reloc_one): Ditto.
8388 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8392 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8394 * buffer.c: Remove if 0'ed entry.
8395 * buffer.h: Rewrite TRT to use char-table.
8396 * bufslots.h: Remove mirror tables.
8397 * casetab.c: Remove mirror tables.
8398 (CASE_TABLE_P): New macro.
8399 (Fcase_table_p): Element of a case table is string or char-table.
8400 (make_mirror_trt_table): Removed.
8401 (set_case_table): Setup char-table from strings for backward
8403 * dired.c (Fdirectory_files):
8404 * dired-msw.c: (mswindows_get_files):
8405 * lisp.h: Change prototype of re_pattern_buffer.
8406 * regex.c: (RE_TRANSLATE): New macro.
8407 (TRANSLATE_P): Ditto.
8408 Change translate to type RE_TRANSLATE_TYPE.
8409 * regex.h: Define RE_TRANSLATE_TYPE
8410 * search.c (TRANSLATE): New macro.
8411 (TRANSLATE_ASCII): New macro.
8412 Translate table is changed to Lisp_Object.
8413 (signal_failure): Inhibit return.
8415 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8422 Do UNGCPRO before return.
8424 2000-11-14 Martin Buchholz <martin@xemacs.org>
8426 * XEmacs 21.2.37 is released.
8428 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8430 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8431 Add comments about discarded return value.
8433 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8436 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8438 2000-10-27 Andy Piper <andy@xemacs.org>
8440 * gutter.c (Fset_default_gutter_position): default left and right
8442 (calculate_gutter_size): calculate resonable heuristic for left
8443 and right gutter sizes.
8444 (specifier_vars_of_gutter): change left and right gutter sizes to
8446 (calculate_gutter_size_from_display_lines): new function.
8447 (output_gutter): check for resizing on left and right gutters.
8448 (clear_gutter): don't special case top and left gutters.
8449 (specifier_vars_of_gutter): use new signature for
8450 set_specifier_caching.
8452 * glyphs-x.c (x_redisplay_widget): spelling fix.
8453 * glyphs.c (specifier_vars_of_glyphs):
8454 * menubar.c (specifier_vars_of_menubar):
8455 * redisplay.c (specifier_vars_of_redisplay):
8456 * toolbar.c (specifier_vars_of_toolbar):
8457 * window.c (specifier_vars_of_window):
8458 * scrollbar.c (specifier_vars_of_scrollbar):
8459 (complex_vars_of_scrollbar): use new signature for
8460 set_specifier_caching.
8462 * specifier.c (set_specifier_caching): include recompute flag.
8463 (recompute_one_cached_specifier_in_window): always recompute if
8465 (recompute_one_cached_specifier_in_frame): ditto.
8467 * specifier.h (struct specifier_caching): add recompute flag.
8469 2000-10-24 Andy Piper <andy@xemacs.org>
8471 * unexcw.c (copy_executable_and_dump_data_section): add new
8472 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8475 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8477 * console-x.h (x_device): New member modifier_release_time.
8478 * event-Xt.c (x_handle_sticky_modifiers):
8479 Bound interval modifier keys are sticky.
8480 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8481 * events.h: extern it.
8483 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8485 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8487 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8489 * event-stream.c (execute_command_event): Preserve current_events
8490 and the like when event is misc-user-event.
8491 Inhibit quit during the call to maybe_echo_keys.
8493 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8495 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8496 symlink when buffer is killed.
8497 (inhibit_clash_detection): New variable.
8499 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8501 * console.c (Fset_input_method): Trigger redisplay on tty.
8503 2000-11-07 Martin Buchholz <martin@xemacs.org>
8505 * process.c (Fprocess_status): Revert to previous behavior:
8506 (process-status "nosuchprocess") ==> nil
8508 2000-11-06 Martin Buchholz <martin@xemacs.org>
8510 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8511 Work around another GCC 2.95.2 optimizer bug.
8513 2000-11-02 Martin Buchholz <martin@xemacs.org>
8515 * process.c (Fget_process): Use LIST_LOOP_2.
8516 (kill_buffer_processes): Use LIST_LOOP_2.
8518 * minibuf.c (Fall_completions):
8519 Delete old non-functional code for FSF fourth argument.
8521 * frame.c (frame_matches_frame_spec):
8522 Renamed from `frame_matches_frametype'. Update all callers.
8523 (device_matches_device_spec):
8524 Renamed from 'device_matches_console_spec'. Update all callers.
8526 * doc.c (Fsubstitute_command_keys):
8527 Remove buffer overflow crash. Small code cleanups.
8529 * casetab.c (check_case_table): Simpler code.
8531 * window.c (Freplace_buffer_in_windows):
8532 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8533 (and similar implementation) as Fdelete_windows_on.
8536 * alloc.c (Fmake_list):
8537 * alloc.c (make_vector):
8538 * alloc.c (Fmake_vector):
8539 * alloc.c (make_bit_vector):
8540 * alloc.c (Fmake_bit_vector):
8541 * alloc.c (Fbit_vector):
8542 * alloc.c (Fmake_string):
8543 * alloc.c (Fpurecopy):
8544 * alloc.c (Fmemory_limit):
8546 * buffer.c (Fget_buffer):
8547 * buffer.c (Fkill_buffer):
8548 * buffer.c (complex_vars_of_buffer):
8549 * bytecode.c (Fcompiled_function_stack_depth):
8550 * callint.c (Fprefix_numeric_value):
8552 * event-stream.c (Fread_key_sequence):
8554 * casetab.c (Fcase_table_p):
8555 * casetab.c (check_case_table):
8556 * casetab.c (Fset_case_table):
8557 * casetab.c (Fset_standard_case_table):
8559 * chartab.c (Fchar_table_type):
8560 * chartab.c (Freset_char_table):
8561 * chartab.c (Fget_char_table):
8562 * chartab.c (Fget_range_char_table):
8563 * chartab.c (Fput_char_table):
8564 * chartab.c (Fmap_char_table):
8565 * chartab.c (Fcategory_table_p):
8566 * chartab.c (Fcheck_category_at):
8567 * chartab.c (Fchar_in_category_p):
8568 * chartab.c (Fcategory_table):
8569 * chartab.c (Fcopy_category_table):
8570 * chartab.c (Fset_category_table):
8571 * chartab.c (Fcategory_designator_p):
8572 * chartab.c (Fcategory_table_value_p):
8573 * cmds.c (Fdelete_char):
8574 * cmds.c (Fdelete_backward_char):
8575 * cmds.c (Fself_insert_command):
8576 * cmds.c (Fself_insert_internal):
8577 * console.c (Fvalid_console_type_p):
8578 * console.c (Fcdfw_console):
8579 * console.c (Fconsole_type):
8580 * console.c (Fconsole_name):
8581 * console.c (Fconsole_device_list):
8582 * console.c (Fconsole_on_window_system_p):
8586 * data.c (Fsubr_interactive):
8587 * data.c (Fchar_to_int):
8588 * data.c (Fint_to_char):
8591 * data.c (Fnumber_to_string):
8592 * data.c (Fstring_to_number):
8594 * database.c (mark_database):
8595 * database.c (finalize_database):
8596 * database.c (Fdatabase_live_p):
8597 * database.c (Fdatabasep):
8598 * device-x.c (Fx_get_resource):
8599 * device.c (Fdfw_device):
8601 * dired.c (Ffile_name_completion):
8602 * dired.c (Ffile_name_all_completions):
8603 * dired.c (Fuser_name_completion):
8604 * dired.c (Fuser_name_completion_1):
8605 * dired.c (Fuser_name_all_completions):
8606 * doc.c (Fdocumentation):
8607 * doc.c (Fdocumentation_property):
8608 * doc.c (Fsubstitute_command_keys):
8610 * editfns.c (Fchar_to_string):
8611 * editfns.c (Fstring_to_char):
8612 * editfns.c (Ftemp_directory):
8613 * editfns.c (Finsert_char):
8614 * editfns.c (Fbuffer_substring_no_properties):
8615 * editfns.c (Fnarrow_to_region):
8616 * editfns.c (Fchar_equal):
8617 * editfns.c (Fchar_Equal):
8618 * editfns.c (Ftranspose_regions):
8619 * emacs.c (Fdump_emacs):
8621 * eval.c (Fcommand_execute):
8622 * eval.c (Fautoload):
8623 * eval.c (Fbacktrace):
8624 * eval.c (Fbacktrace_frame):
8626 * events.c (Fcopy_event):
8627 * events.c (Fcharacter_to_event):
8628 * events.c (Fevent_button):
8629 * events.c (Fevent_process):
8631 * extents.c (Fnext_extent_change):
8632 * extents.c (Fextent_property):
8634 * faces.c (Fmake_face):
8636 * file-coding.c (Fencode_shift_jis_char):
8637 * file-coding.c (Fencode_big5_char):
8638 * fileio.c (Ffile_name_directory):
8639 * fileio.c (Ffile_name_nondirectory):
8640 * fileio.c (Ffile_name_as_directory):
8641 * fileio.c (Fdirectory_file_name):
8642 * fileio.c (Ffile_truename):
8643 * fileio.c (Fsubstitute_in_file_name):
8644 * fileio.c (Ffile_modes):
8645 * fileio.c (Fset_file_modes):
8646 * fileio.c (Fset_default_file_modes):
8647 * fileio.c (Fverify_visited_file_modtime):
8648 * floatfns.c (Facos):
8649 * floatfns.c (Fasin):
8650 * floatfns.c (Fatan):
8651 * floatfns.c (Fcos):
8652 * floatfns.c (Fsin):
8653 * floatfns.c (Ftan):
8654 * floatfns.c (Fbessel_j0):
8655 * floatfns.c (Fbessel_j1):
8656 * floatfns.c (Fbessel_jn):
8657 * floatfns.c (Fbessel_y0):
8658 * floatfns.c (Fbessel_y1):
8659 * floatfns.c (Fbessel_yn):
8660 * floatfns.c (Ferf):
8661 * floatfns.c (Ferfc):
8662 * floatfns.c (Flog_gamma):
8663 * floatfns.c (Fexp):
8664 * floatfns.c (Fexpt):
8665 * floatfns.c (Flog):
8666 * floatfns.c (Flog10):
8667 * floatfns.c (Fsqrt):
8668 * floatfns.c (Fcube_root):
8669 * floatfns.c (Facosh):
8670 * floatfns.c (Fasinh):
8671 * floatfns.c (Fatanh):
8672 * floatfns.c (Fcosh):
8673 * floatfns.c (Fsinh):
8674 * floatfns.c (Ftanh):
8675 * floatfns.c (Fabs):
8676 * floatfns.c (Ffloat):
8677 * floatfns.c (Flogb):
8678 * floatfns.c (Fceiling):
8679 * floatfns.c (Ffloor):
8680 * floatfns.c (Fround):
8681 * floatfns.c (Ftruncate):
8682 * floatfns.c (Ffceiling):
8683 * floatfns.c (Fffloor):
8684 * floatfns.c (Ffround):
8685 * floatfns.c (Fftruncate):
8686 * fns.c (Fstring_equal):
8687 * fns.c (Fstring_lessp):
8692 * fns.c (Fsubstring):
8694 * fns.c (Fold_assoc):
8695 * fns.c (assoc_no_quit):
8697 * fns.c (Fold_assq):
8698 * fns.c (assq_no_quit):
8700 * fns.c (Fold_rassoc):
8702 * fns.c (Fold_rassq):
8703 * fns.c (rassq_no_quit):
8704 * fns.c (Fremassoc):
8705 * fns.c (remassoc_no_quit):
8707 * fns.c (remassq_no_quit):
8708 * fns.c (Fremrassoc):
8709 * fns.c (Fremrassq):
8710 * fns.c (remrassq_no_quit):
8712 * fns.c (Fplist_get):
8713 * fns.c (Fplist_put):
8714 * fns.c (Fplist_remprop):
8715 * fns.c (Fplist_member):
8716 * fns.c (Flax_plist_get):
8717 * fns.c (Flax_plist_put):
8718 * fns.c (Flax_plist_remprop):
8719 * fns.c (Flax_plist_member):
8721 * fns.c (Fold_equal):
8723 * fns.c (Fbase64_encode_region):
8724 * fns.c (Fbase64_encode_string):
8725 * fns.c (Fbase64_decode_region):
8727 * frame.c (frame_matches_frame_spec):
8728 * frame.c (device_matches_device_spec):
8729 * frame.c (next_frame):
8730 * frame.c (previous_frame):
8731 * frame.c (Fnext_frame):
8732 * frame.c (Fprevious_frame):
8733 * frame.c (Fframe_property):
8734 * frame.c (Fset_frame_height):
8735 * frame.c (Fset_frame_size):
8739 * glyphs.c (decode_error_behavior_flag):
8740 * glyphs.c (Fmake_image_instance):
8741 * indent.c (Findent_to):
8742 * intl.c (Fignore_defer_gettext):
8743 * keymap.c (Fkeymapp):
8744 * keymap.c (Flookup_key):
8746 * lread.c (Fload_internal):
8747 * lread.c (Feval_buffer):
8748 * lread.c (Feval_region):
8749 * macros.c (Fexecute_kbd_macro):
8750 * marker.c (set_marker_internal):
8751 * marker.c (Fset_marker):
8752 * marker.c (set_marker_restricted):
8753 * marker.c (Fcopy_marker):
8754 * marker.c (noseeum_copy_marker):
8756 * menubar.c (Fpopup_menu):
8758 * mule-charset.c (Fcharset_name):
8759 * mule-charset.c (Fchar_charset):
8760 * mule-charset.c (Fchar_octet):
8761 * mule-charset.c (Fsplit_char):
8762 * mule-wnnfns.c (Fwnn_open):
8763 * mule-wnnfns.c (Fwnn_dict_comment):
8764 * mule-wnnfns.c (Fwnn_quit_henkan):
8765 * mule-wnnfns.c (Fwnn_word_toroku):
8766 * mule-wnnfns.c (Fwnn_word_sakujo):
8767 * mule-wnnfns.c (Fwnn_word_use):
8768 * mule-wnnfns.c (Fwnn_hindo_set):
8770 * objects.c (Fmake_color_instance):
8771 * objects.c (Fmake_font_instance):
8772 * print.c (Fwrite_char):
8774 * process.c (mark_process):
8775 * process.c (print_process):
8776 * process.c (get_process_from_usid):
8777 * process.c (Fprocessp):
8778 * process.c (Fprocess_live_p):
8779 * process.c (Fget_process):
8780 * process.c (Fget_buffer_process):
8781 * process.c (get_process):
8782 * process.c (Fprocess_id):
8783 * process.c (Fprocess_name):
8784 * process.c (Fprocess_command):
8785 * process.c (init_process_io_handles):
8786 * process.c (start_process_unwind):
8787 * process.c (Fstart_process_internal):
8788 * process.c (Fopen_multicast_group_internal):
8789 * process.c (Fset_process_window_size):
8790 * process.c (read_process_output):
8791 * process.c (send_process):
8792 * process.c (Fprocess_tty_name):
8793 * process.c (Fset_process_buffer):
8794 * process.c (Fprocess_buffer):
8795 * process.c (Fprocess_mark):
8796 * process.c (set_process_filter):
8797 * process.c (Fset_process_filter):
8798 * process.c (Fprocess_filter):
8799 * process.c (Fprocess_send_region):
8800 * process.c (Fprocess_send_string):
8801 * process.c (exec_sentinel):
8802 * process.c (Fset_process_sentinel):
8803 * process.c (Fprocess_sentinel):
8804 * process.c (status_notify):
8805 * process.c (Fprocess_status):
8806 * process.c (Fprocess_exit_status):
8807 * process.c (process_send_signal):
8808 * process.c (Fprocess_send_eof):
8809 * process.c (deactivate_process):
8810 * process.c (remove_process):
8811 * process.c (Fdelete_process):
8812 * process.c (kill_buffer_processes):
8813 * process.c (Fprocess_kill_without_query):
8814 * process.c (Fprocess_kill_without_query_p):
8816 * rangetab.c (Fget_range_table):
8817 * rangetab.c (Fput_range_table):
8818 * rangetab.c (Fremove_range_table):
8819 * rangetab.c (Fclear_range_table):
8821 * search.c (Fskip_chars_forward):
8822 * search.c (Fskip_chars_backward):
8823 * search.c (Fskip_syntax_forward):
8824 * search.c (Fskip_syntax_backward):
8825 * search.c (search_command):
8826 * search.c (Freplace_match):
8827 * search.c (Fregexp_quote):
8828 * select.c (Fown_selection_internal):
8829 * select.c (Fselection_owner_p):
8830 * select.c (Fselection_exists_p):
8831 * select.c (Fget_selection_internal):
8834 * symbols.c (Fintern):
8835 * symbols.c (Fintern_soft):
8836 * symbols.c (Funintern):
8837 * symbols.c (Fapropos_internal):
8838 * symbols.c (Fset_default):
8840 * syntax.c (Fsyntax_table_p):
8841 * syntax.c (Fcopy_syntax_table):
8842 * syntax.c (Fset_syntax_table):
8843 * syntax.c (Fchar_syntax):
8844 * syntax.c (syntax_match):
8845 * syntax.c (Fmatching_paren):
8846 * syntax.c (Fforward_word):
8847 * syntax.c (scan_lists):
8848 * syntax.c (Fscan_lists):
8849 * syntax.c (Fscan_sexps):
8850 * syntax.c (Fparse_partial_sexp):
8851 * toolbar.c (Fcheck_toolbar_button_syntax):
8854 * window.c (Fwindowp):
8855 * window.c (Fwindow_live_p):
8856 * window.c (Fwindow_point):
8857 * window.c (Fdelete_window):
8858 * window.c (Fnext_window):
8859 * window.c (Fprevious_window):
8860 * window.c (Fother_window):
8861 * window.c (window_loop):
8862 * window.c (Fget_lru_window):
8863 * window.c (Fsplit_window):
8864 * window.c (Fenlarge_window):
8865 * window.c (Fenlarge_window_pixels):
8866 * window.c (Fshrink_window):
8867 * window.c (Fshrink_window_pixels):
8868 * window.c (change_window_height):
8869 * window.c (Fwindow_configuration_p):
8870 * window.c (Fcurrent_window_configuration):
8872 * casefiddle.c (casify_object):
8873 * casefiddle.c (Fupcase):
8874 * casefiddle.c (Fdowncase):
8875 * casefiddle.c (Fcapitalize):
8876 * casefiddle.c (Fupcase_initials):
8877 * casefiddle.c (casify_region_internal):
8878 * casefiddle.c (casify_region):
8879 * casefiddle.c (Fupcase_region):
8880 * casefiddle.c (Fdowncase_region):
8881 * casefiddle.c (Fcapitalize_region):
8882 * casefiddle.c (Fupcase_initials_region):
8883 * casefiddle.c (Fupcase_word):
8884 * casefiddle.c (Fdowncase_word):
8885 * casefiddle.c (Fcapitalize_word):
8886 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8887 Replace 0 with '\0' when working with bytes.
8888 Replace initial "(" with "\(" in docstrings.
8890 2000-11-01 Martin Buchholz <martin@xemacs.org>
8892 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8894 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8896 2000-10-31 Martin Buchholz <martin@xemacs.org>
8898 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8900 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8902 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8905 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8907 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8908 (inhibit_auto_save_session): New variable.
8909 (vars_of_fileio): Declare and initialize them.
8910 * fileio.c (Fdo_auto_save): Don't create session file if
8911 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8913 2000-10-31 Martin Buchholz <martin@xemacs.org>
8915 * sgiplay.c (play_internal): C++ compilability.
8916 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8917 * callproc.c (Fold_call_process_internal):
8918 Remove unused vars `env', `first'.
8919 * scrollbar.c (update_scrollbar_instance):
8920 #### unused var `current_window'.
8921 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8922 etc. within #ifdef NOT_YET.
8923 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8924 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8925 * specifier.c (specifier_instance):
8926 #### unused var `tag'.
8927 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8929 2000-10-27 Martin Buchholz <martin@xemacs.org>
8932 * fns.c (list_sort):
8933 * fns.c (Ffillarray):
8934 * fns.c (bytecode_nconc2):
8937 * fns.c (Fmapconcat):
8938 Be pedantically 64-bit correct. For the time when someone will
8939 want to have a list with length > 2**32.
8941 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8942 Work around MIPSpro compiler bug.
8944 * process-unix.c (unix_kill_child_process): Add snarky comment.
8945 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
8947 * config.h.in: Oops, _getpt ==> _getpty
8949 2000-10-26 Martin Buchholz <martin@xemacs.org>
8953 Use void*, not char*, as return type of alloca().
8955 * alloc.c (free_marker): Side effect inside assert expression!
8957 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
8959 * mule-charset.c (Fset_charset_ccl_program): To check
8960 if the given ccl program is valid, use setup_ccl_program()
8961 instead of CHECK_VECTOR().
8962 (Fmake_charset): Likewise.
8964 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
8966 * faces.c (get_extent_fragment_face_cache_index):
8967 Fix cachel.merged_faces memory leak.
8969 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
8971 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
8972 Reset MSB of octets obtained by DECODE_SJIS
8973 because of the incompatibility with Emacs.
8974 (ccl_driver)<CCL_ENCODE_SJIS>:
8975 Set MSB of octets before passing them to
8976 ENCODE_SJIS because of the incompatibility
8979 2000-10-18 Daiki Ueno <ueno@unixuser.org>
8981 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
8982 (DECLARE_LRECORD): Undo the last change.
8983 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
8985 2000-10-17 Daiki Ueno <ueno@unixuser.org>
8987 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
8988 the implementation to lrecord_implementations_table.
8990 2000-10-14 Daiki Ueno <ueno@unixuser.org>
8992 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
8993 initial value of `lrecord_type_##c_name' and
8994 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
8995 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
8996 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
8997 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
8998 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9000 2000-10-17 Martin Buchholz <martin@xemacs.org>
9002 * miscplay.c (sndcnv8S_2mono):
9003 (sndcnv2monounsigned):
9004 (sndcnvULaw_2linear):
9006 Remove implementation-defined behavior.
9008 2000-10-12 Martin Buchholz <martin@xemacs.org>
9010 * input-method-xlib.c: Warning suppression.
9012 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9014 * mule-ccl.c: Sync up with Emacs 21.0.90.
9015 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9017 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9019 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9020 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9021 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9022 leading char belongs to official 2-dimensional charset.
9023 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9024 write the given character as is. Otherwise,
9025 if it is a multibyte char, convert it by
9026 non_ascii_set_charptr_emchar, then write it.
9027 (CCL_WRITE_STRING): Likewise.
9028 (ccl_get_compiled_code): New function.
9029 (setup_ccl_program): When ccl_prog is invalid,
9031 (Fregister_code_conversion_map): New function.
9032 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9034 * mule-ccl.h: Sync up with Emacs 21.0.90.
9035 (Fregister_ccl_program): export it.
9037 * redisplay-msw.c (separate_textual_runs):
9038 If ccl program is not valid, don't do ccl conversion.
9040 * redisplay-x.c (separate_textual_runs): Ditto.
9042 * file-coding.c (Fmake_coding_system):
9043 When type is ccl and value is vector, register it
9044 with a proper symbol. And checks whether the
9045 given ccl program is valid.
9046 (mule_decode): When calling ccl_driver, if src indicates
9047 NULL pointer, set an empty string instead.
9048 (mule_encode): Likewise.
9050 2000-10-11 Martin Buchholz <martin@xemacs.org>
9052 The following large batch of changes gets us back to a state of
9053 C++ compilability. Extbyte is now a char, which means that
9054 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9056 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9058 * sound.c (Fplay_sound): Type correctness.
9060 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9061 (x_get_window_property): Type correctness.
9062 (receive_incremental_selection): unsigned char ==> Extbyte
9063 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9064 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9065 (Fx_store_cutbuffer_internal): Type correctness.
9067 * process-unix.c (try_to_initialize_subtty): Type correctness.
9069 * objects-x.c (x_print_color_instance): Type correctness.
9070 (x_print_font_instance): Type correctness.
9071 (x_list_fonts): SExtbyte ==> Extbyte.
9072 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9073 (x_find_charset_font): SExtbyte ==> Extbyte.
9074 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9075 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9076 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9079 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9080 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9081 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9082 (BYTE_C0_P): Use bit ops for char-signedness safety.
9083 (BYTE_C1_P): Use bit ops for char-signedness safety.
9084 (CHARSET_BY_LEADING_BYTE):
9085 (CHARSET_BY_ATTRIBUTES):
9086 Always use inline function.
9087 Use type_checking_assert.
9090 * mule-charset.c (non_ascii_charptr_copy_char):
9091 Modify to work with both ASCII and non-ASCII characters.
9092 Improve docs and variable names.
9093 Replace over-clever fall-through switch with a simple loop.
9094 (Lstream_get_emchar_1):
9095 Replace over-clever fall-through switch with a simple loop.
9097 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9098 Warning suppression.
9100 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9101 the return value of Lstream_getc, which could be EOF as well.
9103 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9105 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9106 APIs can be used on Extbytes without casts. Risky!
9110 * input-method-xlib.c (XIM_init_device):
9111 Use Xlib.h instead of IntrinsicP.h.
9112 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9113 which will break in X11R7.
9114 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9115 to call XRegisterIMInstantiateCallback with correct types.
9117 * gui-x.c (button_item_to_widget_value): Type correctness.
9119 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9121 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9122 (xbm_instantiate_1): Type correctness.
9123 (BUILD_GLYPH_INST): Type correctness.
9125 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9128 (decode_coding_sjis):
9129 (decode_coding_big5):
9130 (decode_coding_ucs4):
9131 (decode_coding_utf8):
9132 (decode_coding_iso2022):
9133 (decode_coding_no_conversion):
9134 Make all decoding functions take an Extbyte * arg.
9135 (encode_coding_sjis):
9136 (encode_coding_big5):
9137 (encode_coding_ucs4):
9138 (encode_coding_utf8):
9139 (encode_coding_iso2022):
9140 (encode_coding_no_conversion):
9141 Make all encoding functions take a Bufbyte * arg.
9142 Use size_t instead of unsigned int for memory sizes.
9143 Only cast to unsigned char whenever dereferencing Extbyte *.
9145 * doc.c (unparesseuxify_doc_string): Type correctness.
9147 * console-x.c (split_up_display_spec):
9148 Rewrite without using details of internal string representation.
9149 (x_semi_canonicalize_device_connection): Type correctness.
9152 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9153 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9154 (HAVE_XFREE386): Removed.
9156 * buffer.h (DEC_CHARPTR): `const' correctness.
9157 (bufbyte_strcmp): New.
9158 (bufbyte_memcmp): New.
9160 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9162 * buffer.h (XCHAR_OR_CHAR_INT):
9163 Always use inline function.
9164 Remove redundant type checking assert() - XINT will abort quite nicely.
9166 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9168 * search.c (Freplace_match): Set newtext to an empty string.
9170 2000-10-10 Martin Buchholz <martin@xemacs.org>
9172 * s/decosf1-3.h: Remove #include of stropts.h
9173 * s/ptx.h: Remove #include of stropts.h
9174 * s/usg5-4.h: Remove #include of stropts.h
9177 Use stropts.h, not sys/stropts.h.
9178 Use strtio.h, not sys/strtio.h.
9180 2000-10-04 Martin Buchholz <martin@xemacs.org>
9182 * XEmacs 21.2.36 is released.
9184 2000-09-21 Andy Piper <andy@xemacs.org>
9186 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9187 changes still involve copying the widget tree.
9188 (update_widget_face): make sure a change is register in the widget
9189 tree. Call update_tab_widget_face appropriately.
9190 (update_tab_widget_face): ditto.
9191 (x_tab_control_redisplay): make sure non-structural changes still
9192 involve copying the widget tree.
9194 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9196 * lread.c (locate_file): Check the path element is non-nil.
9198 2000-10-02 Martin Buchholz <martin@xemacs.org>
9200 * lisp.h: Warning suppression for SCO compilers.
9202 * redisplay-tty.c (reset_tty_modes): Fix crash.
9203 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9205 2000-09-27 Martin Buchholz <martin@xemacs.org>
9207 Big signal/process handling overhaul. Bugs fixed:
9208 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9209 M-x comint-kill-subjob should work for both values nil and t of
9210 process-connection-type. It was broken on most platforms.
9211 Testing on Irix and Cygwin still needed. Other plaforms tested.
9212 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9213 * process-unix.c: Signal/Process handling overhaul.
9214 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9215 (allocate_pty): Use all available modern methods of allocating
9216 ptys, falling back to old style BSD allocation as a last resort.
9217 Use allegedly more secure Unix98 pty allocation by default.
9218 (allocate_pty_the_old_fashioned_way): New. the last resort.
9219 (unix_create_process): Push ptem, ldterm, ttcompat where
9220 available. Autoconfiscate.
9221 (try_to_initialize_subtty): New.
9222 (unix_kill_child_process): Proper signal handling for ptys on most
9223 platforms, using special knowledge of AIX, BSD, etc...
9224 (unix_create_process): Always disconnect_controlling_terminal() for
9225 subprocesses, whether using ptys or not.
9226 * process.h: Remove old getpt-dependent PTY code.
9227 * process.c (Fprocess_send_signal): New, obvious generic function.
9228 (decode_signal): New.
9229 (Finterrupt_process):
9233 (Fcontinue_process):
9234 (Fsignal_process): Use decode_signal.
9235 (process_send_signal):
9236 Many docstring corrections.
9237 Allow any signal to be sent to a process object.
9238 * config.h.in: Add symbols for big signal/process overhaul.
9239 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9240 * sysproc.h: Include process-related headers, where available:
9241 sys/stropts.h sys/strtio.h pty.h libutil.h
9249 Remove old S&M pty stuff.
9250 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9251 * systty.h: Simplify cpp hackery, improve comments.
9252 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9254 * editfns.c (Fformat_time_string):
9255 Be a little more paranoid with the return value of ctime.
9257 * fileio.c (check_executable):
9259 Use symbolic constants X_OK, W_OK.
9261 * console-x.c (split_up_display_spec): Fix a warning.
9263 2000-10-02 Martin Buchholz <martin@xemacs.org>
9265 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9266 * ntproc.c (sys_spawnve): make_string ==> build_string
9267 Small clarity improvements.
9269 2000-09-30 Martin Buchholz <martin@xemacs.org>
9271 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9273 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9275 * config.h.in (HAVE_STRCASECMP): Remove.
9277 2000-09-29 Martin Buchholz <martin@xemacs.org>
9279 * redisplay-output.c (redisplay_output_pixmap):
9280 Cleaner and possibly more 64-bit correct code.
9282 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9284 * dumper.c (pdump_load_finish): move restoration of
9285 `noninteractive1' to emacs.c (main_1).
9286 * emacs.c (main_1): protect LISP-visible command-line flags
9289 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9291 * Makefile.in.in (versionclean): Use EXE_TARGET and
9292 DUMP_TARGET instead of literal program names.
9294 2000-09-20 Martin Buchholz <martin@xemacs.org>
9296 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9298 2000-09-19 Martin Buchholz <martin@xemacs.org>
9300 * *: Spelling mega-patch
9302 2000-09-19 Martin Buchholz <martin@xemacs.org>
9304 * fns.c (bad_bad_turtle):
9305 Delete "Eek!" comment, since we fixed the bug to which it refers.
9307 2000-09-16 Martin Buchholz <martin@xemacs.org>
9309 * alloca.c: Replace REGISTER with register.
9311 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9313 * file-coding.c (ucs_to_char): Use countof.
9315 2000-09-16 Martin Buchholz <martin@xemacs.org>
9317 * file-coding.c: (ucs_to_char):
9318 (complex_vars_of_file_coding):
9319 Use countof instead of sizeof.
9320 Use CHECK_NATNUM instead of CHECK_INT.
9322 * sysdep.c (strcasecmp): Remove.
9323 * device-x.c (ascii_strcasecmp): New.
9324 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9325 Avoid using non-standard non-portable strcasecmp.
9327 2000-09-16 Martin Buchholz <martin@xemacs.org>
9329 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9330 * font-lock.c: remove reference to emacsfns.h.
9331 * search.c: small doc improvement.
9332 * event-Xt.c: correct file names in comments.
9333 * console-x.h Correct file names in comments.
9334 * frame.c: Correct file names in comments.
9335 * event-stream.c: remove Energize from comments.
9337 2000-09-15 Martin Buchholz <martin@xemacs.org>
9339 * symeval.h (DEFERROR_STANDARD):
9342 (DEFSYMBOL_NO_DUMP):
9343 (DEFSYMBOL_MULTIWORD_PREDICATE):
9344 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9346 The construct &##name is not sensible C.
9347 Fixes compilation errors with Unixware native compiler.
9349 2000-09-14 Martin Buchholz <martin@xemacs.org>
9351 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9352 (next_frame_internal): Removed. We now just have next_frame.
9354 Write a simpler and cleaner one-pass algorithm.
9355 Remove called_from_delete_device arg and #ifdefed-out code.
9357 Renamed from prev_frame. Update callers.
9358 Cleaned up to have an analogous implementation to next_frame.
9359 (other_visible_frames_internal): Remove the
9360 called_from_delete_device bogus arg, and hence, remove this
9361 function. Just use other_visible_frames().
9363 * window.c (Fnext_window):
9365 Since next_frame() is guaranteed to return a frame, remove check
9366 for nil inserted in previous patch.
9369 Make code look more like Fnext_window.
9371 Respect the `console' arg when iterating through windows.
9372 Fixes bug: (get-buffer-window buffer t device) not respecting
9374 This function needs more work, as others have pointed out.
9376 * frame.h: Rename prev_frame to previous_frame.
9377 device_matches_console_spec no longer takes a `frame' arg.
9382 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9383 From "Golubev I. N." <gin@mo.msk.ru>.
9385 * make-src-depend: Fix typo.
9387 2000-09-13 Martin Buchholz <martin@xemacs.org>
9389 * window.c (Fnext_window):
9390 next_frame() might return nil, not a frame.
9392 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9394 * frame.c (next_frame_internal):
9395 We've passed a frame if we've passed its device.
9397 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9398 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9400 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9402 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9403 Allow option to suppress accelerators in menu/dialog items.
9404 (populate_or_checksum_helper): Pass dialog title through above.
9406 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9408 * event-msw.c (mswindows_key_to_emacs_keysym):
9409 Add "pause" key, fix "menu" key.
9411 2000-09-09 Martin Buchholz <martin@xemacs.org>
9413 * eval.c (reinit_vars_of_eval):
9414 Increase max_lisp_eval_depth to 1000,
9415 required for thai-xtis.el to byte-compile under some circumstances.
9417 2000-09-04 Martin Buchholz <martin@xemacs.org>
9419 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9422 2000-09-01 Martin Buchholz <martin@xemacs.org>
9424 * make-src-depend: Make the generated Makefiles smaller.
9426 * s/hpux.h (SETUP_SLAVE_PTY):
9427 Provide a %d in the format string for the errno argument.
9429 * editfns.c (Ftemp_directory):
9431 Avoid buffer overrun on very long file name.
9433 * input-method-xlib.c (XIM_init_device):
9434 6th parameter of XRegisterIMInstantiateCallback has different
9435 pointer types on different OSes, so simply cast to (void *).
9437 * unexhp9k800.c: Warning fixes. Fiddly changes.
9439 * sysdll.c (dll_open):
9440 shl_load will hang hard if passed a NULL filename.
9441 Simply return NULL for compatibility with dlopen.
9442 * sysdll.c: Conform to XEmacs coding standards.
9444 * sysdep.c (get_pty_max_bytes):
9445 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9447 2000-08-31 Martin Buchholz <martin@xemacs.org>
9449 * tooltalk.c: Add #include <syssignal.h>
9451 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9453 * s/hpux.h: Don't use undefined function sigunblock().
9455 2000-08-31 Martin Buchholz <martin@xemacs.org>
9457 * config.h.in: Add HAVE_BALLOON_HELP.
9458 * emacs.c: Use HAVE_BALLOON_HELP.
9459 * Makefile.in.in (x_objs):
9460 Make Balloon Help conditional on finding shape.h.
9462 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9464 * syntax.c (regex_emacs_buffer_p): New variable.
9465 * syntax.h (regex_emacs_buffer_p): extern.
9466 * search.c (looking_at_1):
9468 (fast_string_match):
9469 (search_buffer): Set regex_emacs_buffer_p.
9470 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9471 when before_dot, at_dot, after_dot.
9473 2000-08-23 Andy Piper <andy@xemacs.org>
9475 * gui-x.c (popup_selection_callback): Only set action_occurred
9476 when we really have an image instance.
9477 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9479 2000-08-23 Andy Piper <andy@xemacs.org>
9481 * gui-msw.c (mswindows_handle_gui_wm_command): set
9483 * gui-x.c (popup_selection_callback): ditto.
9485 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9486 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9487 (struct Lisp_Image_Instance): add action_occurred flag.
9489 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9490 (image_instance_changed): ditto.
9491 (reset_frame_subwindow_instance_cache): only unmap windows - do
9492 not remove them from the cache also.
9494 * glyphs-widget.c (tab_control_update): better debug.
9495 (progress_gauge_update): ditto.
9496 (layout_update): ditto.
9497 (layout_instantiate): ditto.
9498 (tab_control_order_only_changed): cope with null pending items.
9500 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9501 debug. Force selection of an item when an action occurred. Cope
9502 with null pending_items.
9503 (mswindows_progress_gauge_redisplay): better debug.
9504 * glyphs-x.c (x_tab_control_redisplay): ditto.
9506 * redisplay.c (redisplay_frame): reset the frame cache if the
9509 * window.c (Fset_window_configuration): potentially re-enable
9511 (window_unmap_subwindows): need to finalize instances here since
9512 it is only used in mark_window_as_deleted.
9514 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9516 * nas.c (SndOpenDataForReading):
9517 nas.c (WaveOpenDataForReading):
9518 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9519 Somehow escaped from the 2000-08-14 patch.
9521 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9523 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9524 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9526 2000-08-21 Andy Piper <andy@xemacs.org>
9528 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9529 window if it is not already displayed.
9531 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9532 it is not already displayed.
9534 * window.c (Fset_window_configuration): don't reset the frame
9537 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9538 instances from the frame cache if we are actually finalizing them.
9539 (reset_frame_subwindow_instance_cache): reset frame cache only
9540 after unmapping everything.
9541 (map_subwindow): set displayed flag after mapping.
9543 2000-08-21 Martin Buchholz <martin@xemacs.org>
9545 * data.c (indirect_function):
9546 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9548 * eval.c (function_argcount):
9549 Use original function when signaling errors.
9551 2000-08-18 Andy Piper <andy@xemacs.org>
9553 * frame.c (delete_frame_internal): use new
9554 free_frame_subwindow_instances name.
9556 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9557 (add_tab_item): make return type correct.
9558 (mswindows_tab_control_instantiate): assert index of tab.
9559 (mswindows_tab_control_redisplay): Re-code to use
9560 gui_item_equal_sans_selected and gui_item_list_find_selected.
9562 * glyphs-widget.c (tab_control_update): Correct comment.
9564 * window.c (window_unmap_subwindows): use new
9565 unmap_subwindow_instance_cache_mapper.
9566 (window_unmap_subwindows_cache_mapper): deleted.
9567 (Fset_window_configuration): comparisons should now be with
9568 EQ. Preserve the subwindow instance cache across configuration
9570 (allocate_window): ditto.
9571 (make_dummy_parent): ditto.
9573 * glyphs.c (free_frame_subwindow_instances): rename from
9574 free_frame_subwindow_instance_cache. finalize all instances rather
9575 than just those in the display cache.
9576 (finalize_all_subwindow_instances): walk windows unmapping and
9577 finalizing subwindows.
9578 (unmap_subwindow_instance_cache_mapper): moved from
9579 window.c. Allow finalization as well as unmapping.
9581 * gui.c (gui_item_list_find_selected): new function.
9583 * gui.h (gui_item_list_find_selected): declare.
9585 * glyphs-x.c (x_tab_control_redisplay): pick tab
9586 explicitly. Re-code to use gui_item_equal_sans_selected and
9587 gui_item_list_find_selected.
9589 * glyphs-x.h: add lwlib-utils.h
9591 * buffer.c (Frecord_buffer): undo previous change.
9593 2000-08-09 Vin Shelton <acs@xemacs.org>
9595 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9596 possible. Create temporary files more securely. The patch was
9597 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9598 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9599 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9602 2000-08-07 Ben Wing <ben@xemacs.org>
9604 * getloadavg.c: remove duplicate (and windows-breaking)
9605 includes of fcntl.h and sys/file.h.
9607 * nt.c: remove duplicate getloadavg() definition.
9609 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9612 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9614 * eval.c (function_argcount): If function needs to be autoloaded
9615 actually use the loaded definition.
9618 2000-08-05 Ben Wing <ben@xemacs.org>
9620 * getloadavg.c: add prototype for getloadavg(). remove
9621 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9622 of the code). remove duplicate header includes.
9624 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9626 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9627 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9628 useful load average.
9630 * alloc.c (reinit_alloc_once_early): removed references to
9631 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9632 the lisp vars are the only things referencing the malloc_sbrk_*
9633 vars, and they were already if 0'd out. these vars only exist
9634 in the older malloc.c, which is basically unused, and they're
9635 only for informational purposes.
9637 * m\*.h: removed useless VIRT_ADDR_VARIES.
9639 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9641 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9643 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9644 color if the image is a mono pixmap.
9646 2000-07-30 Ben Wing <ben@xemacs.org>
9648 * Makefile.in.in (release):
9651 * buffer.c (directory_is_current_directory):
9652 * dired-msw.c (mswindows_get_files):
9654 * dired.c (Fdirectory_files):
9655 * dired.c (file_name_completion_stat):
9656 * dired.c (Ffile_attributes):
9657 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9658 preprocessor tricks, to avoid problems on some machines
9661 * callproc.c (egetenv): GC docs.
9664 * console-msw.h (struct mswindows_dialog_id):
9665 * lrecord.h (lrecord_type):
9666 New object for use with MSW dialogs.
9668 * console.h (struct console_methods):
9669 New enable/disable frame methods, for proper modal dialogs.
9671 * device-msw.c (msprinter_default_printer): Fix to follow
9672 proper Mule conventions.
9675 * device-msw.c (signal_open_printer_error):
9676 * device-msw.c (msprinter_init_device):
9677 * device-msw.c (ensure_not_printing):
9678 * device-msw.c (plist_get_margin):
9679 * device-msw.c (Fmsprinter_select_settings):
9680 * device-msw.c (finalize_devmode):
9681 * device-msw.c (Fmsprinter_settings_despecialize):
9682 * device-msw.c (signal_enum_priner_error):
9683 * extents.c (decode_extent):
9684 * extents.c (decode_map_extents_flags):
9685 * extents.c (decode_extent_at_flag):
9686 * extents.c (Fextent_at):
9687 * extents.c (Fextents_at):
9688 * extents.c (symbol_to_glyph_layout):
9689 [[[[2]]]] Use structured errors.
9692 * dialog-msw.c (mswindows_is_dialog_msg):
9693 * dialog-msw.c (mark_mswindows_dialog_id):
9694 * dialog-msw.c (dialog_proc):
9695 * dialog-msw.c (handle_question_dialog_box):
9696 * dialog-msw.c (syms_of_dialog_mswindows):
9697 Define new object to clean up marking; use it as a dialog identifier.
9698 Call new delete-dialog-box-hook.
9700 * dialog-x.c (dbox_selection_callback):
9701 * dialog-x.c (dbox_descriptor_to_widget_value):
9702 * dialog-x.c (x_make_dialog_box_internal):
9703 Call new delete-dialog-box-hook.
9707 * dialog.c (syms_of_dialog):
9708 * dialog.c (vars_of_dialog):
9709 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9712 * eval.c (signal_call_debugger):
9713 when noninteractive, output stack traces on the console instead
9714 of in a (never-seen) buffer.
9716 * eval.c (signal_type_error):
9717 * eval.c (invalid_argument_2):
9719 new funs for use w/structured errors.
9722 * event-Xt.c (x_to_emacs_keysym):
9723 * event-Xt.c (describe_event):
9724 * event-Xt.c (emacs_Xt_event_handler):
9725 * event-Xt.c (vars_of_event_Xt):
9727 * event-msw.c (mswindows_wnd_proc):
9728 * event-msw.c (vars_of_event_mswindows):
9729 rename {x,mswindows}-debug-events to debug-{}-events for
9730 consistency with other debug-foo variables.
9733 document next-event more clearly.
9735 * fileio.c (Ffile_name_directory):
9736 * fileio.c (Ffile_name_nondirectory):
9737 * fileio.c (Funhandled_file_name_directory):
9738 * fileio.c (file_name_as_directory):
9739 * fileio.c (Ffile_name_as_directory):
9740 * fileio.c (directory_file_name):
9741 * fileio.c (Fdirectory_file_name):
9742 * fileio.c (Fmake_temp_name):
9743 * fileio.c (Ffile_truename):
9744 * fileio.c (Fsubstitute_in_file_name):
9745 * fileio.c (expand_and_dir_to_file):
9746 * fileio.c (barf_or_query_if_file_exists):
9747 * fileio.c (check_executable):
9748 * fileio.c (Ffile_exists_p):
9749 * fileio.c (Ffile_writable_p):
9750 * fileio.c (Ffile_directory_p):
9751 * fileio.c (Ffile_regular_p):
9752 * fileio.c (Ffile_modes):
9753 * fileio.c (Ffile_newer_than_file_p):
9754 * fileio.c (Fverify_visited_file_modtime):
9755 * fileio.c (Fset_visited_file_modtime):
9756 * fileio.c (auto_save_1):
9761 * frame-msw.c (mswindows_init_frame_1):
9762 * frame-msw.c (mswindows_enable_frame):
9763 * frame-msw.c (error_frame_unsizable):
9764 * frame-msw.c (msprinter_init_frame_1):
9765 * frame-msw.c (msprinter_init_frame_3):
9766 * frame-msw.c (console_type_create_frame_mswindows):
9768 implement new enable/disable frame methods.
9771 * frame-x.c (x_enable_frame):
9772 * frame-x.c (console_type_create_frame_x):
9773 implement new enable/disable frame methods.
9776 * frame.c (Fdisable_frame):
9777 * frame.c (syms_of_frame):
9778 * frame.h (struct frame):
9779 implement new enable/disable frame methods/functions.
9784 * glyphs-msw.c (mswindows_widget_instantiate):
9785 comment that initial-focus should be implemented.
9788 * glyphs-widget.c (check_valid_instantiator):
9789 * glyphs-widget.c (check_valid_orientation):
9790 * glyphs-widget.c (check_valid_tab_orientation):
9791 * glyphs-widget.c (check_valid_justification):
9792 * glyphs-widget.c (check_valid_border):
9793 * glyphs-widget.c (check_valid_callback):
9794 * glyphs-widget.c (check_valid_int_or_function):
9795 * glyphs-widget.c (check_valid_string_or_vector):
9796 * glyphs-widget.c (check_valid_item_list_1):
9797 * glyphs-widget.c (widget_validate):
9798 * glyphs-widget.c (combo_box_validate):
9799 * glyphs-widget.c (widget_instantiate):
9800 * glyphs-widget.c (syms_of_glyphs_widget):
9801 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9802 * glyphs-widget.c (image_instantiator_combo_box):
9803 * glyphs-widget.c (image_instantiator_scrollbar):
9804 * glyphs-widget.c (image_instantiator_tab_control):
9805 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9807 support (unimplemented) keyword initial-focus.
9808 reindent long macros.
9810 * glyphs-x.c (x_redisplay_widget):
9811 * glyphs-x.c (x_button_instantiate):
9812 * glyphs-x.c (x_button_redisplay):
9813 * glyphs-x.c (x_progress_gauge_instantiate):
9814 * glyphs-x.c (x_edit_field_instantiate):
9815 * glyphs-x.c (x_combo_box_instantiate):
9816 * glyphs-x.c (x_tab_control_instantiate):
9817 * glyphs-x.c (x_label_instantiate):
9819 * gui-x.c (button_item_to_widget_value):
9820 * gui-x.c (gui_items_to_widget_values_1):
9821 * gui-x.c (gui_item_children_to_widget_values):
9822 * gui-x.c (gui_items_to_widget_values):
9824 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9825 add new flag to gui-parsing routines to indicate whether
9826 accelerator specs should be supported.
9828 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9830 * glyphs.h (struct Lisp_Image_Instance):
9831 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9832 add initial-focus flag.
9835 * gui.c (syms_of_gui):
9836 * gui.c (vars_of_gui):
9837 clean up menu-no-selection-hook.
9840 support delete-dialog-box-hook.
9842 * lread.c (Fload_internal):
9843 * lread.c (locate_file_in_directory_mapper):
9847 * lrecord.h (struct toolbar_button):
9848 * lrecord.h (syms_of_toolbar):
9849 document how to create a new object.
9851 * menubar-msw.c (mswindows_char_is_accelerator):
9852 may be called on frames w/o menus.
9854 * menubar.c (vars_of_menubar):
9855 clean up :filter docs.
9862 * process-nt.c (validate_signal_number):
9863 * process-nt.c (signal_cannot_launch):
9864 * process-nt.c (nt_create_process):
9865 * process-nt.c (nt_send_process):
9866 * process-nt.c (nt_kill_child_process):
9867 * process-nt.c (nt_open_network_stream):
9868 * process-nt.c (syms_of_process_nt):
9870 delete quote-handling. call new lisp code that does it better.
9872 * process-unix.c (connect_to_file_descriptor):
9873 * process-unix.c (allocate_pty):
9874 * process-unix.c (unix_send_process):
9875 * process-unix.c (unix_kill_child_process):
9876 * process-unix.c (unix_open_network_stream):
9877 * process-unix.c (unix_open_multicast_group):
9881 * process.c (Fstart_process_internal):
9882 (2). need to canonicalize process path even if absolute.
9884 * select-msw.c (symbol_to_ms_cf):
9885 * select-msw.c (ms_cf_to_symbol):
9886 * select-msw.c (cf_is_autofreed):
9887 * select-msw.c (mswindows_destroy_selection):
9889 * select.c (syms_of_select):
9891 support dibv5, fix bugs. (from Mike Alexander)
9893 * select.c (Fget_selection_internal):
9894 * select.c (select_convert_out):
9897 * sysdep.c (xemacs_stat):
9902 but keep original stat() here because we provide encapsulation
9906 * sysfile.h (fstat):
9907 remove stat garbage.
9911 don't include tchar.h. it's inappropriate because it makes
9912 compile-time distinctions when we want runtime distinctions.
9913 (we provide our own tchar replacements)
9916 use default object printer for toolbar-button.
9919 make sure we don't encapsulate.
9921 * window.c (vars_of_window):
9922 emphasize that temp-buffer-show-hook is obsolete.
9924 2000-08-05 Martin Buchholz <martin@xemacs.org>
9926 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9927 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9929 * events.c (Fevent_timestamp_lessp):
9930 Not 64-bit clean. Use EMACS_INT, not int.
9932 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9934 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9935 unsigned int and changed the last enum to
9936 lrecord_type_last_built_in_type.
9937 (lrecord_implementations_table): changed prototype to know how
9938 long the array is supposed to be.
9939 (lrecord_type_count): new unsigned int to keep track of the
9940 current number of lisp lrecord types.
9941 (DEFINE_EXTERNAL_LRECORD):
9942 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9943 dynamic-modules to declare new lisp types. They are the same
9944 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
9945 int for each new type, and increment lrecord_type_count by 1.
9947 * alloc.c (lrecord_implementations_table): Changed to reference
9948 lrecord_type_last_built_in_type for the size of the array.
9949 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
9951 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9953 * glyphs.h (check_valid_item_list): Renamed from
9954 check_valid_item_list_1.
9956 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
9958 * select.c (Qselect_coerce): New.
9959 * select.c (Vselection_coercion_alist): New.
9960 * select.c (syms_of_select): Declare.
9961 * select.c (get-selection-internal): Use it.
9962 Use the new select-coerce functionality.
9964 * select.c (select_coerce): New.
9965 * select.h (select_coerce): Declare.
9966 New function to coerce one type of data into another.
9968 2000-08-03 Martin Buchholz <martin@xemacs.org>
9970 * callproc.c (Fcall_process_internal):
9971 (Fcall_process_internal):
9972 * process-unix.c (unix_create_process):
9973 Save and restore the value of errno, so that error messages are accurate.
9975 2000-08-01 Martin Buchholz <martin@xemacs.org>
9977 * elhash.c (print_hash_table):
9978 Fix printing of hash tables to also use `key-and-value' instead of `t'.
9979 Prettify docstrings and indentation.
9981 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9983 * window.c (Fwindow_pixel_edges): Subtract frame border and
9986 2000-07-31 Andy Piper <andy@xemacs.org>
9988 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
9989 will acknowledge the change.
9991 * glyphs.h: declare tab_control_order_only_changed.
9993 * glyphs-x.c (x_tab_control_redisplay): use
9994 tab_control_order_only_changed.
9996 * glyphs-widget.c (tab_control_order_only_changed): new function.
9998 * glyphs-msw.c (mswindows_tab_control_redisplay): use
9999 tab_control_order_only_changed.
10001 * gui.c (gui_item_equal_sans_selected): new function.
10002 (gui_item_equal): use it.
10004 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10005 :properties in favor of :items..
10007 * glyphs-widget.c (check_valid_item_list): rename from
10008 check_valid_item_list_1.
10009 (check_valid_item_list_1): renamed.
10010 (combo_box_validate): deprecate :properties in favor of :items.
10011 (widget_instantiate): ditto.
10012 (tab_control_update): ditto.
10013 (image_instantiator_combo_box): ditto.
10014 (image_instantiator_tree_view): ditto.
10015 (image_instantiator_tab_control): ditto.
10016 (layout_post_instantiate): remove dead code.
10018 * print.c (debug_print_no_newline): only write to debugger if in
10021 * elhash.c (Fmake_hash_table): update doc string.
10023 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10024 messages whilst in GC. This at least stops XEmacs crashing but has
10025 the potential for wierd behaviour.
10027 2000-07-31 Martin Buchholz <martin@xemacs.org>
10030 Make existence of s&m files optional.
10032 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10033 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10034 * s/gnu.h: Remove HAVE_GETLOADAVG.
10035 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10036 * s/sol2.h: Remove HAVE_GETLOADAVG.
10037 * lisp.h: Remove getloadavg() declaration.
10039 Include <sys/loadavg.h> if available.
10040 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10041 * config.h.in: Group together getloadavg()-related macros.
10042 Use only configure-time tests to detect getloadavg().
10044 2000-07-30 Martin Buchholz <martin@xemacs.org>
10046 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10048 2000-07-25 Andy Piper <andy@xemacs.org>
10050 * syswindows.h: add tchar.h for native builds.
10052 * frame.c (syms_of_frame): remove set-glyph-image.
10054 * general-slots.h: add Qset_glyph_image.
10056 * glyphs-widget.c (layout_update): add domain arg to
10058 (syms_of_glyphs_widget): remove set-glyph-image.
10060 2000-07-23 Ben Wing <ben@xemacs.org>
10062 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10065 2000-07-22 Andy Piper <andy@xemacs.org>
10067 * symsinit.h: add syms_of_win32().
10069 * gui-msw.c (syms_of_gui_mswindows): remove
10070 Fmswindows_shell_execute.
10071 (Fmswindows_shell_execute): moved to win32.c.
10073 * emacs.c (main_1): add syms_of_win32 ().
10075 * win32.c (init_potentially_nonexistent_functions): rewrite in
10076 compiler-friendly terms.
10077 (Fmswindows_shell_execute): move here from gui-msw.c.
10078 (syms_of_win32): new.
10080 * device-msw.c (Fmswindows_printer_list): clean up args to
10082 Don't include tchar under cygwin or mingw.
10083 (msprinter_default_printer): make cygwin-friendly.
10085 2000-07-21 Andy Piper <andy@xemacs.org>
10087 * glyphs-widget.c (image_instantiator_tree_view): use tab
10088 control's update function.
10089 (layout_property): new function. Retrieve items.
10091 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10092 function. Re-populate the tree view from the pending items.
10094 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10095 is designated the parent if the domain is an image instance. This
10096 is needed so that dirtiness can be cascade up the hierarchy and
10097 thus for layout children to be redisplayed correctly.
10098 (allocate_image_instance): rename glyph -> parent.
10100 * redisplay.h: change redisplay_output_layout signature.
10102 * redisplay-msw.c (mswindows_output_display_block): use domain
10105 * redisplay-x.c (x_output_display_block): use domain arg.
10107 2000-07-10 Andy Piper <andy@xemacs.org>
10109 * window.c (Fset_window_configuration): add comment.
10111 * redisplay-output.c (compare_runes):
10112 (redisplay_output_subwindow): redisplay rather than update subwindow.
10113 (redisplay_output_layout): ditto.
10115 * redisplay-msw.c (mswindows_frame_output_end):
10116 (mswindows_frame_output_end): make defer window pos optional.
10118 * lisp.h: add Flast.
10120 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10121 normalize method. Change update method to be for changed
10122 instantiators. Add redisplay method. Change signature of layout
10124 (struct Lisp_Image_Instance): add instantiator.
10125 (IMAGE_INSTANCE_INSTANTIATOR): new.
10126 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10127 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10128 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10131 (find_instantiator_differences): new function.
10132 (Fset_instantiator_property): new convenience function.
10133 (check_image_instance_structure): strictly check for vector
10135 (normalize_image_instantiator): make non-static.
10136 (instantiate_image_instantiator): pass on dest_mask and use new
10137 signatures for image_instance_layout and friends.
10138 (mark_image_instance): mark the instantiator. Mark the subwindow
10139 face not the widget face.
10140 (image_instance_equal): add instantiator.
10141 (image_instance_hash): ditto.
10142 (allocate_image_instance): ditto.
10143 (Fset_image_instance_property): removed.
10144 (Fimage_instance_file_name): ditto.
10145 (Fcolorize_image_instance): ditto.
10146 (image_instance_layout): add offsets to be set.
10147 (update_image_instance): new function. update an image instance
10148 from its changed instantiator.
10149 (inherit_normalize): add dest_mask.
10150 (xbm_normalize): ditto.
10151 (xface_normalize): ditto.
10152 (xpm_normalize): ditto.
10153 (text_update): set_property -> update.
10154 (image_instantiate): use the glyph identity as a hash key, not the
10156 (glyph_width): use new image_instance_layout signature.
10157 (glyph_ascent): ditto.
10158 (glyph_descent): ditto.
10159 (glyph_height): ditto.
10160 (glyph_query_geometry): ressurrect.
10161 (glyph_layout): ditto.
10162 (redisplay_subwindow): update -> redisplay.
10163 (syms_of_glyphs): add Fset_instantiator_property.
10164 (image_instantiator_format_create): set_property -> update.
10167 (autodetect_normalize): add dest_maks to signature.
10168 (x_redisplay_subwindow): update -> redisplay.
10169 (x_redisplay_widget): ditto.
10170 (x_button_redisplay): ditto.
10171 (x_progress_gauge_redisplay): ditto.
10172 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10174 (console_type_create_glyphs_x): update -> redisplay.
10175 (image_instantiator_format_create_glyphs_x): ditto.
10178 (check_valid_instantiator): disallow glyphs in the instantiator,
10179 they must now be vectors.
10180 (check_valid_instantiator_list): ditto.
10181 (glyph_instantiator_to_glyph): use internal symbol rather than
10183 (widget_update): renamed from widget_set_property. Call cascaded
10185 (redisplay_widget): renamed from update_widget.
10186 (widget_layout): image_instance_layout now takes position as well
10188 (widget_normalize): ditto.
10189 (widget_instantiate): ditto.
10190 (tab_control_query_geometry) ditto.:
10191 (tab_control_update): renamed from tab_control_set_property.
10192 (progress_gauge_update): set_property -> update.
10193 (layout_normalize): rewrite so that child instantiators are
10195 (layout_update): new function. Create glyphs from the normalized
10196 children and cope with any other layout keywords. We do not
10197 instantiate children here that will be take care of by
10198 redisplay_output_layout.
10199 (layout_instantiate): call layout_update and not much else.
10200 (layout_post_instantiate): not sure whether this is needed
10202 (layout_query_geometry): query glyph geometry rather than
10203 image_instance geometry.
10204 (layout_layout): set offsets from pass in parameters. Use glyph
10205 geometry and layout functions rather than image instance ones.
10206 (native_layout_layout): ditto.
10207 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10208 (image_instantiator_widget): set_property -> update.
10209 (image_instantiator_buttons): ditto.
10210 (image_instantiator_progress_guage): ditto.
10211 (image_instantiator_tab_control): ditto.
10212 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10213 (image_instantiator_layout): add update method.
10215 * glyphs-msw.c (bmp_normalize):
10216 (mswindows_resource_normalize): add dest_mask so that it can be
10217 proprogated by layout_normalize.
10218 (begin_defer_window_pos): make optional because it may not be the
10219 right thing to do and it introduces differences with X.
10220 (mswindows_unmap_subwindow): ditto.
10221 (mswindows_map_subwindow): ditto.
10222 (mswindows_redisplay_subwindow): renamed from
10223 mswindows_update_subwindow.
10224 (mswindows_redisplay_widget): ditto.
10225 (mswindows_button_redisplay): renamed from
10226 mswindows_button_update. Update is now what the instantiation
10227 function does for a changed instantiator.
10228 (mswindows_progress_gauge_instantiate): set the progress value
10229 here if appropriate.
10230 (mswindows_tab_control_redisplay): cope with re-ordering of the
10231 members of the tab widget by simply selecting the new top
10232 widget. This makes things appear ok if you click on a tab.
10233 (mswindows_combo_box_instantiate): image_instance_layout now takes
10234 position as well as size.
10235 (mswindows_progress_gauge_redisplay): renamed from
10236 mswindows_progress_gauge_update.
10237 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10238 (image_instantiator_format_create_glyphs_mswindows): ditto.
10240 * glyphs-eimage.c (jpeg_normalize):
10243 (tiff_normalize): add dest_mask so that it can be proprogated by
10247 (print_hash_table):
10248 (hash_table_weakness_validate):
10249 (decode_hash_table_weakness):
10250 (Fhash_table_weakness):
10251 (Fhash_table_type):
10252 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10254 * console.h (struct console_methods): move update_* to
10257 2000-07-20 Ben Wing <ben@xemacs.org>
10259 * *.[ch] (XSETOBJ): remove unused middle argument.
10260 lisp-disunion.h: correct wrap_object() to one argument.
10262 2000-07-15 Ben Wing <ben@xemacs.org>
10265 * s/cygwin32.h (CYGWIN_CONV_PATH):
10266 Add missing logb prototype for v1.1.
10267 Use post-b20 names and alias to pre-b20 names when pre-b20.
10269 * s/windowsnt.h: [5].
10271 2000-07-15 Ben Wing <ben@xemacs.org>
10273 * Makefile.in.in (x_objs):
10274 * Makefile.in.in (sheap_objs):
10275 * Makefile.in.in (objs):
10276 added win32.o, cosmetic cleanups.
10278 * alloc.c (Fmake_byte_code):
10279 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10280 etc. macros which declare their own args now.
10282 * alloc.c (syms_of_alloc):
10283 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10286 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10288 * buffer.c (Fget_file_buffer):
10289 Fixed GCPRO problem.
10291 * buffer.c (get_truename_buffer):
10292 Fixed comment about GC checking.
10294 * buffer.c (syms_of_buffer):
10295 Undeclared those dedicated frame funs.
10299 Define convenience macros for internal/external conversions.
10300 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10301 and Qenvironment_variable_encoding for cleaner code.
10304 Remove dedicated-frame; in lisp.
10306 * bytecode.c (funcall_compiled_function):
10309 * bytecode.c (syms_of_bytecode):
10313 * console-msw.c (mswindows_show_console): Rewrote.
10315 * console-msw.c (Fmswindows_debugging_output): New.
10316 Sends to OutputDebugString (special MSWin debugger interface).
10318 * console-msw.c (Fmswindows_message_box):
10319 Fixed stupid bugs so it works when called from kill-emacs.
10321 * console-msw.c (syms_of_console_mswindows):
10322 Declare Fmswindows_debugging_output.
10325 New MSWin prototypes.
10327 * console-msw.h (struct mswindows_frame):
10328 New entry last-click-mods for improved button-modifier support.
10330 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10331 New struct entry `popup' with corresponding accessor.
10334 * console-x.c (split_up_display_spec):
10335 * console-x.c (get_display_arg_connection):
10336 * console-x.c (x_semi_canonicalize_console_connection):
10337 * console-x.c (x_canonicalize_device_connection):
10338 [[[6]]]: Change char to more specific type.
10339 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10341 * console-x.c (x_semi_canonicalize_console_connection):
10342 * console-x.c (x_canonicalize_device_connection):
10343 [[[9]]]: Fix up error signalling to use new structured error system.
10346 [[[4]]]: Define codesys aliases:
10347 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10348 Qx_color_name_encoding, Qx_display_name_encoding.
10350 * console.h (struct console_methods):
10351 New method make_dialog_box_internal supersedes older
10352 popup_dialog_box method.
10355 Define many new errors, part of new structured errors.
10357 * data.c (init_errors_once_early):
10358 * data.c (syms_of_data):
10361 * device-msw.c (mswindows_init_device):
10362 [[[5]]]: Cleanup to support NT 3.51.
10364 * device-msw.c (decode_devmode): Cleanup.
10366 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10367 * device-msw.c (mswindows_handle_print_dialog_box):
10368 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10369 * device-msw.c (syms_of_device_mswindows):
10370 Delete the dialog box primitives recently introduced by Kirill and
10371 instead interface to general dialog box interface.
10374 * device-x.c (compute_x_app_name):
10375 * device-x.c (x_init_device):
10376 * device-x.c (Fx_valid_keysym_name_p):
10377 * device-x.c (Fx_set_font_path):
10381 * device.h (wrap_device): New.
10382 First of its kind; meant to replace XSETDEVICE.
10384 * dialog-msw.c: Many file-dialog symbols.
10386 * dialog-msw.c (mswindows_register_popup_frame): New.
10387 * dialog-msw.c (mswindows_is_dialog_msg): New.
10388 For supporting kbd traversal in dialog boxes.
10390 * dialog-msw.c (dialog_proc):
10391 Support hitting ESC in dialogs.
10393 * dialog-msw.c (struct):
10394 Common dialog box errors.
10396 * dialog-msw.c (handle_file_dialog_box): New.
10397 Add file dialog code.
10399 * dialog-msw.c (handle_question_dialog_box):
10400 Redo existing code to support new question dialog syntax.
10402 * dialog-msw.c (console_type_create_dialog_mswindows):
10403 We support new dialog console method.
10405 * dialog-msw.c (syms_of_dialog_mswindows):
10406 * dialog-msw.c (vars_of_dialog_mswindows):
10407 New file dialog symbols, vars.
10410 * dialog-x.c (maybe_run_dbox_text_callback):
10411 * dialog-x.c (dbox_descriptor_to_widget_value):
10412 * dialog-x.c (x_make_dialog_box_internal):
10413 * dialog-x.c (console_type_create_dialog_x):
10414 Mule-ize entire file.
10415 Redo to support question dialog syntax.
10419 * dialog.c (Fmake_dialog_box_internal):
10420 * dialog.c (syms_of_dialog):
10421 Kill old popup-dialog-box, replace with new primitive.
10422 Just call device method or signal error.
10424 * eldap.c (Fldap_open):
10425 * eldap.c (Fldap_search_basic):
10426 * eldap.c (Fldap_add):
10427 * eldap.c (Fldap_modify):
10432 * emacs.c (make_arg_list_1):
10433 * emacs.c (make_arg_list):
10434 Mule-ize call to dll_init().
10438 * emacs.c (make_argc_argv):
10439 * emacs.c (free_argc_argv):
10440 * emacs.c (init_cmdargs):
10441 * emacs.c (main_1):
10442 * emacs.c (Fkill_emacs):
10443 * emacs.c (Fdump_emacs):
10444 Update comments about what can be used in syms_* etc.
10445 Call init_win32() when necessary.
10446 Fix up MS Win dialog box in kill-buffer to actually work right.
10457 * eval.c (condition_case_3):
10459 * eval.c (function_argcount):
10460 * eval.c (funcall_lambda):
10463 * eval.c (type_error): New.
10464 * eval.c (maybe_type_error): New.
10465 * eval.c (continuable_type_error): New.
10466 * eval.c (maybe_continuable_type_error): New.
10467 * eval.c (type_error_with_frob): New.
10468 * eval.c (maybe_type_error_with_frob): New.
10469 * eval.c (continuable_type_error_with_frob): New.
10470 * eval.c (maybe_continuable_type_error_with_frob): New.
10471 New functions for use with structured errors.
10474 * event-Xt.c (x_event_to_emacs_event):
10475 Buttons are now modifiers too.
10477 * event-Xt.c (emacs_Xt_current_event_timestamp):
10478 Implement new event method.
10479 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10482 * event-msw.c (ntpipe_shove_writer): [5].
10483 * event-msw.c (mswindows_enqueue_mouse_button_event):
10484 * event-msw.c (mswindows_drain_windows_queue):
10485 * event-msw.c (mswindows_wnd_proc): [7].
10486 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10487 * event-msw.c (mswindows_modifier_state):
10488 Throughout: support new button modifiers.
10490 * event-msw.c (emacs_mswindows_current_event_timestamp):
10491 Implement new event method.
10492 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10495 * event-stream.c (event_stream_current_event_timestamp): New.
10496 * event-stream.c (maybe_kbd_translate): New functionality.
10497 * event-stream.c (vars_of_event_stream):
10498 Document new kbd-translate-table functionality.
10500 * event-stream.c (Fcurrent_event_timestamp): New.
10501 New primitive for use in fabricated events.
10502 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10504 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10507 * events.c (Fmake_event):
10508 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10512 * events.c (format_event_object): fix gcc warnings.
10514 * events.c (Fevent_timestamp): Document new primitives.
10516 * events.c (TIMESTAMP_HALFSPACE): New.
10518 * events.c (Fevent_timestamp_lessp): New. New primitive for
10519 comparing timestamps correctly (half-space algorithm).
10521 * events.c (Fevent_modifier_bits): Doc fix.
10523 * events.c (Fevent_modifiers): Major doc addition.
10524 * events.c (event_x_y_pixel_internal): Typo fix.
10525 * events.c (syms_of_events): Declare new primitives.
10528 Update long comment for button modifiers, timestamps.
10530 * events.h (struct event_stream):
10531 New current_event_timestamp method.
10534 * extents.c (extent_in_region_p):
10535 * extents.c (decode_extent):
10536 * extents.c (Fset_extent_parent):
10537 * extents.c (decode_map_extents_flags):
10541 * extents.c (struct extent_at_arg):
10542 * extents.c (decode_extent_at_flag):
10543 * extents.c (extent_at_mapper):
10544 * extents.c (extent_at_bytind):
10545 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10546 * extents.c (Fextents_at): New primitive. [9].
10547 * extents.c (symbol_to_glyph_layout): [9].
10548 Support new primitive `extents-at'.
10551 * extents.c (get_text_property_bytind):
10552 extent_at_bytind has another arg.
10555 * extents.c (syms_of_extents): New primitive.
10557 * file-coding.c (Fmake_coding_system): [1].
10558 * file-coding.c (subsidiary_coding_system): fix gcc warning
10559 * file-coding.c (syms_of_file_coding): [2].
10561 * fileio.c (Fexpand_file_name):
10562 * fileio.c (Fsysnetunam):
10563 * fileio.c (Ffile_exists_p):
10564 * fileio.c (Ffile_executable_p):
10565 * fileio.c (Fverify_visited_file_modtime):
10568 * fileio.c (syms_of_fileio): [2].
10570 * filelock.c (lock_file_1):
10571 * filelock.c (current_lock_owner):
10572 * filelock.c (lock_if_free):
10573 * filelock.c (lock_file):
10574 * filelock.c (unlock_file):
10577 * fns.c (concat): Fix gcc warning.
10580 * fns.c (Fold_member):
10582 * fns.c (Fold_memq):
10583 * fns.c (memq_no_quit):
10585 * fns.c (Fold_assoc):
10587 * fns.c (Fold_assq):
10588 * fns.c (assq_no_quit):
10590 * fns.c (Fold_rassoc):
10592 * fns.c (Fold_rassq):
10593 * fns.c (rassq_no_quit):
10595 * fns.c (Fold_delete):
10597 * fns.c (Fold_delq):
10598 * fns.c (delq_no_quit):
10599 * fns.c (Fremassoc):
10600 * fns.c (Fremassq):
10601 * fns.c (remassq_no_quit):
10602 * fns.c (Fremrassoc):
10603 * fns.c (Fremrassq):
10604 * fns.c (remrassq_no_quit):
10605 * fns.c (Freverse):
10609 * frame-msw.c (mswindows_init_frame_1):
10610 * frame-msw.c (mswindows_delete_frame):
10611 Register popups with dialog code so keyboard traversing works.
10613 * frame-tty.c (tty_raise_frame_no_select): [1].
10616 * frame-x.c (x_set_frame_text_value):
10617 * frame-x.c (x_set_frame_properties):
10618 * frame-x.c (x_create_widgets):
10622 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10624 * frame.h (wrap_frame): New.
10625 Macro like wrap_device.
10628 * general.c (SYMBOL):
10629 * general.c (syms_of_general):
10630 Major reorg. This is now just a wrapper and symbols themselves
10631 are listed in general-slots.h.
10633 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10634 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10636 * glyphs-msw.c (mswindows_native_layout_instantiate):
10637 Add DS_CONTROL so keyboard traversal will work.
10640 * glyphs-widget.c (syms_of_glyphs_widget):
10641 Move some symbols to general-slots.h.
10644 * glyphs-x.c (xbm_instantiate_1):
10645 * glyphs-x.c (x_xbm_instantiate):
10646 * glyphs-x.c (x_xface_instantiate):
10647 * glyphs-x.c (autodetect_instantiate):
10648 * glyphs-x.c (cursor_font_instantiate):
10649 * glyphs-x.c (x_update_widget):
10650 * glyphs-x.c (x_widget_instantiate):
10651 * glyphs.c (bitmap_to_lisp_data):
10652 * glyphs.c (pixmap_to_lisp_data):
10655 * glyphs.c (syms_of_glyphs):
10659 * gui-x.c (print_widget_value):
10660 * gui-x.c (menu_separator_style_and_to_external):
10661 * gui-x.c (add_accel_and_to_external):
10662 * gui-x.c (button_item_to_widget_value):
10663 * gui-x.c (gui_items_to_widget_values_1):
10664 * gui-x.c (gui_items_to_widget_values):
10665 * gui-x.c (syms_of_gui_x):
10666 * gui-x.c (vars_of_gui_x):
10667 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10671 Muleize, prototype changes matching gui-x.c.
10674 * gui.c (separator_string_p):
10675 * gui.c (gui_item_add_keyval_pair):
10676 * gui.c (make_gui_item_from_keywords_internal):
10677 * gui.c (signal_too_long_error):
10678 * gui.c (parse_gui_item_tree_item):
10679 * gui.c (syms_of_gui):
10680 * gui.c (vars_of_gui):
10682 menu-no-selection-hook moved here (used by MSWin).
10683 Move some symbols to general-slots.h.
10687 * insdel.c (get_buffer_pos_char):
10688 * insdel.c (get_buffer_range_char):
10691 * keymap.c (keymap_lookup_directly):
10692 * keymap.c (keymap_store):
10693 * keymap.c (ensure_meta_prefix_char_keymapp):
10694 * keymap.c (describe_map):
10696 Support new button modifiers.
10698 * lisp-disunion.h (wrap_object):
10699 * lisp-disunion.h (XSETOBJ):
10700 Rename make_obj to wrap_object.
10703 * lisp-union.h (make_int):
10704 * lisp-union.h (make_char):
10705 Support wrap_object.
10708 * lisp.h (LIST_LOOP):
10709 * lisp.h (EXTERNAL_LIST_LOOP):
10710 * lisp.h (LIST_LOOP_2):
10711 * lisp.h (EXTERNAL_LIST_LOOP_1):
10712 * lisp.h (EXTERNAL_LIST_LOOP_2):
10713 * lisp.h (EXTERNAL_LIST_LOOP_3):
10714 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10715 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10716 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10717 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10718 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10719 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10720 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10721 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10722 * lisp.h (struct Lisp_Symbol):
10723 * lisp.h (maybe_continuable_error_with_frob):
10724 Fix up section comments.
10725 Add new types for char to indicate usage.
10726 Delete symbols auto-generated from general-slots.h.
10727 Add prototypes for structured error functions.
10728 Add long comments describing looping macros and change interface
10729 so that lvalues are automatically declared.
10730 Add NO_DECLARE macro in case callers want to declare lvalues
10733 * lread.c (read_syntax_error):
10734 * lread.c (continuable_read_syntax_error):
10735 * lread.c (read_structure):
10736 * lread.c (sequence_reader):
10737 * lread.c (read_list_conser):
10738 * lread.c (read_compiled_function):
10739 Rename syntax_error and continuable_syntax_error to avoid clash
10740 with same-named structured error functions.
10742 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10743 * menubar-msw.c (populate_menu_add_item):
10744 * menubar-msw.c (populate_or_checksum_helper):
10749 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10750 Mule-ize whole file.
10752 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10754 * mule-charset.c (Fmake_charset):
10755 * mule-wnnfns.c (Fwnn_set_param):
10758 * ntproc.c (create_child):
10759 * ntproc.c (Fwin32_set_current_locale):
10760 Add comments portending doom.
10763 * objects-msw.c (old_font_enum_callback_2):
10764 * objects-msw.c (font_enum_callback_1):
10765 * objects-msw.c (mswindows_enumerate_fonts):
10769 * objects-x.c (allocate_nearest_color):
10770 * objects-x.c (x_parse_nearest_color):
10771 * objects-x.c (x_initialize_color_instance):
10772 * objects-x.c (x_print_color_instance):
10773 * objects-x.c (x_finalize_color_instance):
10774 * objects-x.c (x_valid_color_name_p):
10775 * objects-x.c (x_initialize_font_instance):
10776 * objects-x.c (x_print_font_instance):
10777 * objects-x.c (valid_x_font_name_p):
10778 * objects-x.c (truename_via_FONT_prop):
10779 * objects-x.c (truename_via_random_props):
10780 * objects-x.c (truename_via_XListFonts):
10781 * objects-x.c (x_font_truename):
10782 * objects-x.c (x_font_instance_truename):
10783 * objects-x.c (x_font_instance_properties):
10784 * objects-x.c (x_list_fonts):
10785 * objects-x.c (x_find_charset_font):
10786 Mule-ize entire file.
10793 * print.c (std_handle_out_external):
10794 * print.c (debug_print_no_newline):
10795 * print.c (syms_of_print):
10796 Output to all debugger kinds in debug-print.
10797 Fix console-output code under MSWin to actually work.
10799 * process-nt.c (send_signal):
10800 * process-nt.c (nt_create_process):
10801 Use newer Unicode macros.
10803 * process-unix.c (unix_create_process):
10804 * process-unix.c (unix_canonicalize_host_name):
10805 * process-unix.c (unix_open_network_stream):
10811 * search.c (syms_of_search):
10814 * select-msw.c (mswindows_destroy_selection):
10817 * select-x.c (symbol_to_x_atom):
10820 * select.c (syms_of_select):
10823 * sound.c (Fplay_sound_file):
10827 * specifier.c (decode_specifier_type):
10828 * specifier.c (Fvalid_specifier_locale_type_p):
10829 * specifier.c (check_valid_locale_or_locale_type):
10830 * specifier.c (decode_locale):
10831 * specifier.c (decode_locale_type):
10832 * specifier.c (decode_locale_list):
10833 * specifier.c (check_valid_domain):
10834 * specifier.c (decode_specifier_tag_set):
10835 * specifier.c (Fcanonicalize_tag_set):
10836 * specifier.c (Fdefine_specifier_tag):
10837 * specifier.c (Fspecifier_tag_predicate):
10838 * specifier.c (check_valid_inst_list):
10839 * specifier.c (check_valid_spec_list):
10840 * specifier.c (decode_how_to_add_specification):
10841 * specifier.c (check_modifiable_specifier):
10842 * specifier.c (specifier_add_spec):
10843 * specifier.c (boolean_validate):
10844 * specifier.c (display_table_validate):
10847 * specifier.c (syms_of_specifier):
10848 Move some symbols to general-slots.h.
10852 * symbols.c (Fmapatoms):
10853 * symbols.c (Fapropos_internal):
10856 * symbols.c (set_default_buffer_slot_variable):
10857 * symbols.c (set_default_console_slot_variable):
10860 * symbols.c (defsymbol_massage_name_1):
10861 * symbols.c (defkeyword_massage_name):
10862 * symbols.c (deferror_1):
10863 * symbols.c (deferror):
10864 * symbols.c (deferror_massage_name_and_message):
10866 * symeval.h (DEFSYMBOL):
10867 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10869 * symbols.c (syms_of_symbols):
10873 * symsinit.h (init_win32): New.
10874 Also new is syms_of_dialog_mswindows.
10877 Add new Unicode macros, missing Cygwin wide-char functions,
10878 convenience conversion macros for Qmswindows_tstr, macros for
10879 encapsulating required MSWin <-> Cygwin filename conversions,
10880 prototype for dynamically-extracted (not in NT 3.51) functions.
10885 * tooltalk.c (Fadd_tooltalk_message_arg):
10886 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10887 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10890 * tooltalk.c (syms_of_tooltalk):
10894 * unexnt.c (unexec):
10895 Fix up headers, declaration of unexec() to be more standard.
10897 2000-07-20 Martin Buchholz <martin@xemacs.org>
10899 * offix.h: Revert change to guard macros - they're used in offix.c!
10901 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10903 * lisp.h: Defsubred Fdelete.
10905 * console-msw.h: (msprinter_default_printer): Added.
10907 * console-msw.c (msprinter_canonicalize_console_connection):
10908 (msprinter_canonicalize_device_connection): Added.
10910 * device-msw.c (msprinter_default_printer):
10911 (Fmswingows_get_default_printer):
10912 (signal_enum_priner_error):
10913 (Fmswingows_printer_list): Added.
10915 2000-07-19 Martin Buchholz <martin@xemacs.org>
10917 * XEmacs 21.2.35 is released.
10919 2000-07-19 Martin Buchholz <martin@xemacs.org>
10921 * select-x.c (x_handle_selection_request):
10922 Text selected in xemacs and pasted into xterm failed to appear.
10923 Spelling fixes and cosmetic changes.
10925 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10927 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10928 XEmacs frame (fix for doubling chars in dialog boxes).
10930 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10932 * select.c (select_convert_in, select_convert_out):
10933 Don't call intern() every time.
10935 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10936 * select.c (vars_of_select): Initialise them.
10938 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10940 * select.c (selection-coercible-types): New.
10942 * select.c (own-selection-internal):
10943 * select.c (get-selection-internal):
10944 MULE bug fix - these should default to COMPOUND_TEXT and not
10945 STRING for MULE. I think.
10947 * select.c (select_convert_out): Use selection-coercible-types
10948 to find types that we can attempt to perform coercions on.
10950 2000-07-18 Martin Buchholz <martin@xemacs.org>
10954 Add coding: cookie to identify encoding.
10956 * mule-canna.c (CANNA_mode_keys): make static.
10957 Use proper prototypes, even for functions of no arguments.
10958 Remove external prototype for Fding().
10960 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
10962 * select.c (syms_of_select): Add missing DEFSUBR.
10964 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10966 * select.c (get_selection_internal, own_selection_internal):
10967 Make the type default to STRING, rather than placing a nil type
10968 into Vselection_alist.
10970 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10972 * gpmevent.c (tty_selection_exists_p):
10973 * gpmevent.c (tty_own_selection):
10974 Updated parameter lists.
10976 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
10978 * select.h (selection-alist): Removed declaration.
10980 * select.h (get_local_selection):
10981 * select.c (get_local_selection):
10984 * select.h (convert_selection): Removed declaration.
10985 * select.c (convert_selection): Removed.
10986 This function belongs in Lisp.
10988 * select.h (select_convert_in): Declare.
10989 * select.h (select_convert_out): Declare.
10990 * select.c (select_convert_in): New.
10991 * select.c (select_convert_out): New.
10992 New conversion functions for other files to call.
10994 * select.h (select_notify_buffer_kill): Declare.
10995 * select.c (select_notify_buffer_kill): New.
10996 New functions that get called from kill-buffer.
10998 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
10999 X-specific lisp code.
11001 * select.h: Declare some of the lisp-visible functions for
11004 * select.c (clean_local_selection_data): Removed. This was
11005 a disgusting function, and previously should have been in
11006 select-x.c in any case. The functionality is now provided
11007 in select-convert-from-integer (select.el).
11009 * select.c (available-selection-types): Fixed stupidity where
11010 INTEGER and ATOM got added twice. Also add STRING when we see an
11013 * select.c (get-selection-internal): Removed symbol stripping. No
11014 longer causes conversion when data comes from the internal cache.
11016 * select.c (syms_of_select): Added new functions.
11018 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11019 error checking - previously this called abort!
11021 * select-x.c (x_own_selection): Changed comment.
11023 * select-x.c (x_handle_selection_request): Use select_convert_out.
11024 Don't mess with selection-alist; it's an internal variable of select.c.
11026 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11028 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11029 rather than messing with selection-alist.
11031 * select-msw.c (mswindows_get_foreign_selection):
11032 Use TO_INTERNAL_FORMAT rather than hacking.
11034 2000-07-14 Martin Buchholz <martin@xemacs.org>
11036 * process-unix.c (unix_open_multicast_group):
11037 (unix_open_multicast_group): Remove useless casts.
11039 2000-07-13 Martin Buchholz <martin@xemacs.org>
11041 * sound.c (Fplay_sound): Fix `unused variable' warning.
11043 * emacs.c (main): Use correct type for _environ on SCO5.
11045 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11047 * console.h (own_selection_method):
11048 * console.h (selection_exists_p_method):
11049 * console.h (available_selection_types_method): New.
11050 * console.h (register_selection_data_type_method): New.
11051 * console.h (selection_data_type_name): New.
11053 * console-msw.h (mswindows_destroy_selection): Declare it. New
11054 function & alist to track GlobalAlloc()'d handles that need
11055 releasing when the clipboard data gets replaced or emptied.
11057 * event-msw.c (mswindows_wnd_proc): Call it.
11059 * lisp.h, general.c (Qappend): New symbol representing a
11062 * select.c (own-selection-internal):
11063 * select.c (selection-exists-p):
11064 * select.c (available-selection-types): New.
11065 * select.c (register-selection-data-type): New.
11066 * select.c (selection-data-type-name): New. New functions to deal
11067 with device-specific selection data formats.
11068 * select.c (selection-converter-out-alist): Renamed.
11069 * select.c (selection-converter-in-alist): New.
11070 * select.c (selection-appender-alist): New. Added new alists.
11071 * select.c (syms_of_select, vars_of_select): Added new symbols &
11073 * select.c (get_local_selection): Split.
11074 * select.c: Removed spurious type checking - selections may now be
11075 of any type, not just strings.
11076 * select.c (own-selection-internal):
11078 * select.h, select.c (convert_selection): New. Created
11079 convert_selection() function based on get_local_selection().
11080 * select.h, select.c (QCF_*): New symbols representing mswindows
11082 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11083 symbols representing `how-to-add' modes.
11085 * select-msw.c (x_sym_p): New.
11086 * select-msw.c (symbol_to_ms_cf): New.
11087 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11088 symbols & clipboard formats. Can also handle string names.
11089 * select-msw.c (mswindows_own_selection):
11090 * select-msw.c (mswindows_selection_exists_p):
11091 Added `data-type' parameter. Use it.
11092 * select-msw.c (mswindows_available_selection_types): New.
11093 * select-msw.c (mswindows_register_selection_data_type): New.
11094 * select-msw.c (mswindows_selection_data_type_name): New.
11095 * select-msw.c (mswindows_own_selection):
11096 * select-msw.c (mswindows_get_foreign_selection):
11097 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11098 * select-msw.c (console_create_select_mswindows): Added new methods.
11099 * select-msw.c (mswindows_destroy_selection): New.
11100 * select-msw.c (Vhandle_alist): New list.
11101 * select-msw.c (mswindows_own_selection):
11103 * select-x.c (x_own_selection):
11104 * select-x.c (x_selection_exists_p):
11105 * select-x.c: Added some comments about maybe using new
11107 * select-x.c (x_own_selection):
11109 * specifier.c: Remove definition of Qappend (now in general.c)
11110 * specifier.c (syms_of_specifier): Remove Qappend.
11112 2000-07-12 Martin Buchholz <martin@xemacs.org>
11114 * config.h.in: Add socklen_t.
11116 * s/decosf4-0.h: No special compiler flags needed or desired.
11117 In particular, undefine _BSD for DEC OSF 4.0.
11119 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11121 * redisplay-msw.c (msprinter_frame_output_end): Added.
11122 (console_type_create_redisplay_mswindows): Referred the above.
11124 * frame.c (setup_frame_without_minibuffer): Do not create a
11125 default minibuffer frame on a printer device.
11127 * frame-msw.c (apply_dc_geometry): Added.
11128 (msprinter_start_page):
11129 (msprinter_init_frame_3):
11130 (msprinter_eject_page): Use it.
11132 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11133 and removed residual duplex and orientation properties.
11135 2000-07-11 Martin Buchholz <martin@xemacs.org>
11137 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11139 * unexalpha.c: Remove system prototypes from C sources!
11141 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11143 * eval.c: Remove references to M-x edit-options in DEFUNs for
11144 `defvar' and `defconst'.
11146 2000-07-09 Martin Buchholz <martin@xemacs.org>
11148 * config.h.in: Remove SMART_INCLUDE hackery.
11150 PostgreSQL hacking:
11151 * config.h.in: Don't use SMART_INCLUDE.
11153 * postgresql.h: Include libpq-fe.h here. Fix typo.
11154 * inline.c: Simply #include "postgresql.h"
11156 - Don't use SMART_INCLUDE
11157 - Use simply "const".
11158 - Use standard doc string conventions.
11159 - Use correct type for result of PQstatus.
11161 2000-07-09 Martin Buchholz <martin@xemacs.org>
11163 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11165 C++ compilation changes.
11166 * config.h.in (EXTERN_C): Define.
11167 * config.h.in (not): This is also a C++ keyword.
11168 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11169 * cm.c: Use EXTERN_C.
11170 * redisplay-tty.c: Use EXTERN_C.
11171 * sysdep.c: Use EXTERN_C. Remove Gould support.
11173 2000-07-09 Martin Buchholz <martin@xemacs.org>
11175 * general.c: Remove duplicate definition for Qfunction.
11177 2000-07-08 Ben Wing <ben@xemacs.org>
11179 * device-msw.c (msprinter_init_device):
11180 * device-msw.c (sync_printer_with_devmode):
11181 * device-msw.c (handle_devmode_changes):
11182 * device-msw.c (print_dialog_worker):
11183 * device-msw.c (Fmsprinter_apply_settings):
11184 * device-msw.c (hash_devmode):
11185 * device-msw.c (Fmsprinter_settings_despecialize):
11186 use Qmswindows_tstr, not Qctext.
11188 * vm-limit.c (check_memory_limits):
11189 avoid infinite loop printing warning messages.
11191 2000-07-05 Craig Lanning <lanning@scra.org>
11193 * Makefile.in.in: Add support for including the Windows resources
11194 when building with the cygwin and mingw targets.
11196 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11197 not set or not correct.
11198 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11199 (init_initial_directory): Don't try to use $PWD on the
11200 WIN32_NATIVE target.
11203 [[Add -mwindows to eliminate console window.]] not required --ben
11204 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11205 (MAIL_USE_POP): removed; now handled by configure.
11207 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11208 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11209 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11210 (MAIL_USE_POP): removed; now handled by configure.
11211 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11212 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11213 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11215 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11216 up from <winsock.h> via systime.h.
11217 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11218 (getpagesize): from Dan Holmsand, added.
11219 Added #endif which was left dangling by Ben's mega patch; added
11220 comment to help prevent this in the future.
11222 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11224 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11226 * console-msw.h (struct mswindows_device): Removed unnecessary
11227 cached device geometry values.
11228 Added update_tick and an accessor macro.
11229 (Lisp_Devmode): Added lrecord declaration.
11230 (struct msprinter_device): Contain devmode as a Lisp object.
11231 Added mswindows_get_selected_frame_hwnd();
11233 * console.h (struct console_methods): Indentation nitpicking.
11235 * device-msw.c (mswindows_init_device): Do not initialize geometry
11236 cache. Initialize update tick.
11237 (mswindows_device_system_metrics): Ask the device for its geometry.
11238 (global_free_2_maybe):
11239 (devmode_to_hglobal):
11240 (handle_printer_changes):
11241 (ensure_not_printing):
11242 (print_dialog_worker):
11243 (Fmsprinter_print_setup_dialog):
11244 (Fmsprinter_print_dialog):
11245 (plist_get_margin):
11246 (plist_set_margin):
11247 (Fmsprinter_page_setup_dialog): Added functions.
11248 (sync_printer_with_devmode):
11249 (handle_devmode_changes):
11250 (Fmsprinter_get_settings):
11251 (Fmsprinter_select_settings):
11252 (Fmsprinter_apply_settings):
11253 (allocate_devmode):
11254 (Fmsprinter_settings_copy):
11255 (Fmsprinter_settings_despecialize):
11257 (finalize_devmode):
11259 (hash_devmode): Added functions
11260 (syms_of_device_mswindows): Init devmode lrecord class.
11262 * device.h: Added an exfun for find-device.
11264 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11265 geometry; although, recreate the device compatible DC.
11267 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11268 (msprinter_init_frame_3):
11269 (msprinter_frame_property):
11270 (msprinter_internal_frame_property_p):
11271 (msprinter_frame_properties):
11272 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11273 print job properties (will move to device settings).
11275 * lisp.h: Added symbols.
11277 * general.c (syms_of_general): Declared them.
11279 * hash.c (string_hash): Added.
11281 * lrecord.h (lrecord_type): Added devmode lrecord type.
11283 2000-07-02 Mike Sperber <mike@xemacs.org>
11285 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11288 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11290 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11293 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11295 * data.c (Fstring_to_number): Don't recognize floating point if
11298 2000-06-22 Martin Buchholz <martin@xemacs.org>
11300 * glyphs-widget.c (tab_control_query_geometry):
11301 (widget_query_geometry):
11302 (button_query_geometry):
11303 * glyphs.c (text_query_geometry):
11304 Enforce type correctness.
11306 2000-06-18 Martin Buchholz <martin@xemacs.org>
11308 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11309 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11311 2000-06-17 Martin Buchholz <martin@xemacs.org>
11313 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11314 conflicts with gcc's fixincluded version of FOO.h.
11316 * glyphs.h (image_instance_geometry): Remove trailing `,'
11318 2000-06-08 Mike Alexander <mta@arbortext.com>
11320 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11321 (shove_thread): Don't write the same output twice
11322 (make_ntpipe_output_stream): Increase priority of shove thread
11323 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11325 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11328 2000-06-12 Ben Wing <ben@xemacs.org>
11330 * s\mingw32.h (sigset):
11331 * s\windowsnt.h (sigset):
11332 rename msw_ to mswindows_ for consistency with general convention.
11334 2000-06-12 Ben Wing <ben@xemacs.org>
11337 * console-msw.c (mswindows_get_console_hwnd):
11338 * console-msw.c (mswindows_ensure_console_allocated):
11339 * console-msw.c (mswindows_hide_console):
11340 * console-msw.c (mswindows_show_console):
11341 * console-msw.c (mswindows_ensure_console_buffered):
11342 * console-msw.c (mswindows_output_console_string):
11343 * console-msw.c (mswindows_windows9x_p):
11345 * device-msw.c (mswindows_get_workspace_coords):
11346 * device-msw.c (mswindows_device_system_metrics):
11347 * dialog-msw.c (mswindows_popup_dialog_box):
11348 * event-msw.c (mswindows_wnd_proc):
11349 * frame-msw.c (mswindows_size_frame_internal):
11350 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11351 * menubar-msw.c (displayable_menu_item):
11352 * menubar-msw.c (mswindows_char_is_accelerator):
11354 * nt.c (mswindows_sigset):
11355 * nt.c (mswindows_sigrelse):
11356 * nt.c (mswindows_sigpause):
11357 * nt.c (mswindows_raise):
11358 * nt.c (timer_proc):
11360 * ntproc.c (find_child_console):
11361 * ntproc.c (sys_kill):
11363 * print.c (std_handle_out_external):
11364 * process-nt.c (find_child_console):
11365 * process-nt.c (send_signal_the_95_way):
11366 * process-nt.c (ensure_console_window_exists):
11367 * process-nt.c (nt_create_process):
11369 rename msw_ to mswindows_ for consistency with general convention.
11373 include nt.h, not syswindows.h.
11375 * nt.c (mswindows_fstat):
11376 * nt.c (mswindows_stat):
11377 prefix mswindows_ instead of attempting to directly override the
11378 library functions. fix declarations.
11381 include syswindows.h. move some sysdep.h stuff here.
11384 include syswindows.h, not <windows.h>.
11392 * sysdep.c (sys_fstat):
11393 * sysdep.c (sys_stat):
11394 call mswindows versions when appropriate.
11397 move mswin decls to nt.h.
11400 add long comment describing appropriate use of the various windows
11403 2000-06-11 Ben Wing <ben@xemacs.org>
11405 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11407 2000-06-10 Ben Wing <ben@xemacs.org>
11409 * Makefile.in.in (release):
11410 Correction to make sure xemacs.exe always dumped when correct.
11414 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11416 * buffer.c (set_buffer_internal):
11417 [[[[2]]]]: Remove HAVE_FEP code.
11419 * buffer.c (init_initial_directory):
11423 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11427 * callproc.c (call_process_cleanup):
11428 * callproc.c (Fold_call_process_internal):
11429 * callproc.c (child_setup):
11430 * callproc.c (getenv_internal):
11431 * callproc.c (init_callproc):
11432 * callproc.c (vars_of_callproc):
11433 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11434 __CYGWIN32__ -> CYGWIN.
11435 DOS_NT -> WIN32_NATIVE.
11436 Remove MSDOS support/references, converting to WIN32_NATIVE
11438 __MINGW32__ -> MINGW.
11439 Fix windows.h includes.
11440 Remove bogus HAVE_NTGUI.
11446 mswindows_message_outputted added for use in allowing startup
11447 errors on the console to be seen.
11449 * console-msw.c (msw_ensure_console_allocated):
11450 * console-msw.c (msw_output_console_string):
11451 * console-msw.c (DHEADER):
11452 * console-msw.c (DOPAQUE_DATA):
11453 * console-msw.c (DEVENT):
11454 * console-msw.c (DCONS):
11455 * console-msw.c (DCONSCDR):
11456 * console-msw.c (DSTRING):
11457 * console-msw.c (DVECTOR):
11458 * console-msw.c (DSYMBOL):
11459 * console-msw.c (DSYMNAME):
11462 * console-stream.c (stream_init_console):
11463 Fix text/binary problems.
11466 * device-msw.c (mswindows_finish_init_device):
11467 * device-msw.c (mswindows_delete_device):
11470 * device.c (handle_asynch_device_change):
11474 * dgif_lib.c (DGifOpenFileName):
11475 * dgif_lib.c (DGifOpenFileHandle):
11476 * dgif_lib.c (DGifGetLine):
11477 * dgif_lib.c (DGifGetPixel):
11478 Added config.h/lisp.h, fix up includes.
11485 * dired.c (file_name_completion):
11486 * dired.c (Ffile_attributes):
11487 * dired.c (syms_of_dired):
11491 * dumper.c (pdump_file_unmap):
11492 * dumper.c (pdump_load):
11496 * editfns.c (Ftemp_directory):
11497 * editfns.c (user_login_name):
11498 * editfns.c (Fuser_real_login_name):
11499 * editfns.c (get_home_directory):
11502 * elhash.c (finish_marking_weak_hash_tables):
11503 [[[[5]]]]: Fix GCC warnings.
11506 * emacs.c (mswindows_handle_hardware_exceptions):
11507 * emacs.c (make_arg_list_1):
11508 * emacs.c (main_1):
11509 * emacs.c (Fkill_emacs):
11510 * emacs.c (Fdump_emacs):
11512 Fix problems with nested crashes, add long comment.
11514 * event-Xt.c (init_event_Xt_late):
11518 * event-msw.c (mswindows_dde_callback):
11519 * event-msw.c (mswindows_handle_sticky_modifiers):
11520 * event-msw.c (mswindows_wnd_proc):
11524 * events.c (character_to_event):
11528 * fileio.c (Ffile_name_directory):
11529 * fileio.c (Ffile_name_nondirectory):
11530 * fileio.c (directory_file_name):
11531 * fileio.c (Fexpand_file_name):
11532 * fileio.c (Fsubstitute_in_file_name):
11533 * fileio.c (Ffile_name_absolute_p):
11534 * fileio.c (check_executable):
11535 * fileio.c (Ffile_readable_p):
11536 * fileio.c (Ffile_accessible_directory_p):
11537 * fileio.c (Ffile_modes):
11538 * fileio.c (Funix_sync):
11539 * fileio.c (vars_of_fileio):
11542 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11544 Expand getdefdir defn.
11545 Fix bogus rename() comment.
11547 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11548 to use standard XEmacs include files, e.g. sysfile.h, rather
11549 than system-specific includes.
11555 * frame.c (vars_of_frame):
11559 * getloadavg.c (getloadavg):
11561 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11562 (We don't use it elsewhere in the code; just add a comment.)
11569 * glyphs-msw.c (mswindows_resource_instantiate):
11572 * glyphs-x.c (x_native_layout_instantiate):
11575 * gui-msw.c (Fmswindows_shell_execute):
11584 * lread.c (locate_file_in_directory_mapper):
11591 * mem-limits.h (get_lim_data):
11603 * nt.c (rva_to_section):
11604 * nt.c (mswindows_executable_type):
11606 Fix closedir() defn.
11609 [[[[8]]]]: *_OK defs moved to sysfile.h.
11618 * print.c (std_handle_out_external):
11622 * process-nt.c (nt_create_process):
11624 try to fix process quoting somewhat.
11626 * process-unix.c (unix_create_process):
11630 * process.c (vars_of_process):
11637 * realpath.c (xrealpath):
11640 * redisplay-tty.c (init_tty_for_redisplay):
11650 * sheap.c (more_static_core):
11651 * sheap.c (report_sheap_usage):
11655 * signal.c (alarm_signal):
11662 * strftime.c (zone_name):
11665 * symsinit.h (init_sunpro):
11669 commctrl.h not in Cygwin b20.1.
11672 * sysdep.c (endif):
11673 * sysdep.c (sys_subshell):
11674 * sysdep.c (init_baud_rate):
11675 * sysdep.c (emacs_get_tty):
11676 * sysdep.c (emacs_set_tty):
11677 * sysdep.c (tty_init_sys_modes_on_device):
11678 * sysdep.c (init_system_name):
11679 * sysdep.c (sys_open):
11680 * sysdep.c (interruptible_open):
11681 * sysdep.c (sys_fopen):
11682 * sysdep.c (sys_mkdir):
11683 * sysdep.c (sys_rename):
11684 * sysdep.c (get_process_times_1):
11691 * sysdir.h (DIRENTRY_NONEMPTY):
11694 * sysdll.c (dll_init):
11700 added text/binary defs.
11706 * sysproc.h (EDESTADDRREQ):
11707 * sysproc.h (poll_fds_for_input):
11724 Always define WIN32_LEAN_AND_MEAN.
11726 * unexcw.c (unexec):
11730 * unexec.c (copy_text_and_data):
11731 * unexec.c (adjust_lnnoptrs):
11735 * unexnt.c (_start):
11738 2000-06-07 Ben Wing <ben@xemacs.org>
11740 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11741 was used only as a model. We've long since extracted any useful
11742 logic or code out of this. (I just did an exhaustive search.)
11744 * s\msdos.h: Removed.
11746 * s\windows95.h: Removed.
11748 2000-06-10 Ben Wing <ben@xemacs.org>
11752 Don't use extern with fun defs.
11756 Remove nt\inc include.
11757 Remove getdisk, getdefdir. (The former is unused, the latter
11758 expanded in fileio.h.)
11761 * s\windowsnt.h (WIN32_NATIVE):
11762 * s\windowsnt.h (HAVE_STRCASECMP):
11764 Add long comment about preprocessor changes.
11765 Remove getdisk, getdefdir. (The former is unused, the latter
11766 expanded in fileio.h.)
11768 2000-06-10 Ben Wing <ben@xemacs.org>
11777 Remove bogus/unused NO_SOCK_SIGIO.
11779 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11781 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11784 2000-06-04 Mike Sperber <mike@xemacs.org>
11786 * casetab.c (set_case_table): For `set-standard-case-table',
11787 actually deposit the new case tables where the rest of XEmacs can
11790 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11792 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11794 2000-06-05 Ben Wing <ben@xemacs.org>
11796 * callproc.c (child_setup): Don't do close_load_descs() under
11797 MS Windows. Put in a comment explaining why.
11799 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11801 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11802 Toolkit shell" which breaks `kill-compilation' on Windows NT
11803 native, retaining STDERR handling improvements.
11805 2000-06-01 Andreas Jaeger <aj@suse.de>
11807 * s/s390.h: Support for S390, based on a patch by Martin
11808 Schwidefsky <schwidefsky@de.ibm.com>.
11810 2000-05-30 Andy Piper <andy@xemacs.org>
11812 * window.c (allocate_window):
11813 (make_dummy_parent):
11814 (Fset_window_configuration): use new hashtable type.
11816 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11817 (struct image_instantiator_methods):
11818 (struct Lisp_Image_Instance): make instance geometry signed.
11820 * glyphs.c (instantiate_image_instantiator):
11821 (image_instance_query_geometry):
11822 (image_instance_layout):
11823 (image_instance_layout):
11824 (query_string_geometry):
11825 (text_query_geometry):
11826 (image_instantiate):
11827 (image_instantiate):
11828 (cache_subwindow_instance_in_frame_maybe):
11829 (subwindow_query_geometry): make instance geometry signed.
11831 * glyphs-widget.c (widget_query_geometry):
11833 (button_query_geometry):
11834 (tree_view_query_geometry):
11835 (tab_control_query_geometry):
11836 (layout_query_geometry):
11838 (native_layout_layout): make instance geometry signed.
11840 2000-05-29 Olivier Galibert <galibert@pobox.com>
11842 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11845 * general.c (syms_of_general): Add Qfull_assoc symbol.
11847 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11849 (decode_weak_list_type): Decode full-assoc type.
11850 (encode_weak_list_type): Encode full-assoc type.
11851 (Fmake_weak_list): Update doc string.
11853 2000-05-30 Andy Piper <andy@xemacs.org>
11855 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11857 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11858 (decode_hash_table_weakness): ditto.
11859 (Fhash_table_weakness): ditto.
11860 (Fhash_table_type): ditto.
11861 (finish_marking_weak_hash_tables): ditto.
11862 (hash_table_weakness_validate): ditto.
11863 (syms_of_elhash): ditto.
11865 2000-05-28 Martin Buchholz <martin@xemacs.org>
11867 * XEmacs 21.2.34 is released.
11869 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11871 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11873 (updating_line_start_cache): Gone.
11874 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11875 generic code to force a minimum of 1 line laid out in the
11878 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11880 * glyphs.c (instantiate_image_instantiator): Check for initialized
11881 height & width no longer special cases IMAGE_NOTHING.
11882 (nothing_instantiate): Set height and width of instance.
11884 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11886 * unexelf.c (unexec): Search for ".data" section.
11887 Initialize new_data2_offset from old_data_index.
11888 Remove redundant check for ElfW.
11890 2000-05-23 Andy Piper <andy@xemacs.org>
11892 * glyphs.c (get_image_instantiator_governing_domain): allow more
11893 specific domains as the governing domain rather than expecting an
11894 exact match. This fixes problems with layouts.
11896 2000-05-22 Andy Piper <andy@xemacs.org>
11898 * redisplay-output.c (compare_runes): check for non-images
11900 * glyphs.c (set_glyph_dirty_p): ditto.
11901 (update_glyph_cachel_data): ditto.
11903 * glyphs-widget.c (layout_post_instantiate): ditto.
11904 (layout_post_instantiate): ditto.
11906 * event-msw.c (mswindows_wnd_proc): warning removal.
11908 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11910 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11912 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11914 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11916 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11917 (mswindows_executable_type): mingw32 now has enough headers for
11920 2000-05-20 Andy Piper <andy@xemacs.org>
11922 * console-msw.c (mswindows_output_last_error): ; -> ,
11924 2000-05-12 Andy Piper <andy@xemacs.org>
11926 * console-msw.c (FROB): compare ints with ints.
11928 2000-05-11 Andy Piper <andy@xemacs.org>
11930 * glyphs-x.c (x_finalize_image_instance): make minimal build
11933 2000-05-20 Ben Wing <ben@xemacs.org>
11936 * event-Xt.c (vars_of_event_Xt):
11937 move modifier-keys-are-sticky to event-stream.c.
11940 * event-msw.c (mswindows_enqueue_mouse_button_event):
11941 * event-msw.c (key_needs_default_processing_p):
11942 * event-msw.c (XEMSW_LCONTROL):
11943 * event-msw.c (mswindows_handle_sticky_modifiers):
11944 * event-msw.c (FROB):
11945 * event-msw.c (clear_sticky_modifiers):
11946 * event-msw.c (output_modifier_keyboard_state):
11947 * event-msw.c (output_alt_keyboard_state):
11948 * event-msw.c (mswindows_wnd_proc):
11949 * event-msw.c (mswindows_modifier_state):
11950 * event-msw.c (emacs_mswindows_handle_magic_event):
11951 implement sticky modifiers.
11954 * event-stream.c (vars_of_event_stream):
11955 move modifier-keys-are-sticky here.
11958 add CHECK_FUNCTION.
11961 implement map-range-table.
11964 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
11966 * redisplay-tty.c (reset_tty_modes):
11967 (tty_redisplay_shutdown): Adjust argument type to
11968 tty_frame_output_end.
11970 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
11972 * eval.c (Fbacktrace): Don't output a line with only right
11975 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
11977 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
11978 (Fpq_reset_poll): Ditto.
11980 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
11982 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
11984 2000-05-16 Ben Wing <ben@xemacs.org>
11987 * buffer.c (dfc_convert_to/from_internal_format):
11988 * buffer.c (reinit_vars_of_buffer):
11989 Fix conversion functions to allow reentrancy.
11992 * console-msw.c (mswindows_output_last_error):
11993 New fun, generally useful -- output a human-readable
11994 version of GetLastError() on the console.
11997 * console-msw.h (struct mswindows_frame):
11998 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12000 * console-stream.c (stream_output_begin):
12001 * console-stream.c (stream_output_end):
12002 * console-stream.c (stream_output_vertical_divider):
12003 * console-stream.c (stream_clear_region):
12004 * console-stream.c (stream_flash):
12005 * console-stream.c (console_type_create_stream):
12006 Delete blank stream methods, not needed.
12008 * console.h (struct console_methods):
12009 Split begin/end methods into window and frame.
12012 * event-msw.c (mswindows_handle_paint):
12013 * event-msw.c (output_alt_keyboard_state):
12014 * event-msw.c (mswindows_wnd_proc):
12015 * event-msw.c (vars_of_event_mswindows):
12016 Comment about problems with ignored-expose.
12017 Define mswindows-debug-events; not really implemented.
12019 * frame-msw.c (mswindows_init_frame_1):
12023 * glyphs-msw.c (begin_defer_window_pos):
12024 * glyphs-msw.c (mswindows_unmap_subwindow):
12025 * glyphs-msw.c (mswindows_map_subwindow):
12026 * glyphs-msw.c (mswindows_resize_subwindow):
12027 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12029 * glyphs.c (make_image_instance_1):
12032 * gutter.c (Fredisplay_gutter_area):
12033 Use new begin/end methods.
12035 * lisp.h (Dynarr_new2):
12039 * redisplay-msw.c (mswindows_frame_output_begin):
12040 * redisplay-msw.c (mswindows_frame_output_end):
12041 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12042 New begin/end methods -- handle DeferWindowPos.
12044 * redisplay-output.c (redisplay_move_cursor):
12045 * redisplay-output.c (redraw_cursor_in_window):
12046 * redisplay-output.c (redisplay_update_line):
12047 * redisplay-output.c (redisplay_output_window):
12048 New begin/end methods.
12051 * redisplay-tty.c (tty_frame_output_begin):
12052 * redisplay-tty.c (tty_frame_output_end):
12053 * redisplay-tty.c (console_type_create_redisplay_tty):
12054 New begin/end methods.
12057 * redisplay-x.c (x_window_output_begin):
12058 * redisplay-x.c (x_window_output_end):
12059 * redisplay-x.c (console_type_create_redisplay_x):
12060 New begin/end methods.
12062 * redisplay.c (redisplay_frame):
12063 * redisplay.c (Fredisplay_echo_area):
12064 New begin/end methods.
12065 use MAYBE_DEVMETH for clear_frame; it may not exist.
12067 * window.h (WINDOW_XFRAME):
12068 WINDOW_XFOO macros -- get locale and decode struct pointer.
12071 2000-05-12 Ben Wing <ben@xemacs.org>
12074 * emacs.c (ensure_no_quitting_from_now_on):
12075 * emacs.c (fatal_error_signal):
12076 * emacs.c (mswindows_handle_hardware_exceptions):
12078 * emacs.c (Fkill_emacs):
12079 * emacs.c (shut_down_emacs):
12080 * emacs.c (assert_failed):
12081 various improvements in fatal error handling.
12084 move preparing_for_armageddon to emacs.c.
12087 declare fatal_error_in_progress.
12090 * print.c (std_handle_out_external):
12091 * print.c (std_handle_out_va):
12092 * print.c (stderr_out):
12093 * print.c (stdout_out):
12094 use console under mswin when no standard output.
12095 don't do code conversion during fatal error.
12097 * scrollbar.c (Fscrollbar_page_up):
12098 * scrollbar.c (Fscrollbar_page_down):
12099 fix missing else. reindent.
12101 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12105 * glyphs.h (GLYPH_CACHEL_DESCENT):
12106 (GLYPH_CACHEL_DESCENT):
12107 (GLYPH_CACHEL_DESCENT):
12108 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12109 used in case these are inline functions.
12110 Use more absurd values to error check.
12112 include window.h for error check functions.
12114 2000-05-11 Ben Wing <ben@xemacs.org>
12116 * cmdloop.c (Freally_early_error_handler):
12117 Display message box under windows; otherwise, message will disappear
12118 before it can be viewed.
12121 * console-msw.c (Fmswindows_message_box):
12122 * console-msw.c (FROB):
12123 * console-msw.c (syms_of_console_mswindows):
12124 Define new fun `mswindows-message-box'.
12125 #### I will merge this into `popup-dialog-box'; just give me
12129 * general.c (syms_of_general):
12130 Some new symbols used in `mswindows-message-box'.
12133 * glyphs.c (Fset_image_instance_property):
12134 put warning in this fun.
12137 * glyphs.h (GLYPH_CACHEL_WIDTH):
12138 * glyphs.h (GLYPH_CACHEL_ASCENT):
12139 * glyphs.h (GLYPH_CACHEL):
12140 * glyphs.h (GLYPH_CACHEL_GLYPH):
12141 define error-checking versions to try to catch a bug i've seen --
12142 redisplay gets in an infinite loop because the glyph width of the
12143 continuation glyph is 65535.
12146 Extern message-box stuff.
12148 * window.c (allocate_window):
12149 * window.c (make_dummy_parent):
12150 * window.c (Fset_window_configuration):
12151 Use EQUAL not EQ for subwindow caches to make them work a bit
12152 better. (Something is still very broken.)
12155 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12157 * glyphs.c (image_instantiate): Suppress gcc warnings.
12158 (Fmake_image_instance): Fix doc string.
12159 * specifier.c (Fmake_specifier): Ditto.
12161 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12163 * paths.h.in (PATH_LOCK): Removed.
12164 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12165 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12167 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12169 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12170 Document (featurep '(and xemacs 21.02)).
12172 2000-05-09 Ben Wing <ben@xemacs.org>
12174 * buffer.c (complex_vars_of_buffer):
12175 update modeline-format doc.
12178 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12181 timeline of all released versions of Emacs, for use in creating
12182 authorship comments and in synching up.
12184 * glyphs-widget.c (image_instantiator_buttons):
12185 * glyphs-widget.c (image_instantiator_edit_fields):
12186 * glyphs-widget.c (image_instantiator_combo_box):
12187 * glyphs-widget.c (image_instantiator_scrollbar):
12188 * glyphs-widget.c (image_instantiator_progress_guage):
12189 * glyphs-widget.c (image_instantiator_tree_view):
12190 * glyphs-widget.c (image_instantiator_tab_control):
12191 * glyphs-widget.c (image_instantiator_labels):
12192 * glyphs-widget.c (image_instantiator_layout):
12193 * glyphs-widget.c (image_instantiator_native_layout):
12194 rename decode_domain method to governing_domain.
12197 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12198 * glyphs.c (add_entry_to_device_ii_format_list):
12199 make sure we don't put an entry more than once into the list.
12200 * glyphs.c (check_instance_cache_mapper):
12201 *************************************************************
12202 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12204 *************************************************************
12205 * glyphs.c (get_image_instantiator_governing_domain):
12206 clean up, expand on new concept of governing domain.
12207 * glyphs.c (instantiate_image_instantiator):
12208 * glyphs.c (allocate_image_instance):
12209 use governing_domain instead of cache_domain in naming.
12210 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12211 * glyphs.c (make_image_instance_1):
12212 * glyphs.c (Fmake_image_instance):
12213 allow for any domain (not just device), and process the
12214 governing domain correctly. very big doc fix.
12215 * glyphs.c (Fimage_instance_domain):
12216 new primitive, to retrieve the governing domain of an image instance.
12217 * glyphs.c (image_instantiate):
12218 use new governing_domain stuff. this fixes a crash you could get
12219 by instantiating certain widget glyphs in frame locales. (should
12220 signal an error instead of crashing.)
12221 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12222 * glyphs.c (Fglyphp): clean up doc.
12223 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12224 * glyphs.c (syms_of_glyphs):
12225 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12226 * glyphs.c (image_instantiator_format_create): add some comments about
12228 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12229 for current-display-table. (Apparently Hrjove implemented in 1998 a
12230 design I wrote up in 1996, but didn't update the doc string.)
12232 * glyphs.h: clean up a doc string.
12233 * glyphs.h (governing_domain):
12234 * glyphs.h (struct image_instantiator_methods):
12235 changes for governing_domain stuff.
12238 * gutter.c (Fgutter_specifier_p):
12239 * gutter.c (Fgutter_size_specifier_p):
12240 * gutter.c (Fgutter_visible_specifier_p):
12242 * objects.c (Fcolor_specifier_p):
12243 * objects.c (Ffont_specifier_p):
12244 * objects.c (Fface_boolean_specifier_p):
12245 doc strings moved to make-*-specifier.
12247 * redisplay.c (add_disp_table_entry_runes_1):
12248 * redisplay.c (generate_fstring_runes):
12249 * redisplay.c (screen):
12250 add random comments and doc strings.
12253 * specifier.c (Fmake_specifier):
12254 major overhaul of this doc string.
12256 * specifier.c (Fvalid_specifier_domain_p):
12257 comment about the bogosity of image instances being domains.
12258 * specifier.c (decode_domain):
12259 now non-static, used in glyphs.c.
12260 * specifier.c (specifier_instance):
12261 comment about the bogosity of image instances being domains.
12262 * specifier.c (Fgeneric_specifier_p):
12263 move doc string to make-generic-specifier.
12264 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12268 * specifier.h (DOMAIN_FRAME):
12269 * specifier.h (DOMAIN_LIVE_P):
12270 * specifier.h (DOMAIN_XDEVICE):
12272 add comments about problems with these macros.
12273 prototype for decode_domain.
12276 * toolbar.c (Ftoolbar_specifier_p):
12277 move doc string to `make-toolbar-specifier'.
12279 * window.c (window_unmap_subwindows_cache_mapper):
12280 *************************************************************
12281 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12283 *************************************************************
12285 2000-05-09 Andy Piper <andy@xemacs.org>
12287 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12289 * window.c (Fset_window_configuration): reset the frame subwindow
12290 cache and re-initialize the window subwindow caches.
12292 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12294 2000-05-09 Ben Wing <ben@xemacs.org>
12296 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12299 2000-04-26 Mike Woolley <mike@bulsara.com>
12301 * ntheap.c: Changed recreate_heap to limit the amount reserved
12302 for the heap to that which is actually available. Also now
12303 displays a message box (with some dignostics) in the event that
12304 it still can't start.
12306 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12308 * callproc.c (Fold_call_process_internal): GCPRO path
12310 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12312 Patch by Bill Perry.
12314 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12315 back data instead of #ifdef.
12316 (Fscrollbar_page_down): ditto.
12318 2000-05-07 Ben Wing <ben@xemacs.org>
12321 Kludge for defining Qmswindows_tstr.
12324 * nt.c (open_input_file):
12325 * nt.c (open_output_file):
12326 * nt.c (rva_to_section):
12327 * nt.c (mswindows_executable_type):
12328 Move all memory-mapped-file routines here (some were in unexnt.c,
12329 which is bad because they are used by process-nt.c, and unexnt
12330 won't be around when portable dumping). Synched the above routines
12334 Removed ifdef'd out bogus code.
12335 Fixed some prototypes.
12337 * nt.h (file_data):
12338 * nt.h (OFFSET_TO_RVA):
12339 * nt.h (RVA_TO_OFFSET):
12340 * nt.h (RVA_TO_PTR):
12341 Moved the memory-mapped-file structures, macros and prototypes
12342 here, to parallel nt.c. ntheap.h should really be removed
12343 entirely, and it's a non-portable-dumper specific file.
12345 * ntheap.h (round_to_next):
12346 Moved the memory-mapped-file structures, macros and prototypes
12349 * ntproc.c (compare_env):
12350 Moved rva_to_section and mswindows_executable_type to nt.c.
12351 Moved compare_env to process-nt.c.
12352 ntproc.c will die, one day.
12354 * ntproc.c (sys_spawnve):
12355 Account for win32_ -> mswindows_.
12358 * process-nt.c (struct nt_process_data):
12359 * process-nt.c (ensure_console_window_exists):
12360 * process-nt.c (compare_env):
12361 * process-nt.c (nt_create_process):
12362 * process-nt.c (nt_kill_process_by_pid):
12363 * process-nt.c (syms_of_process_nt):
12364 * process-nt.c (vars_of_process_nt):
12365 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12366 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12367 changes). Eliminate our old `nt-quote-process-args' mechanism.
12368 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12369 Move compare_env here from ntproc.c.
12371 * process.c (Fprocess_send_region):
12372 Takes an optional fourth argument, BUFFER, which should fix some
12373 problems with call-process.
12376 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12379 Move ICC_BAR_CLASSES to syscommctrl.h.
12380 Add preliminary macros for MSWindows/Mule. More to come.
12383 * unexnt.c (unexec):
12384 open_output_file moved to nt.c.
12387 2000-05-05 Andy Piper <andy@xemacs.org>
12389 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12390 instance from the frame cache also since GC may catch up too late
12391 to make frame deletion sane.
12393 2000-05-04 Andy Piper <andy@xemacs.org>
12395 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12396 (x_finalize_image_instance): ungcpro on deletion.
12398 * glyphs.c (image_instantiator_format_create): give pointers a
12399 query geometry method so that the geometry is at least set.
12401 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12402 initialize layouts if using widgets.
12404 2000-05-03 Andy Piper <andy@xemacs.org>
12406 * nt.c: remove bogus reference to sysmmsystem.h
12408 * gui-x.c (popup_selection_callback): fix no selection abort.
12410 2000-05-02 Andy Piper <andy@xemacs.org>
12412 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12413 (mswindows_widget_instantiate): ditto.
12415 * glyphs-widget.c (initialize_widget_image_instance): initialize
12416 children correctly.
12417 (widget_instantiate): cope with children and items in the same
12420 * glyphs.c (mark_image_instance): cope with children as a first
12422 (image_instance_equal): ditto.
12423 (image_instance_hash): ditto.
12424 (image_instance_changed): ditto.
12426 2000-04-30 Andy Piper <andy@xemacs.org>
12428 * glyphs.c (subwindow_query_geometry): new function. Return some
12430 (subwindow_instantiate): don't assign dimensions if none have been
12432 (image_instantiator_format_create): add subwindow_query_geometry.
12433 (print_image_instance): cope with layouts as widgets.
12435 2000-04-29 Andy Piper <andy@xemacs.org>
12437 * frame.c (delete_frame_internal): call
12438 free_frame_subwindow_instance_cache so that all subwindows are
12439 finalized before their parent.
12440 (mark_frame): remove subwindow_cachels.
12441 (Fmake_frame): remove subwindow_cachel manipulation.
12442 (allocate_frame_core): subwindow_instance_cache is a weak list.
12443 (delete_frame_internal): set subwindow_instance_cache to nil.
12445 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12447 (mswindows_finalize_image_instance): use the device
12448 not the domain as the domain may have died already.
12450 * glyphs-x.c (x_finalize_image_instance): ditto.
12451 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12454 * redisplay-output.c (redisplay_unmap_subwindows): update for
12455 subwindow instance cache as a weak list.
12456 (redisplay_unmap_subwindows_maybe): ditto.
12457 (redisplay_unmap_subwindows_except_us): ditto.
12459 * glyphs.c (unmap_subwindow): error checking will check the domain
12460 so don't deal with it here. Don't use cachels anymore.
12461 (map_subwindow): ditto.
12462 (update_subwindow_cachel_data): remove old accessor names.
12463 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12464 (Fresize_subwindow): don't update cachel.
12465 (mark_subwindow_cachels):
12466 (update_subwindow_cachel_data):
12467 (add_subwindow_cachel):
12468 (get_subwindow_cachel_index):
12469 (update_subwindow_cachel):
12470 (reset_subwindow_cachels):
12471 (mark_subwindow_cachels_as_not_updated): deleted.
12472 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12473 subwindow instance to the frame cache.
12474 (find_matching_subwindow): update for subwindow instance cache as
12476 (update_widget_instances): ditto.
12477 (image_instance_type_to_mask):inlined.
12478 (free_frame_subwindow_instance_cache): new function. finalize all
12479 subwindows that are instantiated.
12481 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12482 of cachel information.
12483 (IMAGE_INSTANCE_DISPLAY_X):
12484 (IMAGE_INSTANCE_DISPLAY_Y):
12485 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12486 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12487 (XIMAGE_INSTANCE_DISPLAY_X):
12488 (XIMAGE_INSTANCE_DISPLAY_Y):
12489 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12490 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12491 remove subwindow_cachel structure and function references.
12492 (image_instance_type_to_mask): inline from glyphs.c
12494 * redisplay.c (redisplay_frame): remove subwindow_cachel
12497 * frame.h (struct frame): remove subwindow_cachels.
12498 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12500 * frameslots.h: add subwindow_instance_cache.
12502 * window.c (replace_window): check subwindow cache of replacement.
12503 (window_unmap_subwindows_cache_mapper):
12504 (window_unmap_subwindows): new functions. Unmap all subwindows
12505 cached on this window.
12506 (mark_window_as_deleted): unmap all subwindows.
12508 2000-04-27 Andy Piper <andy@xemacs.org>
12510 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12512 * glyphs-widget.c (widget_layout): return something.
12513 (layout_layout): return something. Fail if not initialized.
12514 (layout_query_geometry): ditto.
12515 (image_instantiator_native_layout): new function. Initialized the
12516 native layout type.
12517 (widget_instantiate): don't do layout stuff here.
12519 * glyphs.c (instantiate_image_instantiator): reorded calling or
12520 instantiate and post_instantiate with layout in between.
12521 (image_instance_layout): be more selective about deciding whether
12522 the layout has been done or not.
12524 * glyphs.h (struct image_instantiator_methods): return a value
12525 from layout_method.
12527 2000-04-26 Andy Piper <andy@xemacs.org>
12529 * glyphs.c (allocate_image_instance): make initial width and
12530 height unspecified. Set initialized to 0.
12532 * syscommctrl.h new file. Encapsulates commctrl.h.
12534 * syswindows.h new file. Encapsulates windows.h.
12536 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12538 * console-msw.h: ditto.
12540 * redisplay-tty.c (tty_output_display_block): remove layout references.
12542 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12543 window handle rather than just the frame.
12545 * glyphs.c (mark_image_instance): remove layout references.
12546 (print_image_instance): ditto.
12547 (image_instance_equal): ditto.
12548 (image_instance_hash): ditto.
12549 (decode_image_instance_type): ditto.
12550 (encode_image_instance_type): ditto.
12551 (image_instantiate): ditto.
12552 (allocate_glyph): ditto.
12553 (Fimage_instance_height): ditto.
12554 (Fimage_instance_width): ditto.
12555 (update_subwindow): ditto.
12557 * redisplay-x.c (x_output_display_block): recode for layouts as
12560 * redisplay-output.c (redisplay_output_layout): recode for layouts
12562 (compare_runes): remove layout references.
12564 * redisplay-msw.c (mswindows_output_display_block): recode for
12565 layouts as widgets.
12567 * glyphs-widget.c (image_instantiator_layout): remove
12568 layout_possible_dest_types.
12569 (layout_possible_dest_types): deleted.
12571 * glyphs.h (image_instance_type): remove layout references.
12572 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12573 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12574 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12576 2000-04-25 Andy Piper <andy@xemacs.org>
12578 * glyphs-widget.c (image_instantiator_buttons):
12579 (image_instantiator_edit_fields):
12580 (image_instantiator_combo_box):
12581 (image_instantiator_scrollbar):
12582 (image_instantiator_progress_guage):
12583 (image_instantiator_tree_view):
12584 (image_instantiator_tab_control):
12585 (image_instantiator_labels):
12586 (image_instantiator_layout): call default post_instantiate method.
12587 (widget_post_instantiate): new function. Simply lays out the
12590 * glyphs.h (struct image_instantiator_methods): add
12591 post_instantiate method.
12593 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12596 2000-04-23 Andy Piper <andy@xemacs.org>
12598 * glyphs.h (struct image_instantiator_methods): add
12599 decode_domain_method.
12600 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12601 derived from the domain.
12602 (IMAGE_INSTANCE_FRAME): new accessor.
12603 (XIMAGE_INSTANCE_FRAME): ditto.
12605 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12606 instead of _SUBWINDOW_FRAME.
12607 (finalize_image_instance): ditto.
12608 (Fimage_instance_foreground): ditto.
12609 (Fimage_instance_background): ditto.
12610 (image_instantiate): ditto.
12611 (update_subwindow_cachel): ditto.
12612 (update_subwindow): ditto.
12613 (unmap_subwindow): ditto.
12614 (map_subwindow): ditto
12615 (subwindow_instantiate): ditto.
12616 * glyphs-msw.c (mswindows_update_widget): ditto.
12617 (mswindows_progress_gauge_instantiate): ditto.
12618 (mswindows_tab_control_update): ditto.
12619 * glyphs-x.c (x_update_widget): ditto.
12620 (x_widget_instantiate): ditto.
12621 (x_tab_control_instantiate): ditto.
12622 (x_tab_control_update): ditto.
12623 * event-msw.c (mswindows_wnd_proc): ditto
12625 * glyphs-widget.c (image_instantiator_layout): use
12626 subwindow_decode_domain.
12627 (image_instantiator_buttons): ditto.
12628 (image_instantiator_edit_fields): ditto.
12629 (image_instantiator_combo_box): ditto.
12630 (image_instantiator_scrollbar): ditto.
12631 (image_instantiator_progress_guage): ditto.
12632 (image_instantiator_tree_view): ditto.
12633 (image_instantiator_tab_control): ditto.
12634 (image_instantiator_labels): ditto.
12635 (image_instantiator_layout): ditto.
12637 * glyphs.c: add instance error checking to many functions.
12638 (instantiate_image_instantiator): decode device from cache_domain.
12639 (image_instantiate): partially rewrite by using
12640 decode_image_instantiator_domain to determine what domain the
12641 instance needs to be cached in.
12642 (decode_image_instantiator_domain): new function. Determine what
12643 domain the image needs to be cached in.
12644 (check_window_subwindow_cache): new error checking function.
12645 (check_instance_cache_mapper): ditto.
12646 (check_image_instance_structure): ditto.
12647 (subwindow_decode_domain): new function. Encodes a window as a
12648 subwindow's cache domain.
12649 (image_instantiator_format_create): use it for text and
12652 2000-04-21 Andy Piper <andy@xemacs.org>
12654 * glyphs.c (image_instance_device): new function.
12655 (image_instance_frame): new function.
12656 (image_instance_window): new function.
12657 (image_instance_live_p): new function.
12659 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12662 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12663 (IMAGE_INSTANCE_DOMAIN): new accessor.
12664 (XIMAGE_INSTANCE_DOMAIN): ditto.
12666 * glyphs-x.c (x_finalize_image_instance): device->domain.
12668 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12669 (mswindows_finalize_image_instance): ditto.
12671 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12672 (gif_instantiate): ditto.
12673 (png_instantiate): ditto.
12674 (tiff_instantiate): ditto.
12676 * glyphs.c (instantiate_image_instantiator): use domain rather
12678 (mark_image_instance): device -> domain.
12679 (print_image_instance): ditto.
12680 (finalize_image_instance): ditto.
12681 (image_instance_equal): ditto.
12682 (allocate_image_instance): ditto.
12683 (Fcolorize_image_instance): ditto.
12684 (query_string_geometry): ditto.
12685 (image_instantiate): ditto
12686 (query_string_font): ditto.
12687 (image_instantiate): ditto.
12688 (update_subwindow): ditto.
12689 (unmap_subwindow): ditto.
12690 (map_subwindow): ditto.
12691 (subwindow_instantiate): ditto.
12693 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12694 (DOMAIN_FRAME): ditto.
12695 (DOMAIN_WINDOW): ditto.
12696 (DOMAIN_LIVE_P): ditto.
12697 (XDOMAIN_DEVICE): ditto.
12698 (XDOMAIN_FRAME): ditto.
12699 (XDOMAIN_WINDOW): ditto.
12701 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12702 a valid specifier domain.
12704 2000-04-19 Andy Piper <andy@xemacs.org>
12706 * glyphs-widget.c (syms_of_glyphs_widget): remove
12707 widget-callback-current-channel.
12708 (vars_of_glyphs_widget): ditto.
12711 * gui.c (get_gui_callback): revert to previous behaviour.
12713 2000-04-18 Andy Piper <andy@xemacs.org>
12715 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12716 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12717 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12719 * glyphs.c (image_instance_equal): add margin_width.
12720 (image_instance_hash): ditto.
12722 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12723 (layout_query_geometry): ditto.
12724 (layout_layout): ditto.
12725 (syms_of_glyphs_widget): add margin-width.
12726 (image_instantiator_layout): allow margin-width.
12728 * glyphs.c (update_widget_instances): make a normal function.
12729 (syms_of_glyphs): remove Qupdate_widget_instances.
12732 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12733 so that we don't corrupt ideas about the last event or
12734 command. Remove widget-callback-current-channel fiddling.
12735 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12737 2000-05-01 Martin Buchholz <martin@xemacs.org>
12739 * XEmacs 21.2.33 is released.
12741 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12743 * make-src-depend: Allow dots in header file name.
12745 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12747 * mule-charset.h (struct charset_lookup): Add
12748 next_allocated_1_byte_leading_byte and
12749 next_allocated_2_byte_leading_byte.
12750 * mule-charset.c: Move above two variables so that those values
12753 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12755 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12756 when string length is zero.
12757 (find_charsets_in_emchar_string): Ditto.
12759 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12761 * lisp.h: extern Qdialog and Qmenubar.
12763 * gui-x.c: added events.h.
12764 also fixed typo which made the file uncompilable.
12766 * general.c: Added Qmenubar and Qdialog
12768 2000-04-28 Ben Wing <ben@xemacs.org>
12770 * frame-msw.c (mswindows_init_frame_1):
12771 * frame-msw.c (mswindows_mark_frame):
12772 * event-msw.c (mswindows_enqueue_dispatch_event):
12774 * console-msw.h (struct mswindows_frame):
12775 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12776 there are now three hash tables for callbacks.
12777 mswindows_enqueue_dispatch_event is no longer static.
12779 * dialog-x.c (maybe_run_dbox_text_callback):
12780 * dialog-x.c (dbox_descriptor_to_widget_value):
12781 switch to new cons3 form for callbacks.
12783 * glyphs-msw.c (mswindows_register_gui_item):
12784 * glyphs-msw.c (mswindows_widget_instantiate):
12785 * glyphs-msw.c (add_tree_item):
12786 * glyphs-msw.c (add_tab_item):
12787 new image instance parameter, so it can be passed to callback-ex.
12788 respect :callback-ex as well as :callback.
12790 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12793 * glyphs.c (print_image_instance):
12794 prettify, e.g. now prints widget type.
12797 certain funs have new image instance parameter.
12800 * gui.c (get_gui_callback):
12801 * gui.c (gui_item_add_keyval_pair):
12802 * gui.c (gui_item_init):
12803 * gui.c (gui_add_item_keywords_to_plist):
12804 * gui.c (mark_gui_item):
12805 * gui.c (gui_item_hash):
12806 * gui.c (gui_item_equal):
12807 * gui.c (copy_gui_item):
12808 * gui.c (syms_of_gui):
12809 recognize callback-ex in a number of places.
12810 also, fix the annoying "can't get out of yes-no dialog" bug.
12813 * gui.h (struct Lisp_Gui_Item):
12814 recognize callback-ex in a number of places.
12816 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12817 new parameter in button_item_to_widget_value.
12819 * glyphs-x.c (x_update_widget):
12820 * glyphs-x.c (x_button_instantiate):
12821 * glyphs-x.c (x_button_update):
12822 * glyphs-x.c (x_progress_gauge_instantiate):
12823 * glyphs-x.c (x_edit_field_instantiate):
12824 * glyphs-x.c (x_combo_box_instantiate):
12825 * glyphs-x.c (x_tab_control_instantiate):
12826 * glyphs-x.c (x_label_instantiate):
12827 new image instance parameter in various places.
12830 * event-Xt.c (enqueue_Xt_dispatch_event):
12831 this fun gets exported.
12834 * gui-msw.c (mswindows_handle_gui_wm_command):
12835 handle both :callback and :callback-ex, and generate our own
12836 event because it's one of the callback-ex arguments.
12839 * gui-x.c (popup_selection_callback):
12840 handle both :callback and :callback-ex, and generate our own
12841 event because it's one of the callback-ex arguments.
12842 * gui-x.c (button_item_to_widget_value):
12843 * gui-x.c (gui_items_to_widget_values_1):
12844 * gui-x.c (gui_item_children_to_widget_values):
12845 * gui-x.c (gui_items_to_widget_values):
12846 new image instance parameter in various places.
12848 * fns.c (Freplace_list):
12849 fix small typo in doc string.
12852 declare enqueue_Xt_dispatch_event.
12854 2000-04-28 Ben Wing <ben@xemacs.org>
12857 * buffer.c (Frecord_buffer):
12858 * buffer.c (syms_of_buffer):
12859 delete record-buffer-hook.
12862 * fns.c (Freplace_list):
12863 * fns.c (syms_of_fns):
12864 new primitive replace-list.
12867 slot for old buffer-alist.
12870 exfun replace-list.
12873 * redisplay.c (redisplay_frame):
12874 * redisplay.c (syms_of_redisplay):
12875 * redisplay.c (vars_of_redisplay):
12876 new hook buffer-list-changed-hook.
12879 2000-04-27 Ben Wing <ben@xemacs.org>
12881 * extents.h: extern in_modeline_generation.
12883 * redisplay.c (generate_formatted_string_db): set
12884 in_modeline_generation.
12886 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12887 flags if in modeline generation. otherwise frame-modified-tick
12888 is ticked far too often.
12889 Declare in_modeline_generation.
12891 2000-04-26 Ben Wing <ben@xemacs.org>
12893 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12895 (vars_of_emacs): add quick-build as an error-checking option.
12896 A bit kludgy, but there doesn't seem much point in creating
12897 a real var for this.
12899 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12901 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12903 * redisplay.h (struct display_line): Add a new variable,
12906 * redisplay.c (create_text_block): Set dl->line_continuation if
12907 the line continues.
12908 (create_string_text_block): Ditto.
12909 (regenerate_window_incrementally): Use line_continuation instead
12910 of searching continuation glyph.
12911 (add_margin_runes): Call add_glyph_rune.
12912 (add_glyph_rune): Handle margin glyph.
12914 2000-04-20 Martin Buchholz <martin@xemacs.org>
12916 * filelock.c (fill_in_lock_file_name):
12918 Check for IS_ANY_SEP instead of '/'.
12920 Avoid generating gratuitous garbage. Call user_login_name() directly.
12921 Never check errno without first seeing that system call failed.
12922 (unlock_file): Add GCPRO.
12923 (Flock_buffer): Fix docstring.
12924 (Ffile_locked_p): Fix docstring. Add GCPRO.
12926 2000-04-19 Martin Buchholz <martin@xemacs.org>
12928 * sysdep.c (get_pty_max_bytes):
12929 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12930 strings longer than 252 bytes.
12932 * md5.c: Unconditionally include ANSI header <limits.h>
12934 * glyphs-x.c (convert_EImage_to_XImage):
12935 * lisp-union.h (union Lisp_Object):
12936 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12938 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12940 * filelock.c (current_lock_owner): Remove unused variable o, p.
12942 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12944 * callint.c: Remove multiply defined symbol Qlet
12945 (syms_of_callint): ditto.
12947 2000-04-14 Andy Piper <andy@xemacs.org>
12949 * general.c (syms_of_general): add last-command, this-command, let
12952 * lisp.h: declare various symbols.
12954 * glyphs.h: declare Qwidget_callback_current_channel;
12956 * glyphs-widget.c (syms_of_glyphs_widget): add
12957 Qgui_callback_current_channel.
12958 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
12960 * gui-msw.c (mswindows_handle_gui_wm_command): bind
12961 widget-callback-current-channel when invoking the interactive
12962 arg. Also bind last-command and next-command when invoking the
12964 * gui-x.c (popup_selection_callback): ditto.
12966 * gui.c (get_gui_callback): massage args so that we are always
12967 calling eval. This allows us to add our own variable bindings
12970 * glyphs-x.c (x_button_instantiate): use
12971 gui_items_to_widget_values since this is GC safe.
12972 (x_progress_gauge_instantiate): ditto.
12973 (x_edit_field_instantiate): ditto.
12974 (x_label_instantiate): ditto.
12976 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
12977 (emacs_Xt_event_widget_focus_out): new function
12978 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
12980 (emacs_Xt_event_add_widget_actions): new function. add focus
12981 functions as actions.
12982 (init_event_Xt_late): use it.
12984 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
12986 * event-stream.c (Fdispatch_event): Doc fix.
12988 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
12990 * postgresql.c: Remove all references to PQsetenv*.
12992 * postgresql.h: Remove references to PGsetenvHandler object.
12993 * lrecord.h (lrecord_type): Ditto.
12995 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12997 * glyphs-msw.h (struct mswindows_image_instance_data): Added
12998 real_heigh and real_width members, and accessor macros for these.
13000 * glyphs-msw.c (init_image_instance_geometry): New function.
13001 (init_image_instance_from_dibitmap): Use it.
13002 (mswindows_resource_instantiate): Use it.
13003 (init_image_instance_from_xbm_inline): Use it.
13004 (mswindows_initialize_image_instance_mask): Use real bitmap
13006 (mswindows_create_resized_bitmap): Ditto.
13007 (mswindows_create_resized_mask): Ditto.
13009 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13010 and bitmap to their surface size.
13012 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13014 * process-unix.c (unix_send_process): Guard against process MIA
13015 after Faccept_process_output.
13017 2000-04-11 Ben Wing <ben@xemacs.org>
13019 * eval.c (unbind_to_hairy): fix brokenness introduced by
13020 nanosecond speed improvements.
13022 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13024 * sunplay.c (init_device): To play sounds correctly, the device
13025 apparently needs to be initialized at least once by XEmacs. Make
13028 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13030 * redisplay.c (add_margin_runes): Add text image glyph
13033 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13035 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13036 gcc is newer than 2.5.
13038 2000-04-06 Colin Rafferty <colin@xemacs.org>
13040 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13042 * fns.c (size_bit_vector):
13043 * alloc.c (size_vector):
13044 (make_vector_internal):
13045 (make_bit_vector_internal):
13046 (sweep_bit_vectors_1):
13047 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13049 2000-04-06 Andy Piper <andy@xemacs.org>
13051 * gmalloc.c (malloc): undo previous change.
13056 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13058 * line-number.c (buffer_line_number): Revert to former version.
13060 2000-04-06 Andy Piper <andy@xemacs.org>
13062 * gmalloc.c (malloc): add error checking.
13067 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13068 button_item_to_widget_value arg.
13070 * glyphs-x.c (x_button_instantiate): add extra
13071 button_item_to_widget_value arg.
13072 (x_progress_gauge_instantiate): ditto.
13073 (x_edit_field_instantiate): ditto.
13074 (x_label_instantiate): ditto.
13076 * gui-x.c (gui_items_to_widget_values_1): add extra
13077 button_item_to_widget_value arg.
13078 (button_item_to_widget_value): add extra menu_item_p arg.
13080 * gui-x.h: change signature of button_item_to_widget_value.
13082 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13083 button_item_to_widget_value arg.
13085 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13087 * buffer.h (struct buffer): auto_save_modified should be long.
13089 2000-04-05 Andy Piper <andy@xemacs.org>
13091 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13093 (button_query_geometry): give a little more room so that athena
13096 2000-04-05 Andy Piper <andy@xemacs.org>
13098 * faces.c (complex_vars_of_faces): The widget face should inherit
13099 the font of the gui-element face.
13101 2000-04-04 Andy Piper <andy@xemacs.org>
13103 * glyphs-x.c (x_button_update): new function. unconditionally
13104 update a button's state when the instance is dirty.
13105 (image_instantiator_format_create_glyphs_x): add x_button_update.
13106 (x_widget_instantiate): remove old resize cruft.
13108 2000-04-02 Andy Piper <andy@xemacs.org>
13110 * frame.c (change_frame_size_1): The introduction of gutters means
13111 that we need to allow 0 as a potential frame dimension.
13113 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13115 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13116 image glyph if allow_cursor.
13117 (add_hscroll_rune): Don't allow cursor to border glyph.
13118 (create_text_block): Ditto.
13120 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13121 text not in buffer.
13122 (redisplay_output_layout): Call ensure_face_cachel_complete for
13126 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13128 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13130 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13133 * redisplay-tty.c (tty_output_display_block): Delete the routine
13134 for text image glyph
13135 * redisplay-x.c (x_output_display_block): ditto
13136 * redisplay-msw.c (mswindows_output_display_block): ditto
13138 2000-02-02 Mike Alexander <mta@arbortext.com>
13140 Note: Some of these were committed by accident as part of other
13143 * regex.c (regex_compile): Avoid compiler warnings.
13145 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13147 * nt.h: Declare term_ntproc correctly.
13149 * nt.c: Remove incorrect declaration of get_home_directory which
13150 is declared correctly in lisp.h.
13152 * keymap.c (get_keyelt): Avoid compiler warnings.
13153 (raw_lookup_key_mapper): Avoid compiler warnings.
13155 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13157 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13159 * filemode.c (mode_string): Avoid compiler warnings.
13161 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13164 * events-mod.h: Undef some things that winuser.h defines differently.
13166 * data.c (Faset): Avoid compiler warnings.
13168 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13170 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13172 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13173 Fall through to simple beep on error.
13174 Replace "extern" by real header file.
13176 * linuxplay.c: Use nativesound.h
13177 (play_sound_data): Return error code. Be less verbose on error.
13179 * sunplay.c: Use nativesound.h
13180 (play_sound_data): Return error code. Be less verbose on error.
13182 * ntplay.c: Use nativesound.h
13183 (play_sound_data): Return fake error code
13185 * sgiplay.c: Use nativesound.h
13186 (play_sound_data): Return error code
13188 * hpplay.c: Use nativesound.h, partially implement
13189 new error code. Break compilation until finished.
13190 (play_sound_data): error code.
13192 * nativesound.h (play_sound_file):
13193 (play_sound_data): Prototype in new header.
13195 2000-03-31 Andy Piper <andy@xemacs.org>
13197 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13198 for toggle and radio buttons.
13199 (image_instantiator_buttons): use it.
13201 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13203 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13204 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13205 found. Scrollbar event probably belonged to some old config.
13207 2000-03-31 Andy Piper <andy@xemacs.org>
13209 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13211 (initialize_widget_image_instance): default layout to
13212 LAYOUT_HORIZONTAL rather than 0.
13213 (widget_instantiate): reverse the item list at the end rather than
13215 (layout_layout): re-code for the border text at the front of the
13216 item list rather than at the end.
13217 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13218 provided by the user.
13219 (widget_query_geometry): comment.
13221 2000-03-30 Andy Piper <andy@xemacs.org>
13223 * glyphs-widget.c (image_instantiator_layout): allow standard
13224 widget keywords in layouts.
13226 * gutter.c (output_gutter): cope with nil gutter contents.
13228 * frame.c (Fset_frame_properties): add gutter docs.
13230 2000-03-29 Andy Piper <andy@xemacs.org>
13232 * toolbar-msw.c (TBSTYLE_FLAT): add.
13233 (mswindows_output_toolbar): minor fiddling.
13235 2000-03-29 Andy Piper <andy@xemacs.org>
13237 * gutter.c (output_gutter): force gutter size recalculation if
13238 what we are trying to display won't fit.
13239 (update_gutter_geometry): new function. A per-gutter version of
13240 update_frame_gutter_geometry.
13241 (update_frame_gutter_geometry): use it.
13242 (redraw_exposed_gutter): add extra debugging output.
13244 2000-03-28 Mike Alexander <mta@arbortext.com>
13246 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13247 (pdump_file_unmap): Implement it on Windows
13248 (pdump_file_get): Save alocated handles for pdump_file_unmap
13250 2000-03-28 Andy Piper <andy@xemacs.org>
13252 * gui.c (get_gui_callback): treat Quit specially.
13254 2000-03-27 Andy Piper <andy@xemacs.org>
13256 * glyphs.c (image_instantiate): be careful to check in the same
13259 2000-03-27 Didier Verna <didier@xemacs.org>
13261 * config.h.in: define the proper SMART_INCLUDE macro.
13262 handle renaming of `foo_h_path' to `foo_h_file'.
13264 * database.c: ditto.
13268 * linuxplay.c: ditto.
13270 * terminfo.c: ditto.
13272 * tooltalk.h: ditto.
13274 2000-03-27 Andy Piper <andy@xemacs.org>
13276 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13277 gets updated whenever the face might have changed.
13279 2000-03-26 Mike Alexander <mta@arbortext.com>
13281 * dumper.c (pdump_resource_free): Fix the comment.
13283 2000-03-21 Olivier Galibert <galibert@pobox.com>
13285 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13287 2000-03-22 Mike Alexander <mta@arbortext.com>
13289 * dumper.c: Include Windows headers on Windows
13290 (pdump_resource_free): Add a body to the function
13291 (pdump_load): exe_name -> exe_path and add some comments.
13293 2000-03-25 Mike Alexander <mta@arbortext.com>
13295 * gui.c (copy_gui_item_tree): Return a value in all cases
13297 2000-03-21 Didier Verna <didier@xemacs.org>
13299 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13301 (SMART_INCLUDE): new macro.
13302 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13303 the proper location.
13305 * postgresql.c: use it.
13309 2000-03-24 Andy Piper <andy@xemacs.org>
13311 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13314 2000-03-24 Andy Piper <andy@xemacs.org>
13316 * redisplay-output.c (compare_runes): use image_instance_changed
13317 to detect changes. Do not depend on glyphs_changed, only depend on
13319 (redisplay_output_layout): add debug messages.
13320 (compare_runes): ditto.
13322 * glyphs.h: declare new functions.
13323 (struct Lisp_Image_Instance): remove percent and associated
13326 * gui.h: declare new copying functions.
13328 * gui.c (copy_gui_item_tree): new function.
13329 (copy_gui_item): new function.
13330 (gui_item_id_hash): revert to standard hash.
13331 (gui_item_hash): ditto.
13332 (gui_item_hash_internal): deleted.
13333 (mark_gui_item): mark value.
13334 (gui_item_add_keyval_pair): add value.
13335 (gui_item_init): ditto.
13336 (gui_add_item_keywords_to_plist): ditto.
13337 (gui_item_equal): ditto.
13338 (syms_of_gui): add Q_value.
13340 * glyphs-x.c (x_progress_gauge_update): use pending items and
13341 value for setting the state.
13342 (x_update_widget): don't set items from pending here.
13344 * glyphs-widget.c (update_widget): update items here.
13345 (progress_gauge_set_property): use items for storing value. Put
13346 new value in pending items.
13348 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13349 items for new value. Convert percent -> value.
13350 (mswindows_tab_control_update): don't update items here.
13352 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13353 (update_subwindow): ditto.
13354 (image_instance_changed): new function. Compare hash values and
13355 past and present widget items.
13356 (image_instantiate): We more careful about where we instantiate
13358 (image_instantiate): add error checking.
13360 * gutter.c (syms_of_gutter): use -hook.
13362 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13364 * console-tty.c (Fset_console_tty_input_coding_system): Use
13366 (Fset_console_tty_output_coding_system): Use Qterminal.
13367 (tty_init_console): Use Qkeyboard and Qterminal.
13369 2000-03-21 Ben Wing <ben@xemacs.org>
13371 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13372 From Mike Alexander <mta@arbortext.com>.
13374 2000-03-21 Ben Wing <ben@xemacs.org>
13376 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13377 process brokenness. Proper implementation to come.
13379 Rename call-process-internal to old-call-process-internal.
13380 New impl. in process.el.
13382 2000-03-21 Martin Buchholz <martin@xemacs.org>
13384 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13386 2000-03-20 Andy Piper <andy@xemacs.org>
13388 * glyphs.c (full_list_hash): make hashes of the same elements in
13389 different orders return different values.
13391 2000-03-20 Martin Buchholz <martin@xemacs.org>
13393 * XEmacs 21.2.32 is released.
13395 2000-03-20 Martin Buchholz <martin@xemacs.org>
13397 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13398 (DFC_MALLOC_USE_CONVERTED_DATA):
13399 Add aliasing-safe casts to allow use with char* or unsigned char*
13402 * eldap.c (Fldap_open):
13403 (Fldap_search_basic):
13406 Make C++-compilable.
13407 Make sure GCPRO'ed variables are initialized.
13408 Use temp variables to avoid repeated calls to Flength.
13410 2000-03-16 Martin Buchholz <martin@xemacs.org>
13413 Make sure PATH_MAX is always defined.
13414 Include limits.h for PATH_MAX.
13415 Deprecate use of MAXPATHLEN.
13417 2000-03-10 Martin Buchholz <martin@xemacs.org>
13419 * emacs.c: Add reinit_vars_of_fileio.
13420 * symsinit.h: Add reinit_vars_of_fileio.
13421 * fileio.c (reinit_vars_of_fileio): New.
13422 * fileio.c (Fmake_temp_name):
13423 Initialize temp_name random number from microseconds to make
13424 collisions even less likely. Initialize always at process startup
13425 time. (make-temp-name) used to return the same file name twice in
13427 Random stylistic fiddling.
13430 2000-03-20 Andy Piper <andy@xemacs.org>
13432 * glyphs.c (image_instantiate): allow text glyphs to be
13433 instantiated in the minibuffer window.
13435 2000-03-19 Andy Piper <andy@xemacs.org>
13437 * glyphs.c (image_instance_hash): be careful about which items we
13440 * glyphs-widget.c (tab_control_set_property): record into pending
13441 items rather than the actual items.
13443 * glyphs-x.c (x_update_widget): use pending items to update with.
13445 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13448 * glyphs.c (mark_image_instance): mark pending items.
13450 * window.c (Fset_window_configuration): record the buffer.
13451 (Fselect_window): totally revert previous change which breaks many
13454 2000-03-18 Andy Piper <andy@xemacs.org>
13456 * glyphs-msw.c (mswindows_tab_control_update): force selected
13459 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13460 window domain cache, otherwise we get inconsistencies at
13461 startup. There is something fishy at startup which can lead to the
13462 minibuffer being the selected window when the gutter content is
13465 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13467 (parse_gui_item_tree_children): ditto.
13468 (parse_gui_item_tree_item): ditto.
13470 * glyphs.c (Fupdate_widget_instances): return something.
13472 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13474 * window.c (Fselect_window): Undo 2000-03-17 change.
13476 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13478 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13479 against v7.0 libraries. Insta-coredump city until the postgres
13482 2000-03-17 Andy Piper <andy@xemacs.org>
13484 * faces.c (complex_vars_of_faces): don't give the widget face an
13485 inherited background pixmap.
13487 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13490 * event-stream.c (Fdispatch_non_command_events): return something.
13492 * gutter.c (output_gutter): use widget face.
13493 (clear_gutter): ditto.
13495 * NEWS: adjust again.
13497 * window.c (Fselect_window): make sure this runs to completion to
13498 avoid oddities with Fset_window_configuration.
13499 (Fcurrent_window_configuration): in general do not save the
13500 minibuffer as the selected window.
13502 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13504 2000-03-16 Olivier Galibert <galibert@pobox.com>
13506 * emacs.c (Frunning_temacs_p): Revert previous patch.
13507 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13509 2000-03-16 Andy Piper <andy@xemacs.org>
13511 * glyphs-x.c (x_tab_control_update): if no widget values then
13514 * NEWS: update for new features.
13516 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13517 synthetic event to the native system.
13518 (reinit_vars_of_event_Xt): set force_event_pending to
13519 emacs_Xt_force_event_pending.
13521 * events.h (struct event_stream): add force_event_pending.
13523 * specifier.c (recompute_one_cached_specifier_in_window): add
13526 * redisplay.c (redisplay_frame): don't call
13527 update_frame_subwindows. Reset subwindow cachels when
13528 subwindows_changed, removing this was an optimization too far.
13530 * redisplay-output.c (compare_runes): reorganize so that we catch
13531 glyph changes when we want them. Set optimize_output when this
13532 would help layouts.
13533 (redisplay_output_layout): remove frame_really_changed, use
13534 optimize_output instead.
13536 * redisplay-msw.c (mswindows_output_display_block): reset
13537 optimize_output after outputting a glyph.
13538 * redisplay-x.c (x_output_display_block): ditto.
13539 * redisplay-tty.c (tty_output_display_block): ditto.
13541 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13543 (gutter_specs_changed): do specific gutter positions.
13544 (top_gutter_specs_changed): new function. Only update the
13545 specified gutter specs.
13546 (bottom_gutter_specs_changed): ditto.
13547 (left_gutter_specs_changed): ditto.
13548 (right_gutter_specs_changed): ditto.
13550 * gui.c (gui_item_hash_internal): new function, does a real hash.
13551 (gui_item_id_hash): use it.
13552 (gui_item_hash): hash the eval'ed gui_item.
13554 * gui-x.c (popup_selection_callback): send an eval event to call
13555 Fupdate_widget_instances.
13557 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13558 to call Fupdate_widget_instances.
13560 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13561 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13563 * glyphs.c: (update_frame_subwindows): deleted.
13564 (Fupdate_widget_instances): new function for updating the dirty
13565 state of widgets that might have changed.
13566 (syms_of_glyphs): add Qupdate_widget_instances.
13567 (full_list_hash): hash a list completely.
13568 (image_instance_hash): use it for items and properties.
13570 * frame-msw.c (mswindows_size_frame_internal): remove unused
13573 * faces.h (struct face_cachel): fix comment.
13575 * event-stream.c (Fdispatch_non_command_events): new
13576 function. Process non-command events, forcing an event cycle
13578 (syms_of_event_stream): declare.
13579 (event_stream_force_event_pending): new function. Force an event
13580 on the native event queue so that an event cycle will occur next
13584 (struct ntpipe_shove_stream):
13585 (mswindows_enqueue_dispatch_event):
13586 (mswindows_dequeue_dispatch_event):
13587 (mswindows_cancel_dispatch_event):
13588 (mswindows_pump_outstanding_events):
13589 (mswindows_drain_windows_queue):
13590 (mswindows_handle_paint):
13591 (mswindows_wnd_proc):
13592 (mswindows_key_to_emacs_keysym):
13593 (get_process_input_waitable):
13594 (emacs_mswindows_delete_stream_pair): re-indent file.
13595 (mswindows_need_event): do not process further fds if the windows
13596 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13597 fixes the 100% cpu problem.
13598 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13600 2000-03-15 Olivier Galibert <galibert@pobox.com>
13606 * emacs.c: Moved dump file searching to dumper.c.
13607 (Frunning_temacs_p): Fixed.
13609 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13610 last_lrecord_type_index_assigned.
13612 2000-02-20 Olivier Galibert <galibert@pobox.com>
13614 * symsinit.h: Added reinit parameter to init_console_stream
13617 * lisp.h: Added file parameter to pdump_load declaration.
13619 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13620 support. Added dump file searching.
13622 * config.h.in: Added EMACS_PROGNAME.
13624 * console-stream.c (init_console_stream): Fix reinitialisation
13625 when running from temacs.
13627 * alloc.c (pdump): Add id support.
13628 (pdump_load): Add file parameter and signature/id support.
13630 * Makefile.in.in: Add full pdump support.
13632 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13634 * postgresql.c: Update documentation to reflect latest code
13636 (print_result): Show tuple counts in printed representation when
13638 (Fpq_put_nbytes): MULE-ize.
13639 (Fpq_get_line_async): Ditto.
13641 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13643 * postgresql.c (Fpq_lo_import): Fix return value.
13644 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13646 2000-03-13 Ben Wing <ben@xemacs.org>
13648 * alloc.c (pdump_load):
13649 Fix compile warning under mswin.
13651 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13653 * postgresql.c: Mule-ization, bug fixes.
13654 Use PG_CODING to encapsulate coding system name changes.
13655 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13656 (pg-coding-system): Create.
13658 (Fpq_conn_defaults): Mule-ize.
13659 (Fpq_connectdb): Mule-ize & bug fix.
13660 (Fpq_connect_start): Mule-ize.
13661 (Fpq_set_client_encoding): Mule-ize.
13662 (Fpq_finish): Document `DEAD' connection status.
13663 (Fpq_clear): Ditto.
13664 (Fpq_pgconn): Mule-ize.
13665 (Fpq_exec): Mule-ize & bug fix.
13666 (Fpq_send_query): Ditto.
13667 (Fpq_get_result): Ditto.
13668 (Fpq_res_status): Mule-ize.
13669 (Fpq_result_error_message): Mule-ize.
13670 (Fpq_ntuples): fix comments.
13671 (Fpq_fname): Mule-ize.
13672 (Fpq_fnumber): Mule-ize.
13673 (Fpq_ftype): fix comments.
13674 (Fpq_get_value): Mule-ize.
13675 (Fpq_cmd_status): Ditto.
13676 (Fpq_cmd_tuples): Ditto.
13677 (Fpq_oid_value): Ditto.
13678 (Fpq_notifies): Ditto.
13679 (Fpq_lo_import): Ditto.
13680 (Fpq_lo_export): Ditto.
13681 (Fpq_get_line): Ditto.
13682 (Fpq_put_line): Mule-ize and bug fix.
13683 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13685 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13687 * postgresql.c (vars_of_postgresql): Mule-ize.
13688 (Fpq_conn_defaults): Ditto.
13690 2000-03-12 Ben Wing <ben@xemacs.org>
13692 * alloc.c (Fmake_byte_code):
13693 * alloc.c (debug_string_purity_print):
13694 * alloc.c (pdump_backtrace):
13695 * alloc.c (pdump_get_indirect_count):
13696 * alloc.c (pdump_register_sub):
13697 * alloc.c (pdump_register_object):
13698 * alloc.c (pdump_register_struct):
13699 * alloc.c (pdump_dump_data):
13700 * alloc.c (pdump_reloc_one):
13704 * console-msw.c (GetConsoleHwnd):
13705 * console-msw.c (msw_hide_console):
13706 * console-msw.c (msw_show_console):
13707 * console-msw.c (msw_ensure_console_buffered):
13708 * console-msw.c (msw_output_console_string):
13709 * console-msw.c (console_type_create_mswindows):
13711 a) Added functions to manipulate the console window for use with
13714 b) Added support for writing text to the console, which is now
13715 used under Windows when xemacs is not being run non-interactively,
13716 to write text that would otherwise be destined for stdout because
13717 under these circumstances, text written to stdout tends to
13718 disappear and not be seen.
13722 * event-Xt.c (x_event_to_emacs_event):
13723 * event-Xt.c (describe_event_window):
13724 * events-mod.h (XEMACS_MOD_CONTROL):
13726 * events.c (Fmake_event):
13727 * events.c (character_to_event):
13728 * events.c (event_to_character):
13729 * events.c (format_event_object):
13730 * events.c (Fevent_modifiers):
13732 * events.h (struct key_data):
13733 * events.h (struct button_data):
13734 * events.h (struct misc_user_data):
13735 * frame-x.c (Fcde_start_drag_internal):
13736 * frame-x.c (Foffix_start_drag_internal):
13737 * gpmevent.c (Freceive_gpm_event):
13739 * keymap.c (bucky_sym_to_bucky_bit):
13740 * keymap.c (control_meta_superify):
13741 * keymap.c (make_key_description):
13742 * keymap.c (keymap_lookup_directly):
13743 * keymap.c (create_bucky_submap):
13744 * keymap.c (keymap_store):
13745 * keymap.c (define_key_check_and_coerce_keysym):
13746 * keymap.c (define_key_parser):
13747 * keymap.c (define_key_alternate_name):
13748 * keymap.c (Fdefine_key):
13749 * keymap.c (raw_lookup_key_mapper):
13750 * keymap.c (struct map_keymap_unsorted_closure):
13751 * keymap.c (map_keymap_unsorted_mapper):
13752 * keymap.c (map_keymap_sort_predicate):
13753 * keymap.c (map_keymap_sorted):
13754 * keymap.c (accessible_keymaps_mapper_1):
13755 * keymap.c (where_is_recursive_mapper):
13756 * keymap.c (describe_map_mapper):
13757 * keymap.c (describe_map_sort_predicate):
13758 * keymap.c (describe_map):
13759 * keymap.c (complex_vars_of_keymap):
13760 And a number of other files, the key modifier preprocessor
13761 constants that xemacs uses have names that conflict with constants
13762 defined under MS Windows for other purposes, so they were renamed
13763 to begin with the prefix XEMACS_. The variables that hold such
13764 modifiers were changed to consistently be of type int to fix
13765 various compile warnings.
13767 * console.c (complex_vars_of_console):
13770 * device-msw.c (mswindows_finish_init_device):
13771 * device-msw.c (msw_get_workspace_coords):
13772 * device-msw.c (mswindows_device_system_metrics):
13773 and various other files, added support for a new
13774 device property called offset-workspace which returns the position
13775 of the upper left corner of the workspace area and goes along with
13776 the existing size-workspace property.
13779 * dialog-msw.c (push_bufbyte_string_as_unicode):
13780 * dialog-msw.c (mswindows_popup_dialog_box):
13781 Added support for XEmacs-style accelerator specifications in
13782 button text. Note: I didn't add support for this under X Windows,
13783 and somebody needs to do this.
13786 * dialog.c (Fpopup_dialog_box):
13787 Documented the support for accelerators that was just mentioned.
13789 editfns.c (get_home_directory): Changed behavior under Windows
13790 when HOME not defined; former behavior was irretrievably broken.
13793 * emacs.c (main_1):
13795 * minibuf.c (clear_echo_area_internal):
13796 * minibuf.c (echo_area_append):
13798 * print.c (std_handle_out_external):
13799 * print.c (std_handle_out_va):
13801 * print.c (write_string_to_stdio_stream):
13802 * print.c (output_string):
13803 * print.c (debug_print):
13804 * print.c (debug_backtrace):
13805 * print.c (debug_short_backtrace):
13806 Cleaned up the code that prints text to stdout so that this can be
13807 changed to output into a console window instead under MS Windows,
13808 as described above.
13811 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13812 * eval.c (internal_catch):
13813 * eval.c (unwind_to_catch):
13814 * eval.c (throw_or_bomb_out):
13815 * eval.c (condition_case_1):
13816 * eval.c (signal_1):
13817 * eval.c (check_error_state_sanity):
13818 * eval.c (call_with_suspended_errors_1):
13819 * eval.c (call_with_suspended_errors):
13820 * eval.c (reinit_vars_of_eval):
13821 Added code to catch throw loops and check for a pesky bug that may
13825 * event-msw.c (key_needs_default_processing_p):
13826 * event-msw.c (mswindows_wnd_proc):
13827 * event-msw.c (mswindows_modifier_state):
13828 * event-msw.c (emacs_mswindows_quit_p):
13829 * event-msw.c (vars_of_event_mswindows):
13830 a) Added support for using the alt key to select menu items as is
13831 standard under MS Windows. This is controlled using the variable
13832 menu-accelerator-enabled, just like under X Windows. There is an
13833 option on the options menu to turn this support on. I really
13834 think that it should be on by default under Windows, but I'm not
13835 going to make this change yet.
13837 b) Added support for dynamic display size changes under Windows.
13840 * event-stream.c (maybe_echo_keys):
13841 * event-stream.c (Fnext_event):
13842 * event-stream.c (command_builder_find_leaf):
13843 * event-stream.c (lookup_command_event):
13844 * event-stream.c (execute_command_event):
13845 * event-stream.c (pre_command_hook):
13846 * event-stream.c (post_command_hook):
13847 * event-stream.c (syms_of_event_stream):
13848 * event-stream.c (vars_of_event_stream):
13849 * event-stream.c (complex_vars_of_event_stream):
13850 * events.h (struct command_builder):
13852 a) Tried to clean up a little bit the horribly written x-specific
13853 accelerator code that crept into this file. I moved this code
13854 into menubar-x.c where it belongs. I also needed to move the
13855 command builder structure into the file events.h because it is
13856 accessed directly by this accelerator code. What I didn't do, but
13857 which should be done at some point, is to properly abstract this
13858 code using device methods instead of the kludgy way that it
13859 currently hooks into the event code.
13861 b) Added the lisp variables this-command-properties and
13862 last-command- properties, which should be used to synchronize two
13863 adjacent commands in preference to playing games with the variable
13864 this-command, which is typically what happens.
13866 c) Added some slightly nasty code to hook into the lisp support
13867 for shifted- motion-key selection. This is actually necessary for
13868 somewhat complicated reasons, which are described in
13869 simple.el. (NB: I think the proper thing would be to have the code
13870 that calls the pre and post command hooks also call out to generic
13871 lisp functions in simple.el, where all built-in stuff could be
13872 added. I will think about this more.)
13874 * event-unixoid.c (poll_fds_for_input):
13875 * lread.c (readchar):
13876 * redisplay-tty.c (tty_clear_frame):
13877 * redisplay-x.c (x_get_gc):
13878 * signal.c (interrupt_signal):
13879 And a whole bunch of other files: fixed up places that printed
13880 directly to stderr to instead call the function stderr_out so that
13881 the changes I made under Windows work correctly.
13883 * filemode.c (mode_string):
13887 * frame-msw.c (mswindows_size_frame_internal):
13888 Fixed the computation of frame size and position to keep the frame
13889 within the workspace area, rather than within the physical
13890 dimensions of the screen, so that the frame doesn't overlap window
13891 manager decorations, such as the start menu and toolbar, typically
13892 at the bottom of the screen.
13894 * frame.c (vars_of_frame):
13895 Changed the default frame title format under MS Windows to consist
13896 of buffername-XEmacs, which is standard under MS Windows. I think
13897 it might be a good idea to change this everywhere because I think
13898 it is superior to the current frame title format, but this is the
13899 kind of change that is likely to cause some people to get annoyed,
13900 so I'm not making it.
13902 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13904 * gui-msw.c (mswindows_handle_gui_wm_command):
13905 Fixed compile warnings.
13908 * gui-x.c (strdup_and_add_accel):
13909 * gui-x.c (button_item_to_widget_value):
13911 Added code to automatically put an accelerator onto the beginning
13912 of menu items that don't have one as is now the standard, and is
13913 described more later. Also fixed things so that the menu item
13914 name can be an evaluated expression, again a new standard.
13917 * gui.c (gui_item_add_keyval_pair):
13918 * gui.c (make_gui_item_from_keywords_internal):
13919 * gui.c (gui_add_item_keywords_to_plist):
13920 * gui.c (gui_item_accelerator):
13921 * gui.c (gui_name_accelerator):
13922 * gui.c (gui_item_included_p):
13923 * gui.c (gui_item_display_flush_left):
13924 * gui.c (gui_item_display_flush_right):
13925 * gui.c (parse_gui_item_tree_item):
13926 * gui.c (parse_gui_item_tree_children):
13927 * gui.c (parse_gui_item_tree_list):
13928 Mule-ized. Cleanup. GCPRO addition.
13930 * line-number.c (buffer_line_number):
13932 * lisp.h (EMACS_INT_MAX):
13933 Added the manifest constant EMACS_INT_MIN corresponding to the
13934 existing constant EMACS_INT_MAX. This is partially to fix compile
13935 warnings under Windows, and partly for cleanliness.
13938 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13939 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13940 * menubar-msw.c (displayable_menu_item):
13941 * menubar-msw.c (populate_menu_add_item):
13942 * menubar-msw.c (populate_or_checksum_helper):
13943 * menubar-msw.c (populate_menu):
13944 * menubar-msw.c (update_frame_menubar_maybe):
13945 * menubar-msw.c (prune_menubar):
13946 * menubar-msw.c (msw_char_is_accelerator):
13947 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
13948 * menubar-msw.c (mswindows_handle_wm_command):
13949 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
13950 * menubar-msw.c (mswindows_handle_wm_initmenu):
13951 * menubar-msw.c (mswindows_update_frame_menubars):
13952 * menubar-msw.c (mswindows_free_frame_menubars):
13953 * menubar-msw.c (mswindows_popup_menu):
13954 Fixed a bug in handling accelerators where an extra character
13955 would be displayed in the menu item. Also generalized the
13956 function displayable_menu_item because it is now used by the
13957 dialog box code as well. And finally, added code in the functions
13958 that create the menubar to extract a list of accelerators for the
13959 top level menubar, which is used in the event code to determine
13960 whether a particular alt-key combination should be used to invoke
13961 a menu item, or should be passed through to access the standard
13962 XEmacs keymap binding for this key combination.
13964 Much needed GCPROing.
13967 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
13968 * menubar-x.c (menu_item_descriptor_to_widget_value):
13969 * menubar-x.c (restore_in_menu_callback):
13970 * menubar-x.c (x_popup_menu):
13971 * menubar-x.c (menu_move_up):
13972 * menubar-x.c (menu_move_down):
13973 * menubar-x.c (menu_move_left):
13974 * menubar-x.c (menu_move_right):
13975 * menubar-x.c (menu_select_item):
13976 * menubar-x.c (command_builder_operate_menu_accelerator):
13977 * menubar-x.c (menu_accelerator_junk_on_error):
13978 * menubar-x.c (command_builder_find_menu_accelerator):
13979 * menubar-x.c (Faccelerate_menu):
13981 Moved a whole bunch of code here that was previously in
13982 event-stream.c as described above. There is also code connected
13983 to the new standard of adding an accelerator to the beginning of
13984 menu items that don't have one as described above and below.
13987 * menubar.c (menu_parse_submenu_keywords):
13988 * menubar.c (Fmenu_find_real_submenu):
13989 * menubar.c (Fnormalize_menu_item_name):
13990 * menubar.c (syms_of_menubar):
13991 * menubar.c (vars_of_menubar):
13992 * menubar.c (complex_vars_of_menubar):
13994 a) Cleaned up a bunch of documentation and improved it.
13996 b) XEmacs now automatically adds an accelerator onto the beginning
13997 of any menu items that don't have one. I did this because there
13998 will inevitably be some menu items on the main menubar that don't
13999 have accelerators on them because the package that adds that
14000 particular menu item hasn't yet been fixed up to have accelerators
14001 in them and it looked rather strange to have some items with and
14002 some items without accelerators, especially since even in items
14003 without accelerators, you can, at least under windows, still
14004 access the item through an accelerator corresponding to the first
14005 character in the item's name. If people don't like this behavior,
14006 I can add a variable to turn it off optionally, but I'm not sure
14007 this is a good idea because we really do need to have accelerators
14008 on all of the menu items, and if a package doesn't like the
14009 accelerators being put on the first character, then it should put
14010 the accelerators where they belong.
14012 c) I made a behavior change, which is that the descriptor that
14013 specifies the text of the menu item, which formerly was just a
14014 string, can now also be an evaluated expression. This makes this
14015 descriptor parallel with all of the others, which could also be
14016 evaluated expressions. This also obviates the need for the
14017 keyword :label, which was previously listed in the documentation
14018 as unimplemented, and which was for the same purpose.
14023 * ntproc.c (new_child):
14024 * ntproc.c (sys_spawnve):
14025 * ntproc.c (find_child_console):
14026 * ntproc.c (sys_kill):
14027 Fixed compile warnings. By the way, this file should really go
14028 away entirely, and this will happen as soon as Kirill makes his
14029 final round of process cleanups, which affect the function
14033 * process-nt.c (struct nt_process_data):
14034 * process-nt.c (find_process_from_pid):
14035 * process-nt.c (send_signal_the_nt_way):
14036 * process-nt.c (enable_child_signals):
14037 * process-nt.c (find_child_console):
14038 * process-nt.c (send_signal_the_95_way):
14039 * process-nt.c (nt_finalize_process_data):
14040 * process-nt.c (ensure_console_window_exists):
14041 * process-nt.c (nt_create_process):
14042 * process-nt.c (nt_kill_child_process):
14043 * process-nt.c (nt_kill_process_by_pid):
14044 * process-nt.c (nt_open_network_stream):
14045 * process-nt.c (vars_of_process_nt):
14046 Copied over code from Emacs 20.5 to correctly send signals to sub-
14047 processes under Windows 95. Also added code to automatically
14048 create and hide console window when a sub-process is created under
14049 Windows 95, which obviates the need for the separate runemacs.exe
14050 executable, and finally implemented some variables that were
14051 implemented in Emacs 20.5, but previously not in XEmacs. These
14052 include mswindows- start-process-share-console and
14053 mswindows-start-process-inherit-error-mode. (Both of these only
14054 apply to Windows 95.)
14056 * regex.c (regex_compile): Fixed a compile warning.
14059 * select-msw.c (mswindows_own_selection):
14060 * select-msw.c (mswindows_get_foreign_selection):
14061 * select-msw.c (mswindows_disown_selection):
14062 * select-msw.c (console_type_create_select_mswindows):
14063 * select-msw.c (syms_of_select_mswindows):
14064 Cleaned up the file and implemented the device method
14065 selection_exists_p, which had accidentally been left out. Also
14066 removed four lisp functions that were remnants from before the
14067 time when the selection code was properly device abstracted.
14068 These functions are no longer needed because there are generic
14069 equivalents, and because they were added recently and don't exist
14070 in FSF Emacs, I don't think there's any problem with just deleting
14074 * sysdep.c (sys_subshell):
14075 Fixed a compile warning, although in this case there's probably
14076 something wrong with this code, and it ought to be looked into
14077 more thoroughly by somebody who understands it.
14080 * window.c (Fwindow_text_area_height):
14081 * window.c (Fwindow_width):
14082 * window.c (Fwindow_full_width):
14083 * window.c (Fwindow_pixel_width):
14084 * window.c (debug_print_window):
14085 * window.c (syms_of_window):
14086 Added functions window-text-area-height and window-full-width,
14087 which are functions for returning various width and height
14088 characteristics of a window. (One of these functions is necessary
14089 for making the file dialog box work correctly, and the other one
14090 was added for completeness.) Also added a table to the
14091 documentation for window-height which describes the entire scheme
14092 for accessing width and height characteristics of a window.
14094 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14096 * nt.c (fstat): Added a comment for another problem with
14097 non-encapsulated [f]stat(), reported by Adrian Aichner
14098 <aichner@ecf.teradyne.com>.
14100 2000-03-11 Andy Piper <andy@xemacs.org>
14102 * window.c (make_dummy_parent): initialize subwindow instance
14104 (Fset_window_configuration): zero extent_modiff.
14106 2000-03-10 Andy Piper <andy@xemacs.org>
14108 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14109 more changes can be triggered.
14110 (Fredisplay_frame): ditto.
14111 (Fredraw_device): ditto.
14112 (Fredisplay_device): ditto.
14113 (redisplay_frame): make non-static.
14114 (redisplay_frame): call update_frame_gutter_geometry outside of
14117 * gutter.h: declare update_frame_gutter_geometry.
14119 * redisplay.h: declare redisplay_frame.
14121 * gutter.c (update_frame_gutter_geometry): move geometry changes
14122 in update_frame_gutters here. Geometry changes can only occur
14123 outside of redisplay.
14124 (update_frame_gutters): remove geometry change code.
14125 (Fredisplay_gutter_area): make sure that we are in display when we
14126 update and that we have flushed any size changes.
14128 2000-03-11 Andy Piper <andy@xemacs.org>
14130 * alloc.c (pdump_dump_data): remove i & count shadows.
14132 2000-02-27 Mike Alexander <mta@arbortext.com>
14134 * sysdep.h: Declare pdump_read_file
14136 * sysdep.c (pdump_read_file): New function
14138 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14141 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14143 * lrecord.h: add `lrecord_type_pgsetenv'.
14145 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14147 * symsinit.h: declare (vars|syms)_of* functions.
14148 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14150 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14152 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14154 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14157 * emacs.c (main_1): Call postgres initialization code.
14159 * postgresql.h: New file. PostgreSQL RDBMS support.
14160 * postgresql.c: New file.
14162 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14164 * redisplay-output.c (redisplay_output_display_block): Disable
14167 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14169 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14170 (Fcanna_henkan_next): Ditto.
14171 (Fcanna_bunsetu_henkou): Ditto.
14172 (Fcanna_henkan_kakutei): Ditto.
14173 (Fcanna_henkan_end): Ditto.
14174 (Fcanna_henkan_quit): Ditto.
14175 (Fcanna_henkan_next): Set retun value correctly.
14176 (c2mu): Use unsigned char instead of signed char.
14178 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14180 * emacs.c (main_1): Always call syms_of_gui.
14181 * inline.c: include gui.h
14183 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14185 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14186 converted to Lisp_Object.
14187 (Qtop_bottom): New variable.
14188 (syms_of_redisplay): Initialize it.
14189 * redisplay.h (Vvisible_bell): Ditto.
14190 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14191 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14192 only flash top and bottom.
14194 2000-03-08 Andy Piper <andy@xemacs.org>
14196 * buffer.c (Frename_buffer): record new buffer name the right way.
14198 2000-03-08 Andy Piper <andy@xemacs.org>
14200 * glyphs.c (update_subwindow): increase hash depth so that widget
14201 items get picked up properly.
14203 * redisplay-output.c (compare_runes): increase hash depth so that
14204 widget items get picked up properly.
14206 2000-03-08 Andy Piper <andy@xemacs.org>
14208 * gutter.c (output_gutter): add some debug.
14210 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14211 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14212 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14214 * redisplay-output.c (compare_runes): use display_hash to
14215 determine if glyphs really are not the same.
14217 * glyphs.c (update_subwindow): check display_hash to see if
14218 anything really needs to be updated. If not then do
14219 nothing. Record the display_hash after updating.
14220 (image_instance_equal): compare the image_instance face also.
14222 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14224 * redisplay.h: Fix comment style.
14226 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14228 * consle-msw.h (struct mswindows_frame):
14229 Added new member paint_pending to indicate whether a WM_PAINT
14230 magic event has been queued for this frame.
14232 * event-msw.c (mswindows_drain_windows_queue):
14233 Don't queue a WM_PAINT magic event if one is already queued.
14234 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14236 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14238 2000-03-07 Didier Verna <didier@xemacs.org>
14240 * dired.c: #include `regex.h' after `sysfile.h'.
14242 2000-03-06 Martin Buchholz <martin@xemacs.org>
14244 * sound.c (init_nas_sound): Fix compiler warning.
14246 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14248 (MARK_STRUCT_AS_FREE):
14249 (MARK_STRUCT_AS_NOT_FREE):
14250 Make `gcc -fstrict-aliasing' work properly.
14252 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14254 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14255 (mswindows_delete_device): Call CoUnnitialize().
14257 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14259 2000-02-25 <CraigL@DyCon.com>
14261 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14264 * sysdep.c: This extern declaration for environ prevents MinGW
14265 from finding the variable in CRTDLL.DLL.
14267 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14269 (SHGFI_EXETYPE): ..
14270 (WM_MOUSEWHEEL): ..
14271 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14273 (MMRESULT): Removed, now defined in cygwin's windows headers.
14275 (uid_t,gid_t,pid_t,ssize_t): ..
14276 (_timeb): Removed, MinGW defines both _timeb and timeb.
14277 (HAVE_H_ERRNO): Added.
14278 (HAVE_TZNAME): Added, configure is not detecting this.
14280 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14282 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14283 * syntax.c (syntax_match): Use it.
14285 * cmds.c: Import auto-fill-chars from FSF Emacs.
14286 (Vauto_fill_chars): New variables.
14287 (internal_self_insert): Check Vauto_fill_chars.
14289 Declare auto-fill-chars as a Lisp variable and initialize it.
14291 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14293 * fileio.c (Fmake_symbolic_link):
14295 Run handlers even if local machine doesn't have symlinks.
14297 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14299 * event-msw.c (mswindows_drain_windows_queue):
14300 Don't generate paint magic events for non-XEmacs frames.
14302 2000-03-05 Andy Piper <andy@xemacs.org>
14304 * redisplay.c (redisplay_frame): generate_displayable_area and
14305 friends assumes that we are not in GC, we therefore have to make
14306 sure that this doesn't happen.
14308 * gutter.c (calculate_gutter_size): generate_displayable_area
14309 assumes that we are not in GC, we therefore have to make sure that
14310 this doesn't happen.
14312 2000-03-05 Martin Buchholz <martin@xemacs.org>
14314 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14316 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14318 * redisplay.c (regenerate_window): Make sure we set a sane value
14319 for end_pos even if we jump out of the loop.
14320 (regenerate_window): Answer Ben's question :-).
14321 (start_end_of_last_line): Add may_error argument.
14322 (start_of_last_line):
14323 (end_of_last_line): Pass may_error = 0.
14324 (end_of_last_line_may_error): New function.
14325 (pixel_to_glyph_translation): Use it, so we don't crash in
14328 2000-03-04 Andy Piper <andy@xemacs.org>
14330 * window.h (struct window): add gutter_extent_modiff.
14332 * window.c (allocate_window): zero out gutter_extent_modiff.
14334 * redisplay.h: declare sync_display_line_structs.
14336 * redisplay.c (add_glyph_rune): add a better comment.
14338 * redisplay-output.c (sync_display_line_structs): made non-static.
14339 (compare_runes): remove unneccesary glyph cachel access.
14341 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14343 * gutter.c (output_gutter): don't output the gutter if extent
14344 changes only involve extents in buffers. use 4 sets of display
14346 (gutter_extent_signal_changed_region_maybe): new function. Mark
14347 extents in gutters as changed.
14348 (update_frame_gutters): use 4 sets of display lines.
14349 (reset_gutter_display_lines): ditto.
14350 (free_frame_gutters): ditto.
14351 (redraw_exposed_gutter): force output of gutters.
14353 * frame.h (struct frame): add 4 sets of gutter display lines.
14355 * extents.c: (extent_changed_for_redisplay): signal changes to
14356 extents in strings in the gutter as well as extents in buffers.
14358 2000-03-02 Andy Piper <andy@xemacs.org>
14360 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14362 * frame.c (Fmake_frame): make sure the gutters get initialized
14363 after the frame is visible.
14364 (set_frame_selected_window): re-arrange compilation macros a
14366 (change_frame_size_1): mark gutters changed.
14368 * device.c (Fset_device_class): mark gutters changed.
14370 2000-03-01 Andy Piper <andy@xemacs.org>
14372 * window.c (window_top_frame_gutter_height): deleted.
14373 (window_bottom_frame_gutter_height): ditto.
14374 (window_left_frame_gutter_height): ditto.
14375 (window_right_frame_gutter_height): ditto.
14376 (window_top_gutter_height): don't use them.
14377 (window_bottom_gutter_height): ditto.
14378 (window_left_gutter_width): ditto.
14379 (window_right_gutter_width): ditto.
14380 (Fsplit_window): ditto.
14381 (Fwindow_pixel_edges): don't use border dimensions here.
14383 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14384 (update_scrollbar_instance): ditto.
14386 * redisplay.c (generate_modeline): don't take gutters into account.
14387 (generate_modeline): ditto.
14388 (redisplay_frame): small gutter display optimization.
14390 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14392 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14393 gutters into account.
14395 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14396 for window position and type.
14398 * gutter.c (get_gutter_coords): fix for frame gutters.
14399 (update_frame_gutters): update frame geometry if the gutters have
14401 (init_frame_gutters): record current gutter geometries.
14403 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14405 (mswindows_widget_instantiate): ditto.
14407 * frame.h (struct frame): add current_gutter_bounds.
14409 * frame.c (change_frame_size_1): position window and minibuffer
14410 appropriately taking into account the frame gutters.
14412 * frame-x.c: (x_initialize_frame_size): take into account the
14415 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14417 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14419 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14421 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14423 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14425 * file-coding.c (reset_decoding_stream): Clear previous
14426 detection state when autodetect.
14428 2000-02-29 Didier Verna <didier@xemacs.org>
14430 * extents.c (set_extent_glyph_1): don't require extents to be
14433 2000-02-27 Andy Piper <andy@xemacs.org>
14435 * gutter.c (Fset_default_gutter_position): don't default left and
14436 right gutter visibility to t.
14437 (Fset_default_gutter_position): run
14438 default-gutter-position-changed-hook.
14439 (syms_of_gutter): add default-gutter-position-changed-hook.
14441 2000-02-26 Andy Piper <andy@xemacs.org>
14443 * specifier.c (Fmake_specifier): add gutter references.
14445 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14447 * lisp.h: declare Fvalid_plist_p.
14449 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14451 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14452 well as its visibility so that it gets reconstructed.
14453 (construct_window_gutter_spec): new function. Construct a string
14454 to be displayed in the gutter from a plist of strings. Take care
14455 to only use elements that are declared as visible.
14456 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14458 (gutter_validate): allow plists of strings in the specifier.
14459 (gutter_specs_changed): construct the real_gutter from the gutter
14460 specs using construct_window_gutter_spec.
14461 (gutter_visible_validate): gutter-visible is a new specifier type.
14462 (Fgutter_visible_specifier_p): new function for the new specifier.
14463 (syms_of_gutter): declare gutter-visible and
14464 Fgutter_visible_specifier_p.
14465 (specifier_type_create_gutter): intitalize new gutter-visible
14467 (reinit_specifier_type_create_gutter): ditto.
14468 (specifier_vars_of_gutter): use new specifier type for gutter
14470 (init_frame_gutters): construct real_gutter correctly.
14471 (Fgutter_specifier_p): beef up documentation.
14472 (Fgutter_size_specifier_p): ditto.
14474 * winslots.h: add real_gutter slots.
14476 2000-02-25 Andy Piper <andy@xemacs.org>
14478 * device-msw.c: Be kind to older cygwin versions. From Raymond
14479 Toy <toy@rtp.ericsson.se>.
14481 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14482 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14484 2000-02-25 Martin Buchholz <martin@xemacs.org>
14486 * elhash.c (MARK_OBJ): Practice macro hygiene.
14488 2000-02-24 Martin Buchholz <martin@xemacs.org>
14490 * miscplay.c: s/__inline__/inline/g;
14491 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14492 (get_device_compdc): INLINE ==> static inline
14493 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14494 find -name '*.h' | \
14495 xargs global-replace \
14496 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14498 2000-02-25 Andy Piper <andy@xemacs.org>
14500 * window.c (window_top_frame_gutter_height): new function.
14501 (window_top_window_gutter_height): ditto.
14502 (window_top_gutter_height): use them.
14503 (window_bottom_frame_gutter_height): new function.
14504 (window_bottom_window_gutter_height): ditto.
14505 (window_bottom_gutter_height): use them.
14506 (window_left_window_gutter_width): new function.
14507 (window_left_frame_gutter_width): ditto.
14508 (window_left_gutter_width): use them.
14509 (window_right_window_gutter_width): new function.
14510 (window_right_frame_gutter_width): ditto.
14511 (window_right_gutter_width): use them.
14512 (window_pixel_height): new function. calulate window pixel height
14513 with frame gutter involvement.
14514 (Fsplit_window): calculate new sizes taking frame gutters into
14516 (window_char_height_to_pixel_height): don't include frame gutters.
14517 (window_char_height): use window_pixel_height.
14518 (window_pixheight): rename from window_pixel_height.
14519 (change_window_height): use it.
14520 (window_pixel_height_to_char_height): don't include frame gutters.
14521 (window_char_width_to_pixel_width): ditto.
14523 2000-02-25 Andy Piper <andy@xemacs.org>
14525 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14528 2000-02-24 Martin Buchholz <martin@xemacs.org>
14530 * alloc.c (staticpro):
14531 (staticpro_nodump):
14536 (compact_string_chars):
14537 (pdump_dump_wired):
14538 Convert: if (foo) abort(); ==> assert (! foo);
14540 * eldap.c (Fldap_search_basic):
14544 Fix compiler warnings, and possible crashes if (random) return
14545 value were to be used.
14547 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14549 * device-msw.c: Workaround ResetDC failure.
14551 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14552 applying a devmode.
14554 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14555 (mswindows_text_width): Do not start printer page.
14557 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14559 * glyphs-msw.c: Added image methods to msprinter console and
14560 msprinter-specific image instantiation.
14562 2000-02-20 Mike Alexander <mta@arbortext.com>
14564 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14565 to avoid crashes when selection-sets-clipboard is on
14566 (mswindows_own_selection): ditto
14568 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14571 * redisplay-msw.c (get_frame_dc):
14572 (get_frame_compdc):
14574 * device-msw.c (mswindows_init_device):
14575 (mswindows_delete_device):
14576 (msprinter_init_device):
14577 (msprinter_delete_device):
14578 * frame-msw.c (mswindows_init_frame_1):
14579 (mswindows_delete_frame):
14580 (msprinter_init_frame_3):
14581 (msprinter_delete_frame): Move compatible DC to device object from
14582 frame object, for both mswindows and msprinter. Only one at a time
14583 is needed, it is a real waste to have one per frame!
14585 2000-02-23 Andy Piper <andy@xemacs.org>
14587 * glyphs.c: add dynamic width and height elements.
14588 (image_instance_equal): ditto.
14590 * glyphs-widget.c (widget_query_geometry): calculate width and
14591 height dynamically if required.
14592 (initialize_widget_image_instance): initialize dynamic dimensions.
14593 (widget_instantiate): pick-up dynamic dimensions.
14595 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14596 dynamic determination. Add appropriate macros.
14598 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14600 (WINDOW_GUTTER_SIZE): ditto.
14601 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14603 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14605 (get_frame_dc): ditto.
14607 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14610 2000-02-23 Martin Buchholz <martin@xemacs.org>
14612 * XEmacs 21.2.31 is released.
14614 2000-02-22 Ben Wing <ben@xemacs.org>
14616 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14618 2000-02-22 Andy Piper <andy@xemacs.org>
14620 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14622 2000-02-21 Mike Sperber <mike@xemacs.org>
14626 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14629 2000-02-21 Mike Sperber <mike@xemacs.org>
14631 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14633 2000-02-21 Martin Buchholz <martin@xemacs.org>
14635 * XEmacs 21.2.30 is released.
14637 2000-02-20 Martin Buchholz <martin@xemacs.org>
14639 Performance hacking.
14641 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14642 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14643 * emacs.c (main_1):
14645 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14646 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14647 * symeval.h (DEFVAR_SYMVAL_FWD):
14648 * symbols.c (guts_of_unbound_marker):
14649 Make all c_readonly objects also lisp_readonly and marked for life.
14650 * lrecord.h (struct lrecord_implementation):
14651 Document flags better.
14652 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14653 * lrecord.h (DECLARE_LRECORD):
14654 * lrecord.h (XSETRECORD):
14655 * lrecord.h (RECORDP):
14656 * lrecord.h (RECORD_TYPEP):
14657 * lrecord.h (RECORD_MARKER): New.
14658 * lrecord.h (error_check_*):
14659 * lrecord.h (CONCHECK_NONRECORD):
14660 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14661 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14662 * lrecord.h (set_lheader_implementation):
14663 * lrecord.h (enum lrecord_type): New.
14664 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14665 * alloc.c (disksave_object_finalization_1):
14666 * alloc.c (mark_object):
14667 * alloc.c (lrecord_type_index):
14668 * alloc.c (tick_lcrecord_stats):
14669 * alloc.c (Fgarbage_collect):
14670 * alloc.c (init_alloc_once_early):
14671 * alloc.c (pdump_load):
14672 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14673 * alloc.c (lrecord_type_index): Delete.
14674 Make lisp object type indexes be constant.
14675 Makes (byte-compile) 5% faster.
14676 Put all marker functions into their own array.
14677 Makes (garbage-collect) 5% faster.
14678 Optimize SYMBOL_VALUE_MAGIC_P.
14679 Makes (byte-compile) 2-3% faster.
14680 * config.h.in (gc_checking_assert): New.
14681 * alloc.c: Use gc_checking_assert().
14682 * .dbxrc: Make compatible with new object type implementation.
14683 * .gdbinit: Make compatible with new object type implementation.
14684 * alloc.c: Delete all symbols defined only for debugging, such as
14685 Lisp_Type_Vector and lrecord_charset.
14687 2000-02-21 Andy Piper <andy@xemacs.org>
14689 * gui-msw.c (Fmswindows_shell_execute): fix file location
14692 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14693 unshowing so that set_window_buffer doesn't undo
14694 kill_buffer_hook's hard work.
14696 * glyphs-widget.c (tab_control_query_geometry): don't count the
14697 first item when calculating geometry.
14699 * glyphs.c (map_subwindow): remove redundant code.
14700 (update_frame_subwindows): be more circumspect about when to
14703 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14704 when items haven't changed. Update faces if faces have changed as
14705 well as just the widget face.
14706 (x_tab_control_update): Update faces if faces have changed as well
14707 as just the widget face.
14709 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14711 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14713 (build_syscolor_string): Use mswindows_color_to_string to try to
14715 (mswindows_device_system_metrics): Reverse the foreground and
14716 background colors so that they match the documentation.
14718 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14719 they match the default Windows palette.
14720 (mswindows_color_to_string): New function.
14722 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14724 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14726 2000-02-18 Olivier Galibert <galibert@pobox.com>
14728 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14729 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14731 * symbols.c (init_symbols_once_early): Removed obsolete
14732 DATA_SEG_BITS related kludge.
14733 (defvar_magic): Ditto.
14735 * malloc.c: Removed obsolete DATA_SEG_BITS
14737 * mem-limits.h: Ditto.
14739 * Makefile.in.in: Removed obsolete HAVE_SHM
14742 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14744 * device-msw.c (mswindows_delete_device): Free DDE string
14747 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14749 * keymap.c (get_keyelt):
14750 * unexnt.c (unexec):
14751 * vm-limit.c (memory_warnings):
14752 * ntheap.c (recreate_heap):
14753 * ntheap.h (UNINIT_PTR):
14754 * select-msw.c (Fmswindows_get_clipboard):
14755 (Fmswindows_set_clipboard):
14756 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14758 * menubar-msw.c (displayable_menu_item):
14760 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14761 * sysdep.c (sys_subshell):
14762 * process-nt.c (nt_create_process):
14763 * nt.c (normalize_filename):
14764 (dostounix_filename):
14765 (unixtodos_filename):
14766 * ntproc.c (win32_executable_type):
14767 * ntplay.c (play_sound_data_1):
14769 * editfns.c (get_home_directory):
14770 * event-msw.c (struct winsock_stream):
14771 (mswindows_dde_callback):
14772 * device-msw.c (msprinter_init_device):
14773 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14775 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14776 mswindows_clear_toolbar were swapped!
14778 * objects-msw.c:(colormap_t):
14780 * emacs.c (struct standard_args): Fixed const jumble.
14782 * glyphs-widget.c (update_widget): Fixed comparison notation.
14784 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14786 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14787 __declspec(noreturn) syntax.
14789 2000-02-19 Martin Buchholz <martin@xemacs.org>
14791 * eldap.c (Fldap_open):
14792 (Fldap_search_basic):
14795 Use new coding system conversion macros.
14797 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14799 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14801 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14803 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14804 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14806 * eldap.c (Qadd, Qreplace): New constant symbols
14807 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14808 interruptions by XEmacs signals
14809 Remove unnecessary calls to slow_down_interrupts and
14810 speed_up_interrupts
14811 (Fldap_search_basic): Renamed from Fldap_search_internal
14812 Added new optional parameter VERBOSE that triggers the
14813 display of progress messages
14814 Remove unnecessary calls to slow_down_interrupts and
14815 speed_up_interrupts
14816 LDAP result code analysis rewritten
14817 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14818 (syms_of_eldap): Define the new symbols and functions
14821 2000-02-17 Martin Buchholz <martin@xemacs.org>
14823 * realpath.c: Determine PATH_MAX maximally portably.
14825 * insdel.c (bytecount_to_charcount): Optimize.
14826 The function used to be optimized for entirely ASCII sequences.
14827 Now it is optimized for successive characters from the same
14828 charset. This also wins big for _mostly_ ASCII sequences.
14830 * fileio.c (Ffile_truename): convert return from realpath() using
14831 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14832 - Rewrite GCPROing slightly.
14834 * sysdep.c (sys_open): Do filename conversion, like all other
14835 sys_* functions. Fixes bug:
14836 (let ((file-name-coding-system 'iso-8859-2))
14837 (write-region x y latin2-name))
14838 ==> writes filename using internal encoding.
14840 2000-02-18 Martin Buchholz <martin@xemacs.org>
14842 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14843 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14844 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14845 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14846 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14847 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14848 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14849 (CONST_IF_NOT_DEBUG): Delete.
14850 * alloc.c (this_one_is_unmarkable): Delete.
14851 (mark_object): Don't check for this_one_is_unmarkable. Use the
14852 c_readonly flag instead.
14853 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14855 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14857 * event-msw.c (mswindows_drain_windows_queue):
14858 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14859 away redundant repaint events.
14861 2000-02-17 Andy Piper <andy@xemacs.org>
14863 * redisplay.h: declare mark_redisplay_structs.
14865 * redisplay.c (redisplay_window):
14866 (redisplay_frame): don't check subwindows_state_changed.
14867 (mark_redisplay): mark gutters here.
14869 * glyphs.c: (instantiate_image_instantiator): always layout if we
14870 haven't done so already.
14871 (allocate_image_instance): don't mark as dirty.
14872 (update_subwindow): bind inhibit_quit.
14874 * gutter.c (mark_gutters): new function.
14876 * glyphs-x.c (x_update_widget): Always resize to get round a
14879 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14880 breaking absolutely everything.
14882 * gutter.h: declare mark_gutters.
14884 2000-02-16 Martin Buchholz <martin@xemacs.org>
14886 * XEmacs 21.2.29 is released.
14888 2000-02-15 Olivier Galibert <galibert@pobox.com>
14890 * fns.c (size_bit_vector): Fix computation of the size.
14892 2000-02-15 Martin Buchholz <martin@xemacs.org>
14894 * *.[ch]: Change CONST to const globally.
14895 find -name '*.[ch]' | \
14896 xargs global-replace \
14897 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14898 - Remove vestigial references to CONST_IS_LOSING
14900 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14902 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14903 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14904 events instead of dispatching them directly.
14905 (mswindows_handle_paint): New function to do repainting.
14906 (mswindows_wnd_proc):
14907 (emacs_mswindows_handle_magic_event): Call above function.
14909 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14911 * objects-msw.c (mswindows_create_font_variant): Return the new
14913 (initialize_font_instance): Get font metrics from the underlined
14914 variant of the font to cope with the case where the underlined
14915 font has a bigger descent.
14917 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14919 * gui.c (gui_item_accelerator): Return the first underlined
14920 character in item name.
14922 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14924 * lisp.h: Added Qprinter.
14926 * general.c (syms_of_general): Initialized it.
14928 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14930 (get_frame_compdc): Made inline.
14932 * console.h (struct console_methods): Added eject_page method.
14934 * frame.h: Added FRAME_DISPLAY_P and friends.
14935 Aligned backslahes in many macros in more readable fashion.
14936 Added page_number to struct frame, and an accessor macro
14939 * defice.h: Added DEVICE_DISPLAY_P and friends.
14941 * device.c (Fdevice_printer_p): Used these.
14943 * frame.c (allocate_frame_core): Initialize page number.
14944 (Fprint_job_page_number):
14945 (Fprint_job_eject_page): Implemented.
14947 * frame-msw.c (msprinter_eject_page): Added method.
14948 (msprinter_start_page): Added.
14950 * window.c (Fwindow_truncated_p): Fixed docstring.
14951 (Fwindow_last_line_visible_height): Implemented.
14953 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14955 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
14957 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14959 * syntax.c (scan_words): Always advance at least one character.
14961 2000-02-13 Andy Piper <andy@xemacs.org>
14963 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
14964 to make sure the glyph is in the cachels.
14966 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
14967 global image instance flag.
14968 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
14969 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
14971 * glyphs.c (allocate_image_instance): set dirty bits correctly.
14972 (Fset_image_instance_property): mark layout as changed.
14973 (invalidate_glyph_geometry_maybe): mark layout as changed.
14974 (glyph_width): use new NEEDS_LAYOUT macro.
14975 (glyph_ascent): ditto.
14976 (glyph_descent): ditto.
14977 (glyph_height): ditto.
14978 (image_instance_layout): mark layout as clean after laying out.
14979 (update_subwindow): don't mark layout as clean here.
14981 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
14982 should no longer be needed.
14984 * glyphs-x.c (x_update_widget): sanitize asserts.
14985 (x_finalize_image_instance): sanitize assignment to widgets.
14987 * glyphs-widget.c (widget_instantiate): don't need to clear the
14990 2000-02-13 Martin Buchholz <martin@xemacs.org>
14992 * sysdep.c (getcwd): Use standard prototype.
14993 * sysdep.h (getcwd): Use standard prototype.
14995 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
14996 (sequence, start, end).
14997 Remove redundant type checking.
14998 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
14999 view of `caller-protects') to avoid a crash where the real fix was
15002 2000-02-12 Martin Buchholz <martin@xemacs.org>
15004 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15006 * s/sol2.h: Remove feature macro initialization.
15008 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15009 (vector_hash): New. Code from internal_hash.
15011 Fix up allocation subsystem comments.
15013 * config.h.in: Add __EXTENSIONS__ for Solaris.
15015 * systime.h (EMACS_GETTIMEOFDAY): New.
15016 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15017 Remove Solaris-specific code.
15018 Use void* for the (ignored) second arg for gettimeofday().
15020 * elhash.c (hash_table_hash): Implement it, finally.
15021 * elhash.c: Use hashcode_t.
15023 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15024 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15026 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15027 * fns.c (size_bit_vector):
15028 * alloc.c (size_vector):
15029 (make_vector_internal):
15030 (make_bit_vector_internal):
15031 (sweep_bit_vectors_1):
15032 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15034 2000-02-10 Martin Buchholz <martin@xemacs.org>
15036 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15037 Include strings.h to avoid warnings for bzero and strcasecmp.
15039 2000-02-10 Olivier Galibert <galibert@pobox.com>
15041 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15042 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15044 * fns.c (size_bit_vector): New. Declare bit vectors as a
15047 2000-02-10 Olivier Galibert <galibert@pobox.com>
15049 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15050 use a value field instead.
15051 (symbol_value_forward_forward): Use value field.
15052 (DEFVAR_SYMVAL_FWD): Use value field.
15053 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15054 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15055 (DEFVAR_CONST_INT): Ditto.
15056 (DEFVAR_BOOL): Ditto.
15057 (DEFVAR_CONST_BOOL): Ditto.
15058 (DEFVAR_INT_MAGIC): Ditto.
15059 (DEFVAR_BOOL_MAGIC): Ditto.
15061 * symbols.c (guts_of_unbound_marker): Use value field.
15062 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15063 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15065 * lisp.h: Declare dumpopaque and noninteractive1.
15067 * alloc.c (dumpopaque): Added.
15068 (pdump_dump_opaquevec): Added.
15069 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15070 (pdump_load): Reload opaque data. Sync noninteractive1 with
15073 2000-02-10 Andy Piper <andy@xemacs.org>
15075 * glyphs.c (image_instance_layout): if the size changes, mark it
15078 * redisplay-output.c (redisplay_output_layout): Update the
15080 (redisplay_output_subwindow): ditto.
15082 * glyphs.c (update_subwindow): make sure we reset flags for
15083 layouts as well as everything else.
15085 * glyphs-widget.c (layout_layout): don't need to set the instances
15088 2000-02-09 Martin Buchholz <martin@xemacs.org>
15090 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15091 not HAVE_DLOPEN, which is a lower-level thing.
15093 * .cvsignore: Ignore gmon.out
15095 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15097 * .cvsignore: Ignore portable dumper xemacs.dmp file
15099 2000-02-09 Andy Piper <andy@xemacs.org>
15101 * redisplay-output.c (redisplay_output_layout): be more clever
15102 about when we output based on the changed flags.
15104 * glyphs.h (struct image_instantiator_methods): add update_method.
15105 (struct Lisp_Image_Instance): add changed flags. Declare new
15106 macros for manipulating them.
15108 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15109 (image_instance_parent_glyph): find an image_instance's parent
15110 glyph or image_instance.
15111 (image_instance_layout): mark the size as changed.
15112 (set_image_instance_dirty_p): new function. mark an image
15113 instance, plus all of its parents, as dirty.
15114 (Fset_image_instance_property): use it.
15115 (Fglyph_animated_timeout_handler): use it.
15116 (update_subwindow): call update_widget and device methods for
15117 update_subwindow. Mark all changed flags as clean.
15118 (Fresize_subwindow): mark size as changed.
15120 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15122 (x_update_subwindow): only resize subwindows here.
15123 (x_update_widget): new function. Update all changed properties of
15125 (x_resize_subwindow): deleted.
15126 (x_widget_set_property): deleted.
15127 (x_progress_gauge_set_property): deleted.
15128 (x_progress_gauge_update): new function. Implement recorded
15130 (x_tab_control_update): ditto.
15131 (x_tab_control_set_property): deleted.
15132 (console_type_create_glyphs_x): declare new functions.
15133 (image_instantiator_format_create_glyphs_x): ditto.
15135 * glyphs-widget.c (widget_set_property): mark text changed.
15136 (update_widget): new function. Update properties of a widget.
15137 (widget_instantiate): for layouts make sure we set their
15138 children's parent correctly.
15139 (tab_control_set_property): new function. Record changes that will
15140 take place under redisplay's control.
15141 (progress_gauge_set_property): ditto.
15142 (image_instantiator_progress_guage): declare new functions.
15143 (image_instantiator_tab_control): ditto.
15145 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15147 (mswindows_update_widget): new function. Update all properties on
15148 a widget that have changed.
15149 (mswindows_button_update): new function. Update a button's set
15151 (mswindows_tab_control_update): new function. Update the items in
15153 (mswindows_tab_control_set_property): deleted.
15154 (mswindows_progress_gauge_update): new function. Update the
15155 progress gauge's progress.
15156 (mswindows_widget_set_property): deleted. This is all done
15157 asynchronously now.
15158 (mswindows_progress_gauge_set_property): ditto.
15159 (console_type_create_glyphs_mswindows): declare new methods.
15160 (image_instantiator_format_create_glyphs_mswindows): ditto.
15162 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15163 (msprinter_set_frame_properties): ditto.
15165 * console.h (struct console_methods): Add update_widget_method.
15167 2000-02-09 Andy Piper <andy@xemacs.org>
15169 * gui-msw.c (Fmswindows_shell_execute): Make
15170 mswindows-shell-execute industrial strength.
15172 2000-02-08 Martin Buchholz <martin@xemacs.org>
15174 * lrecord.h: Make macro argument `props' match member function `plist'.
15177 * fns.c (Fremprop):
15178 * fns.c (Fobject_plist):
15181 Object property list frobbing cleanup.
15182 - Allow any lisp object (compared with `eq'), not just symbols, as
15183 keys in object plists.
15184 - Move symbol plist frobbing into symbols.c, where it belongs.
15185 - Move string plist frobbing into alloc.c, where it belongs.
15186 - Everything's an lrecord now, so no need to test for symbolp, etc.
15187 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15189 * extents.c: Reorder code to remove declarations.
15191 * frame.h (store_in_alist): Remove useless declaration.
15193 2000-02-07 Martin Buchholz <martin@xemacs.org>
15195 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15196 * config.h.in: Add HAVE_XCONVERTCASE.
15198 2000-02-07 Andy Piper <andy@xemacs.org>
15200 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15201 it breaks many things.
15203 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15205 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15206 actually can start a common comment type.
15207 * src/syntax.h (SYNTAX_END_P): ditto for end.
15209 2000-02-07 Martin Buchholz <martin@xemacs.org>
15211 * XEmacs 21.2.28 is released.
15213 2000-02-06 Martin Buchholz <martin@xemacs.org>
15215 * event-Xt.c (x_keysym_to_character): New.
15216 (maybe_define_x_key_as_self_inserting_character): New.
15217 (x_has_keysym): New.
15218 Auto-define all keys on the keyboard as self-insert-key.
15220 2000-02-02 Martin Buchholz <martin@xemacs.org>
15222 * menubar.c (vars_of_menubar): A small code simplification.
15224 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15227 * ExternalClient.c:
15228 * EmacsShell-sub.c:
15231 Use consistent style for specifying X resources.
15233 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15234 This makes (dontusethis-set-symbol-value-handler) actually usable.
15236 * lrecord.h (lrecord_decription_type):
15237 * alloc.c (pdump_register_sub):
15240 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15241 Comply with XEmacs coding style.
15242 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15243 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15245 * keymap.c (Faccessible_keymaps):
15246 Make (accessible-keymaps map "\C-h") do the Right Thing.
15247 Make (accessible-keymaps map []) do the Right Thing.
15248 Make (accessible-keymaps map "") do the Right Thing.
15249 (check_keymap_definition_loop): New function.
15250 (keymap_store_internal): Keep luser from shooting self in foot,
15251 via (define-key ctl-x-4-map "p" global-map).
15252 Remove fullness slot from struct Lisp_Keymap, since hash tables
15254 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15256 2000-01-30 Martin Buchholz <martin@xemacs.org>
15258 * redisplay.c (init_redisplay): Fix small memory leak.
15260 * elhash.c (pdump_reorganize_hash_table):
15261 Rename from reorganize_hash_table. Change prototype.
15262 Reuse the original memory for hentries. Save 100k.
15263 * alloc.c (PDUMP_READ): new macro.
15264 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15265 * alloc.c: No need to #ifndef before #undef.
15267 * print.c: Allow debug_print() to print readably by modifying
15268 debug_print_readably. Use consistent variable names.
15270 * .dbxrc: Try to get things to work even if stopped in a function
15271 without source available by explicitly specifying source files.
15272 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15274 * unexnt.c (_start): Removed bogus code which caused loading heap
15275 from differrent executable file.
15276 Removed bogus assignment to _fmode, which caused inconsistencies.
15278 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15280 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15281 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15282 Do not preliminary `#define signal sigset'.
15284 * systime.h: Do not prototype environ on windows nt and cygwin,
15285 this conflicts with system header.
15287 * syssignal.h: Use correct define for WINDOWSNT
15289 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15290 with system header.
15292 * sysdep.c (near start of file): Fixed commentary and rearranged
15293 ifdefs in readable order.
15294 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15297 (end_of_data): Do not compile in if using PDUMP.
15299 * symsinit.h: Prototyped vars_of_nt().
15301 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15302 (find_child_console): Use it.
15303 (sys_kill): Use it.
15305 * ntheap.h: Do not extern os_subtype.
15307 * ntheap.c (cache_system_info): Do not cache unneeded:
15308 nt_major_version, nt_minor_version and os_subtype.
15309 (recreate_heap): Do not compile in when PDUMPing.
15311 * nt.c (geteuid and friends): Use the new varibale
15312 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15313 (init_user_info): Removed the above mentioned hackery.
15314 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15315 stat has been fixed in the C runtime.
15316 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15318 * file-coding.c (struct file_coding_dump): Do not define
15319 ucs_to_mule_table in the struct if not MULE.
15320 (struct struct lrecord_description fcd_description_1): Do not dump
15323 * emacs.c (main_1): Call vars_of_nt().
15324 (right before Fdump_emacs_data): Don't need lastfile if using both
15325 portabe dumper and system malloc.
15327 * alloc.c (Fmemory_limit): Conditionalized out.
15328 (pdump): Use OPEN_BINARY for the portable dump file.
15329 (pdump_load): Ditto.
15331 2000-02-02 Mike Alexander <mta@arbortext.com>
15333 * nt.c (convert_time): Set tm_isdst before calling mktime and
15334 avoid calling it at all if the compiler supports 64 bit integers.
15335 Also initialize utc_base_ft before using it.
15337 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15339 * frame.c (change_frame_size_1): Take f->internal_border_width
15340 into consideration when calculating the width of the frame.
15342 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15344 * window.c (frame_min_height):
15345 (frame_size_valid_p):
15346 (frame_pixsize_valid_p): Added.
15347 (check_frame_size): Generalized.
15349 * window.h: Prototyped the above.
15352 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15353 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15354 Deleted Vwin32_* and Vbinary_process_* unused variables.
15356 * device-msw.c (msprinter_init_device): Do not get printer font
15357 list; Added DEVMODE functions.
15359 * frame-msw.c: Added lots of printer code.
15361 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15364 * console-msw.h: Added more msprinter device private slots.
15366 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15368 * event-msw.c (key_needs_default_processing_p): Added.
15369 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15371 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15373 * glyphs.c (image_instance_layout): Mark image instance as clean
15375 (glyph_dirty_p): Removed redundant function.
15376 (invalidate_glyph_geometry_maybe): Added.
15377 (update_glyph_cachel_data): Call it.
15379 * glyphs.h: Prototyped it.
15381 * redisplay.c (add_glyph_rune): Call it.
15382 (redisplay_window): Reset glyphs cachels when frame faces have
15383 changed, thus forcing recomputation of built-in border glyphs.
15385 2000-01-30 Martin Buchholz <martin@xemacs.org>
15387 * Makefile.in.in: Make portable dumper and purify play well together.
15388 Add imperfect, but better than nothing, support for pdump.
15389 Remove xemacs.dmp when temacs is re-generated.
15390 Don't ignore errors when dumping xemacs.
15392 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15394 2000-01-28 Andy Piper <andy@xemacs.org>
15396 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15397 (setup_normal_frame): ditto.
15398 (setup_frame_without_minibuffer): ditto.
15399 (setup_minibuffer_frame): ditto.
15400 (delete_frame_internal): ditto.
15401 (Fmake_frame_invisible): ditto.
15402 (Ficonify_frame): ditto.
15404 * window.h: change Fset_window_buffer signature.
15406 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15407 (Fset_window_buffer): allow recording of buffer if the window is
15408 the selected window.
15409 (window_loop): Use new Fset_window signature.
15411 2000-01-23 Daniel Pittman <daniel@danann.net>
15413 * config.h.in: Added template for `HAVE_ATHENA_3D'
15415 2000-01-29 Andy Piper <andy@xemacs.org>
15417 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15419 * gutter.c (output_gutter): Don't output if the window isn't live.
15421 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15423 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15424 of 01/12/00: Moved SetFocus back here where it belongs.
15426 2000-01-23 Andy Piper <andy@xemacs.org>
15428 * s/cygwin32.h: declare printer things.
15430 2000-01-26 Andy Piper <andy@xemacs.org>
15432 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15435 2000-01-24 Andy Piper <andy@xemacs.org>
15437 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15438 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15440 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15442 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15444 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15446 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15447 (mswindows_output_display_block): Avoid local shadows.
15449 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15450 (mswindows_enqueue_mouse_button_event): ditto.
15451 (mswindows_handle_gui_wm_command): remove declaration.
15453 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15456 * console-msw.h: Avoid shadows.
15457 (mswindows_get_toolbar_button_text):
15458 (emacs_mswindows_create_stream_pair):
15459 (emacs_mswindows_delete_stream_pair):
15460 (mswindows_handle_toolbar_wm_command): declare.
15462 * device-msw.c (build_syscolor_string): Avoid shadows.
15464 2000-01-23 Andy Piper <andy@xemacs.org>
15466 * glyphs-widget.c (widget_instantiate): reverse the items for
15467 layouts so that children are in the expected order.
15469 2000-01-28 Martin Buchholz <martin@xemacs.org>
15471 * ralloc.c: safe_bcopy ==> memmove
15472 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15473 * s/msdos.h: Remove BCOPY macros.
15474 * insdel.c (gap_right): Remove BCOPY conditional code.
15475 * insdel.c (gap_left): Remove BCOPY conditional code.
15476 XEmacs demands a working ANSI C compiler - hence memmove.
15478 * regex.c (regex_compile): Remove accidental use of trigraphs.
15480 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15482 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15485 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15487 * event-msw.c (mswindows_drain_windows_queue): Added the
15489 (mswindows_need_event): Commented the call to
15490 mswindows_drain_windows_queue().
15491 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15494 * console-msw.h: Moved a few function prototypes here from
15497 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15498 parameter from unsigned short to unsigned long.
15499 (Fmswindows_shell_execute): Added return value.
15501 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15503 * sysdep.c (init_system_name):
15504 process-unix.c (unix_canonicalized_host_name):
15505 Don't call freeaddrinfo() if getaddrinfo() fails.
15507 * process-unix.c (unix_open_unix_network_stream):
15508 Moved the code to get a port # into address loop.
15510 2000-01-27 Martin Buchholz <martin@xemacs.org>
15512 * buffer.c (reinit_vars_of_buffer):
15513 The right place to initialize conversion_in_dynarr and
15514 conversion_out_dynarr.
15516 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15518 * process-unix.c (unix_canonicalize_host_name): Muleize.
15519 (unix_open_network_stream): Muleize.
15521 * buffer.h: Fix up prototypes for ralloc.c functions.
15523 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15524 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15525 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15526 instead of gethostbyname()
15527 * process-unix.c: In unix_canonicalize_host_name() and
15528 unix_open_network_stream(), add code to use getaddrinfo()
15529 instead of gethostbyname().
15531 2000-01-27 Daniel Pittman <daniel@danann.net>
15533 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15534 libs when built with flat Athena.
15536 2000-01-27 Martin Buchholz <martin@xemacs.org>
15538 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15539 Use coding standards for function prototypes.
15541 2000-01-25 Martin Buchholz <martin@xemacs.org>
15543 * dialog-msw.c (push_lisp_string_as_unicode):
15544 * doc.c (unparesseuxify_doc_string):
15545 * dired.c (Fuser_name_completion_1):
15546 * dired.c (Fuser_name_all_completions):
15547 * dired.c (free_user_cache):
15548 * dired.c (user_name_completion):
15549 * console-x.c (get_display_arg_connection):
15550 * minibuf.c (clear_echo_area_internal):
15551 * minibuf.c (echo_area_append):
15552 * eldap.c (Fldap_open):
15553 * eldap.c (Fldap_search_internal):
15554 * frame-x.c (x_set_frame_text_value):
15555 * frame-x.c (x_set_frame_properties):
15556 * frame-x.c (x_create_widgets):
15557 * redisplay-tty.c (term_get_fkeys_1):
15558 * objects-x.c (x_parse_nearest_color):
15559 * objects-x.c (x_valid_color_name_p):
15560 * objects-x.c (x_initialize_font_instance):
15561 * objects-x.c (x_list_fonts):
15562 * objects-x.c (x_find_charset_font):
15563 * tooltalk.c (Fadd_tooltalk_message_arg):
15564 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15565 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15566 * process-unix.c (unix_create_process):
15567 * ntproc.c (sys_spawnve):
15568 * sound.c (Fplay_sound_file):
15569 * sound.c (Fplay_sound):
15570 * buffer.c (init_initial_directory):
15571 * buffer.c (init_buffer):
15572 * editfns.c (init_editfns):
15573 * editfns.c (Ftemp_directory):
15574 * editfns.c (Fuser_full_name):
15575 * editfns.c (uncache_home_directory):
15576 * editfns.c (get_home_directory):
15577 * editfns.c (Fuser_home_directory):
15578 * editfns.c (Fformat_time_string):
15579 * editfns.c (Fcurrent_time_string):
15580 * gui-x.c (button_item_to_widget_value):
15581 * database.c (Fopen_database):
15582 * event-Xt.c (x_to_emacs_keysym):
15583 * event-Xt.c (x_event_to_emacs_event):
15584 * event-Xt.c (describe_event_window):
15585 * event-msw.c (mswindows_wnd_proc):
15586 * glyphs-eimage.c (jpeg_instantiate):
15587 * glyphs-eimage.c (gif_instantiate):
15588 * glyphs-eimage.c (png_instantiate):
15589 * glyphs-eimage.c (tiff_instantiate):
15590 * glyphs-x.c (xbm_instantiate_1):
15591 * glyphs-x.c (x_xbm_instantiate):
15592 * glyphs-x.c (x_xface_instantiate):
15593 * glyphs-x.c (autodetect_instantiate):
15594 * glyphs-x.c (cursor_font_instantiate):
15595 * glyphs-x.c (x_widget_instantiate):
15596 * glyphs-x.c (x_widget_set_property):
15597 * glyphs-x.c (x_widget_property):
15598 * glyphs-x.c (BUILD_GLYPH_INST):
15599 * print.c (write_string_to_stdio_stream):
15600 * print.c (output_string):
15601 * print.c (Falternate_debugging_output):
15602 * print.c (Fexternal_debugging_output):
15603 * glyphs-msw.c (extract_xpm_color_names):
15604 * glyphs-msw.c (mswindows_xpm_instantiate):
15605 * glyphs-msw.c (bmp_instantiate):
15606 * glyphs-msw.c (resource_name_to_resource):
15607 * glyphs-msw.c (mswindows_resource_instantiate):
15608 * glyphs-msw.c (xbm_instantiate_1):
15609 * glyphs-msw.c (mswindows_xbm_instantiate):
15610 * glyphs-msw.c (mswindows_xface_instantiate):
15611 * glyphs-msw.c (mswindows_widget_instantiate):
15612 * glyphs-msw.c (add_tree_item):
15613 * glyphs-msw.c (add_tab_item):
15614 * glyphs-msw.c (mswindows_combo_box_instantiate):
15615 * glyphs-msw.c (mswindows_widget_property):
15616 * glyphs-msw.c (mswindows_combo_box_property):
15617 * glyphs-msw.c (mswindows_widget_set_property):
15618 * console.c (stuff_buffered_input):
15619 * objects-msw.c (mswindows_initialize_color_instance):
15620 * objects-msw.c (mswindows_valid_color_name_p):
15621 * objects-msw.c (mswindows_list_fonts):
15622 * objects-msw.c (mswindows_font_instance_truename):
15623 * bytecode.c (optimize_compiled_function):
15624 * select-x.c (symbol_to_x_atom):
15625 * select-x.c (x_atom_to_symbol):
15626 * select-x.c (hack_motif_clipboard_selection):
15627 * select-x.c (selection_data_to_lisp_data):
15628 * select-x.c (lisp_data_to_selection_data):
15629 * select-x.c (Fx_get_cutbuffer_internal):
15630 * select-x.c (Fx_store_cutbuffer_internal):
15631 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15632 * buffer.h (TO_INTERNAL_FORMAT): New function.
15633 * emacs.c (make_arg_list_1):
15634 * emacs.c (make_argc_argv):
15635 * emacs.c (main_1):
15636 * emacs.c (Fdump_emacs):
15637 * emacs.c (split_string_by_emchar_1):
15642 * device-x.c (x_init_device):
15643 * device-x.c (Fx_valid_keysym_name_p):
15644 * device-x.c (Fx_get_font_path):
15645 * device-x.c (Fx_set_font_path):
15646 * glyphs.c (bitmap_to_lisp_data):
15647 * glyphs.c (pixmap_to_lisp_data):
15648 * alloc.c (make_ext_string): Use coding system arguments. Update
15650 * alloc.c (build_string):
15651 * callproc.c (child_setup):
15652 * callproc.c (init_callproc):
15653 * fileio.c (lisp_strerror):
15654 * fileio.c (directory_file_name):
15655 * fileio.c (Fexpand_file_name):
15656 * fileio.c (Ffile_truename):
15657 * fileio.c (Fsysnetunam):
15658 * fileio.c (Fdo_auto_save):
15659 * sysdep.c (sys_readdir):
15660 * tests.c: New file. Allow adding C tests.
15661 Replace GET_* macros with a more comprehensible and flexible
15662 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15664 Any coding system can be used to do format conversion.
15665 Eliminate enum external_data_format.
15666 Eliminate convert_to_external_format.
15667 Eliminate convert_to_internal_format.
15668 Make sure file-name, keyboard, terminal, and ctext are always
15669 defined as coding systems or aliases. Make
15670 file-name-coding-system, terminal-coding-system, and
15671 keyboard-coding-system magical variables that are equivalent to
15672 defining the corresponding coding system aliases.
15674 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15675 * file-coding.c (Fcoding_system_alias_p): New function.
15676 * file-coding.c (Fcoding_system_aliasee): New function.
15677 * file-coding.c (append_suffix_to_symbol): New function.
15678 * file-coding.c (dangling_coding_system_alias_p): New function.
15679 * file-coding.c (Ffind_coding_system):
15680 * file-coding.c (Fcopy_coding_system):
15681 * file-coding.c (encode_coding_no_conversion):
15682 * file-coding.c (syms_of_file_coding):
15683 * file-coding.c (vars_of_file_coding):
15684 Rewrite coding system alias code.
15685 Allow nested aliases, like symbolic links.
15686 Allow redefinition of coding system aliases.
15687 Prevent existence of dangling coding system aliases.
15689 * dired.c (Fuser_name_completion_1):
15690 * dired.c (Fuser_name_all_completions):
15691 A crash would happen if user did QUIT in the middle of building
15692 user_name_cache. Remove redundant code in mainline and unwind_protect.
15695 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15697 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15698 an unsigned char *. Update all callers.
15700 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15702 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15704 2000-01-25 Martin Buchholz <martin@xemacs.org>
15706 * elhash.c (hentry_description): Use more portable definition.
15707 (resize_hash_table): Initialize new hentries using
15708 xnew_array_and_zero, thereby simplifying the code.
15710 * mule-charset.c (make_charset): Make sure entire object is
15711 initialized, to avoid Purify warnings.
15713 * alloc.c (resize_string): Fix unlikely crash with big strings.
15715 2000-01-24 Martin Buchholz <martin@xemacs.org>
15717 * realpath.c (xrealpath):
15718 Don't call getwd().
15720 2000-01-25 Martin Buchholz <martin@xemacs.org>
15722 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15724 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15726 * unexelfsgi.c (unexec): Change the way we decide which segment
15727 should be extended.
15729 Assumption that .bss section should be outside the PT_LOADable
15730 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15731 it's present) is inside the 'data' segment. This would fail the
15732 test which was used to find a segment to grow and cover new
15733 heap. Instead of this assumption, I created another one - on IRIX
15734 the segment to grow should start below .bss and it's address
15735 should extent above the end of .bss. Once this segment is
15736 identified, it's grown to accommodate the new heap and new
15737 zero-length .bss section is added at the end of .data2.
15739 2000-01-25 Martin Buchholz <martin@xemacs.org>
15741 * eval.c (Feval): Wrong number of arguments should use original
15742 function, not the indirect_function version of it.
15744 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15746 * glyphs-x.c (x_button_instantiate): Don't add image if
15747 it is not a pixmap.
15748 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15751 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15753 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15755 (DEFVAR_INT_MAGIC): Ditto.
15756 (DEFVAR_BOOL_MAGIC): Ditto.
15757 * glyphs.h: Reindent backslash.
15759 2000-01-24 Martin Buchholz <martin@xemacs.org>
15761 * glyphs-widget.c (layout_query_geometry):
15762 (layout_layout): Use correct types for gheight, gwidth.
15764 2000-01-24 Martin Buchholz <martin@xemacs.org>
15766 * EmacsManager.c (QueryGeometry): Purified.
15768 2000-01-23 Martin Buchholz <martin@xemacs.org>
15770 * alloc.c (make_float): Make sure entire object is initialized, to
15771 avoid Purify warnings.
15772 (pdump_register_sub): Remove useless assignment.
15773 (pdump): Use xmalloc, not malloc.
15774 (pdump_load): Use xmalloc, not malloc.
15776 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15783 * sysdep.c: Removed redundant #include <windows.h>
15785 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15787 * frame.c (delete_frame_internal): Do not delete device when its
15788 implementation so declares.
15789 (delete_frame_internal): Set device selected frame to nil when
15790 last frame goes away.
15792 * device-msw.c (msprinter_device_system_metrics): Implemented.
15793 (mswindows_device_system_metrics): Added 'device-dpi property.
15795 * device.c: (Fdevice_printer_p): Added.
15796 Added 'offset-workspace device metric.
15798 * console.h (device_metrics): Declared DM_offset_workspace.
15800 2000-01-23 Martin Buchholz <martin@xemacs.org>
15802 * fileio.c (Ffile_truename): Remove pointless and confusing
15803 initialization of elen.
15805 * glyphs-widget.c: Compiler warning fixes.
15807 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15809 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15810 instead of a Lisp_Object as argument to make it consistent with
15811 the other LIVE_P macros.
15812 (CHECK_LIVE_PROCESS): New macro.
15814 * process.c: Declare Qprocess_live_p.
15815 (Fprocess_live_p): New function.
15816 (create_process): Use PROCESS_LIVE_P.
15817 (read_process_output): Ditto.
15818 (set_process_filter): Ditto.
15819 (Fdelete_process): Ditto.
15820 (kill_buffer_processes): Ditto
15821 (process_send_signal): Use CHECK_LIVE_PROCESS.
15822 (Fprocess_input_coding_system): Check whether process is still
15823 alive (fix PR#1061).
15824 (Fprocess_output_coding_system): Ditto.
15825 (Fprocess_coding_system): Ditto.
15826 (Fset_process_input_coding_system): Ditto.
15827 (Fset_process_output_coding_system): Ditto.
15829 2000-01-23 Andy Piper <andy@xemacs.org>
15831 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15834 * glyphs.c (mark_image_instance): take into account changed
15835 image_instance format.
15836 (image_instance_equal): ditto.
15837 (image_instance_hash): ditto.
15839 * glyphs-widget.c (widget_instantiate): Incorporate layout
15840 instantiation here. Delay layout of the layout until later.
15841 (layout_instantiate): deleted.
15842 (layout_query_geometry): new function. get the geometry of a
15844 (layout_layout): layout a layout dynamically.
15845 (image_instantiator_widget): New function - splitting up
15846 image_instantiator_format_create_glyphs_widget for netwinder
15848 (image_instantiator_buttons):
15849 (image_instantiator_edit_fields):
15850 (image_instantiator_combo_box):
15851 (image_instantiator_scrollbar):
15852 (image_instantiator_progress_guage):
15853 (image_instantiator_tree_view):
15854 (image_instantiator_tab_control):
15855 (image_instantiator_labels):
15856 (image_instantiator_layout): ditto.
15857 (image_instantiator_format_create_glyphs_widget): Call preceding
15860 2000-01-22 Martin Buchholz <martin@xemacs.org>
15862 * process.c (Fset_process_coding_system):
15863 * device-x.c (Fx_keysym_hash_table):
15866 * lstream.c (Lstream_write): Return documented value, not 0.
15868 * fileio.c (directory_file_name):
15869 (Fsubstitute_in_file_name):
15870 (Fsubstitute_insert_file_contents_internal):
15871 (Fwrite_region_internal):
15876 Remove vestigial APOLLO-conditional code.
15878 2000-01-21 Martin Buchholz <martin@xemacs.org>
15880 * getpagesize.h: Add guard macros.
15881 * libsst.h: Add guard macros.
15882 * libst.h: Add guard macros.
15883 * line-number.h: Add guard macros.
15884 * ndir.h: Add guard macros.
15885 * sysfloat.h: Add guard macros.
15886 * sysfile.h: Add guard macros.
15887 * sysproc.h: Add guard macros.
15888 * syswait.h: Add guard macros.
15889 * xintrinsic.h: Add guard macros.
15890 * xintrinsicp.h: Add guard macros.
15891 * xmmanager.h: Add guard macros.
15892 * xmmanagerp.h: Add guard macros.
15893 * xmprimitive.h: Add guard macros.
15894 * xmu.h: Add guard macros.
15895 * gpmevent.h: Add copyright statement. Add guard macros.
15896 * miscplay.h: Add guard macros.
15897 * *.h: Use consistent C-standards-approved guard macro names.
15899 * opaque.c (make_opaque): Switch parameter order.
15900 * opaque.h (make_opaque): Switch parameter order.
15901 Update all callers.
15902 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15904 * config.h.in (type_checking_assert): Added.
15905 (bufpos_checking_assert): Added.
15907 2000-01-21 Martin Buchholz <martin@xemacs.org>
15909 * alloc.c: Harmless pdump changes.
15911 - spell alignment correctly.
15912 * sysdep.c: Use countof()
15914 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15916 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15917 initially_selected_for_input() console method, default to 0.
15918 (semi_canonicalize_console_connection): Try to delegate to
15919 canonicalize_console_connection if no such console method.
15920 (canonicalize_console_connection): Vice versa.
15921 (print_console): Do not print nil connection.
15923 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15924 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15925 (XDEVIMPF_FRAMELESS_OK): Added.
15926 (CONSOLE_INHERITS_METHOD): Added.
15928 * console-msw.c (mswindows_canonicalize_console_connection):
15930 (mswindows_canonicalize_device_connection): Added.
15932 * console-msw.h (struct msprinter_device): Added this struct and
15934 (mswindows_device): Made fontlist a lisp object.
15936 * device.c (semi_canonicalize_device_connection): Try to delegate
15937 to canonicalize_device_connection if no such console method.
15938 (canonicalize_device_connection): Vice versa.
15939 (print_device): Do not print nil connection.
15941 * device-msw.c (mswindows_init_device): Call InitCommonControls
15943 (mswindows_delete_device): Removed fontlist deallocation.
15944 (mswindows_mark_device): Added.
15946 * events.c (event_equal): Added abort() at unreached code.
15947 (event_hash): Ditto.
15949 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
15950 fallback tags of Windows devices.
15952 * general.c (syms_of_general): Initialized Qmsprinter.
15954 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
15955 of fallback tags of Windows devices.
15957 * lisp.h: Declared Qmsprinter.
15959 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
15961 (mswindows_list_fonts): Ditto.
15962 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
15963 that it can be used by both mswindows and msprinter devices.
15964 (initialize_font_instance): Added.
15965 (mswindows_initialize_font_instance): Use it.
15966 (msprinter_initialize_font_instance): Added.
15968 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
15969 and implementation flags check.
15970 (redisplay_without_hooks): Changed the call to the above.
15971 (Fredraw_device): Ditto.
15972 (Fredisplay_device): Ditto.
15974 * redisplay-msw.c (get_frame_dc): Implemented.
15975 (get_frame_compdc): Implemented.
15976 (many functions): Use the two functions above to get device
15977 contexts, ether for a window or a printer.
15979 2000-01-21 Olivier Galibert <galibert@pobox.com>
15981 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
15982 initialization here.
15983 (init_symbols_once_early): Call it.
15984 * emacs.c (main_1): Call it.
15985 * symsinit.h: Declare it.
15987 2000-01-19 Olivier Galibert <galibert@pobox.com>
15989 * alloc.c: Use a lrecord_header * in the backtrace instead of a
15991 (pdump_backtrace): Ditto.
15992 (pdump_register_object): Ditto. Cleanup use of the pointers.
15993 (pdump_get_entry): Abort if trying to register a null pointer.
15994 (pdump_dump_data): Cleanup types when relocating.
15995 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
15996 (pdump_dump_rtables): Remove bad casts.
15997 (pdump_load): Cleanup relocation w.r.t union type. Use a
15998 Lisp_Object instead of a EMACS_INT for the hashtable
16001 2000-01-20 Martin Buchholz <martin@xemacs.org>
16003 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16005 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16007 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16009 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16011 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16013 * faces.h (FACE_STRIKETHRU_P): Added.
16015 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16018 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16019 (mswindows_set_dc_font): New function, aware of font variants,
16020 separated from mswindows_update_dc.
16022 * objects-msw.h (struct mswindows_font_instance_data): Added
16025 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16026 cached fonts and the data structure.
16027 (mswindows_initialize_font_instance): Added creation of font data
16029 (mswindows_print_font_instance): Print at least something.
16030 (mswindows_create_font_variant): Implemented.
16031 (mswindows_get_hfont): Implemented.
16033 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16035 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16036 prototyping problem with msvc.
16038 * emacs.c (main_1): added syms_of_gui_mswindows() call
16040 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16041 syms_of_gui_mswindows() function
16043 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16045 2000-01-18 Martin Buchholz <martin@xemacs.org>
16047 * XEmacs 21.2.27 is released.
16049 2000-01-18 Martin Buchholz <martin@xemacs.org>
16051 * glyphs-eimage.c (struct tiff_error_struct):
16053 (tiff_warning_func):
16054 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16059 * unexec.c: Remove vestigial Lucid C code.
16063 * libsst.c: Ansify.
16064 Remove declarations of errno and strerror().
16066 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16068 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16070 2000-01-16 Martin Buchholz <martin@xemacs.org>
16072 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16075 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16080 Change enum eol_type to eol_type_t.
16082 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16084 * gui.c (get_gui_callback): Check cons before accessing car.
16086 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16088 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16089 (XSETSPECIFIER_TYPE): Ditto.
16091 2000-01-17 Didier Verna <didier@xemacs.org>
16093 * redisplay.c (generate_fstring_runes): compute string size in
16094 characters, not bytes.
16096 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16098 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16100 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16102 * print.c (print_error_message): Call print_prepare().
16104 2000-01-14 Martin Buchholz <martin@xemacs.org>
16106 * .dbxrc: Renamed from dbxrc.
16108 * events.c (event_to_character):
16109 Use `assert (foo)' instead of `if (!foo) abort()'
16111 * .gdbinit (xtype): Add documentation.
16112 * .gdbinit (check-temacs): New function.
16113 * .gdbinit (check-xemacs): New function.
16114 * dbxrc (check-xemacs): New function.
16115 * dbxrc (check-xemacs): New function.
16117 2000-01-14 Andy Piper <andy@xemacs.org>
16119 * glyphs-widget.c (widget_query_geometry): Make sure that we
16120 calculate default dimensions correctly.
16122 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16124 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16126 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16127 pdump_wire'd variable.
16129 * emacs.c: (main_1): Conditionalized calls to
16130 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16132 2000-01-13 Martin Buchholz <martin@xemacs.org>
16134 * window.c (Fset_window_configuration):
16135 * sysdep.c (_start):
16136 * input-method-motif.c (res):
16137 * event-Xt.c (Xt_process_to_emacs_event):
16138 Simple compiler warning fixes.
16140 * bytecode.c (funcall_compiled_function): Use the original
16141 function symbol on the backtrace list in preference to the
16142 compiled_function object in error messages.
16144 2000-01-13 Andy Piper <andy@xemacs.org>
16146 * glyphs-x.c (update_widget_face): Make sure we update the widget
16147 background as well as foreground.
16149 2000-01-13 Andy Piper <andy@xemacs.org>
16151 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16152 fields to subwindow.
16153 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16154 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16155 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16156 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16158 * glyphs-widget.c (check_valid_tab_orientation): new function.
16159 (initialize_widget_image_instance): zero orientation and
16161 (widget_instantiate): pick up orientation.
16162 (tab_control_query_geometry): return appropriate values for
16165 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16166 appropriate creation flags for left, right and bottom tabs.
16168 * s/cygwin32.h: add tab definitions.
16170 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16172 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16173 frame upon hiding a subwindow.
16174 (mswindows_button_instantiate): Changed the push button style to
16176 (mswindows_button_instantiate): Removed button BS_NOTIFY
16178 (mswindows_button_instantiate): Removed redundant check for
16179 a disabled gui item.
16180 (mswindows_button_instantiate): Made use of WS_TABSTOP
16181 consistent: "operable" controls (edit, button, tree, scroll) have
16182 this style, "display-only" ones (static, progress gauge) do
16183 not. This style is currently ignored by XEmacs though. Also,
16184 removed the WS_EX_CONTROLPARENT style - it is not for children,
16185 it is for their parents!
16186 (mswindows_edit_field_instantiate): Ditto.
16187 (mswindows_progress_gauge_instantiate): Ditto.
16188 (mswindows_tree_view_instantiate): Ditto.
16189 (mswindows_tab_control_instantiate): Ditto.
16190 (mswindows_scrollbar_instantiate): Ditto.
16191 (mswindows_combo_box_instantiate): Ditto.
16192 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16193 style to the "clip" window.
16194 (mswindows_button_instantiate): Removed compilation warning by
16195 equally typing terms of the ?: operator.
16197 2000-01-12 Didier Verna <didier@xemacs.org>
16199 * redisplay.c (generate_fstring_runes): new parameter holding the
16200 last modeline-format extent.
16201 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16202 extent, fill the glyph block with it.
16203 (generate_fstring_runes): handle these parameters.
16204 (generate_formatted_string_db): ditto.
16206 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16207 glyphs'extents in the modeline.
16209 1999-01-11 Mike Woolley <mike@bulsara.com>
16211 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16212 256Mb, as a workaround for the non-starting problem many people
16215 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16217 * console-tty.c (Fset_console_tty_output_coding_system):
16218 Force redrawing tty frame.
16220 2000-01-10 Didier Verna <didier@xemacs.org>
16222 * redisplay.c (generate_fstring_runes): fix size computation bug.
16224 2000-01-09 William M. Perry <wmperry@aventail.com>
16226 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16228 2000-01-09 Andy Piper <andy@xemacs.org>
16230 * glyphs-msw.c: index -> i to avoid shadows.
16231 (xbm_create_bitmap_from_data): make static.
16232 (check_valid_string_or_int): deleted.
16233 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16235 * glyphs-x.c (x_update_subwindow): remove unused args.
16237 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16238 back pointer - this is done in allocate_image_instance.
16239 (query_string_font): return Qnil to make the compiler happy.
16240 (unmap_subwindow): set to ~0 to make the compiler happy.
16241 (glyph_query_geometry): comment out until used.
16242 (glyph_layout): ditto.
16244 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16246 * insdel.c (signal_after_change): Remove extraneous unbind_to().