1 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * text-coding.c (char_encode_as_entity_reference): Allow prefix
4 within 8 characters; fix infinite loop.
6 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * chartab.c (Q_same): New variable.
9 (Q_same_of): New variable.
10 (Fput_char_attribute): Convert char-refs in value of `{->|<-}same'
11 to characters and put reverse links.
12 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
14 (syms_of_chartab): Add new symbols `{->|<-}same'.
16 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * chartab.c (Q_component): New variable.
19 (Q_component_of): Likewise.
20 (Fput_char_attribute): Convert char-refs in value of
21 `{->|<-}ideographic-component-forms' to characters and put reverse
23 (syms_of_chartab): Add new symbols
24 `{->|<-}ideographic-component-forms'.
26 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
28 * chartab.c (Q_identical): New variable.
29 (Q_identical_from): New variable.
30 (Fchar_feature): Regard `->identical' as a feature to find
32 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
33 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
34 for `{->|<-}identical'.
35 (syms_of_chartab): Add new symbols `{->|<-}identical'.
37 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * char-ucs.h (encode_char_2): New inline function.
40 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
42 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
44 * chartab.c (Fput_char_attribute): Convert char-specs to
45 characters in value of `ideographic-structure'.
46 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
47 for `{<-|->}simplified(@...)'.
48 (Fdefine_char): bTry to use predefined character's id.
50 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
52 * fns.c (simplify_char_spec): Try to convert builtin chars to
55 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
57 * chartab.c (Fput_char_attribute): Convert char-refs in value of
58 `<-simplified[^*]*' to characters and put reverse links.
60 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * chartab.c (Q_subsumptive): Renamed from Q_unified.
63 (Q_subsumptive_from): Renamed from Q_unified_from.
64 (Fchar_feature): Use `Q_subsumptive_from' instead of
66 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
68 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
69 `<-unified' to `<-subsumptive'.
71 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
74 inheritance itself; fix typo; stop recursive search if cyclic
77 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
79 * chartab.c (Q_denotational): New variable.
80 (Q_denotational_from): New variable.
81 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
82 (put_char_attribute): New function.
83 (Fput_char_attribute): Use `put_char_attribute'; regard
84 `->denotational' and `<-denotational' as same as `->unified' and
86 (syms_of_chartab): Add new symbols `->denotational' and
89 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
91 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
92 `Fget_char_attribute'.
93 (Fchar_variants): Likewise.
94 (get_char_table): Likewise.
95 (Fchar_feature): New function.
96 (put_char_composition): Use `Fchar_feature' instead of
97 `Fget_char_attribute'.
98 (Fput_char_attribute): Likewise; don't put the target character
99 into its `->unified' value.
100 (syms_of_chartab): Add new builtin function `char-feature'.
102 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
104 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
105 `Fget_char_attribute'.
106 (char_encode_utf8): Likewise.
108 * chartab.h: Add an EXFUN for `Fchar_feature'.
110 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
112 * chartab.c (Vnext_defined_char_id): New variable.
113 (Fput_char_attribute): Accept characters in `->unified'.
114 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
115 new characters which are not related with builtin char-id ranges.
116 (vars_of_chartab): Add new variable `next-defined-char-id'.
118 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * chartab.c (Q_unified): New variable.
121 (Q_unified_from): New variable.
122 (Fput_char_attribute): Add code for `->unified'.
123 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
126 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
128 * mule-charset.c (decode_ccs_conversion): New function.
129 (decode_defined_char): Use `decode_ccs_conversion'.
130 (decode_builtin_char): Likewise.
132 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * char-ucs.h: Change some charset-ids of private coded-charsets.
136 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
138 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
139 (char_encode_as_entity_reference): Likewise.
140 (decode_coding_big5): Modify for `decode_defined_char' and
142 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
143 avoid compiler warning.
144 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
146 * mule-charset.c (decode_defined_char): Add new argument
147 `without_inheritance'.
148 (Fdecode_char): Add new optional argument `without_inheritance'.
149 (Fdecode_builtin_char): Modify for `Fdecode_char'.
151 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
152 (simplify_char_spec): Likewise.
154 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
157 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
158 (map_char_table): Likewise.
159 (Fdefine_char): Use `Fdecode_char' without inheritance.
160 (Ffind_char): Modify for `Fdecode_char'.
162 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
164 * char-ucs.h (decode_defined_char): Add new argument
165 `without_inheritance'.
166 (DECODE_CHAR): Likewise.
167 (MAKE_CHAR): Modify for `DECODE_CHAR'.
169 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
171 * chartab.c (Vchise_system_db_directory): New variable.
172 (vars_of_chartab): Add new variable `chise-system-db-directory'.
174 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
176 * chartab.c: EXFUN `Fmount_char_attribute_table'.
177 (print_chartab_range): Don't define when `UTF2000' is defined.
178 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
181 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
184 and optional argument `rehash' is specified, call
185 `open_chise_data_source_maybe' before
186 `chise_ds_foreach_char_feature_name' is called.
188 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
190 * chartab.c (char_attribute_list_reset_map_func): New function
191 when HAVE_LIBCHISE is defined.
192 (Fchar_attribute_list): Add new optional argument `rehash' when
193 HAVE_LIBCHISE is defined.
194 (open_chise_data_source_maybe): Use "chise-db" instead of
196 (char_attribute_system_db_file): Likewise.
197 (Fload_char_attribute_table): Use
198 `chise_feature_foreach_char_with_value' instead of
199 `chise_char_feature_value_iterate'.
201 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * chartab.c (Vchise_db_directory): New variable.
204 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
206 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
209 instead of HAVE_CHISE to specify using with libchise.
211 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
213 * chartab.h: Don't use HAVE_CHISE_CLIENT.
215 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
216 defined or HAVE_LIBCHISE_LIBCHISE is defined.
217 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
219 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
220 HAVE_CHISE to specify using with libchise.
221 (syms_of_chartab): Don't define symbol `system-char-id' when
222 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
224 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
226 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
227 specify CHISE DB support.
228 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
229 of `char_attribute_system_db_file' to check feature DB file.
231 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
232 HAVE_CHISE_CLIENT to specify CHISE DB support.
234 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
235 specify CHISE DB support.
236 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
238 (Freset_char_attribute_table): Use `chise_feature_setup_db'
239 instead of `char_attribute_system_db_file' to check feature DB
242 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
244 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
247 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
250 (Fsave_charset_mapping_table): Don't use
251 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
253 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
254 (HAVE_LIBCHISE): New macro.
256 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
258 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
259 (Fsave_char_attribute_table): Don't use
260 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
262 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
264 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
266 (save_uint16_byte_table): Likewise.
267 (save_byte_table): Likewise.
268 (char_table_get_db): Use `chise_ds_load_char_feature_value'
269 instead of `chise_char_load_feature_value'.
270 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
272 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * chartab.h (struct Lisp_Char_Table): Delete member
275 `feature_table' if CHISE is defined.
277 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
278 (Fcopy_char_table): Likewise.
279 (char_table_open_db_maybe): Likewise.
280 (char_table_close_db_maybe): Likewise.
281 (char_table_get_db): Likewise.
282 (Fmount_char_attribute_table): Likewise.
283 (Fload_char_attribute_table): Likewise.
285 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * mule-charset.c (load_char_decoding_entry_maybe): Use
288 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
291 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
293 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
294 instead of `chise_open_data_source'.
295 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
298 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
301 instead of `chise_ds_open_feature_table'.
302 (char_table_close_db_maybe): Don't use `chise_ft_close'.
304 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
306 * mule-charset.c (Fsave_charset_mapping_table): Use
307 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
308 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
309 `chise_ccs_sync' instead of `chise_ccst_close'.
310 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
312 * chartab.c (open_chise_data_source_maybe): Modify for
313 `chise_open_data_source'.
314 (char_table_open_db_maybe): Modify for
315 `chise_ds_open_feature_table'.
317 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
319 * mule-charset.c (load_char_decoding_entry_maybe): Use
320 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
323 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
325 * mule-charset.c (Fsave_charset_mapping_table): Use
326 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
327 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
328 `chise_dt_put_char' and `chise_dt_close'.
329 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
330 `chise_ccs_decode' and `chise_ccst_close' instead of
331 `chise_ds_open_decoding_table', `chise_dt_get_char' and
334 * chartab.c (char_table_get_db): Use
335 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
336 (load_char_attribute_table_map_func): Modify for
337 `chise_char_feature_value_iterate'.
338 (Fload_char_attribute_table): Use
339 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
341 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
345 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
347 * chartab.c (put_char_table): Modify for inherited coded-charsets
350 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
352 * chartab.c (Fput_char_table_map_function): Fixed.
353 (word_boundary_p): Don't check charset in XEmacs CHISE.
355 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
357 * mule-charset.c (Fsave_charset_mapping_table): Use
358 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
359 instead of `chise_open_decoding_table'; refer
360 `default_chise_data_source'; use `chise_dt_close' instead of
361 `chise_close_decoding_table'.
362 (load_char_decoding_entry_maybe): Likewise.
364 * chartab.c (default_chise_data_source): New variable when `CHISE'
366 (Fcopy_char_table): `ct->ds' is deleted.
367 (open_chise_data_source_maybe): New function.
368 (Fclose_char_data_source): New function.
369 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
370 use `chise_ds_open_feature_table' instead of
371 `chise_open_feature_table'.
372 (char_table_close_db_maybe): Use `chise_ft_close' instead of
373 `chise_close_feature_table'; `cit->ds' is deleted.
374 (syms_of_chartab): Add new builtin function
375 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
377 * chartab.h (default_chise_data_source): New extern variable.
378 (open_chise_data_source_maybe): New prototype.
379 (struct Lisp_Char_Table): Delete `ds'.
381 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
383 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
386 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
388 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
389 not defined; add code for non-libchise setting.
390 (char_table_close_db_maybe): Likewise.
391 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
393 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
394 even if `CHISE' is not defined.
395 (Freset_char_attribute_table): Likewise.
396 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
397 `char_table_close_db_maybe' even if `CHISE' is not defined; use
399 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
400 `char_table_close_db_maybe' even if `CHISE' is not defined.
402 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
404 * chartab.c (char_table_open_db_maybe): New function.
405 (char_table_close_db_maybe): New function.
406 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
407 (Freset_char_attribute_table): Likewise.
408 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
409 `char_table_close_db_maybe'.
410 (Fload_char_attribute_table): Likewise.
412 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
414 * chartab.c: Don't include <chise.h> because it is included in
416 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
418 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
420 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
422 (Fclose_char_attribute_table): Close `ct->feature_table' and
423 `ct->ds' when `CHISE' is defined.
424 (Freset_char_attribute_table): Likewise.
425 (load_char_attribute_maybe): Use `cit->ds' and
426 `cit->feature_table' when `CHISE' is defined.
427 (Fload_char_attribute_table): Likewise.
429 * chartab.h: Include <chise.h> when `CHISE' is defined.
430 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
431 when `CHISE' is defined.
433 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
435 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
437 (char_table_description): Likewise.
438 (Fmake_char_table): Likewise.
439 (Fcopy_char_table): Likewise.
440 (Fmount_char_attribute_table): Likewise.
441 (Fclose_char_attribute_table): Likewise.
442 (Freset_char_attribute_table): Likewise.
443 (load_char_attribute_maybe): Likewise.
444 (Fload_char_attribute_table): Likewise.
446 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
449 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
451 * chartab.c (load_char_attribute_table_map_func): New function
452 when CHISE is defined.
453 (Qload_char_attribute_table_map_function): Don't define when CHISE
455 (Fload_char_attribute_table_map_function): Likewise.
456 (Fload_char_attribute_table): Use libchise when `CHISE' is
458 (syms_of_chartab): Don't define
459 `load-char-attribute-table-map-function' when CHISE is defined.
461 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
463 * chartab.c: Include <chise.h> when `CHISE' is defined.
464 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
466 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
468 * mule-charset.c (charset_code_point): Fix problem when searching
469 in mother CCS fails with `defined_only' mode.
471 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
473 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
474 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
475 (put_char_composition): Likewise.
476 (Fput_char_attribute): Likewise.
477 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
479 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
481 * chartab.c (Q_ucs): Deleted.
482 (Fput_char_attribute): Don't refer `->ucs'.
483 (Fdefine_char): Likewise.
484 (Ffind_char): Likewise.
485 (syms_of_chartab): Delete `->ucs'.
487 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
489 * mule-charset.c (Qmap_cns11643_2): Renamed from
490 `Qchinese_cns11643_2'.
491 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
492 `chinese-cns11643-2'.
493 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
496 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
498 * mule-charset.c (Qmap_cns11643_1): Renamed from
499 `Qchinese_cns11643_1'.
500 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
501 `chinese-cns11643-1'.
502 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
505 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
507 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
508 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
510 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
513 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
515 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
516 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
518 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
521 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
523 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
524 (syms_of_mule_charset): Add new symbol `=big5' instead of
526 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
528 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
531 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
533 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
536 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
538 * mule-charset.c (Qmap_jis_x0212): Renamed from
539 `Qjapanese_jisx0212'.
540 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
542 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
545 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
547 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
548 `Qjapanese_jisx0208'.
549 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
550 of `japanese-jisx0208'.
551 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
554 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
557 `Qjapanese_jisx0208_1978'.
558 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
559 of `japanese-jisx0208-1978'.
560 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
563 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
565 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
566 only for XEmacs CHISE.
568 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
570 * char-ucs.h: Compact non-ISO-IR charset-ids.
571 (LEADING_BYTE_UCS): Changed to -177.
572 (LEADING_BYTE_CONTROL_1): Changed to -77.
573 (LEADING_BYTE_UCS_BMP): Changed to -176.
574 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
576 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
578 * mule-charset.c (Qiso_ir): New variable.
579 (Fmake_charset): Recognise new property `iso-ir'.
580 (syms_of_mule_charset): Add new symbol `iso-ir'.
582 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
584 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
585 n to -n; charset-id of non ISO-IR sets are changed to positive
588 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
590 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
591 for &MCS-XXXXXXXX; values.
593 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
595 * mule.c (Vxemacs_chise_version): Renamed from
597 (vars_of_mule): Add new variable `xemacs-chise-version'; define
598 `utf-2000-version' as an alias for `xemacs-chise-version'.
600 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
602 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
603 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
606 * config.h.in (CHISE): New macro.
608 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
610 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
612 (Qmap_ucs): New variable.
613 (syms_of_mule_charset): Add new symbol `=ucs'.
614 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
616 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
617 (simplify_char_spec): Likewise.
619 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
621 * char-ucs.h (Qmap_ucs): New extern variable.
623 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
625 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
626 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
627 don't define it when UTF2000 is not defined.
628 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
629 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
630 when UTF2000 is not defined.
631 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
632 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
634 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
636 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
638 * mule-charset.c (Vcharset_ucs_gb): Deleted.
640 (syms_of_mule_charset): Delete `ucs-gb'.
641 (complex_vars_of_mule_charset): Likewise.
643 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
645 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
647 * mule-charset.c (Vcharset_ucs_cns): Deleted.
649 (syms_of_mule_charset): Delete `ucs-cns'.
650 (complex_vars_of_mule_charset): Likewise.
652 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
654 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
656 * mule-charset.c (Vcharset_ucs_jis): Deleted.
658 (syms_of_mule_charset): Delete `ucs-jis'.
659 (complex_vars_of_mule_charset): Likewise.
661 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
663 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
665 * mule-charset.c (Vcharset_ucs_ks): Deleted.
667 (syms_of_mule_charset): Delete `ucs-ks'.
668 (complex_vars_of_mule_charset): Likewise.
670 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
672 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
673 (Qideograph_daikanwa_2): Deleted.
674 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
675 (complex_vars_of_mule_charset): Likewise.
677 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
678 (LEADING_BYTE_DAIKANWA_1): Deleted.
679 (LEADING_BYTE_DAIKANWA_2): Deleted.
680 (MIN_CHAR_DAIKANWA): Deleted.
681 (MAX_CHAR_DAIKANWA): Deleted.
683 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
685 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
686 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
687 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
689 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
690 (Vcharset_ideograph_daikanwa): Deleted.
691 (Qideograph_hanziku_{1..12}): Deleted.
692 (Qideograph_daikanwa): Deleted.
693 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
694 Vcharset_ideograph_daikanwa.
695 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
696 `ideograph-hanziku-{1..12}'.
697 (complex_vars_of_mule_charset): Likewise.
699 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
701 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
703 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
704 (Qideograph_gt_pj_{1..11}): Deleted.
705 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
706 (complex_vars_of_mule_charset): Likewise.
708 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
710 * mule-charset.c (Vcharset_ucs_big5): Deleted.
711 (Vcharset_ideograph_gt): Deleted.
712 (Qucs_big5): Deleted.
713 (Qideograph_gt): Deleted.
714 (syms_of_mule_charset): Delete symbol `ucs-big5' and
716 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
719 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
720 (LEADING_BYTE_GT): Deleted.
721 (MIN_CHAR_GT): Deleted.
722 (MAX_CHAR_GT): Deleted.
724 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
726 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
728 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
730 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
731 (save_uint16_byte_table): Likewise.
732 (save_byte_table): Likewise; convert values by it.
733 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
734 for `ideographic-structure'.
735 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
736 as the filter for `ideographic-structure'.
738 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
740 * chartab.c (put_char_composition): New function.
741 (Fput_char_attribute): Use `put_char_composition'; use
742 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
744 * fns.c (simplify_char_spec): New function.
745 (char_ref_simplify_spec): New function.
746 (Fchar_refs_simplify_char_specs): New function.
747 (syms_of_fns): Add new builtin function
748 `char-refs-simplify-char-specs'.
750 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
752 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
753 (Qideograph_cbeta): Deleted.
754 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
755 (complex_vars_of_mule_charset): Likewise.
757 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
758 (MIN_CHAR_CBETA): Comment out.
759 (MAX_CHAR_CBETA): Likewise.
761 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
763 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
764 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
765 CHISE client feature.
767 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
769 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
771 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
773 * mule-charset.c (charset_lookup_description_1): Use
774 `NUM_LEADING_BYTES' in UTF-2000.
776 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
778 * char-ucs.h (GC_CHARSETP): Deleted.
780 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
782 * char-ucs.h (MAX_CHAR_GT): Updated.
784 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
786 * text-coding.c: Sync with XEmacs 21.4.10.
788 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
790 * mule-charset.c (Vcharset_china3_jef): Deleted.
791 (Qchina3_jef): Deleted.
792 (syms_of_mule_charset): Don't define `china3-jef'.
793 (complex_vars_of_mule_charset): Likewise.
795 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
796 (MIN_CHAR_CHINA3_JEF): Comment out.
797 (MAX_CHAR_CHINA3_JEF): Comment out.
799 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * mule-charset.c (Vcharset_ucs_gb): New variable.
802 (Qucs_gb): New variable.
803 (syms_of_mule_charset): Add new symbol `ucs-gb'.
804 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
806 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
808 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
810 * mule-charset.c (charset_code_point): if a coded-charset has a
811 final-byte, don't inherit the builtin range of the mother CCS.
813 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
815 * mule-charset.c (charset_code_point): Fix problem about
818 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
820 * mule-charset.c (decode_builtin_char): Reorganized.
822 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
824 * text-coding.c (char_encode_as_entity_reference): Modify for
825 `charset_code_point'.
826 (char_encode_shift_jis): Likewise.
827 (char_encode_big5): Likewise.
828 (char_encode_utf8): Likewise.
829 (char_encode_iso2022): Likewise.
831 * mule-charset.c (charset_code_point): Add new argument
833 (Fencode_char): Add new optional argument `defined_only'.
835 * chartab.c (put_char_table): Modify for `charset_code_point'.
837 * char-ucs.h (charset_code_point): Add new argument
839 (encode_char_1): Modify for `charset_code_point'.
841 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
843 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
844 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
846 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
848 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
849 (Qjis_x0208): Likewise.
850 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
851 XCHARSET_FINAL(charset).
852 (charset_code_point): Modify condition for final-byte based
854 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
855 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
856 in UTF-2000; specify `=jis-x0208' as the mother of
857 `japanese-jisx0208-1978', `japanese-jisx0208' and
858 `japanese-jisx0208-1990' in UTF-2000.
860 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
862 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
864 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
866 * text-coding.c (decode_coding_utf16): Support UTF-16.
867 (char_encode_utf16): Fixed.
869 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
871 * text-coding.c (Qutf16): New variable in MULE.
872 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
873 (Fcoding_system_type): Add `utf-16' in MULE.
874 (struct detection_state): Add a structure for utf16 in MULE.
875 (detect_coding_type): Setup st->utf16.mask in MULE.
876 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
878 (reset_encoding_stream): Use `char_encode_utf16' and
879 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
880 (detect_coding_utf16): New function [incomplete].
881 (decode_coding_utf16): New function [support only UCS-2].
882 (char_encode_utf16): New function.
883 (char_finish_utf16): New function.
884 (syms_of_file_coding): Add new symbol `utf-16'; setup
885 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
887 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
889 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
890 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
892 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
894 * chartab.c (put_char_table): When a charset is specified as a
895 range in UTF-2000, don't support builtin characters.
897 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
899 * mule-charset.c (decode_defined_char): Don't refer external
900 database if Qunbound or Qnil are found.
901 (Fsave_charset_mapping_table): Don't define it if
902 HAVE_CHISE_CLIENT is not defined.
903 (Freset_charset_mapping_table): New function.
904 (load_char_decoding_entry_maybe): Store Qnil if a character is not
905 found in external database.
906 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
907 if HAVE_CHISE_CLIENT is not defined; add new builtin function
908 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
910 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
912 * text-coding.c (decode_coding_utf8): Check CCS is specified or
915 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
917 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
918 Q_lowercase, Q_uppercase in UTF-2000.
920 * chartab.c (get_char_table): Add special code for the standard
921 case table to use character attribute `->downcase' and
922 `->uppercase' for case operations in UTF-2000.
924 * casetab.c (Qflippedcase): New variable in UTF-2000.
925 (Q_lowercase): Likewise.
926 (Q_uppercase): Likewise.
927 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
928 and `->uppercase' in UTF-2000.
929 (complex_vars_of_casetab): Assign attribute name `downcase' to
930 downcase and CANON table of Vstandard_case_table in UTF-2000;
931 assign attribute name `flippedcase' to upcase and EQV table of
932 Vstandard_case_table in UTF-2000.
934 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
936 * text-coding.c (decode_add_er_char): Support isolated-chars.
937 (char_encode_as_entity_reference): Likewise.
939 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
941 * emacs.c (Vutf_2000_lisp_directory): New variable.
942 (Vconfigure_utf_2000_lisp_directory): Likewise.
943 (complex_vars_of_emacs): Add new variable
944 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
946 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
948 * char-ucs.h (DECODE_CHAR): Delete special code for
949 `chinese-big5-1' and `chinese-big5-2'.
951 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
953 (decode_defined_char): Support CONVERSION_BIG5_1 and
955 (decode_builtin_char): Likewise.
956 (charset_code_point): Likewise.
957 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
958 'conversion in UTF-2000.
959 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
960 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
961 `chinese-big5-2' as children of `chinese-big5'.
963 * char-ucs.h (CONVERSION_BIG5_1): New macro.
964 (CONVERSION_BIG5_2): New macro.
966 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
968 * text-coding.c (char_encode_big5): Support entity-reference.
970 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
972 * text-coding.c (char_encode_as_entity_reference): New function.
973 (char_encode_utf8): Use `char_encode_as_entity_reference'.
975 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
977 * text-coding.c (decode_coding_big5): Support entity-reference
980 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
982 * text-coding.c (allocate_coding_system): Initialize initial
983 charsets for CODESYS_UTF8.
984 (Fmake_coding_system): Accept charset-g0, charset-g1 and
985 charset-g2 for CODESYS_UTF8.
986 (decode_coding_utf8): Use charset-g0.
987 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
988 to force variants to map to UCS.
990 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
992 * text-coding.c (Qutf_8_mcs): New variable.
993 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
994 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
995 instead of `utf-8' in UTF-2000.
997 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
999 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1000 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1001 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1002 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1003 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1004 CONVERSION_96x96x96x96 are introduced.
1005 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1006 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1007 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1009 * char-ucs.h (CONVERSION_94): New macro.
1010 (CONVERSION_96): New macro.
1011 (CONVERSION_94x94): New macro.
1012 (CONVERSION_96x96): New macro.
1013 (CONVERSION_94x94x94): New macro.
1014 (CONVERSION_96x96x96): New macro.
1015 (CONVERSION_94x94x94x60): New macro.
1016 (CONVERSION_94x94x94x94): New macro.
1017 (CONVERSION_96x96x96x96): New macro.
1019 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1021 * chartab.c (Vcharacter_variant_table): Deleted.
1022 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1023 of `Vcharacter_variant_table'.
1024 (Fput_char_attribute): Likewise.
1025 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1026 (complex_vars_of_chartab): Likewise.
1028 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1030 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1032 * fns.c (Qideographic_structure): New variable.
1033 (Qkeyword_char): New variable.
1034 (ids_format_unit): New function.
1035 (Fideographic_structure_to_ids): New function.
1036 (syms_of_fns): Add new symbols `ideographic-structure' and
1037 `:char'; add new builtin function `ideographic-structure-to-ids'.
1039 * data.c (Fchar_ref_p): New function.
1040 (syms_of_data): Add new builtin function `char-ref-p'.
1042 * chartab.h: Add an EXFUN for `Ffind_char'.
1044 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1046 * text-coding.c (Vcharacter_composition_table): Deleted.
1047 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1050 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1052 (Vcharacter_composition_table): Deleted.
1053 (Fget_composite_char): Use the implementation for external-DB
1054 support in every UTF-2000.
1055 (Fput_char_attribute): Likewise.
1056 (char_attribute_system_db_file): Don't define if external-DB
1057 feature is not available.
1058 (Fsave_char_attribute_table): Likewise.
1059 (Fmount_char_attribute_table): Likewise.
1060 (Fclose_char_attribute_table): Likewise.
1061 (Freset_char_attribute_table): Likewise.
1062 (Fload_char_attribute_table): Likewise.
1063 (syms_of_chartab): Don't define `save-char-attribute-table',
1064 `mount-char-attribute-table', `reset-char-attribute-table',
1065 `close-char-attribute-table' and `load-char-attribute-table' if
1066 external-DB feature is not available.
1067 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1069 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1071 * text-coding.c (Qcomposition): Add extern if external-DB feature
1073 (Vcharacter_composition_table): Don't add extern if external-DB
1074 feature is supported.
1075 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1076 character composition rule if external-DB feature is supported.
1078 * chartab.c (Vcharacter_composition_table): Don't define if
1079 external-DB feature is supported.
1080 (Qcomposition): New variable.
1081 (Fget_composite_char): New implementation for external-DB support.
1082 (Fput_char_attribute): Use `composition' property of each
1083 character instead of `Vcharacter_composition_table' to store
1084 character-composition rules if external-DB feature is supported.
1085 (syms_of_chartab): Add new symbol `composition'.
1086 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1087 external-DB feature is supported.
1089 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1091 * chartab.c (Vchar_db_stingy_mode): New variable.
1092 (load_char_attribute_maybe): Close database if
1093 Vchar_db_stingy_mode is not NIL.
1094 (Fload_char_attribute_table_map_function): Use
1095 `get_char_id_table_0' instead of `get_char_id_table'.
1096 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1098 * chartab.h (get_char_id_table_0): New inline function.
1099 (get_char_id_table): Use `get_char_id_table_0'.
1101 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1103 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1104 and `COMPOSE_ADD_CHAR'.
1105 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1107 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1109 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1110 instead of `DECODE_ADD_UCS_CHAR'.
1111 (COMPOSE_ADD_CHAR): Likewise.
1113 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1115 * text-coding.c (decode_flush_er_chars): New inline function.
1116 (decode_add_er_char): New function.
1117 (decode_coding_utf8): Use `decode_flush_er_chars' and
1118 `decode_add_er_char'.
1120 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1122 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1123 done before `decode_output_utf8_partial_char'.
1125 * mule-charset.c (complex_vars_of_mule_charset): Specify
1126 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1127 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1129 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1131 * mule-charset.c (decode_defined_char): New function; search
1133 (decode_builtin_char): Don't search mother if
1134 XCHARSET_MAX_CODE(charset) == 0.
1135 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1136 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1137 (Fdecode_char): Use `decode_defined_char' instead of
1138 `DECODE_DEFINED_CHAR'.
1139 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1140 mother of `Vcharset_ucs_jis'.
1142 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1143 instead of `DECODE_DEFINED_CHAR'.
1145 * char-ucs.h (decode_defined_char): Renamed from
1146 `DECODE_DEFINED_CHAR'; changed to normal function.
1147 (DECODE_CHAR): Use `decode_defined_char' instead of
1148 `DECODE_DEFINED_CHAR'.
1150 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1152 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1156 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1158 (Quse_entity_reference): New variable.
1162 (coding_system_description): Add description for
1163 `ccs_priority_list'.
1164 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1165 (allocate_coding_system): Initialize `ccs_priority_list' in
1167 (Fmake_coding_system): Add description about
1168 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1170 (Fcoding_system_property): Accept `disable-composition' and
1171 `use-entity-reference' in UTF-2000.
1172 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1174 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1175 (decode_coding_utf8): Decode entity-reference if
1176 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1177 (char_encode_utf8): Encode non-Unicode characters as
1178 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1180 (syms_of_file_coding): Add new symbols `use-entity-reference',
1182 (vars_of_file_coding): Add new variable
1183 `coded-charset-entity-reference-alist'.
1184 (complex_vars_of_file_coding): Declare `disable-composition' and
1185 `use-entity-reference' to be coding-system-properties in UTF-2000.
1187 * file-coding.h (struct Lisp_Coding_System): Add new member
1188 `use_entity_reference' and `ccs_priority_list'.
1189 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1190 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1191 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1193 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1195 * chartab.c (save_uint8_byte_table): Don't clear the table.
1196 (save_uint16_byte_table): Likewise.
1197 (save_byte_table): Likewise.
1198 (Fmount_char_attribute_table): New function.
1199 (syms_of_chartab): Add new builtin function
1200 `mount-char-attribute-table'.
1202 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1204 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1206 (load_char_decoding_entry_maybe): Open database as read-only mode.
1208 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1209 open database as "w+" mode.
1210 (load_char_attribute_maybe): Open database as read-only mode.
1211 (Fload_char_attribute_table): Likewise.
1213 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1215 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1216 (char_table_description): Delete member `db_file'.
1217 (Fmake_char_table): Don't refer `ct->db_file'.
1218 (Fcopy_char_table): Likewise.
1219 (Fsave_char_attribute_table): Likewise.
1220 (Fclose_char_attribute_table): Likewise.
1221 (Freset_char_attribute_table): Likewise.
1222 (load_char_attribute_maybe): Likewise.
1223 (Fload_char_attribute_table): Likewise.
1225 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1227 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1229 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1230 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1232 (load_char_attribute_maybe): Likewise.
1233 (Fload_char_attribute_table): Likewise.
1235 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1237 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1238 `ct->db_file' unconditionally.
1240 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1242 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1244 (char_table_description): Add description for `db_file' and `db'
1246 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1248 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1249 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1250 (Fclose_char_attribute_table): New function.
1251 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1252 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1254 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1255 (syms_of_chartab): Add new builtin function
1256 `Fclose_char_attribute_table'.
1258 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1260 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1262 (load_char_attribute_maybe): Change interface.
1263 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1265 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1267 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1269 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1271 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1272 instead of `DECODE_CHAR' for mother; don't use special code for
1273 chinese-big5 to use code space of chinese-big5-1 and
1275 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1276 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1278 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1279 (MAX_CHAR_BIG5_CDP): Revival.
1281 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1283 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1284 the XLFD registry-encoding name of `chinese-big5'.
1286 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1288 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1289 (Qchinese_big5_cdp): Deleted.
1290 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1291 (complex_vars_of_mule_charset): Delete coded-charset
1294 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1295 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1296 `CHARSET_ID_OFFSET - n' for private CCS.
1297 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1298 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1299 of `MIN_LEADING_BYTE'.
1300 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1301 `(CHARSET_ID_OFFSET - 97)'.
1302 (MIN_CHAR_BIG5_CDP): Deleted.
1303 (MAX_CHAR_BIG5_CDP): Deleted.
1305 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1307 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1309 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1311 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1312 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1315 * chartab.c (Vutf_2000_version): Moved to mule.c.
1316 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1318 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1320 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1321 when HAVE_CHISE_CLIENT is not defined.
1323 * mule.c (vars_of_mule): Provide feature `chise' when
1324 HAVE_CHISE_CLIENT is defined.
1326 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1328 * config.h.in (UTF2000): Add comment.
1329 (HAVE_CHISE_CLIENT): New macro.
1331 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1333 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1335 (Fput_char_attribute): Likewise.
1336 (char_attribute_system_db_file): Encode file-name of attribute.
1337 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1340 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1342 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1343 (Fsave_charset_mapping_table): Use
1344 `char_attribute_system_db_file'.
1345 (load_char_decoding_entry_maybe): Likewise.
1347 * chartab.h (Qsystem_char_id): New external variable.
1348 (char_attribute_system_db_file): New prototype.
1350 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1351 (char_attribute_system_db_file): New function.
1352 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1353 (Freset_char_attribute_table): Likewise.
1354 (load_char_attribute_maybe): Likewise.
1355 (Fload_char_attribute_table): Likewise.
1356 (syms_of_chartab): Add new symbol `system-char-id'.
1358 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1360 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1361 `XCHARSET_GRAPHIC(ccs)'.
1363 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1365 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1367 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1369 * chartab.c (Q_ucs_variants): New variable.
1370 (syms_of_chartab): Add new symbol `->ucs-variants'.
1371 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1372 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1373 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1375 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1377 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1378 `HAVE_DATABASE' is defined.
1379 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1380 `HAVE_DATABASE' is defined.
1382 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1384 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1386 (Freset_char_attribute_table): New function.
1387 (syms_of_chartab): Add new builtin function
1388 `reset-char-attribute-table'.
1390 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1392 * chartab.c (load_char_attribute_maybe): Don't make directories.
1394 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1396 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1398 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1401 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1403 * mule-charset.c (Fsave_charset_mapping_table): Use
1404 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1406 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1407 instead of `XCHARSET_CHARS'.
1409 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1411 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1412 (XCHARSET_BYTE_SIZE): Likewise.
1414 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1416 (XCHARSET_BYTE_SIZE): Likewise.
1418 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1420 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1421 data-directory to store database.
1422 (Fsave_char_attribute_table): Likewise.
1423 (load_char_attribute_maybe): Likewise.
1424 (Fload_char_attribute_table): Likewise.
1426 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1428 * mule-charset.c (Fsave_charset_mapping_table): New function.
1429 (syms_of_mule_charset): Add new builtin function
1430 `save-charset-mapping-table'.
1432 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1434 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1435 (get_ccs_octet_table): New inline function.
1436 (put_ccs_octet_table): Likewise.
1437 (decoding_table_put_char): Use `get_ccs_octet_table' and
1438 `put_ccs_octet_table'.
1439 (decoding_table_remove_char): Use `decoding_table_put_char'.
1440 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1442 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1443 into encoding_table.
1444 (make_charset): Use Qunbound instead Qnil as initial value of
1447 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1449 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1450 element is Qunloaded.
1451 (map_over_uint16_byte_table): Likewise.
1452 (map_over_byte_table): Likewise.
1453 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1454 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1455 database support, load encoding-table of the specified
1456 coded-charset if it is not loaded yet.
1457 (save_uint8_byte_table): New function of UTF-2000 with external
1459 (save_uint16_byte_table): Likewise.
1460 (save_byte_table): Likewise.
1461 (Fput_char_attribute): Don't store value into external database
1462 even if the external database feature is supported in UTF-2000;
1463 set `attribute' as name of char-table if the external database
1464 feature is supported.
1465 (Fsave_char_attribute_table): New function in UTF-2000.
1466 (syms_of_chartab): Add new builtin function
1467 `save-char-attribute-table' in UTF-2000.
1469 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1471 * chartab.c (char_attribute_table_to_put): New variable in
1473 (Qput_char_table_map_function): Likewise.
1474 (value_to_put): Likewise.
1475 (Fput_char_table_map_function): New function in UTF-2000.
1476 (put_char_table): Use `Fmap_char_attribute' for
1477 CHARTAB_RANGE_CHARSET in UTF-2000.
1478 (Fput_char_attribute): Store symbol instead of string in
1479 `XCHAR_TABLE_NAME (table)'.
1480 (load_char_attribute_maybe): Likewise.
1481 (syms_of_chartab): Add new symbol/function
1482 `put-char-table-map-function'.
1484 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1486 * database.h: Add new EXFUN for `Fmap_database'.
1488 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1489 (syms_of_database): Likewise.
1491 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1493 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1494 (XCHAR_TABLE_UNLOADED): Likewise.
1496 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1497 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1498 HAVE_DATABASE is defined.
1499 (char_attribute_table_to_load): New variable of UTF-2000 with
1500 external database support.
1501 (Qload_char_attribute_table_map_function): Likewise.
1502 (Fload_char_attribute_table_map_function): New function of
1503 UTF-2000 with external database support.
1504 (Fload_char_attribute_table): New function of UTF-2000.
1505 (Fmap_char_attribute): Call Fload_char_attribute_table if
1506 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1507 (syms_of_chartab): Add new symbol and function
1508 `load-char-attribute-table-map-function' in UTF-2000 with external
1509 database support; add new function `load-char-attribute-table' in
1512 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1514 * chartab.h (load_char_attribute_maybe): New prototype for
1515 UTF-2000 with DATABASE support.
1516 (get_char_id_table): Use `load_char_attribute_maybe' if
1517 HAVE_DATABASE is defined.
1519 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1520 with DATABASE support.
1522 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1524 * chartab.c (Fput_char_attribute): Use S-expression as key of
1527 * chartab.h (get_char_id_table): Use S-expression as key of
1530 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1532 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1533 if an element is not loaded, load the corresponding attributes
1534 from an external database.
1535 (map_over_uint16_byte_table): Likewise.
1536 (map_over_byte_table): Likewise.
1537 (map_char_table): Modify for `map_over_uint8_byte_table',
1538 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1539 element is not loaded, load the corresponding attributes from an
1541 (Fput_char_attribute): Change initial values to Qunloaded.
1543 * chartab.h (get_char_id_table): If a character attribute is not
1544 loaded and the attribute value is not found in an external
1545 database, store Qunbound as the attribute value.
1547 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1549 * chartab.c (BT_UINT8_unloaded): New macro.
1550 (UINT8_VALUE_P): Accept Qunloaded.
1551 (UINT8_ENCODE): Likewise.
1552 (UINT8_DECODE): Likewise.
1553 (BT_UINT16_unloaded): New macro.
1554 (UINT16_VALUE_P): Accept Qunloaded.
1555 (UINT16_ENCODE): Likewise.
1556 (UINT16_DECODE): Likewise.
1557 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1559 (mark_char_table): Mark `ct->name' in UTF-2000.
1560 (char_table_description): Add `name' in UTF-2000.
1561 (Fmake_char_table): Initialize `ct->name'.
1562 (Fcopy_char_table): Copy `ct->name'.
1563 (Fput_char_attribute): Store value into an external database if
1564 HAVE_DATABASE is defined.
1566 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1568 (CHAR_TABLE_NAME): New macro in UTF-2000.
1569 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1570 (get_char_id_table): Try to read an external database if Qunloaded
1571 is stored in a table.
1573 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1576 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1578 * database.h: Add EXFUN definitions for Fopen_database,
1579 Fput_database, Fget_database and Fclose_database.
1581 * data.c (Qunloaded): New variable in UTF-2000.
1583 * lisp.h (Qunloaded): New variable in UTF-2000.
1585 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1587 * mule-charset.c (put_char_ccs_code_point): Modify for
1588 `decoding_table_remove_char' and `decoding_table_put_char'.
1589 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1591 * char-ucs.h (decoding_table_remove_char): Change arguments to
1592 hide decoding_table vector.
1593 (decoding_table_put_char): Likewise.
1595 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1597 * mule-charset.c (decoding_table_remove_char): Moved to
1599 (decoding_table_put_char): Likewise.
1601 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1602 from mule-charset.c].
1603 (decoding_table_remove_char): New inline function [moved from
1605 (decoding_table_put_char): Likewise.
1607 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1609 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1612 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1614 * mule-charset.c (decode_builtin_char): Support mother charsets.
1616 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1618 * mule-charset.c (Q94x94x60): New variable.
1619 (charset_code_point): Support conversion `94x94x60'.
1620 (Fmake_charset): Likewise.
1621 (syms_of_mule_charset): Add new symbol `94x94x60'.
1623 * char-ucs.h (CONVERSION_94x94x60): New macro.
1625 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1627 * mule-charset.c (charset_code_point): Unify code about
1630 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1632 * mule-charset.c (charset_code_point): Merge code about builtin
1633 characters into code about mother charsets; don't use
1634 `range_charset_code_point'.
1635 (range_charset_code_point): Deleted.
1637 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1639 * mule-charset.c (Qcode_offset): New variable.
1640 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1641 `max-code'; accept new property `code-offset'.
1642 (syms_of_mule_charset): Add new symbol `code-offset'.
1644 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1646 * mule-charset.c (range_charset_code_point): Fixed.
1648 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1650 * mule-charset.c (decode_builtin_char): Change semantics of
1651 code-offset of coded-charset.
1652 (charset_code_point): Likewise.
1653 (range_charset_code_point): Likewise.
1654 (complex_vars_of_mule_charset): Modify for the change.
1656 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1658 * mule-charset.c (Fencode_char): Reverse arguments.
1660 * mule-charset.c (charset_code_point): Fixed.
1662 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1664 * mule-charset.c (Vcharset_mojikyo): Deleted.
1665 (Vcharset_mojikyo_2022_1): Deleted.
1666 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1667 (Qmin_code): New variable in UTF-2000.
1668 (Qmax_code): Likewise.
1669 (Qmother): Likewise.
1670 (Qconversion): Likewise.
1672 (Qmojikyo): Deleted.
1673 (Qmojikyo_2022_1): Deleted.
1674 (Qmojikyo_pj_{1..22}): Deleted.
1675 (mark_charset): Mark `cs->mother'.
1676 (charset_description): Add description for `mother'.
1677 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1678 new arguments `mother' and `conversion'; use
1679 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1680 (charset_code_point): Moved from char-ucs.h; support `mother'
1682 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1683 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1684 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1685 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1686 allow 2 as the value of `graphic' in UTF-2000; add new properties
1687 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1688 require `final' in UTF-2000; modify for `make_charset'.
1689 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1690 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1691 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1692 (Fencode_char): New function.
1693 (syms_of_mule_charset): Add new builtin function `encode-char' in
1694 UTF-2000; add new symbols `min-code', `max-code', `mother',
1695 `conversion' and `94x60'; delete symbols `mojikyo',
1696 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1697 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1698 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1699 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1701 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1702 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1704 * char-ucs.h (Vcharset_mojikyo): Deleted.
1705 (Vcharset_mojikyo_2022_1): Deleted.
1706 (LEADING_BYTE_MOJIKYO): Deleted.
1707 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1708 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1709 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1710 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1711 add new member `mother'; add new member `conversion'.
1712 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1713 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1714 (CHARSET_MOTHER): New macro.
1715 (CHARSET_CONVERSION): New macro.
1716 (CONVERSION_IDENTICAL): New macro.
1717 (CONVERSION_94x60): New macro.
1718 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1719 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1720 (XCHARSET_MOTHER): New macro.
1721 (XCHARSET_CONVERSION): New macro.
1722 (MIN_CHAR_MOJIKYO): Deleted.
1723 (MAX_CHAR_MOJIKYO): Deleted.
1724 (DECODE_MOJIKYO_2022): Deleted.
1725 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1726 (charset_code_point): Changed to non-inline function.
1727 (encode_char_1): Use `charset_code_point'.
1728 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1730 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1732 * lread.c (read_compiled_function): Fix prototype.
1733 (read_vector): Likewise.
1735 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1737 * lrecord.h (struct lrecord_header): Delete `older'.
1738 (set_lheader_implementation): Delete code for `older'.
1739 (set_lheader_older_implementation): Deleted.
1740 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1741 (OLDER_RECORD_P): Deleted.
1742 (OLDER_RECORD_HEADER_P): Deleted.
1743 (alloc_older_lcrecord): Deleted.
1744 (alloc_older_lcrecord_type): Deleted.
1746 * alloc.c (all_older_lcrecords): Deleted.
1747 (alloc_older_lcrecord): Deleted.
1748 (disksave_object_finalization_1): Delete code for older objects.
1749 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1750 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1752 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1754 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1755 instead of `make_older_vector'.
1756 (put_char_ccs_code_point): Likewise.
1757 (mark_charset): Mark `cs->decoding_table'.
1758 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1760 * lisp.h (make_older_vector): Deleted.
1761 (make_vector_newer): Deleted.
1763 * config.h.in (HAVE_GGC): Deleted.
1765 * alloc.c (make_older_vector): Deleted.
1766 (make_vector_newer_1): Deleted.
1767 (make_vector_newer): Deleted.
1769 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1771 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1772 (Qideograph_daikanwa_2): New variable.
1773 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1774 (complex_vars_of_mule_charset): Add new coded-charset
1775 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1776 `LEADING_BYTE_DAIKANWA'.
1778 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1779 (LEADING_BYTE_DAIKANWA_1): New macro.
1780 (LEADING_BYTE_DAIKANWA_2): New macro.
1781 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1783 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1785 * mule-charset.c (complex_vars_of_mule_charset): Change
1786 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1787 the second revised version.
1789 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1791 * mule-charset.c (Vcharset_ucs_smp): New variable.
1792 (Vcharset_ucs_sip): New variable.
1793 (Qucs_smp): New variable.
1794 (Qucs_sip): New variable.
1795 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1796 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1797 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1798 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1799 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1800 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1802 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1803 (LEADING_BYTE_UCS_SIP): New macro.
1804 (MIN_CHAR_SMP): New macro.
1805 (MAX_CHAR_SMP): New macro.
1806 (MIN_CHAR_SIP): New macro.
1807 (MAX_CHAR_SIP): New macro.
1809 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1811 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1814 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1816 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1817 value; don't store value into `encoding_table' of `Lisp_Charset'.
1818 (mark_charset): `encoding_table' was deleted.
1819 (charset_description): Likewise.
1820 (make_charset): Likewise.
1821 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1822 `put_char_ccs_code_point'.
1824 * chartab.h (Fput_char_attribute): New EXFUN.
1826 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1827 is unified with normal symbol space.
1828 (Fget_char_attribute): Likewise.
1829 (Fput_char_attribute): Likewise; behavior of
1830 `put_char_ccs_code_point' is changed.
1832 * char-ucs.h: Include "elhash.h".
1833 (Vchar_attribute_hash_table): New external variable.
1834 (struct Lisp_Charset): Delete `encoding_table'.
1835 (CHARSET_ENCODING_TABLE): New implementation; refer
1836 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1839 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1841 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1844 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1846 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1849 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1851 * chartab.c (uint8_byte_table_description): New constant.
1852 (uint8-byte-table): Use `uint8_byte_table_description'.
1853 (uint16_byte_table_description): New constant.
1854 (uint16-byte-table): Use `uint16_byte_table_description'.
1856 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1858 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1859 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1861 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * mule-charset.c (Vcharset_ucs_ks): New variable.
1864 (Qucs_ks): New variable.
1865 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1866 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1868 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1870 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1872 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1873 (Fdecode_char): Likewise.
1875 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1877 (Fdefine_char): Modify for Fdecode_char.
1878 (Ffind_char): Likewise.
1880 * mule-charset.c (Fdecode_char): Add new optional argument
1882 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1884 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1886 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1887 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1888 (allocate_coding_system): Initialize initial-charsets of
1889 CODESYS_BIG5 in XEmacs UTF-2000.
1890 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1891 CODESYS_BIG5 in XEmacs UTF-2000.
1892 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1893 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1895 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1897 (Qideograph_hanziku_{1 .. 12}): Likewise.
1898 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1900 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1901 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1902 `ideograph-hanziku-{1 .. 12}'.
1904 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1905 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1906 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1907 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1908 (DECODE_DEFINED_CHAR): New inline function.
1909 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1911 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1913 * mule-charset.c (Vcharset_china3_jef): Renamed from
1914 `Vcharset_japanese_jef_china3'.
1915 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1916 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1917 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1918 (syms_of_mule_charset): Rename `china3-jef' from
1919 `japanese-jef-china3'.
1920 (complex_vars_of_mule_charset): Likewise; rename
1921 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1923 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1924 `LEADING_BYTE_JEF_CHINA3'.
1925 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1926 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1928 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1930 * mule-charset.c (encode_builtin_char_1): Comment out special code
1931 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1933 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1934 (MAX_CHAR_MOJIKYO_0): Comment out.
1935 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1936 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1937 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1938 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1940 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1942 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1943 (Qideograph_cbeta): New variable.
1944 (encode_builtin_char_1): Comment out special code for
1945 coded-charset `mojikyo' and `japanese-jef-china3'.
1946 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1947 (complex_vars_of_mule_charset): Add new coded-charset
1950 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1951 (MIN_CHAR_CBETA): New macro.
1952 (MAX_CHAR_CBETA): New macro.
1954 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1956 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1957 (LEADING_BYTE_JEF_CHINA3): New macro.
1958 (MIN_CHAR_JEF_CHINA3): New macro.
1959 (MAX_CHAR_JEF_CHINA3): Likewise.
1960 (DECODE_CHAR): Fixed.
1962 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1964 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1965 (Qjapanese_jef_china3): New variable.
1966 (encode_builtin_char_1): Support `japanese-jef-china3'.
1967 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1968 (complex_vars_of_mule_charset): Add new coded-charset
1969 `japanese-jef-china3'.
1971 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1973 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1974 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1975 94^4, 96^3, 96^4, 128^n and 256^n set.
1976 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1977 (map_char_table): Likewise.
1979 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1981 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1984 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1986 * chartab.h (get_char_id_table): New inline function.
1988 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1991 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1993 * chartab.h (decode_char_table_range): New prototype in XEmacs
1995 (put_char_id_table): New inline function in XEmacs UTF-2000.
1997 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1999 (decode_char_table_range): Delete static declaration in XEmacs
2002 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2004 * chartab.c (put_char_id_table): Use `put_char_table'.
2006 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2008 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2009 (map_over_uint16_byte_table): Likewise.
2010 (map_over_byte_table): Likewise.
2011 (map_char_table): Modify for `map_over_uint8_byte_table',
2012 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2015 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2017 * chartab.c (struct map_char_table_for_charset_arg): New
2019 (map_char_table_for_charset_fun): New function.
2020 (map_char_table): Use `map_char_table' for encoding_table of
2023 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2025 * chartab.c (map_char_table): Check a character is found in
2026 range->charset instead of non default value is defined in
2027 char-table when range is CHARTAB_RANGE_ROW.
2029 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2031 * chartab.c (map_char_id_table): Deleted.
2032 (Fmap_char_attribute): Use `map_char_table' instead of
2033 `map_char_id_table'.
2035 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2037 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2039 (update_syntax_table): Deleted in XEmacs UTF-2000.
2041 * syntax.c (find_defun_start): Use `syntax_table' instead of
2042 `mirror_syntax_table' in XEmacs UTF-2000.
2043 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2045 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2047 (Fmatching_paren): Likewise.
2048 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2050 (find_start_of_comment): Likewise.
2051 (find_end_of_comment): Likewise.
2052 (Fforward_comment): Likewise.
2053 (scan_lists): Likewise.
2054 (char_quoted): Likewise.
2055 (Fbackward_prefix_chars): Likewise.
2056 (scan_sexps_forward): Likewise.
2057 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2058 (update_syntax_table): Likewise.
2060 * search.c (skip_chars): Use `syntax_table' instead of
2061 `mirror_syntax_table' in XEmacs UTF-2000.
2062 (wordify): Likewise.
2063 (Freplace_match): Likewise.
2065 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2066 `mirror_syntax_table' in XEmacs UTF-2000.
2067 (WORDCHAR_P_UNSAFE): Likewise.
2068 (re_match_2_internal): Likewise.
2070 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2071 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2073 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2074 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2076 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2079 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2081 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2082 (char_table_description): Delete `mirror_table' in XEmacs
2084 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2086 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2087 (Fcopy_char_table): Likewise.
2088 (put_char_table): Don't call `update_syntax_table' in XEmacs
2091 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2092 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2093 (casify_region_internal): Likewise.
2095 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2097 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2098 `mirror_syntax_table' in XEmacs UTF-2000.
2100 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2101 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2102 (Fexpand_abbrev): Likewise.
2104 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2106 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2108 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2110 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2111 (map_over_uint16_byte_table): Likewise.
2112 (map_over_byte_table): Likewise.
2113 (get_char_id_table): Refer `cit->default_value'.
2114 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2115 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2116 of character-id ranges.
2117 (mark_char_table): Mark `ct->default_value'.
2118 (char_table_description): Add `default_value'.
2119 (fill_char_table): Use `default_value'.
2120 (decode_char_table_range): Decode `nil' as
2121 `CHARTAB_RANGE_DEFAULT'.
2122 (get_char_id_table): Refer `cit->default_value'.
2123 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2124 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2125 temporary hack; check value of char-table is bound or not.
2126 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2128 * chartab.h (struct Lisp_Char_Table): Add new member
2129 `default_value' in XEmacs UTF-2000.
2130 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2131 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2134 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2136 * chartab.h (Lisp_Char_ID_Table): Deleted.
2138 * chartab.c (char_table_description): Fix typo.
2139 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2140 `Lisp_Char_ID_Table'.
2142 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2144 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2147 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2150 * chartab.h (XCHAR_ID_TABLE): Deleted.
2151 (XSETCHAR_ID_TABLE): Deleted.
2152 (CHAR_ID_TABLE_P): Deleted.
2154 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2156 (Fget_composite_char): Likewise.
2157 (put_char_table): Likewise.
2158 (add_char_attribute_alist_mapper): Fixed.
2159 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2161 (Fget_char_attribute): Likewise.
2162 (Fget_char_attribute): Likewise.
2163 (Fmap_char_attribute): Likewise.
2165 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2167 (encode_char_1): Likewise.
2169 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2171 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2174 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2175 instead of `XCHAR_ID_TABLE'.
2176 (remove_char_ccs): Likewise.
2178 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2180 (Fget_composite_char): Likewise.
2181 (Fchar_variants): Likewise.
2182 (put_char_table): Likewise.
2183 (add_char_attribute_alist_mapper): Likewise.
2184 (Fchar_attribute_alist): Likewise.
2185 (Fget_char_attribute): Likewise.
2186 (Fput_char_attribute): Likewise.
2187 (Fmap_char_attribute): Likewise.
2188 (Fmap_char_attribute): Likewise.
2190 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2192 (encode_char_1): Likewise.
2194 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2196 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2197 `Lisp_Char_ID_Table'.
2198 (mark_char_id_table): Deleted.
2199 (print_char_id_table): Likewise.
2200 (char_id_table_equal): Likewise.
2201 (char_id_table_hash): Likewise.
2202 (char_id_table_description): Likewise.
2203 (char_id_table): Likewise.
2204 (make_char_id_table): Use `Fmake_char_table' and
2206 (get_char_id_table): Use `Lisp_Char_Table' instead of
2207 `Lisp_Char_ID_Table'.
2208 (put_char_id_table): Likewise.
2209 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2211 (Fremove_char_attribute): Likewise.
2212 (syms_of_chartab): Don't define type `char-id-table'.
2214 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2215 (char_id_table): Likewise.
2216 (GC_CHAR_ID_TABLE_P): Likewise.
2217 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2218 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2219 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2220 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2221 (get_char_id_table): Use `Lisp_Char_Table' instead of
2222 `Lisp_Char_ID_Table'.
2223 (put_char_id_table_0): Likewise.
2224 (put_char_id_table): Likewise.
2226 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2228 * chartab.h: Lisp_Byte_Table related codes are moved from
2231 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2233 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2235 * chartab.h: Don't include "chartab.h".
2236 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2237 (Lisp_Char_ID_Table): Likewise.
2238 (char_id_table): Likewise.
2239 (XCHAR_ID_TABLE): Likewise.
2240 (XSETCHAR_ID_TABLE): Likewise.
2241 (CHAR_ID_TABLE_P): Likewise.
2242 (GC_CHAR_ID_TABLE_P): Likewise.
2243 (get_char_id_table): Likewise.
2245 * char-ucs.h: Include "chartab.h".
2246 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2247 (Lisp_Char_ID_Table): Likewise.
2248 (char_id_table): Likewise.
2249 (XCHAR_ID_TABLE): Likewise.
2250 (XSETCHAR_ID_TABLE): Likewise.
2251 (CHAR_ID_TABLE_P): Likewise.
2252 (GC_CHAR_ID_TABLE_P): Likewise.
2253 (get_char_id_table): Likewise.
2255 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2257 * chartab.c (copy_uint8_byte_table): New function.
2258 (copy_uint16_byte_table): New function.
2259 (copy_byte_table): New function.
2260 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2262 (map_over_uint16_byte_table): Likewise.
2263 (map_over_byte_table): Likewise.
2264 (get_byte_table): Move prototype to chartab.h.
2265 (put_byte_table): Likewise.
2266 (put_char_id_table_0): Moved to chartab.h.
2267 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2268 (char_table_entry_equal): Likewise.
2269 (char_table_entry_hash): Likewise.
2270 (char_table_entry_description): Likewise.
2271 (char_table_entry): Likewise.
2272 (make_char_table_entry): Likewise.
2273 (copy_char_table_entry): Likewise.
2274 (get_non_ascii_char_table_value): Likewise.
2275 (map_over_charset_ascii): Likewise.
2276 (map_over_charset_control_1): Likewise.
2277 (map_over_charset_row): Likewise.
2278 (map_over_other_charset): Likewise.
2279 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2280 (print_char_table): Likewise.
2281 (char_table_equal): Likewise.
2282 (char_table_hash): Likewise.
2283 (char_table_description): Likewise.
2284 (fill_char_table): Likewise.
2285 (Fcopy_char_table): Likewise.
2286 (get_char_table): Likewise.
2287 (Fget_range_char_table): Likewise.
2288 (put_char_table): Likewise.
2289 (map_char_table): Likewise.
2290 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2293 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2295 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2296 `Vauto_fill_chars' in XEmacs UTF-2000.
2298 * chartab.h (get_byte_table): New prototype [moved from
2300 (put_byte_table): Likewise [moved from chartab.c].
2301 (put_char_id_table_0): New inline function [moved from chartab.c].
2302 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2303 (Lisp_Char_Table_Entry): Likewise.
2304 (char_table_entry): Likewise.
2305 (XCHAR_TABLE_ENTRY): Likewise.
2306 (XSETCHAR_TABLE_ENTRY): Likewise.
2307 (CHAR_TABLE_ENTRYP): Likewise.
2308 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2309 (NUM_ASCII_CHARS): Likewise.
2310 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2311 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2313 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2315 * chartab.c (get_char_id_table): Change interface.
2316 (put_char_id_table_0): New function.
2317 (put_char_id_table): Change interface; new implementation.
2318 (Fget_composite_char): Modify for interface change of
2319 `get_char_id_table'.
2320 (Fchar_variants): Likewise.
2321 (add_char_attribute_alist_mapper): Likewise.
2322 (Fchar_attribute_alist): Likewise.
2323 (Fget_char_attribute): Likewise.
2324 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2325 as same as character as the first argument like `put-char-table';
2326 modify for interface change of `put_char_id_table'.
2327 (Fremove_char_attribute): Modify for interface change of
2328 `put_char_id_table'.
2330 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2332 * text-coding.c: Sync up with XEmacs 21.2.41.
2333 (COMPOSE_ADD_CHAR): Modify for interface change of
2334 `get_char_id_table'.
2336 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2337 change of `put_char_id_table'.
2338 (remove_char_ccs): Likewise.
2340 * chartab.h (put_char_id_table): Change interface.
2342 * char-ucs.h (get_char_id_table): Change interface.
2343 (charset_code_point): Modify for interface change of
2344 `get_char_id_table'.
2345 (encode_char_1): Likewise.
2347 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2349 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2351 (map_over_uint16_byte_table): Likewise.
2352 (map_over_byte_table): Likewise.
2353 (map_char_id_table): Add new argument `range' like
2355 (Fmap_char_attribute): Add new argument `range' like
2358 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2360 * chartab.c (map_over_uint8_byte_table): Change interface of
2361 mapping function to use struct chartab_range instead of Emchar.
2362 (map_over_uint16_byte_table): Likewise.
2363 (map_over_byte_table): Likewise.
2364 (map_char_id_table): Likewise.
2365 (struct slow_map_char_id_table_arg): Deleted.
2366 (slow_map_char_id_table_fun): Deleted.
2367 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2368 function `slow_map_char_table_fun' instead of struct
2369 `slow_map_char_id_table_arg' and function
2370 `slow_map_char_id_table_fun'.
2372 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2374 * mule-charset.c: Move char-it-table related codes to chartab.c.
2375 (Vutf_2000_version): Moved to chartab.c.
2376 (Fdefine_char): Likewise.
2377 (Ffind_char): Likewise.
2378 (syms_of_mule_charset): Move types `uint8-byte-table',
2379 `uint16-byte-table', `byte-table' and `char-id-table' to
2380 chartab.c; move functions `char_attribute_list,
2381 `find_char_attribute_table, `char_attribute_alist,
2382 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2383 `map_char_attribute, `define_char, `find_char, `char_variants and
2384 `get_composite_char to chartab.c; move symbols `=>ucs',
2385 `->decomposition', `compat', `isolated', `initial', `medial',
2386 `final', `vertical', `noBreak', `fraction', `super', `sub',
2387 `circle', `square', `wide', `narrow', `small' and `font' to
2389 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2390 setting codes for `Vcharacter_composition_table' and
2391 `Vcharacter_variant_table' to chartab.c.
2392 (complex_vars_of_mule_charset): Move setting code for
2393 `Vchar_attribute_hash_table' to chartab.c.
2395 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2396 (make_char_id_table): New prototype.
2397 (put_char_id_table): Likewise.
2398 (Fget_char_attribute): Likewise.
2400 * chartab.c: Move char-id-table related code from mule-charset.c.
2401 (Vutf_2000_version): Moved from mule-charset.c.
2403 * char-ucs.h (Qucs): New external variable.
2404 (put_char_ccs_code_point): New prototype.
2405 (remove_char_ccs): Likewise.
2407 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2409 * mule-charset.c (Vcharset_ucs_jis): New variable.
2410 (Qucs_jis): Likewise.
2411 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2412 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2414 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2416 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * mule-charset.c (map_over_uint8_byte_table): New function.
2419 (map_over_uint16_byte_table): Likewise.
2420 (map_over_byte_table): Likewise.
2421 (map_char_id_table): Likewise.
2422 (slow_map_char_id_table_fun): Likewise.
2423 (Fmap_char_attribute): Likewise.
2424 (syms_of_mule_charset): Add new function `map-char-attribute'.
2426 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2428 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2429 (syms_of_mule_charset): Add new function `find-char'.
2431 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2433 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2435 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2436 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2438 (complex_vars_of_mule_charset): Add new coded-charset
2439 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2440 `ideograph-gt-pj-*'.
2442 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2444 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2446 * mule-charset.c (encode_builtin_char_1): Purge codes about
2447 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2448 {MIN|MAX}_CHAR_HEBREW.
2449 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2450 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2452 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2453 (MAX_CHAR_GREEK): Purged.
2454 (MIN_CHAR_CYRILLIC): Purged.
2455 (MAX_CHAR_CYRILLIC): Purged.
2456 (MIN_CHAR_HEBREW): Commented out.
2457 (MAX_CHAR_HEBREW): Likewise.
2459 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2461 * mule-charset.c (Qto_ucs): New variable.
2462 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2463 (Fdefine_char): Likewise.
2464 (syms_of_mule_charset): Add new symbol `=>ucs'.
2466 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2468 * mule-charset.c (Fdecode_char): Fixed.
2470 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2472 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2473 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2476 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2478 * mule-charset.c (Vcharset_ucs_big5): New variable.
2479 (Qucs_big5): Likewise.
2480 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2481 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2483 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2485 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2487 * mule-charset.c (decode_builtin_char): Check Big5 code range
2488 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2490 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2492 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2493 (Qchinese_gb12345): Likewise.
2494 (Fdecode_builtin_char): Fixed.
2495 (syms_of_mule_charset): Add `chinese-gb12345'.
2496 (complex_vars_of_mule_charset): Add coded-charset
2499 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2500 (LEADING_BYTE_CHINESE_GB12345): New macro.
2502 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2504 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2505 and `latin-viscii-upper' for `latin-viscii'.
2507 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2509 * mule-charset.c (Fdecode_builtin_char): Comment out
2510 regularization code for ISO-IR GR representation.
2512 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2514 * mule-charset.c (decode_builtin_char): New function; renamed from
2515 `make_builtin_char'; return -1 instead of signal.
2516 (Fdecode_builtin_char): Use `decode_builtin_char'.
2518 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2519 `make_builtin_char'.
2520 (DECODE_CHAR): Use `decode_builtin_char' instead of
2521 `make_builtin_char'; use mapping table of `chinese-big5' for
2522 `chinese-big5-{1,2}'.
2524 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2526 * text-coding.c (char_encode_big5): New function.
2527 (char_finish_big5): Likewise.
2528 (reset_encoding_stream): Use `char_encode_big5' and
2529 `char_finish_big5' for CODESYS_BIG5.
2530 (mule_encode): Don't use `encode_coding_big5'.
2531 (encode_coding_big5): Deleted.
2533 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2535 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2536 0x81- in XEmacs UTF-2000.
2537 (detect_coding_big5): Likewise.
2539 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2541 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2542 generate character-id if the CCS property does not have
2543 corresponding predefined character.
2544 (make_builtin_char): Return -1 if corresponding predefined
2545 character is not found.
2546 (Fdecode_char): Return nil if corresponding character is not
2548 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2549 don't map to builtin ucs space.
2551 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2553 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2554 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2556 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2558 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2559 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2560 (Qideograph_gt): Likewise.
2561 (Qideograph_gt_pj_{1..11}): Likewise.
2562 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2563 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2564 `ideograph-gt-pj-11'.
2565 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2566 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2567 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2569 * char-ucs.h (LEADING_BYTE_GT): New macro.
2570 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2571 (MIN_CHAR_GT): Likewise.
2572 (MAX_CHAR_GT): Likewise.
2574 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2577 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2579 * doprnt.c (unsigned_int_converters): Add `c'.
2580 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2582 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2583 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2585 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2586 (MAX_CHAR_MOJIKYO_0): New macro.
2587 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2589 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2591 * mule-charset.c (Fdefine_char): Delete cemented out code.
2592 (encode_builtin_char_1): Modify for new allocation of builtin
2595 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2597 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2599 * mule-charset.c (Vcharset_ucs_cns): New variable.
2600 (Qucs_cns): New variable.
2601 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2602 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2604 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2606 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2608 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2610 * search.c (search_buffer): Make `charset_base_code' as
2611 character-id >> 6 to eliminate the corresponding last byte in
2612 UTF-8 representation [I'm not sure it is right thing].
2613 (boyer_moore): Likewise.
2615 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2617 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2618 representation in MULE.
2620 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2622 * text-coding.c (Fmake_coding_system): Use
2623 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2624 `EXTERNAL_PROPERTY_LIST_LOOP'.
2626 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2628 * text-coding.c (decode_output_utf8_partial_char): New function.
2629 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2631 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2633 * text-coding.c (decode_coding_utf8): Output original byte
2634 sequence if it is broken; change order of conditions.
2636 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2639 * mb-multibyte.h (BYTE_ASCII_P):
2640 Use bit ops for char-signedness safety.
2641 (BYTE_C0_P): Use bit ops for char-signedness safety.
2642 (BYTE_C1_P): Use bit ops for char-signedness safety.
2644 * character.h: (XCHAR_OR_CHAR_INT):
2645 Always use inline function.
2646 Remove redundant type checking assert() - XINT will abort quite
2649 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2651 * text-coding.c: (Fencode_shift_jis_char):
2652 (Fencode_big5_char):
2653 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2654 Replace 0 with '\0' when working with bytes.
2655 Replace initial "(" with "\(" in docstrings.
2657 (Fmake_coding_system):
2658 When type is ccl and value is vector, register it with a proper
2659 symbol. And checks whether the given ccl program is valid.
2660 (mule_decode): When calling ccl_driver, if src indicates
2661 NULL pointer, set an empty string instead.
2662 (mule_encode): Likewise.
2665 (detect_coding_sjis):
2666 (decode_coding_sjis):
2667 (detect_coding_big5):
2668 (decode_coding_big5):
2669 (detect_coding_ucs4):
2670 (decode_coding_ucs4):
2671 (detect_coding_utf8):
2672 (decode_coding_utf8):
2673 (detect_coding_iso2022):
2674 (decode_coding_iso2022):
2675 (decode_coding_no_conversion):
2677 Make all detecting and decoding functions take an Extbyte * arg.
2678 (text_encode_generic):
2679 (encode_coding_big5):
2680 (encode_coding_no_conversion):
2682 Make all encoding functions take a Bufbyte * arg.
2683 Use size_t instead of unsigned int for memory sizes.
2684 Only cast to unsigned char whenever dereferencing Extbyte *.
2686 (struct lrecord_description fcd_description_1): Use countof.
2687 (complex_vars_of_file_coding):
2688 Use countof instead of sizeof.
2689 Use CHECK_NATNUM instead of CHECK_INT.
2691 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2693 * mule-charset.c (Fget_char_attribute): Add new optional argument
2695 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2696 (remove_char_ccs): Likewise.
2698 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2700 * text-coding.c (char_encode_shift_jis): New implementation in
2702 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2705 * mule-charset.c (Vcharset_chinese_big5): New variable in
2707 (Qchinese_big5): New variable in UTF-2000.
2708 (BIG5_SAME_ROW): New macro in UTF-2000.
2709 (make_builtin_char): Use builtin characters of
2710 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2711 characters of `Vcharset_chinese_big5'.
2712 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2713 (complex_vars_of_mule_charset): Add new coded-charset
2714 `chinese-big5' in UTF-2000.
2716 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2717 (Vcharset_chinese_big5): New external variable declaration.
2718 (Vcharset_japanese_jisx0208_1990): Likewise.
2720 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2722 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2724 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2726 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2728 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2729 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2730 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2733 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2735 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2737 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2739 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2742 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2744 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2745 for `CHARSET_BY_ATTRIBUTES'.
2746 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2747 `CHARSET_BY_ATTRIBUTES'.
2749 * text-coding.c (struct decoding_stream): Rename member `CH' to
2751 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2752 (decode_coding_sjis): Likewise.
2753 (decode_coding_big5): Likewise.
2754 (decode_coding_ucs4): Likewise.
2755 (decode_coding_utf8): Likewise.
2756 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2757 `CHARSET_BY_ATTRIBUTES'.
2758 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2759 `str->counter'; decode 3, 4 bytes sets.
2760 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2762 (decode_coding_no_conversion): Use `str->cpos' instead of
2765 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2766 (Qmojikyo_2022_1): New variable.
2767 (make_charset): Don't use `CHARSET_TYPE_*'.
2768 (range_charset_code_point): Support coded-charset
2770 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2771 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2772 `CHARSET_BY_ATTRIBUTES'.
2773 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2774 `CHARSET_BY_ATTRIBUTES'.
2775 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2776 (complex_vars_of_mule_charset): Add new coded-charset
2779 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2780 interface; changed to inline function.
2782 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2783 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2784 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2785 (CHARSET_TYPE_94): Deleted.
2786 (CHARSET_TYPE_94X94): Deleted.
2787 (CHARSET_TYPE_96): Deleted.
2788 (CHARSET_TYPE_96X96): Deleted.
2789 (CHARSET_TYPE_128): Deleted.
2790 (CHARSET_TYPE_128X128): Deleted.
2791 (CHARSET_TYPE_256): Deleted.
2792 (CHARSET_TYPE_256X256): Deleted.
2793 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2795 (DECODE_MOJIKYO_2022): New inline function.
2796 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2797 `Vcharset_mojikyo_2022_1'.
2799 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2801 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2803 (put_byte_table): Likewise.
2804 (char_id_table_equal): Use `get_byte_table' [new implementation].
2806 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2808 * mule-charset.c: Include <limits.h> in UTF-2000.
2809 (BT_UINT8_MIN): New macro in UTF-2000.
2810 (BT_UINT8_MAX): New macro in UTF-2000.
2811 (BT_UINT8_t): New macro in UTF-2000.
2812 (BT_UINT8_nil): New macro in UTF-2000.
2813 (BT_UINT8_unbound): New macro in UTF-2000.
2814 (INT_UINT8_P): New inline function in UTF-2000.
2815 (UINT8_VALUE_P): New inline function in UTF-2000.
2816 (UINT8_ENCODE): New inline function in UTF-2000.
2817 (UINT8_DECODE): New inline function in UTF-2000.
2818 (mark_uint8_byte_table): New function in UTF-2000.
2819 (print_uint8_byte_table): New function in UTF-2000.
2820 (uint8_byte_table_equal): New function in UTF-2000.
2821 (uint8_byte_table_hash): New function in UTF-2000.
2822 (make_uint8_byte_table): New function in UTF-2000.
2823 (uint8_byte_table_same_value_p): New function in UTF-2000.
2824 (BT_UINT16_MIN): New macro in UTF-2000.
2825 (BT_UINT16_MAX): New macro in UTF-2000.
2826 (BT_UINT16_t): New macro in UTF-2000.
2827 (BT_UINT16_nil): New macro in UTF-2000.
2828 (BT_UINT16_unbound): New macro in UTF-2000.
2829 (INT_UINT16_P): New inline function in UTF-2000.
2830 (UINT16_VALUE_P): New inline function in UTF-2000.
2831 (UINT16_ENCODE): New inline function in UTF-2000.
2832 (UINT16_DECODE): New inline function in UTF-2000.
2833 (UINT8_TO_UINT16): New inline function in UTF-2000.
2834 (mark_uint16_byte_table): New function in UTF-2000.
2835 (print_uint16_byte_table): New function in UTF-2000.
2836 (uint16_byte_table_equal): New function in UTF-2000.
2837 (uint16_byte_table_hash): New function in UTF-2000.
2838 (make_uint16_byte_table): New function in UTF-2000.
2839 (uint16_byte_table_same_value_p): New function in UTF-2000.
2840 (print_byte_table): New function in UTF-2000.
2841 (byte-table): Use `print_byte_table' as printer.
2842 (make_byte_table): Delete second argument `older'.
2843 (byte_table_same_value_p): New function in UTF-2000.
2844 (copy_byte_table): Deleted.
2845 (get_byte_table): New function in UTF-2000.
2846 (put_byte_table): New function in UTF-2000.
2847 (print_char_id_table): New function in UTF-2000.
2848 (char-id-table): Use `print_char_id_table' as printer.
2849 (make_char_id_table): Delete second argument `older'.
2850 (get_char_id_table): Use `get_byte_table [new implementation].
2851 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2853 (Ffind_char_attribute_table): New function in UTF-2000.
2854 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2855 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2856 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2857 (syms_of_mule_charset): Add new function
2858 `find-char-attribute-table' in UTF-2000.
2860 * lrecord.h (enum lrecord_type): Add
2861 `lrecord_type_uint16_byte_table' and
2862 `lrecord_type_uint8_byte_table'.
2864 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2865 (Lisp_Uint8_Byte_Table): New type.
2866 (XUINT8_BYTE_TABLE): New macro.
2867 (XSETUINT8_BYTE_TABLE): New macro.
2868 (UINT8_BYTE_TABLE_P): New macro.
2869 (GC_UINT8_BYTE_TABLE_P): New macro.
2870 (struct Lisp_Uint16_Byte_Table): New structure.
2871 (Lisp_Uint16_Byte_Table): New type.
2872 (XUINT16_BYTE_TABLE): New macro.
2873 (XSETUINT16_BYTE_TABLE): New macro.
2874 (UINT16_BYTE_TABLE_P): New macro.
2875 (GC_UINT16_BYTE_TABLE_P): New macro.
2877 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2879 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2880 (Vcharacter_ideographic_strokes_table): Deleted.
2881 (Vcharacter_total_strokes_table): Deleted.
2882 (Vcharacter_morohashi_daikanwa_table): Deleted.
2883 (Vcharacter_decomposition_table): Deleted.
2884 (Qname): Deleted because it is duplicated.
2885 (Qideographic_radical): Deleted.
2886 (Qideographic_strokes): Deleted.
2887 (Qtotal_strokes): Deleted.
2888 (Qmorohashi_daikanwa): Deleted.
2889 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2890 `ideographic-radical', `ideographic-strokes', `total-strokes',
2891 `morohashi-daikanwa' and `->decomposition'.
2892 (Fget_char_attribute): Likewise.
2893 (Fput_char_attribute): Likewise; use `make-vector' instead of
2894 `make_older_vector' for `->decomposition' value.
2895 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2896 `ideograph-daikanwa'.
2897 (syms_of_mule_charset): Delete builtin symbols `name',
2898 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2899 `morohashi-daikanwa'.
2900 (vars_of_mule_charset): Don't setup
2901 `Vcharacter_ideographic_radical_table',
2902 `Vcharacter_ideographic_strokes_table',
2903 `Vcharacter_total_strokes_table',
2904 `Vcharacter_morohashi_daikanwa_table' and
2905 `Vcharacter_decomposition_table'.
2907 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2909 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2910 `make_older_vector', `make_vector_newer_1' and
2911 `make_vector_newer'.
2913 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2914 `make_older_vector' and `make_vector_newer'.
2916 * config.h.in (HAVE_GGC): New macro.
2918 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2920 * mule-charset.c (struct char_attribute_list_closure): New
2921 structure in UTF-2000.
2922 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2923 (Fchar_attribute_list): Likewise.
2924 (Fset_charset_mapping_table): Use `make_vector_newer'.
2925 (Fdecode_builtin_char): New function in UTF-2000.
2926 (syms_of_mule_charset): Add new function `char-attribute-list' and
2927 `decode-builtin-char' in UTF-2000.
2929 * lisp.h (make_vector_newer): New prototype.
2931 * alloc.c (make_vector_newer_1): New function.
2932 (make_vector_newer): New function.
2934 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2936 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2939 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2941 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2942 (Vcharacter_attribute_table): Deleted.
2943 (Vcharacter_name_table): Deleted.
2944 (put_char_attribute): Deleted.
2945 (remove_char_attribute): Deleted.
2946 (struct char_attribute_alist_closure): New structure.
2947 (add_char_attribute_alist_mapper): New function.
2948 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2949 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2950 (Fget_char_attribute): Likewise.
2951 (Fput_char_attribute): Likewise.
2952 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2953 of `remove_char_attribute'.
2954 (Fdefine_char): Return character.
2955 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2956 and `Vcharacter_name_table'.
2957 (complex_vars_of_mule_charset): Likewise
2958 `Vchar_attribute_hash_table'.
2960 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2962 * character.h (CHARC_CHARSET): New macro.
2963 (CHARC_CHARSET_ID): New macro.
2964 (CHARC_CODE_POINT): New macro.
2965 (CHARC_COLUMNS): New macro.
2966 (CHARC_TO_CHAR): New inline function.
2967 (CHARC_EQ): New inline function.
2968 (CHARC_ASCII_EQ): New inline function.
2969 (CHARC_IS_SPACE): New inline function.
2970 (ASCII_TO_CHARC): New inline function.
2972 * char-ucs.h (encode_char_2): Deleted.
2973 (ENCODE_CHAR): Use `encode_char_1' again.
2974 (breakup_char_1): Likewise.
2975 (CHAR_TO_CHARC): New inline function.
2977 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2979 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2981 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2982 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2983 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2984 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2985 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2987 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2989 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2991 (x_output_display_block): Use `CHARC_CHARSET' and
2994 * redisplay-tty.c (tty_output_display_block): Use
2996 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2998 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3000 * insdel.c (find_charsets_in_charc_string): Use
3002 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3003 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3004 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3005 (convert_charc_string_into_malloced_string): Likewise.
3007 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3009 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3010 instead of <Emchar_dynarr *> for buf; use
3011 `convert_bufbyte_string_into_charc_dynarr' instead of
3012 `convert_bufbyte_string_into_emchar_dynarr'; use
3013 `find_charsets_in_charc_string' instead of
3014 `find_charsets_in_emchar_string'.
3017 - Include "character.h".
3018 (struct rune): New member `cglyph'; delete member `chr'.
3020 * redisplay.c (redisplay_text_width_charc_string): New function;
3021 delete `redisplay_text_width_emchar_string'.
3022 (rtw_charc_dynarr): New variable; renamed from
3023 `rtw_emchar_dynarr'.
3024 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3025 `rtw_emchar_dynarr'; use
3026 `convert_bufbyte_string_into_charc_dynarr' instead of
3027 `convert_bufbyte_string_into_emchar_dynarr'; use
3028 `redisplay_text_width_charc_string' instead of
3029 `redisplay_text_width_emchar_string'.
3030 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3031 instead of `rtw_emchar_dynarr'; use
3032 `convert_bufbyte_string_into_charc_dynarr' instead of
3033 `convert_bufbyte_string_into_emchar_dynarr'.
3034 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3035 `redisplay_text_width_charc_string' instead of
3036 `redisplay_text_width_emchar_string'.
3037 (create_text_block): Modify for <struct rune> change.
3038 (generate_formatted_string_db): Likewise.
3039 (create_string_text_block): Likewise.
3040 (pixel_to_glyph_translation): Likewise.
3042 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3043 instead of <const Emchar *>.
3044 (x_text_width): Likewise.
3045 (x_output_display_block): Use <Charc_dynarr *> instead
3046 <Emchar_dynarr *>; modify for <structure rune> change.
3047 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3050 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3051 <const Emchar *>; use `charc_string_displayed_columns' instead of
3052 `emchar_string_displayed_columns'.
3053 (tty_output_display_block): Use <Charc_dynarr *> instead of
3054 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3055 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3056 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3057 `tty_output_emchar_dynarr_dynarr'.
3058 (tty_output_charc_dynarr): New function; delete
3059 `tty_output_charc_dynarr'.
3061 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3062 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3063 <Emchar_dynarr *> for buf; use
3064 `convert_bufbyte_string_into_charc_dynarr' instead of
3065 `convert_bufbyte_string_into_emchar_dynarr'.
3067 * frame.c (title_string_charc_dynarr): New variable; renamed from
3068 `title_string_emchar_dynarr'.
3069 (generate_title_string): Use `title_string_charc_dynarr' instead
3070 of `title_string_emchar_dynarr'; use
3071 `convert_charc_string_into_malloced_string' instead of
3072 `convert_emchar_string_into_malloced_string'.
3073 (init_frame): Use `title_string_charc_dynarr' instead of
3074 `title_string_emchar_dynarr'.
3077 - Include "character.h".
3078 (struct console_methods): Use <const Charc *> instead of <const
3079 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3080 <Emchar_dynarr *> in output_string_method.
3082 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3085 * console-stream.c (stream_text_width): Use <const Charc *>
3086 instead of <const Emchar *>.
3088 * character.h (Charc_dynarr): New type.
3090 * char-ucs.h (structure Charc): New structure; define new type
3093 * char-lb.h (DECODE_CHAR): New inline function.
3094 (encode_char_1): New inline function.
3095 (ENCODE_CHAR): New macro.
3096 (structure Charc): New structure; define new type `Charc'.
3098 * char-1byte.h (Vcharset_control_1): New macro.
3099 (Vcharset_latin_iso8859_1): New macro.
3100 (DECODE_CHAR): New inline function.
3101 (encode_char_1): New inline function.
3102 (ENCODE_CHAR): New macro.
3103 (structure Charc): New structure; define new type `Charc'.
3105 * insdel.c (find_charsets_in_charc_string): New function; delete
3106 `find_charsets_in_emchar_string'.
3107 (charc_string_displayed_columns): New function; delete
3108 `emchar_string_displayed_columns'.
3109 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3110 `convert_bufbyte_string_into_emchar_dynarr'.
3111 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3112 `convert_charc_string_into_bufbyte_dynarr'.
3113 (convert_charc_string_into_malloced_string): New function; delete
3114 `convert_charc_string_into_malloced_string'.
3116 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3117 `find_charsets_in_emchar_string'.
3118 (charc_string_displayed_columns): New prototype; delete
3119 `emchar_string_displayed_columns'.
3120 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3121 `convert_charc_string_into_bufbyte_dynarr'.
3122 (convert_charc_string_into_malloced_string): New prototype; delete
3123 `convert_charc_string_into_malloced_string'.
3125 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3127 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3129 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3131 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3133 * char-ucs.h: Use <short> for <Charset_ID>.
3135 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3138 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3140 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3143 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3145 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3147 (Qmorohashi_daikanwa): New variable.
3148 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3149 for `morohashi-daikanwa' attribute.
3150 (Fget_char_attribute): Likewise.
3151 (Fput_char_attribute): Likewise.
3152 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3153 has the same value of `ideograph-daikanwa'.
3154 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3155 (vars_of_mule_charset): Setup
3156 `Vcharacter_morohashi_daikanwa_table'.
3158 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3160 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3162 (add_charset_to_list_mapper): Add `key' instead of
3163 `XCHARSET_NAME (value)' to return aliases.
3165 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3167 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3169 (Vcharacter_ideographic_strokes_table): New variable.
3170 (Qideographic_radical): New variable.
3171 (Qideographic_strokes): New variable.
3172 (Fchar_attribute_alist): Use
3173 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3174 attribute; use `Vcharacter_ideographic_strokes_table' for
3175 `ideographic-strokes' attribute.
3176 (Fget_char_attribute): Likewise.
3177 (Fput_char_attribute): Likewise.
3178 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3179 `ideographic-strokes'.
3180 (vars_of_mule_charset): Setup
3181 `Vcharacter_ideographic_radical_table' and
3182 `Vcharacter_ideographic_strokes_table'.
3184 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3186 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3187 (Qtotal_strokes): New variable.
3188 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3189 `total-strokes' attribute.
3190 (Fget_char_attribute): Likewise.
3191 (Fput_char_attribute): Likewise.
3192 (syms_of_mule_charset): Add new symbol `total-strokes'.
3193 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3195 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3197 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3198 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3200 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3201 `->decomposition' attribute.
3202 (Fput_char_attribute): Likewise.
3203 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3205 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3207 * mule-charset.c (decoding_table_check_elements): New function.
3208 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3210 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3212 * mule-charset.c (Fset_charset_mapping_table): Use
3213 `put_char_ccs_code_point'.
3215 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3217 * mule-charset.c (decoding_table_put_char): New inline function.
3218 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3220 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3222 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3223 (XCHARSET_BYTE_SIZE): New macro.
3224 (decoding_table_remove_char): New inline function.
3225 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3226 `decoding_table_remove_char'.
3227 (remove_char_ccs): Use `decoding_table_remove_char'.
3228 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3230 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3232 * mule-charset.c (Vcharacter_name_table): New variable.
3233 (Qname): New variable.
3234 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3236 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3237 `Vcharacter_name_table' for `name' attribute.
3238 (Fremove_char_attribute): Use function `remove_char_ccs'.
3239 (put_char_ccs_code_point): New function.
3240 (remove_char_ccs): New function.
3241 (syms_of_mule_charset): Add new symbol `name'.
3242 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3244 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3246 * mule-charset.c (make_byte_table): Add new argument `older'.
3247 (make_char_id_table): Likewise.
3248 (copy_char_id_table): Comment out because it is not used.
3249 (put_char_id_table): Modify for `make_byte_table'.
3250 (Fput_char_attribute): Make encoding_table as older object;
3251 inherit older bit of `Vcharacter_composition_table'.
3252 (mark_charset): Don't mark `cs->encoding_table'.
3253 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3254 normal object; make `Vcharacter_composition_table' as an older
3255 object; delete staticpro for `Vcharacter_composition_table'; make
3256 `Vcharacter_variant_table' as a normal object.
3258 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3259 (mark_object): Don't check older object in UTF-2000.
3261 * lrecord.h (struct lrecord_header): Add new member `older' in
3263 (set_lheader_implementation): Setup `SLI_header->older' in
3265 (set_lheader_older_implementation): New macro in UTF-2000.
3266 (OLDER_RECORD_P): New macro in UTF-2000.
3267 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3268 (alloc_older_lcrecord): New prototype in UTF-2000.
3269 (alloc_older_lcrecord_type): New macro in UTF-2000.
3271 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3273 * mule-charset.c (byte_table_description): Use
3274 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3275 (char_id_table_description): Delete bogus `, 1'.
3276 (Fget_char_attribute): Refer encoding_table of each coded-charset
3277 to get value of coded-charset attribute of a character.
3278 (Fput_char_attribute): Use `make_older_vector' instead of
3279 `make_vector'; use encoding_table of each coded-charset to store
3280 value of coded-charset attribute of a character.
3281 (Fremove_char_attribute): Use encoding_table of each coded-charset
3282 to store value of coded-charset attribute of a character.
3283 (mark_charset): Mark `cs->encoding_table'; don't mark
3284 `cs->decoding_table'.
3285 (charset_description): Add description of new member
3287 (make_charset): Initialize `encoding_table'.
3289 * char-ucs.h (struct Lisp_Charset): Add new member
3291 (CHARSET_ENCODING_TABLE): New macro.
3292 (XCHARSET_ENCODING_TABLE): New macro.
3293 (charset_code_point): New implementation.
3294 (encode_char_1): Likewise.
3296 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3297 (disksave_object_finalization_1): Call finalizers of
3298 `all_older_lcrecords' in UTF-2000.
3299 (make_older_vector): New function in UTF-2000.
3300 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3303 * lisp.h (make_older_vector): New prototype in UTF-2000.
3305 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3307 * lrecord.h (enum lrecord_type): Rename
3308 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3310 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3311 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3312 `get_char_code_table'.
3314 * mule-charset.c (mark_char_id_table): Renamed from
3315 `mark_char_code_table'.
3316 (char_id_table_equal): Renamed from `char_code_table_equal'.
3317 (char_id_table_hash): Renamed from `char_code_table_hash'.
3318 (make_char_id_table): Renamed from `make_char_code_table'.
3319 (copy_char_id_table): Renamed from `copy_char_code_table'.
3320 (get_char_id_table): Renamed from `get_char_code_table'.
3321 (put_char_id_table): Renamed from `put_char_code_table'.
3322 (to_char_id): Renamed from `to_char_code'.
3324 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3325 `Lisp_Char_Code_Table'.
3326 (char_id_table): Renamed from `char_code_table'.
3327 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3328 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3329 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3330 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3331 (get_char_id_table): Renamed from `get_char_code_table'.
3333 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3335 * lrecord.h (enum lrecord_type): Rename
3336 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3338 * mule-charset.c (mark_byte_table): Renamed from
3339 `mark_char_byte_table'.
3340 (byte_table_equal): Renamed from `char_byte_table_equal'.
3341 (byte_table_hash): Renamed from `byte_table_hash'.
3342 (make_byte_table): Renamed from `make_byte_table'.
3343 (copy_byte_table): Renamed from `copy_char_byte_table'.
3345 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3346 `Lisp_Char_Byte_Table'.
3347 (byte_table): Renamed from `char_byte_table'.
3348 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3349 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3350 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3351 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3353 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3355 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3356 (dfc_convert_to_internal_format): Likewise.
3358 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3359 * text-coding.c (Fcoding_system_alias_p): New function.
3360 * text-coding.c (Fcoding_system_aliasee): New function.
3361 * text-coding.c (append_suffix_to_symbol): New function.
3362 * text-coding.c (dangling_coding_system_alias_p): New function.
3363 * text-coding.c (Ffind_coding_system):
3364 * text-coding.c (Fcopy_coding_system):
3365 * text-coding.c (encode_coding_no_conversion):
3366 * text-coding.c (syms_of_file_coding):
3367 * text-coding.c (vars_of_file_coding):
3368 Rewrite coding system alias code.
3369 Allow nested aliases, like symbolic links.
3370 Allow redefinition of coding system aliases.
3371 Prevent existence of dangling coding system aliases.
3372 Eliminate convert_to_external_format.
3373 Eliminate convert_to_internal_format.
3375 * text-coding.c: Change enum eol_type to eol_type_t.
3377 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3379 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3380 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3382 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3383 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3385 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3387 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3388 `ideograph-daikanwa'.
3390 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3391 (Vcharset_ucs_bmp): Likewise.
3392 (Vcharset_mojikyo): Add new extern variable definition.
3393 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3394 (Vcharset_latin_iso8859_3): Likewise.
3395 (Vcharset_latin_iso8859_4): Likewise.
3396 (Vcharset_latin_iso8859_9): Likewise.
3397 (Vcharset_latin_viscii_lower): Likewise.
3398 (Vcharset_latin_viscii_upper): Likewise.
3399 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3400 `mojikyo' code-point is used to decode.
3401 (encode_char_2): New function [to convert `mojikyo' code-point to
3402 Mojikyo font encoding].
3403 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3404 (breakup_char_1): Likewise.
3405 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3407 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3409 * text-coding.c (Fmake_coding_system): Add document about
3410 `disable-composition' property.
3412 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3414 * text-coding.c (Qdisable_composition): New variable; delete
3416 (Fmake_coding_system): Add new property `disable-composite';
3417 delete property `composite'.
3418 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3419 instead of `!CODING_SYSTEM_COMPOSITE'.
3420 (syms_of_file_coding): Add new symbol `disable-composition';
3421 delete symbol `composite'.
3423 * file-coding.h (struct Lisp_Coding_System): Add
3424 `disable_composition'; delete `enable_composition'.
3425 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3426 `CODING_SYSTEM_COMPOSITE'.
3427 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3428 `XCODING_SYSTEM_COMPOSITE'.
3430 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3432 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3435 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3437 * text-coding.c (Qcomposite): New variable.
3438 (Fmake_coding_system): Add new property `composite'.
3439 (struct decoding_stream): Add `combined_char_count',
3440 `combined_chars' and `combining_table' in UTF-2000.
3441 (COMPOSE_FLUSH_CHARS): New macro.
3442 (COMPOSE_ADD_CHAR): New macro.
3443 (reset_decoding_stream): Reset `str->combined_char_count' and
3444 `str->combining_table' in UTF-2000.
3445 (decode_coding_iso2022): Modify for character-decomposition.
3446 (syms_of_file_coding): Add new symbol `composite'.
3448 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3450 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3451 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3452 of `Vcharacter_composition_table' if `->decomposition' property
3454 (Qlatin_tcvn5712): New variable.
3455 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3456 (complex_vars_of_mule_charset): Add new coded-charset
3459 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3461 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3463 * file-coding.h (struct Lisp_Coding_System): Add
3464 `enable_composition'.
3465 (CODING_SYSTEM_COMPOSITE): New macro.
3466 (XCODING_SYSTEM_COMPOSITE): New macro.
3468 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3470 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3472 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3474 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3475 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3477 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3479 * mule-charset.c (Vcharset_mojikyo): New variable.
3480 (Fdefine_char): Don't use coded-charset which does not have
3481 non-builtin character range to allocate character-id.
3482 (Qmojikyo): New variable.
3483 (syms_of_mule_charset): Add new symbol `mojikyo'.
3484 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3486 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3487 (LEADING_BYTE_MOJIKYO): New macro.
3488 (MIN_CHAR_MOJIKYO): New macro.
3489 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3490 (MAX_CHAR_MOJIKYO): New macro.
3492 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3494 * mule-charset.c (remove_char_attribute): Fixed.
3496 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3498 * mule-charset.c (remove_char_attribute): New function.
3499 (Fremove_char_attribute): New function.
3500 (encode_builtin_char_1): Comment out builtin-support for
3501 greek-iso8859-7 and cyrillic-iso8859-5.
3502 (Fdecode_char): Check `code' is an integer.
3503 (syms_of_mule_charset): Add `remove-char-attribute'.
3504 (MIN_CHAR_GREEK): Deleted.
3505 (MAX_CHAR_GREEK): Likewise.
3506 (MIN_CHAR_CYRILLIC): Likewise.
3507 (MAX_CHAR_CYRILLIC): Likewise.
3508 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3509 MAX_CHAR_GREEK for `greek-iso8859-7'.
3511 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3512 (MAX_CHAR_GREEK): Likewise.
3513 (MIN_CHAR_CYRILLIC): Likewise.
3514 (MAX_CHAR_CYRILLIC): Likewise.
3516 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3518 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3519 format is used without `ucs' property.
3520 (Fdecode_char): Fix problem with GR representation.
3521 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3522 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3524 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3526 * mule-charset.c (make_builtin_char): New function.
3527 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3528 (Fset_charset_mapping_table): Modify for new representation of
3530 (Fdecode_char): New function.
3531 (syms_of_mule_charset): Add new builtin function `decode-char' in
3534 * char-ucs.h (make_builtin_char): New prototype.
3535 (DECODE_CHAR): New inline function.
3536 (MAKE_CHAR): Use `DECODE_CHAR'.
3538 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3540 * text-coding.c (parse_charset_conversion_specs): Use
3541 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3543 (iso2022_designate): Likewise.
3545 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3546 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3548 * mule-charset.c (Vcharset_ucs): New variable.
3549 (print_charset): Change design; use `CHARSET_CHARS' and
3550 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3551 (make_charset): Change signature to specify `chars' and
3552 `dimension' instead of `type'.
3553 (range_charset_code_point): Modify for 256^n-set.
3554 (encode_builtin_char_1): Encode as `ucs' in default.
3555 (Fmake_charset): Modify for `make_charset'.
3556 (Fmake_reverse_direction_charset): Likewise.
3557 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3559 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3562 * char-ucs.h (Vcharset_ucs): New variable.
3563 (LEADING_BYTE_UCS): New macro.
3564 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3565 and `chars' to `unsigned short' from `unsigned int'.
3566 (CHARSET_TYPE): Deleted.
3567 (XCHARSET_TYPE): Deleted.
3569 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3571 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3573 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3574 (ENCODE_CHAR): New macro.
3576 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3578 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3579 to 0.14 (Kawachi-Katakami).
3581 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3583 * text-coding.c (char_encode_shift_jis): Modify for
3584 `charset_code_point'.
3585 (char_encode_iso2022): Likewise.
3587 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3588 (integer) instead of list of <Lisp_Object>s (integers) as the
3589 format of code-point of a coded-charset.
3590 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3591 (encode_builtin_char_1): New function; delete
3592 `split_builtin_char'.
3593 (charset_code_point): Return <int> instead of <Lisp_Object>.
3594 (Fsplit_char): Don't use `SPLIT_CHAR'.
3596 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3597 prototype for `split_builtin_char'.
3598 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3599 (charset_code_point): Likewise.
3600 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3601 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3603 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3605 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3606 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3608 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3610 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3612 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3613 (MAX_CHAR_OBS_94x94): Deleted.
3615 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3617 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3619 * char-ucs.h (MAX_CHAR_BMP): New macro.
3621 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3623 * text-coding.c: Sync with r21-2-24.
3625 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3627 * file-coding.c: Modify for UTF-2000.
3629 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3631 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3634 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3636 * mule-charset.c (split_builtin_char): Delete builtin support for
3637 `katakana-jisx0201'.
3638 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3639 BMP area in builtin representation.
3641 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3642 `Vcharset_katakana_jisx0201'.
3644 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3646 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3647 (Qisolated): New variable.
3648 (Qinitial): New variable.
3649 (Qmedial): New variable.
3650 (Qfinal): New variable.
3651 (Qvertical): New variable.
3652 (Qsmall): New variable.
3653 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3654 `Qvertical' and `Qsmall'.
3655 (Qmojikyo_pj_[1 .. 21]): New variable.
3656 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3657 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3658 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3661 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3663 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3664 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3665 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3667 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3669 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3670 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3672 (Qjapanese_jisx0208_1990): New variable.
3673 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3674 (complex_vars_of_mule_charset): Add new coded-charset
3675 `japanese-jisx0208-1990'.
3677 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3678 (MIN_CHAR_JIS_X0208_1990): New macro.
3679 (MAX_CHAR_JIS_X0208_1990): New macro.
3681 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3683 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3684 coded-charset is not found.
3686 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3688 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3689 (Fdefine_char): Use `Fmake_char'.
3691 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3693 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3694 (Vcharset_hiragana_jisx0208): Deleted.
3695 (Vcharset_katakana_jisx0208): Deleted.
3696 (Qideograph_daikanwa): New variable.
3697 (Qhiragana_jisx0208): Deleted.
3698 (Qkatakana_jisx0208): Deleted.
3699 (split_builtin_char): Split `ideograph-daikanwa'.
3700 (Fsplit_char): New implementation for UTF-2000.
3701 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3702 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3703 (complex_vars_of_mule_charset): Add new coded-charset
3704 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3705 `katakana-jisx0208'.
3707 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3708 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3709 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3710 (MIN_CHAR_DAIKANWA): New macro.
3711 (MAX_CHAR_DAIKANWA): New macro.
3713 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3715 * data.c (Fstring_to_number): Don't recognize floating point if
3718 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3720 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3722 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3724 * mule-charset.c (Qsquare): New variable.
3725 (to_char_code): Add `Qsquare'.
3726 (syms_of_mule_charset): Add new symbol `square'.
3728 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3730 * mule-charset.c (Qcircle): New variable.
3731 (to_char_code): Add `Qcircle'.
3732 (syms_of_mule_charset): Add new symbol `circle'.
3734 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3736 * mule-charset.c (Qfont): New variable.
3737 (to_char_code): Add `Qfont'.
3738 (syms_of_mule_charset): Add new symbol `font'.
3740 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3742 * mule-charset.c (Qsub): New variable.
3743 (to_char_code): Add `Qsub'.
3744 (syms_of_mule_charset): Add new symbol `sub'.
3746 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3748 * mule-charset.c (Fput_char_attribute): Convert each element of
3749 VALUE to GL position if ATTRIBUTE is a GR-set,
3751 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3753 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3754 coded-charset is a GR-set.
3756 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3758 * mule-charset.c (Fput_char_attribute): Check each element of
3759 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3761 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3763 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3765 (Qethiopic_ucs): New variable in UTF-2000.
3766 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3767 (complex_vars_of_mule_charset): Add new coded-charset
3768 `ethiopic-ucs' in UTF-2000.
3770 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3771 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3773 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3775 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3777 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3779 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3782 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3784 * mule-charset.c (Vcharacter_variant_table): New variable.
3785 (Q_ucs): New variable.
3786 (Fchar_variants): New function.
3787 (Fput_char_attribute): Register `->ucs' value to
3788 `Vcharacter_variant_table'.
3789 (syms_of_mule_charset): Add new function `char-variants' and new
3791 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3793 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3795 * mule-charset.c (get_char_code_table): Allow negative character
3797 (put_char_code_table): Likewise.
3798 (Vcharacter_composition_table): New variable.
3799 (Q_decomposition): New variable.
3800 (Qwide): New variable.
3801 (Qnarrow): New variable.
3802 (Qcompat): New variable.
3803 (QnoBreak): New variable.
3804 (Qsuper): New variable.
3805 (Qfraction): New variable.
3806 (to_char_code): New function.
3807 (Fget_composite_char): New function.
3808 (Fput_char_attribute): Register `->decomposition' value to
3809 `Vcharacter_composition_table'.
3810 (syms_of_mule_charset): Add new function `get-composite-char', new
3811 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3812 `super' and `fraction'.
3813 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3815 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3817 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3818 character; copy the return value.
3820 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3822 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3824 * mule-charset.c (range_charset_code_point): Must use make_int.
3825 (split_builtin_char): New function.
3827 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3829 * mule-charset.c (char_byte_table): Change name from
3830 "char-code-table" to "char-byte-table".
3831 (mark_char_code_table): New function.
3832 (char_code_table_equal): New function.
3833 (char_code_table_hash): New function.
3834 (char_code_table_description): New constant.
3835 (char_code_table): New type.
3836 (make_char_code_table): New function.
3837 (copy_char_code_table): New function.
3838 (get_char_code_table): Modify for `char_code_table' type.
3839 (put_char_code_table): Likewise.
3840 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3843 * char-ucs.h (char_code_table): New type.
3844 (XCHAR_CODE_TABLE): New macro.
3845 (XSETCHAR_CODE_TABLE): New macro.
3846 (CHAR_CODE_TABLE_P): New macro.
3847 (GC_CHAR_CODE_TABLE_P): New macro.
3848 (struct Lisp_Char_Code_Table): New structure.
3850 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3852 * mule-charset.c (Fmake_charset): Setup byte_offset for
3855 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3857 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3860 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3862 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3865 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3867 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3868 charset, it is regarded as a charset.
3869 (put_char_attribute): New function in UTF-2000.
3870 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3871 charset, mapping-table of the charset is modified.
3872 (Fdefine_char): New function in UTF-2000.
3873 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3874 `Fput_char_attribute'.
3875 (syms_of_mule_charset): Add new function `define-char' and new
3876 symbol `ucs' in UTF-2000.
3877 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3879 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3881 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3882 non-UTF-2000 configuration.
3884 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3886 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3887 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3889 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3891 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3892 (Fset_charset_mapping_table): Likewise.
3894 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3895 (CHARSET_ENCODING_TABLE): Delete.
3896 (XCHARSET_ENCODING_TABLE): Delete.
3897 (charset_code_point): New interface.
3899 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3901 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3902 instead of `charset_get_byte1' and `charset_get_byte2'.
3904 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3905 (charset_get_byte2): Deleted.
3907 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3909 * char-ucs.h (SPLIT_CHAR): New inline function.
3910 (breakup_char_1): Use `SPLIT_CHAR'.
3912 * mule-charset.c (range_charset_code_point): New function.
3913 (charset_code_point): New function.
3915 * char-ucs.h (range_charset_code_point): New interface.
3916 (breakup_char_1): Use `range_charset_code_point'.
3918 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3920 * mule-charset.c (Fmake_charset): Delete unused local variable
3923 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3924 (breakup_char_1): Find a charset and code-point in
3925 `Vcharacter_attribute_table'.
3927 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3929 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3932 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3934 * mule-charset.c (Vcharacter_attribute_table): New variable.
3935 (Fchar_attribute_alist): New function.
3936 (Fget_char_attribute): New function.
3937 (Fput_char_attribute): New function.
3938 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3940 (syms_of_mule_charset): Add new function `char-attribute-alist',
3941 `get-char-attribute' and `put-char-attribute'.
3942 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3944 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3946 * mule-charset.c (Fmake_charset): Just use
3947 `get_unallocated_leading_byte'.
3949 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3950 sets; don't use final-byte based number for private sets.
3952 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3954 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3957 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3959 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3962 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3964 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3965 of `CHAR_LEADING_BYTE' in UTF-2000.
3967 * insdel.c (find_charsets_in_bufbyte_string): Use
3968 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3969 (find_charsets_in_emchar_string): Likewise.
3971 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3972 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3974 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3975 (CHAR_CHARSET_ID): New macro.
3977 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3979 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3980 charset-id - MIN_LEADING_BYTE.
3981 (put_char_table): Likewise.
3983 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3985 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3986 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3987 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3988 (CHARSET_ID_OFFSET): New macro.
3989 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3990 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3991 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3992 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3994 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3996 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3997 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3998 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3999 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4000 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4002 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4004 * mule-charset.c (next_allocated_leading_byte): New variable in
4006 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4007 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4008 (get_unallocated_leading_byte): Simply use
4009 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4010 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4013 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4014 (MAX_LEADING_BYTE_PRIVATE): New macro.
4015 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4016 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4018 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4020 * mule-charset.c (Fmake_charset): Allocate final-byte based
4021 charset-id for 94-set, 96-set and 94x94-set.
4023 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4025 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4027 (Fmake_charset): Likewise.
4028 (complex_vars_of_mule_charset): Modify the font registry of
4029 `ucs-bmp' not to match `Ethiopic-Unicode'.
4031 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4033 * mule-charset.c (complex_vars_of_mule_charset): Add font
4034 registory of `ucs-bmp'.
4036 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4038 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4039 coded-charsets in `default-coded-charset-priority-list' when
4040 breaking up a character.
4042 * mule-charset.c (Vcharset_latin_viscii): New variable.
4043 (Qlatin_viscii): New variable.
4044 (make_charset): Don't use `decoding_table'.
4045 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4047 (Fset_charset_mapping_table): New implementation.
4048 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4049 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4050 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4051 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4052 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4053 charset `latin_viscii'.
4055 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4056 (CHARSET_TYPE_94X94): Change to 1 from 2.
4057 (CHARSET_TYPE_96): Change to 2 from 1.
4058 (CHARSET_TYPE_128): New macro.
4059 (CHARSET_TYPE_128X128): Change to 5 from 4.
4060 (CHARSET_TYPE_256): New macro.
4061 (CHARSET_TYPE_256X256): Change to 7 from 5.
4062 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4064 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4066 * text-coding.c (char_encode_shift_jis): Refer
4067 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4068 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4070 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4071 (char_byte_table_equal): New function in UTF-2000.
4072 (char_byte_table_hash): New function in UTF-2000.
4073 (char_byte_table_description): New constant in UTF-2000.
4074 (char_byte_table): New type in UTF-2000.
4075 (make_char_byte_table): New function in UTF-2000.
4076 (copy_char_byte_table): New function in UTF-2000.
4077 (make_char_code_table): New macro in UTF-2000.
4078 (get_char_code_table): New function in UTF-2000.
4079 (put_char_code_table): New function in UTF-2000.
4080 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4081 (charset_description): Add setting in UTF-2000.
4082 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4083 `CHARSET_TO_BYTE1_TABLE(cs)'.
4084 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4085 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4086 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4087 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4088 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4089 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4090 `CHARSET_TO_BYTE2_TABLE(cs)'.
4092 * char-ucs.h (char_byte_table): New type.
4093 (XCHAR_BYTE_TABLE): New macro.
4094 (XSETCHAR_BYTE_TABLE): New macro.
4095 (CHAR_BYTE_TABLE_P): New macro.
4096 (GC_CHAR_BYTE_TABLE_P): New macro.
4097 (struct Lisp_Char_Byte_Table): New structure.
4098 (get_char_code_table): New interface.
4099 (Emchar_to_byte_table): Deleted.
4100 (get_byte_from_character_table): Deleted.
4101 (struct Lisp_Charset): Add `encoding_table'; delete
4102 `to_byte1_table' and `to_byte2_table'.
4103 (CHARSET_ENCODING_TABLE): New macro.
4104 (CHARSET_TO_BYTE1_TABLE): Deleted.
4105 (CHARSET_TO_BYTE2_TABLE): Deleted.
4106 (XCHARSET_ENCODING_TABLE): New macro.
4107 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4108 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4110 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4112 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4113 `vietnamese-viscii-*'.
4115 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4117 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4118 (Qvietnamese_viscii_upper): New variable.
4119 (Fdefine_charset_alias): New function.
4120 (syms_of_mule_charset): Add new function `define-charset-alias'.
4121 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4122 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4125 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4127 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4128 (MAX_CHAR_OBS_94x94): New macro.
4129 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4132 * mule-charset.c (put_byte_from_character_table): Change unit size
4134 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4136 (Fmake_reverse_direction_charset): Modify dummy argument of
4137 `make_charset' for non-UTF-2000 environment.
4139 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4141 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4143 * mule-charset.c (destroy_byte_from_character_table): New macro.
4144 (latin_jisx0201_to_ucs): Deleted.
4145 (latin_iso8859_2_to_ucs): Deleted.
4146 (latin_iso8859_3_to_ucs): Deleted.
4147 (latin_iso8859_4_to_ucs): Deleted.
4148 (latin_iso8859_9_to_ucs): Deleted.
4149 (latin_viscii_lower_to_ucs): Deleted.
4150 (latin_viscii_upper_to_ucs): Deleted.
4151 (mark_charset): Mark `cs->decoding_table'.
4152 (Fcharset_mapping_table): Fix DOC-string.
4153 (Fset_charset_mapping_table): New function.
4154 (syms_of_mule_charset): Add nwe function
4155 `set-charset-mapping-table'.
4156 (complex_vars_of_mule_charset): Don't setup and use
4159 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4161 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4164 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4166 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4167 (Vcharset_katakana_jisx0208): New variable.
4168 (Qhiragana_jisx0208): New variable.
4169 (Qkatakana_jisx0208): New variable.
4170 (make_charset): Add new argument `byte_offset'.
4171 (charset_get_byte1): Modify for new coded-charset definition; use
4172 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4173 `XCHARSET_BYTE_OFFSET'.
4174 (Fmake_charset): Modify for `make_charset'.
4175 (Fmake_reverse_direction_charset): Likewise.
4176 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4177 `katakana-jisx0208'.
4178 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4179 `.' in font registry of charset `katakana-jisx0201',
4180 `latin-jisx0201', `vietnamese-viscii-lower' and
4181 `vietnamese-viscii-upper'; modify DOC-string of charset
4182 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4183 registry of charset `japanese-jisx0208' not to use font for JIS
4184 X0208:1990; add new charset `hiragana-jisx0208' and
4185 `katakana-jisx0208'.
4187 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4188 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4189 (struct Lisp_Charset): Add `byte_offset'.
4190 (CHARSET_BYTE_OFFSET): New macro.
4191 (XCHARSET_UCS_MIN): New macro.
4192 (XCHARSET_UCS_MAX): New macro.
4193 (XCHARSET_CODE_OFFSET): New macro.
4194 (XCHARSET_BYTE_OFFSET): New macro.
4195 (MIN_CHAR_HIRAGANA): New macro.
4196 (MAX_CHAR_HIRAGANA): New macro.
4197 (MIN_CHAR_KATAKANA): New macro.
4198 (MAX_CHAR_KATAKANA): New macro.
4199 (MAKE_CHAR): Modify for new coded-charset definition; use
4200 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4201 `XCHARSET_BYTE_OFFSET'.
4203 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4205 * mule-charset.c (CHAR96): Deleted.
4206 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4208 (latin_iso8859_2_to_ucs): Likewise.
4209 (latin_iso8859_3_to_ucs): Likewise.
4210 (latin_iso8859_4_to_ucs): Likewise.
4211 (latin_iso8859_9_to_ucs): Likewise.
4212 (latin_viscii_lower_to_ucs): Likewise.
4213 (latin_viscii_upper_to_ucs): Likewise.
4214 (latin_tcvn5712_to_ucs): Commented out.
4215 (make_charset): Change type of argument `decoding_table' from
4216 <Emchar*> to <Lisp_Object> [vector of characters].
4217 (Fmake_charset): Modify for `make_charset'.
4218 (Fmake_reverse_direction_charset): Likewise.
4219 (Fcharset_mapping_table): New function in UTF-2000.
4220 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4222 (complex_vars_of_mule_charset): Modify for type change of
4223 `*_to_ucs'; modify for `make_charset'.
4225 * char-ucs.h (struct Lisp_Charset): Change type of
4226 `decoding_table' from <Emchar*> to <Lisp_Object>.
4227 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4229 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4231 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4232 error with non-UTF-2000-Mule.
4234 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4236 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4238 (Vcharset_chinese_cns11643_4): Likewise.
4239 (Vcharset_chinese_cns11643_5): Likewise.
4240 (Vcharset_chinese_cns11643_6): Likewise.
4241 (Vcharset_chinese_cns11643_7): Likewise.
4242 (Qchinese_cns11643_3): Likewise.
4243 (Qchinese_cns11643_4): Likewise.
4244 (Qchinese_cns11643_5): Likewise.
4245 (Qchinese_cns11643_6): Likewise.
4246 (Qchinese_cns11643_7): Likewise.
4247 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4248 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4249 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4250 (complex_vars_of_mule_charset): Likewise.
4252 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4254 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4256 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4257 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4259 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4261 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4263 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4264 (breakup_char_1): Likewise.
4266 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4267 one of them includes the specified character.
4269 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4271 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4273 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4275 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4277 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4279 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4280 definition for non-UTF-2000 Mule.
4281 (latin_iso8859_3_to_ucs): Likewise.
4282 (latin_iso8859_4_to_ucs): Likewise.
4283 (latin_iso8859_9_to_ucs): Likewise.
4284 (latin_jisx0201_to_ucs): Likewise.
4285 (MIN_CHAR_THAI): Likewise.
4286 (MAX_CHAR_THAI): Likewise.
4287 (MIN_CHAR_GREEK): Likewise.
4288 (MAX_CHAR_GREEK): Likewise.
4289 (MIN_CHAR_HEBREW): Likewise.
4290 (MAX_CHAR_HEBREW): Likewise.
4291 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4292 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4293 (MIN_CHAR_CYRILLIC): Likewise.
4294 (MAX_CHAR_CYRILLIC): Likewise.
4296 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4298 * char-ucs.h (breakup_char_1): Use
4299 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4300 thai-tis620 and katakana-jisx0201 area.
4302 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4304 * char-ucs.h (breakup_char_1): Use
4305 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4308 * text-coding.c (reset_encoding_stream): Fixed.
4309 (char_encode_ucs4): Delete `& 255'.
4311 * char-ucs.h (breakup_char_1): Use
4312 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4314 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4316 * file-coding.c (Fmake_coding_system): Don't set up
4317 `codesys->fixed.size'.
4318 (encode_coding_no_conversion): Don't refer
4319 `str->codesys->fixed.size'.
4321 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4323 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4324 (latin_a_char_to_byte1): Deleted.
4325 (latin_a_char_to_byte2): Deleted.
4327 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4329 * mule-charset.c (make_charset): Add new argument `ucs_min',
4330 `ucs_max' and `code_offset'.
4331 (charset_get_byte1): New implementation [delete specific charset
4332 depended implementations].
4333 (Fmake_charset): Modify for `make_charset'.
4334 (Fmake_reverse_direction_charset): Likewise.
4335 (complex_vars_of_mule_charset): Likewise.
4337 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4339 (CHARSET_UCS_MIN): New macro.
4340 (CHARSET_UCS_MAX): New macro.
4341 (CHARSET_CODE_OFFSET): New macro.
4342 (MAKE_CHAR): Delete charset depended definitions [except
4345 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4347 * char-ucs.h (breakup_char_1): Use
4348 `Vdefault_coded_charset_priority_list' for C0-Controls,
4349 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4351 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4353 * char-ucs.h (charset_get_byte1): New function.
4354 (XCHARSET_GET_BYTE1): Deleted.
4355 (charset_get_byte2): New function.
4356 (XCHARSET_GET_BYTE2): Deleted.
4357 (Vdefault_coded_charset_priority_list): New external variable.
4358 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4359 `Vdefault_preferred_coded_charset_list'.
4361 * mule-charset.c (charset_get_byte1): New function.
4362 (charset_get_byte2): New function.
4363 (Vdefault_coded_charset_priority_list): New variable.
4364 (vars_of_mule_charset): Add new variable
4365 `default-coded-charset-priority-list'.
4367 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4369 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4370 (XCHARSET_GET_BYTE2): New inline function.
4371 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4372 `XCHARSET_GET_BYTE2'.
4374 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4376 * mule-charset.c (make_charset): Initialize
4377 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4378 NULL if table is not defined.
4380 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4382 * text-coding.c (char_encode_shift_jis): Use
4383 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4384 `ucs_to_latin_jisx0201'.
4386 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4387 (ucs_to_latin_iso8859_2): Deleted.
4388 (ucs_to_latin_iso8859_3): Deleted.
4389 (ucs_to_latin_iso8859_4): Deleted.
4390 (ucs_to_latin_iso8859_9): Deleted.
4391 (ucs_to_latin_viscii_lower): Deleted.
4392 (ucs_to_latin_viscii_upper): Deleted.
4393 (ucs_to_latin_tcvn5712): Deleted.
4394 (make_charset): Add new argument `decoding_table'; set up
4395 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4396 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4397 `decoding_table' is defined in UTF-2000.
4398 (Fmake_charset): Modify for `make_charset'.
4399 (Fmake_reverse_direction_charset): Likewise.
4400 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4401 and `GENERATE_96_SET'.
4403 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4404 (ucs_to_latin_jisx0201): Deleted.
4405 (latin_iso8859_2_to_ucs): Deleted.
4406 (ucs_to_latin_iso8859_2): Deleted.
4407 (latin_iso8859_3_to_ucs): Deleted.
4408 (ucs_to_latin_iso8859_3): Deleted.
4409 (latin_iso8859_4_to_ucs): Deleted.
4410 (ucs_to_latin_iso8859_4): Deleted.
4411 (latin_iso8859_9_to_ucs): Deleted.
4412 (ucs_to_latin_iso8859_9): Deleted.
4413 (latin_viscii_lower_to_ucs): Deleted.
4414 (ucs_to_latin_viscii_lower): Deleted.
4415 (latin_viscii_upper_to_ucs): Deleted.
4416 (ucs_to_latin_viscii_upper): Deleted.
4417 (struct Lisp_Charset): Renamed `encoding_table' to
4418 `to_byte1_table'; add `to_byte2_table'.
4419 (CHARSET_DECODING_TABLE): New macro.
4420 (CHARSET_TO_BYTE1_TABLE): New macro.
4421 (CHARSET_TO_BYTE2_TABLE): New macro.
4422 (XCHARSET_DECODING_TABLE): New macro.
4423 (XCHARSET_TO_BYTE1_TABLE): New macro.
4424 (XCHARSET_TO_BYTE2_TABLE): New macro.
4425 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4427 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4428 don't use `ucs_to_*' tables.
4430 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4432 * text-coding.c (Fmake_coding_system): Don't set up
4433 `codesys->fixed.size'.
4434 (encode_coding_no_conversion): Use `if' instead of `switch'.
4436 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4438 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4440 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4441 (Fmake_charset): Modify for `make_charset'.
4442 (Fmake_reverse_direction_charset): Likewise.
4443 (complex_vars_of_mule_charset): Likewise.
4445 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4447 * text-coding.c (char_encode_shift_jis): Use table
4448 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4450 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4452 * text-coding.c (text_encode_generic): Use `if' instead of
4454 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4457 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4459 * text-coding.c (encode_coding_sjis): Deleted.
4460 (char_encode_shift_jis): New function.
4461 (char_finish_shift_jis): New function.
4462 (reset_encoding_stream): Set up `encode_char' and `finish' for
4463 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4464 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4465 (char_encode_utf8): Treat `eol_type'.
4467 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4469 * file-coding.c (decode_coding_iso2022): Use
4470 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4472 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4474 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4477 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4479 * char-lb.h (CHAR_COLUMNS): New macro.
4481 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4483 * text-coding.c (char_encode_ucs4): New function.
4484 (char_finish_ucs4): New function.
4485 (encode_coding_ucs4): Deleted.
4486 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4487 (text_encode_generic): Delete local variable `charset' and `half'.
4488 (ucs_to_mule_table): Deleted.
4489 (mule_to_ucs_table): Deleted.
4490 (Fset_ucs_char): Deleted.
4491 (ucs_to_char): Deleted.
4492 (Fucs_char): Deleted.
4493 (Fset_char_ucs): Deleted.
4494 (Fchar_ucs): Deleted.
4495 (decode_ucs4): Deleted.
4496 (mule_char_to_ucs4): Deleted.
4497 (encode_ucs4): Deleted.
4498 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4499 (decode_coding_utf8): Likewise.
4500 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4501 (char_encode_iso2022): Fixed.
4502 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4503 `Fset_char_ucs' and `Fchar_ucs'.
4504 (complex_vars_of_file_coding): Don't initialize
4505 `ucs_to_mule_table'.
4507 * objects-tty.c (tty_initialize_font_instance): Don't use
4510 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4513 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4514 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4516 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4517 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4518 (emchar_string_displayed_columns): Likewise.
4520 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4521 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4522 (string_column_at_point): Likewise.
4523 (Fmove_to_column): Likewise.
4525 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4526 `encoding_table' and `decoding_table'.
4527 (CHARSET_REP_BYTES): Deleted.
4528 (XCHARSET_REP_BYTES): Deleted.
4529 (XCHARSET_COLUMNS): Deleted.
4530 (CHAR_COLUMNS): New macro.
4531 (lookup_composite_char): Deleted unconditionally.
4532 (composite_char_string): Likewise.
4534 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4536 * char-ucs.h (Emchar_to_byte_table): New type.
4537 (get_byte_from_character_table): New function interface.
4538 (Vcharset_latin_jisx0201): New variable.
4539 (latin_jisx0201_to_ucs): New variable.
4540 (ucs_to_latin_jisx0201): New variable.
4541 (Vcharset_latin_iso8859_2): New variable.
4542 (latin_iso8859_2_to_ucs): New variable.
4543 (ucs_to_latin_iso8859_2): New variable.
4544 (Vcharset_latin_iso8859_3): New variable.
4545 (latin_iso8859_3_to_ucs): New variable.
4546 (ucs_to_latin_iso8859_3): New variable.
4547 (Vcharset_latin_iso8859_4): New variable.
4548 (latin_iso8859_4_to_ucs): New variable.
4549 (ucs_to_latin_iso8859_4): New variable.
4550 (Vcharset_latin_iso8859_9): New variable.
4551 (latin_iso8859_9_to_ucs): New variable.
4552 (ucs_to_latin_iso8859_9): New variable.
4553 (Vcharset_latin_viscii_lower): New variable.
4554 (latin_viscii_lower_to_ucs): New variable.
4555 (ucs_to_latin_viscii_lower): New variable.
4556 (Vcharset_latin_viscii_upper): New variable.
4557 (latin_viscii_upper_to_ucs): New variable.
4558 (ucs_to_latin_viscii_upper): New variable.
4559 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4560 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4561 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4562 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4563 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4564 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4565 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4566 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4567 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4568 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4570 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4571 (Vcharset_latin_viscii_upper): New variable.
4572 (make_byte_from_character_table): New function.
4573 (put_byte_from_character_table): New function.
4574 (get_byte_from_character_table): New function.
4575 (CHAR96): New macro.
4576 (ucs_to_latin_jisx0201): New variable.
4577 (latin_jisx0201_to_ucs): New variable.
4578 (ucs_to_latin_iso8859_2): New variable.
4579 (latin_iso8859_2_to_ucs): New variable.
4580 (ucs_to_latin_iso8859_3): New variable.
4581 (latin_iso8859_3_to_ucs): New variable.
4582 (ucs_to_latin_iso8859_4): New variable.
4583 (latin_iso8859_4_to_ucs): New variable.
4584 (ucs_to_latin_iso8859_9): New variable.
4585 (latin_iso8859_9_to_ucs): New variable.
4586 (ucs_to_latin_viscii_lower): New variable.
4587 (latin_viscii_lower_to_ucs): New variable.
4588 (ucs_to_latin_viscii_upper): New variable.
4589 (latin_viscii_upper_to_ucs): New variable.
4590 (ucs_to_latin_tcvn5712): New variable.
4591 (latin_tcvn5712_to_ucs): New variable.
4592 (Qlatin_viscii_lower): New variable.
4593 (Qlatin_viscii_upper): New variable.
4594 (syms_of_mule_charset): Set up new symbol
4595 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4596 (complex_vars_of_mule_charset): Set up new charset
4597 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4598 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4599 `ucs_to_<CHARSET>' tables.
4601 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4603 * text-coding.c: New file.
4605 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4607 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4609 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4610 (MAKE_CHAR): Modify for `ucs-bmp'.
4611 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4612 non-MULE characters of BMP.
4614 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4616 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4619 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4622 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4623 - Include character.h for `CHAR_ASCII_P'.
4625 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4627 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4628 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4630 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4631 (BYTE_C0_P): Likewise.
4632 (BYTE_C1_P): Likewise.
4633 (Lstream_get_emchar_1): Likewise.
4634 (Lstream_fput_emchar): Likewise.
4635 (Lstream_funget_emchar): Likewise.
4636 (copy_internal_to_external): Likewise.
4637 (copy_external_to_internal): Likewise.
4639 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4640 (BYTE_C0_P): Likewise.
4641 (BYTE_C1_P): Likewise.
4642 (Lstream_get_emchar_1): Likewise.
4643 (Lstream_fput_emchar): Likewise.
4644 (Lstream_funget_emchar): Likewise.
4645 (copy_internal_to_external): Likewise.
4646 (copy_external_to_internal): Likewise.
4648 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4649 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4651 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4652 (BYTE_ASCII_P): Moved to mb-1byte.h.
4654 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4656 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4658 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4659 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4660 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4661 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4662 (VALIDATE_CHARPTR_FORWARD): Likewise.
4663 (simple_charptr_emchar): Moved to mb-multibyte.h.
4664 (simple_set_charptr_emchar): Likewise.
4665 (simple_charptr_copy_char): Likewise.
4666 (non_ascii_charptr_emchar): Likewise.
4667 (non_ascii_set_charptr_emchar): Likewise.
4668 (non_ascii_charptr_copy_char): Likewise.
4669 (charptr_emchar): Moved to mb-*byte.h.
4670 (set_charptr_emchar): Likewise.
4671 (charptr_copy_char): Likewise.
4673 * mb-1byte.h, mb-multibyte.h: New files.
4675 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4677 * mb-utf-8.h (MULTIBYTE): New macro.
4678 (MAX_EMCHAR_LEN): Moved from buffer.h.
4679 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4681 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4683 * mb-lb.h, multibyte.h: New files.
4685 * char-1byte.h (Charset_ID): Moved from buffer.h.
4686 (MIN_LEADING_BYTE): Likewise.
4687 (LEADING_BYTE_ASCII): Likewise.
4688 (NUM_LEADING_BYTES): Likewise.
4689 (CHARSETP): Likewise.
4690 (CHARSET_BY_LEADING_BYTE): Likewise.
4691 (XCHARSET_LEADING_BYTE): Likewise.
4692 (XCHARSET_GRAPHIC): Likewise.
4693 (XCHARSET_COLUMNS): Likewise.
4694 (XCHARSET_DIMENSION): Likewise.
4695 (CHAR_CHARSET): Likewise.
4696 (CHAR_LEADING_BYTE): Likewise.
4697 (BREAKUP_CHAR): Likewise.
4698 (Vcharset_ascii): Likewise.
4700 * buffer.h: Include multibyte.h unconditionally.
4701 (VALID_CHARPTR_P): Moved to multibyte.h.
4702 (ASSERT_VALID_CHARPTR): Likewise.
4703 (REAL_INC_CHARPTR): Likewise.
4704 (REAL_INC_CHARBYTIND): Likewise.
4705 (REAL_DEC_CHARPTR): Likewise.
4706 (INC_CHARPTR): Likewise.
4707 (INC_CHARBYTIND): Likewise.
4708 (DEC_CHARPTR): Likewise.
4709 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4710 (VALIDATE_CHARPTR_FORWARD): Likewise.
4711 (charptr_n_addr): Likewise.
4712 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4713 (simple_charptr_emchar): Moved to multibyte.h.
4714 (simple_set_charptr_emchar): Likewise.
4715 (simple_charptr_copy_char): Likewise.
4716 (non_ascii_charptr_emchar): Likewise.
4717 (non_ascii_set_charptr_emchar): Likewise.
4718 (non_ascii_charptr_copy_char): Likewise.
4719 (charptr_emchar): Likewise.
4720 (set_charptr_emchar): Likewise.
4721 (charptr_copy_char): Likewise.
4722 (charptr_emchar_n): Likewise.
4723 (Charset_ID): Moved to char-1byte.h.
4724 (Vcharset_ascii): Likewise.
4725 (CHAR_CHARSET): Likewise.
4726 (CHAR_LEADING_BYTE): Likewise.
4727 (LEADING_BYTE_ASCII): Likewise.
4728 (NUM_LEADING_BYTES): Likewise.
4729 (MIN_LEADING_BYTE): Likewise.
4730 (CHARSETP): Likewise.
4731 (CHARSET_BY_LEADING_BYTE): Likewise.
4732 (XCHARSET_LEADING_BYTE): Likewise.
4733 (XCHARSET_GRAPHIC): Likewise.
4734 (XCHARSET_COLUMNS): Likewise.
4735 (XCHARSET_DIMENSION): Likewise.
4736 (BREAKUP_CHAR): Likewise.
4738 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4740 * character.h: Add document about interface for characters.
4742 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4743 (MAKE_CHAR): Delete comment about
4744 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4745 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4746 (BREAKUP_CHAR): Modify name of arguments.
4747 (CHAR_CHARSET): Modify name of argument.
4749 * buffer.h: Delete document about Emchar accessors.
4751 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4753 * character.h (CHAR_INTP): Moved from buffer.h
4754 (CHAR_OR_CHAR_INTP): Likewise.
4755 (XCHAR_OR_CHAR_INT): Likewise.
4756 (CHECK_CHAR_COERCE_INT): Likewise.
4758 * buffer.h (CHAR_INTP): Moved to character.h
4759 (CHAR_OR_CHAR_INTP): Likewise.
4760 (XCHAR_OR_CHAR_INT): Likewise.
4761 (CHECK_CHAR_COERCE_INT): Likewise.
4763 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4766 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4767 - Include char-1byte.h, char-lb.h or char-ucs.h.
4769 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4771 * buffer.h: Include character unconditionally.
4772 (valid_char_p): Moved to char-*.h.
4773 (non_ascii_valid_char_p): Moved to char-lb.h.
4775 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4777 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4779 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4780 in UTF-2000 because it is not ported yet and not to use
4781 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4782 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4783 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4785 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4786 (CHAR_ASCII_P): Moved from character.h.
4788 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4789 (CHAR_ASCII_P): Likewise.
4790 (CHAR_FIELD1_MASK): Deleted.
4791 (CHAR_FIELD2_MASK): Deleted.
4792 (CHAR_FIELD3_MASK): Deleted.
4793 (MAX_CHAR_BASIC_LATIN): New macro.
4794 (CHAR_FIELD1): Deleted.
4795 (CHAR_FIELD2_INTERNAL): Deleted.
4796 (CHAR_FIELD3_INTERNAL): Deleted.
4797 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4798 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4799 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4800 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4801 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4802 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4803 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4804 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4805 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4806 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4807 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4808 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4809 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4810 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4811 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4812 (MIN_CHAR_COMPOSITION): Deleted.
4813 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4814 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4816 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4818 * buffer.h: Include mb-utf-8.h in UTF-2000.
4820 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4822 * mb-utf-8.h: New file.
4824 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4826 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4829 * mule-charset.h, buffer.h (Charset_ID): New type.
4831 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4833 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4834 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4835 instead of `MULE_CHAR_PRIVATE_OFFSET',
4836 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4837 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4838 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4840 * character.h (Vcharset_japanese_jisx0212): New variable
4843 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4845 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4846 (charset_by_attributes): Delete array about direction.
4847 (latin_a_char_to_charset): New variable in UTF-2000.
4848 (latin_a_char_to_byte1): New variable in UTF-2000.
4849 (latin_a_char_to_byte2): New variable in UTF-2000.
4850 (Qucs_bmp): New variable.
4851 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4853 (next_allocated_2_byte_leading_byte): Likewise.
4854 (non_ascii_set_charptr_emchar): Likewise.
4855 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4856 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4857 `charset_by_attributes'.
4858 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4859 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4860 and `CHARSET_BY_LEADING_BYTE'.
4861 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4862 `utf-2000-version' to `vars_of_mule_charset'.
4863 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4864 define `leading-code-private-11' in UTF-2000; move setting of
4865 `utf-2000-version' from `syms_of_mule_charset'.
4866 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4869 * character.h (Charset_ID): New type.
4870 (LEADING_BYTE_UCS_BMP): New macro.
4871 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4872 (CHARSET_ID_OFFSET_94): New macro.
4873 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4874 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4875 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4877 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4878 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4879 (CHARSET_ID_OFFSET_96): New macro.
4880 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4881 CHARSET_ID_OFFSET_96 and final-byte.
4882 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4883 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4884 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4885 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4886 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4887 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4888 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4889 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4890 (LEADING_BYTE_THAI_TIS620): Likewise.
4891 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4892 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4893 (CHARSET_ID_OFFSET_94x94): New macro.
4894 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4895 CHARSET_ID_OFFSET_94x94 and final-byte.
4896 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4897 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4898 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4899 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4900 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4901 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4902 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4903 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4904 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4905 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4906 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4907 (CHARSET_TYPE_128X128): New macro.
4908 (CHARSET_TYPE_256X256): New macro.
4909 (XCHARSET_PRIVATE_P): Delete unconditionally.
4910 (charset_by_attributes): Delete array about direction.
4911 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4912 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4913 (MIN_CHAR_94): New macro.
4914 (MAX_CHAR_94): New macro.
4915 (MIN_CHAR_96): New macro.
4916 (MAX_CHAR_96): New macro.
4917 (MIN_CHAR_94x94): New macro.
4918 (MAX_CHAR_94x94): New macro.
4919 (MIN_CHAR_96x96): New macro.
4920 (MAX_CHAR_96x96): New macro.
4921 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4922 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4923 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4925 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4926 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4927 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4928 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4929 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4930 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4931 `XCHARSET_LEADING_BYTE' to make code-point.
4932 (latin_a_char_to_charset): New variable.
4933 (latin_a_char_to_byte1): New variable.
4934 (latin_a_char_to_byte2): New variable.
4935 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4936 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4937 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4939 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4940 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4941 (find_charsets_in_emchar_string): Likewise.
4942 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4944 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4946 (decode_coding_iso2022): Likewise.
4948 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4951 * redisplay.c (redisplay_text_width_emchar_string): Use
4952 `Charset_ID' instead of `unsigned char'.
4953 (redisplay_frame_text_width_string): Likewise.
4955 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4958 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4959 instead of `unsigned char'.
4960 (face_cachel_charset_font_metric_info): Likewise.
4962 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4963 (get_non_ascii_char_table_value): Likewise.
4964 (get_char_table): Likewise.
4965 (put_char_table): Likewise.
4966 (map_over_other_charset): Likewise.
4967 (map_char_table): Likewise.
4969 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4970 instead of `unsigned char'.
4972 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4974 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4975 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4977 * mule-charset.c (leading_code_private_11): Don't define in
4980 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4981 in UTF-2000 because it is not ported yet and not to use
4982 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4984 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4986 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4988 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4990 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4993 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4994 of unsigned char to store leading-byte.
4996 * chartab.c (get_non_ascii_char_table_value): Don't use
4997 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4999 * file-coding.c (encode_coding_big5): Delete bogus implementation
5002 * character.h (LEADING_BYTE_*): Delete definition for
5004 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5005 (LEADING_BYTE_PREFIX_P): Deleted.
5006 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5007 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5008 (BUFBYTE_LEADING_BYTE_P): Deleted.
5009 (CHARSET_PRIVATE_P): Deleted unconditionally.
5010 (rep_bytes_by_first_byte): Deleted unconditionally.
5011 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5012 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5013 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5014 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5015 (CHAR_FIELD2): Deleted.
5016 (CHAR_FIELD3): Deleted.
5017 (MAKE_CHAR): Delete definition for non-UTF-2000.
5018 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5019 (breakup_char_1): New implementation.
5020 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5021 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5023 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5025 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5028 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5030 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5031 (CHARSET_PRIVATE_P): Likewise.
5032 (XCHARSET_PRIVATE_P): Likewise.
5033 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5035 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5037 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5039 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5041 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5042 (NUM_LEADING_BYTES): Changed from 128 to 256.
5043 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5044 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5046 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5048 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5050 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5051 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5052 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5053 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5054 (Qchinese_cns11643_3): New variable in UTF2000.
5055 (Qchinese_cns11643_4): New variable in UTF2000.
5056 (Qchinese_cns11643_5): New variable in UTF2000.
5057 (Qchinese_cns11643_6): New variable in UTF2000.
5058 (Qchinese_cns11643_7): New variable in UTF2000.
5059 (syms_of_mule_charset): Define `chinese-cns11643-3',
5060 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5061 and `chinese-cns11643-7' in UTF2000.
5062 (vars_of_mule_charset): Initialize
5063 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5065 (complex_vars_of_mule_charset): Setup charset
5066 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5067 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5069 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5071 * mule-charset.c: Move setting for `leading-code-private-11' from
5072 `syms_of_mule_charset' to `vars_of_mule_charset'.
5074 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5076 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5077 and `NUM_LEADING_BYTES' in assert.
5079 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5081 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5083 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5084 `NUM_LEADING_BYTES' instead of 128.
5086 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5088 * mule-charset.h (charset_by_leading_byte): Use
5089 `NUM_LEADING_BYTES' instead of 128.
5090 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5092 * mule-charset.c (charset_by_leading_byte): Use
5093 `NUM_LEADING_BYTES' instead of 128.
5094 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5096 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5099 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5101 * mule-charset.c (syms_of_mule_charset): Update to
5104 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5106 * file-coding.c (encode_coding_sjis): New implementation for
5107 UTF2000. (decode_coding_sjis): Ditto.
5109 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5111 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5112 Don't define in UTF2000.
5114 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5117 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5118 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5121 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5123 * config.h.in (CHAR_IS_UCS4): New macro.
5125 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5126 conventional MULE representation.
5127 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5129 * mule-charset.h: Reverted to original.
5131 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5132 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5133 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5135 * character.h: New file.
5137 * file-coding.c (Fmake_coding_system): Set 1 to
5138 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5140 (encode_coding_no_conversion): New implementation for UTF2000.
5142 * file-coding.h (struct Lisp_Coding_System): Add new member
5145 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5147 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5148 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5149 (encode_coding_iso2022): New implementation for UTF2000.
5151 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5153 * mule-canna.c (c2mu): New implementation for UTF2000.
5156 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5158 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5160 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5162 * file-coding.c (reset_encoding_stream): Set 0 to
5163 `str->iso2022.current_char_boundary' in UTF2000.
5164 (encode_utf8): Don't define in UTF2000.
5165 (encode_coding_utf8): New implementation for UTF-8 representation
5167 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5169 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5171 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5173 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5175 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5177 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5179 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5180 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5181 as UTF-8 in UTF2000.
5182 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5183 (non_ascii_valid_char_p): Don't define in UTF2000.
5184 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5185 (Lstream_get_emchar_1): Likewise.
5186 (utf-2000-version): New variable in UTF2000.
5188 * lread.c (read_escape): Add new reader `u'.
5190 * insdel.c (three_to_one_table): Don't define in UTF2000.
5191 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5192 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5194 (bytind_to_bufpos_func): Likewise.
5195 (buffer_mule_signal_inserted_region): Likewise.
5196 (vars_of_insdel): Don't initialize `three_to_one_table'.
5197 (init_buffer_text): Use `buf->text->mule_size' instead of
5198 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5201 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5202 UTF-8 representation in UTF2000.
5203 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5204 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5205 (decode_coding_iso2022): Don't define local variable `lb' in
5206 UTF2000; don't use LEADING_BYTE in UTF2000; use
5207 `DECODE_ADD_UCS_CHAR' in UTF2000.
5208 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5210 * config.h.in (UTF2000): New macro.
5212 * buffer.h (struct buffer_text): Add new member `mule_size' and
5213 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5214 (valid_char_p): Return always 1 in UTF2000.
5215 (MAX_EMCHAR_LEN): 6 in UTF2000.
5216 (three_to_one_table): Don't define in UTF2000.
5217 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5219 (real_bytind_to_bufpos): Likewise.
5221 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5223 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5225 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5226 representation change.
5227 (Vutf_2000_version): New variable.
5228 (leading_code_private_11): New variable.
5229 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5230 `leading-code-private-11'.
5232 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5233 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5234 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5235 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5236 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5237 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5238 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5239 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5240 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5241 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5242 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5243 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5244 (MIN_CHAR_GREEK): New macro.
5245 (MAX_CHAR_GREEK): New macro.
5246 (MIN_CHAR_CYRILLIC): New macro.
5247 (MAX_CHAR_CYRILLIC): New macro.
5248 (MIN_CHAR_HEBREW): New macro.
5249 (MAX_CHAR_HEBREW): New macro.
5250 (MIN_CHAR_THAI): New macro.
5251 (MAX_CHAR_THAI): New macro.
5252 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5253 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5254 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5255 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5256 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5257 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5258 (CHAR_FIELD2): New inline function.
5259 (CHAR_FIELD3): New inline function.
5260 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5261 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5262 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5263 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5264 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5265 (MIN_CHAR_COMPOSITION): Likewise.
5266 (CHAR_LEADING_BYTE): Modified for character representation change.
5267 (MAKE_CHAR): Likewise.
5269 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5270 (Vcharset_greek_iso8859_7): Likewise.
5271 (Vcharset_cyrillic_iso8859_5): Likewise.
5272 (Vcharset_hebrew_iso8859_8): Likewise.
5273 (Vcharset_thai_tis620): Likewise.
5274 (Vcharset_katakana_jisx0201): Likewise.
5276 2003-09-03 Vin Shelton <acs@xemacs.org>
5278 * XEmacs 21.4.14 is released
5280 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5282 * config.h.in (REGEX_MALLOC): Make it configure'able.
5284 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5286 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5288 * sysdll.c (dll_init):
5289 * sysdll.c (dll_open):
5290 * sysdll.c (dll_close):
5291 * sysdll.c (dll_function):
5292 * sysdll.c (dll_variable):
5293 * sysdll.c (dll_error):
5294 Add support for loading bundles using Darwin/MacOSX
5297 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5299 * process.c (start-process-internal): Document coding systems.
5301 2003-07-30 Jerry James <james@xemacs.org>
5303 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5305 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5307 * event-msw.c (mswindows_enqueue_mouse_button_event):
5308 * event-msw.c (mswindows_wnd_proc):
5309 enqueue button event when scrollwheel event isn't handled by
5310 mswindows_handle_mousewheel_event, such as when the scrollbars
5313 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5315 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5317 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5319 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5321 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5323 * regex.c (re_match_2_internal): Fix matching degenerate word
5326 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5328 * XEmacs 21.4.13 is released
5330 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5332 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5333 * lisp.h (<inttypes.h>):
5334 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5337 2003-03-15 Martin Buchholz <martin@xemacs.org>
5339 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5340 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5341 Result: "temacs can only be run in -batch mode."
5342 Fix: Check xemacs executable candidate for directory-ness.
5344 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5346 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5347 they conflict with <sys/types.h>.
5349 2003-02-14 Martin Buchholz <martin@xemacs.org>
5351 * database.c: Berkeley DB wants __STDC__ to be defined.
5353 2003-02-13 Martin Buchholz <martin@xemacs.org>
5355 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5357 2003-02-01 Martin Buchholz <martin@xemacs.org>
5359 * process-unix.c (unix_send_process): Fix C++ compile error.
5361 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5363 * Added .dylib as an acceptable shared library file extension
5364 * to support MacOSX.
5366 2003-02-01 Martin Buchholz <martin@xemacs.org>
5368 * EmacsFrameP.h (EmacsFramePart):
5369 Kludge to allow compiling with Motif1, but linking with Motif2.
5371 2003-01-28 Martin Buchholz <martin@xemacs.org>
5373 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5376 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5378 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5380 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5382 * sysdll.c: Included lisp.h to define needed alloca_array.
5384 2003-02-13 Martin Buchholz <martin@xemacs.org>
5386 Make XEmacs redisplay 10 times faster.
5387 If, that is, you're using a slow X connection and MoveOpaque.
5388 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5389 Use compress_motion = TRUE.
5390 * EmacsFrame.c (emacsFrameClassRec):
5391 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5392 * EmacsManager.c (emacsManagerClassRec):
5393 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5395 2003-01-30 Vin Shelton <acs@xemacs.org>
5397 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5399 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5401 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5402 Patch by Martin Buchholz.
5404 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5406 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5407 Thanks to icc for warning and Martin Buchholz for reporting.
5409 2003-01-29 Vin Shelton <acs@xemacs.org>
5411 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5413 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5414 remember to multiply by the element size.
5416 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5418 * XEmacs 21.4.12 "Portable Code" is released.
5420 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5422 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5423 * s/cygwin.sc: new linker file.
5425 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5427 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5429 * redisplay-x.c (x_output_string): Use X11-specified types.
5430 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5431 * emacs.c (__free_hook): Use typeof with Intel compiler.
5432 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5434 2003-01-08 Andy Piper <andy@xemacs.org>
5436 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5437 reserve size during unexec().
5439 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5441 * process-unix.c (unix_create_process): Don't let outchannel block.
5443 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5445 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5446 Needed for IsBadReadPtr().
5448 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5450 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5452 2002-12-14 Ben Wing <ben@xemacs.org>
5454 * callint.c: Declaration error.
5456 * dumper.c (pdump_load): Warning fix.
5457 * process.c: GCPRO error.
5458 * glyphs.c (unmap_subwindow):
5459 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5460 * event-stream.c (maybe_kbd_translate): Wrong argument to
5461 character_to_event().
5463 * alloc.c (garbage_collect_1):
5465 * emacs.c (debug_can_access_memory):
5466 * emacs.c (fatal_error_signal):
5467 * emacs.c (mswindows_handle_hardware_exceptions):
5470 * emacs.c (assert_failed):
5471 * emacs.c (syms_of_emacs):
5474 * print.c (std_handle_out_va):
5475 * print.c (write_string_to_stdio_stream):
5476 * print.c (write_fmt_string):
5477 * print.c (printing_badness):
5478 * print.c (printing_major_badness):
5479 * print.c (print_internal):
5480 * print.c (debug_print_no_newline):
5481 * print.c (debug_backtrace):
5482 Be more defensive in handling bad values when printing. Add code
5483 from trunk involving inhibit_non_essential_printing_operations.
5484 When going down or in debug_print(), don't do external conversion
5485 and such and try really, really hard when printing to avoid core
5486 dumping. Add force-debugging-signal, debug_break().
5488 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5490 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5491 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5493 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5495 * database.c: Fix open_database. Berkeley DB API has changed in
5496 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5498 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5500 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5502 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5504 * event-Xt.c (Xt_timeout):
5505 (Xt_timeout_callback):
5506 (emacs_Xt_add_timeout):
5507 (emacs_Xt_remove_timeout):
5508 (Xt_timeout_to_emacs_event):
5509 Turn completed_timeouts from a stack into a queue. Fixes
5510 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5512 2002-11-07 Wolfram Gloger <wg@malloc.de>
5514 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5515 * emacs.c (main): Assert that mmap'd allocation is disabled.
5517 2002-10-14 Andy Piper <andy@xemacs.org>
5519 * glyphs-widget.c (layout_query_geometry): add in fiddle
5520 factor. Include border text in width layout calculation.
5521 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5523 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5525 * XEmacs 21.4.10 "Military Intelligence" is released.
5527 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5529 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5530 using the NAS private array SoundFileInfo that no longer exists in
5531 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5532 and earlier. This is broken for some versions between 1.5a and
5535 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5537 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5539 * emacs.c (shut_down_emacs): Improve crash message.
5541 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5543 * file-coding.c (determine_real_coding_system): Check for coding
5544 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5545 shebangs and Python PEP 263.
5547 2002-10-08 Andy Piper <andy@xemacs.org>
5549 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5550 if static sizes haven't been set.
5552 2002-08-30 Mike Alexander <mta@arbortext.com>
5554 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5557 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5559 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5561 2002-09-20 Mike Sperber <mike@xemacs.org>
5563 (This partially gets back my patch from 2002-07-20 without the
5565 * callproc.c (child_setup): Remove Ben's comment noting confusion
5566 over the file descriptors >= 3: close_process_descs() doesn't
5567 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5568 * process-unix.c (unix_create_process): Call
5569 begin_dont_check_for_quit to inhibit unwanted interaction (and
5570 thus breaking of X event synchronicity) in the child.
5572 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5574 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5577 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5579 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5580 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5581 the xemacs process did not exit, but looped infinitely here. This
5584 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5586 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5587 (find_context): Improve comments.
5589 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5590 (re_match_2): An XCHAR_TABLE operation was missing.
5592 Many of the following changes were inspired by Andy Piper's (now
5593 obsolete) patch to make syntax-table text property lookup optional.
5597 * syntax.h (top level): Document semantics of syntax flags.
5598 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5599 * syntax.c, syntax.h (top level): Document syntax cache better in
5602 [Instrument syntax caching (temporary change)]
5604 * syntax.h (enum syntax_cache_statistics_functions, struct
5605 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5606 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5607 * syntax.c (scan_words, Fforward_comment, scan_lists,
5608 Fbackward_prefix_characters):
5609 * font-lock.c (find_context):
5610 Use them to instrument syntax caching.
5611 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5612 syntax_cache_statistics_function_names): New type and variables.
5613 * syntax.c (update_syntax_cache): Update and report statistics.
5615 [Major syntax cache optimizations]
5617 syntax.c (lookup_syntax_properties): Default off.
5619 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5620 * syntax.c (update_syntax_cache):
5621 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5623 [Minor syntax cache optimizations and code clarifications]
5625 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5626 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5627 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5628 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5629 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5630 (Code clarification.)
5632 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5633 scan_lists): Compute code from syncode, use Boolean macros instead
5634 of redundant masking operations. (Code clarification; any decent
5635 compiler can do this optimization.)
5637 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5640 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5641 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5642 use F*_single_property_change instead of F*_extent_change.
5643 Currently F*_single_property_change is _much_ less efficient.
5645 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5646 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5647 syntax_cache.object properly, don't leave Qt or Qnil.
5648 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5649 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5650 tests for Qt or Qnil.
5652 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5654 * redisplay.c (point_in_line_start_cache):
5655 * extents.c (print_extent_1):
5658 * extents.c (Fset_extent_property): Document `syntax-table' property.
5660 * extents.h (Fnext_single_property_change): EXFUN it.
5662 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5664 * search.c (clear_unused_search_regs): New static function.
5668 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5669 Minor clarifications in comments.
5671 * regex.c (re_match_2_internal): Ensure no stale submatches.
5673 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5675 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5677 2002-08-29 Jerry James <james@xemacs.org>
5679 * lisp.h: structrures -> structures.
5681 2002-06-03 Andy Piper <andy@xemacs.org>
5683 * frame.c (frame_conversion_internal): add conversion appropriate
5684 for setting frame dimensions in pixels.
5686 * console.h (struct console_methods): add device-specific widget
5689 * emacs.c (main_1): initialize glyph vars.
5691 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5692 (handle_focus_event_2): new function. Allow focus to
5693 be set to a particular window and widget.
5694 (enqueue_focus_event): new function. Create a
5695 synthetic focus event.
5696 (emacs_Xt_handle_magic_event): call
5697 handle_focus_event_2.
5699 * frame.c (Fset_frame_pixel_height): new function. Allow
5700 pixel-based sizing. Does the right thing on character-oriented
5702 (Fset_frame_pixel_width): ditto.
5703 (Fset_frame_pixel_size): ditto.
5704 (syms_of_frame): declare.
5706 * general-slots.h: add :vertically-justify and
5707 :horizontally-justify.
5709 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5710 (mswindows_widget_border_width): new function.
5711 (mswindows_combo_box_instantiate): set border widths.
5712 (console_type_create_glyphs_mswindows): declare.
5715 (check_valid_justification): allow vertical and horizontal
5717 (widget_border_width): new function. Call device methods.
5718 (widget_instance_border_width): ditto.
5719 (logical_unit_height): new function. Determine the height of a
5720 logical-unit. Logical units are intended to provide grid-like
5721 layout for subcontrols in a layout. If the layout is
5722 :vertically-justify top then subcontrols will be positioned on
5723 logical-unit boundaries, thus allowing adjacent subcontrols to
5725 (widget_logical_unit_height): ditto for widgets.
5726 (redisplay_widget): misc cleanup.
5727 (widget_spacing): new function. Call device specific
5728 methods. Intended to be the default gap between adjacent widgets.
5729 (widget_query_geometry): use new spacing functions to determine
5730 appropriate geometry.
5731 (initialize_widget_image_instance): initialize horizontal and
5732 vertical justification.
5733 (widget_instantiate): use logica-units where appropriate for
5734 sizing large widgets.
5735 (button_query_geometry): use widget_instance_border_width.
5736 (tree_view_query_geometry): ditto.
5737 (tab_control_query_geometry): ditto.
5738 (edit_field_query_geometry): new function.
5739 (layout_update): pick up :justify, :horizontally-justify and
5740 :vertically-justify none of which worked previously. :justify is
5741 used as a fallback for both horizontal and vertical justification.
5742 (layout_query_geometry): use logical units to size appropriately.
5743 (layout_layout): ditto.
5744 (Fwidget_logical_to_character_width): new function. Allow users to
5745 convert from logical units to characters so that frame sizes can
5746 be set appropriately.
5747 (Fwidget_logical_to_character_height): ditto.
5748 (syms_of_glyphs_widget): declare.
5749 (image_instantiator_edit_fields): add edit_field_query_geometry.
5750 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5751 :horizontally-justify.
5752 (specifier_vars_of_glyphs_widget): new function. Declare
5753 Vwidget_border_width which is not yet used.
5755 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5756 (x_widget_border_width): new function.
5757 (x_widget_instantiate): create a sensible name for widgets.
5758 (console_type_create_glyphs_x): declare x_widget_border_width.
5760 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5761 (struct Lisp_Image_Instance): add :vertically-justify and
5762 :horizontally-justify.
5763 (LAYOUT_JUSTIFY_TOP): new.
5764 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5765 (ROUND_UP): new macro. Round argument up to next integral
5768 * redisplay-output.c (redisplay_output_layout): misc formatting.
5770 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5772 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5774 * XEmacs 21.4.9 "Informed Management" is released.
5776 2002-08-19 Andy Piper <andy@xemacs.org>
5778 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5781 * realpath.c (xrealpath): normalize drive spec also so that dir
5782 sep chars are not mixed on cygwin.
5784 2002-08-06 Jerry James <james@xemacs.org>
5786 * window.c (Fsplit_window): Count only half of the divider width
5787 against the left window when splitting horizontally.
5789 2002-06-24 Andy Piper <andy@xemacs.org>
5791 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5792 toolbar was cleared.
5794 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5795 function. Split out from mswindows_output_frame_toolbars.
5796 (mswindows_output_frame_toolbars): move clear pieces to
5797 mswindows_output_frame_toolbars.
5799 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5800 out from gtk_output_frame_toolbars.
5801 (gtk_output_frame_toolbars): move clear pieces to
5802 gtk_clear_frame_toolbars.
5804 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5805 the frame is cleared. How this ever worked before is a mystery.
5806 (x_output_frame_toolbars): Only output toolbars.
5807 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5809 * gutter.c (update_gutter_geometry):
5810 Mark frame layout changed.
5811 (update_frame_gutter_geometry, update_frame_gutters):
5812 Respect frame_layout_changed.
5814 * console.h (struct console_methods): add
5815 clear_frame_toolbars_method.
5817 * redisplay.c (redisplay_frame): call
5818 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5820 * toolbar.h: declare update_frame_toolbars_geometry.
5822 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5823 out from update_frame_toolbars. Call clear_frame_toolbars.
5824 (update_frame_toolbars): only output, do not change geometry.
5826 * redisplay.c: add frame_layout_changed.
5828 * redisplay.h: add frame_layout_changed.
5829 (CLASS_RESET_CHANGED_FLAGS): set it.
5830 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5831 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5832 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5834 * device.h (struct device): add frame_layout_changed.
5835 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5837 * frame.h (struct frame): add frame_layout_changed.
5838 (MARK_FRAME_LAYOUT_CHANGED): new.
5840 2002-06-30 Mike Alexander <mta@arbortext.com>
5842 * event-msw.c (mswindows_need_event): Don't wait for a new message
5843 if the queue is not empty. Suggested by Paul Moore.
5845 2002-06-12 Andy Piper <andy@xemacs.org>
5847 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5848 for printing on accurately.
5850 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5852 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5853 WM_ACTIVATE message. Make sure that the frame is visible if the
5854 window is visible. This seemss to fix the problem where XEmacs
5855 appears to freeze after switching desktops with certain virtual
5857 (debug_output_mswin_message): Added code to output message
5858 parameters for WM_WINDOWPOSCHANGED,
5859 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5861 2002-05-25 Andy Piper <andy@xemacs.org>
5863 * select-x.c (vars_of_select_x): Fix docstring of
5864 x-selection-strict-motif-ownership
5866 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5868 * keymap.c (get_keymap):
5869 Add comment about do_autoload GCPROs own args.
5871 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5873 * bytecode.c (execute_optimized_program): check_opcode ifdef
5874 ERROR_CHECK_BYTE_CODE.
5876 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5878 Thanks to Ben Wing and Michael Sperber.
5880 * eval.c (Fcommand_execute):
5883 (Fmacroexpand_internal):
5884 (function_argcount):
5885 callint.c (Fcall_interactively):
5886 Add comment about do_autoload GCPROs own args.
5888 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5890 * eval.c (Ffuncall): Extra braces to placate GCC.
5892 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5894 * backtrace.h (grow_specpdl):
5896 * EmacsFrame.c (EmacsFrameSetValues):
5897 * eval.c (grow_specpdl):
5898 * ExternalShell.c (hack_event_masks_1):
5899 * glyphs-x.c (convert_EImage_to_XImage):
5900 (x_finalize_image_instance):
5901 * ralloc.c (page_size):
5903 * xgccache.c (gc_cache_hash):
5904 Fix unsigned comparison warnings.
5906 2002-07-29 Jerry James <james@xemacs.org>
5908 * lread.c (locate_file): Any nonnegative return value indicates
5909 success if MODE is nonnegative.
5911 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5913 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5916 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5918 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5920 * dumper.c (pdump_get_indirect_count):
5921 (pdump_scan_by_alignment):
5922 (pdump_dump_root_struct_ptrs):
5923 (pdump_dump_rtables):
5924 (pdump_dump_root_objects):
5926 * nas.c (WaveOpenDataForReading):
5927 * fns.c (print_bit_vector):
5928 * font-lock.c (SINGLE_SYNTAX_STYLE):
5929 * glyphs.c (check_for_ignored_expose):
5930 (find_matching_subwindow):
5932 * imgproc.c (get_histogram):
5933 * redisplay.c (point_in_line_start_cache):
5934 * redisplay-output.c (redisplay_unmap_subwindows):
5935 * symbols.c (defsymbol_massage_name_1):
5936 (defkeyword_massage_name):
5937 (deferror_massage_name_and_message):
5938 * redisplay-x.c (x_output_string):
5939 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5940 * frame.h (struct frame):
5941 * filelock.c (current_lock_owner):
5942 * doprnt.c (emacs_doprnt_1):
5943 * lisp.h (struct Lisp_Bit_Vector):
5947 2002-02-13 Ben Wing <ben@xemacs.org>
5949 * event-stream.c (reset_key_echo):
5950 * event-stream.c (reset_this_command_keys):
5951 * event-stream.c (execute_command_event):
5952 If console is dead as a result of C-x 5 0, then post-command stuff
5953 needs to be careful and do only non-console-specific stuff.
5955 2002-07-01 Mike Sperber <mike@xemacs.org>
5957 * process-unix.c (unix_send_process): Mark coding_outstream as
5958 non-open upon SIGPIPE.
5960 * event-stream.c (Fnext_event): Reorder switch cases to something
5963 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5965 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5966 Don't bogusly reinitialize ascii_character property.
5968 2002-07-08 Mike Sperber <mike@xemacs.org>
5970 * process.c (Fstart_process_internal): Do error checking before we
5971 fork off the child, so the child can't muck with the state of the
5974 2002-07-08 Mike Sperber <mike@xemacs.org>
5976 * ralloc.c (init_ralloc): Allocate properly for pdump.
5978 2002-06-12 Andy Piper <andy@xemacs.org>
5980 * glyphs.c (query_string_geometry): check the string.
5982 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5985 2002-06-17 Jerry James <james@xemacs.org>
5987 * sysdll.c: Remove RTLD_GLOBAL initialization.
5988 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5990 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5992 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5994 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5996 * sysdep.c (sys_rename): Make sys_rename work for the case where
5997 Windows rename sets errno to EACCES if target file exists.
5999 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
6001 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6002 Fix detection of metric units to work on Win95
6004 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
6006 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
6008 2002-04-25 Andy Piper <andy@xemacs.org>
6010 * redisplay.c (create_text_block): Remove extra comment trailer.
6012 2002-04-24 Andy Piper <andy@xemacs.org>
6014 * redisplay.c (create_text_block): Don't actually add propagation
6015 data if the line ends after we have added a glyph.
6017 2002-04-22 Andy Piper <andy@xemacs.org>
6019 * extents.c (extent_fragment_update): check for glyphs we have
6020 previously displayed.
6021 * extents.c (print_extent_1): warning removal.
6022 * extents.h: change prototype.
6023 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6024 widths correctly for wide glyphs.
6025 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6026 * redisplay.c (prop_type): add PROP_GLYPH.
6027 * redisplay.c (struct prop_block): add glyph type
6028 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6029 to the propagation data.
6030 * redisplay.c (create_text_block): if there is a glyph in the
6031 propagation data use it to salt extent_fragment_update.
6032 * redisplay.c (create_string_text_block): ditto.
6034 2002-04-13 Nix <nix@esperi.demon.co.uk>
6036 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6037 * redisplay-output.c (compare_runes): Compare them.
6038 * redisplay.c: Update copyright date.
6039 * redisplay.c (pos_data): Add need_baseline_computation field.
6040 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6041 need_baseline_computation; zero yoffset. Set max_pixmap_height
6042 for all pixmaps, not just automatically positioned ones.
6043 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6044 * redisplay.c (calculate_baseline): New, compute textual baseline.
6045 * redisplay.c (add_glyph_rune): Call them.
6046 * redisplay.c (create_text_block): Likewise.
6047 * redisplay.c (create_overlay_glyph_block): Likewise.
6048 * redisplay.c (add_margin_runes): Likewise.
6049 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6051 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6052 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6053 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6054 * redisplay-msw.c (mswindows_output_string): Likewise.
6055 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6056 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6057 * redisplay-x.c (x_output_display_block): Likewise.
6059 2002-03-28 Ben Wing <ben@xemacs.org>
6061 * redisplay.c: Fixed bug in redisplay
6062 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6063 and down of the lines, since they're bigger than the line
6064 size. (It was seen most obviously when there's a horizontal scroll
6065 bar, e.g. do C-h a glyph or something like that.) The problem was
6066 that the glyph-contrib-p setting on glyphs was ignored even if it
6067 was set properly, which it wasn't until now.
6069 2002-04-24 Andy Piper <andy@xemacs.org>
6071 * lisp.h (Dynarr_end): Fix definition.
6073 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6075 * redisplay.c (mark_redisplay): Remove call to
6076 update_frame_window_mirror.
6078 2001-11-15 Andy Piper <andy@xemacs.org>
6080 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6083 2002-02-13 Andy Piper <andy@xemacs.org>
6085 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6086 we did in fact enqueue the XM_MAPFRAME event.
6088 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6090 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6091 to fix problem switching between virtual desktops under virtuawin
6092 virtual window manager.
6094 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6096 * event-msw.c: Typo fix.
6097 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6098 magic XM_MAPFRAME event has been sent.
6100 2001-11-23 Andy Piper <andy@xemacs.org>
6102 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6104 2001-11-21 Andy Piper <andy@xemacs.org>
6106 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6107 mouse events outside the frame.
6109 2002-03-20 Andy Piper <andy@xemacs.org>
6111 * menubar-msw.c (mswindows_popup_menu): warning removal.
6112 * dialog-msw.c (dialog_popped_down): ditto.
6114 2001-12-11 Andy Piper <andy@xemacs.org>
6116 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6117 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6119 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6120 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6121 * menubar-msw.c (mswindows_popup_menu): ditto.
6123 2001-10-29 Andy Piper <andy@xemacs.org>
6125 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6128 2002-01-03 Andy Piper <andy@xemacs.org>
6130 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6134 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6136 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6137 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6138 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6139 Detect and handle case where machine is set up for metric units
6141 2002-04-02 Andy Piper <andy@xemacs.org>
6143 * dired-msw.c (mswindows_get_files):
6144 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6145 completely handled by XEmacs. Suggested by Thomas Vogler
6146 <mail@thomas-vogler.de>.
6148 2001-11-14 Andy Piper <andy@xemacs.org>
6150 * nt.c (REG_ROOT): change registry key to XEmacs.
6152 2002-04-27 Andy Piper <andy@xemacs.org>
6154 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6156 2002-04-26 Andy Piper <andy@xemacs.org>
6158 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6161 2002-03-14 Mike Alexander <mta@arbortext.com>
6163 * event-msw.c (mswindows_unwait_process): New, remove process from
6165 * process-nt.c (nt_finalize_process_data): Call
6166 mswindows_unwait_process
6167 * console-msw.h: Declare mswindows_unwait_process
6169 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6171 * editfns.c (Fdecode_time):
6172 (Fformat_time_string):
6173 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6174 (make_time): Warning elimination (change arg name).
6176 2001-11-24 Andy Piper <andy@xemacs.org>
6178 * window.c (Fsplit_window): Doc return type.
6180 2002-04-01 Andy Piper <andy@xemacs.org>
6182 * emacs.c (Fkill_emacs): Only output message box in interactive
6185 2002-04-26 Andy Piper <andy@xemacs.org>
6187 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6190 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6192 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6195 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6197 * XEmacs 21.4.8 "Honest Recruiter" is released.
6199 2002-05-07 Nix <nix@esperi.demon.co.uk>
6201 Supersedes 2002-04-17 patch.
6203 * process.h (PROCESS_LIVE_P): Use the process status as
6204 evidence of health, not the state of the input stream.
6205 (PROCESS_READABLE_P): Say if the process is readable
6206 from. (It may be dead nonetheless.)
6207 (CHECK_READABLE_PROCESS): Test for that condition.
6209 * process.c (create_process): Use PROCESS_READABLE_P.
6210 (read_process_output, set_process_filter): Likewise.
6212 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6213 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6215 This code is #if 0'd, this is not the time to add new functions:
6217 * process.c (Fprocess_readable_p): Report readability status.
6218 * process.c (Qprocess_readable_p): New, associated symbol...
6219 * process.c (syms_of_process): ... initialize it.
6221 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6223 * XEmacs 21.4.7 "Economic Science" is released.
6225 2002-04-17 Nix <nix@esperi.demon.co.uk>
6227 * process.h (PROCESS_LIVE_P): Use the process status as
6228 evidence of health, not the state of the input stream.
6230 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6232 * sysdep.c (sys_siglist): change "signum" to "signal"
6234 2001-04-21 Martin Buchholz <martin@xemacs.org>
6236 * s/darwin.h: New file.
6237 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6239 2002-04-23 Andreas Jaeger <aj@suse.de>
6241 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6242 which use lib64 for 64-bit libs.
6243 (START_FILES): Likewise.
6245 2002-02-11 Mike Sperber <mike@xemacs.org>
6248 (x_IO_error_handler):
6249 (x_init_device): Temporarily keep device in static variable
6250 `device_being_initialized' so we can recover gracefully from
6251 internal XOpenDevice failure. (XOpenDevice is documented to
6252 return NULL on failure, but sometimes calls the IO error handler
6255 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6257 * dired.c (Ffile_name_all_completions): Change documentation --
6258 remove reference to completion-ignored-extensions.
6259 * dired.c (vars_of_dired): Change documentation for
6260 completion-ignored-extensions -- remove reference to
6261 file-name-all-completions.
6263 2002-03-06 Jerry James <james@xemacs.org>
6265 * emodules.c (emodules_load): Fix multiple loading of same module.
6267 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6268 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6269 RTLD_LAZY to avoid incorrect symbol binding when using nested
6270 shared libraries on Solaris.
6272 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6274 * fileio.c (Ffind_file_name_handler): Improve docstring.
6276 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6278 * fns.c (Fmapconcat): Improve docstring.
6280 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6282 * device-gtk.c: Add prototype for
6283 emacs_gtk_selection_clear_event_handle.
6284 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6285 selection. Setup signal handler for "selection_clear_event"
6286 (emacs_gtk_selection_clear_event_handle).
6288 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6289 other applications owning the clipboard (based on
6290 x_handle_selection_clear).
6292 2001-12-23 William M. Perry <wmperry@gnu.org>
6294 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6296 2002-01-04 Martin Buchholz <martin@xemacs.org>
6298 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6300 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6302 * XEmacs 21.4.6 "Common Lisp" is released.
6304 2001-12-16 Torsten Duwe <duwe@caldera.de>
6306 * search.c (Freplace_match): Add missing sub-expression functionality.
6308 * buffer.c (decode_buffer): Add a check for pointer type to
6309 decode_buffer, before gcc's CSE optimization reorders a
6310 dereference in front of the allow_string test.
6312 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6314 * window.c (window_loop): Fix bug that sometimes prevented
6315 window_loop() from iterating across multiple devices. Also, at
6316 Ben's request, changed infloop-detecting code to abort() instead
6317 of silently terminating window_loop().
6319 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6321 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6322 * editfns.c (make_time): New function.
6323 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6324 * lisp.h (make_time): Prototype and comment it.
6325 * dired.c (wasteful_word_to_lisp): Deprecate.
6326 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6328 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6330 * fileio.c (auto_save_1): Use current coding system, not
6333 2001-11-13 Ben Wing <ben@xemacs.org>
6336 * window.c (window_truncation_on):
6337 * window.c (syms_of_window):
6338 truncate-partial-width-windows should respect the buffer being
6339 displayed, like other redisplay vars.
6341 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6343 * event-stream.c (Fread_key_sequence): save current buffer.
6345 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6347 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6349 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6351 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6353 2001-10-26 Mike Alexander <mta@arbortext.com>
6355 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6357 2001-10-25 Andy Piper <andy@xemacs.org>
6360 * dialog-msw.c (handle_directory_proc): new function.
6361 (handle_directory_dialog_box): new fucntion.
6362 (handle_file_dialog_box): use new directory dialog support.
6363 (mswindows_make_dialog_box_internal): ditto.
6364 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6366 (mswindows_find_frame): make global.
6367 * fileio.c (Fexpand_file_name): build fix.
6368 * general-slots.h: add Qdirectory.
6369 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6371 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6372 cygwin not leaving win32 paths unchanged.
6373 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6374 cygwin runtime to do path conversion.
6375 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6376 (syms_of_win32): add new function.
6377 * window.c (window_loop): build fix.
6379 2001-10-15 Andy Piper <andy@xemacs.org>
6381 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6383 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6385 * XEmacs 21.4.5 "Civil Service" is released.
6387 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6389 * glyphs-x.c: Force buffer-tab highlight update when moving the
6390 buffer, avoiding an ugly black border, used for keyboard focus
6391 indication, on a widget that can never have keyboard focus, the
6394 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6396 * process-unix.c (unix_open_multicast_group): Remove too much
6397 conversion between host and network byte order.
6399 2001-09-10 Nix <nix@esperi.demon.co.uk>
6401 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6402 before replacing them.
6404 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6407 * src/window.c (undedicate_windows): Use it.
6408 * src/window.h: Add prototype.
6410 2001-09-17 Ben Wing <ben@xemacs.org>
6412 * fileio.c (normalize_filename):
6413 * fileio.c (Fexpand_file_name):
6414 Fix various C++ compile errors in Andy's recent code.
6416 * callint.c (Fcall_interactively):
6417 * editfns.c (Ftemp_directory):
6418 * editfns.c (Fuser_full_name):
6419 * emacs.c (argmatch):
6420 * lread.c (locate_file_map_suffixes):
6421 * redisplay-x.c (x_ring_bell):
6422 Fix sign-compare warnings.
6424 2001-09-08 Andy Piper <andy@xemacs.org>
6426 * fileio.c (normalize_filename): copied from nt.c
6427 * (Ffile_name_directory): enable win32 paths under cygwin.
6428 * (Ffile_name_nondirectory): ditto.
6429 * (directory_file_name): ditto.
6430 * (Fexpand_file_name): ditto.
6431 * (Ffile_truename): ditto.
6432 * (Fsubstitute_in_file_name): ditto.
6433 * (Ffile_name_absolute_p): ditto.
6434 * (Ffile_readable_p): ditto.
6436 2001-09-08 Andy Piper <andy@xemacs.org>
6438 * device-msw.c (mswindows_finish_init_device): remove dde
6440 * device-msw.c (mswindows_init_dde): factor out from
6441 mswindows_finish_init_device()
6442 * device-msw.c (init_mswindows_very_early): new function
6443 initialize but don't enable dde.
6444 * emacs.c (main_1): call init_mswindows_very_early.
6446 * event-msw.c (mswindows_dde_callback): only execute when we are
6448 * symsinit.h: declare init_mswindows_very_early.
6450 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6452 [sjt: This has been in 21.5 for months with no complaints.]
6454 * console.h (struct console_methods): Added flags member.
6455 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6456 (CONMETH_IMPL_FLAG):
6457 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6458 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6460 * device.c (window_system_pixelated_geometry): Use the above macros.
6462 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6463 implememntation flag.
6464 * device.h (DEVICE_DISPLAY_P): Use it.
6466 * frame.c (delete_frame_internal): Use the above macro.
6468 * redisplay.c (redisplay_device): Use it.
6469 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6470 (redisplay_frame): Ditto.
6472 * device-msw.c (mswindows_device_implementation_flags): Removed.
6473 (msprinter_device_implementation_flags): Removed.
6474 (console_type_create_device_mswindows): Removed references to
6475 implementation_flags methods, set implementation flags here.
6476 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6478 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6479 (console_type_create_device_gtk): Removed method declaration.
6480 Added commented out statement which semantically matches the
6481 commented out statement in the above removed method.
6483 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6485 The attached patch fixes a few warnings.
6487 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6488 * src/frame-gtk.c: guard against GNOME calls in GTK only
6489 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6490 * src/select-gtk.c: prototype lisp_to_time
6492 2001-06-08 Ben Wing <ben@xemacs.org>
6494 ------ gc-in-window-procedure fixes ------
6497 * alloc.c (struct post_gc_action):
6498 * alloc.c (register_post_gc_action):
6499 * alloc.c (run_post_gc_actions):
6500 * alloc.c (garbage_collect_1):
6501 Create "post-gc actions", to avoid those dreaded "GC during window
6502 procedure" problems.
6505 Abort, clean and simple, when GC in window procedure. We want
6506 to flush these puppies out.
6509 * glyphs-msw.c (finalize_destroy_window):
6510 * glyphs-msw.c (mswindows_finalize_image_instance):
6511 Use a post-gc action when destroying subwindows.
6514 Declare register_post_gc_action().
6517 * scrollbar-msw.c (unshow_that_mofo):
6518 Use a post-gc action when unshowing scrollbar windows, if in gc.
6520 * redisplay.c (mark_redisplay):
6521 Add comment about the utter evilness of what's going down here.
6523 ------ cygwin setitimer fixes ------
6525 * Makefile.in.in (sheap_objs):
6526 * Makefile.in.in (profile_objs):
6527 * Makefile.in.in (objs):
6528 Compile profile.c only when HAVE_SETITIMER.
6530 * nt.c (mswindows_sigset):
6531 * nt.c (mswindows_sighold):
6532 * nt.c (mswindows_sigrelse):
6533 * nt.c (mswindows_sigpause):
6534 * nt.c (mswindows_raise):
6535 * nt.c (close_file_data):
6539 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6542 * profile.c (Fstart_profiling):
6543 * profile.c (Fstop_profiling):
6544 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6545 instead of just plain setitimer().
6548 * signal.c (set_one_shot_timer):
6550 Define qxe_setitimer() as an encapsulation around setitimer() --
6551 call setitimer() directly unless Cygwin or MS Win, in which case
6552 we use our simulated version in win32.c.
6555 * systime.h (struct itimerval):
6556 * systime.h (ITIMER_REAL):
6557 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6558 comment about "qxe" and the policy regarding encapsulation.
6561 * win32.c (setitimer_helper_proc):
6562 * win32.c (setitimer_helper_period):
6563 * win32.c (setitimer_helper):
6564 * win32.c (mswindows_setitimer):
6565 Move setitimer() emulation here, so Cygwin can use it.
6566 Rename a couple of functions and variables to be longer and more
6567 descriptive. In setitimer_helper_proc(), send the signal
6568 using either mswindows_raise() or (on Cygwin) kill(). If for
6569 some reason we are still getting lockups, we'll change the kill()
6570 to directly invoke the signal handlers.
6572 ------ windows shell fixes ------
6576 Comments about how these two files must die.
6578 * callproc.c (init_callproc):
6579 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6580 not just COMSPEC. (more correct and closer to FSF.) Don't
6581 force a value for SHELL into the environment. (Comments added
6582 to explain why not.)
6584 * nt.c (init_user_info):
6585 Don't shove a fabricated SHELL into the environment. See above.
6587 2001-06-01 Ben Wing <ben@xemacs.org>
6589 * Makefile.in.in (ldflags):
6590 eliminate that pesky "defaulting to 00401000" warning.
6594 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6596 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6597 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6599 2001-04-24 Jerry James <james@xemacs.org>
6601 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6604 2001-06-01 Ben Wing <ben@xemacs.org>
6606 * event-msw.c (debug_mswin_messages):
6607 conditionalize the messages that were causing compile errors.
6608 (if only macros could generate #ifdef statements ...)
6610 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6612 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6614 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6616 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6618 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6620 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6621 * process-unix.c (unix_canonicalize_host_name):
6622 sysdep.c (init_system_name):
6623 Use it to conditionally support IPv6 canonicalization.
6625 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6628 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6630 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6632 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6633 attempt is made to scroll when no scroll bar is available.
6635 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6637 * input-method-motif.c (XIM_delete_frame): New callback.
6638 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6639 got deleted from 21.4.3.)
6641 2001-06-01 Ben Wing <ben@xemacs.org>
6643 * nt.c (mswindows_utime):
6644 * nt.c (close_file_data):
6645 fix off-by-one-indirection error.
6647 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6649 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6650 because set_file_times() now takes Lisp_Object path, instead of
6652 * nt.c: Include buffer.h.
6653 * nt.c (convert_from_time_t): New.
6654 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6655 not set mtime correctly.
6656 * nt.h: Declare mswindows_utime().
6657 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6658 path, instead of char*.
6659 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6661 2001-05-30 Ben Wing <ben@xemacs.org>
6665 (Stephen, just take all event-msw.c patches. This includes
6666 the "iconify" fix below.)
6669 * event-msw.c (mswindows_dequeue_dispatch_event):
6670 * event-msw.c (assert):
6671 * event-msw.c (emacs_mswindows_quit_p):
6672 * event-msw.c (debug_mswin_messages):
6673 * event-msw.c (debug_output_mswin_message):
6674 * event-msw.c (vars_of_event_mswindows):
6675 Fix yet more problems with C-g handling.
6676 Implement debug-mswindows-events.
6678 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6680 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6682 2001-05-23 Ben Wing <ben@xemacs.org>
6684 * event-msw.c (winsock_writer):
6685 * event-msw.c (winsock_closer):
6686 prior kludgy code was clobbering the buffer, thinking it was
6687 "unused" space to store an unneeded return value; instead, use
6688 the variable we've already got staring us in the face.
6690 2001-05-17 Andy Piper <andy@xemacs.org>
6692 * sysfile.h: don't assume that file attributes are boolean
6694 2001-05-23 Ben Wing <ben@xemacs.org>
6696 * device-msw.c (msprinter_init_device):
6697 signal an error rather than crash with an unavailable network
6698 printer (from Mike Alexander).
6701 * event-msw.c (struct winsock_stream):
6702 * event-msw.c (winsock_writer):
6703 * event-msw.c (winsock_closer):
6704 * event-msw.c (make_winsock_stream_1):
6705 cleanup headers. fix (hopefully) an error with data corruption
6706 when sending to a network connection.
6708 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6709 to handle the ~user prefix by (a) always assuming we're referencing
6710 ourselves and not even verifying the user -- hence any file with
6711 a tilde as its first char is invalid! (b) if there wasn't a slash
6712 following the filename, the pointer was set *past* the end of
6713 file and we started reading from uninitialized memory. Now we
6714 simply treat these as files, always.
6716 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6718 2001-05-19 Ben Wing <ben@xemacs.org>
6720 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6723 * process-nt.c (vars_of_process_nt):
6724 remove unused mswindows-quote-process-args. rec for 21.4.
6726 2001-05-12 Ben Wing <ben@xemacs.org>
6728 * event-msw.c (mswindows_dde_callback):
6729 * event-msw.c (mswindows_wnd_proc):
6730 eliminate cygwin warnings.
6732 2001-05-06 Ben Wing <ben@xemacs.org>
6736 * device-msw.c (print_dialog_worker):
6737 * device-msw.c (mswindows_handle_print_dialog_box):
6738 * device-msw.c (syms_of_device_mswindows):
6739 * dialog-msw.c (mswindows_make_dialog_box_internal):
6741 implement printing the selection when it's selected.
6743 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6745 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6747 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6749 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6750 EMACS_INT is signed.
6752 2001-04-15 Michael Lausch <mla@1012surf.net>
6754 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6755 gtk_widget_request_size() to give scrollbar >0 width for
6758 2001-05-30 William M. Perry <wmperry@gnu.org>
6760 * event-gtk.c: Check for buttons as modifier keys.
6762 2001-05-25 Craig Lanning <CraigL@Knology.net>
6765 Properly find MinGW's <process.h> inside Cygwin's restructured
6766 include directories. Don't try to include <cygwin/version.h>
6767 since we are dropping support for MinGW in versions of Cygwin
6770 Drop support for MinGW in versions of Cygwin before b21.
6772 Properly find MinGW's <process.h> inside Cygwin's restructured
6773 include directories.
6775 Drop support for MinGW in versions of Cygwin before b21.
6777 Even though a.out.h is no longer detected by configure, allow
6778 MinGW to use it until we figure out how to do the job with Win32.
6780 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6782 * syntax.c (find_start_of_comment):
6783 Fix `unbalanced parentheses' bug when dealing with mixed comment
6784 styles in c++/java/etc. mode
6786 2001-05-29 Mike Alexander <mta@arbortext.com>
6788 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6789 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6791 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6793 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6795 2001-03-31 Mike Sperber <mike@xemacs.org>
6797 * search.c (Freplace_match): Support FSF-style specification of
6798 match subexpression when applied to a buffer.
6800 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6802 * event-stream.c (is_scrollbar_event): add missing semicolon
6804 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6806 * Makefile.in.in: Use TAR macro instead of hardcoding
6807 tar. Allows use of GNU tar instead of system tar
6809 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6811 * event-stream.c (is_scrollbar_event): add missing semicolon
6813 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6815 * XEmacs 21.4.3 "Academic Rigor" is released.
6817 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6819 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6821 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6823 * buffer.c (Vcase_fold_search): Remove obsolete
6824 comment about non ASCII case-fold-search. This
6825 bug has been fixed by case-table changes.
6827 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6829 * event-msw.c: Restore include of events-mod.h.
6831 2001-04-22 zhaoway <zw@debian.org>
6833 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6836 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6838 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6840 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6842 * mule-charset.c (Fmake_charset): Add missing else.
6844 2001-04-23 Ben Wing <ben@xemacs.org>
6846 * event-msw.c (FAKE_MOD_QUIT):
6847 * event-msw.c (mswindows_dequeue_dispatch_event):
6848 * event-msw.c (mswindows_wnd_proc):
6849 * event-msw.c (emacs_mswindows_quit_p):
6850 Get critical quit working.
6852 2001-05-05 Ben Wing <ben@xemacs.org>
6856 * device-msw.c (mswindows_get_default_margin):
6857 * frame-msw.c (mswindows_size_frame_internal):
6858 * frame-msw.c (msprinter_init_frame_1):
6859 * frame-msw.c (vars_of_frame_mswindows):
6860 Change top/bottom margin defaults to 0.5 inches.
6862 2001-05-01 Martin Buchholz <martin@xemacs.org>
6864 Fix link error with gcc 3.0 on Linux.
6865 * terminfo.c (UP): Remove.
6866 * terminfo.c (BC): Remove.
6867 * terminfo.c (PC): Remove.
6868 They weren't used, and in any case, these symbols should be
6869 defined in the *library*.
6871 2001-05-03 Martin Buchholz <martin@xemacs.org>
6873 * s/aix4.h: Fix crash with xlc -O3.
6874 Improve comment explaining how -O3 works.
6876 2001-04-15 Ben Wing <ben@xemacs.org>
6879 * event-stream.c (Fnext_event):
6880 * event-stream.c (is_scrollbar_event):
6881 * event-stream.c (execute_command_event):
6882 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6883 crash' problem. His fix introduces other problems. We filter
6884 out scrollbar events specifically, making them somewhat invisible
6885 to command-building, and not appearing in `this-command-keys'.
6886 More work is still needed (see comments in event-stream.c), but
6887 this fixes all the major problems.
6889 2001-04-20 Ben Wing <ben@xemacs.org>
6891 * .cvsignore: Added stuff for Windows.
6893 2001-04-28 Ben Wing <ben@xemacs.org>
6895 * buffer.c (Ferase_buffer):
6896 * editfns.c (buffer_insert1):
6897 * editfns.c (Finsert_before_markers):
6898 * editfns.c (Finsert_string):
6899 * editfns.c (Finsert_char):
6900 * editfns.c (Fdelete_region):
6901 * editfns.c (Fwiden):
6902 * editfns.c (Fnarrow_to_region):
6903 remove bogus lines setting zmacs_region_stays to 0.
6905 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6907 * process-unix.c (unix_open_network_stream): If connect() fails
6908 invalidate file descriptor after closing it.
6910 2001-03-08 Mike Alexander <mta@arbortext.com>
6912 * event-msw.c (mswindows_need_event_in_modal_loop):
6913 Don't dispatch a message if we didn't get one.
6914 (mswindows_need_event):
6915 Terminate the correct process when one exits instead of the first
6916 one on Vprocess_list and look for process termination when in
6917 mswindows_protect_modal_loop.
6919 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6921 * XEmacs 21.4.1 "Copyleft" is released.
6923 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6925 * input-method-motif.c (XIM_delete_frame): New callback.
6926 (XIM_init_frame): Register it.
6928 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6930 * XEmacs 21.4.0 "Solid Vapor" is released.
6932 2001-04-15 Ben Wing <ben@xemacs.org>
6934 * cmdloop.c (call_command_loop):
6935 Fix braino in bit-rotting code.
6937 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6939 * extents.c (Fset_extent_endpoints): Force creation of extent info
6940 in buffer_or_string.
6942 * extents.c (process_extents_for_insertion_mapper): Correctly
6943 check for open-open zero-length extents.
6945 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6947 * lisp.h: New typedefs Memory_count, Element_count.
6950 Sign-compare warning elimination: several unsigned -> signed.
6951 Based on work by Ben Wing <ben@xemacs.org>.
6953 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6955 * XEmacs 21.2.47 "Zephir" is released.
6957 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6959 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6961 2001-04-03 Mike Sperber <mike@xemacs.org>
6963 * search.c: Revert previous patch due because of release.
6965 2001-03-30 Ben Wing <ben@xemacs.org>
6968 Add missing killpg prototype.
6971 Add a comment about fixing problems when a new entry is added
6974 * frame-msw.c (mswindows_init_frame_1):
6975 Fix compile warnings.
6977 * menubar.c (vars_of_menubar):
6978 Provide `menu-accelerator-support' to indicate that we properly
6979 support %_ in menu specifications, so that package code can
6980 conditionalize on this (and remove %_ from menu specifications
6985 * scrollbar-msw.c (can_scroll):
6987 Fix handling of mouse wheel under Windows to follow standards --
6988 now scrolls window under pointer, not selected window.
6990 2001-03-31 Mike Sperber <mike@xemacs.org>
6992 * search.c (Freplace_match): Support FSF-style specification of
6993 match subexpression when applied to a buffer.
6995 2001-03-15 Martin Buchholz <martin@xemacs.org>
6997 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6998 function to modify KEYMAP, so map over a copy of the hash table.
7000 2001-03-21 Martin Buchholz <martin@xemacs.org>
7002 * XEmacs 21.2.46 "Urania" is released.
7004 2001-03-20 Dan Holmsand <dan@eyebee.com>
7006 * realpath.c (xrealpath): Make file-truename work with symlinks to
7007 /cygdrive paths on cygwin. Always lowercase drive-letters on
7009 (cygwin_readlink): Don't try to find canonical filename unless
7012 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
7014 * ChangeLog: Log GTK merge.
7020 Revert gratuitous whitespace changes from GTK merge.
7022 * emacs.c: Document end of complex #ifdef @ l. 1495.
7025 2001-03-12 Andy Piper <andy@xemacs.org>
7027 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7028 have to do likewise.
7030 2001-03-12 Andy Piper <andy@xemacs.org>
7032 * sysdep.c: we only support mingw now.
7034 2001-03-09 Andy Piper <andy@xemacs.org>
7036 * unexcw.c (copy_executable_and_dump_data_section): making approx
7037 overrun a warning only.
7039 2001-03-10 William M. Perry <wmperry@aventail.com>
7041 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7042 satisfy Stephen's identical-after-cpp plea.
7044 2001-03-02 Ben Wing <ben@xemacs.org>
7047 * cmds.c (Fforward_char):
7051 Augment documentation of the most common motion commands to make
7052 note of the shifted-motion support.
7054 2001-03-02 Ben Wing <ben@xemacs.org>
7056 * nt.c (mswindows_fstat):
7057 * nt.c (mswindows_stat):
7058 * search.c (boyer_moore):
7059 Fix compile warnings under Windows.
7061 * sysdep.c (sys_readdir):
7062 Fix buggy filename-conversion code under Mule.
7064 2001-03-09 William M. Perry <wmperry@aventail.com>
7086 * redisplay-output.c:
7092 The Great GTK Merge.
7099 * emacs-widget-accessors.c:
7113 * native-gtk-toolbar.c:
7124 The Great GTK Merge: new files.
7126 2001-02-26 Ben Wing <ben@xemacs.org>
7128 Reapplied Lstream change.
7130 2001-02-26 Ben Wing <ben@xemacs.org>
7132 Undid the last change, since it is more controversial than I
7133 thought. It should be back in at some point soon.
7135 2001-02-25 Ben Wing <ben@xemacs.org>
7138 * callproc.c (Fold_call_process_internal):
7139 * event-msw.c (ntpipe_slurp_reader):
7140 * event-msw.c (ntpipe_shove_writer):
7141 * event-msw.c (winsock_reader):
7142 * event-msw.c (winsock_writer):
7144 * file-coding.c (detect_eol_type):
7145 * file-coding.c (detect_coding_type):
7146 * file-coding.c (determine_real_coding_system):
7147 * file-coding.c (Fdetect_coding_region):
7148 * file-coding.c (decoding_reader):
7149 * file-coding.c (decoding_writer):
7150 * file-coding.c (mule_decode):
7151 * file-coding.c (Fdecode_coding_region):
7152 * file-coding.c (encoding_reader):
7153 * file-coding.c (encoding_writer):
7154 * file-coding.c (mule_encode):
7155 * file-coding.c (Fencode_coding_region):
7156 * file-coding.c (detect_coding_sjis):
7157 * file-coding.c (decode_coding_sjis):
7158 * file-coding.c (encode_coding_sjis):
7159 * file-coding.c (detect_coding_big5):
7160 * file-coding.c (decode_coding_big5):
7161 * file-coding.c (encode_coding_big5):
7162 * file-coding.c (detect_coding_ucs4):
7163 * file-coding.c (decode_coding_ucs4):
7164 * file-coding.c (encode_coding_ucs4):
7165 * file-coding.c (detect_coding_utf8):
7166 * file-coding.c (decode_coding_utf8):
7167 * file-coding.c (encode_coding_utf8):
7168 * file-coding.c (detect_coding_iso2022):
7169 * file-coding.c (decode_coding_iso2022):
7170 * file-coding.c (encode_coding_iso2022):
7171 * file-coding.c (decode_coding_no_conversion):
7172 * file-coding.c (encode_coding_no_conversion):
7173 * glyphs-x.c (write_lisp_string_to_temp_file):
7174 * gpmevent.c (tty_get_foreign_selection):
7177 * lstream.c (Lstream_flush_out):
7178 * lstream.c (Lstream_adding):
7179 * lstream.c (Lstream_write_1):
7180 * lstream.c (Lstream_write):
7181 * lstream.c (Lstream_raw_read):
7182 * lstream.c (Lstream_read_more):
7183 * lstream.c (Lstream_read):
7184 * lstream.c (Lstream_unread):
7185 * lstream.c (Lstream_fputc):
7186 * lstream.c (stdio_reader):
7187 * lstream.c (stdio_writer):
7188 * lstream.c (filedesc_reader):
7189 * lstream.c (filedesc_writer):
7190 * lstream.c (lisp_string_reader):
7191 * lstream.c (struct fixed_buffer_stream):
7192 * lstream.c (make_fixed_buffer_input_stream):
7193 * lstream.c (make_fixed_buffer_output_stream):
7194 * lstream.c (fixed_buffer_reader):
7195 * lstream.c (fixed_buffer_writer):
7196 * lstream.c (struct resizing_buffer_stream):
7197 * lstream.c (resizing_buffer_writer):
7198 * lstream.c (dynarr_writer):
7199 * lstream.c (lisp_buffer_reader):
7200 * lstream.c (lisp_buffer_writer):
7202 * lstream.h (lstream_implementation):
7203 * lstream.h (struct lstream):
7205 * process-nt.c (nt_send_process):
7206 * process-unix.c (unix_send_process):
7208 Correct Lstream lossage due to mixing of signed and unsigned
7209 quantities. All Lstream uses of size_t and ssize_t are now a
7210 single signed data type Lstream_data_count. This fixes problems
7211 under Windows with sending large quantities of data to a process,
7212 and may well fix other subtle bugs.
7214 2001-02-23 Martin Buchholz <martin@xemacs.org>
7216 * XEmacs 21.2.45 "Thelxepeia" is released.
7218 2001-02-21 Martin Buchholz <martin@xemacs.org>
7220 * lisp-union.h (XSETINT):
7223 Reverse previous change of 2001-02-06.
7225 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7227 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7229 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7230 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7231 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7232 * regex.c (POS_AS_IN_BUFFER): removed
7233 * regex.c (re_search_2):
7234 * regex.c (re_match_2):
7235 Don't use an offset of 1 when calculating buffer positions, since
7236 `BI_BUF_BEGV' does it already.
7238 2001-02-18 Wim Dumon <wim@easics.be>
7240 * insdel.c (prepare_to_modify_buffer): Also check for
7241 supersession when clash-detection is enabled.
7243 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7245 * regex.c (re_match_2_internal):
7246 Convert temp characters from 'const unsigned char' to 're_char'.
7247 Fix crashing bug with extended characters under mule.
7248 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7249 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7250 font-lock, pdump, and new syntax-table code.
7251 * syntax.c (find_start_of_comment):
7252 (find_end_of_comment):
7254 Fix crashing bugs involving moving beyond end of buffer.
7255 * syntax.c (find_start_of_comment):
7256 Fixed logic to allow proper detection of cases where the same
7257 character is used to end both a two-char comment start and a
7258 two-char comment end sequence. Fixes `(forward-comment -1)'.
7259 * syntax.c (find_start_of_comment):
7260 Return position just past last comment-end character for all cases
7261 (previously was only done for two-char comment-end sequences).
7262 * syntax.c (forward-comment):
7263 Take value returned from `find_end_of_comment', rather than
7265 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7266 Properly deal with BUFFERP (syntax_cache.object)
7268 2001-02-17 Martin Buchholz <martin@xemacs.org>
7270 * alloc.c (Fgarbage_collect):
7271 * alloc.c (make_bit_vector_from_byte_vector):
7272 -Wsign-compare-correctness.
7274 2001-02-16 Martin Buchholz <martin@xemacs.org>
7276 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7277 (XSETCHAR): Likewise.
7278 (XSETOBJ): Likewise.
7280 2001-02-15 Martin Buchholz <martin@xemacs.org>
7282 * mule-canna.c (canna-func-delete_previous):
7283 Rename to canna-func-delete-previous.
7285 2001-02-14 Martin Buchholz <martin@xemacs.org>
7287 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7289 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7291 * font-lock.c (find_context): Fix C++ compile errors introduced by
7294 2001-02-13 Martin Buchholz <martin@xemacs.org>
7296 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7297 pragma, but earlier ones barf on the same pragma.
7299 2001-02-06 Mike Sperber <mike@xemacs.org>
7301 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7302 `configure-mule-lisp-directory'.
7304 2001-02-12 Martin Buchholz <martin@xemacs.org>
7306 Make sure dump-id.c is compiled in the same way as other .c's.
7307 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7308 * dump-id.h: Remove.
7309 * emacs.c: Move dump-id.h into dumper.h.
7310 * dumper.h: Move dump-id.h into dumper.h.
7312 Use standard .c.o rule for building dump-id.o.
7313 Remove preprocessor flags from link command.
7314 Add dump-id.o to ${otherobjs} if PDUMP.
7316 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7318 Port FSF 20.7 syntax table improvements.
7322 Fixups for new syntax table stuff.
7323 * dired.c: Include syntax.c.
7324 (Fdirectory_files): Initialize regex_match_object and
7326 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7327 and Fget_char_property.
7329 Use ported FSF 20.7 syntax table improvements.
7334 2001-02-09 Martin Buchholz <martin@xemacs.org>
7336 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7337 Unixware's enum boolean from sys/types.h.
7339 2001-02-10 Martin Buchholz <martin@xemacs.org>
7341 Fix support for building with latest Purify.
7342 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7343 (PURIFY_FLAGS): Likewise.
7345 2001-02-09 Martin Buchholz <martin@xemacs.org>
7347 * fileio.c (lisp_string_set_file_times): New.
7348 * fileio.c (Fcopy_file): Use it.
7350 (copy-file filename non-ascii-filename t t)
7351 ==> No such file or directory, non-ascii-filename
7353 2001-02-10 Martin Buchholz <martin@xemacs.org>
7355 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7356 USHRT_MAX seems clearer than ~0 anyways.
7358 2001-02-09 Martin Buchholz <martin@xemacs.org>
7360 dumper improvements. Inspired by Olivier.
7361 * dumper.c (pdump_max_align): New.
7362 * dumper.c (pdump_add_entry): Use pdump_max_align.
7363 * dumper.c (pdump_get_entry_list): Likewise.
7364 * dumper.c (pdump_scan_by_alignment): Likewise.
7365 Don't iterate through unnecessary alignments.
7366 * dumper.c (pdump_file_get): No need to align result of malloc().
7367 * dumper.c (pdump_mallocadr): Remove.
7368 The result of malloc() is guaranteed to be maximally aligned.
7369 * dumper.c: s/elmt/elt/g;
7370 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7371 * dumper.c (pdump_alert_undump_object): Likewise.
7372 * dumper.c (pdump_align_table):
7373 Don't support alignments > 64.
7374 Store ALIGNOF's, not shift counts, in table.
7376 2001-02-09 Martin Buchholz <martin@xemacs.org>
7378 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7379 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7380 * systime.h: Use HAVE_UTIME.
7381 * sysdep.c (struct utimbuf): Remove.
7382 * sysdep.c (set_file_times): Prefer utime() to utimes().
7383 * config.h.in (HAVE_UTIME): New.
7384 * config.h.in (HAVE_UTIME_H): Remove.
7385 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7387 2001-02-09 Martin Buchholz <martin@xemacs.org>
7389 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7391 2001-02-08 Martin Buchholz <martin@xemacs.org>
7393 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7395 2001-02-08 Martin Buchholz <martin@xemacs.org>
7397 * XEmacs 21.2.44 "Thalia" is released.
7399 2001-02-06 Martin Buchholz <martin@xemacs.org>
7401 Fixes crashes in kill-emacs on some systems.
7402 * process-unix.c (unix_kill_child_process):
7403 It's OK for kill() to fail with ESRCH.
7405 2001-02-07 Martin Buchholz <martin@xemacs.org>
7407 Contortions to make .gdbinit tricks work on most systems.
7408 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7409 * alloc.c (dbg_valmask): Make non-const.
7410 * alloc.c (dbg_typemask): Make non-const.
7411 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7412 * alloc.c (dbg_valbits): Make non-const.
7413 * alloc.c (dbg_gctypebits): Make non-const.
7414 * .gdbinit (decode_object): Make it work with AIX cc.
7416 2001-02-06 Martin Buchholz <martin@xemacs.org>
7418 * elhash.c (make_general_lisp_hash_table):
7419 Use simpler and more efficient calloc to clear entries.
7421 2001-02-07 Martin Buchholz <martin@xemacs.org>
7423 * window.c (window_scroll): Work around an AIX C compiler bug.
7424 Fixes 'scroll-up' does nothing problem with xlC.
7426 2001-02-05 Martin Buchholz <martin@xemacs.org>
7428 * .gdbinit: Remove obsolete comment.
7430 2001-01-31 Mike Alexander <mta@arbortext.com>
7432 * select.c (Fown_selection_internal): Set owned_p for device
7435 2001-02-01 Martin Buchholz <martin@xemacs.org>
7438 "not" cannot be used as a macro name as it is an operator in C++
7439 * config.h.in: Stop #defining `not'.
7440 * chartab.c (check_category_char): not ==> not_p
7441 * chartab.h: Likewise.
7442 * regex.c (re_match_2_internal): Likewise.
7444 2001-02-02 Martin Buchholz <martin@xemacs.org>
7446 * lisp-disunion.h: Fix up comments.
7448 2001-01-31 Martin Buchholz <martin@xemacs.org>
7450 * keymap.c (define_key_check_and_coerce_keysym):
7452 Support mouse-6 and mouse-7 bindings in the obvious way.
7454 2001-02-01 Martin Buchholz <martin@xemacs.org>
7456 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7458 2001-01-30 Martin Buchholz <martin@xemacs.org>
7460 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7461 Previous patch missed DEFVAR_INT_MAGIC.
7462 Make sure future DEFVAR_foo use correct types.
7463 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7464 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7465 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7466 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7467 * (DEFVAR_INT): Likewise.
7468 * redisplay.c (vertical_clip): Should be of type Fixnum.
7469 * redisplay.c (horizontal_clip): Likewise.
7470 * lisp.h (dump_add_opaque_int): New.
7471 (dump_add_opaque_fixnum): New.
7473 2001-01-29 Andy Piper <andy@xemacs.org>
7475 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7476 since they can be eval'ed
7478 2001-01-29 Martin Buchholz <martin@xemacs.org>
7480 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7481 Oops, XEmacs redefines `class'. Use `typename' instead.
7483 2001-01-28 Martin Buchholz <martin@xemacs.org>
7485 * dumper.c: Fix C++ compile errors.
7487 2001-01-29 Martin Buchholz <martin@xemacs.org>
7489 * tparam.c: Use correct prototypes.
7491 2001-01-28 Martin Buchholz <martin@xemacs.org>
7493 * sysproc.h: #include util.h for NetBSD's openpty.
7495 2001-01-27 Martin Buchholz <martin@xemacs.org>
7497 More 64-bit correctness.
7498 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7499 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7501 This finally finishes the 64-bit SGI port.
7502 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7503 * symbols.c: Fix up comments and type casts.
7504 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7505 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7506 * symeval.h (Fixnum): New type.
7507 * symeval.h (symbol_value_type): Fix up comment.
7523 * mule-canna.c: A million DEFVAR_INTs here...
7524 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7537 s/int/Fixnum/g in DEFVAR_INT declarations.
7539 2001-01-26 Martin Buchholz <martin@xemacs.org>
7541 Port pdump to SGI alignment-sensitive environment.
7542 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7543 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7545 Define and use aligned reading and writing macros.
7546 Use buffered stdio instead of posix i/o for faster dumping.
7547 Eliminate kludgy 256 byte space for header.
7548 Read and write from dump file using structs for alignment safety.
7549 * dumper.c (pdump_align_stream): New.
7550 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7551 * dumper.c (PDUMP_READ_ALIGNED): New.
7552 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7553 * dumper.c (pdump_static_Lisp_Object): New struct.
7554 * dumper.c (pdump_static_pointer): New struct.
7555 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7556 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7557 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7558 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7560 * dumper.c (pdump_backtrace):
7561 * dumper.c (pdump_get_indirect_count):
7562 * dumper.c (pdump_register_object):
7563 * dumper.c (pdump_register_struct):
7564 * dumper.c (pdump_reloc_one):
7565 * dumper.c (pdump_scan_by_alignment):
7566 * dumper.c (pdump_dump_from_root_struct_ptrs):
7567 * dumper.c (pdump_dump_opaques):
7568 * dumper.c (pdump_dump_rtables):
7569 * dumper.c (pdump_dump_from_root_objects):
7571 * dumper.c (pdump_load_finish):
7572 Use aligned reading and writing.
7574 * dumper.c (pdump_free): Make static.
7575 * dumper.c (pdump_hFile): Likewise.
7576 * dumper.c (pdump_hMap): Likewise.
7578 2001-01-26 Martin Buchholz <martin@xemacs.org>
7580 * XEmacs 21.2.43 "Terspichore" is released.
7582 2001-01-25 Martin Buchholz <martin@xemacs.org>
7584 Type fiddling for window_config.saved_windows_count
7585 * window.c (struct window_config):
7586 Make saved_windows_count member unsigned.
7587 * window.c (sizeof_window_config_for_n_windows):
7588 Make parameter unsigned.
7589 * window.c (mark_window_config):
7590 * window.c (window_config_equal):
7591 * window.c (free_window_configuration):
7592 * window.c (Fset_window_configuration):
7593 * window.c (count_windows):
7594 * window.c (Fcurrent_window_configuration):
7595 * window.c (reinit_vars_of_window):
7596 Update all callers and users.
7598 2001-01-25 Martin Buchholz <martin@xemacs.org>
7600 Alignment correctness for flexible arrays.
7601 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7602 Make alignment-correct. Add interesting comments.
7603 * alloc.c (size_vector):
7604 * alloc.c (make_vector_internal):
7605 * alloc.c (make_bit_vector_internal):
7606 * alloc.c (sweep_bit_vectors_1):
7607 * fns.c (size_bit_vector):
7608 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7609 * window.c (sizeof_window_config_for_n_windows):
7610 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7612 2001-01-24 Martin Buchholz <martin@xemacs.org>
7614 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7616 2001-01-23 Andy Piper <andy@xemacs.org>
7618 * select.c (Fown_selection_internal): pass owned_p
7620 * select-msw.c (mswindows_own_selection): New Signature.
7622 * console.h (struct console_methods): add owned_p to
7625 * select-x.c (x_own_selection): pass owned_p
7626 (hack_motif_clipboard_selection): use owned_p
7627 (vars_of_select_x): new variable -
7628 x_selection_strict_motif_ownership.
7630 2001-01-23 Martin Buchholz <martin@xemacs.org>
7632 * specifier.h (specifier_data_offset): Remove pointless parens.
7633 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7635 2001-01-24 Martin Buchholz <martin@xemacs.org>
7637 Make Lisp_Object sizeof methods be alignment-correct.
7638 pdump must restore objects to the same alignment as the C compiler
7639 assumes. It really matters on SGIs.
7640 * lstream.c (aligned_sizeof_lstream): New.
7641 (sizeof_lstream): Use aligned_sizeof_lstream.
7642 (Lstream_new): Likewise.
7643 * opaque.c (aligned_sizeof_opaque): New.
7644 (sizeof_opaque): Use aligned_sizeof_opaque.
7645 (make_opaque): Likewise.
7646 * specifier.c (aligned_sizeof_specifier): New.
7647 (sizeof_specifier): Use aligned_sizeof_specifier.
7648 (make_specifier_internal): Likewise.
7650 2001-01-23 Martin Buchholz <martin@xemacs.org>
7652 * lstream.h (struct lstream): Use max_align_t for trailing data.
7653 * specifier.h (struct Lisp_Specifier): Likewise.
7655 2001-01-22 Martin Buchholz <martin@xemacs.org>
7657 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7658 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7659 (CCL_SUSPEND): Likewise.
7660 (CCL_INVALID_CMD): Likewise.
7661 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7662 (ccl_driver): Likewise.
7663 (CCL_WRITE_CHAR): Macro hygiene.
7664 (CCL_WRITE_STRING): Macro hygiene.
7666 2001-01-22 Martin Buchholz <martin@xemacs.org>
7668 Port "portable" dumper to SunOS 4 and HP-UX.
7669 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7670 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7671 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7673 2001-01-22 Martin Buchholz <martin@xemacs.org>
7675 * lisp.h (ALIGNOF): A better definition for C++.
7677 2001-01-20 Martin Buchholz <martin@xemacs.org>
7680 Fix printf warnings: int format, long int arg.
7681 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7682 (PUSH_FAILURE_POINT): Use correct printf formats.
7683 (POP_FAILURE_POINT): Use correct printf formats.
7684 Use do {...} while (0)
7686 2001-01-20 Martin Buchholz <martin@xemacs.org>
7688 * XEmacs 21.2.42 "Poseidon" is released.
7690 2001-01-20 Martin Buchholz <martin@xemacs.org>
7692 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7694 2001-01-19 Martin Buchholz <martin@xemacs.org>
7696 De-kludgify FIXED_TYPE free list frobbing.
7697 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7698 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7699 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7700 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7701 * alloc.c (LRECORD_FREE_P): New.
7702 * alloc.c (MARK_LRECORD_AS_FREE): New.
7703 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7704 * alloc.c (STRUCT_FREE_P): Deleted.
7705 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7706 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7707 * alloc.c (STRING_CHARS_FREE_P): New.
7708 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7709 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7710 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7711 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7712 * alloc.c (resize_string): Use new definitions.
7713 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7714 * alloc.c (verify_string_chars_integrity): Use new definitions.
7715 * alloc.c (compact_string_chars): Use new definitions.
7716 * alloc.c: Update monster comments.
7717 * lrecord.h (lrecord_type): Add some new lrecord types for
7720 2001-01-18 Martin Buchholz <martin@xemacs.org>
7722 Improve alignment hackery.
7723 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7724 (max_align_t): Moved from opaque.h - general purpose.
7725 (ALIGN_PTR): Use size_t, not long.
7726 * opaque.h (max_align_t): Move to lisp.h.
7728 2001-01-18 Norbert Koch <nk@LF.net>
7730 * gui.h: Fix and add prototypes to fix build problems.
7732 2001-01-18 Martin Buchholz <martin@xemacs.org>
7734 temacs is going away, so `dump-temacs' is now a bad name.
7735 * .dbxrc (dump-temacs): Rename to `dmp'.
7736 * .gdbinit (dump-temacs): Rename to `dmp'.
7738 2001-01-17 Andy Piper <andy@xemacs.org>
7740 * glyphs.c (print_image_instance): comment to make martin happy.
7742 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7745 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7747 (mswindows_tab_control_redisplay): warning suppression.
7749 * glyphs-widget.c (widget_update): re-write to cope with updated
7751 (widget_instantiate): use new gui_item functions.
7752 (tab_control_update): deleted.
7753 (progress_gauge_update): deleted.
7754 (image_instantiator_progress_guage): take out update reference.
7755 (image_instantiator_tree_view): ditto.
7756 (image_instantiator_tab_control): ditto.
7758 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7760 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7761 return whether anything was changed.
7762 (update_gui_item_keywords): as it sounds.
7764 * gui.h: declare widget_gui_parse_item_keywords.
7766 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7767 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7769 2001-01-17 Martin Buchholz <martin@xemacs.org>
7771 * XEmacs 21.2.41 "Polyhymnia" is released.
7773 2001-01-16 Didier Verna <didier@xemacs.org>
7775 * glyphs.c (image_instantiate): don't use fallbacks when
7776 instantiating a face's background pixmap by inheritance.
7778 2001-01-14 Mike Sperber <mike@xemacs.org>
7780 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7781 Conditionalize accordingly.
7783 2001-01-16 Martin Buchholz <martin@xemacs.org>
7785 * dumper.c (pdump_file_get): Fix a compiler warning.
7787 2001-01-15 Martin Buchholz <martin@xemacs.org>
7789 Make Purify happy when pdumping.
7790 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7791 iniitalizing all bits of new lisp object memory.
7792 * symbols.c (Fmake_local_variable): Likewise.
7793 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7794 * symbols.c (Fdefvaralias): Likewise.
7795 * mule-charset.c (vars_of_mule_charset): Likewise.
7797 2001-01-15 Martin Buchholz <martin@xemacs.org>
7798 Add the `-nd' flag when running pre-dump operations under the debugger.
7799 * .dbxrc (run-temacs): Add `-nd'.
7800 * .dbxrc (update-elc): Likewise.
7801 * .dbxrc (dump-temacs): Likewise.
7802 * .gdbinit (run-temacs): Likewise.
7803 * .gdbinit (check-temacs): Likewise.
7804 * .gdbinit (update-elc): Likewise.
7805 * .gdbinit (dump-temacs): Likewise.
7807 2001-01-14 Martin Buchholz <martin@xemacs.org>
7809 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7810 export OBJECT_MODE=64
7811 configure --pdump --use-union-type=no
7812 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7813 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7815 * miscplay.c (sndcnv8U_2mono):
7816 Avoid two uses of `++' in the same expression.
7817 Suppresses a GCC warning.
7819 2001-01-13 Martin Buchholz <martin@xemacs.org>
7821 Make sure future compilers don't miscompile alloc.c.
7823 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7824 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7826 2001-01-12 Martin Buchholz <martin@xemacs.org>
7828 * dumper.c: A little post-pdump-rename comment fixup.
7830 2001-01-09 Jerry James <james@eecs.ku.edu>
7832 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7834 2001-01-13 Martin Buchholz <martin@xemacs.org>
7836 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7840 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7843 replace_symbol pdump_wire_lists pdump_weak_object_chains
7844 replace_symbol pdump_wire_list dump_add_weak_object_chain
7846 replace_symbol pdump_wires pdump_root_objects
7847 replace_symbol pdump_wire dump_add_root_object
7849 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7850 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7852 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7853 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7854 replace_symbol dumpstructinfo pdump_root_struct_ptr
7855 replace_symbol dumpstruct dump_add_root_struct_ptr
7857 replace_symbol dumpopaque dump_add_opaque
7858 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7859 replace_symbol dumpopaqueinfos pdump_opaques
7860 replace_symbol dumpopaqueinfo pdump_opaque
7862 replace_symbol nb_structdump nb_root_struct_ptrs
7863 replace_symbol nb_opaquedump nb_opaques
7865 replace_symbol align_table pdump_align_table
7866 replace_symbol dump_header pdump_header
7868 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7869 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7872 2001-01-12 Martin Buchholz <martin@xemacs.org>
7874 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7875 optimizing bytecount_to_charcount().
7877 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7880 (HAVE_DLFCN_H): Removed.
7881 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7883 2001-01-06 Martin Buchholz <martin@xemacs.org>
7885 Portable dumper maintainability improvements.
7886 * alloc.c (staticpro):
7887 * alloc.c (staticpro_nodump):
7888 * alloc.c (garbage_collect_1):
7889 * alloc.c (reinit_alloc_once_early):
7890 * alloc.c (init_alloc_once_early):
7891 * alloc.c: Move dumper functions to alloc.c.
7892 * dumper.c (pdump_backtrace):
7893 * dumper.c (pdump_dump_structs):
7894 * dumper.c (pdump_dump_opaques):
7895 * dumper.c (pdump_dump_rtables):
7896 * dumper.c (pdump_dump_wired):
7898 * dumper.c (pdump_load_check):
7899 * dumper.c (pdump_load_finish):
7900 * dumper.c (pdump_file_unmap):
7901 * dumper.c (pdump_file_get):
7902 * dumper.c (pdump_resource_free):
7903 * dumper.c (pdump_resource_get):
7904 * dumper.c (pdump_file_free):
7905 * dumper.c (pdump_file_try):
7906 * dumper.c (pdump_load):
7907 Remove fixed size limits on staticpro(), staticpro_nodump(),
7908 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7909 Remove custom code for dumping lrecord_implementations_table - use
7911 Remove (most of the) custom code for dumping staticpros - dump it
7912 like any other dynarr.
7914 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7915 * dumper.c: Moved functions from alloc.c.
7916 * alloc.c (dumpstruct): Moved to dumper.c.
7917 * alloc.c (dumpopaque): Likewise.
7918 * alloc.c (pdump_wire): Likewise.
7919 * alloc.c (pdump_wire_list): Likewise.
7921 * lisp.h (Dynarr_sizeof): New.
7922 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7923 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7924 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7926 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7927 * lisp.h (dumpopaque): ditto.
7928 * lisp.h (pdump_wire): ditto.
7929 * lisp.h (pdump_wire_list): ditto.
7931 2001-01-09 Martin Buchholz <martin@xemacs.org>
7933 * make-src-depend (PrintPatternDeps):
7934 Use `sort' to make output independent of perl version.
7936 2001-01-08 Martin Buchholz <martin@xemacs.org>
7939 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7940 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7942 2001-01-03 Didier Verna <didier@xemacs.org>
7944 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7945 that `focus_frame' is alive before thinking of calling
7946 `redisplay_redraw_cursor' on it.
7948 2001-01-08 Martin Buchholz <martin@xemacs.org>
7950 * XEmacs 21.2.40 is released.
7952 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7954 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7956 2001-01-06 Martin Buchholz <martin@xemacs.org>
7958 * alloc.c (dbg_valmask): Make const.
7959 * alloc.c (dbg_typemask): Make const.
7960 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7961 * alloc.c (dbg_valbits): Make const.
7962 * alloc.c (dbg_gctypebits): Make const.
7964 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7966 * redisplay-x.c (x_bevel_area):
7967 redisplay.h (struct rune):
7968 Typo fixes in comments.
7970 2001-01-05 Andy Piper <andy@xemacs.org>
7972 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7975 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7977 2001-01-05 Martin Buchholz <martin@xemacs.org>
7979 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7981 * mule-ccl.c (stack_idx_of_map_multiple):
7982 Non const global data must not be initialized!
7983 Found by MIYASHITA Hisashi.
7985 2001-01-02 Andy Piper <andy@xemacs.org>
7987 * frame.c (change_frame_size): make sure frame size is always
7990 * glyphs.c (image_instance_layout): minor code reuse.
7992 * window.c (Fcurrent_window_configuration): revert previous
7995 2001-01-02 Martin Buchholz <martin@xemacs.org>
7998 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
8000 2000-12-31 Andy Piper <andy@xemacs.org>
8002 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
8003 when widget gets unmapped.
8005 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
8006 function. Make sure widgets losing focus don't just drop it.
8007 (handle_focus_event_1): record the widget with focus.
8009 2000-12-31 Andy Piper <andy@xemacs.org>
8011 * window.c (allocate_window): use
8012 make_image_instance_cache_hash_table.
8013 (make_dummy_parent): ditto.
8014 (Fset_window_configuration): ditto.
8016 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8018 * glyphs.c (process_image_string_instantiator): use
8020 (get_image_instantiator_governing_domain): ditto.
8021 (normalize_image_instantiator): ditto.
8022 (instantiate_image_instantiator): ditto.
8023 (make_image_instance_1): ditto.
8024 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8025 (instantiator_eq_equal): new function for use with instance hash
8027 (instantiator_eq_hash): ditto.
8028 (make_image_instance_cache_hash_table): create a suitable hash
8029 table for storing image instances.
8031 * elhash.h (hash_table_weakness): new internal weakness type
8032 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8033 declare new functions.
8035 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8036 another weakness type for glyphs.
8037 (make_standard_lisp_hash_table): new function split out from
8038 make_general_lisp_hash_table.
8039 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8040 (hash_table_instantiate): ditto.
8041 (Fmake_hash_table): ditto.
8043 2000-12-31 Martin Buchholz <martin@xemacs.org>
8045 * XEmacs 21.2.39 is released.
8047 2000-12-29 Andy Piper <andy@xemacs.org>
8049 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8051 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8052 the frame has changed so that we pick up geometry changes such as
8055 2000-12-28 Andy Piper <andy@xemacs.org>
8057 * lastfile.c (my_ebss): make a char array so we can pad the
8058 bss. Fixes cygwin unexec.
8060 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8062 2000-12-26 Andy Piper <andy@xemacs.org>
8064 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8065 comments and try and be more precise about a non-/SIGIO world.
8066 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8069 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8070 we don't normalize to zero width or height.
8072 2000-12-24 Andy Piper <andy@xemacs.org>
8074 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8076 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8078 * s/sco5.h: SCO 5 has pty support.
8080 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8082 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8083 input-method-xlib.c contains whole contents of input-method-xfs.c,
8084 so we can use input-method-xlib.c's code for USE_XFONTSET
8086 * input-method-xfs.c: removed.
8088 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8090 * file-coding.h (enum coding_category_type): reorder enumerators to
8091 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8092 (now one greater than largest real coding_category_type enumerator).
8093 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8094 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8095 Fcoding_category_list, Fset_coding_priority_list,
8096 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8097 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8099 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8101 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8102 * redisplay-output.c (redisplay_output_window): Clear top of window
8103 when face is changed.
8104 * redisplay-x.c (x_redraw_exposed_window): Call
8105 redisplay_clear_top_of_window.
8106 * redisplay.h: Publish redisplay_clear_top_of_window.
8108 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8110 * buffer.c (Fkill_buffer): Map over all devices.
8111 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8112 (list_windows): New function.
8113 (list_all_windows): Ditto.
8114 (Freplace_buffer_in_windows): Use them.
8116 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8118 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8119 (Fopen_database): Use `db_create' instead of `db_open'.
8120 (syms_of_database): Initialize Qqueue.
8122 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8124 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8125 buffer_local_face_property.
8126 * buffer.h (struct buffer): New member buffer_local_face_property.
8127 * window.c (Fset_window_buffer): Mark window's face as changed
8128 when buffer has buffer local face.
8129 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8130 * objects.c (color_after_change): Set buffer_local_face_property
8131 when locale of face specifier is buffer.
8132 * objects.c (font_after_change): Ditto.
8133 * objects.c (face_boolean_after_change): Ditto.
8134 * glyphs.c (image_after_change): Ditto.
8136 2000-12-09 Dan Holmsand <dan@eyebee.com>
8138 * nt.c (mswindows_fstat): Report file permissions, volume serial
8139 number, etc. Code adapted from FSF Emacs 20.7.
8141 2000-12-09 Dan Holmsand <dan@eyebee.com>
8143 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8144 of stat when we don't have symbolic links, to make sure
8145 mswindows_stat is called on mswindows.
8147 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8149 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8151 2000-12-12 Martin Buchholz <martin@xemacs.org>
8153 * doprnt.c (emacs_doprnt_1): More printing fixes.
8154 Make printing of numbers compatible with libc and FSF Emacs.
8155 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8156 Use the system printf to do most of the hard work of formatting,
8157 instead of doprnt_1().
8158 Calculate memory to allocate for format string.
8159 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8160 (doprnt_1): Cleaner code and documentation.
8162 2000-12-01 Jerry James <james@eecs.ukans.edu>
8164 * Makefile.in.in: Use the loop variable to install headers.
8166 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8168 * window.c (Fsplit_window): Don't invalidate face cache.
8170 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8172 * minibuf.c (Fall_completions): Undo the previous change
8173 which removed checking elements start with space.
8175 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8177 * mule-canna.c: Didier suppression.
8179 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8181 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8182 (warning suppression). Add English comment translations.
8184 2000-12-05 Martin Buchholz <martin@xemacs.org>
8186 * unexelfsgi.c (unexec): Better test for mmap failure.
8188 2000-12-05 Martin Buchholz <martin@xemacs.org>
8190 * XEmacs 21.2.38 is released.
8192 2000-12-05 Martin Buchholz <martin@xemacs.org>
8194 * redisplay.c (bar-cursor): Make a user variable.
8196 * symsinit.h: Add init_postgresql_from_environment.
8198 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8200 * regex.c: Convert to clean C.
8202 2000-12-05 Dan Holmsand <dan@eyebee.com>
8205 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8207 (sys_readlink): renamed to system_readlink to avoid conflict with
8208 the other sys_readlink.
8210 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8212 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8214 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8216 * postgresql.c (init_postgresql_from_environment): new function.
8217 (vars_of_postgresql): Move code initializing Lisp variables out and
8218 into init_postgresql_from_environment.
8219 emacs.c (main_1): Call init_postgresql_from_environment if and only
8220 if running a dumped XEmacs.
8222 2000-08-31 Dan Holmsand <dan@eyebee.com>
8224 * buffer.c: Make find-file-compare-truenames default to true on
8227 * realpath.c (win32_abs_start):
8229 (win32_readlink): New functions.
8230 (xrealpath): Return really real filenames on windows.
8232 * fileio.c (Ffile_truename): Make file-truename work on windows.
8234 2000-11-29 Didier Verna <didier@xemacs.org>
8236 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8237 * faces.c (update_face_cachel_data): use it.
8238 * faces.c (add_face_cachel): use it. Complete background pixmap
8239 frobbing in face cache if `update_face_cachel_data' has not done so.
8241 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8243 * search.c (string_match_1): Don't set last_thing_searched
8246 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8248 * buffer.c: Include casetab.h
8249 (common_init_complex_vars_of_buffer): Use new case-table object.
8250 * buffer.h: Include casetab.h
8251 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8252 (DOWNCASE_TABLE_OF): Ditto.
8253 * bufslots.h: Remove char-tables and add case-table.
8254 * casetab.c: Include casetab.h
8255 (CASE_TABLE_P): Removed.
8256 (mark_case_table): New function.
8257 (allocate_case_table): New function.
8258 (Fcase_table_p): Use new case-table.
8259 (case_table_char): New function.
8260 (Fget_case_table): Ditto.
8261 (Fput_case_table): Ditto.
8262 (Fput_case_table_pair): Ditto.
8263 (Fcopy_case_table): Ditto.
8264 (Fcurrent_case_table): Return case-table.
8265 (Fstandard_case_table): Return case-table.
8266 (Fset_case_table): Fix doc-string.
8267 (set_case_table): Use case-table
8268 (syms_of_casetab): DEFSUBR new functions.
8269 (complex_vars_of_casetab): Set up standard case-table.
8270 * casetab.h: New file.
8271 * editfns.c: Include casetab.h
8272 (Fcompare_buffer_substrings): Use case-table.
8273 * inline.c: Include casetab.h
8274 * lisp.h: Remove bogus extern.
8275 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8276 * search.c: Include casetab.h
8277 (TRANSLATE_ASCII): Removed.
8278 (TRANSLATE): Unconditionally translate character.
8279 (looking_at_1): Use case-table.
8280 (string_match_1): Ditto.
8281 (fast_string_match): Ditto.
8282 (search_command): Ditto.
8283 (search_buffer): Separate boyer_moore. Check whether
8284 boyer_moore is possible.
8285 (simple_search): New function.
8286 (boyer_moore): Separated from search_buffer. Translate char.
8288 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8290 * regex.c (RE_TR_ASCII): Removed.
8291 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8292 (PATFETCH): Call PATFETCH_RAW.
8293 (PATFETCH_RAW): Fetch Emchar.
8294 (PATUNFETCH): Decrement charptr.
8295 (GET_BUFFER_SPACE): Rename b to buf_end.
8297 (BUF_PUSH_2): Ditto.
8298 (BUF_PUSH_3): Ditto.
8299 (EXTEND_BUFFER): Ditto.
8300 (SET_LIST_BIT): Ditto.
8301 (regex_compile): Ditto. Translate non ASCII char.
8302 (compile_range): Ditto.
8303 (re_search_2): Ditto.
8304 (re_match_2_internal): Compare Emchar.
8305 (bcmp_translate): Ditto.
8307 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8309 * lisp.h (basic char/int typedefs): comment improvement.
8311 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8313 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8314 unstomp inhibit_site_lisp. Improve comments.
8316 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8318 * mule-charset.c (Fcharset_property): improve type checking, comments.
8320 2000-11-28 Andy Piper <andy@xemacs.org>
8322 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8323 clipped display for windows in the gutter also.
8324 (redisplay_display_boxes_in_window_p): change semantics of return
8325 codes to be more intuitive.
8327 * gutter.h: declare display_boxes_in_gutter_p.
8329 * gutter.c (display_boxes_in_gutter_p): new function for
8332 2000-11-22 Andy Piper <andy@xemacs.org>
8334 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8337 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8339 * callproc.c (Fold_call_process_internal):
8340 * gpm.c (Freceive_gpm_event):
8341 (tty_get_foreign_selection): Might be just warning supression.
8342 * fileio.c (Fwrite_region_internal):
8343 (Fset_visited_file_modtime):
8344 * keymap.c (event_matches_key_specifier_p):
8345 Initialize GCPROed variable.
8347 * menubar-x.c (command_builder_find_menu_accelerator):
8348 Initialize before use.
8350 2000-11-23 Andy Piper <andy@xemacs.org>
8352 * unexcw.c (unexec): make the resulting executable executable.
8354 2000-11-21 Martin Buchholz <martin@xemacs.org>
8356 * doc.c (get_doc_string):
8357 Use size_t, not int, for result of XSTRING_LENGTH.
8359 * cmds.c (Fdelete_char):
8360 * cmds.c (Fpoint_at_eol):
8361 * cmds.c (Fself_insert_command):
8362 Use EMACS_INT, not int, for result of XINT.
8363 Someday, someone will want to insert more than 2**31 identical characters.
8365 * cmds.c (Fdelete_char):
8366 * cmds.c (Fdelete_backward_char):
8367 * syntax.c (Fforward_word):
8368 * syntax.c (Fforward_comment):
8369 Make COUNT argument optional, for consistency with forward-char et al.
8371 2000-11-22 Martin Buchholz <martin@xemacs.org>
8374 * print.c (long_to_string):
8375 Return a useful value: the pointer at end of data written.
8378 Use `static const char * const' for constant strings.
8379 (union printf_arg): Delete `i', `ui' members.
8382 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8383 Do all printf-ing via the `l' specifier.
8384 Use EMACS_INT instead of int.
8387 2000-11-20 Didier Verna <didier@xemacs.org>
8389 * faces.c (update_face_cachel_data): don't frob the background
8390 pixmap when the window is being created. The face is needed but
8393 2000-11-20 Andy Piper <andy@xemacs.org>
8395 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8396 messing with a debug environment.
8398 2000-11-20 Martin Buchholz <martin@xemacs.org>
8400 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8402 2000-11-20 Martin Buchholz <martin@xemacs.org>
8404 * casetab.c (Fcase_table_p): Fix compile error and crash.
8406 2000-11-18 Philip Aston <philipa@mail.com>
8408 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8410 2000-11-18 Martin Buchholz <martin@xemacs.org>
8412 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8413 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8415 2000-11-17 Martin Buchholz <martin@xemacs.org>
8417 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8418 * unexelf.c: Use HAVE_ELF_H.
8419 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8420 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8421 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8422 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8424 So this is an unexelfsgi.c from a different line of development.
8426 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8428 * regex.c (RE_TR_ASCII): New function.
8429 (RE_TRANSLATE): Call it.
8431 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8433 * buffer.h (TRT_TABLE_OF): Remove assert.
8434 (IN_TRT_TABLE_DOMAIN): Removed.
8436 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8438 * free-hook.c (log_gcpro):
8439 (show_gcprohist): Add support for GCPRO5.
8441 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8443 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8445 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8447 * symeval.h: Declare flush_all_buffer_local_cache.
8449 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8450 (flush_buffer_local_cache): Added.
8451 (flush_all_buffer_local_cache): Added.
8453 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8455 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8456 (pdump_dump_data): Ditto.
8457 (pdump_reloc_one): Ditto.
8458 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8462 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8464 * buffer.c: Remove if 0'ed entry.
8465 * buffer.h: Rewrite TRT to use char-table.
8466 * bufslots.h: Remove mirror tables.
8467 * casetab.c: Remove mirror tables.
8468 (CASE_TABLE_P): New macro.
8469 (Fcase_table_p): Element of a case table is string or char-table.
8470 (make_mirror_trt_table): Removed.
8471 (set_case_table): Setup char-table from strings for backward
8473 * dired.c (Fdirectory_files):
8474 * dired-msw.c: (mswindows_get_files):
8475 * lisp.h: Change prototype of re_pattern_buffer.
8476 * regex.c: (RE_TRANSLATE): New macro.
8477 (TRANSLATE_P): Ditto.
8478 Change translate to type RE_TRANSLATE_TYPE.
8479 * regex.h: Define RE_TRANSLATE_TYPE
8480 * search.c (TRANSLATE): New macro.
8481 (TRANSLATE_ASCII): New macro.
8482 Translate table is changed to Lisp_Object.
8483 (signal_failure): Inhibit return.
8485 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8492 Do UNGCPRO before return.
8494 2000-11-14 Martin Buchholz <martin@xemacs.org>
8496 * XEmacs 21.2.37 is released.
8498 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8500 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8501 Add comments about discarded return value.
8503 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8506 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8508 2000-10-27 Andy Piper <andy@xemacs.org>
8510 * gutter.c (Fset_default_gutter_position): default left and right
8512 (calculate_gutter_size): calculate resonable heuristic for left
8513 and right gutter sizes.
8514 (specifier_vars_of_gutter): change left and right gutter sizes to
8516 (calculate_gutter_size_from_display_lines): new function.
8517 (output_gutter): check for resizing on left and right gutters.
8518 (clear_gutter): don't special case top and left gutters.
8519 (specifier_vars_of_gutter): use new signature for
8520 set_specifier_caching.
8522 * glyphs-x.c (x_redisplay_widget): spelling fix.
8523 * glyphs.c (specifier_vars_of_glyphs):
8524 * menubar.c (specifier_vars_of_menubar):
8525 * redisplay.c (specifier_vars_of_redisplay):
8526 * toolbar.c (specifier_vars_of_toolbar):
8527 * window.c (specifier_vars_of_window):
8528 * scrollbar.c (specifier_vars_of_scrollbar):
8529 (complex_vars_of_scrollbar): use new signature for
8530 set_specifier_caching.
8532 * specifier.c (set_specifier_caching): include recompute flag.
8533 (recompute_one_cached_specifier_in_window): always recompute if
8535 (recompute_one_cached_specifier_in_frame): ditto.
8537 * specifier.h (struct specifier_caching): add recompute flag.
8539 2000-10-24 Andy Piper <andy@xemacs.org>
8541 * unexcw.c (copy_executable_and_dump_data_section): add new
8542 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8545 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8547 * console-x.h (x_device): New member modifier_release_time.
8548 * event-Xt.c (x_handle_sticky_modifiers):
8549 Bound interval modifier keys are sticky.
8550 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8551 * events.h: extern it.
8553 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8555 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8557 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8559 * event-stream.c (execute_command_event): Preserve current_events
8560 and the like when event is misc-user-event.
8561 Inhibit quit during the call to maybe_echo_keys.
8563 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8565 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8566 symlink when buffer is killed.
8567 (inhibit_clash_detection): New variable.
8569 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8571 * console.c (Fset_input_method): Trigger redisplay on tty.
8573 2000-11-07 Martin Buchholz <martin@xemacs.org>
8575 * process.c (Fprocess_status): Revert to previous behavior:
8576 (process-status "nosuchprocess") ==> nil
8578 2000-11-06 Martin Buchholz <martin@xemacs.org>
8580 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8581 Work around another GCC 2.95.2 optimizer bug.
8583 2000-11-02 Martin Buchholz <martin@xemacs.org>
8585 * process.c (Fget_process): Use LIST_LOOP_2.
8586 (kill_buffer_processes): Use LIST_LOOP_2.
8588 * minibuf.c (Fall_completions):
8589 Delete old non-functional code for FSF fourth argument.
8591 * frame.c (frame_matches_frame_spec):
8592 Renamed from `frame_matches_frametype'. Update all callers.
8593 (device_matches_device_spec):
8594 Renamed from 'device_matches_console_spec'. Update all callers.
8596 * doc.c (Fsubstitute_command_keys):
8597 Remove buffer overflow crash. Small code cleanups.
8599 * casetab.c (check_case_table): Simpler code.
8601 * window.c (Freplace_buffer_in_windows):
8602 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8603 (and similar implementation) as Fdelete_windows_on.
8606 * alloc.c (Fmake_list):
8607 * alloc.c (make_vector):
8608 * alloc.c (Fmake_vector):
8609 * alloc.c (make_bit_vector):
8610 * alloc.c (Fmake_bit_vector):
8611 * alloc.c (Fbit_vector):
8612 * alloc.c (Fmake_string):
8613 * alloc.c (Fpurecopy):
8614 * alloc.c (Fmemory_limit):
8616 * buffer.c (Fget_buffer):
8617 * buffer.c (Fkill_buffer):
8618 * buffer.c (complex_vars_of_buffer):
8619 * bytecode.c (Fcompiled_function_stack_depth):
8620 * callint.c (Fprefix_numeric_value):
8622 * event-stream.c (Fread_key_sequence):
8624 * casetab.c (Fcase_table_p):
8625 * casetab.c (check_case_table):
8626 * casetab.c (Fset_case_table):
8627 * casetab.c (Fset_standard_case_table):
8629 * chartab.c (Fchar_table_type):
8630 * chartab.c (Freset_char_table):
8631 * chartab.c (Fget_char_table):
8632 * chartab.c (Fget_range_char_table):
8633 * chartab.c (Fput_char_table):
8634 * chartab.c (Fmap_char_table):
8635 * chartab.c (Fcategory_table_p):
8636 * chartab.c (Fcheck_category_at):
8637 * chartab.c (Fchar_in_category_p):
8638 * chartab.c (Fcategory_table):
8639 * chartab.c (Fcopy_category_table):
8640 * chartab.c (Fset_category_table):
8641 * chartab.c (Fcategory_designator_p):
8642 * chartab.c (Fcategory_table_value_p):
8643 * cmds.c (Fdelete_char):
8644 * cmds.c (Fdelete_backward_char):
8645 * cmds.c (Fself_insert_command):
8646 * cmds.c (Fself_insert_internal):
8647 * console.c (Fvalid_console_type_p):
8648 * console.c (Fcdfw_console):
8649 * console.c (Fconsole_type):
8650 * console.c (Fconsole_name):
8651 * console.c (Fconsole_device_list):
8652 * console.c (Fconsole_on_window_system_p):
8656 * data.c (Fsubr_interactive):
8657 * data.c (Fchar_to_int):
8658 * data.c (Fint_to_char):
8661 * data.c (Fnumber_to_string):
8662 * data.c (Fstring_to_number):
8664 * database.c (mark_database):
8665 * database.c (finalize_database):
8666 * database.c (Fdatabase_live_p):
8667 * database.c (Fdatabasep):
8668 * device-x.c (Fx_get_resource):
8669 * device.c (Fdfw_device):
8671 * dired.c (Ffile_name_completion):
8672 * dired.c (Ffile_name_all_completions):
8673 * dired.c (Fuser_name_completion):
8674 * dired.c (Fuser_name_completion_1):
8675 * dired.c (Fuser_name_all_completions):
8676 * doc.c (Fdocumentation):
8677 * doc.c (Fdocumentation_property):
8678 * doc.c (Fsubstitute_command_keys):
8680 * editfns.c (Fchar_to_string):
8681 * editfns.c (Fstring_to_char):
8682 * editfns.c (Ftemp_directory):
8683 * editfns.c (Finsert_char):
8684 * editfns.c (Fbuffer_substring_no_properties):
8685 * editfns.c (Fnarrow_to_region):
8686 * editfns.c (Fchar_equal):
8687 * editfns.c (Fchar_Equal):
8688 * editfns.c (Ftranspose_regions):
8689 * emacs.c (Fdump_emacs):
8691 * eval.c (Fcommand_execute):
8692 * eval.c (Fautoload):
8693 * eval.c (Fbacktrace):
8694 * eval.c (Fbacktrace_frame):
8696 * events.c (Fcopy_event):
8697 * events.c (Fcharacter_to_event):
8698 * events.c (Fevent_button):
8699 * events.c (Fevent_process):
8701 * extents.c (Fnext_extent_change):
8702 * extents.c (Fextent_property):
8704 * faces.c (Fmake_face):
8706 * file-coding.c (Fencode_shift_jis_char):
8707 * file-coding.c (Fencode_big5_char):
8708 * fileio.c (Ffile_name_directory):
8709 * fileio.c (Ffile_name_nondirectory):
8710 * fileio.c (Ffile_name_as_directory):
8711 * fileio.c (Fdirectory_file_name):
8712 * fileio.c (Ffile_truename):
8713 * fileio.c (Fsubstitute_in_file_name):
8714 * fileio.c (Ffile_modes):
8715 * fileio.c (Fset_file_modes):
8716 * fileio.c (Fset_default_file_modes):
8717 * fileio.c (Fverify_visited_file_modtime):
8718 * floatfns.c (Facos):
8719 * floatfns.c (Fasin):
8720 * floatfns.c (Fatan):
8721 * floatfns.c (Fcos):
8722 * floatfns.c (Fsin):
8723 * floatfns.c (Ftan):
8724 * floatfns.c (Fbessel_j0):
8725 * floatfns.c (Fbessel_j1):
8726 * floatfns.c (Fbessel_jn):
8727 * floatfns.c (Fbessel_y0):
8728 * floatfns.c (Fbessel_y1):
8729 * floatfns.c (Fbessel_yn):
8730 * floatfns.c (Ferf):
8731 * floatfns.c (Ferfc):
8732 * floatfns.c (Flog_gamma):
8733 * floatfns.c (Fexp):
8734 * floatfns.c (Fexpt):
8735 * floatfns.c (Flog):
8736 * floatfns.c (Flog10):
8737 * floatfns.c (Fsqrt):
8738 * floatfns.c (Fcube_root):
8739 * floatfns.c (Facosh):
8740 * floatfns.c (Fasinh):
8741 * floatfns.c (Fatanh):
8742 * floatfns.c (Fcosh):
8743 * floatfns.c (Fsinh):
8744 * floatfns.c (Ftanh):
8745 * floatfns.c (Fabs):
8746 * floatfns.c (Ffloat):
8747 * floatfns.c (Flogb):
8748 * floatfns.c (Fceiling):
8749 * floatfns.c (Ffloor):
8750 * floatfns.c (Fround):
8751 * floatfns.c (Ftruncate):
8752 * floatfns.c (Ffceiling):
8753 * floatfns.c (Fffloor):
8754 * floatfns.c (Ffround):
8755 * floatfns.c (Fftruncate):
8756 * fns.c (Fstring_equal):
8757 * fns.c (Fstring_lessp):
8762 * fns.c (Fsubstring):
8764 * fns.c (Fold_assoc):
8765 * fns.c (assoc_no_quit):
8767 * fns.c (Fold_assq):
8768 * fns.c (assq_no_quit):
8770 * fns.c (Fold_rassoc):
8772 * fns.c (Fold_rassq):
8773 * fns.c (rassq_no_quit):
8774 * fns.c (Fremassoc):
8775 * fns.c (remassoc_no_quit):
8777 * fns.c (remassq_no_quit):
8778 * fns.c (Fremrassoc):
8779 * fns.c (Fremrassq):
8780 * fns.c (remrassq_no_quit):
8782 * fns.c (Fplist_get):
8783 * fns.c (Fplist_put):
8784 * fns.c (Fplist_remprop):
8785 * fns.c (Fplist_member):
8786 * fns.c (Flax_plist_get):
8787 * fns.c (Flax_plist_put):
8788 * fns.c (Flax_plist_remprop):
8789 * fns.c (Flax_plist_member):
8791 * fns.c (Fold_equal):
8793 * fns.c (Fbase64_encode_region):
8794 * fns.c (Fbase64_encode_string):
8795 * fns.c (Fbase64_decode_region):
8797 * frame.c (frame_matches_frame_spec):
8798 * frame.c (device_matches_device_spec):
8799 * frame.c (next_frame):
8800 * frame.c (previous_frame):
8801 * frame.c (Fnext_frame):
8802 * frame.c (Fprevious_frame):
8803 * frame.c (Fframe_property):
8804 * frame.c (Fset_frame_height):
8805 * frame.c (Fset_frame_size):
8809 * glyphs.c (decode_error_behavior_flag):
8810 * glyphs.c (Fmake_image_instance):
8811 * indent.c (Findent_to):
8812 * intl.c (Fignore_defer_gettext):
8813 * keymap.c (Fkeymapp):
8814 * keymap.c (Flookup_key):
8816 * lread.c (Fload_internal):
8817 * lread.c (Feval_buffer):
8818 * lread.c (Feval_region):
8819 * macros.c (Fexecute_kbd_macro):
8820 * marker.c (set_marker_internal):
8821 * marker.c (Fset_marker):
8822 * marker.c (set_marker_restricted):
8823 * marker.c (Fcopy_marker):
8824 * marker.c (noseeum_copy_marker):
8826 * menubar.c (Fpopup_menu):
8828 * mule-charset.c (Fcharset_name):
8829 * mule-charset.c (Fchar_charset):
8830 * mule-charset.c (Fchar_octet):
8831 * mule-charset.c (Fsplit_char):
8832 * mule-wnnfns.c (Fwnn_open):
8833 * mule-wnnfns.c (Fwnn_dict_comment):
8834 * mule-wnnfns.c (Fwnn_quit_henkan):
8835 * mule-wnnfns.c (Fwnn_word_toroku):
8836 * mule-wnnfns.c (Fwnn_word_sakujo):
8837 * mule-wnnfns.c (Fwnn_word_use):
8838 * mule-wnnfns.c (Fwnn_hindo_set):
8840 * objects.c (Fmake_color_instance):
8841 * objects.c (Fmake_font_instance):
8842 * print.c (Fwrite_char):
8844 * process.c (mark_process):
8845 * process.c (print_process):
8846 * process.c (get_process_from_usid):
8847 * process.c (Fprocessp):
8848 * process.c (Fprocess_live_p):
8849 * process.c (Fget_process):
8850 * process.c (Fget_buffer_process):
8851 * process.c (get_process):
8852 * process.c (Fprocess_id):
8853 * process.c (Fprocess_name):
8854 * process.c (Fprocess_command):
8855 * process.c (init_process_io_handles):
8856 * process.c (start_process_unwind):
8857 * process.c (Fstart_process_internal):
8858 * process.c (Fopen_multicast_group_internal):
8859 * process.c (Fset_process_window_size):
8860 * process.c (read_process_output):
8861 * process.c (send_process):
8862 * process.c (Fprocess_tty_name):
8863 * process.c (Fset_process_buffer):
8864 * process.c (Fprocess_buffer):
8865 * process.c (Fprocess_mark):
8866 * process.c (set_process_filter):
8867 * process.c (Fset_process_filter):
8868 * process.c (Fprocess_filter):
8869 * process.c (Fprocess_send_region):
8870 * process.c (Fprocess_send_string):
8871 * process.c (exec_sentinel):
8872 * process.c (Fset_process_sentinel):
8873 * process.c (Fprocess_sentinel):
8874 * process.c (status_notify):
8875 * process.c (Fprocess_status):
8876 * process.c (Fprocess_exit_status):
8877 * process.c (process_send_signal):
8878 * process.c (Fprocess_send_eof):
8879 * process.c (deactivate_process):
8880 * process.c (remove_process):
8881 * process.c (Fdelete_process):
8882 * process.c (kill_buffer_processes):
8883 * process.c (Fprocess_kill_without_query):
8884 * process.c (Fprocess_kill_without_query_p):
8886 * rangetab.c (Fget_range_table):
8887 * rangetab.c (Fput_range_table):
8888 * rangetab.c (Fremove_range_table):
8889 * rangetab.c (Fclear_range_table):
8891 * search.c (Fskip_chars_forward):
8892 * search.c (Fskip_chars_backward):
8893 * search.c (Fskip_syntax_forward):
8894 * search.c (Fskip_syntax_backward):
8895 * search.c (search_command):
8896 * search.c (Freplace_match):
8897 * search.c (Fregexp_quote):
8898 * select.c (Fown_selection_internal):
8899 * select.c (Fselection_owner_p):
8900 * select.c (Fselection_exists_p):
8901 * select.c (Fget_selection_internal):
8904 * symbols.c (Fintern):
8905 * symbols.c (Fintern_soft):
8906 * symbols.c (Funintern):
8907 * symbols.c (Fapropos_internal):
8908 * symbols.c (Fset_default):
8910 * syntax.c (Fsyntax_table_p):
8911 * syntax.c (Fcopy_syntax_table):
8912 * syntax.c (Fset_syntax_table):
8913 * syntax.c (Fchar_syntax):
8914 * syntax.c (syntax_match):
8915 * syntax.c (Fmatching_paren):
8916 * syntax.c (Fforward_word):
8917 * syntax.c (scan_lists):
8918 * syntax.c (Fscan_lists):
8919 * syntax.c (Fscan_sexps):
8920 * syntax.c (Fparse_partial_sexp):
8921 * toolbar.c (Fcheck_toolbar_button_syntax):
8924 * window.c (Fwindowp):
8925 * window.c (Fwindow_live_p):
8926 * window.c (Fwindow_point):
8927 * window.c (Fdelete_window):
8928 * window.c (Fnext_window):
8929 * window.c (Fprevious_window):
8930 * window.c (Fother_window):
8931 * window.c (window_loop):
8932 * window.c (Fget_lru_window):
8933 * window.c (Fsplit_window):
8934 * window.c (Fenlarge_window):
8935 * window.c (Fenlarge_window_pixels):
8936 * window.c (Fshrink_window):
8937 * window.c (Fshrink_window_pixels):
8938 * window.c (change_window_height):
8939 * window.c (Fwindow_configuration_p):
8940 * window.c (Fcurrent_window_configuration):
8942 * casefiddle.c (casify_object):
8943 * casefiddle.c (Fupcase):
8944 * casefiddle.c (Fdowncase):
8945 * casefiddle.c (Fcapitalize):
8946 * casefiddle.c (Fupcase_initials):
8947 * casefiddle.c (casify_region_internal):
8948 * casefiddle.c (casify_region):
8949 * casefiddle.c (Fupcase_region):
8950 * casefiddle.c (Fdowncase_region):
8951 * casefiddle.c (Fcapitalize_region):
8952 * casefiddle.c (Fupcase_initials_region):
8953 * casefiddle.c (Fupcase_word):
8954 * casefiddle.c (Fdowncase_word):
8955 * casefiddle.c (Fcapitalize_word):
8956 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8957 Replace 0 with '\0' when working with bytes.
8958 Replace initial "(" with "\(" in docstrings.
8960 2000-11-01 Martin Buchholz <martin@xemacs.org>
8962 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8964 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8966 2000-10-31 Martin Buchholz <martin@xemacs.org>
8968 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8970 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8972 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8975 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8977 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8978 (inhibit_auto_save_session): New variable.
8979 (vars_of_fileio): Declare and initialize them.
8980 * fileio.c (Fdo_auto_save): Don't create session file if
8981 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8983 2000-10-31 Martin Buchholz <martin@xemacs.org>
8985 * sgiplay.c (play_internal): C++ compilability.
8986 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8987 * callproc.c (Fold_call_process_internal):
8988 Remove unused vars `env', `first'.
8989 * scrollbar.c (update_scrollbar_instance):
8990 #### unused var `current_window'.
8991 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8992 etc. within #ifdef NOT_YET.
8993 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8994 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8995 * specifier.c (specifier_instance):
8996 #### unused var `tag'.
8997 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8999 2000-10-27 Martin Buchholz <martin@xemacs.org>
9002 * fns.c (list_sort):
9003 * fns.c (Ffillarray):
9004 * fns.c (bytecode_nconc2):
9007 * fns.c (Fmapconcat):
9008 Be pedantically 64-bit correct. For the time when someone will
9009 want to have a list with length > 2**32.
9011 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
9012 Work around MIPSpro compiler bug.
9014 * process-unix.c (unix_kill_child_process): Add snarky comment.
9015 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9017 * config.h.in: Oops, _getpt ==> _getpty
9019 2000-10-26 Martin Buchholz <martin@xemacs.org>
9023 Use void*, not char*, as return type of alloca().
9025 * alloc.c (free_marker): Side effect inside assert expression!
9027 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9029 * mule-charset.c (Fset_charset_ccl_program): To check
9030 if the given ccl program is valid, use setup_ccl_program()
9031 instead of CHECK_VECTOR().
9032 (Fmake_charset): Likewise.
9034 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9036 * faces.c (get_extent_fragment_face_cache_index):
9037 Fix cachel.merged_faces memory leak.
9039 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9041 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9042 Reset MSB of octets obtained by DECODE_SJIS
9043 because of the incompatibility with Emacs.
9044 (ccl_driver)<CCL_ENCODE_SJIS>:
9045 Set MSB of octets before passing them to
9046 ENCODE_SJIS because of the incompatibility
9049 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9051 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9052 (DECLARE_LRECORD): Undo the last change.
9053 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9055 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9057 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9058 the implementation to lrecord_implementations_table.
9060 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9062 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9063 initial value of `lrecord_type_##c_name' and
9064 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9065 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9066 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9067 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9068 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9070 2000-10-17 Martin Buchholz <martin@xemacs.org>
9072 * miscplay.c (sndcnv8S_2mono):
9073 (sndcnv2monounsigned):
9074 (sndcnvULaw_2linear):
9076 Remove implementation-defined behavior.
9078 2000-10-12 Martin Buchholz <martin@xemacs.org>
9080 * input-method-xlib.c: Warning suppression.
9082 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9084 * mule-ccl.c: Sync up with Emacs 21.0.90.
9085 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9087 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9089 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9090 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9091 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9092 leading char belongs to official 2-dimensional charset.
9093 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9094 write the given character as is. Otherwise,
9095 if it is a multibyte char, convert it by
9096 non_ascii_set_charptr_emchar, then write it.
9097 (CCL_WRITE_STRING): Likewise.
9098 (ccl_get_compiled_code): New function.
9099 (setup_ccl_program): When ccl_prog is invalid,
9101 (Fregister_code_conversion_map): New function.
9102 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9104 * mule-ccl.h: Sync up with Emacs 21.0.90.
9105 (Fregister_ccl_program): export it.
9107 * redisplay-msw.c (separate_textual_runs):
9108 If ccl program is not valid, don't do ccl conversion.
9110 * redisplay-x.c (separate_textual_runs): Ditto.
9112 * file-coding.c (Fmake_coding_system):
9113 When type is ccl and value is vector, register it
9114 with a proper symbol. And checks whether the
9115 given ccl program is valid.
9116 (mule_decode): When calling ccl_driver, if src indicates
9117 NULL pointer, set an empty string instead.
9118 (mule_encode): Likewise.
9120 2000-10-11 Martin Buchholz <martin@xemacs.org>
9122 The following large batch of changes gets us back to a state of
9123 C++ compilability. Extbyte is now a char, which means that
9124 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9126 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9128 * sound.c (Fplay_sound): Type correctness.
9130 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9131 (x_get_window_property): Type correctness.
9132 (receive_incremental_selection): unsigned char ==> Extbyte
9133 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9134 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9135 (Fx_store_cutbuffer_internal): Type correctness.
9137 * process-unix.c (try_to_initialize_subtty): Type correctness.
9139 * objects-x.c (x_print_color_instance): Type correctness.
9140 (x_print_font_instance): Type correctness.
9141 (x_list_fonts): SExtbyte ==> Extbyte.
9142 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9143 (x_find_charset_font): SExtbyte ==> Extbyte.
9144 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9145 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9146 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9149 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9150 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9151 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9152 (BYTE_C0_P): Use bit ops for char-signedness safety.
9153 (BYTE_C1_P): Use bit ops for char-signedness safety.
9154 (CHARSET_BY_LEADING_BYTE):
9155 (CHARSET_BY_ATTRIBUTES):
9156 Always use inline function.
9157 Use type_checking_assert.
9160 * mule-charset.c (non_ascii_charptr_copy_char):
9161 Modify to work with both ASCII and non-ASCII characters.
9162 Improve docs and variable names.
9163 Replace over-clever fall-through switch with a simple loop.
9164 (Lstream_get_emchar_1):
9165 Replace over-clever fall-through switch with a simple loop.
9167 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9168 Warning suppression.
9170 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9171 the return value of Lstream_getc, which could be EOF as well.
9173 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9175 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9176 APIs can be used on Extbytes without casts. Risky!
9180 * input-method-xlib.c (XIM_init_device):
9181 Use Xlib.h instead of IntrinsicP.h.
9182 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9183 which will break in X11R7.
9184 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9185 to call XRegisterIMInstantiateCallback with correct types.
9187 * gui-x.c (button_item_to_widget_value): Type correctness.
9189 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9191 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9192 (xbm_instantiate_1): Type correctness.
9193 (BUILD_GLYPH_INST): Type correctness.
9195 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9198 (decode_coding_sjis):
9199 (decode_coding_big5):
9200 (decode_coding_ucs4):
9201 (decode_coding_utf8):
9202 (decode_coding_iso2022):
9203 (decode_coding_no_conversion):
9204 Make all decoding functions take an Extbyte * arg.
9205 (encode_coding_sjis):
9206 (encode_coding_big5):
9207 (encode_coding_ucs4):
9208 (encode_coding_utf8):
9209 (encode_coding_iso2022):
9210 (encode_coding_no_conversion):
9211 Make all encoding functions take a Bufbyte * arg.
9212 Use size_t instead of unsigned int for memory sizes.
9213 Only cast to unsigned char whenever dereferencing Extbyte *.
9215 * doc.c (unparesseuxify_doc_string): Type correctness.
9217 * console-x.c (split_up_display_spec):
9218 Rewrite without using details of internal string representation.
9219 (x_semi_canonicalize_device_connection): Type correctness.
9222 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9223 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9224 (HAVE_XFREE386): Removed.
9226 * buffer.h (DEC_CHARPTR): `const' correctness.
9227 (bufbyte_strcmp): New.
9228 (bufbyte_memcmp): New.
9230 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9232 * buffer.h (XCHAR_OR_CHAR_INT):
9233 Always use inline function.
9234 Remove redundant type checking assert() - XINT will abort quite nicely.
9236 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9238 * search.c (Freplace_match): Set newtext to an empty string.
9240 2000-10-10 Martin Buchholz <martin@xemacs.org>
9242 * s/decosf1-3.h: Remove #include of stropts.h
9243 * s/ptx.h: Remove #include of stropts.h
9244 * s/usg5-4.h: Remove #include of stropts.h
9247 Use stropts.h, not sys/stropts.h.
9248 Use strtio.h, not sys/strtio.h.
9250 2000-10-04 Martin Buchholz <martin@xemacs.org>
9252 * XEmacs 21.2.36 is released.
9254 2000-09-21 Andy Piper <andy@xemacs.org>
9256 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9257 changes still involve copying the widget tree.
9258 (update_widget_face): make sure a change is register in the widget
9259 tree. Call update_tab_widget_face appropriately.
9260 (update_tab_widget_face): ditto.
9261 (x_tab_control_redisplay): make sure non-structural changes still
9262 involve copying the widget tree.
9264 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9266 * lread.c (locate_file): Check the path element is non-nil.
9268 2000-10-02 Martin Buchholz <martin@xemacs.org>
9270 * lisp.h: Warning suppression for SCO compilers.
9272 * redisplay-tty.c (reset_tty_modes): Fix crash.
9273 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9275 2000-09-27 Martin Buchholz <martin@xemacs.org>
9277 Big signal/process handling overhaul. Bugs fixed:
9278 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9279 M-x comint-kill-subjob should work for both values nil and t of
9280 process-connection-type. It was broken on most platforms.
9281 Testing on Irix and Cygwin still needed. Other plaforms tested.
9282 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9283 * process-unix.c: Signal/Process handling overhaul.
9284 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9285 (allocate_pty): Use all available modern methods of allocating
9286 ptys, falling back to old style BSD allocation as a last resort.
9287 Use allegedly more secure Unix98 pty allocation by default.
9288 (allocate_pty_the_old_fashioned_way): New. the last resort.
9289 (unix_create_process): Push ptem, ldterm, ttcompat where
9290 available. Autoconfiscate.
9291 (try_to_initialize_subtty): New.
9292 (unix_kill_child_process): Proper signal handling for ptys on most
9293 platforms, using special knowledge of AIX, BSD, etc...
9294 (unix_create_process): Always disconnect_controlling_terminal() for
9295 subprocesses, whether using ptys or not.
9296 * process.h: Remove old getpt-dependent PTY code.
9297 * process.c (Fprocess_send_signal): New, obvious generic function.
9298 (decode_signal): New.
9299 (Finterrupt_process):
9303 (Fcontinue_process):
9304 (Fsignal_process): Use decode_signal.
9305 (process_send_signal):
9306 Many docstring corrections.
9307 Allow any signal to be sent to a process object.
9308 * config.h.in: Add symbols for big signal/process overhaul.
9309 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9310 * sysproc.h: Include process-related headers, where available:
9311 sys/stropts.h sys/strtio.h pty.h libutil.h
9319 Remove old S&M pty stuff.
9320 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9321 * systty.h: Simplify cpp hackery, improve comments.
9322 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9324 * editfns.c (Fformat_time_string):
9325 Be a little more paranoid with the return value of ctime.
9327 * fileio.c (check_executable):
9329 Use symbolic constants X_OK, W_OK.
9331 * console-x.c (split_up_display_spec): Fix a warning.
9333 2000-10-02 Martin Buchholz <martin@xemacs.org>
9335 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9336 * ntproc.c (sys_spawnve): make_string ==> build_string
9337 Small clarity improvements.
9339 2000-09-30 Martin Buchholz <martin@xemacs.org>
9341 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9343 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9345 * config.h.in (HAVE_STRCASECMP): Remove.
9347 2000-09-29 Martin Buchholz <martin@xemacs.org>
9349 * redisplay-output.c (redisplay_output_pixmap):
9350 Cleaner and possibly more 64-bit correct code.
9352 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9354 * dumper.c (pdump_load_finish): move restoration of
9355 `noninteractive1' to emacs.c (main_1).
9356 * emacs.c (main_1): protect LISP-visible command-line flags
9359 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9361 * Makefile.in.in (versionclean): Use EXE_TARGET and
9362 DUMP_TARGET instead of literal program names.
9364 2000-09-20 Martin Buchholz <martin@xemacs.org>
9366 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9368 2000-09-19 Martin Buchholz <martin@xemacs.org>
9370 * *: Spelling mega-patch
9372 2000-09-19 Martin Buchholz <martin@xemacs.org>
9374 * fns.c (bad_bad_turtle):
9375 Delete "Eek!" comment, since we fixed the bug to which it refers.
9377 2000-09-16 Martin Buchholz <martin@xemacs.org>
9379 * alloca.c: Replace REGISTER with register.
9381 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9383 * file-coding.c (ucs_to_char): Use countof.
9385 2000-09-16 Martin Buchholz <martin@xemacs.org>
9387 * file-coding.c: (ucs_to_char):
9388 (complex_vars_of_file_coding):
9389 Use countof instead of sizeof.
9390 Use CHECK_NATNUM instead of CHECK_INT.
9392 * sysdep.c (strcasecmp): Remove.
9393 * device-x.c (ascii_strcasecmp): New.
9394 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9395 Avoid using non-standard non-portable strcasecmp.
9397 2000-09-16 Martin Buchholz <martin@xemacs.org>
9399 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9400 * font-lock.c: remove reference to emacsfns.h.
9401 * search.c: small doc improvement.
9402 * event-Xt.c: correct file names in comments.
9403 * console-x.h Correct file names in comments.
9404 * frame.c: Correct file names in comments.
9405 * event-stream.c: remove Energize from comments.
9407 2000-09-15 Martin Buchholz <martin@xemacs.org>
9409 * symeval.h (DEFERROR_STANDARD):
9412 (DEFSYMBOL_NO_DUMP):
9413 (DEFSYMBOL_MULTIWORD_PREDICATE):
9414 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9416 The construct &##name is not sensible C.
9417 Fixes compilation errors with Unixware native compiler.
9419 2000-09-14 Martin Buchholz <martin@xemacs.org>
9421 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9422 (next_frame_internal): Removed. We now just have next_frame.
9424 Write a simpler and cleaner one-pass algorithm.
9425 Remove called_from_delete_device arg and #ifdefed-out code.
9427 Renamed from prev_frame. Update callers.
9428 Cleaned up to have an analogous implementation to next_frame.
9429 (other_visible_frames_internal): Remove the
9430 called_from_delete_device bogus arg, and hence, remove this
9431 function. Just use other_visible_frames().
9433 * window.c (Fnext_window):
9435 Since next_frame() is guaranteed to return a frame, remove check
9436 for nil inserted in previous patch.
9439 Make code look more like Fnext_window.
9441 Respect the `console' arg when iterating through windows.
9442 Fixes bug: (get-buffer-window buffer t device) not respecting
9444 This function needs more work, as others have pointed out.
9446 * frame.h: Rename prev_frame to previous_frame.
9447 device_matches_console_spec no longer takes a `frame' arg.
9452 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9453 From "Golubev I. N." <gin@mo.msk.ru>.
9455 * make-src-depend: Fix typo.
9457 2000-09-13 Martin Buchholz <martin@xemacs.org>
9459 * window.c (Fnext_window):
9460 next_frame() might return nil, not a frame.
9462 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9464 * frame.c (next_frame_internal):
9465 We've passed a frame if we've passed its device.
9467 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9468 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9470 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9472 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9473 Allow option to suppress accelerators in menu/dialog items.
9474 (populate_or_checksum_helper): Pass dialog title through above.
9476 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9478 * event-msw.c (mswindows_key_to_emacs_keysym):
9479 Add "pause" key, fix "menu" key.
9481 2000-09-09 Martin Buchholz <martin@xemacs.org>
9483 * eval.c (reinit_vars_of_eval):
9484 Increase max_lisp_eval_depth to 1000,
9485 required for thai-xtis.el to byte-compile under some circumstances.
9487 2000-09-04 Martin Buchholz <martin@xemacs.org>
9489 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9492 2000-09-01 Martin Buchholz <martin@xemacs.org>
9494 * make-src-depend: Make the generated Makefiles smaller.
9496 * s/hpux.h (SETUP_SLAVE_PTY):
9497 Provide a %d in the format string for the errno argument.
9499 * editfns.c (Ftemp_directory):
9501 Avoid buffer overrun on very long file name.
9503 * input-method-xlib.c (XIM_init_device):
9504 6th parameter of XRegisterIMInstantiateCallback has different
9505 pointer types on different OSes, so simply cast to (void *).
9507 * unexhp9k800.c: Warning fixes. Fiddly changes.
9509 * sysdll.c (dll_open):
9510 shl_load will hang hard if passed a NULL filename.
9511 Simply return NULL for compatibility with dlopen.
9512 * sysdll.c: Conform to XEmacs coding standards.
9514 * sysdep.c (get_pty_max_bytes):
9515 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9517 2000-08-31 Martin Buchholz <martin@xemacs.org>
9519 * tooltalk.c: Add #include <syssignal.h>
9521 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9523 * s/hpux.h: Don't use undefined function sigunblock().
9525 2000-08-31 Martin Buchholz <martin@xemacs.org>
9527 * config.h.in: Add HAVE_BALLOON_HELP.
9528 * emacs.c: Use HAVE_BALLOON_HELP.
9529 * Makefile.in.in (x_objs):
9530 Make Balloon Help conditional on finding shape.h.
9532 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9534 * syntax.c (regex_emacs_buffer_p): New variable.
9535 * syntax.h (regex_emacs_buffer_p): extern.
9536 * search.c (looking_at_1):
9538 (fast_string_match):
9539 (search_buffer): Set regex_emacs_buffer_p.
9540 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9541 when before_dot, at_dot, after_dot.
9543 2000-08-23 Andy Piper <andy@xemacs.org>
9545 * gui-x.c (popup_selection_callback): Only set action_occurred
9546 when we really have an image instance.
9547 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9549 2000-08-23 Andy Piper <andy@xemacs.org>
9551 * gui-msw.c (mswindows_handle_gui_wm_command): set
9553 * gui-x.c (popup_selection_callback): ditto.
9555 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9556 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9557 (struct Lisp_Image_Instance): add action_occurred flag.
9559 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9560 (image_instance_changed): ditto.
9561 (reset_frame_subwindow_instance_cache): only unmap windows - do
9562 not remove them from the cache also.
9564 * glyphs-widget.c (tab_control_update): better debug.
9565 (progress_gauge_update): ditto.
9566 (layout_update): ditto.
9567 (layout_instantiate): ditto.
9568 (tab_control_order_only_changed): cope with null pending items.
9570 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9571 debug. Force selection of an item when an action occurred. Cope
9572 with null pending_items.
9573 (mswindows_progress_gauge_redisplay): better debug.
9574 * glyphs-x.c (x_tab_control_redisplay): ditto.
9576 * redisplay.c (redisplay_frame): reset the frame cache if the
9579 * window.c (Fset_window_configuration): potentially re-enable
9581 (window_unmap_subwindows): need to finalize instances here since
9582 it is only used in mark_window_as_deleted.
9584 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9586 * nas.c (SndOpenDataForReading):
9587 nas.c (WaveOpenDataForReading):
9588 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9589 Somehow escaped from the 2000-08-14 patch.
9591 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9593 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9594 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9596 2000-08-21 Andy Piper <andy@xemacs.org>
9598 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9599 window if it is not already displayed.
9601 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9602 it is not already displayed.
9604 * window.c (Fset_window_configuration): don't reset the frame
9607 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9608 instances from the frame cache if we are actually finalizing them.
9609 (reset_frame_subwindow_instance_cache): reset frame cache only
9610 after unmapping everything.
9611 (map_subwindow): set displayed flag after mapping.
9613 2000-08-21 Martin Buchholz <martin@xemacs.org>
9615 * data.c (indirect_function):
9616 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9618 * eval.c (function_argcount):
9619 Use original function when signaling errors.
9621 2000-08-18 Andy Piper <andy@xemacs.org>
9623 * frame.c (delete_frame_internal): use new
9624 free_frame_subwindow_instances name.
9626 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9627 (add_tab_item): make return type correct.
9628 (mswindows_tab_control_instantiate): assert index of tab.
9629 (mswindows_tab_control_redisplay): Re-code to use
9630 gui_item_equal_sans_selected and gui_item_list_find_selected.
9632 * glyphs-widget.c (tab_control_update): Correct comment.
9634 * window.c (window_unmap_subwindows): use new
9635 unmap_subwindow_instance_cache_mapper.
9636 (window_unmap_subwindows_cache_mapper): deleted.
9637 (Fset_window_configuration): comparisons should now be with
9638 EQ. Preserve the subwindow instance cache across configuration
9640 (allocate_window): ditto.
9641 (make_dummy_parent): ditto.
9643 * glyphs.c (free_frame_subwindow_instances): rename from
9644 free_frame_subwindow_instance_cache. finalize all instances rather
9645 than just those in the display cache.
9646 (finalize_all_subwindow_instances): walk windows unmapping and
9647 finalizing subwindows.
9648 (unmap_subwindow_instance_cache_mapper): moved from
9649 window.c. Allow finalization as well as unmapping.
9651 * gui.c (gui_item_list_find_selected): new function.
9653 * gui.h (gui_item_list_find_selected): declare.
9655 * glyphs-x.c (x_tab_control_redisplay): pick tab
9656 explicitly. Re-code to use gui_item_equal_sans_selected and
9657 gui_item_list_find_selected.
9659 * glyphs-x.h: add lwlib-utils.h
9661 * buffer.c (Frecord_buffer): undo previous change.
9663 2000-08-09 Vin Shelton <acs@xemacs.org>
9665 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9666 possible. Create temporary files more securely. The patch was
9667 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9668 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9669 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9672 2000-08-07 Ben Wing <ben@xemacs.org>
9674 * getloadavg.c: remove duplicate (and windows-breaking)
9675 includes of fcntl.h and sys/file.h.
9677 * nt.c: remove duplicate getloadavg() definition.
9679 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9682 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9684 * eval.c (function_argcount): If function needs to be autoloaded
9685 actually use the loaded definition.
9688 2000-08-05 Ben Wing <ben@xemacs.org>
9690 * getloadavg.c: add prototype for getloadavg(). remove
9691 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9692 of the code). remove duplicate header includes.
9694 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9696 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9697 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9698 useful load average.
9700 * alloc.c (reinit_alloc_once_early): removed references to
9701 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9702 the lisp vars are the only things referencing the malloc_sbrk_*
9703 vars, and they were already if 0'd out. these vars only exist
9704 in the older malloc.c, which is basically unused, and they're
9705 only for informational purposes.
9707 * m\*.h: removed useless VIRT_ADDR_VARIES.
9709 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9711 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9713 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9714 color if the image is a mono pixmap.
9716 2000-07-30 Ben Wing <ben@xemacs.org>
9718 * Makefile.in.in (release):
9721 * buffer.c (directory_is_current_directory):
9722 * dired-msw.c (mswindows_get_files):
9724 * dired.c (Fdirectory_files):
9725 * dired.c (file_name_completion_stat):
9726 * dired.c (Ffile_attributes):
9727 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9728 preprocessor tricks, to avoid problems on some machines
9731 * callproc.c (egetenv): GC docs.
9734 * console-msw.h (struct mswindows_dialog_id):
9735 * lrecord.h (lrecord_type):
9736 New object for use with MSW dialogs.
9738 * console.h (struct console_methods):
9739 New enable/disable frame methods, for proper modal dialogs.
9741 * device-msw.c (msprinter_default_printer): Fix to follow
9742 proper Mule conventions.
9745 * device-msw.c (signal_open_printer_error):
9746 * device-msw.c (msprinter_init_device):
9747 * device-msw.c (ensure_not_printing):
9748 * device-msw.c (plist_get_margin):
9749 * device-msw.c (Fmsprinter_select_settings):
9750 * device-msw.c (finalize_devmode):
9751 * device-msw.c (Fmsprinter_settings_despecialize):
9752 * device-msw.c (signal_enum_priner_error):
9753 * extents.c (decode_extent):
9754 * extents.c (decode_map_extents_flags):
9755 * extents.c (decode_extent_at_flag):
9756 * extents.c (Fextent_at):
9757 * extents.c (Fextents_at):
9758 * extents.c (symbol_to_glyph_layout):
9759 [[[[2]]]] Use structured errors.
9762 * dialog-msw.c (mswindows_is_dialog_msg):
9763 * dialog-msw.c (mark_mswindows_dialog_id):
9764 * dialog-msw.c (dialog_proc):
9765 * dialog-msw.c (handle_question_dialog_box):
9766 * dialog-msw.c (syms_of_dialog_mswindows):
9767 Define new object to clean up marking; use it as a dialog identifier.
9768 Call new delete-dialog-box-hook.
9770 * dialog-x.c (dbox_selection_callback):
9771 * dialog-x.c (dbox_descriptor_to_widget_value):
9772 * dialog-x.c (x_make_dialog_box_internal):
9773 Call new delete-dialog-box-hook.
9777 * dialog.c (syms_of_dialog):
9778 * dialog.c (vars_of_dialog):
9779 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9782 * eval.c (signal_call_debugger):
9783 when noninteractive, output stack traces on the console instead
9784 of in a (never-seen) buffer.
9786 * eval.c (signal_type_error):
9787 * eval.c (invalid_argument_2):
9789 new funs for use w/structured errors.
9792 * event-Xt.c (x_to_emacs_keysym):
9793 * event-Xt.c (describe_event):
9794 * event-Xt.c (emacs_Xt_event_handler):
9795 * event-Xt.c (vars_of_event_Xt):
9797 * event-msw.c (mswindows_wnd_proc):
9798 * event-msw.c (vars_of_event_mswindows):
9799 rename {x,mswindows}-debug-events to debug-{}-events for
9800 consistency with other debug-foo variables.
9803 document next-event more clearly.
9805 * fileio.c (Ffile_name_directory):
9806 * fileio.c (Ffile_name_nondirectory):
9807 * fileio.c (Funhandled_file_name_directory):
9808 * fileio.c (file_name_as_directory):
9809 * fileio.c (Ffile_name_as_directory):
9810 * fileio.c (directory_file_name):
9811 * fileio.c (Fdirectory_file_name):
9812 * fileio.c (Fmake_temp_name):
9813 * fileio.c (Ffile_truename):
9814 * fileio.c (Fsubstitute_in_file_name):
9815 * fileio.c (expand_and_dir_to_file):
9816 * fileio.c (barf_or_query_if_file_exists):
9817 * fileio.c (check_executable):
9818 * fileio.c (Ffile_exists_p):
9819 * fileio.c (Ffile_writable_p):
9820 * fileio.c (Ffile_directory_p):
9821 * fileio.c (Ffile_regular_p):
9822 * fileio.c (Ffile_modes):
9823 * fileio.c (Ffile_newer_than_file_p):
9824 * fileio.c (Fverify_visited_file_modtime):
9825 * fileio.c (Fset_visited_file_modtime):
9826 * fileio.c (auto_save_1):
9831 * frame-msw.c (mswindows_init_frame_1):
9832 * frame-msw.c (mswindows_enable_frame):
9833 * frame-msw.c (error_frame_unsizable):
9834 * frame-msw.c (msprinter_init_frame_1):
9835 * frame-msw.c (msprinter_init_frame_3):
9836 * frame-msw.c (console_type_create_frame_mswindows):
9838 implement new enable/disable frame methods.
9841 * frame-x.c (x_enable_frame):
9842 * frame-x.c (console_type_create_frame_x):
9843 implement new enable/disable frame methods.
9846 * frame.c (Fdisable_frame):
9847 * frame.c (syms_of_frame):
9848 * frame.h (struct frame):
9849 implement new enable/disable frame methods/functions.
9854 * glyphs-msw.c (mswindows_widget_instantiate):
9855 comment that initial-focus should be implemented.
9858 * glyphs-widget.c (check_valid_instantiator):
9859 * glyphs-widget.c (check_valid_orientation):
9860 * glyphs-widget.c (check_valid_tab_orientation):
9861 * glyphs-widget.c (check_valid_justification):
9862 * glyphs-widget.c (check_valid_border):
9863 * glyphs-widget.c (check_valid_callback):
9864 * glyphs-widget.c (check_valid_int_or_function):
9865 * glyphs-widget.c (check_valid_string_or_vector):
9866 * glyphs-widget.c (check_valid_item_list_1):
9867 * glyphs-widget.c (widget_validate):
9868 * glyphs-widget.c (combo_box_validate):
9869 * glyphs-widget.c (widget_instantiate):
9870 * glyphs-widget.c (syms_of_glyphs_widget):
9871 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9872 * glyphs-widget.c (image_instantiator_combo_box):
9873 * glyphs-widget.c (image_instantiator_scrollbar):
9874 * glyphs-widget.c (image_instantiator_tab_control):
9875 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9877 support (unimplemented) keyword initial-focus.
9878 reindent long macros.
9880 * glyphs-x.c (x_redisplay_widget):
9881 * glyphs-x.c (x_button_instantiate):
9882 * glyphs-x.c (x_button_redisplay):
9883 * glyphs-x.c (x_progress_gauge_instantiate):
9884 * glyphs-x.c (x_edit_field_instantiate):
9885 * glyphs-x.c (x_combo_box_instantiate):
9886 * glyphs-x.c (x_tab_control_instantiate):
9887 * glyphs-x.c (x_label_instantiate):
9889 * gui-x.c (button_item_to_widget_value):
9890 * gui-x.c (gui_items_to_widget_values_1):
9891 * gui-x.c (gui_item_children_to_widget_values):
9892 * gui-x.c (gui_items_to_widget_values):
9894 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9895 add new flag to gui-parsing routines to indicate whether
9896 accelerator specs should be supported.
9898 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9900 * glyphs.h (struct Lisp_Image_Instance):
9901 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9902 add initial-focus flag.
9905 * gui.c (syms_of_gui):
9906 * gui.c (vars_of_gui):
9907 clean up menu-no-selection-hook.
9910 support delete-dialog-box-hook.
9912 * lread.c (Fload_internal):
9913 * lread.c (locate_file_in_directory_mapper):
9917 * lrecord.h (struct toolbar_button):
9918 * lrecord.h (syms_of_toolbar):
9919 document how to create a new object.
9921 * menubar-msw.c (mswindows_char_is_accelerator):
9922 may be called on frames w/o menus.
9924 * menubar.c (vars_of_menubar):
9925 clean up :filter docs.
9932 * process-nt.c (validate_signal_number):
9933 * process-nt.c (signal_cannot_launch):
9934 * process-nt.c (nt_create_process):
9935 * process-nt.c (nt_send_process):
9936 * process-nt.c (nt_kill_child_process):
9937 * process-nt.c (nt_open_network_stream):
9938 * process-nt.c (syms_of_process_nt):
9940 delete quote-handling. call new lisp code that does it better.
9942 * process-unix.c (connect_to_file_descriptor):
9943 * process-unix.c (allocate_pty):
9944 * process-unix.c (unix_send_process):
9945 * process-unix.c (unix_kill_child_process):
9946 * process-unix.c (unix_open_network_stream):
9947 * process-unix.c (unix_open_multicast_group):
9951 * process.c (Fstart_process_internal):
9952 (2). need to canonicalize process path even if absolute.
9954 * select-msw.c (symbol_to_ms_cf):
9955 * select-msw.c (ms_cf_to_symbol):
9956 * select-msw.c (cf_is_autofreed):
9957 * select-msw.c (mswindows_destroy_selection):
9959 * select.c (syms_of_select):
9961 support dibv5, fix bugs. (from Mike Alexander)
9963 * select.c (Fget_selection_internal):
9964 * select.c (select_convert_out):
9967 * sysdep.c (xemacs_stat):
9972 but keep original stat() here because we provide encapsulation
9976 * sysfile.h (fstat):
9977 remove stat garbage.
9981 don't include tchar.h. it's inappropriate because it makes
9982 compile-time distinctions when we want runtime distinctions.
9983 (we provide our own tchar replacements)
9986 use default object printer for toolbar-button.
9989 make sure we don't encapsulate.
9991 * window.c (vars_of_window):
9992 emphasize that temp-buffer-show-hook is obsolete.
9994 2000-08-05 Martin Buchholz <martin@xemacs.org>
9996 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9997 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9999 * events.c (Fevent_timestamp_lessp):
10000 Not 64-bit clean. Use EMACS_INT, not int.
10002 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
10004 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
10005 unsigned int and changed the last enum to
10006 lrecord_type_last_built_in_type.
10007 (lrecord_implementations_table): changed prototype to know how
10008 long the array is supposed to be.
10009 (lrecord_type_count): new unsigned int to keep track of the
10010 current number of lisp lrecord types.
10011 (DEFINE_EXTERNAL_LRECORD):
10012 (DECLARE_EXTERNAL_LRECORD): Added these two for external
10013 dynamic-modules to declare new lisp types. They are the same
10014 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10015 int for each new type, and increment lrecord_type_count by 1.
10017 * alloc.c (lrecord_implementations_table): Changed to reference
10018 lrecord_type_last_built_in_type for the size of the array.
10019 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10021 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10023 * glyphs.h (check_valid_item_list): Renamed from
10024 check_valid_item_list_1.
10026 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10028 * select.c (Qselect_coerce): New.
10029 * select.c (Vselection_coercion_alist): New.
10030 * select.c (syms_of_select): Declare.
10031 * select.c (get-selection-internal): Use it.
10032 Use the new select-coerce functionality.
10034 * select.c (select_coerce): New.
10035 * select.h (select_coerce): Declare.
10036 New function to coerce one type of data into another.
10038 2000-08-03 Martin Buchholz <martin@xemacs.org>
10040 * callproc.c (Fcall_process_internal):
10041 (Fcall_process_internal):
10042 * process-unix.c (unix_create_process):
10043 Save and restore the value of errno, so that error messages are accurate.
10045 2000-08-01 Martin Buchholz <martin@xemacs.org>
10047 * elhash.c (print_hash_table):
10048 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10049 Prettify docstrings and indentation.
10051 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10053 * window.c (Fwindow_pixel_edges): Subtract frame border and
10056 2000-07-31 Andy Piper <andy@xemacs.org>
10058 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10059 will acknowledge the change.
10061 * glyphs.h: declare tab_control_order_only_changed.
10063 * glyphs-x.c (x_tab_control_redisplay): use
10064 tab_control_order_only_changed.
10066 * glyphs-widget.c (tab_control_order_only_changed): new function.
10068 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10069 tab_control_order_only_changed.
10071 * gui.c (gui_item_equal_sans_selected): new function.
10072 (gui_item_equal): use it.
10074 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10075 :properties in favor of :items..
10077 * glyphs-widget.c (check_valid_item_list): rename from
10078 check_valid_item_list_1.
10079 (check_valid_item_list_1): renamed.
10080 (combo_box_validate): deprecate :properties in favor of :items.
10081 (widget_instantiate): ditto.
10082 (tab_control_update): ditto.
10083 (image_instantiator_combo_box): ditto.
10084 (image_instantiator_tree_view): ditto.
10085 (image_instantiator_tab_control): ditto.
10086 (layout_post_instantiate): remove dead code.
10088 * print.c (debug_print_no_newline): only write to debugger if in
10091 * elhash.c (Fmake_hash_table): update doc string.
10093 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10094 messages whilst in GC. This at least stops XEmacs crashing but has
10095 the potential for wierd behaviour.
10097 2000-07-31 Martin Buchholz <martin@xemacs.org>
10100 Make existence of s&m files optional.
10102 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10103 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10104 * s/gnu.h: Remove HAVE_GETLOADAVG.
10105 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10106 * s/sol2.h: Remove HAVE_GETLOADAVG.
10107 * lisp.h: Remove getloadavg() declaration.
10109 Include <sys/loadavg.h> if available.
10110 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10111 * config.h.in: Group together getloadavg()-related macros.
10112 Use only configure-time tests to detect getloadavg().
10114 2000-07-30 Martin Buchholz <martin@xemacs.org>
10116 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10118 2000-07-25 Andy Piper <andy@xemacs.org>
10120 * syswindows.h: add tchar.h for native builds.
10122 * frame.c (syms_of_frame): remove set-glyph-image.
10124 * general-slots.h: add Qset_glyph_image.
10126 * glyphs-widget.c (layout_update): add domain arg to
10128 (syms_of_glyphs_widget): remove set-glyph-image.
10130 2000-07-23 Ben Wing <ben@xemacs.org>
10132 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10135 2000-07-22 Andy Piper <andy@xemacs.org>
10137 * symsinit.h: add syms_of_win32().
10139 * gui-msw.c (syms_of_gui_mswindows): remove
10140 Fmswindows_shell_execute.
10141 (Fmswindows_shell_execute): moved to win32.c.
10143 * emacs.c (main_1): add syms_of_win32 ().
10145 * win32.c (init_potentially_nonexistent_functions): rewrite in
10146 compiler-friendly terms.
10147 (Fmswindows_shell_execute): move here from gui-msw.c.
10148 (syms_of_win32): new.
10150 * device-msw.c (Fmswindows_printer_list): clean up args to
10152 Don't include tchar under cygwin or mingw.
10153 (msprinter_default_printer): make cygwin-friendly.
10155 2000-07-21 Andy Piper <andy@xemacs.org>
10157 * glyphs-widget.c (image_instantiator_tree_view): use tab
10158 control's update function.
10159 (layout_property): new function. Retrieve items.
10161 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10162 function. Re-populate the tree view from the pending items.
10164 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10165 is designated the parent if the domain is an image instance. This
10166 is needed so that dirtiness can be cascade up the hierarchy and
10167 thus for layout children to be redisplayed correctly.
10168 (allocate_image_instance): rename glyph -> parent.
10170 * redisplay.h: change redisplay_output_layout signature.
10172 * redisplay-msw.c (mswindows_output_display_block): use domain
10175 * redisplay-x.c (x_output_display_block): use domain arg.
10177 2000-07-10 Andy Piper <andy@xemacs.org>
10179 * window.c (Fset_window_configuration): add comment.
10181 * redisplay-output.c (compare_runes):
10182 (redisplay_output_subwindow): redisplay rather than update subwindow.
10183 (redisplay_output_layout): ditto.
10185 * redisplay-msw.c (mswindows_frame_output_end):
10186 (mswindows_frame_output_end): make defer window pos optional.
10188 * lisp.h: add Flast.
10190 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10191 normalize method. Change update method to be for changed
10192 instantiators. Add redisplay method. Change signature of layout
10194 (struct Lisp_Image_Instance): add instantiator.
10195 (IMAGE_INSTANCE_INSTANTIATOR): new.
10196 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10197 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10198 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10201 (find_instantiator_differences): new function.
10202 (Fset_instantiator_property): new convenience function.
10203 (check_image_instance_structure): strictly check for vector
10205 (normalize_image_instantiator): make non-static.
10206 (instantiate_image_instantiator): pass on dest_mask and use new
10207 signatures for image_instance_layout and friends.
10208 (mark_image_instance): mark the instantiator. Mark the subwindow
10209 face not the widget face.
10210 (image_instance_equal): add instantiator.
10211 (image_instance_hash): ditto.
10212 (allocate_image_instance): ditto.
10213 (Fset_image_instance_property): removed.
10214 (Fimage_instance_file_name): ditto.
10215 (Fcolorize_image_instance): ditto.
10216 (image_instance_layout): add offsets to be set.
10217 (update_image_instance): new function. update an image instance
10218 from its changed instantiator.
10219 (inherit_normalize): add dest_mask.
10220 (xbm_normalize): ditto.
10221 (xface_normalize): ditto.
10222 (xpm_normalize): ditto.
10223 (text_update): set_property -> update.
10224 (image_instantiate): use the glyph identity as a hash key, not the
10226 (glyph_width): use new image_instance_layout signature.
10227 (glyph_ascent): ditto.
10228 (glyph_descent): ditto.
10229 (glyph_height): ditto.
10230 (glyph_query_geometry): ressurrect.
10231 (glyph_layout): ditto.
10232 (redisplay_subwindow): update -> redisplay.
10233 (syms_of_glyphs): add Fset_instantiator_property.
10234 (image_instantiator_format_create): set_property -> update.
10237 (autodetect_normalize): add dest_maks to signature.
10238 (x_redisplay_subwindow): update -> redisplay.
10239 (x_redisplay_widget): ditto.
10240 (x_button_redisplay): ditto.
10241 (x_progress_gauge_redisplay): ditto.
10242 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10244 (console_type_create_glyphs_x): update -> redisplay.
10245 (image_instantiator_format_create_glyphs_x): ditto.
10248 (check_valid_instantiator): disallow glyphs in the instantiator,
10249 they must now be vectors.
10250 (check_valid_instantiator_list): ditto.
10251 (glyph_instantiator_to_glyph): use internal symbol rather than
10253 (widget_update): renamed from widget_set_property. Call cascaded
10255 (redisplay_widget): renamed from update_widget.
10256 (widget_layout): image_instance_layout now takes position as well
10258 (widget_normalize): ditto.
10259 (widget_instantiate): ditto.
10260 (tab_control_query_geometry) ditto.:
10261 (tab_control_update): renamed from tab_control_set_property.
10262 (progress_gauge_update): set_property -> update.
10263 (layout_normalize): rewrite so that child instantiators are
10265 (layout_update): new function. Create glyphs from the normalized
10266 children and cope with any other layout keywords. We do not
10267 instantiate children here that will be take care of by
10268 redisplay_output_layout.
10269 (layout_instantiate): call layout_update and not much else.
10270 (layout_post_instantiate): not sure whether this is needed
10272 (layout_query_geometry): query glyph geometry rather than
10273 image_instance geometry.
10274 (layout_layout): set offsets from pass in parameters. Use glyph
10275 geometry and layout functions rather than image instance ones.
10276 (native_layout_layout): ditto.
10277 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10278 (image_instantiator_widget): set_property -> update.
10279 (image_instantiator_buttons): ditto.
10280 (image_instantiator_progress_guage): ditto.
10281 (image_instantiator_tab_control): ditto.
10282 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10283 (image_instantiator_layout): add update method.
10285 * glyphs-msw.c (bmp_normalize):
10286 (mswindows_resource_normalize): add dest_mask so that it can be
10287 proprogated by layout_normalize.
10288 (begin_defer_window_pos): make optional because it may not be the
10289 right thing to do and it introduces differences with X.
10290 (mswindows_unmap_subwindow): ditto.
10291 (mswindows_map_subwindow): ditto.
10292 (mswindows_redisplay_subwindow): renamed from
10293 mswindows_update_subwindow.
10294 (mswindows_redisplay_widget): ditto.
10295 (mswindows_button_redisplay): renamed from
10296 mswindows_button_update. Update is now what the instantiation
10297 function does for a changed instantiator.
10298 (mswindows_progress_gauge_instantiate): set the progress value
10299 here if appropriate.
10300 (mswindows_tab_control_redisplay): cope with re-ordering of the
10301 members of the tab widget by simply selecting the new top
10302 widget. This makes things appear ok if you click on a tab.
10303 (mswindows_combo_box_instantiate): image_instance_layout now takes
10304 position as well as size.
10305 (mswindows_progress_gauge_redisplay): renamed from
10306 mswindows_progress_gauge_update.
10307 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10308 (image_instantiator_format_create_glyphs_mswindows): ditto.
10310 * glyphs-eimage.c (jpeg_normalize):
10313 (tiff_normalize): add dest_mask so that it can be proprogated by
10317 (print_hash_table):
10318 (hash_table_weakness_validate):
10319 (decode_hash_table_weakness):
10320 (Fhash_table_weakness):
10321 (Fhash_table_type):
10322 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10324 * console.h (struct console_methods): move update_* to
10327 2000-07-20 Ben Wing <ben@xemacs.org>
10329 * *.[ch] (XSETOBJ): remove unused middle argument.
10330 lisp-disunion.h: correct wrap_object() to one argument.
10332 2000-07-15 Ben Wing <ben@xemacs.org>
10335 * s/cygwin32.h (CYGWIN_CONV_PATH):
10336 Add missing logb prototype for v1.1.
10337 Use post-b20 names and alias to pre-b20 names when pre-b20.
10339 * s/windowsnt.h: [5].
10341 2000-07-15 Ben Wing <ben@xemacs.org>
10343 * Makefile.in.in (x_objs):
10344 * Makefile.in.in (sheap_objs):
10345 * Makefile.in.in (objs):
10346 added win32.o, cosmetic cleanups.
10348 * alloc.c (Fmake_byte_code):
10349 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10350 etc. macros which declare their own args now.
10352 * alloc.c (syms_of_alloc):
10353 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10356 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10358 * buffer.c (Fget_file_buffer):
10359 Fixed GCPRO problem.
10361 * buffer.c (get_truename_buffer):
10362 Fixed comment about GC checking.
10364 * buffer.c (syms_of_buffer):
10365 Undeclared those dedicated frame funs.
10369 Define convenience macros for internal/external conversions.
10370 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10371 and Qenvironment_variable_encoding for cleaner code.
10374 Remove dedicated-frame; in lisp.
10376 * bytecode.c (funcall_compiled_function):
10379 * bytecode.c (syms_of_bytecode):
10383 * console-msw.c (mswindows_show_console): Rewrote.
10385 * console-msw.c (Fmswindows_debugging_output): New.
10386 Sends to OutputDebugString (special MSWin debugger interface).
10388 * console-msw.c (Fmswindows_message_box):
10389 Fixed stupid bugs so it works when called from kill-emacs.
10391 * console-msw.c (syms_of_console_mswindows):
10392 Declare Fmswindows_debugging_output.
10395 New MSWin prototypes.
10397 * console-msw.h (struct mswindows_frame):
10398 New entry last-click-mods for improved button-modifier support.
10400 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10401 New struct entry `popup' with corresponding accessor.
10404 * console-x.c (split_up_display_spec):
10405 * console-x.c (get_display_arg_connection):
10406 * console-x.c (x_semi_canonicalize_console_connection):
10407 * console-x.c (x_canonicalize_device_connection):
10408 [[[6]]]: Change char to more specific type.
10409 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10411 * console-x.c (x_semi_canonicalize_console_connection):
10412 * console-x.c (x_canonicalize_device_connection):
10413 [[[9]]]: Fix up error signalling to use new structured error system.
10416 [[[4]]]: Define codesys aliases:
10417 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10418 Qx_color_name_encoding, Qx_display_name_encoding.
10420 * console.h (struct console_methods):
10421 New method make_dialog_box_internal supersedes older
10422 popup_dialog_box method.
10425 Define many new errors, part of new structured errors.
10427 * data.c (init_errors_once_early):
10428 * data.c (syms_of_data):
10431 * device-msw.c (mswindows_init_device):
10432 [[[5]]]: Cleanup to support NT 3.51.
10434 * device-msw.c (decode_devmode): Cleanup.
10436 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10437 * device-msw.c (mswindows_handle_print_dialog_box):
10438 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10439 * device-msw.c (syms_of_device_mswindows):
10440 Delete the dialog box primitives recently introduced by Kirill and
10441 instead interface to general dialog box interface.
10444 * device-x.c (compute_x_app_name):
10445 * device-x.c (x_init_device):
10446 * device-x.c (Fx_valid_keysym_name_p):
10447 * device-x.c (Fx_set_font_path):
10451 * device.h (wrap_device): New.
10452 First of its kind; meant to replace XSETDEVICE.
10454 * dialog-msw.c: Many file-dialog symbols.
10456 * dialog-msw.c (mswindows_register_popup_frame): New.
10457 * dialog-msw.c (mswindows_is_dialog_msg): New.
10458 For supporting kbd traversal in dialog boxes.
10460 * dialog-msw.c (dialog_proc):
10461 Support hitting ESC in dialogs.
10463 * dialog-msw.c (struct):
10464 Common dialog box errors.
10466 * dialog-msw.c (handle_file_dialog_box): New.
10467 Add file dialog code.
10469 * dialog-msw.c (handle_question_dialog_box):
10470 Redo existing code to support new question dialog syntax.
10472 * dialog-msw.c (console_type_create_dialog_mswindows):
10473 We support new dialog console method.
10475 * dialog-msw.c (syms_of_dialog_mswindows):
10476 * dialog-msw.c (vars_of_dialog_mswindows):
10477 New file dialog symbols, vars.
10480 * dialog-x.c (maybe_run_dbox_text_callback):
10481 * dialog-x.c (dbox_descriptor_to_widget_value):
10482 * dialog-x.c (x_make_dialog_box_internal):
10483 * dialog-x.c (console_type_create_dialog_x):
10484 Mule-ize entire file.
10485 Redo to support question dialog syntax.
10489 * dialog.c (Fmake_dialog_box_internal):
10490 * dialog.c (syms_of_dialog):
10491 Kill old popup-dialog-box, replace with new primitive.
10492 Just call device method or signal error.
10494 * eldap.c (Fldap_open):
10495 * eldap.c (Fldap_search_basic):
10496 * eldap.c (Fldap_add):
10497 * eldap.c (Fldap_modify):
10502 * emacs.c (make_arg_list_1):
10503 * emacs.c (make_arg_list):
10504 Mule-ize call to dll_init().
10508 * emacs.c (make_argc_argv):
10509 * emacs.c (free_argc_argv):
10510 * emacs.c (init_cmdargs):
10511 * emacs.c (main_1):
10512 * emacs.c (Fkill_emacs):
10513 * emacs.c (Fdump_emacs):
10514 Update comments about what can be used in syms_* etc.
10515 Call init_win32() when necessary.
10516 Fix up MS Win dialog box in kill-buffer to actually work right.
10527 * eval.c (condition_case_3):
10529 * eval.c (function_argcount):
10530 * eval.c (funcall_lambda):
10533 * eval.c (type_error): New.
10534 * eval.c (maybe_type_error): New.
10535 * eval.c (continuable_type_error): New.
10536 * eval.c (maybe_continuable_type_error): New.
10537 * eval.c (type_error_with_frob): New.
10538 * eval.c (maybe_type_error_with_frob): New.
10539 * eval.c (continuable_type_error_with_frob): New.
10540 * eval.c (maybe_continuable_type_error_with_frob): New.
10541 New functions for use with structured errors.
10544 * event-Xt.c (x_event_to_emacs_event):
10545 Buttons are now modifiers too.
10547 * event-Xt.c (emacs_Xt_current_event_timestamp):
10548 Implement new event method.
10549 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10552 * event-msw.c (ntpipe_shove_writer): [5].
10553 * event-msw.c (mswindows_enqueue_mouse_button_event):
10554 * event-msw.c (mswindows_drain_windows_queue):
10555 * event-msw.c (mswindows_wnd_proc): [7].
10556 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10557 * event-msw.c (mswindows_modifier_state):
10558 Throughout: support new button modifiers.
10560 * event-msw.c (emacs_mswindows_current_event_timestamp):
10561 Implement new event method.
10562 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10565 * event-stream.c (event_stream_current_event_timestamp): New.
10566 * event-stream.c (maybe_kbd_translate): New functionality.
10567 * event-stream.c (vars_of_event_stream):
10568 Document new kbd-translate-table functionality.
10570 * event-stream.c (Fcurrent_event_timestamp): New.
10571 New primitive for use in fabricated events.
10572 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10574 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10577 * events.c (Fmake_event):
10578 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10582 * events.c (format_event_object): fix gcc warnings.
10584 * events.c (Fevent_timestamp): Document new primitives.
10586 * events.c (TIMESTAMP_HALFSPACE): New.
10588 * events.c (Fevent_timestamp_lessp): New. New primitive for
10589 comparing timestamps correctly (half-space algorithm).
10591 * events.c (Fevent_modifier_bits): Doc fix.
10593 * events.c (Fevent_modifiers): Major doc addition.
10594 * events.c (event_x_y_pixel_internal): Typo fix.
10595 * events.c (syms_of_events): Declare new primitives.
10598 Update long comment for button modifiers, timestamps.
10600 * events.h (struct event_stream):
10601 New current_event_timestamp method.
10604 * extents.c (extent_in_region_p):
10605 * extents.c (decode_extent):
10606 * extents.c (Fset_extent_parent):
10607 * extents.c (decode_map_extents_flags):
10611 * extents.c (struct extent_at_arg):
10612 * extents.c (decode_extent_at_flag):
10613 * extents.c (extent_at_mapper):
10614 * extents.c (extent_at_bytind):
10615 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10616 * extents.c (Fextents_at): New primitive. [9].
10617 * extents.c (symbol_to_glyph_layout): [9].
10618 Support new primitive `extents-at'.
10621 * extents.c (get_text_property_bytind):
10622 extent_at_bytind has another arg.
10625 * extents.c (syms_of_extents): New primitive.
10627 * file-coding.c (Fmake_coding_system): [1].
10628 * file-coding.c (subsidiary_coding_system): fix gcc warning
10629 * file-coding.c (syms_of_file_coding): [2].
10631 * fileio.c (Fexpand_file_name):
10632 * fileio.c (Fsysnetunam):
10633 * fileio.c (Ffile_exists_p):
10634 * fileio.c (Ffile_executable_p):
10635 * fileio.c (Fverify_visited_file_modtime):
10638 * fileio.c (syms_of_fileio): [2].
10640 * filelock.c (lock_file_1):
10641 * filelock.c (current_lock_owner):
10642 * filelock.c (lock_if_free):
10643 * filelock.c (lock_file):
10644 * filelock.c (unlock_file):
10647 * fns.c (concat): Fix gcc warning.
10650 * fns.c (Fold_member):
10652 * fns.c (Fold_memq):
10653 * fns.c (memq_no_quit):
10655 * fns.c (Fold_assoc):
10657 * fns.c (Fold_assq):
10658 * fns.c (assq_no_quit):
10660 * fns.c (Fold_rassoc):
10662 * fns.c (Fold_rassq):
10663 * fns.c (rassq_no_quit):
10665 * fns.c (Fold_delete):
10667 * fns.c (Fold_delq):
10668 * fns.c (delq_no_quit):
10669 * fns.c (Fremassoc):
10670 * fns.c (Fremassq):
10671 * fns.c (remassq_no_quit):
10672 * fns.c (Fremrassoc):
10673 * fns.c (Fremrassq):
10674 * fns.c (remrassq_no_quit):
10675 * fns.c (Freverse):
10679 * frame-msw.c (mswindows_init_frame_1):
10680 * frame-msw.c (mswindows_delete_frame):
10681 Register popups with dialog code so keyboard traversing works.
10683 * frame-tty.c (tty_raise_frame_no_select): [1].
10686 * frame-x.c (x_set_frame_text_value):
10687 * frame-x.c (x_set_frame_properties):
10688 * frame-x.c (x_create_widgets):
10692 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10694 * frame.h (wrap_frame): New.
10695 Macro like wrap_device.
10698 * general.c (SYMBOL):
10699 * general.c (syms_of_general):
10700 Major reorg. This is now just a wrapper and symbols themselves
10701 are listed in general-slots.h.
10703 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10704 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10706 * glyphs-msw.c (mswindows_native_layout_instantiate):
10707 Add DS_CONTROL so keyboard traversal will work.
10710 * glyphs-widget.c (syms_of_glyphs_widget):
10711 Move some symbols to general-slots.h.
10714 * glyphs-x.c (xbm_instantiate_1):
10715 * glyphs-x.c (x_xbm_instantiate):
10716 * glyphs-x.c (x_xface_instantiate):
10717 * glyphs-x.c (autodetect_instantiate):
10718 * glyphs-x.c (cursor_font_instantiate):
10719 * glyphs-x.c (x_update_widget):
10720 * glyphs-x.c (x_widget_instantiate):
10721 * glyphs.c (bitmap_to_lisp_data):
10722 * glyphs.c (pixmap_to_lisp_data):
10725 * glyphs.c (syms_of_glyphs):
10729 * gui-x.c (print_widget_value):
10730 * gui-x.c (menu_separator_style_and_to_external):
10731 * gui-x.c (add_accel_and_to_external):
10732 * gui-x.c (button_item_to_widget_value):
10733 * gui-x.c (gui_items_to_widget_values_1):
10734 * gui-x.c (gui_items_to_widget_values):
10735 * gui-x.c (syms_of_gui_x):
10736 * gui-x.c (vars_of_gui_x):
10737 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10741 Muleize, prototype changes matching gui-x.c.
10744 * gui.c (separator_string_p):
10745 * gui.c (gui_item_add_keyval_pair):
10746 * gui.c (make_gui_item_from_keywords_internal):
10747 * gui.c (signal_too_long_error):
10748 * gui.c (parse_gui_item_tree_item):
10749 * gui.c (syms_of_gui):
10750 * gui.c (vars_of_gui):
10752 menu-no-selection-hook moved here (used by MSWin).
10753 Move some symbols to general-slots.h.
10757 * insdel.c (get_buffer_pos_char):
10758 * insdel.c (get_buffer_range_char):
10761 * keymap.c (keymap_lookup_directly):
10762 * keymap.c (keymap_store):
10763 * keymap.c (ensure_meta_prefix_char_keymapp):
10764 * keymap.c (describe_map):
10766 Support new button modifiers.
10768 * lisp-disunion.h (wrap_object):
10769 * lisp-disunion.h (XSETOBJ):
10770 Rename make_obj to wrap_object.
10773 * lisp-union.h (make_int):
10774 * lisp-union.h (make_char):
10775 Support wrap_object.
10778 * lisp.h (LIST_LOOP):
10779 * lisp.h (EXTERNAL_LIST_LOOP):
10780 * lisp.h (LIST_LOOP_2):
10781 * lisp.h (EXTERNAL_LIST_LOOP_1):
10782 * lisp.h (EXTERNAL_LIST_LOOP_2):
10783 * lisp.h (EXTERNAL_LIST_LOOP_3):
10784 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10785 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10786 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10787 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10788 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10789 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10790 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10791 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10792 * lisp.h (struct Lisp_Symbol):
10793 * lisp.h (maybe_continuable_error_with_frob):
10794 Fix up section comments.
10795 Add new types for char to indicate usage.
10796 Delete symbols auto-generated from general-slots.h.
10797 Add prototypes for structured error functions.
10798 Add long comments describing looping macros and change interface
10799 so that lvalues are automatically declared.
10800 Add NO_DECLARE macro in case callers want to declare lvalues
10803 * lread.c (read_syntax_error):
10804 * lread.c (continuable_read_syntax_error):
10805 * lread.c (read_structure):
10806 * lread.c (sequence_reader):
10807 * lread.c (read_list_conser):
10808 * lread.c (read_compiled_function):
10809 Rename syntax_error and continuable_syntax_error to avoid clash
10810 with same-named structured error functions.
10812 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10813 * menubar-msw.c (populate_menu_add_item):
10814 * menubar-msw.c (populate_or_checksum_helper):
10819 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10820 Mule-ize whole file.
10822 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10824 * mule-charset.c (Fmake_charset):
10825 * mule-wnnfns.c (Fwnn_set_param):
10828 * ntproc.c (create_child):
10829 * ntproc.c (Fwin32_set_current_locale):
10830 Add comments portending doom.
10833 * objects-msw.c (old_font_enum_callback_2):
10834 * objects-msw.c (font_enum_callback_1):
10835 * objects-msw.c (mswindows_enumerate_fonts):
10839 * objects-x.c (allocate_nearest_color):
10840 * objects-x.c (x_parse_nearest_color):
10841 * objects-x.c (x_initialize_color_instance):
10842 * objects-x.c (x_print_color_instance):
10843 * objects-x.c (x_finalize_color_instance):
10844 * objects-x.c (x_valid_color_name_p):
10845 * objects-x.c (x_initialize_font_instance):
10846 * objects-x.c (x_print_font_instance):
10847 * objects-x.c (valid_x_font_name_p):
10848 * objects-x.c (truename_via_FONT_prop):
10849 * objects-x.c (truename_via_random_props):
10850 * objects-x.c (truename_via_XListFonts):
10851 * objects-x.c (x_font_truename):
10852 * objects-x.c (x_font_instance_truename):
10853 * objects-x.c (x_font_instance_properties):
10854 * objects-x.c (x_list_fonts):
10855 * objects-x.c (x_find_charset_font):
10856 Mule-ize entire file.
10863 * print.c (std_handle_out_external):
10864 * print.c (debug_print_no_newline):
10865 * print.c (syms_of_print):
10866 Output to all debugger kinds in debug-print.
10867 Fix console-output code under MSWin to actually work.
10869 * process-nt.c (send_signal):
10870 * process-nt.c (nt_create_process):
10871 Use newer Unicode macros.
10873 * process-unix.c (unix_create_process):
10874 * process-unix.c (unix_canonicalize_host_name):
10875 * process-unix.c (unix_open_network_stream):
10881 * search.c (syms_of_search):
10884 * select-msw.c (mswindows_destroy_selection):
10887 * select-x.c (symbol_to_x_atom):
10890 * select.c (syms_of_select):
10893 * sound.c (Fplay_sound_file):
10897 * specifier.c (decode_specifier_type):
10898 * specifier.c (Fvalid_specifier_locale_type_p):
10899 * specifier.c (check_valid_locale_or_locale_type):
10900 * specifier.c (decode_locale):
10901 * specifier.c (decode_locale_type):
10902 * specifier.c (decode_locale_list):
10903 * specifier.c (check_valid_domain):
10904 * specifier.c (decode_specifier_tag_set):
10905 * specifier.c (Fcanonicalize_tag_set):
10906 * specifier.c (Fdefine_specifier_tag):
10907 * specifier.c (Fspecifier_tag_predicate):
10908 * specifier.c (check_valid_inst_list):
10909 * specifier.c (check_valid_spec_list):
10910 * specifier.c (decode_how_to_add_specification):
10911 * specifier.c (check_modifiable_specifier):
10912 * specifier.c (specifier_add_spec):
10913 * specifier.c (boolean_validate):
10914 * specifier.c (display_table_validate):
10917 * specifier.c (syms_of_specifier):
10918 Move some symbols to general-slots.h.
10922 * symbols.c (Fmapatoms):
10923 * symbols.c (Fapropos_internal):
10926 * symbols.c (set_default_buffer_slot_variable):
10927 * symbols.c (set_default_console_slot_variable):
10930 * symbols.c (defsymbol_massage_name_1):
10931 * symbols.c (defkeyword_massage_name):
10932 * symbols.c (deferror_1):
10933 * symbols.c (deferror):
10934 * symbols.c (deferror_massage_name_and_message):
10936 * symeval.h (DEFSYMBOL):
10937 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10939 * symbols.c (syms_of_symbols):
10943 * symsinit.h (init_win32): New.
10944 Also new is syms_of_dialog_mswindows.
10947 Add new Unicode macros, missing Cygwin wide-char functions,
10948 convenience conversion macros for Qmswindows_tstr, macros for
10949 encapsulating required MSWin <-> Cygwin filename conversions,
10950 prototype for dynamically-extracted (not in NT 3.51) functions.
10955 * tooltalk.c (Fadd_tooltalk_message_arg):
10956 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10957 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10960 * tooltalk.c (syms_of_tooltalk):
10964 * unexnt.c (unexec):
10965 Fix up headers, declaration of unexec() to be more standard.
10967 2000-07-20 Martin Buchholz <martin@xemacs.org>
10969 * offix.h: Revert change to guard macros - they're used in offix.c!
10971 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10973 * lisp.h: Defsubred Fdelete.
10975 * console-msw.h: (msprinter_default_printer): Added.
10977 * console-msw.c (msprinter_canonicalize_console_connection):
10978 (msprinter_canonicalize_device_connection): Added.
10980 * device-msw.c (msprinter_default_printer):
10981 (Fmswingows_get_default_printer):
10982 (signal_enum_priner_error):
10983 (Fmswingows_printer_list): Added.
10985 2000-07-19 Martin Buchholz <martin@xemacs.org>
10987 * XEmacs 21.2.35 is released.
10989 2000-07-19 Martin Buchholz <martin@xemacs.org>
10991 * select-x.c (x_handle_selection_request):
10992 Text selected in xemacs and pasted into xterm failed to appear.
10993 Spelling fixes and cosmetic changes.
10995 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10997 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10998 XEmacs frame (fix for doubling chars in dialog boxes).
11000 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11002 * select.c (select_convert_in, select_convert_out):
11003 Don't call intern() every time.
11005 * select.c (Qselect_convert_in, Qselect_convert_out): New.
11006 * select.c (vars_of_select): Initialise them.
11008 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11010 * select.c (selection-coercible-types): New.
11012 * select.c (own-selection-internal):
11013 * select.c (get-selection-internal):
11014 MULE bug fix - these should default to COMPOUND_TEXT and not
11015 STRING for MULE. I think.
11017 * select.c (select_convert_out): Use selection-coercible-types
11018 to find types that we can attempt to perform coercions on.
11020 2000-07-18 Martin Buchholz <martin@xemacs.org>
11024 Add coding: cookie to identify encoding.
11026 * mule-canna.c (CANNA_mode_keys): make static.
11027 Use proper prototypes, even for functions of no arguments.
11028 Remove external prototype for Fding().
11030 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11032 * select.c (syms_of_select): Add missing DEFSUBR.
11034 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11036 * select.c (get_selection_internal, own_selection_internal):
11037 Make the type default to STRING, rather than placing a nil type
11038 into Vselection_alist.
11040 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11042 * gpmevent.c (tty_selection_exists_p):
11043 * gpmevent.c (tty_own_selection):
11044 Updated parameter lists.
11046 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11048 * select.h (selection-alist): Removed declaration.
11050 * select.h (get_local_selection):
11051 * select.c (get_local_selection):
11054 * select.h (convert_selection): Removed declaration.
11055 * select.c (convert_selection): Removed.
11056 This function belongs in Lisp.
11058 * select.h (select_convert_in): Declare.
11059 * select.h (select_convert_out): Declare.
11060 * select.c (select_convert_in): New.
11061 * select.c (select_convert_out): New.
11062 New conversion functions for other files to call.
11064 * select.h (select_notify_buffer_kill): Declare.
11065 * select.c (select_notify_buffer_kill): New.
11066 New functions that get called from kill-buffer.
11068 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11069 X-specific lisp code.
11071 * select.h: Declare some of the lisp-visible functions for
11074 * select.c (clean_local_selection_data): Removed. This was
11075 a disgusting function, and previously should have been in
11076 select-x.c in any case. The functionality is now provided
11077 in select-convert-from-integer (select.el).
11079 * select.c (available-selection-types): Fixed stupidity where
11080 INTEGER and ATOM got added twice. Also add STRING when we see an
11083 * select.c (get-selection-internal): Removed symbol stripping. No
11084 longer causes conversion when data comes from the internal cache.
11086 * select.c (syms_of_select): Added new functions.
11088 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11089 error checking - previously this called abort!
11091 * select-x.c (x_own_selection): Changed comment.
11093 * select-x.c (x_handle_selection_request): Use select_convert_out.
11094 Don't mess with selection-alist; it's an internal variable of select.c.
11096 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11098 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11099 rather than messing with selection-alist.
11101 * select-msw.c (mswindows_get_foreign_selection):
11102 Use TO_INTERNAL_FORMAT rather than hacking.
11104 2000-07-14 Martin Buchholz <martin@xemacs.org>
11106 * process-unix.c (unix_open_multicast_group):
11107 (unix_open_multicast_group): Remove useless casts.
11109 2000-07-13 Martin Buchholz <martin@xemacs.org>
11111 * sound.c (Fplay_sound): Fix `unused variable' warning.
11113 * emacs.c (main): Use correct type for _environ on SCO5.
11115 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11117 * console.h (own_selection_method):
11118 * console.h (selection_exists_p_method):
11119 * console.h (available_selection_types_method): New.
11120 * console.h (register_selection_data_type_method): New.
11121 * console.h (selection_data_type_name): New.
11123 * console-msw.h (mswindows_destroy_selection): Declare it. New
11124 function & alist to track GlobalAlloc()'d handles that need
11125 releasing when the clipboard data gets replaced or emptied.
11127 * event-msw.c (mswindows_wnd_proc): Call it.
11129 * lisp.h, general.c (Qappend): New symbol representing a
11132 * select.c (own-selection-internal):
11133 * select.c (selection-exists-p):
11134 * select.c (available-selection-types): New.
11135 * select.c (register-selection-data-type): New.
11136 * select.c (selection-data-type-name): New. New functions to deal
11137 with device-specific selection data formats.
11138 * select.c (selection-converter-out-alist): Renamed.
11139 * select.c (selection-converter-in-alist): New.
11140 * select.c (selection-appender-alist): New. Added new alists.
11141 * select.c (syms_of_select, vars_of_select): Added new symbols &
11143 * select.c (get_local_selection): Split.
11144 * select.c: Removed spurious type checking - selections may now be
11145 of any type, not just strings.
11146 * select.c (own-selection-internal):
11148 * select.h, select.c (convert_selection): New. Created
11149 convert_selection() function based on get_local_selection().
11150 * select.h, select.c (QCF_*): New symbols representing mswindows
11152 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11153 symbols representing `how-to-add' modes.
11155 * select-msw.c (x_sym_p): New.
11156 * select-msw.c (symbol_to_ms_cf): New.
11157 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11158 symbols & clipboard formats. Can also handle string names.
11159 * select-msw.c (mswindows_own_selection):
11160 * select-msw.c (mswindows_selection_exists_p):
11161 Added `data-type' parameter. Use it.
11162 * select-msw.c (mswindows_available_selection_types): New.
11163 * select-msw.c (mswindows_register_selection_data_type): New.
11164 * select-msw.c (mswindows_selection_data_type_name): New.
11165 * select-msw.c (mswindows_own_selection):
11166 * select-msw.c (mswindows_get_foreign_selection):
11167 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11168 * select-msw.c (console_create_select_mswindows): Added new methods.
11169 * select-msw.c (mswindows_destroy_selection): New.
11170 * select-msw.c (Vhandle_alist): New list.
11171 * select-msw.c (mswindows_own_selection):
11173 * select-x.c (x_own_selection):
11174 * select-x.c (x_selection_exists_p):
11175 * select-x.c: Added some comments about maybe using new
11177 * select-x.c (x_own_selection):
11179 * specifier.c: Remove definition of Qappend (now in general.c)
11180 * specifier.c (syms_of_specifier): Remove Qappend.
11182 2000-07-12 Martin Buchholz <martin@xemacs.org>
11184 * config.h.in: Add socklen_t.
11186 * s/decosf4-0.h: No special compiler flags needed or desired.
11187 In particular, undefine _BSD for DEC OSF 4.0.
11189 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11191 * redisplay-msw.c (msprinter_frame_output_end): Added.
11192 (console_type_create_redisplay_mswindows): Referred the above.
11194 * frame.c (setup_frame_without_minibuffer): Do not create a
11195 default minibuffer frame on a printer device.
11197 * frame-msw.c (apply_dc_geometry): Added.
11198 (msprinter_start_page):
11199 (msprinter_init_frame_3):
11200 (msprinter_eject_page): Use it.
11202 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11203 and removed residual duplex and orientation properties.
11205 2000-07-11 Martin Buchholz <martin@xemacs.org>
11207 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11209 * unexalpha.c: Remove system prototypes from C sources!
11211 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11213 * eval.c: Remove references to M-x edit-options in DEFUNs for
11214 `defvar' and `defconst'.
11216 2000-07-09 Martin Buchholz <martin@xemacs.org>
11218 * config.h.in: Remove SMART_INCLUDE hackery.
11220 PostgreSQL hacking:
11221 * config.h.in: Don't use SMART_INCLUDE.
11223 * postgresql.h: Include libpq-fe.h here. Fix typo.
11224 * inline.c: Simply #include "postgresql.h"
11226 - Don't use SMART_INCLUDE
11227 - Use simply "const".
11228 - Use standard doc string conventions.
11229 - Use correct type for result of PQstatus.
11231 2000-07-09 Martin Buchholz <martin@xemacs.org>
11233 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11235 C++ compilation changes.
11236 * config.h.in (EXTERN_C): Define.
11237 * config.h.in (not): This is also a C++ keyword.
11238 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11239 * cm.c: Use EXTERN_C.
11240 * redisplay-tty.c: Use EXTERN_C.
11241 * sysdep.c: Use EXTERN_C. Remove Gould support.
11243 2000-07-09 Martin Buchholz <martin@xemacs.org>
11245 * general.c: Remove duplicate definition for Qfunction.
11247 2000-07-08 Ben Wing <ben@xemacs.org>
11249 * device-msw.c (msprinter_init_device):
11250 * device-msw.c (sync_printer_with_devmode):
11251 * device-msw.c (handle_devmode_changes):
11252 * device-msw.c (print_dialog_worker):
11253 * device-msw.c (Fmsprinter_apply_settings):
11254 * device-msw.c (hash_devmode):
11255 * device-msw.c (Fmsprinter_settings_despecialize):
11256 use Qmswindows_tstr, not Qctext.
11258 * vm-limit.c (check_memory_limits):
11259 avoid infinite loop printing warning messages.
11261 2000-07-05 Craig Lanning <lanning@scra.org>
11263 * Makefile.in.in: Add support for including the Windows resources
11264 when building with the cygwin and mingw targets.
11266 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11267 not set or not correct.
11268 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11269 (init_initial_directory): Don't try to use $PWD on the
11270 WIN32_NATIVE target.
11273 [[Add -mwindows to eliminate console window.]] not required --ben
11274 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11275 (MAIL_USE_POP): removed; now handled by configure.
11277 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11278 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11279 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11280 (MAIL_USE_POP): removed; now handled by configure.
11281 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11282 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11283 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11285 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11286 up from <winsock.h> via systime.h.
11287 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11288 (getpagesize): from Dan Holmsand, added.
11289 Added #endif which was left dangling by Ben's mega patch; added
11290 comment to help prevent this in the future.
11292 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11294 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11296 * console-msw.h (struct mswindows_device): Removed unnecessary
11297 cached device geometry values.
11298 Added update_tick and an accessor macro.
11299 (Lisp_Devmode): Added lrecord declaration.
11300 (struct msprinter_device): Contain devmode as a Lisp object.
11301 Added mswindows_get_selected_frame_hwnd();
11303 * console.h (struct console_methods): Indentation nitpicking.
11305 * device-msw.c (mswindows_init_device): Do not initialize geometry
11306 cache. Initialize update tick.
11307 (mswindows_device_system_metrics): Ask the device for its geometry.
11308 (global_free_2_maybe):
11309 (devmode_to_hglobal):
11310 (handle_printer_changes):
11311 (ensure_not_printing):
11312 (print_dialog_worker):
11313 (Fmsprinter_print_setup_dialog):
11314 (Fmsprinter_print_dialog):
11315 (plist_get_margin):
11316 (plist_set_margin):
11317 (Fmsprinter_page_setup_dialog): Added functions.
11318 (sync_printer_with_devmode):
11319 (handle_devmode_changes):
11320 (Fmsprinter_get_settings):
11321 (Fmsprinter_select_settings):
11322 (Fmsprinter_apply_settings):
11323 (allocate_devmode):
11324 (Fmsprinter_settings_copy):
11325 (Fmsprinter_settings_despecialize):
11327 (finalize_devmode):
11329 (hash_devmode): Added functions
11330 (syms_of_device_mswindows): Init devmode lrecord class.
11332 * device.h: Added an exfun for find-device.
11334 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11335 geometry; although, recreate the device compatible DC.
11337 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11338 (msprinter_init_frame_3):
11339 (msprinter_frame_property):
11340 (msprinter_internal_frame_property_p):
11341 (msprinter_frame_properties):
11342 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11343 print job properties (will move to device settings).
11345 * lisp.h: Added symbols.
11347 * general.c (syms_of_general): Declared them.
11349 * hash.c (string_hash): Added.
11351 * lrecord.h (lrecord_type): Added devmode lrecord type.
11353 2000-07-02 Mike Sperber <mike@xemacs.org>
11355 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11358 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11360 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11363 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11365 * data.c (Fstring_to_number): Don't recognize floating point if
11368 2000-06-22 Martin Buchholz <martin@xemacs.org>
11370 * glyphs-widget.c (tab_control_query_geometry):
11371 (widget_query_geometry):
11372 (button_query_geometry):
11373 * glyphs.c (text_query_geometry):
11374 Enforce type correctness.
11376 2000-06-18 Martin Buchholz <martin@xemacs.org>
11378 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11379 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11381 2000-06-17 Martin Buchholz <martin@xemacs.org>
11383 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11384 conflicts with gcc's fixincluded version of FOO.h.
11386 * glyphs.h (image_instance_geometry): Remove trailing `,'
11388 2000-06-08 Mike Alexander <mta@arbortext.com>
11390 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11391 (shove_thread): Don't write the same output twice
11392 (make_ntpipe_output_stream): Increase priority of shove thread
11393 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11395 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11398 2000-06-12 Ben Wing <ben@xemacs.org>
11400 * s\mingw32.h (sigset):
11401 * s\windowsnt.h (sigset):
11402 rename msw_ to mswindows_ for consistency with general convention.
11404 2000-06-12 Ben Wing <ben@xemacs.org>
11407 * console-msw.c (mswindows_get_console_hwnd):
11408 * console-msw.c (mswindows_ensure_console_allocated):
11409 * console-msw.c (mswindows_hide_console):
11410 * console-msw.c (mswindows_show_console):
11411 * console-msw.c (mswindows_ensure_console_buffered):
11412 * console-msw.c (mswindows_output_console_string):
11413 * console-msw.c (mswindows_windows9x_p):
11415 * device-msw.c (mswindows_get_workspace_coords):
11416 * device-msw.c (mswindows_device_system_metrics):
11417 * dialog-msw.c (mswindows_popup_dialog_box):
11418 * event-msw.c (mswindows_wnd_proc):
11419 * frame-msw.c (mswindows_size_frame_internal):
11420 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11421 * menubar-msw.c (displayable_menu_item):
11422 * menubar-msw.c (mswindows_char_is_accelerator):
11424 * nt.c (mswindows_sigset):
11425 * nt.c (mswindows_sigrelse):
11426 * nt.c (mswindows_sigpause):
11427 * nt.c (mswindows_raise):
11428 * nt.c (timer_proc):
11430 * ntproc.c (find_child_console):
11431 * ntproc.c (sys_kill):
11433 * print.c (std_handle_out_external):
11434 * process-nt.c (find_child_console):
11435 * process-nt.c (send_signal_the_95_way):
11436 * process-nt.c (ensure_console_window_exists):
11437 * process-nt.c (nt_create_process):
11439 rename msw_ to mswindows_ for consistency with general convention.
11443 include nt.h, not syswindows.h.
11445 * nt.c (mswindows_fstat):
11446 * nt.c (mswindows_stat):
11447 prefix mswindows_ instead of attempting to directly override the
11448 library functions. fix declarations.
11451 include syswindows.h. move some sysdep.h stuff here.
11454 include syswindows.h, not <windows.h>.
11462 * sysdep.c (sys_fstat):
11463 * sysdep.c (sys_stat):
11464 call mswindows versions when appropriate.
11467 move mswin decls to nt.h.
11470 add long comment describing appropriate use of the various windows
11473 2000-06-11 Ben Wing <ben@xemacs.org>
11475 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11477 2000-06-10 Ben Wing <ben@xemacs.org>
11479 * Makefile.in.in (release):
11480 Correction to make sure xemacs.exe always dumped when correct.
11484 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11486 * buffer.c (set_buffer_internal):
11487 [[[[2]]]]: Remove HAVE_FEP code.
11489 * buffer.c (init_initial_directory):
11493 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11497 * callproc.c (call_process_cleanup):
11498 * callproc.c (Fold_call_process_internal):
11499 * callproc.c (child_setup):
11500 * callproc.c (getenv_internal):
11501 * callproc.c (init_callproc):
11502 * callproc.c (vars_of_callproc):
11503 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11504 __CYGWIN32__ -> CYGWIN.
11505 DOS_NT -> WIN32_NATIVE.
11506 Remove MSDOS support/references, converting to WIN32_NATIVE
11508 __MINGW32__ -> MINGW.
11509 Fix windows.h includes.
11510 Remove bogus HAVE_NTGUI.
11516 mswindows_message_outputted added for use in allowing startup
11517 errors on the console to be seen.
11519 * console-msw.c (msw_ensure_console_allocated):
11520 * console-msw.c (msw_output_console_string):
11521 * console-msw.c (DHEADER):
11522 * console-msw.c (DOPAQUE_DATA):
11523 * console-msw.c (DEVENT):
11524 * console-msw.c (DCONS):
11525 * console-msw.c (DCONSCDR):
11526 * console-msw.c (DSTRING):
11527 * console-msw.c (DVECTOR):
11528 * console-msw.c (DSYMBOL):
11529 * console-msw.c (DSYMNAME):
11532 * console-stream.c (stream_init_console):
11533 Fix text/binary problems.
11536 * device-msw.c (mswindows_finish_init_device):
11537 * device-msw.c (mswindows_delete_device):
11540 * device.c (handle_asynch_device_change):
11544 * dgif_lib.c (DGifOpenFileName):
11545 * dgif_lib.c (DGifOpenFileHandle):
11546 * dgif_lib.c (DGifGetLine):
11547 * dgif_lib.c (DGifGetPixel):
11548 Added config.h/lisp.h, fix up includes.
11555 * dired.c (file_name_completion):
11556 * dired.c (Ffile_attributes):
11557 * dired.c (syms_of_dired):
11561 * dumper.c (pdump_file_unmap):
11562 * dumper.c (pdump_load):
11566 * editfns.c (Ftemp_directory):
11567 * editfns.c (user_login_name):
11568 * editfns.c (Fuser_real_login_name):
11569 * editfns.c (get_home_directory):
11572 * elhash.c (finish_marking_weak_hash_tables):
11573 [[[[5]]]]: Fix GCC warnings.
11576 * emacs.c (mswindows_handle_hardware_exceptions):
11577 * emacs.c (make_arg_list_1):
11578 * emacs.c (main_1):
11579 * emacs.c (Fkill_emacs):
11580 * emacs.c (Fdump_emacs):
11582 Fix problems with nested crashes, add long comment.
11584 * event-Xt.c (init_event_Xt_late):
11588 * event-msw.c (mswindows_dde_callback):
11589 * event-msw.c (mswindows_handle_sticky_modifiers):
11590 * event-msw.c (mswindows_wnd_proc):
11594 * events.c (character_to_event):
11598 * fileio.c (Ffile_name_directory):
11599 * fileio.c (Ffile_name_nondirectory):
11600 * fileio.c (directory_file_name):
11601 * fileio.c (Fexpand_file_name):
11602 * fileio.c (Fsubstitute_in_file_name):
11603 * fileio.c (Ffile_name_absolute_p):
11604 * fileio.c (check_executable):
11605 * fileio.c (Ffile_readable_p):
11606 * fileio.c (Ffile_accessible_directory_p):
11607 * fileio.c (Ffile_modes):
11608 * fileio.c (Funix_sync):
11609 * fileio.c (vars_of_fileio):
11612 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11614 Expand getdefdir defn.
11615 Fix bogus rename() comment.
11617 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11618 to use standard XEmacs include files, e.g. sysfile.h, rather
11619 than system-specific includes.
11625 * frame.c (vars_of_frame):
11629 * getloadavg.c (getloadavg):
11631 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11632 (We don't use it elsewhere in the code; just add a comment.)
11639 * glyphs-msw.c (mswindows_resource_instantiate):
11642 * glyphs-x.c (x_native_layout_instantiate):
11645 * gui-msw.c (Fmswindows_shell_execute):
11654 * lread.c (locate_file_in_directory_mapper):
11661 * mem-limits.h (get_lim_data):
11673 * nt.c (rva_to_section):
11674 * nt.c (mswindows_executable_type):
11676 Fix closedir() defn.
11679 [[[[8]]]]: *_OK defs moved to sysfile.h.
11688 * print.c (std_handle_out_external):
11692 * process-nt.c (nt_create_process):
11694 try to fix process quoting somewhat.
11696 * process-unix.c (unix_create_process):
11700 * process.c (vars_of_process):
11707 * realpath.c (xrealpath):
11710 * redisplay-tty.c (init_tty_for_redisplay):
11720 * sheap.c (more_static_core):
11721 * sheap.c (report_sheap_usage):
11725 * signal.c (alarm_signal):
11732 * strftime.c (zone_name):
11735 * symsinit.h (init_sunpro):
11739 commctrl.h not in Cygwin b20.1.
11742 * sysdep.c (endif):
11743 * sysdep.c (sys_subshell):
11744 * sysdep.c (init_baud_rate):
11745 * sysdep.c (emacs_get_tty):
11746 * sysdep.c (emacs_set_tty):
11747 * sysdep.c (tty_init_sys_modes_on_device):
11748 * sysdep.c (init_system_name):
11749 * sysdep.c (sys_open):
11750 * sysdep.c (interruptible_open):
11751 * sysdep.c (sys_fopen):
11752 * sysdep.c (sys_mkdir):
11753 * sysdep.c (sys_rename):
11754 * sysdep.c (get_process_times_1):
11761 * sysdir.h (DIRENTRY_NONEMPTY):
11764 * sysdll.c (dll_init):
11770 added text/binary defs.
11776 * sysproc.h (EDESTADDRREQ):
11777 * sysproc.h (poll_fds_for_input):
11794 Always define WIN32_LEAN_AND_MEAN.
11796 * unexcw.c (unexec):
11800 * unexec.c (copy_text_and_data):
11801 * unexec.c (adjust_lnnoptrs):
11805 * unexnt.c (_start):
11808 2000-06-07 Ben Wing <ben@xemacs.org>
11810 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11811 was used only as a model. We've long since extracted any useful
11812 logic or code out of this. (I just did an exhaustive search.)
11814 * s\msdos.h: Removed.
11816 * s\windows95.h: Removed.
11818 2000-06-10 Ben Wing <ben@xemacs.org>
11822 Don't use extern with fun defs.
11826 Remove nt\inc include.
11827 Remove getdisk, getdefdir. (The former is unused, the latter
11828 expanded in fileio.h.)
11831 * s\windowsnt.h (WIN32_NATIVE):
11832 * s\windowsnt.h (HAVE_STRCASECMP):
11834 Add long comment about preprocessor changes.
11835 Remove getdisk, getdefdir. (The former is unused, the latter
11836 expanded in fileio.h.)
11838 2000-06-10 Ben Wing <ben@xemacs.org>
11847 Remove bogus/unused NO_SOCK_SIGIO.
11849 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11851 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11854 2000-06-04 Mike Sperber <mike@xemacs.org>
11856 * casetab.c (set_case_table): For `set-standard-case-table',
11857 actually deposit the new case tables where the rest of XEmacs can
11860 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11862 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11864 2000-06-05 Ben Wing <ben@xemacs.org>
11866 * callproc.c (child_setup): Don't do close_load_descs() under
11867 MS Windows. Put in a comment explaining why.
11869 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11871 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11872 Toolkit shell" which breaks `kill-compilation' on Windows NT
11873 native, retaining STDERR handling improvements.
11875 2000-06-01 Andreas Jaeger <aj@suse.de>
11877 * s/s390.h: Support for S390, based on a patch by Martin
11878 Schwidefsky <schwidefsky@de.ibm.com>.
11880 2000-05-30 Andy Piper <andy@xemacs.org>
11882 * window.c (allocate_window):
11883 (make_dummy_parent):
11884 (Fset_window_configuration): use new hashtable type.
11886 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11887 (struct image_instantiator_methods):
11888 (struct Lisp_Image_Instance): make instance geometry signed.
11890 * glyphs.c (instantiate_image_instantiator):
11891 (image_instance_query_geometry):
11892 (image_instance_layout):
11893 (image_instance_layout):
11894 (query_string_geometry):
11895 (text_query_geometry):
11896 (image_instantiate):
11897 (image_instantiate):
11898 (cache_subwindow_instance_in_frame_maybe):
11899 (subwindow_query_geometry): make instance geometry signed.
11901 * glyphs-widget.c (widget_query_geometry):
11903 (button_query_geometry):
11904 (tree_view_query_geometry):
11905 (tab_control_query_geometry):
11906 (layout_query_geometry):
11908 (native_layout_layout): make instance geometry signed.
11910 2000-05-29 Olivier Galibert <galibert@pobox.com>
11912 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11915 * general.c (syms_of_general): Add Qfull_assoc symbol.
11917 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11919 (decode_weak_list_type): Decode full-assoc type.
11920 (encode_weak_list_type): Encode full-assoc type.
11921 (Fmake_weak_list): Update doc string.
11923 2000-05-30 Andy Piper <andy@xemacs.org>
11925 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11927 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11928 (decode_hash_table_weakness): ditto.
11929 (Fhash_table_weakness): ditto.
11930 (Fhash_table_type): ditto.
11931 (finish_marking_weak_hash_tables): ditto.
11932 (hash_table_weakness_validate): ditto.
11933 (syms_of_elhash): ditto.
11935 2000-05-28 Martin Buchholz <martin@xemacs.org>
11937 * XEmacs 21.2.34 is released.
11939 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11941 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11943 (updating_line_start_cache): Gone.
11944 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11945 generic code to force a minimum of 1 line laid out in the
11948 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11950 * glyphs.c (instantiate_image_instantiator): Check for initialized
11951 height & width no longer special cases IMAGE_NOTHING.
11952 (nothing_instantiate): Set height and width of instance.
11954 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11956 * unexelf.c (unexec): Search for ".data" section.
11957 Initialize new_data2_offset from old_data_index.
11958 Remove redundant check for ElfW.
11960 2000-05-23 Andy Piper <andy@xemacs.org>
11962 * glyphs.c (get_image_instantiator_governing_domain): allow more
11963 specific domains as the governing domain rather than expecting an
11964 exact match. This fixes problems with layouts.
11966 2000-05-22 Andy Piper <andy@xemacs.org>
11968 * redisplay-output.c (compare_runes): check for non-images
11970 * glyphs.c (set_glyph_dirty_p): ditto.
11971 (update_glyph_cachel_data): ditto.
11973 * glyphs-widget.c (layout_post_instantiate): ditto.
11974 (layout_post_instantiate): ditto.
11976 * event-msw.c (mswindows_wnd_proc): warning removal.
11978 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11980 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11982 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11984 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11986 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11987 (mswindows_executable_type): mingw32 now has enough headers for
11990 2000-05-20 Andy Piper <andy@xemacs.org>
11992 * console-msw.c (mswindows_output_last_error): ; -> ,
11994 2000-05-12 Andy Piper <andy@xemacs.org>
11996 * console-msw.c (FROB): compare ints with ints.
11998 2000-05-11 Andy Piper <andy@xemacs.org>
12000 * glyphs-x.c (x_finalize_image_instance): make minimal build
12003 2000-05-20 Ben Wing <ben@xemacs.org>
12006 * event-Xt.c (vars_of_event_Xt):
12007 move modifier-keys-are-sticky to event-stream.c.
12010 * event-msw.c (mswindows_enqueue_mouse_button_event):
12011 * event-msw.c (key_needs_default_processing_p):
12012 * event-msw.c (XEMSW_LCONTROL):
12013 * event-msw.c (mswindows_handle_sticky_modifiers):
12014 * event-msw.c (FROB):
12015 * event-msw.c (clear_sticky_modifiers):
12016 * event-msw.c (output_modifier_keyboard_state):
12017 * event-msw.c (output_alt_keyboard_state):
12018 * event-msw.c (mswindows_wnd_proc):
12019 * event-msw.c (mswindows_modifier_state):
12020 * event-msw.c (emacs_mswindows_handle_magic_event):
12021 implement sticky modifiers.
12024 * event-stream.c (vars_of_event_stream):
12025 move modifier-keys-are-sticky here.
12028 add CHECK_FUNCTION.
12031 implement map-range-table.
12034 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12036 * redisplay-tty.c (reset_tty_modes):
12037 (tty_redisplay_shutdown): Adjust argument type to
12038 tty_frame_output_end.
12040 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12042 * eval.c (Fbacktrace): Don't output a line with only right
12045 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12047 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12048 (Fpq_reset_poll): Ditto.
12050 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12052 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12054 2000-05-16 Ben Wing <ben@xemacs.org>
12057 * buffer.c (dfc_convert_to/from_internal_format):
12058 * buffer.c (reinit_vars_of_buffer):
12059 Fix conversion functions to allow reentrancy.
12062 * console-msw.c (mswindows_output_last_error):
12063 New fun, generally useful -- output a human-readable
12064 version of GetLastError() on the console.
12067 * console-msw.h (struct mswindows_frame):
12068 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12070 * console-stream.c (stream_output_begin):
12071 * console-stream.c (stream_output_end):
12072 * console-stream.c (stream_output_vertical_divider):
12073 * console-stream.c (stream_clear_region):
12074 * console-stream.c (stream_flash):
12075 * console-stream.c (console_type_create_stream):
12076 Delete blank stream methods, not needed.
12078 * console.h (struct console_methods):
12079 Split begin/end methods into window and frame.
12082 * event-msw.c (mswindows_handle_paint):
12083 * event-msw.c (output_alt_keyboard_state):
12084 * event-msw.c (mswindows_wnd_proc):
12085 * event-msw.c (vars_of_event_mswindows):
12086 Comment about problems with ignored-expose.
12087 Define mswindows-debug-events; not really implemented.
12089 * frame-msw.c (mswindows_init_frame_1):
12093 * glyphs-msw.c (begin_defer_window_pos):
12094 * glyphs-msw.c (mswindows_unmap_subwindow):
12095 * glyphs-msw.c (mswindows_map_subwindow):
12096 * glyphs-msw.c (mswindows_resize_subwindow):
12097 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12099 * glyphs.c (make_image_instance_1):
12102 * gutter.c (Fredisplay_gutter_area):
12103 Use new begin/end methods.
12105 * lisp.h (Dynarr_new2):
12109 * redisplay-msw.c (mswindows_frame_output_begin):
12110 * redisplay-msw.c (mswindows_frame_output_end):
12111 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12112 New begin/end methods -- handle DeferWindowPos.
12114 * redisplay-output.c (redisplay_move_cursor):
12115 * redisplay-output.c (redraw_cursor_in_window):
12116 * redisplay-output.c (redisplay_update_line):
12117 * redisplay-output.c (redisplay_output_window):
12118 New begin/end methods.
12121 * redisplay-tty.c (tty_frame_output_begin):
12122 * redisplay-tty.c (tty_frame_output_end):
12123 * redisplay-tty.c (console_type_create_redisplay_tty):
12124 New begin/end methods.
12127 * redisplay-x.c (x_window_output_begin):
12128 * redisplay-x.c (x_window_output_end):
12129 * redisplay-x.c (console_type_create_redisplay_x):
12130 New begin/end methods.
12132 * redisplay.c (redisplay_frame):
12133 * redisplay.c (Fredisplay_echo_area):
12134 New begin/end methods.
12135 use MAYBE_DEVMETH for clear_frame; it may not exist.
12137 * window.h (WINDOW_XFRAME):
12138 WINDOW_XFOO macros -- get locale and decode struct pointer.
12141 2000-05-12 Ben Wing <ben@xemacs.org>
12144 * emacs.c (ensure_no_quitting_from_now_on):
12145 * emacs.c (fatal_error_signal):
12146 * emacs.c (mswindows_handle_hardware_exceptions):
12148 * emacs.c (Fkill_emacs):
12149 * emacs.c (shut_down_emacs):
12150 * emacs.c (assert_failed):
12151 various improvements in fatal error handling.
12154 move preparing_for_armageddon to emacs.c.
12157 declare fatal_error_in_progress.
12160 * print.c (std_handle_out_external):
12161 * print.c (std_handle_out_va):
12162 * print.c (stderr_out):
12163 * print.c (stdout_out):
12164 use console under mswin when no standard output.
12165 don't do code conversion during fatal error.
12167 * scrollbar.c (Fscrollbar_page_up):
12168 * scrollbar.c (Fscrollbar_page_down):
12169 fix missing else. reindent.
12171 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12175 * glyphs.h (GLYPH_CACHEL_DESCENT):
12176 (GLYPH_CACHEL_DESCENT):
12177 (GLYPH_CACHEL_DESCENT):
12178 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12179 used in case these are inline functions.
12180 Use more absurd values to error check.
12182 include window.h for error check functions.
12184 2000-05-11 Ben Wing <ben@xemacs.org>
12186 * cmdloop.c (Freally_early_error_handler):
12187 Display message box under windows; otherwise, message will disappear
12188 before it can be viewed.
12191 * console-msw.c (Fmswindows_message_box):
12192 * console-msw.c (FROB):
12193 * console-msw.c (syms_of_console_mswindows):
12194 Define new fun `mswindows-message-box'.
12195 #### I will merge this into `popup-dialog-box'; just give me
12199 * general.c (syms_of_general):
12200 Some new symbols used in `mswindows-message-box'.
12203 * glyphs.c (Fset_image_instance_property):
12204 put warning in this fun.
12207 * glyphs.h (GLYPH_CACHEL_WIDTH):
12208 * glyphs.h (GLYPH_CACHEL_ASCENT):
12209 * glyphs.h (GLYPH_CACHEL):
12210 * glyphs.h (GLYPH_CACHEL_GLYPH):
12211 define error-checking versions to try to catch a bug i've seen --
12212 redisplay gets in an infinite loop because the glyph width of the
12213 continuation glyph is 65535.
12216 Extern message-box stuff.
12218 * window.c (allocate_window):
12219 * window.c (make_dummy_parent):
12220 * window.c (Fset_window_configuration):
12221 Use EQUAL not EQ for subwindow caches to make them work a bit
12222 better. (Something is still very broken.)
12225 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12227 * glyphs.c (image_instantiate): Suppress gcc warnings.
12228 (Fmake_image_instance): Fix doc string.
12229 * specifier.c (Fmake_specifier): Ditto.
12231 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12233 * paths.h.in (PATH_LOCK): Removed.
12234 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12235 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12237 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12239 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12240 Document (featurep '(and xemacs 21.02)).
12242 2000-05-09 Ben Wing <ben@xemacs.org>
12244 * buffer.c (complex_vars_of_buffer):
12245 update modeline-format doc.
12248 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12251 timeline of all released versions of Emacs, for use in creating
12252 authorship comments and in synching up.
12254 * glyphs-widget.c (image_instantiator_buttons):
12255 * glyphs-widget.c (image_instantiator_edit_fields):
12256 * glyphs-widget.c (image_instantiator_combo_box):
12257 * glyphs-widget.c (image_instantiator_scrollbar):
12258 * glyphs-widget.c (image_instantiator_progress_guage):
12259 * glyphs-widget.c (image_instantiator_tree_view):
12260 * glyphs-widget.c (image_instantiator_tab_control):
12261 * glyphs-widget.c (image_instantiator_labels):
12262 * glyphs-widget.c (image_instantiator_layout):
12263 * glyphs-widget.c (image_instantiator_native_layout):
12264 rename decode_domain method to governing_domain.
12267 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12268 * glyphs.c (add_entry_to_device_ii_format_list):
12269 make sure we don't put an entry more than once into the list.
12270 * glyphs.c (check_instance_cache_mapper):
12271 *************************************************************
12272 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12274 *************************************************************
12275 * glyphs.c (get_image_instantiator_governing_domain):
12276 clean up, expand on new concept of governing domain.
12277 * glyphs.c (instantiate_image_instantiator):
12278 * glyphs.c (allocate_image_instance):
12279 use governing_domain instead of cache_domain in naming.
12280 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12281 * glyphs.c (make_image_instance_1):
12282 * glyphs.c (Fmake_image_instance):
12283 allow for any domain (not just device), and process the
12284 governing domain correctly. very big doc fix.
12285 * glyphs.c (Fimage_instance_domain):
12286 new primitive, to retrieve the governing domain of an image instance.
12287 * glyphs.c (image_instantiate):
12288 use new governing_domain stuff. this fixes a crash you could get
12289 by instantiating certain widget glyphs in frame locales. (should
12290 signal an error instead of crashing.)
12291 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12292 * glyphs.c (Fglyphp): clean up doc.
12293 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12294 * glyphs.c (syms_of_glyphs):
12295 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12296 * glyphs.c (image_instantiator_format_create): add some comments about
12298 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12299 for current-display-table. (Apparently Hrjove implemented in 1998 a
12300 design I wrote up in 1996, but didn't update the doc string.)
12302 * glyphs.h: clean up a doc string.
12303 * glyphs.h (governing_domain):
12304 * glyphs.h (struct image_instantiator_methods):
12305 changes for governing_domain stuff.
12308 * gutter.c (Fgutter_specifier_p):
12309 * gutter.c (Fgutter_size_specifier_p):
12310 * gutter.c (Fgutter_visible_specifier_p):
12312 * objects.c (Fcolor_specifier_p):
12313 * objects.c (Ffont_specifier_p):
12314 * objects.c (Fface_boolean_specifier_p):
12315 doc strings moved to make-*-specifier.
12317 * redisplay.c (add_disp_table_entry_runes_1):
12318 * redisplay.c (generate_fstring_runes):
12319 * redisplay.c (screen):
12320 add random comments and doc strings.
12323 * specifier.c (Fmake_specifier):
12324 major overhaul of this doc string.
12326 * specifier.c (Fvalid_specifier_domain_p):
12327 comment about the bogosity of image instances being domains.
12328 * specifier.c (decode_domain):
12329 now non-static, used in glyphs.c.
12330 * specifier.c (specifier_instance):
12331 comment about the bogosity of image instances being domains.
12332 * specifier.c (Fgeneric_specifier_p):
12333 move doc string to make-generic-specifier.
12334 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12338 * specifier.h (DOMAIN_FRAME):
12339 * specifier.h (DOMAIN_LIVE_P):
12340 * specifier.h (DOMAIN_XDEVICE):
12342 add comments about problems with these macros.
12343 prototype for decode_domain.
12346 * toolbar.c (Ftoolbar_specifier_p):
12347 move doc string to `make-toolbar-specifier'.
12349 * window.c (window_unmap_subwindows_cache_mapper):
12350 *************************************************************
12351 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12353 *************************************************************
12355 2000-05-09 Andy Piper <andy@xemacs.org>
12357 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12359 * window.c (Fset_window_configuration): reset the frame subwindow
12360 cache and re-initialize the window subwindow caches.
12362 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12364 2000-05-09 Ben Wing <ben@xemacs.org>
12366 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12369 2000-04-26 Mike Woolley <mike@bulsara.com>
12371 * ntheap.c: Changed recreate_heap to limit the amount reserved
12372 for the heap to that which is actually available. Also now
12373 displays a message box (with some dignostics) in the event that
12374 it still can't start.
12376 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12378 * callproc.c (Fold_call_process_internal): GCPRO path
12380 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12382 Patch by Bill Perry.
12384 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12385 back data instead of #ifdef.
12386 (Fscrollbar_page_down): ditto.
12388 2000-05-07 Ben Wing <ben@xemacs.org>
12391 Kludge for defining Qmswindows_tstr.
12394 * nt.c (open_input_file):
12395 * nt.c (open_output_file):
12396 * nt.c (rva_to_section):
12397 * nt.c (mswindows_executable_type):
12398 Move all memory-mapped-file routines here (some were in unexnt.c,
12399 which is bad because they are used by process-nt.c, and unexnt
12400 won't be around when portable dumping). Synched the above routines
12404 Removed ifdef'd out bogus code.
12405 Fixed some prototypes.
12407 * nt.h (file_data):
12408 * nt.h (OFFSET_TO_RVA):
12409 * nt.h (RVA_TO_OFFSET):
12410 * nt.h (RVA_TO_PTR):
12411 Moved the memory-mapped-file structures, macros and prototypes
12412 here, to parallel nt.c. ntheap.h should really be removed
12413 entirely, and it's a non-portable-dumper specific file.
12415 * ntheap.h (round_to_next):
12416 Moved the memory-mapped-file structures, macros and prototypes
12419 * ntproc.c (compare_env):
12420 Moved rva_to_section and mswindows_executable_type to nt.c.
12421 Moved compare_env to process-nt.c.
12422 ntproc.c will die, one day.
12424 * ntproc.c (sys_spawnve):
12425 Account for win32_ -> mswindows_.
12428 * process-nt.c (struct nt_process_data):
12429 * process-nt.c (ensure_console_window_exists):
12430 * process-nt.c (compare_env):
12431 * process-nt.c (nt_create_process):
12432 * process-nt.c (nt_kill_process_by_pid):
12433 * process-nt.c (syms_of_process_nt):
12434 * process-nt.c (vars_of_process_nt):
12435 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12436 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12437 changes). Eliminate our old `nt-quote-process-args' mechanism.
12438 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12439 Move compare_env here from ntproc.c.
12441 * process.c (Fprocess_send_region):
12442 Takes an optional fourth argument, BUFFER, which should fix some
12443 problems with call-process.
12446 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12449 Move ICC_BAR_CLASSES to syscommctrl.h.
12450 Add preliminary macros for MSWindows/Mule. More to come.
12453 * unexnt.c (unexec):
12454 open_output_file moved to nt.c.
12457 2000-05-05 Andy Piper <andy@xemacs.org>
12459 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12460 instance from the frame cache also since GC may catch up too late
12461 to make frame deletion sane.
12463 2000-05-04 Andy Piper <andy@xemacs.org>
12465 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12466 (x_finalize_image_instance): ungcpro on deletion.
12468 * glyphs.c (image_instantiator_format_create): give pointers a
12469 query geometry method so that the geometry is at least set.
12471 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12472 initialize layouts if using widgets.
12474 2000-05-03 Andy Piper <andy@xemacs.org>
12476 * nt.c: remove bogus reference to sysmmsystem.h
12478 * gui-x.c (popup_selection_callback): fix no selection abort.
12480 2000-05-02 Andy Piper <andy@xemacs.org>
12482 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12483 (mswindows_widget_instantiate): ditto.
12485 * glyphs-widget.c (initialize_widget_image_instance): initialize
12486 children correctly.
12487 (widget_instantiate): cope with children and items in the same
12490 * glyphs.c (mark_image_instance): cope with children as a first
12492 (image_instance_equal): ditto.
12493 (image_instance_hash): ditto.
12494 (image_instance_changed): ditto.
12496 2000-04-30 Andy Piper <andy@xemacs.org>
12498 * glyphs.c (subwindow_query_geometry): new function. Return some
12500 (subwindow_instantiate): don't assign dimensions if none have been
12502 (image_instantiator_format_create): add subwindow_query_geometry.
12503 (print_image_instance): cope with layouts as widgets.
12505 2000-04-29 Andy Piper <andy@xemacs.org>
12507 * frame.c (delete_frame_internal): call
12508 free_frame_subwindow_instance_cache so that all subwindows are
12509 finalized before their parent.
12510 (mark_frame): remove subwindow_cachels.
12511 (Fmake_frame): remove subwindow_cachel manipulation.
12512 (allocate_frame_core): subwindow_instance_cache is a weak list.
12513 (delete_frame_internal): set subwindow_instance_cache to nil.
12515 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12517 (mswindows_finalize_image_instance): use the device
12518 not the domain as the domain may have died already.
12520 * glyphs-x.c (x_finalize_image_instance): ditto.
12521 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12524 * redisplay-output.c (redisplay_unmap_subwindows): update for
12525 subwindow instance cache as a weak list.
12526 (redisplay_unmap_subwindows_maybe): ditto.
12527 (redisplay_unmap_subwindows_except_us): ditto.
12529 * glyphs.c (unmap_subwindow): error checking will check the domain
12530 so don't deal with it here. Don't use cachels anymore.
12531 (map_subwindow): ditto.
12532 (update_subwindow_cachel_data): remove old accessor names.
12533 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12534 (Fresize_subwindow): don't update cachel.
12535 (mark_subwindow_cachels):
12536 (update_subwindow_cachel_data):
12537 (add_subwindow_cachel):
12538 (get_subwindow_cachel_index):
12539 (update_subwindow_cachel):
12540 (reset_subwindow_cachels):
12541 (mark_subwindow_cachels_as_not_updated): deleted.
12542 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12543 subwindow instance to the frame cache.
12544 (find_matching_subwindow): update for subwindow instance cache as
12546 (update_widget_instances): ditto.
12547 (image_instance_type_to_mask):inlined.
12548 (free_frame_subwindow_instance_cache): new function. finalize all
12549 subwindows that are instantiated.
12551 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12552 of cachel information.
12553 (IMAGE_INSTANCE_DISPLAY_X):
12554 (IMAGE_INSTANCE_DISPLAY_Y):
12555 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12556 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12557 (XIMAGE_INSTANCE_DISPLAY_X):
12558 (XIMAGE_INSTANCE_DISPLAY_Y):
12559 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12560 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12561 remove subwindow_cachel structure and function references.
12562 (image_instance_type_to_mask): inline from glyphs.c
12564 * redisplay.c (redisplay_frame): remove subwindow_cachel
12567 * frame.h (struct frame): remove subwindow_cachels.
12568 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12570 * frameslots.h: add subwindow_instance_cache.
12572 * window.c (replace_window): check subwindow cache of replacement.
12573 (window_unmap_subwindows_cache_mapper):
12574 (window_unmap_subwindows): new functions. Unmap all subwindows
12575 cached on this window.
12576 (mark_window_as_deleted): unmap all subwindows.
12578 2000-04-27 Andy Piper <andy@xemacs.org>
12580 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12582 * glyphs-widget.c (widget_layout): return something.
12583 (layout_layout): return something. Fail if not initialized.
12584 (layout_query_geometry): ditto.
12585 (image_instantiator_native_layout): new function. Initialized the
12586 native layout type.
12587 (widget_instantiate): don't do layout stuff here.
12589 * glyphs.c (instantiate_image_instantiator): reorded calling or
12590 instantiate and post_instantiate with layout in between.
12591 (image_instance_layout): be more selective about deciding whether
12592 the layout has been done or not.
12594 * glyphs.h (struct image_instantiator_methods): return a value
12595 from layout_method.
12597 2000-04-26 Andy Piper <andy@xemacs.org>
12599 * glyphs.c (allocate_image_instance): make initial width and
12600 height unspecified. Set initialized to 0.
12602 * syscommctrl.h new file. Encapsulates commctrl.h.
12604 * syswindows.h new file. Encapsulates windows.h.
12606 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12608 * console-msw.h: ditto.
12610 * redisplay-tty.c (tty_output_display_block): remove layout references.
12612 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12613 window handle rather than just the frame.
12615 * glyphs.c (mark_image_instance): remove layout references.
12616 (print_image_instance): ditto.
12617 (image_instance_equal): ditto.
12618 (image_instance_hash): ditto.
12619 (decode_image_instance_type): ditto.
12620 (encode_image_instance_type): ditto.
12621 (image_instantiate): ditto.
12622 (allocate_glyph): ditto.
12623 (Fimage_instance_height): ditto.
12624 (Fimage_instance_width): ditto.
12625 (update_subwindow): ditto.
12627 * redisplay-x.c (x_output_display_block): recode for layouts as
12630 * redisplay-output.c (redisplay_output_layout): recode for layouts
12632 (compare_runes): remove layout references.
12634 * redisplay-msw.c (mswindows_output_display_block): recode for
12635 layouts as widgets.
12637 * glyphs-widget.c (image_instantiator_layout): remove
12638 layout_possible_dest_types.
12639 (layout_possible_dest_types): deleted.
12641 * glyphs.h (image_instance_type): remove layout references.
12642 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12643 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12644 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12646 2000-04-25 Andy Piper <andy@xemacs.org>
12648 * glyphs-widget.c (image_instantiator_buttons):
12649 (image_instantiator_edit_fields):
12650 (image_instantiator_combo_box):
12651 (image_instantiator_scrollbar):
12652 (image_instantiator_progress_guage):
12653 (image_instantiator_tree_view):
12654 (image_instantiator_tab_control):
12655 (image_instantiator_labels):
12656 (image_instantiator_layout): call default post_instantiate method.
12657 (widget_post_instantiate): new function. Simply lays out the
12660 * glyphs.h (struct image_instantiator_methods): add
12661 post_instantiate method.
12663 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12666 2000-04-23 Andy Piper <andy@xemacs.org>
12668 * glyphs.h (struct image_instantiator_methods): add
12669 decode_domain_method.
12670 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12671 derived from the domain.
12672 (IMAGE_INSTANCE_FRAME): new accessor.
12673 (XIMAGE_INSTANCE_FRAME): ditto.
12675 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12676 instead of _SUBWINDOW_FRAME.
12677 (finalize_image_instance): ditto.
12678 (Fimage_instance_foreground): ditto.
12679 (Fimage_instance_background): ditto.
12680 (image_instantiate): ditto.
12681 (update_subwindow_cachel): ditto.
12682 (update_subwindow): ditto.
12683 (unmap_subwindow): ditto.
12684 (map_subwindow): ditto
12685 (subwindow_instantiate): ditto.
12686 * glyphs-msw.c (mswindows_update_widget): ditto.
12687 (mswindows_progress_gauge_instantiate): ditto.
12688 (mswindows_tab_control_update): ditto.
12689 * glyphs-x.c (x_update_widget): ditto.
12690 (x_widget_instantiate): ditto.
12691 (x_tab_control_instantiate): ditto.
12692 (x_tab_control_update): ditto.
12693 * event-msw.c (mswindows_wnd_proc): ditto
12695 * glyphs-widget.c (image_instantiator_layout): use
12696 subwindow_decode_domain.
12697 (image_instantiator_buttons): ditto.
12698 (image_instantiator_edit_fields): ditto.
12699 (image_instantiator_combo_box): ditto.
12700 (image_instantiator_scrollbar): ditto.
12701 (image_instantiator_progress_guage): ditto.
12702 (image_instantiator_tree_view): ditto.
12703 (image_instantiator_tab_control): ditto.
12704 (image_instantiator_labels): ditto.
12705 (image_instantiator_layout): ditto.
12707 * glyphs.c: add instance error checking to many functions.
12708 (instantiate_image_instantiator): decode device from cache_domain.
12709 (image_instantiate): partially rewrite by using
12710 decode_image_instantiator_domain to determine what domain the
12711 instance needs to be cached in.
12712 (decode_image_instantiator_domain): new function. Determine what
12713 domain the image needs to be cached in.
12714 (check_window_subwindow_cache): new error checking function.
12715 (check_instance_cache_mapper): ditto.
12716 (check_image_instance_structure): ditto.
12717 (subwindow_decode_domain): new function. Encodes a window as a
12718 subwindow's cache domain.
12719 (image_instantiator_format_create): use it for text and
12722 2000-04-21 Andy Piper <andy@xemacs.org>
12724 * glyphs.c (image_instance_device): new function.
12725 (image_instance_frame): new function.
12726 (image_instance_window): new function.
12727 (image_instance_live_p): new function.
12729 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12732 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12733 (IMAGE_INSTANCE_DOMAIN): new accessor.
12734 (XIMAGE_INSTANCE_DOMAIN): ditto.
12736 * glyphs-x.c (x_finalize_image_instance): device->domain.
12738 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12739 (mswindows_finalize_image_instance): ditto.
12741 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12742 (gif_instantiate): ditto.
12743 (png_instantiate): ditto.
12744 (tiff_instantiate): ditto.
12746 * glyphs.c (instantiate_image_instantiator): use domain rather
12748 (mark_image_instance): device -> domain.
12749 (print_image_instance): ditto.
12750 (finalize_image_instance): ditto.
12751 (image_instance_equal): ditto.
12752 (allocate_image_instance): ditto.
12753 (Fcolorize_image_instance): ditto.
12754 (query_string_geometry): ditto.
12755 (image_instantiate): ditto
12756 (query_string_font): ditto.
12757 (image_instantiate): ditto.
12758 (update_subwindow): ditto.
12759 (unmap_subwindow): ditto.
12760 (map_subwindow): ditto.
12761 (subwindow_instantiate): ditto.
12763 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12764 (DOMAIN_FRAME): ditto.
12765 (DOMAIN_WINDOW): ditto.
12766 (DOMAIN_LIVE_P): ditto.
12767 (XDOMAIN_DEVICE): ditto.
12768 (XDOMAIN_FRAME): ditto.
12769 (XDOMAIN_WINDOW): ditto.
12771 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12772 a valid specifier domain.
12774 2000-04-19 Andy Piper <andy@xemacs.org>
12776 * glyphs-widget.c (syms_of_glyphs_widget): remove
12777 widget-callback-current-channel.
12778 (vars_of_glyphs_widget): ditto.
12781 * gui.c (get_gui_callback): revert to previous behaviour.
12783 2000-04-18 Andy Piper <andy@xemacs.org>
12785 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12786 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12787 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12789 * glyphs.c (image_instance_equal): add margin_width.
12790 (image_instance_hash): ditto.
12792 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12793 (layout_query_geometry): ditto.
12794 (layout_layout): ditto.
12795 (syms_of_glyphs_widget): add margin-width.
12796 (image_instantiator_layout): allow margin-width.
12798 * glyphs.c (update_widget_instances): make a normal function.
12799 (syms_of_glyphs): remove Qupdate_widget_instances.
12802 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12803 so that we don't corrupt ideas about the last event or
12804 command. Remove widget-callback-current-channel fiddling.
12805 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12807 2000-05-01 Martin Buchholz <martin@xemacs.org>
12809 * XEmacs 21.2.33 is released.
12811 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12813 * make-src-depend: Allow dots in header file name.
12815 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12817 * mule-charset.h (struct charset_lookup): Add
12818 next_allocated_1_byte_leading_byte and
12819 next_allocated_2_byte_leading_byte.
12820 * mule-charset.c: Move above two variables so that those values
12823 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12825 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12826 when string length is zero.
12827 (find_charsets_in_emchar_string): Ditto.
12829 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12831 * lisp.h: extern Qdialog and Qmenubar.
12833 * gui-x.c: added events.h.
12834 also fixed typo which made the file uncompilable.
12836 * general.c: Added Qmenubar and Qdialog
12838 2000-04-28 Ben Wing <ben@xemacs.org>
12840 * frame-msw.c (mswindows_init_frame_1):
12841 * frame-msw.c (mswindows_mark_frame):
12842 * event-msw.c (mswindows_enqueue_dispatch_event):
12844 * console-msw.h (struct mswindows_frame):
12845 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12846 there are now three hash tables for callbacks.
12847 mswindows_enqueue_dispatch_event is no longer static.
12849 * dialog-x.c (maybe_run_dbox_text_callback):
12850 * dialog-x.c (dbox_descriptor_to_widget_value):
12851 switch to new cons3 form for callbacks.
12853 * glyphs-msw.c (mswindows_register_gui_item):
12854 * glyphs-msw.c (mswindows_widget_instantiate):
12855 * glyphs-msw.c (add_tree_item):
12856 * glyphs-msw.c (add_tab_item):
12857 new image instance parameter, so it can be passed to callback-ex.
12858 respect :callback-ex as well as :callback.
12860 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12863 * glyphs.c (print_image_instance):
12864 prettify, e.g. now prints widget type.
12867 certain funs have new image instance parameter.
12870 * gui.c (get_gui_callback):
12871 * gui.c (gui_item_add_keyval_pair):
12872 * gui.c (gui_item_init):
12873 * gui.c (gui_add_item_keywords_to_plist):
12874 * gui.c (mark_gui_item):
12875 * gui.c (gui_item_hash):
12876 * gui.c (gui_item_equal):
12877 * gui.c (copy_gui_item):
12878 * gui.c (syms_of_gui):
12879 recognize callback-ex in a number of places.
12880 also, fix the annoying "can't get out of yes-no dialog" bug.
12883 * gui.h (struct Lisp_Gui_Item):
12884 recognize callback-ex in a number of places.
12886 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12887 new parameter in button_item_to_widget_value.
12889 * glyphs-x.c (x_update_widget):
12890 * glyphs-x.c (x_button_instantiate):
12891 * glyphs-x.c (x_button_update):
12892 * glyphs-x.c (x_progress_gauge_instantiate):
12893 * glyphs-x.c (x_edit_field_instantiate):
12894 * glyphs-x.c (x_combo_box_instantiate):
12895 * glyphs-x.c (x_tab_control_instantiate):
12896 * glyphs-x.c (x_label_instantiate):
12897 new image instance parameter in various places.
12900 * event-Xt.c (enqueue_Xt_dispatch_event):
12901 this fun gets exported.
12904 * gui-msw.c (mswindows_handle_gui_wm_command):
12905 handle both :callback and :callback-ex, and generate our own
12906 event because it's one of the callback-ex arguments.
12909 * gui-x.c (popup_selection_callback):
12910 handle both :callback and :callback-ex, and generate our own
12911 event because it's one of the callback-ex arguments.
12912 * gui-x.c (button_item_to_widget_value):
12913 * gui-x.c (gui_items_to_widget_values_1):
12914 * gui-x.c (gui_item_children_to_widget_values):
12915 * gui-x.c (gui_items_to_widget_values):
12916 new image instance parameter in various places.
12918 * fns.c (Freplace_list):
12919 fix small typo in doc string.
12922 declare enqueue_Xt_dispatch_event.
12924 2000-04-28 Ben Wing <ben@xemacs.org>
12927 * buffer.c (Frecord_buffer):
12928 * buffer.c (syms_of_buffer):
12929 delete record-buffer-hook.
12932 * fns.c (Freplace_list):
12933 * fns.c (syms_of_fns):
12934 new primitive replace-list.
12937 slot for old buffer-alist.
12940 exfun replace-list.
12943 * redisplay.c (redisplay_frame):
12944 * redisplay.c (syms_of_redisplay):
12945 * redisplay.c (vars_of_redisplay):
12946 new hook buffer-list-changed-hook.
12949 2000-04-27 Ben Wing <ben@xemacs.org>
12951 * extents.h: extern in_modeline_generation.
12953 * redisplay.c (generate_formatted_string_db): set
12954 in_modeline_generation.
12956 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12957 flags if in modeline generation. otherwise frame-modified-tick
12958 is ticked far too often.
12959 Declare in_modeline_generation.
12961 2000-04-26 Ben Wing <ben@xemacs.org>
12963 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12965 (vars_of_emacs): add quick-build as an error-checking option.
12966 A bit kludgy, but there doesn't seem much point in creating
12967 a real var for this.
12969 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12971 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12973 * redisplay.h (struct display_line): Add a new variable,
12976 * redisplay.c (create_text_block): Set dl->line_continuation if
12977 the line continues.
12978 (create_string_text_block): Ditto.
12979 (regenerate_window_incrementally): Use line_continuation instead
12980 of searching continuation glyph.
12981 (add_margin_runes): Call add_glyph_rune.
12982 (add_glyph_rune): Handle margin glyph.
12984 2000-04-20 Martin Buchholz <martin@xemacs.org>
12986 * filelock.c (fill_in_lock_file_name):
12988 Check for IS_ANY_SEP instead of '/'.
12990 Avoid generating gratuitous garbage. Call user_login_name() directly.
12991 Never check errno without first seeing that system call failed.
12992 (unlock_file): Add GCPRO.
12993 (Flock_buffer): Fix docstring.
12994 (Ffile_locked_p): Fix docstring. Add GCPRO.
12996 2000-04-19 Martin Buchholz <martin@xemacs.org>
12998 * sysdep.c (get_pty_max_bytes):
12999 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
13000 strings longer than 252 bytes.
13002 * md5.c: Unconditionally include ANSI header <limits.h>
13004 * glyphs-x.c (convert_EImage_to_XImage):
13005 * lisp-union.h (union Lisp_Object):
13006 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
13008 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
13010 * filelock.c (current_lock_owner): Remove unused variable o, p.
13012 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
13014 * callint.c: Remove multiply defined symbol Qlet
13015 (syms_of_callint): ditto.
13017 2000-04-14 Andy Piper <andy@xemacs.org>
13019 * general.c (syms_of_general): add last-command, this-command, let
13022 * lisp.h: declare various symbols.
13024 * glyphs.h: declare Qwidget_callback_current_channel;
13026 * glyphs-widget.c (syms_of_glyphs_widget): add
13027 Qgui_callback_current_channel.
13028 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13030 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13031 widget-callback-current-channel when invoking the interactive
13032 arg. Also bind last-command and next-command when invoking the
13034 * gui-x.c (popup_selection_callback): ditto.
13036 * gui.c (get_gui_callback): massage args so that we are always
13037 calling eval. This allows us to add our own variable bindings
13040 * glyphs-x.c (x_button_instantiate): use
13041 gui_items_to_widget_values since this is GC safe.
13042 (x_progress_gauge_instantiate): ditto.
13043 (x_edit_field_instantiate): ditto.
13044 (x_label_instantiate): ditto.
13046 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13047 (emacs_Xt_event_widget_focus_out): new function
13048 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13050 (emacs_Xt_event_add_widget_actions): new function. add focus
13051 functions as actions.
13052 (init_event_Xt_late): use it.
13054 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13056 * event-stream.c (Fdispatch_event): Doc fix.
13058 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13060 * postgresql.c: Remove all references to PQsetenv*.
13062 * postgresql.h: Remove references to PGsetenvHandler object.
13063 * lrecord.h (lrecord_type): Ditto.
13065 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13067 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13068 real_heigh and real_width members, and accessor macros for these.
13070 * glyphs-msw.c (init_image_instance_geometry): New function.
13071 (init_image_instance_from_dibitmap): Use it.
13072 (mswindows_resource_instantiate): Use it.
13073 (init_image_instance_from_xbm_inline): Use it.
13074 (mswindows_initialize_image_instance_mask): Use real bitmap
13076 (mswindows_create_resized_bitmap): Ditto.
13077 (mswindows_create_resized_mask): Ditto.
13079 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13080 and bitmap to their surface size.
13082 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13084 * process-unix.c (unix_send_process): Guard against process MIA
13085 after Faccept_process_output.
13087 2000-04-11 Ben Wing <ben@xemacs.org>
13089 * eval.c (unbind_to_hairy): fix brokenness introduced by
13090 nanosecond speed improvements.
13092 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13094 * sunplay.c (init_device): To play sounds correctly, the device
13095 apparently needs to be initialized at least once by XEmacs. Make
13098 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13100 * redisplay.c (add_margin_runes): Add text image glyph
13103 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13105 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13106 gcc is newer than 2.5.
13108 2000-04-06 Colin Rafferty <colin@xemacs.org>
13110 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13112 * fns.c (size_bit_vector):
13113 * alloc.c (size_vector):
13114 (make_vector_internal):
13115 (make_bit_vector_internal):
13116 (sweep_bit_vectors_1):
13117 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13119 2000-04-06 Andy Piper <andy@xemacs.org>
13121 * gmalloc.c (malloc): undo previous change.
13126 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13128 * line-number.c (buffer_line_number): Revert to former version.
13130 2000-04-06 Andy Piper <andy@xemacs.org>
13132 * gmalloc.c (malloc): add error checking.
13137 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13138 button_item_to_widget_value arg.
13140 * glyphs-x.c (x_button_instantiate): add extra
13141 button_item_to_widget_value arg.
13142 (x_progress_gauge_instantiate): ditto.
13143 (x_edit_field_instantiate): ditto.
13144 (x_label_instantiate): ditto.
13146 * gui-x.c (gui_items_to_widget_values_1): add extra
13147 button_item_to_widget_value arg.
13148 (button_item_to_widget_value): add extra menu_item_p arg.
13150 * gui-x.h: change signature of button_item_to_widget_value.
13152 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13153 button_item_to_widget_value arg.
13155 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13157 * buffer.h (struct buffer): auto_save_modified should be long.
13159 2000-04-05 Andy Piper <andy@xemacs.org>
13161 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13163 (button_query_geometry): give a little more room so that athena
13166 2000-04-05 Andy Piper <andy@xemacs.org>
13168 * faces.c (complex_vars_of_faces): The widget face should inherit
13169 the font of the gui-element face.
13171 2000-04-04 Andy Piper <andy@xemacs.org>
13173 * glyphs-x.c (x_button_update): new function. unconditionally
13174 update a button's state when the instance is dirty.
13175 (image_instantiator_format_create_glyphs_x): add x_button_update.
13176 (x_widget_instantiate): remove old resize cruft.
13178 2000-04-02 Andy Piper <andy@xemacs.org>
13180 * frame.c (change_frame_size_1): The introduction of gutters means
13181 that we need to allow 0 as a potential frame dimension.
13183 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13185 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13186 image glyph if allow_cursor.
13187 (add_hscroll_rune): Don't allow cursor to border glyph.
13188 (create_text_block): Ditto.
13190 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13191 text not in buffer.
13192 (redisplay_output_layout): Call ensure_face_cachel_complete for
13196 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13198 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13200 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13203 * redisplay-tty.c (tty_output_display_block): Delete the routine
13204 for text image glyph
13205 * redisplay-x.c (x_output_display_block): ditto
13206 * redisplay-msw.c (mswindows_output_display_block): ditto
13208 2000-02-02 Mike Alexander <mta@arbortext.com>
13210 Note: Some of these were committed by accident as part of other
13213 * regex.c (regex_compile): Avoid compiler warnings.
13215 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13217 * nt.h: Declare term_ntproc correctly.
13219 * nt.c: Remove incorrect declaration of get_home_directory which
13220 is declared correctly in lisp.h.
13222 * keymap.c (get_keyelt): Avoid compiler warnings.
13223 (raw_lookup_key_mapper): Avoid compiler warnings.
13225 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13227 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13229 * filemode.c (mode_string): Avoid compiler warnings.
13231 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13234 * events-mod.h: Undef some things that winuser.h defines differently.
13236 * data.c (Faset): Avoid compiler warnings.
13238 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13240 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13242 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13243 Fall through to simple beep on error.
13244 Replace "extern" by real header file.
13246 * linuxplay.c: Use nativesound.h
13247 (play_sound_data): Return error code. Be less verbose on error.
13249 * sunplay.c: Use nativesound.h
13250 (play_sound_data): Return error code. Be less verbose on error.
13252 * ntplay.c: Use nativesound.h
13253 (play_sound_data): Return fake error code
13255 * sgiplay.c: Use nativesound.h
13256 (play_sound_data): Return error code
13258 * hpplay.c: Use nativesound.h, partially implement
13259 new error code. Break compilation until finished.
13260 (play_sound_data): error code.
13262 * nativesound.h (play_sound_file):
13263 (play_sound_data): Prototype in new header.
13265 2000-03-31 Andy Piper <andy@xemacs.org>
13267 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13268 for toggle and radio buttons.
13269 (image_instantiator_buttons): use it.
13271 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13273 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13274 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13275 found. Scrollbar event probably belonged to some old config.
13277 2000-03-31 Andy Piper <andy@xemacs.org>
13279 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13281 (initialize_widget_image_instance): default layout to
13282 LAYOUT_HORIZONTAL rather than 0.
13283 (widget_instantiate): reverse the item list at the end rather than
13285 (layout_layout): re-code for the border text at the front of the
13286 item list rather than at the end.
13287 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13288 provided by the user.
13289 (widget_query_geometry): comment.
13291 2000-03-30 Andy Piper <andy@xemacs.org>
13293 * glyphs-widget.c (image_instantiator_layout): allow standard
13294 widget keywords in layouts.
13296 * gutter.c (output_gutter): cope with nil gutter contents.
13298 * frame.c (Fset_frame_properties): add gutter docs.
13300 2000-03-29 Andy Piper <andy@xemacs.org>
13302 * toolbar-msw.c (TBSTYLE_FLAT): add.
13303 (mswindows_output_toolbar): minor fiddling.
13305 2000-03-29 Andy Piper <andy@xemacs.org>
13307 * gutter.c (output_gutter): force gutter size recalculation if
13308 what we are trying to display won't fit.
13309 (update_gutter_geometry): new function. A per-gutter version of
13310 update_frame_gutter_geometry.
13311 (update_frame_gutter_geometry): use it.
13312 (redraw_exposed_gutter): add extra debugging output.
13314 2000-03-28 Mike Alexander <mta@arbortext.com>
13316 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13317 (pdump_file_unmap): Implement it on Windows
13318 (pdump_file_get): Save alocated handles for pdump_file_unmap
13320 2000-03-28 Andy Piper <andy@xemacs.org>
13322 * gui.c (get_gui_callback): treat Quit specially.
13324 2000-03-27 Andy Piper <andy@xemacs.org>
13326 * glyphs.c (image_instantiate): be careful to check in the same
13329 2000-03-27 Didier Verna <didier@xemacs.org>
13331 * config.h.in: define the proper SMART_INCLUDE macro.
13332 handle renaming of `foo_h_path' to `foo_h_file'.
13334 * database.c: ditto.
13338 * linuxplay.c: ditto.
13340 * terminfo.c: ditto.
13342 * tooltalk.h: ditto.
13344 2000-03-27 Andy Piper <andy@xemacs.org>
13346 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13347 gets updated whenever the face might have changed.
13349 2000-03-26 Mike Alexander <mta@arbortext.com>
13351 * dumper.c (pdump_resource_free): Fix the comment.
13353 2000-03-21 Olivier Galibert <galibert@pobox.com>
13355 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13357 2000-03-22 Mike Alexander <mta@arbortext.com>
13359 * dumper.c: Include Windows headers on Windows
13360 (pdump_resource_free): Add a body to the function
13361 (pdump_load): exe_name -> exe_path and add some comments.
13363 2000-03-25 Mike Alexander <mta@arbortext.com>
13365 * gui.c (copy_gui_item_tree): Return a value in all cases
13367 2000-03-21 Didier Verna <didier@xemacs.org>
13369 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13371 (SMART_INCLUDE): new macro.
13372 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13373 the proper location.
13375 * postgresql.c: use it.
13379 2000-03-24 Andy Piper <andy@xemacs.org>
13381 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13384 2000-03-24 Andy Piper <andy@xemacs.org>
13386 * redisplay-output.c (compare_runes): use image_instance_changed
13387 to detect changes. Do not depend on glyphs_changed, only depend on
13389 (redisplay_output_layout): add debug messages.
13390 (compare_runes): ditto.
13392 * glyphs.h: declare new functions.
13393 (struct Lisp_Image_Instance): remove percent and associated
13396 * gui.h: declare new copying functions.
13398 * gui.c (copy_gui_item_tree): new function.
13399 (copy_gui_item): new function.
13400 (gui_item_id_hash): revert to standard hash.
13401 (gui_item_hash): ditto.
13402 (gui_item_hash_internal): deleted.
13403 (mark_gui_item): mark value.
13404 (gui_item_add_keyval_pair): add value.
13405 (gui_item_init): ditto.
13406 (gui_add_item_keywords_to_plist): ditto.
13407 (gui_item_equal): ditto.
13408 (syms_of_gui): add Q_value.
13410 * glyphs-x.c (x_progress_gauge_update): use pending items and
13411 value for setting the state.
13412 (x_update_widget): don't set items from pending here.
13414 * glyphs-widget.c (update_widget): update items here.
13415 (progress_gauge_set_property): use items for storing value. Put
13416 new value in pending items.
13418 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13419 items for new value. Convert percent -> value.
13420 (mswindows_tab_control_update): don't update items here.
13422 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13423 (update_subwindow): ditto.
13424 (image_instance_changed): new function. Compare hash values and
13425 past and present widget items.
13426 (image_instantiate): We more careful about where we instantiate
13428 (image_instantiate): add error checking.
13430 * gutter.c (syms_of_gutter): use -hook.
13432 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13434 * console-tty.c (Fset_console_tty_input_coding_system): Use
13436 (Fset_console_tty_output_coding_system): Use Qterminal.
13437 (tty_init_console): Use Qkeyboard and Qterminal.
13439 2000-03-21 Ben Wing <ben@xemacs.org>
13441 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13442 From Mike Alexander <mta@arbortext.com>.
13444 2000-03-21 Ben Wing <ben@xemacs.org>
13446 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13447 process brokenness. Proper implementation to come.
13449 Rename call-process-internal to old-call-process-internal.
13450 New impl. in process.el.
13452 2000-03-21 Martin Buchholz <martin@xemacs.org>
13454 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13456 2000-03-20 Andy Piper <andy@xemacs.org>
13458 * glyphs.c (full_list_hash): make hashes of the same elements in
13459 different orders return different values.
13461 2000-03-20 Martin Buchholz <martin@xemacs.org>
13463 * XEmacs 21.2.32 is released.
13465 2000-03-20 Martin Buchholz <martin@xemacs.org>
13467 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13468 (DFC_MALLOC_USE_CONVERTED_DATA):
13469 Add aliasing-safe casts to allow use with char* or unsigned char*
13472 * eldap.c (Fldap_open):
13473 (Fldap_search_basic):
13476 Make C++-compilable.
13477 Make sure GCPRO'ed variables are initialized.
13478 Use temp variables to avoid repeated calls to Flength.
13480 2000-03-16 Martin Buchholz <martin@xemacs.org>
13483 Make sure PATH_MAX is always defined.
13484 Include limits.h for PATH_MAX.
13485 Deprecate use of MAXPATHLEN.
13487 2000-03-10 Martin Buchholz <martin@xemacs.org>
13489 * emacs.c: Add reinit_vars_of_fileio.
13490 * symsinit.h: Add reinit_vars_of_fileio.
13491 * fileio.c (reinit_vars_of_fileio): New.
13492 * fileio.c (Fmake_temp_name):
13493 Initialize temp_name random number from microseconds to make
13494 collisions even less likely. Initialize always at process startup
13495 time. (make-temp-name) used to return the same file name twice in
13497 Random stylistic fiddling.
13500 2000-03-20 Andy Piper <andy@xemacs.org>
13502 * glyphs.c (image_instantiate): allow text glyphs to be
13503 instantiated in the minibuffer window.
13505 2000-03-19 Andy Piper <andy@xemacs.org>
13507 * glyphs.c (image_instance_hash): be careful about which items we
13510 * glyphs-widget.c (tab_control_set_property): record into pending
13511 items rather than the actual items.
13513 * glyphs-x.c (x_update_widget): use pending items to update with.
13515 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13518 * glyphs.c (mark_image_instance): mark pending items.
13520 * window.c (Fset_window_configuration): record the buffer.
13521 (Fselect_window): totally revert previous change which breaks many
13524 2000-03-18 Andy Piper <andy@xemacs.org>
13526 * glyphs-msw.c (mswindows_tab_control_update): force selected
13529 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13530 window domain cache, otherwise we get inconsistencies at
13531 startup. There is something fishy at startup which can lead to the
13532 minibuffer being the selected window when the gutter content is
13535 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13537 (parse_gui_item_tree_children): ditto.
13538 (parse_gui_item_tree_item): ditto.
13540 * glyphs.c (Fupdate_widget_instances): return something.
13542 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13544 * window.c (Fselect_window): Undo 2000-03-17 change.
13546 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13548 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13549 against v7.0 libraries. Insta-coredump city until the postgres
13552 2000-03-17 Andy Piper <andy@xemacs.org>
13554 * faces.c (complex_vars_of_faces): don't give the widget face an
13555 inherited background pixmap.
13557 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13560 * event-stream.c (Fdispatch_non_command_events): return something.
13562 * gutter.c (output_gutter): use widget face.
13563 (clear_gutter): ditto.
13565 * NEWS: adjust again.
13567 * window.c (Fselect_window): make sure this runs to completion to
13568 avoid oddities with Fset_window_configuration.
13569 (Fcurrent_window_configuration): in general do not save the
13570 minibuffer as the selected window.
13572 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13574 2000-03-16 Olivier Galibert <galibert@pobox.com>
13576 * emacs.c (Frunning_temacs_p): Revert previous patch.
13577 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13579 2000-03-16 Andy Piper <andy@xemacs.org>
13581 * glyphs-x.c (x_tab_control_update): if no widget values then
13584 * NEWS: update for new features.
13586 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13587 synthetic event to the native system.
13588 (reinit_vars_of_event_Xt): set force_event_pending to
13589 emacs_Xt_force_event_pending.
13591 * events.h (struct event_stream): add force_event_pending.
13593 * specifier.c (recompute_one_cached_specifier_in_window): add
13596 * redisplay.c (redisplay_frame): don't call
13597 update_frame_subwindows. Reset subwindow cachels when
13598 subwindows_changed, removing this was an optimization too far.
13600 * redisplay-output.c (compare_runes): reorganize so that we catch
13601 glyph changes when we want them. Set optimize_output when this
13602 would help layouts.
13603 (redisplay_output_layout): remove frame_really_changed, use
13604 optimize_output instead.
13606 * redisplay-msw.c (mswindows_output_display_block): reset
13607 optimize_output after outputting a glyph.
13608 * redisplay-x.c (x_output_display_block): ditto.
13609 * redisplay-tty.c (tty_output_display_block): ditto.
13611 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13613 (gutter_specs_changed): do specific gutter positions.
13614 (top_gutter_specs_changed): new function. Only update the
13615 specified gutter specs.
13616 (bottom_gutter_specs_changed): ditto.
13617 (left_gutter_specs_changed): ditto.
13618 (right_gutter_specs_changed): ditto.
13620 * gui.c (gui_item_hash_internal): new function, does a real hash.
13621 (gui_item_id_hash): use it.
13622 (gui_item_hash): hash the eval'ed gui_item.
13624 * gui-x.c (popup_selection_callback): send an eval event to call
13625 Fupdate_widget_instances.
13627 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13628 to call Fupdate_widget_instances.
13630 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13631 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13633 * glyphs.c: (update_frame_subwindows): deleted.
13634 (Fupdate_widget_instances): new function for updating the dirty
13635 state of widgets that might have changed.
13636 (syms_of_glyphs): add Qupdate_widget_instances.
13637 (full_list_hash): hash a list completely.
13638 (image_instance_hash): use it for items and properties.
13640 * frame-msw.c (mswindows_size_frame_internal): remove unused
13643 * faces.h (struct face_cachel): fix comment.
13645 * event-stream.c (Fdispatch_non_command_events): new
13646 function. Process non-command events, forcing an event cycle
13648 (syms_of_event_stream): declare.
13649 (event_stream_force_event_pending): new function. Force an event
13650 on the native event queue so that an event cycle will occur next
13654 (struct ntpipe_shove_stream):
13655 (mswindows_enqueue_dispatch_event):
13656 (mswindows_dequeue_dispatch_event):
13657 (mswindows_cancel_dispatch_event):
13658 (mswindows_pump_outstanding_events):
13659 (mswindows_drain_windows_queue):
13660 (mswindows_handle_paint):
13661 (mswindows_wnd_proc):
13662 (mswindows_key_to_emacs_keysym):
13663 (get_process_input_waitable):
13664 (emacs_mswindows_delete_stream_pair): re-indent file.
13665 (mswindows_need_event): do not process further fds if the windows
13666 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13667 fixes the 100% cpu problem.
13668 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13670 2000-03-15 Olivier Galibert <galibert@pobox.com>
13676 * emacs.c: Moved dump file searching to dumper.c.
13677 (Frunning_temacs_p): Fixed.
13679 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13680 last_lrecord_type_index_assigned.
13682 2000-02-20 Olivier Galibert <galibert@pobox.com>
13684 * symsinit.h: Added reinit parameter to init_console_stream
13687 * lisp.h: Added file parameter to pdump_load declaration.
13689 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13690 support. Added dump file searching.
13692 * config.h.in: Added EMACS_PROGNAME.
13694 * console-stream.c (init_console_stream): Fix reinitialisation
13695 when running from temacs.
13697 * alloc.c (pdump): Add id support.
13698 (pdump_load): Add file parameter and signature/id support.
13700 * Makefile.in.in: Add full pdump support.
13702 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13704 * postgresql.c: Update documentation to reflect latest code
13706 (print_result): Show tuple counts in printed representation when
13708 (Fpq_put_nbytes): MULE-ize.
13709 (Fpq_get_line_async): Ditto.
13711 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13713 * postgresql.c (Fpq_lo_import): Fix return value.
13714 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13716 2000-03-13 Ben Wing <ben@xemacs.org>
13718 * alloc.c (pdump_load):
13719 Fix compile warning under mswin.
13721 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13723 * postgresql.c: Mule-ization, bug fixes.
13724 Use PG_CODING to encapsulate coding system name changes.
13725 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13726 (pg-coding-system): Create.
13728 (Fpq_conn_defaults): Mule-ize.
13729 (Fpq_connectdb): Mule-ize & bug fix.
13730 (Fpq_connect_start): Mule-ize.
13731 (Fpq_set_client_encoding): Mule-ize.
13732 (Fpq_finish): Document `DEAD' connection status.
13733 (Fpq_clear): Ditto.
13734 (Fpq_pgconn): Mule-ize.
13735 (Fpq_exec): Mule-ize & bug fix.
13736 (Fpq_send_query): Ditto.
13737 (Fpq_get_result): Ditto.
13738 (Fpq_res_status): Mule-ize.
13739 (Fpq_result_error_message): Mule-ize.
13740 (Fpq_ntuples): fix comments.
13741 (Fpq_fname): Mule-ize.
13742 (Fpq_fnumber): Mule-ize.
13743 (Fpq_ftype): fix comments.
13744 (Fpq_get_value): Mule-ize.
13745 (Fpq_cmd_status): Ditto.
13746 (Fpq_cmd_tuples): Ditto.
13747 (Fpq_oid_value): Ditto.
13748 (Fpq_notifies): Ditto.
13749 (Fpq_lo_import): Ditto.
13750 (Fpq_lo_export): Ditto.
13751 (Fpq_get_line): Ditto.
13752 (Fpq_put_line): Mule-ize and bug fix.
13753 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13755 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13757 * postgresql.c (vars_of_postgresql): Mule-ize.
13758 (Fpq_conn_defaults): Ditto.
13760 2000-03-12 Ben Wing <ben@xemacs.org>
13762 * alloc.c (Fmake_byte_code):
13763 * alloc.c (debug_string_purity_print):
13764 * alloc.c (pdump_backtrace):
13765 * alloc.c (pdump_get_indirect_count):
13766 * alloc.c (pdump_register_sub):
13767 * alloc.c (pdump_register_object):
13768 * alloc.c (pdump_register_struct):
13769 * alloc.c (pdump_dump_data):
13770 * alloc.c (pdump_reloc_one):
13774 * console-msw.c (GetConsoleHwnd):
13775 * console-msw.c (msw_hide_console):
13776 * console-msw.c (msw_show_console):
13777 * console-msw.c (msw_ensure_console_buffered):
13778 * console-msw.c (msw_output_console_string):
13779 * console-msw.c (console_type_create_mswindows):
13781 a) Added functions to manipulate the console window for use with
13784 b) Added support for writing text to the console, which is now
13785 used under Windows when xemacs is not being run non-interactively,
13786 to write text that would otherwise be destined for stdout because
13787 under these circumstances, text written to stdout tends to
13788 disappear and not be seen.
13792 * event-Xt.c (x_event_to_emacs_event):
13793 * event-Xt.c (describe_event_window):
13794 * events-mod.h (XEMACS_MOD_CONTROL):
13796 * events.c (Fmake_event):
13797 * events.c (character_to_event):
13798 * events.c (event_to_character):
13799 * events.c (format_event_object):
13800 * events.c (Fevent_modifiers):
13802 * events.h (struct key_data):
13803 * events.h (struct button_data):
13804 * events.h (struct misc_user_data):
13805 * frame-x.c (Fcde_start_drag_internal):
13806 * frame-x.c (Foffix_start_drag_internal):
13807 * gpmevent.c (Freceive_gpm_event):
13809 * keymap.c (bucky_sym_to_bucky_bit):
13810 * keymap.c (control_meta_superify):
13811 * keymap.c (make_key_description):
13812 * keymap.c (keymap_lookup_directly):
13813 * keymap.c (create_bucky_submap):
13814 * keymap.c (keymap_store):
13815 * keymap.c (define_key_check_and_coerce_keysym):
13816 * keymap.c (define_key_parser):
13817 * keymap.c (define_key_alternate_name):
13818 * keymap.c (Fdefine_key):
13819 * keymap.c (raw_lookup_key_mapper):
13820 * keymap.c (struct map_keymap_unsorted_closure):
13821 * keymap.c (map_keymap_unsorted_mapper):
13822 * keymap.c (map_keymap_sort_predicate):
13823 * keymap.c (map_keymap_sorted):
13824 * keymap.c (accessible_keymaps_mapper_1):
13825 * keymap.c (where_is_recursive_mapper):
13826 * keymap.c (describe_map_mapper):
13827 * keymap.c (describe_map_sort_predicate):
13828 * keymap.c (describe_map):
13829 * keymap.c (complex_vars_of_keymap):
13830 And a number of other files, the key modifier preprocessor
13831 constants that xemacs uses have names that conflict with constants
13832 defined under MS Windows for other purposes, so they were renamed
13833 to begin with the prefix XEMACS_. The variables that hold such
13834 modifiers were changed to consistently be of type int to fix
13835 various compile warnings.
13837 * console.c (complex_vars_of_console):
13840 * device-msw.c (mswindows_finish_init_device):
13841 * device-msw.c (msw_get_workspace_coords):
13842 * device-msw.c (mswindows_device_system_metrics):
13843 and various other files, added support for a new
13844 device property called offset-workspace which returns the position
13845 of the upper left corner of the workspace area and goes along with
13846 the existing size-workspace property.
13849 * dialog-msw.c (push_bufbyte_string_as_unicode):
13850 * dialog-msw.c (mswindows_popup_dialog_box):
13851 Added support for XEmacs-style accelerator specifications in
13852 button text. Note: I didn't add support for this under X Windows,
13853 and somebody needs to do this.
13856 * dialog.c (Fpopup_dialog_box):
13857 Documented the support for accelerators that was just mentioned.
13859 editfns.c (get_home_directory): Changed behavior under Windows
13860 when HOME not defined; former behavior was irretrievably broken.
13863 * emacs.c (main_1):
13865 * minibuf.c (clear_echo_area_internal):
13866 * minibuf.c (echo_area_append):
13868 * print.c (std_handle_out_external):
13869 * print.c (std_handle_out_va):
13871 * print.c (write_string_to_stdio_stream):
13872 * print.c (output_string):
13873 * print.c (debug_print):
13874 * print.c (debug_backtrace):
13875 * print.c (debug_short_backtrace):
13876 Cleaned up the code that prints text to stdout so that this can be
13877 changed to output into a console window instead under MS Windows,
13878 as described above.
13881 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13882 * eval.c (internal_catch):
13883 * eval.c (unwind_to_catch):
13884 * eval.c (throw_or_bomb_out):
13885 * eval.c (condition_case_1):
13886 * eval.c (signal_1):
13887 * eval.c (check_error_state_sanity):
13888 * eval.c (call_with_suspended_errors_1):
13889 * eval.c (call_with_suspended_errors):
13890 * eval.c (reinit_vars_of_eval):
13891 Added code to catch throw loops and check for a pesky bug that may
13895 * event-msw.c (key_needs_default_processing_p):
13896 * event-msw.c (mswindows_wnd_proc):
13897 * event-msw.c (mswindows_modifier_state):
13898 * event-msw.c (emacs_mswindows_quit_p):
13899 * event-msw.c (vars_of_event_mswindows):
13900 a) Added support for using the alt key to select menu items as is
13901 standard under MS Windows. This is controlled using the variable
13902 menu-accelerator-enabled, just like under X Windows. There is an
13903 option on the options menu to turn this support on. I really
13904 think that it should be on by default under Windows, but I'm not
13905 going to make this change yet.
13907 b) Added support for dynamic display size changes under Windows.
13910 * event-stream.c (maybe_echo_keys):
13911 * event-stream.c (Fnext_event):
13912 * event-stream.c (command_builder_find_leaf):
13913 * event-stream.c (lookup_command_event):
13914 * event-stream.c (execute_command_event):
13915 * event-stream.c (pre_command_hook):
13916 * event-stream.c (post_command_hook):
13917 * event-stream.c (syms_of_event_stream):
13918 * event-stream.c (vars_of_event_stream):
13919 * event-stream.c (complex_vars_of_event_stream):
13920 * events.h (struct command_builder):
13922 a) Tried to clean up a little bit the horribly written x-specific
13923 accelerator code that crept into this file. I moved this code
13924 into menubar-x.c where it belongs. I also needed to move the
13925 command builder structure into the file events.h because it is
13926 accessed directly by this accelerator code. What I didn't do, but
13927 which should be done at some point, is to properly abstract this
13928 code using device methods instead of the kludgy way that it
13929 currently hooks into the event code.
13931 b) Added the lisp variables this-command-properties and
13932 last-command- properties, which should be used to synchronize two
13933 adjacent commands in preference to playing games with the variable
13934 this-command, which is typically what happens.
13936 c) Added some slightly nasty code to hook into the lisp support
13937 for shifted- motion-key selection. This is actually necessary for
13938 somewhat complicated reasons, which are described in
13939 simple.el. (NB: I think the proper thing would be to have the code
13940 that calls the pre and post command hooks also call out to generic
13941 lisp functions in simple.el, where all built-in stuff could be
13942 added. I will think about this more.)
13944 * event-unixoid.c (poll_fds_for_input):
13945 * lread.c (readchar):
13946 * redisplay-tty.c (tty_clear_frame):
13947 * redisplay-x.c (x_get_gc):
13948 * signal.c (interrupt_signal):
13949 And a whole bunch of other files: fixed up places that printed
13950 directly to stderr to instead call the function stderr_out so that
13951 the changes I made under Windows work correctly.
13953 * filemode.c (mode_string):
13957 * frame-msw.c (mswindows_size_frame_internal):
13958 Fixed the computation of frame size and position to keep the frame
13959 within the workspace area, rather than within the physical
13960 dimensions of the screen, so that the frame doesn't overlap window
13961 manager decorations, such as the start menu and toolbar, typically
13962 at the bottom of the screen.
13964 * frame.c (vars_of_frame):
13965 Changed the default frame title format under MS Windows to consist
13966 of buffername-XEmacs, which is standard under MS Windows. I think
13967 it might be a good idea to change this everywhere because I think
13968 it is superior to the current frame title format, but this is the
13969 kind of change that is likely to cause some people to get annoyed,
13970 so I'm not making it.
13972 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13974 * gui-msw.c (mswindows_handle_gui_wm_command):
13975 Fixed compile warnings.
13978 * gui-x.c (strdup_and_add_accel):
13979 * gui-x.c (button_item_to_widget_value):
13981 Added code to automatically put an accelerator onto the beginning
13982 of menu items that don't have one as is now the standard, and is
13983 described more later. Also fixed things so that the menu item
13984 name can be an evaluated expression, again a new standard.
13987 * gui.c (gui_item_add_keyval_pair):
13988 * gui.c (make_gui_item_from_keywords_internal):
13989 * gui.c (gui_add_item_keywords_to_plist):
13990 * gui.c (gui_item_accelerator):
13991 * gui.c (gui_name_accelerator):
13992 * gui.c (gui_item_included_p):
13993 * gui.c (gui_item_display_flush_left):
13994 * gui.c (gui_item_display_flush_right):
13995 * gui.c (parse_gui_item_tree_item):
13996 * gui.c (parse_gui_item_tree_children):
13997 * gui.c (parse_gui_item_tree_list):
13998 Mule-ized. Cleanup. GCPRO addition.
14000 * line-number.c (buffer_line_number):
14002 * lisp.h (EMACS_INT_MAX):
14003 Added the manifest constant EMACS_INT_MIN corresponding to the
14004 existing constant EMACS_INT_MAX. This is partially to fix compile
14005 warnings under Windows, and partly for cleanliness.
14008 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
14009 * menubar-msw.c (msw_translate_menu_or_dialog_item):
14010 * menubar-msw.c (displayable_menu_item):
14011 * menubar-msw.c (populate_menu_add_item):
14012 * menubar-msw.c (populate_or_checksum_helper):
14013 * menubar-msw.c (populate_menu):
14014 * menubar-msw.c (update_frame_menubar_maybe):
14015 * menubar-msw.c (prune_menubar):
14016 * menubar-msw.c (msw_char_is_accelerator):
14017 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14018 * menubar-msw.c (mswindows_handle_wm_command):
14019 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14020 * menubar-msw.c (mswindows_handle_wm_initmenu):
14021 * menubar-msw.c (mswindows_update_frame_menubars):
14022 * menubar-msw.c (mswindows_free_frame_menubars):
14023 * menubar-msw.c (mswindows_popup_menu):
14024 Fixed a bug in handling accelerators where an extra character
14025 would be displayed in the menu item. Also generalized the
14026 function displayable_menu_item because it is now used by the
14027 dialog box code as well. And finally, added code in the functions
14028 that create the menubar to extract a list of accelerators for the
14029 top level menubar, which is used in the event code to determine
14030 whether a particular alt-key combination should be used to invoke
14031 a menu item, or should be passed through to access the standard
14032 XEmacs keymap binding for this key combination.
14034 Much needed GCPROing.
14037 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14038 * menubar-x.c (menu_item_descriptor_to_widget_value):
14039 * menubar-x.c (restore_in_menu_callback):
14040 * menubar-x.c (x_popup_menu):
14041 * menubar-x.c (menu_move_up):
14042 * menubar-x.c (menu_move_down):
14043 * menubar-x.c (menu_move_left):
14044 * menubar-x.c (menu_move_right):
14045 * menubar-x.c (menu_select_item):
14046 * menubar-x.c (command_builder_operate_menu_accelerator):
14047 * menubar-x.c (menu_accelerator_junk_on_error):
14048 * menubar-x.c (command_builder_find_menu_accelerator):
14049 * menubar-x.c (Faccelerate_menu):
14051 Moved a whole bunch of code here that was previously in
14052 event-stream.c as described above. There is also code connected
14053 to the new standard of adding an accelerator to the beginning of
14054 menu items that don't have one as described above and below.
14057 * menubar.c (menu_parse_submenu_keywords):
14058 * menubar.c (Fmenu_find_real_submenu):
14059 * menubar.c (Fnormalize_menu_item_name):
14060 * menubar.c (syms_of_menubar):
14061 * menubar.c (vars_of_menubar):
14062 * menubar.c (complex_vars_of_menubar):
14064 a) Cleaned up a bunch of documentation and improved it.
14066 b) XEmacs now automatically adds an accelerator onto the beginning
14067 of any menu items that don't have one. I did this because there
14068 will inevitably be some menu items on the main menubar that don't
14069 have accelerators on them because the package that adds that
14070 particular menu item hasn't yet been fixed up to have accelerators
14071 in them and it looked rather strange to have some items with and
14072 some items without accelerators, especially since even in items
14073 without accelerators, you can, at least under windows, still
14074 access the item through an accelerator corresponding to the first
14075 character in the item's name. If people don't like this behavior,
14076 I can add a variable to turn it off optionally, but I'm not sure
14077 this is a good idea because we really do need to have accelerators
14078 on all of the menu items, and if a package doesn't like the
14079 accelerators being put on the first character, then it should put
14080 the accelerators where they belong.
14082 c) I made a behavior change, which is that the descriptor that
14083 specifies the text of the menu item, which formerly was just a
14084 string, can now also be an evaluated expression. This makes this
14085 descriptor parallel with all of the others, which could also be
14086 evaluated expressions. This also obviates the need for the
14087 keyword :label, which was previously listed in the documentation
14088 as unimplemented, and which was for the same purpose.
14093 * ntproc.c (new_child):
14094 * ntproc.c (sys_spawnve):
14095 * ntproc.c (find_child_console):
14096 * ntproc.c (sys_kill):
14097 Fixed compile warnings. By the way, this file should really go
14098 away entirely, and this will happen as soon as Kirill makes his
14099 final round of process cleanups, which affect the function
14103 * process-nt.c (struct nt_process_data):
14104 * process-nt.c (find_process_from_pid):
14105 * process-nt.c (send_signal_the_nt_way):
14106 * process-nt.c (enable_child_signals):
14107 * process-nt.c (find_child_console):
14108 * process-nt.c (send_signal_the_95_way):
14109 * process-nt.c (nt_finalize_process_data):
14110 * process-nt.c (ensure_console_window_exists):
14111 * process-nt.c (nt_create_process):
14112 * process-nt.c (nt_kill_child_process):
14113 * process-nt.c (nt_kill_process_by_pid):
14114 * process-nt.c (nt_open_network_stream):
14115 * process-nt.c (vars_of_process_nt):
14116 Copied over code from Emacs 20.5 to correctly send signals to sub-
14117 processes under Windows 95. Also added code to automatically
14118 create and hide console window when a sub-process is created under
14119 Windows 95, which obviates the need for the separate runemacs.exe
14120 executable, and finally implemented some variables that were
14121 implemented in Emacs 20.5, but previously not in XEmacs. These
14122 include mswindows- start-process-share-console and
14123 mswindows-start-process-inherit-error-mode. (Both of these only
14124 apply to Windows 95.)
14126 * regex.c (regex_compile): Fixed a compile warning.
14129 * select-msw.c (mswindows_own_selection):
14130 * select-msw.c (mswindows_get_foreign_selection):
14131 * select-msw.c (mswindows_disown_selection):
14132 * select-msw.c (console_type_create_select_mswindows):
14133 * select-msw.c (syms_of_select_mswindows):
14134 Cleaned up the file and implemented the device method
14135 selection_exists_p, which had accidentally been left out. Also
14136 removed four lisp functions that were remnants from before the
14137 time when the selection code was properly device abstracted.
14138 These functions are no longer needed because there are generic
14139 equivalents, and because they were added recently and don't exist
14140 in FSF Emacs, I don't think there's any problem with just deleting
14144 * sysdep.c (sys_subshell):
14145 Fixed a compile warning, although in this case there's probably
14146 something wrong with this code, and it ought to be looked into
14147 more thoroughly by somebody who understands it.
14150 * window.c (Fwindow_text_area_height):
14151 * window.c (Fwindow_width):
14152 * window.c (Fwindow_full_width):
14153 * window.c (Fwindow_pixel_width):
14154 * window.c (debug_print_window):
14155 * window.c (syms_of_window):
14156 Added functions window-text-area-height and window-full-width,
14157 which are functions for returning various width and height
14158 characteristics of a window. (One of these functions is necessary
14159 for making the file dialog box work correctly, and the other one
14160 was added for completeness.) Also added a table to the
14161 documentation for window-height which describes the entire scheme
14162 for accessing width and height characteristics of a window.
14164 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14166 * nt.c (fstat): Added a comment for another problem with
14167 non-encapsulated [f]stat(), reported by Adrian Aichner
14168 <aichner@ecf.teradyne.com>.
14170 2000-03-11 Andy Piper <andy@xemacs.org>
14172 * window.c (make_dummy_parent): initialize subwindow instance
14174 (Fset_window_configuration): zero extent_modiff.
14176 2000-03-10 Andy Piper <andy@xemacs.org>
14178 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14179 more changes can be triggered.
14180 (Fredisplay_frame): ditto.
14181 (Fredraw_device): ditto.
14182 (Fredisplay_device): ditto.
14183 (redisplay_frame): make non-static.
14184 (redisplay_frame): call update_frame_gutter_geometry outside of
14187 * gutter.h: declare update_frame_gutter_geometry.
14189 * redisplay.h: declare redisplay_frame.
14191 * gutter.c (update_frame_gutter_geometry): move geometry changes
14192 in update_frame_gutters here. Geometry changes can only occur
14193 outside of redisplay.
14194 (update_frame_gutters): remove geometry change code.
14195 (Fredisplay_gutter_area): make sure that we are in display when we
14196 update and that we have flushed any size changes.
14198 2000-03-11 Andy Piper <andy@xemacs.org>
14200 * alloc.c (pdump_dump_data): remove i & count shadows.
14202 2000-02-27 Mike Alexander <mta@arbortext.com>
14204 * sysdep.h: Declare pdump_read_file
14206 * sysdep.c (pdump_read_file): New function
14208 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14211 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14213 * lrecord.h: add `lrecord_type_pgsetenv'.
14215 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14217 * symsinit.h: declare (vars|syms)_of* functions.
14218 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14220 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14222 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14224 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14227 * emacs.c (main_1): Call postgres initialization code.
14229 * postgresql.h: New file. PostgreSQL RDBMS support.
14230 * postgresql.c: New file.
14232 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14234 * redisplay-output.c (redisplay_output_display_block): Disable
14237 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14239 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14240 (Fcanna_henkan_next): Ditto.
14241 (Fcanna_bunsetu_henkou): Ditto.
14242 (Fcanna_henkan_kakutei): Ditto.
14243 (Fcanna_henkan_end): Ditto.
14244 (Fcanna_henkan_quit): Ditto.
14245 (Fcanna_henkan_next): Set retun value correctly.
14246 (c2mu): Use unsigned char instead of signed char.
14248 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14250 * emacs.c (main_1): Always call syms_of_gui.
14251 * inline.c: include gui.h
14253 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14255 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14256 converted to Lisp_Object.
14257 (Qtop_bottom): New variable.
14258 (syms_of_redisplay): Initialize it.
14259 * redisplay.h (Vvisible_bell): Ditto.
14260 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14261 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14262 only flash top and bottom.
14264 2000-03-08 Andy Piper <andy@xemacs.org>
14266 * buffer.c (Frename_buffer): record new buffer name the right way.
14268 2000-03-08 Andy Piper <andy@xemacs.org>
14270 * glyphs.c (update_subwindow): increase hash depth so that widget
14271 items get picked up properly.
14273 * redisplay-output.c (compare_runes): increase hash depth so that
14274 widget items get picked up properly.
14276 2000-03-08 Andy Piper <andy@xemacs.org>
14278 * gutter.c (output_gutter): add some debug.
14280 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14281 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14282 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14284 * redisplay-output.c (compare_runes): use display_hash to
14285 determine if glyphs really are not the same.
14287 * glyphs.c (update_subwindow): check display_hash to see if
14288 anything really needs to be updated. If not then do
14289 nothing. Record the display_hash after updating.
14290 (image_instance_equal): compare the image_instance face also.
14292 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14294 * redisplay.h: Fix comment style.
14296 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14298 * consle-msw.h (struct mswindows_frame):
14299 Added new member paint_pending to indicate whether a WM_PAINT
14300 magic event has been queued for this frame.
14302 * event-msw.c (mswindows_drain_windows_queue):
14303 Don't queue a WM_PAINT magic event if one is already queued.
14304 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14306 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14308 2000-03-07 Didier Verna <didier@xemacs.org>
14310 * dired.c: #include `regex.h' after `sysfile.h'.
14312 2000-03-06 Martin Buchholz <martin@xemacs.org>
14314 * sound.c (init_nas_sound): Fix compiler warning.
14316 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14318 (MARK_STRUCT_AS_FREE):
14319 (MARK_STRUCT_AS_NOT_FREE):
14320 Make `gcc -fstrict-aliasing' work properly.
14322 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14324 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14325 (mswindows_delete_device): Call CoUnnitialize().
14327 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14329 2000-02-25 <CraigL@DyCon.com>
14331 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14334 * sysdep.c: This extern declaration for environ prevents MinGW
14335 from finding the variable in CRTDLL.DLL.
14337 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14339 (SHGFI_EXETYPE): ..
14340 (WM_MOUSEWHEEL): ..
14341 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14343 (MMRESULT): Removed, now defined in cygwin's windows headers.
14345 (uid_t,gid_t,pid_t,ssize_t): ..
14346 (_timeb): Removed, MinGW defines both _timeb and timeb.
14347 (HAVE_H_ERRNO): Added.
14348 (HAVE_TZNAME): Added, configure is not detecting this.
14350 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14352 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14353 * syntax.c (syntax_match): Use it.
14355 * cmds.c: Import auto-fill-chars from FSF Emacs.
14356 (Vauto_fill_chars): New variables.
14357 (internal_self_insert): Check Vauto_fill_chars.
14359 Declare auto-fill-chars as a Lisp variable and initialize it.
14361 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14363 * fileio.c (Fmake_symbolic_link):
14365 Run handlers even if local machine doesn't have symlinks.
14367 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14369 * event-msw.c (mswindows_drain_windows_queue):
14370 Don't generate paint magic events for non-XEmacs frames.
14372 2000-03-05 Andy Piper <andy@xemacs.org>
14374 * redisplay.c (redisplay_frame): generate_displayable_area and
14375 friends assumes that we are not in GC, we therefore have to make
14376 sure that this doesn't happen.
14378 * gutter.c (calculate_gutter_size): generate_displayable_area
14379 assumes that we are not in GC, we therefore have to make sure that
14380 this doesn't happen.
14382 2000-03-05 Martin Buchholz <martin@xemacs.org>
14384 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14386 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14388 * redisplay.c (regenerate_window): Make sure we set a sane value
14389 for end_pos even if we jump out of the loop.
14390 (regenerate_window): Answer Ben's question :-).
14391 (start_end_of_last_line): Add may_error argument.
14392 (start_of_last_line):
14393 (end_of_last_line): Pass may_error = 0.
14394 (end_of_last_line_may_error): New function.
14395 (pixel_to_glyph_translation): Use it, so we don't crash in
14398 2000-03-04 Andy Piper <andy@xemacs.org>
14400 * window.h (struct window): add gutter_extent_modiff.
14402 * window.c (allocate_window): zero out gutter_extent_modiff.
14404 * redisplay.h: declare sync_display_line_structs.
14406 * redisplay.c (add_glyph_rune): add a better comment.
14408 * redisplay-output.c (sync_display_line_structs): made non-static.
14409 (compare_runes): remove unneccesary glyph cachel access.
14411 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14413 * gutter.c (output_gutter): don't output the gutter if extent
14414 changes only involve extents in buffers. use 4 sets of display
14416 (gutter_extent_signal_changed_region_maybe): new function. Mark
14417 extents in gutters as changed.
14418 (update_frame_gutters): use 4 sets of display lines.
14419 (reset_gutter_display_lines): ditto.
14420 (free_frame_gutters): ditto.
14421 (redraw_exposed_gutter): force output of gutters.
14423 * frame.h (struct frame): add 4 sets of gutter display lines.
14425 * extents.c: (extent_changed_for_redisplay): signal changes to
14426 extents in strings in the gutter as well as extents in buffers.
14428 2000-03-02 Andy Piper <andy@xemacs.org>
14430 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14432 * frame.c (Fmake_frame): make sure the gutters get initialized
14433 after the frame is visible.
14434 (set_frame_selected_window): re-arrange compilation macros a
14436 (change_frame_size_1): mark gutters changed.
14438 * device.c (Fset_device_class): mark gutters changed.
14440 2000-03-01 Andy Piper <andy@xemacs.org>
14442 * window.c (window_top_frame_gutter_height): deleted.
14443 (window_bottom_frame_gutter_height): ditto.
14444 (window_left_frame_gutter_height): ditto.
14445 (window_right_frame_gutter_height): ditto.
14446 (window_top_gutter_height): don't use them.
14447 (window_bottom_gutter_height): ditto.
14448 (window_left_gutter_width): ditto.
14449 (window_right_gutter_width): ditto.
14450 (Fsplit_window): ditto.
14451 (Fwindow_pixel_edges): don't use border dimensions here.
14453 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14454 (update_scrollbar_instance): ditto.
14456 * redisplay.c (generate_modeline): don't take gutters into account.
14457 (generate_modeline): ditto.
14458 (redisplay_frame): small gutter display optimization.
14460 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14462 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14463 gutters into account.
14465 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14466 for window position and type.
14468 * gutter.c (get_gutter_coords): fix for frame gutters.
14469 (update_frame_gutters): update frame geometry if the gutters have
14471 (init_frame_gutters): record current gutter geometries.
14473 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14475 (mswindows_widget_instantiate): ditto.
14477 * frame.h (struct frame): add current_gutter_bounds.
14479 * frame.c (change_frame_size_1): position window and minibuffer
14480 appropriately taking into account the frame gutters.
14482 * frame-x.c: (x_initialize_frame_size): take into account the
14485 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14487 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14489 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14491 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14493 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14495 * file-coding.c (reset_decoding_stream): Clear previous
14496 detection state when autodetect.
14498 2000-02-29 Didier Verna <didier@xemacs.org>
14500 * extents.c (set_extent_glyph_1): don't require extents to be
14503 2000-02-27 Andy Piper <andy@xemacs.org>
14505 * gutter.c (Fset_default_gutter_position): don't default left and
14506 right gutter visibility to t.
14507 (Fset_default_gutter_position): run
14508 default-gutter-position-changed-hook.
14509 (syms_of_gutter): add default-gutter-position-changed-hook.
14511 2000-02-26 Andy Piper <andy@xemacs.org>
14513 * specifier.c (Fmake_specifier): add gutter references.
14515 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14517 * lisp.h: declare Fvalid_plist_p.
14519 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14521 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14522 well as its visibility so that it gets reconstructed.
14523 (construct_window_gutter_spec): new function. Construct a string
14524 to be displayed in the gutter from a plist of strings. Take care
14525 to only use elements that are declared as visible.
14526 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14528 (gutter_validate): allow plists of strings in the specifier.
14529 (gutter_specs_changed): construct the real_gutter from the gutter
14530 specs using construct_window_gutter_spec.
14531 (gutter_visible_validate): gutter-visible is a new specifier type.
14532 (Fgutter_visible_specifier_p): new function for the new specifier.
14533 (syms_of_gutter): declare gutter-visible and
14534 Fgutter_visible_specifier_p.
14535 (specifier_type_create_gutter): intitalize new gutter-visible
14537 (reinit_specifier_type_create_gutter): ditto.
14538 (specifier_vars_of_gutter): use new specifier type for gutter
14540 (init_frame_gutters): construct real_gutter correctly.
14541 (Fgutter_specifier_p): beef up documentation.
14542 (Fgutter_size_specifier_p): ditto.
14544 * winslots.h: add real_gutter slots.
14546 2000-02-25 Andy Piper <andy@xemacs.org>
14548 * device-msw.c: Be kind to older cygwin versions. From Raymond
14549 Toy <toy@rtp.ericsson.se>.
14551 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14552 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14554 2000-02-25 Martin Buchholz <martin@xemacs.org>
14556 * elhash.c (MARK_OBJ): Practice macro hygiene.
14558 2000-02-24 Martin Buchholz <martin@xemacs.org>
14560 * miscplay.c: s/__inline__/inline/g;
14561 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14562 (get_device_compdc): INLINE ==> static inline
14563 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14564 find -name '*.h' | \
14565 xargs global-replace \
14566 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14568 2000-02-25 Andy Piper <andy@xemacs.org>
14570 * window.c (window_top_frame_gutter_height): new function.
14571 (window_top_window_gutter_height): ditto.
14572 (window_top_gutter_height): use them.
14573 (window_bottom_frame_gutter_height): new function.
14574 (window_bottom_window_gutter_height): ditto.
14575 (window_bottom_gutter_height): use them.
14576 (window_left_window_gutter_width): new function.
14577 (window_left_frame_gutter_width): ditto.
14578 (window_left_gutter_width): use them.
14579 (window_right_window_gutter_width): new function.
14580 (window_right_frame_gutter_width): ditto.
14581 (window_right_gutter_width): use them.
14582 (window_pixel_height): new function. calulate window pixel height
14583 with frame gutter involvement.
14584 (Fsplit_window): calculate new sizes taking frame gutters into
14586 (window_char_height_to_pixel_height): don't include frame gutters.
14587 (window_char_height): use window_pixel_height.
14588 (window_pixheight): rename from window_pixel_height.
14589 (change_window_height): use it.
14590 (window_pixel_height_to_char_height): don't include frame gutters.
14591 (window_char_width_to_pixel_width): ditto.
14593 2000-02-25 Andy Piper <andy@xemacs.org>
14595 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14598 2000-02-24 Martin Buchholz <martin@xemacs.org>
14600 * alloc.c (staticpro):
14601 (staticpro_nodump):
14606 (compact_string_chars):
14607 (pdump_dump_wired):
14608 Convert: if (foo) abort(); ==> assert (! foo);
14610 * eldap.c (Fldap_search_basic):
14614 Fix compiler warnings, and possible crashes if (random) return
14615 value were to be used.
14617 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14619 * device-msw.c: Workaround ResetDC failure.
14621 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14622 applying a devmode.
14624 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14625 (mswindows_text_width): Do not start printer page.
14627 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14629 * glyphs-msw.c: Added image methods to msprinter console and
14630 msprinter-specific image instantiation.
14632 2000-02-20 Mike Alexander <mta@arbortext.com>
14634 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14635 to avoid crashes when selection-sets-clipboard is on
14636 (mswindows_own_selection): ditto
14638 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14641 * redisplay-msw.c (get_frame_dc):
14642 (get_frame_compdc):
14644 * device-msw.c (mswindows_init_device):
14645 (mswindows_delete_device):
14646 (msprinter_init_device):
14647 (msprinter_delete_device):
14648 * frame-msw.c (mswindows_init_frame_1):
14649 (mswindows_delete_frame):
14650 (msprinter_init_frame_3):
14651 (msprinter_delete_frame): Move compatible DC to device object from
14652 frame object, for both mswindows and msprinter. Only one at a time
14653 is needed, it is a real waste to have one per frame!
14655 2000-02-23 Andy Piper <andy@xemacs.org>
14657 * glyphs.c: add dynamic width and height elements.
14658 (image_instance_equal): ditto.
14660 * glyphs-widget.c (widget_query_geometry): calculate width and
14661 height dynamically if required.
14662 (initialize_widget_image_instance): initialize dynamic dimensions.
14663 (widget_instantiate): pick-up dynamic dimensions.
14665 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14666 dynamic determination. Add appropriate macros.
14668 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14670 (WINDOW_GUTTER_SIZE): ditto.
14671 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14673 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14675 (get_frame_dc): ditto.
14677 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14680 2000-02-23 Martin Buchholz <martin@xemacs.org>
14682 * XEmacs 21.2.31 is released.
14684 2000-02-22 Ben Wing <ben@xemacs.org>
14686 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14688 2000-02-22 Andy Piper <andy@xemacs.org>
14690 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14692 2000-02-21 Mike Sperber <mike@xemacs.org>
14696 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14699 2000-02-21 Mike Sperber <mike@xemacs.org>
14701 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14703 2000-02-21 Martin Buchholz <martin@xemacs.org>
14705 * XEmacs 21.2.30 is released.
14707 2000-02-20 Martin Buchholz <martin@xemacs.org>
14709 Performance hacking.
14711 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14712 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14713 * emacs.c (main_1):
14715 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14716 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14717 * symeval.h (DEFVAR_SYMVAL_FWD):
14718 * symbols.c (guts_of_unbound_marker):
14719 Make all c_readonly objects also lisp_readonly and marked for life.
14720 * lrecord.h (struct lrecord_implementation):
14721 Document flags better.
14722 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14723 * lrecord.h (DECLARE_LRECORD):
14724 * lrecord.h (XSETRECORD):
14725 * lrecord.h (RECORDP):
14726 * lrecord.h (RECORD_TYPEP):
14727 * lrecord.h (RECORD_MARKER): New.
14728 * lrecord.h (error_check_*):
14729 * lrecord.h (CONCHECK_NONRECORD):
14730 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14731 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14732 * lrecord.h (set_lheader_implementation):
14733 * lrecord.h (enum lrecord_type): New.
14734 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14735 * alloc.c (disksave_object_finalization_1):
14736 * alloc.c (mark_object):
14737 * alloc.c (lrecord_type_index):
14738 * alloc.c (tick_lcrecord_stats):
14739 * alloc.c (Fgarbage_collect):
14740 * alloc.c (init_alloc_once_early):
14741 * alloc.c (pdump_load):
14742 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14743 * alloc.c (lrecord_type_index): Delete.
14744 Make lisp object type indexes be constant.
14745 Makes (byte-compile) 5% faster.
14746 Put all marker functions into their own array.
14747 Makes (garbage-collect) 5% faster.
14748 Optimize SYMBOL_VALUE_MAGIC_P.
14749 Makes (byte-compile) 2-3% faster.
14750 * config.h.in (gc_checking_assert): New.
14751 * alloc.c: Use gc_checking_assert().
14752 * .dbxrc: Make compatible with new object type implementation.
14753 * .gdbinit: Make compatible with new object type implementation.
14754 * alloc.c: Delete all symbols defined only for debugging, such as
14755 Lisp_Type_Vector and lrecord_charset.
14757 2000-02-21 Andy Piper <andy@xemacs.org>
14759 * gui-msw.c (Fmswindows_shell_execute): fix file location
14762 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14763 unshowing so that set_window_buffer doesn't undo
14764 kill_buffer_hook's hard work.
14766 * glyphs-widget.c (tab_control_query_geometry): don't count the
14767 first item when calculating geometry.
14769 * glyphs.c (map_subwindow): remove redundant code.
14770 (update_frame_subwindows): be more circumspect about when to
14773 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14774 when items haven't changed. Update faces if faces have changed as
14775 well as just the widget face.
14776 (x_tab_control_update): Update faces if faces have changed as well
14777 as just the widget face.
14779 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14781 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14783 (build_syscolor_string): Use mswindows_color_to_string to try to
14785 (mswindows_device_system_metrics): Reverse the foreground and
14786 background colors so that they match the documentation.
14788 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14789 they match the default Windows palette.
14790 (mswindows_color_to_string): New function.
14792 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14794 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14796 2000-02-18 Olivier Galibert <galibert@pobox.com>
14798 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14799 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14801 * symbols.c (init_symbols_once_early): Removed obsolete
14802 DATA_SEG_BITS related kludge.
14803 (defvar_magic): Ditto.
14805 * malloc.c: Removed obsolete DATA_SEG_BITS
14807 * mem-limits.h: Ditto.
14809 * Makefile.in.in: Removed obsolete HAVE_SHM
14812 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14814 * device-msw.c (mswindows_delete_device): Free DDE string
14817 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14819 * keymap.c (get_keyelt):
14820 * unexnt.c (unexec):
14821 * vm-limit.c (memory_warnings):
14822 * ntheap.c (recreate_heap):
14823 * ntheap.h (UNINIT_PTR):
14824 * select-msw.c (Fmswindows_get_clipboard):
14825 (Fmswindows_set_clipboard):
14826 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14828 * menubar-msw.c (displayable_menu_item):
14830 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14831 * sysdep.c (sys_subshell):
14832 * process-nt.c (nt_create_process):
14833 * nt.c (normalize_filename):
14834 (dostounix_filename):
14835 (unixtodos_filename):
14836 * ntproc.c (win32_executable_type):
14837 * ntplay.c (play_sound_data_1):
14839 * editfns.c (get_home_directory):
14840 * event-msw.c (struct winsock_stream):
14841 (mswindows_dde_callback):
14842 * device-msw.c (msprinter_init_device):
14843 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14845 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14846 mswindows_clear_toolbar were swapped!
14848 * objects-msw.c:(colormap_t):
14850 * emacs.c (struct standard_args): Fixed const jumble.
14852 * glyphs-widget.c (update_widget): Fixed comparison notation.
14854 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14856 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14857 __declspec(noreturn) syntax.
14859 2000-02-19 Martin Buchholz <martin@xemacs.org>
14861 * eldap.c (Fldap_open):
14862 (Fldap_search_basic):
14865 Use new coding system conversion macros.
14867 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14869 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14871 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14873 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14874 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14876 * eldap.c (Qadd, Qreplace): New constant symbols
14877 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14878 interruptions by XEmacs signals
14879 Remove unnecessary calls to slow_down_interrupts and
14880 speed_up_interrupts
14881 (Fldap_search_basic): Renamed from Fldap_search_internal
14882 Added new optional parameter VERBOSE that triggers the
14883 display of progress messages
14884 Remove unnecessary calls to slow_down_interrupts and
14885 speed_up_interrupts
14886 LDAP result code analysis rewritten
14887 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14888 (syms_of_eldap): Define the new symbols and functions
14891 2000-02-17 Martin Buchholz <martin@xemacs.org>
14893 * realpath.c: Determine PATH_MAX maximally portably.
14895 * insdel.c (bytecount_to_charcount): Optimize.
14896 The function used to be optimized for entirely ASCII sequences.
14897 Now it is optimized for successive characters from the same
14898 charset. This also wins big for _mostly_ ASCII sequences.
14900 * fileio.c (Ffile_truename): convert return from realpath() using
14901 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14902 - Rewrite GCPROing slightly.
14904 * sysdep.c (sys_open): Do filename conversion, like all other
14905 sys_* functions. Fixes bug:
14906 (let ((file-name-coding-system 'iso-8859-2))
14907 (write-region x y latin2-name))
14908 ==> writes filename using internal encoding.
14910 2000-02-18 Martin Buchholz <martin@xemacs.org>
14912 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14913 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14914 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14915 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14916 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14917 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14918 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14919 (CONST_IF_NOT_DEBUG): Delete.
14920 * alloc.c (this_one_is_unmarkable): Delete.
14921 (mark_object): Don't check for this_one_is_unmarkable. Use the
14922 c_readonly flag instead.
14923 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14925 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14927 * event-msw.c (mswindows_drain_windows_queue):
14928 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14929 away redundant repaint events.
14931 2000-02-17 Andy Piper <andy@xemacs.org>
14933 * redisplay.h: declare mark_redisplay_structs.
14935 * redisplay.c (redisplay_window):
14936 (redisplay_frame): don't check subwindows_state_changed.
14937 (mark_redisplay): mark gutters here.
14939 * glyphs.c: (instantiate_image_instantiator): always layout if we
14940 haven't done so already.
14941 (allocate_image_instance): don't mark as dirty.
14942 (update_subwindow): bind inhibit_quit.
14944 * gutter.c (mark_gutters): new function.
14946 * glyphs-x.c (x_update_widget): Always resize to get round a
14949 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14950 breaking absolutely everything.
14952 * gutter.h: declare mark_gutters.
14954 2000-02-16 Martin Buchholz <martin@xemacs.org>
14956 * XEmacs 21.2.29 is released.
14958 2000-02-15 Olivier Galibert <galibert@pobox.com>
14960 * fns.c (size_bit_vector): Fix computation of the size.
14962 2000-02-15 Martin Buchholz <martin@xemacs.org>
14964 * *.[ch]: Change CONST to const globally.
14965 find -name '*.[ch]' | \
14966 xargs global-replace \
14967 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14968 - Remove vestigial references to CONST_IS_LOSING
14970 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14972 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14973 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14974 events instead of dispatching them directly.
14975 (mswindows_handle_paint): New function to do repainting.
14976 (mswindows_wnd_proc):
14977 (emacs_mswindows_handle_magic_event): Call above function.
14979 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14981 * objects-msw.c (mswindows_create_font_variant): Return the new
14983 (initialize_font_instance): Get font metrics from the underlined
14984 variant of the font to cope with the case where the underlined
14985 font has a bigger descent.
14987 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14989 * gui.c (gui_item_accelerator): Return the first underlined
14990 character in item name.
14992 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14994 * lisp.h: Added Qprinter.
14996 * general.c (syms_of_general): Initialized it.
14998 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
15000 (get_frame_compdc): Made inline.
15002 * console.h (struct console_methods): Added eject_page method.
15004 * frame.h: Added FRAME_DISPLAY_P and friends.
15005 Aligned backslahes in many macros in more readable fashion.
15006 Added page_number to struct frame, and an accessor macro
15009 * defice.h: Added DEVICE_DISPLAY_P and friends.
15011 * device.c (Fdevice_printer_p): Used these.
15013 * frame.c (allocate_frame_core): Initialize page number.
15014 (Fprint_job_page_number):
15015 (Fprint_job_eject_page): Implemented.
15017 * frame-msw.c (msprinter_eject_page): Added method.
15018 (msprinter_start_page): Added.
15020 * window.c (Fwindow_truncated_p): Fixed docstring.
15021 (Fwindow_last_line_visible_height): Implemented.
15023 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15025 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15027 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15029 * syntax.c (scan_words): Always advance at least one character.
15031 2000-02-13 Andy Piper <andy@xemacs.org>
15033 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15034 to make sure the glyph is in the cachels.
15036 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15037 global image instance flag.
15038 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15039 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15041 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15042 (Fset_image_instance_property): mark layout as changed.
15043 (invalidate_glyph_geometry_maybe): mark layout as changed.
15044 (glyph_width): use new NEEDS_LAYOUT macro.
15045 (glyph_ascent): ditto.
15046 (glyph_descent): ditto.
15047 (glyph_height): ditto.
15048 (image_instance_layout): mark layout as clean after laying out.
15049 (update_subwindow): don't mark layout as clean here.
15051 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15052 should no longer be needed.
15054 * glyphs-x.c (x_update_widget): sanitize asserts.
15055 (x_finalize_image_instance): sanitize assignment to widgets.
15057 * glyphs-widget.c (widget_instantiate): don't need to clear the
15060 2000-02-13 Martin Buchholz <martin@xemacs.org>
15062 * sysdep.c (getcwd): Use standard prototype.
15063 * sysdep.h (getcwd): Use standard prototype.
15065 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15066 (sequence, start, end).
15067 Remove redundant type checking.
15068 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15069 view of `caller-protects') to avoid a crash where the real fix was
15072 2000-02-12 Martin Buchholz <martin@xemacs.org>
15074 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15076 * s/sol2.h: Remove feature macro initialization.
15078 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15079 (vector_hash): New. Code from internal_hash.
15081 Fix up allocation subsystem comments.
15083 * config.h.in: Add __EXTENSIONS__ for Solaris.
15085 * systime.h (EMACS_GETTIMEOFDAY): New.
15086 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15087 Remove Solaris-specific code.
15088 Use void* for the (ignored) second arg for gettimeofday().
15090 * elhash.c (hash_table_hash): Implement it, finally.
15091 * elhash.c: Use hashcode_t.
15093 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15094 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15096 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15097 * fns.c (size_bit_vector):
15098 * alloc.c (size_vector):
15099 (make_vector_internal):
15100 (make_bit_vector_internal):
15101 (sweep_bit_vectors_1):
15102 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15104 2000-02-10 Martin Buchholz <martin@xemacs.org>
15106 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15107 Include strings.h to avoid warnings for bzero and strcasecmp.
15109 2000-02-10 Olivier Galibert <galibert@pobox.com>
15111 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15112 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15114 * fns.c (size_bit_vector): New. Declare bit vectors as a
15117 2000-02-10 Olivier Galibert <galibert@pobox.com>
15119 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15120 use a value field instead.
15121 (symbol_value_forward_forward): Use value field.
15122 (DEFVAR_SYMVAL_FWD): Use value field.
15123 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15124 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15125 (DEFVAR_CONST_INT): Ditto.
15126 (DEFVAR_BOOL): Ditto.
15127 (DEFVAR_CONST_BOOL): Ditto.
15128 (DEFVAR_INT_MAGIC): Ditto.
15129 (DEFVAR_BOOL_MAGIC): Ditto.
15131 * symbols.c (guts_of_unbound_marker): Use value field.
15132 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15133 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15135 * lisp.h: Declare dumpopaque and noninteractive1.
15137 * alloc.c (dumpopaque): Added.
15138 (pdump_dump_opaquevec): Added.
15139 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15140 (pdump_load): Reload opaque data. Sync noninteractive1 with
15143 2000-02-10 Andy Piper <andy@xemacs.org>
15145 * glyphs.c (image_instance_layout): if the size changes, mark it
15148 * redisplay-output.c (redisplay_output_layout): Update the
15150 (redisplay_output_subwindow): ditto.
15152 * glyphs.c (update_subwindow): make sure we reset flags for
15153 layouts as well as everything else.
15155 * glyphs-widget.c (layout_layout): don't need to set the instances
15158 2000-02-09 Martin Buchholz <martin@xemacs.org>
15160 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15161 not HAVE_DLOPEN, which is a lower-level thing.
15163 * .cvsignore: Ignore gmon.out
15165 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15167 * .cvsignore: Ignore portable dumper xemacs.dmp file
15169 2000-02-09 Andy Piper <andy@xemacs.org>
15171 * redisplay-output.c (redisplay_output_layout): be more clever
15172 about when we output based on the changed flags.
15174 * glyphs.h (struct image_instantiator_methods): add update_method.
15175 (struct Lisp_Image_Instance): add changed flags. Declare new
15176 macros for manipulating them.
15178 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15179 (image_instance_parent_glyph): find an image_instance's parent
15180 glyph or image_instance.
15181 (image_instance_layout): mark the size as changed.
15182 (set_image_instance_dirty_p): new function. mark an image
15183 instance, plus all of its parents, as dirty.
15184 (Fset_image_instance_property): use it.
15185 (Fglyph_animated_timeout_handler): use it.
15186 (update_subwindow): call update_widget and device methods for
15187 update_subwindow. Mark all changed flags as clean.
15188 (Fresize_subwindow): mark size as changed.
15190 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15192 (x_update_subwindow): only resize subwindows here.
15193 (x_update_widget): new function. Update all changed properties of
15195 (x_resize_subwindow): deleted.
15196 (x_widget_set_property): deleted.
15197 (x_progress_gauge_set_property): deleted.
15198 (x_progress_gauge_update): new function. Implement recorded
15200 (x_tab_control_update): ditto.
15201 (x_tab_control_set_property): deleted.
15202 (console_type_create_glyphs_x): declare new functions.
15203 (image_instantiator_format_create_glyphs_x): ditto.
15205 * glyphs-widget.c (widget_set_property): mark text changed.
15206 (update_widget): new function. Update properties of a widget.
15207 (widget_instantiate): for layouts make sure we set their
15208 children's parent correctly.
15209 (tab_control_set_property): new function. Record changes that will
15210 take place under redisplay's control.
15211 (progress_gauge_set_property): ditto.
15212 (image_instantiator_progress_guage): declare new functions.
15213 (image_instantiator_tab_control): ditto.
15215 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15217 (mswindows_update_widget): new function. Update all properties on
15218 a widget that have changed.
15219 (mswindows_button_update): new function. Update a button's set
15221 (mswindows_tab_control_update): new function. Update the items in
15223 (mswindows_tab_control_set_property): deleted.
15224 (mswindows_progress_gauge_update): new function. Update the
15225 progress gauge's progress.
15226 (mswindows_widget_set_property): deleted. This is all done
15227 asynchronously now.
15228 (mswindows_progress_gauge_set_property): ditto.
15229 (console_type_create_glyphs_mswindows): declare new methods.
15230 (image_instantiator_format_create_glyphs_mswindows): ditto.
15232 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15233 (msprinter_set_frame_properties): ditto.
15235 * console.h (struct console_methods): Add update_widget_method.
15237 2000-02-09 Andy Piper <andy@xemacs.org>
15239 * gui-msw.c (Fmswindows_shell_execute): Make
15240 mswindows-shell-execute industrial strength.
15242 2000-02-08 Martin Buchholz <martin@xemacs.org>
15244 * lrecord.h: Make macro argument `props' match member function `plist'.
15247 * fns.c (Fremprop):
15248 * fns.c (Fobject_plist):
15251 Object property list frobbing cleanup.
15252 - Allow any lisp object (compared with `eq'), not just symbols, as
15253 keys in object plists.
15254 - Move symbol plist frobbing into symbols.c, where it belongs.
15255 - Move string plist frobbing into alloc.c, where it belongs.
15256 - Everything's an lrecord now, so no need to test for symbolp, etc.
15257 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15259 * extents.c: Reorder code to remove declarations.
15261 * frame.h (store_in_alist): Remove useless declaration.
15263 2000-02-07 Martin Buchholz <martin@xemacs.org>
15265 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15266 * config.h.in: Add HAVE_XCONVERTCASE.
15268 2000-02-07 Andy Piper <andy@xemacs.org>
15270 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15271 it breaks many things.
15273 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15275 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15276 actually can start a common comment type.
15277 * src/syntax.h (SYNTAX_END_P): ditto for end.
15279 2000-02-07 Martin Buchholz <martin@xemacs.org>
15281 * XEmacs 21.2.28 is released.
15283 2000-02-06 Martin Buchholz <martin@xemacs.org>
15285 * event-Xt.c (x_keysym_to_character): New.
15286 (maybe_define_x_key_as_self_inserting_character): New.
15287 (x_has_keysym): New.
15288 Auto-define all keys on the keyboard as self-insert-key.
15290 2000-02-02 Martin Buchholz <martin@xemacs.org>
15292 * menubar.c (vars_of_menubar): A small code simplification.
15294 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15297 * ExternalClient.c:
15298 * EmacsShell-sub.c:
15301 Use consistent style for specifying X resources.
15303 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15304 This makes (dontusethis-set-symbol-value-handler) actually usable.
15306 * lrecord.h (lrecord_decription_type):
15307 * alloc.c (pdump_register_sub):
15310 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15311 Comply with XEmacs coding style.
15312 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15313 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15315 * keymap.c (Faccessible_keymaps):
15316 Make (accessible-keymaps map "\C-h") do the Right Thing.
15317 Make (accessible-keymaps map []) do the Right Thing.
15318 Make (accessible-keymaps map "") do the Right Thing.
15319 (check_keymap_definition_loop): New function.
15320 (keymap_store_internal): Keep luser from shooting self in foot,
15321 via (define-key ctl-x-4-map "p" global-map).
15322 Remove fullness slot from struct Lisp_Keymap, since hash tables
15324 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15326 2000-01-30 Martin Buchholz <martin@xemacs.org>
15328 * redisplay.c (init_redisplay): Fix small memory leak.
15330 * elhash.c (pdump_reorganize_hash_table):
15331 Rename from reorganize_hash_table. Change prototype.
15332 Reuse the original memory for hentries. Save 100k.
15333 * alloc.c (PDUMP_READ): new macro.
15334 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15335 * alloc.c: No need to #ifndef before #undef.
15337 * print.c: Allow debug_print() to print readably by modifying
15338 debug_print_readably. Use consistent variable names.
15340 * .dbxrc: Try to get things to work even if stopped in a function
15341 without source available by explicitly specifying source files.
15342 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15344 * unexnt.c (_start): Removed bogus code which caused loading heap
15345 from differrent executable file.
15346 Removed bogus assignment to _fmode, which caused inconsistencies.
15348 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15350 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15351 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15352 Do not preliminary `#define signal sigset'.
15354 * systime.h: Do not prototype environ on windows nt and cygwin,
15355 this conflicts with system header.
15357 * syssignal.h: Use correct define for WINDOWSNT
15359 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15360 with system header.
15362 * sysdep.c (near start of file): Fixed commentary and rearranged
15363 ifdefs in readable order.
15364 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15367 (end_of_data): Do not compile in if using PDUMP.
15369 * symsinit.h: Prototyped vars_of_nt().
15371 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15372 (find_child_console): Use it.
15373 (sys_kill): Use it.
15375 * ntheap.h: Do not extern os_subtype.
15377 * ntheap.c (cache_system_info): Do not cache unneeded:
15378 nt_major_version, nt_minor_version and os_subtype.
15379 (recreate_heap): Do not compile in when PDUMPing.
15381 * nt.c (geteuid and friends): Use the new varibale
15382 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15383 (init_user_info): Removed the above mentioned hackery.
15384 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15385 stat has been fixed in the C runtime.
15386 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15388 * file-coding.c (struct file_coding_dump): Do not define
15389 ucs_to_mule_table in the struct if not MULE.
15390 (struct struct lrecord_description fcd_description_1): Do not dump
15393 * emacs.c (main_1): Call vars_of_nt().
15394 (right before Fdump_emacs_data): Don't need lastfile if using both
15395 portabe dumper and system malloc.
15397 * alloc.c (Fmemory_limit): Conditionalized out.
15398 (pdump): Use OPEN_BINARY for the portable dump file.
15399 (pdump_load): Ditto.
15401 2000-02-02 Mike Alexander <mta@arbortext.com>
15403 * nt.c (convert_time): Set tm_isdst before calling mktime and
15404 avoid calling it at all if the compiler supports 64 bit integers.
15405 Also initialize utc_base_ft before using it.
15407 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15409 * frame.c (change_frame_size_1): Take f->internal_border_width
15410 into consideration when calculating the width of the frame.
15412 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15414 * window.c (frame_min_height):
15415 (frame_size_valid_p):
15416 (frame_pixsize_valid_p): Added.
15417 (check_frame_size): Generalized.
15419 * window.h: Prototyped the above.
15422 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15423 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15424 Deleted Vwin32_* and Vbinary_process_* unused variables.
15426 * device-msw.c (msprinter_init_device): Do not get printer font
15427 list; Added DEVMODE functions.
15429 * frame-msw.c: Added lots of printer code.
15431 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15434 * console-msw.h: Added more msprinter device private slots.
15436 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15438 * event-msw.c (key_needs_default_processing_p): Added.
15439 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15441 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15443 * glyphs.c (image_instance_layout): Mark image instance as clean
15445 (glyph_dirty_p): Removed redundant function.
15446 (invalidate_glyph_geometry_maybe): Added.
15447 (update_glyph_cachel_data): Call it.
15449 * glyphs.h: Prototyped it.
15451 * redisplay.c (add_glyph_rune): Call it.
15452 (redisplay_window): Reset glyphs cachels when frame faces have
15453 changed, thus forcing recomputation of built-in border glyphs.
15455 2000-01-30 Martin Buchholz <martin@xemacs.org>
15457 * Makefile.in.in: Make portable dumper and purify play well together.
15458 Add imperfect, but better than nothing, support for pdump.
15459 Remove xemacs.dmp when temacs is re-generated.
15460 Don't ignore errors when dumping xemacs.
15462 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15464 2000-01-28 Andy Piper <andy@xemacs.org>
15466 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15467 (setup_normal_frame): ditto.
15468 (setup_frame_without_minibuffer): ditto.
15469 (setup_minibuffer_frame): ditto.
15470 (delete_frame_internal): ditto.
15471 (Fmake_frame_invisible): ditto.
15472 (Ficonify_frame): ditto.
15474 * window.h: change Fset_window_buffer signature.
15476 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15477 (Fset_window_buffer): allow recording of buffer if the window is
15478 the selected window.
15479 (window_loop): Use new Fset_window signature.
15481 2000-01-23 Daniel Pittman <daniel@danann.net>
15483 * config.h.in: Added template for `HAVE_ATHENA_3D'
15485 2000-01-29 Andy Piper <andy@xemacs.org>
15487 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15489 * gutter.c (output_gutter): Don't output if the window isn't live.
15491 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15493 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15494 of 01/12/00: Moved SetFocus back here where it belongs.
15496 2000-01-23 Andy Piper <andy@xemacs.org>
15498 * s/cygwin32.h: declare printer things.
15500 2000-01-26 Andy Piper <andy@xemacs.org>
15502 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15505 2000-01-24 Andy Piper <andy@xemacs.org>
15507 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15508 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15510 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15512 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15514 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15516 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15517 (mswindows_output_display_block): Avoid local shadows.
15519 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15520 (mswindows_enqueue_mouse_button_event): ditto.
15521 (mswindows_handle_gui_wm_command): remove declaration.
15523 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15526 * console-msw.h: Avoid shadows.
15527 (mswindows_get_toolbar_button_text):
15528 (emacs_mswindows_create_stream_pair):
15529 (emacs_mswindows_delete_stream_pair):
15530 (mswindows_handle_toolbar_wm_command): declare.
15532 * device-msw.c (build_syscolor_string): Avoid shadows.
15534 2000-01-23 Andy Piper <andy@xemacs.org>
15536 * glyphs-widget.c (widget_instantiate): reverse the items for
15537 layouts so that children are in the expected order.
15539 2000-01-28 Martin Buchholz <martin@xemacs.org>
15541 * ralloc.c: safe_bcopy ==> memmove
15542 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15543 * s/msdos.h: Remove BCOPY macros.
15544 * insdel.c (gap_right): Remove BCOPY conditional code.
15545 * insdel.c (gap_left): Remove BCOPY conditional code.
15546 XEmacs demands a working ANSI C compiler - hence memmove.
15548 * regex.c (regex_compile): Remove accidental use of trigraphs.
15550 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15552 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15555 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15557 * event-msw.c (mswindows_drain_windows_queue): Added the
15559 (mswindows_need_event): Commented the call to
15560 mswindows_drain_windows_queue().
15561 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15564 * console-msw.h: Moved a few function prototypes here from
15567 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15568 parameter from unsigned short to unsigned long.
15569 (Fmswindows_shell_execute): Added return value.
15571 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15573 * sysdep.c (init_system_name):
15574 process-unix.c (unix_canonicalized_host_name):
15575 Don't call freeaddrinfo() if getaddrinfo() fails.
15577 * process-unix.c (unix_open_unix_network_stream):
15578 Moved the code to get a port # into address loop.
15580 2000-01-27 Martin Buchholz <martin@xemacs.org>
15582 * buffer.c (reinit_vars_of_buffer):
15583 The right place to initialize conversion_in_dynarr and
15584 conversion_out_dynarr.
15586 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15588 * process-unix.c (unix_canonicalize_host_name): Muleize.
15589 (unix_open_network_stream): Muleize.
15591 * buffer.h: Fix up prototypes for ralloc.c functions.
15593 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15594 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15595 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15596 instead of gethostbyname()
15597 * process-unix.c: In unix_canonicalize_host_name() and
15598 unix_open_network_stream(), add code to use getaddrinfo()
15599 instead of gethostbyname().
15601 2000-01-27 Daniel Pittman <daniel@danann.net>
15603 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15604 libs when built with flat Athena.
15606 2000-01-27 Martin Buchholz <martin@xemacs.org>
15608 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15609 Use coding standards for function prototypes.
15611 2000-01-25 Martin Buchholz <martin@xemacs.org>
15613 * dialog-msw.c (push_lisp_string_as_unicode):
15614 * doc.c (unparesseuxify_doc_string):
15615 * dired.c (Fuser_name_completion_1):
15616 * dired.c (Fuser_name_all_completions):
15617 * dired.c (free_user_cache):
15618 * dired.c (user_name_completion):
15619 * console-x.c (get_display_arg_connection):
15620 * minibuf.c (clear_echo_area_internal):
15621 * minibuf.c (echo_area_append):
15622 * eldap.c (Fldap_open):
15623 * eldap.c (Fldap_search_internal):
15624 * frame-x.c (x_set_frame_text_value):
15625 * frame-x.c (x_set_frame_properties):
15626 * frame-x.c (x_create_widgets):
15627 * redisplay-tty.c (term_get_fkeys_1):
15628 * objects-x.c (x_parse_nearest_color):
15629 * objects-x.c (x_valid_color_name_p):
15630 * objects-x.c (x_initialize_font_instance):
15631 * objects-x.c (x_list_fonts):
15632 * objects-x.c (x_find_charset_font):
15633 * tooltalk.c (Fadd_tooltalk_message_arg):
15634 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15635 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15636 * process-unix.c (unix_create_process):
15637 * ntproc.c (sys_spawnve):
15638 * sound.c (Fplay_sound_file):
15639 * sound.c (Fplay_sound):
15640 * buffer.c (init_initial_directory):
15641 * buffer.c (init_buffer):
15642 * editfns.c (init_editfns):
15643 * editfns.c (Ftemp_directory):
15644 * editfns.c (Fuser_full_name):
15645 * editfns.c (uncache_home_directory):
15646 * editfns.c (get_home_directory):
15647 * editfns.c (Fuser_home_directory):
15648 * editfns.c (Fformat_time_string):
15649 * editfns.c (Fcurrent_time_string):
15650 * gui-x.c (button_item_to_widget_value):
15651 * database.c (Fopen_database):
15652 * event-Xt.c (x_to_emacs_keysym):
15653 * event-Xt.c (x_event_to_emacs_event):
15654 * event-Xt.c (describe_event_window):
15655 * event-msw.c (mswindows_wnd_proc):
15656 * glyphs-eimage.c (jpeg_instantiate):
15657 * glyphs-eimage.c (gif_instantiate):
15658 * glyphs-eimage.c (png_instantiate):
15659 * glyphs-eimage.c (tiff_instantiate):
15660 * glyphs-x.c (xbm_instantiate_1):
15661 * glyphs-x.c (x_xbm_instantiate):
15662 * glyphs-x.c (x_xface_instantiate):
15663 * glyphs-x.c (autodetect_instantiate):
15664 * glyphs-x.c (cursor_font_instantiate):
15665 * glyphs-x.c (x_widget_instantiate):
15666 * glyphs-x.c (x_widget_set_property):
15667 * glyphs-x.c (x_widget_property):
15668 * glyphs-x.c (BUILD_GLYPH_INST):
15669 * print.c (write_string_to_stdio_stream):
15670 * print.c (output_string):
15671 * print.c (Falternate_debugging_output):
15672 * print.c (Fexternal_debugging_output):
15673 * glyphs-msw.c (extract_xpm_color_names):
15674 * glyphs-msw.c (mswindows_xpm_instantiate):
15675 * glyphs-msw.c (bmp_instantiate):
15676 * glyphs-msw.c (resource_name_to_resource):
15677 * glyphs-msw.c (mswindows_resource_instantiate):
15678 * glyphs-msw.c (xbm_instantiate_1):
15679 * glyphs-msw.c (mswindows_xbm_instantiate):
15680 * glyphs-msw.c (mswindows_xface_instantiate):
15681 * glyphs-msw.c (mswindows_widget_instantiate):
15682 * glyphs-msw.c (add_tree_item):
15683 * glyphs-msw.c (add_tab_item):
15684 * glyphs-msw.c (mswindows_combo_box_instantiate):
15685 * glyphs-msw.c (mswindows_widget_property):
15686 * glyphs-msw.c (mswindows_combo_box_property):
15687 * glyphs-msw.c (mswindows_widget_set_property):
15688 * console.c (stuff_buffered_input):
15689 * objects-msw.c (mswindows_initialize_color_instance):
15690 * objects-msw.c (mswindows_valid_color_name_p):
15691 * objects-msw.c (mswindows_list_fonts):
15692 * objects-msw.c (mswindows_font_instance_truename):
15693 * bytecode.c (optimize_compiled_function):
15694 * select-x.c (symbol_to_x_atom):
15695 * select-x.c (x_atom_to_symbol):
15696 * select-x.c (hack_motif_clipboard_selection):
15697 * select-x.c (selection_data_to_lisp_data):
15698 * select-x.c (lisp_data_to_selection_data):
15699 * select-x.c (Fx_get_cutbuffer_internal):
15700 * select-x.c (Fx_store_cutbuffer_internal):
15701 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15702 * buffer.h (TO_INTERNAL_FORMAT): New function.
15703 * emacs.c (make_arg_list_1):
15704 * emacs.c (make_argc_argv):
15705 * emacs.c (main_1):
15706 * emacs.c (Fdump_emacs):
15707 * emacs.c (split_string_by_emchar_1):
15712 * device-x.c (x_init_device):
15713 * device-x.c (Fx_valid_keysym_name_p):
15714 * device-x.c (Fx_get_font_path):
15715 * device-x.c (Fx_set_font_path):
15716 * glyphs.c (bitmap_to_lisp_data):
15717 * glyphs.c (pixmap_to_lisp_data):
15718 * alloc.c (make_ext_string): Use coding system arguments. Update
15720 * alloc.c (build_string):
15721 * callproc.c (child_setup):
15722 * callproc.c (init_callproc):
15723 * fileio.c (lisp_strerror):
15724 * fileio.c (directory_file_name):
15725 * fileio.c (Fexpand_file_name):
15726 * fileio.c (Ffile_truename):
15727 * fileio.c (Fsysnetunam):
15728 * fileio.c (Fdo_auto_save):
15729 * sysdep.c (sys_readdir):
15730 * tests.c: New file. Allow adding C tests.
15731 Replace GET_* macros with a more comprehensible and flexible
15732 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15734 Any coding system can be used to do format conversion.
15735 Eliminate enum external_data_format.
15736 Eliminate convert_to_external_format.
15737 Eliminate convert_to_internal_format.
15738 Make sure file-name, keyboard, terminal, and ctext are always
15739 defined as coding systems or aliases. Make
15740 file-name-coding-system, terminal-coding-system, and
15741 keyboard-coding-system magical variables that are equivalent to
15742 defining the corresponding coding system aliases.
15744 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15745 * file-coding.c (Fcoding_system_alias_p): New function.
15746 * file-coding.c (Fcoding_system_aliasee): New function.
15747 * file-coding.c (append_suffix_to_symbol): New function.
15748 * file-coding.c (dangling_coding_system_alias_p): New function.
15749 * file-coding.c (Ffind_coding_system):
15750 * file-coding.c (Fcopy_coding_system):
15751 * file-coding.c (encode_coding_no_conversion):
15752 * file-coding.c (syms_of_file_coding):
15753 * file-coding.c (vars_of_file_coding):
15754 Rewrite coding system alias code.
15755 Allow nested aliases, like symbolic links.
15756 Allow redefinition of coding system aliases.
15757 Prevent existence of dangling coding system aliases.
15759 * dired.c (Fuser_name_completion_1):
15760 * dired.c (Fuser_name_all_completions):
15761 A crash would happen if user did QUIT in the middle of building
15762 user_name_cache. Remove redundant code in mainline and unwind_protect.
15765 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15767 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15768 an unsigned char *. Update all callers.
15770 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15772 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15774 2000-01-25 Martin Buchholz <martin@xemacs.org>
15776 * elhash.c (hentry_description): Use more portable definition.
15777 (resize_hash_table): Initialize new hentries using
15778 xnew_array_and_zero, thereby simplifying the code.
15780 * mule-charset.c (make_charset): Make sure entire object is
15781 initialized, to avoid Purify warnings.
15783 * alloc.c (resize_string): Fix unlikely crash with big strings.
15785 2000-01-24 Martin Buchholz <martin@xemacs.org>
15787 * realpath.c (xrealpath):
15788 Don't call getwd().
15790 2000-01-25 Martin Buchholz <martin@xemacs.org>
15792 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15794 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15796 * unexelfsgi.c (unexec): Change the way we decide which segment
15797 should be extended.
15799 Assumption that .bss section should be outside the PT_LOADable
15800 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15801 it's present) is inside the 'data' segment. This would fail the
15802 test which was used to find a segment to grow and cover new
15803 heap. Instead of this assumption, I created another one - on IRIX
15804 the segment to grow should start below .bss and it's address
15805 should extent above the end of .bss. Once this segment is
15806 identified, it's grown to accommodate the new heap and new
15807 zero-length .bss section is added at the end of .data2.
15809 2000-01-25 Martin Buchholz <martin@xemacs.org>
15811 * eval.c (Feval): Wrong number of arguments should use original
15812 function, not the indirect_function version of it.
15814 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15816 * glyphs-x.c (x_button_instantiate): Don't add image if
15817 it is not a pixmap.
15818 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15821 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15823 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15825 (DEFVAR_INT_MAGIC): Ditto.
15826 (DEFVAR_BOOL_MAGIC): Ditto.
15827 * glyphs.h: Reindent backslash.
15829 2000-01-24 Martin Buchholz <martin@xemacs.org>
15831 * glyphs-widget.c (layout_query_geometry):
15832 (layout_layout): Use correct types for gheight, gwidth.
15834 2000-01-24 Martin Buchholz <martin@xemacs.org>
15836 * EmacsManager.c (QueryGeometry): Purified.
15838 2000-01-23 Martin Buchholz <martin@xemacs.org>
15840 * alloc.c (make_float): Make sure entire object is initialized, to
15841 avoid Purify warnings.
15842 (pdump_register_sub): Remove useless assignment.
15843 (pdump): Use xmalloc, not malloc.
15844 (pdump_load): Use xmalloc, not malloc.
15846 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15853 * sysdep.c: Removed redundant #include <windows.h>
15855 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15857 * frame.c (delete_frame_internal): Do not delete device when its
15858 implementation so declares.
15859 (delete_frame_internal): Set device selected frame to nil when
15860 last frame goes away.
15862 * device-msw.c (msprinter_device_system_metrics): Implemented.
15863 (mswindows_device_system_metrics): Added 'device-dpi property.
15865 * device.c: (Fdevice_printer_p): Added.
15866 Added 'offset-workspace device metric.
15868 * console.h (device_metrics): Declared DM_offset_workspace.
15870 2000-01-23 Martin Buchholz <martin@xemacs.org>
15872 * fileio.c (Ffile_truename): Remove pointless and confusing
15873 initialization of elen.
15875 * glyphs-widget.c: Compiler warning fixes.
15877 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15879 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15880 instead of a Lisp_Object as argument to make it consistent with
15881 the other LIVE_P macros.
15882 (CHECK_LIVE_PROCESS): New macro.
15884 * process.c: Declare Qprocess_live_p.
15885 (Fprocess_live_p): New function.
15886 (create_process): Use PROCESS_LIVE_P.
15887 (read_process_output): Ditto.
15888 (set_process_filter): Ditto.
15889 (Fdelete_process): Ditto.
15890 (kill_buffer_processes): Ditto
15891 (process_send_signal): Use CHECK_LIVE_PROCESS.
15892 (Fprocess_input_coding_system): Check whether process is still
15893 alive (fix PR#1061).
15894 (Fprocess_output_coding_system): Ditto.
15895 (Fprocess_coding_system): Ditto.
15896 (Fset_process_input_coding_system): Ditto.
15897 (Fset_process_output_coding_system): Ditto.
15899 2000-01-23 Andy Piper <andy@xemacs.org>
15901 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15904 * glyphs.c (mark_image_instance): take into account changed
15905 image_instance format.
15906 (image_instance_equal): ditto.
15907 (image_instance_hash): ditto.
15909 * glyphs-widget.c (widget_instantiate): Incorporate layout
15910 instantiation here. Delay layout of the layout until later.
15911 (layout_instantiate): deleted.
15912 (layout_query_geometry): new function. get the geometry of a
15914 (layout_layout): layout a layout dynamically.
15915 (image_instantiator_widget): New function - splitting up
15916 image_instantiator_format_create_glyphs_widget for netwinder
15918 (image_instantiator_buttons):
15919 (image_instantiator_edit_fields):
15920 (image_instantiator_combo_box):
15921 (image_instantiator_scrollbar):
15922 (image_instantiator_progress_guage):
15923 (image_instantiator_tree_view):
15924 (image_instantiator_tab_control):
15925 (image_instantiator_labels):
15926 (image_instantiator_layout): ditto.
15927 (image_instantiator_format_create_glyphs_widget): Call preceding
15930 2000-01-22 Martin Buchholz <martin@xemacs.org>
15932 * process.c (Fset_process_coding_system):
15933 * device-x.c (Fx_keysym_hash_table):
15936 * lstream.c (Lstream_write): Return documented value, not 0.
15938 * fileio.c (directory_file_name):
15939 (Fsubstitute_in_file_name):
15940 (Fsubstitute_insert_file_contents_internal):
15941 (Fwrite_region_internal):
15946 Remove vestigial APOLLO-conditional code.
15948 2000-01-21 Martin Buchholz <martin@xemacs.org>
15950 * getpagesize.h: Add guard macros.
15951 * libsst.h: Add guard macros.
15952 * libst.h: Add guard macros.
15953 * line-number.h: Add guard macros.
15954 * ndir.h: Add guard macros.
15955 * sysfloat.h: Add guard macros.
15956 * sysfile.h: Add guard macros.
15957 * sysproc.h: Add guard macros.
15958 * syswait.h: Add guard macros.
15959 * xintrinsic.h: Add guard macros.
15960 * xintrinsicp.h: Add guard macros.
15961 * xmmanager.h: Add guard macros.
15962 * xmmanagerp.h: Add guard macros.
15963 * xmprimitive.h: Add guard macros.
15964 * xmu.h: Add guard macros.
15965 * gpmevent.h: Add copyright statement. Add guard macros.
15966 * miscplay.h: Add guard macros.
15967 * *.h: Use consistent C-standards-approved guard macro names.
15969 * opaque.c (make_opaque): Switch parameter order.
15970 * opaque.h (make_opaque): Switch parameter order.
15971 Update all callers.
15972 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15974 * config.h.in (type_checking_assert): Added.
15975 (bufpos_checking_assert): Added.
15977 2000-01-21 Martin Buchholz <martin@xemacs.org>
15979 * alloc.c: Harmless pdump changes.
15981 - spell alignment correctly.
15982 * sysdep.c: Use countof()
15984 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15986 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15987 initially_selected_for_input() console method, default to 0.
15988 (semi_canonicalize_console_connection): Try to delegate to
15989 canonicalize_console_connection if no such console method.
15990 (canonicalize_console_connection): Vice versa.
15991 (print_console): Do not print nil connection.
15993 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15994 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15995 (XDEVIMPF_FRAMELESS_OK): Added.
15996 (CONSOLE_INHERITS_METHOD): Added.
15998 * console-msw.c (mswindows_canonicalize_console_connection):
16000 (mswindows_canonicalize_device_connection): Added.
16002 * console-msw.h (struct msprinter_device): Added this struct and
16004 (mswindows_device): Made fontlist a lisp object.
16006 * device.c (semi_canonicalize_device_connection): Try to delegate
16007 to canonicalize_device_connection if no such console method.
16008 (canonicalize_device_connection): Vice versa.
16009 (print_device): Do not print nil connection.
16011 * device-msw.c (mswindows_init_device): Call InitCommonControls
16013 (mswindows_delete_device): Removed fontlist deallocation.
16014 (mswindows_mark_device): Added.
16016 * events.c (event_equal): Added abort() at unreached code.
16017 (event_hash): Ditto.
16019 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16020 fallback tags of Windows devices.
16022 * general.c (syms_of_general): Initialized Qmsprinter.
16024 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16025 of fallback tags of Windows devices.
16027 * lisp.h: Declared Qmsprinter.
16029 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16031 (mswindows_list_fonts): Ditto.
16032 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16033 that it can be used by both mswindows and msprinter devices.
16034 (initialize_font_instance): Added.
16035 (mswindows_initialize_font_instance): Use it.
16036 (msprinter_initialize_font_instance): Added.
16038 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16039 and implementation flags check.
16040 (redisplay_without_hooks): Changed the call to the above.
16041 (Fredraw_device): Ditto.
16042 (Fredisplay_device): Ditto.
16044 * redisplay-msw.c (get_frame_dc): Implemented.
16045 (get_frame_compdc): Implemented.
16046 (many functions): Use the two functions above to get device
16047 contexts, ether for a window or a printer.
16049 2000-01-21 Olivier Galibert <galibert@pobox.com>
16051 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16052 initialization here.
16053 (init_symbols_once_early): Call it.
16054 * emacs.c (main_1): Call it.
16055 * symsinit.h: Declare it.
16057 2000-01-19 Olivier Galibert <galibert@pobox.com>
16059 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16061 (pdump_backtrace): Ditto.
16062 (pdump_register_object): Ditto. Cleanup use of the pointers.
16063 (pdump_get_entry): Abort if trying to register a null pointer.
16064 (pdump_dump_data): Cleanup types when relocating.
16065 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16066 (pdump_dump_rtables): Remove bad casts.
16067 (pdump_load): Cleanup relocation w.r.t union type. Use a
16068 Lisp_Object instead of a EMACS_INT for the hashtable
16071 2000-01-20 Martin Buchholz <martin@xemacs.org>
16073 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16075 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16077 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16079 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16081 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16083 * faces.h (FACE_STRIKETHRU_P): Added.
16085 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16088 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16089 (mswindows_set_dc_font): New function, aware of font variants,
16090 separated from mswindows_update_dc.
16092 * objects-msw.h (struct mswindows_font_instance_data): Added
16095 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16096 cached fonts and the data structure.
16097 (mswindows_initialize_font_instance): Added creation of font data
16099 (mswindows_print_font_instance): Print at least something.
16100 (mswindows_create_font_variant): Implemented.
16101 (mswindows_get_hfont): Implemented.
16103 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16105 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16106 prototyping problem with msvc.
16108 * emacs.c (main_1): added syms_of_gui_mswindows() call
16110 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16111 syms_of_gui_mswindows() function
16113 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16115 2000-01-18 Martin Buchholz <martin@xemacs.org>
16117 * XEmacs 21.2.27 is released.
16119 2000-01-18 Martin Buchholz <martin@xemacs.org>
16121 * glyphs-eimage.c (struct tiff_error_struct):
16123 (tiff_warning_func):
16124 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16129 * unexec.c: Remove vestigial Lucid C code.
16133 * libsst.c: Ansify.
16134 Remove declarations of errno and strerror().
16136 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16138 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16140 2000-01-16 Martin Buchholz <martin@xemacs.org>
16142 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16145 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16150 Change enum eol_type to eol_type_t.
16152 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16154 * gui.c (get_gui_callback): Check cons before accessing car.
16156 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16158 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16159 (XSETSPECIFIER_TYPE): Ditto.
16161 2000-01-17 Didier Verna <didier@xemacs.org>
16163 * redisplay.c (generate_fstring_runes): compute string size in
16164 characters, not bytes.
16166 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16168 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16170 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16172 * print.c (print_error_message): Call print_prepare().
16174 2000-01-14 Martin Buchholz <martin@xemacs.org>
16176 * .dbxrc: Renamed from dbxrc.
16178 * events.c (event_to_character):
16179 Use `assert (foo)' instead of `if (!foo) abort()'
16181 * .gdbinit (xtype): Add documentation.
16182 * .gdbinit (check-temacs): New function.
16183 * .gdbinit (check-xemacs): New function.
16184 * dbxrc (check-xemacs): New function.
16185 * dbxrc (check-xemacs): New function.
16187 2000-01-14 Andy Piper <andy@xemacs.org>
16189 * glyphs-widget.c (widget_query_geometry): Make sure that we
16190 calculate default dimensions correctly.
16192 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16194 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16196 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16197 pdump_wire'd variable.
16199 * emacs.c: (main_1): Conditionalized calls to
16200 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16202 2000-01-13 Martin Buchholz <martin@xemacs.org>
16204 * window.c (Fset_window_configuration):
16205 * sysdep.c (_start):
16206 * input-method-motif.c (res):
16207 * event-Xt.c (Xt_process_to_emacs_event):
16208 Simple compiler warning fixes.
16210 * bytecode.c (funcall_compiled_function): Use the original
16211 function symbol on the backtrace list in preference to the
16212 compiled_function object in error messages.
16214 2000-01-13 Andy Piper <andy@xemacs.org>
16216 * glyphs-x.c (update_widget_face): Make sure we update the widget
16217 background as well as foreground.
16219 2000-01-13 Andy Piper <andy@xemacs.org>
16221 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16222 fields to subwindow.
16223 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16224 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16225 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16226 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16228 * glyphs-widget.c (check_valid_tab_orientation): new function.
16229 (initialize_widget_image_instance): zero orientation and
16231 (widget_instantiate): pick up orientation.
16232 (tab_control_query_geometry): return appropriate values for
16235 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16236 appropriate creation flags for left, right and bottom tabs.
16238 * s/cygwin32.h: add tab definitions.
16240 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16242 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16243 frame upon hiding a subwindow.
16244 (mswindows_button_instantiate): Changed the push button style to
16246 (mswindows_button_instantiate): Removed button BS_NOTIFY
16248 (mswindows_button_instantiate): Removed redundant check for
16249 a disabled gui item.
16250 (mswindows_button_instantiate): Made use of WS_TABSTOP
16251 consistent: "operable" controls (edit, button, tree, scroll) have
16252 this style, "display-only" ones (static, progress gauge) do
16253 not. This style is currently ignored by XEmacs though. Also,
16254 removed the WS_EX_CONTROLPARENT style - it is not for children,
16255 it is for their parents!
16256 (mswindows_edit_field_instantiate): Ditto.
16257 (mswindows_progress_gauge_instantiate): Ditto.
16258 (mswindows_tree_view_instantiate): Ditto.
16259 (mswindows_tab_control_instantiate): Ditto.
16260 (mswindows_scrollbar_instantiate): Ditto.
16261 (mswindows_combo_box_instantiate): Ditto.
16262 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16263 style to the "clip" window.
16264 (mswindows_button_instantiate): Removed compilation warning by
16265 equally typing terms of the ?: operator.
16267 2000-01-12 Didier Verna <didier@xemacs.org>
16269 * redisplay.c (generate_fstring_runes): new parameter holding the
16270 last modeline-format extent.
16271 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16272 extent, fill the glyph block with it.
16273 (generate_fstring_runes): handle these parameters.
16274 (generate_formatted_string_db): ditto.
16276 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16277 glyphs'extents in the modeline.
16279 1999-01-11 Mike Woolley <mike@bulsara.com>
16281 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16282 256Mb, as a workaround for the non-starting problem many people
16285 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16287 * console-tty.c (Fset_console_tty_output_coding_system):
16288 Force redrawing tty frame.
16290 2000-01-10 Didier Verna <didier@xemacs.org>
16292 * redisplay.c (generate_fstring_runes): fix size computation bug.
16294 2000-01-09 William M. Perry <wmperry@aventail.com>
16296 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16298 2000-01-09 Andy Piper <andy@xemacs.org>
16300 * glyphs-msw.c: index -> i to avoid shadows.
16301 (xbm_create_bitmap_from_data): make static.
16302 (check_valid_string_or_int): deleted.
16303 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16305 * glyphs-x.c (x_update_subwindow): remove unused args.
16307 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16308 back pointer - this is done in allocate_image_instance.
16309 (query_string_font): return Qnil to make the compiler happy.
16310 (unmap_subwindow): set to ~0 to make the compiler happy.
16311 (glyph_query_geometry): comment out until used.
16312 (glyph_layout): ditto.
16314 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16316 * insdel.c (signal_after_change): Remove extraneous unbind_to().