1 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Q_component): New variable.
4 (Q_component_of): Likewise.
5 (Fput_char_attribute): Convert char-refs in value of
6 `{->|<-}ideographic-component-forms' to characters and put reverse
8 (syms_of_chartab): Add new symbols
9 `{->|<-}ideographic-component-forms'.
11 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
13 * chartab.c (Q_identical): New variable.
14 (Q_identical_from): New variable.
15 (Fchar_feature): Regard `->identical' as a feature to find
17 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
18 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
19 for `{->|<-}identical'.
20 (syms_of_chartab): Add new symbols `{->|<-}identical'.
22 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * char-ucs.h (encode_char_2): New inline function.
25 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
27 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * chartab.c (Fput_char_attribute): Convert char-specs to
30 characters in value of `ideographic-structure'.
31 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
32 for `{<-|->}simplified(@...)'.
33 (Fdefine_char): bTry to use predefined character's id.
35 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
37 * fns.c (simplify_char_spec): Try to convert builtin chars to
40 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
42 * chartab.c (Fput_char_attribute): Convert char-refs in value of
43 `<-simplified[^*]*' to characters and put reverse links.
45 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
47 * chartab.c (Q_subsumptive): Renamed from Q_unified.
48 (Q_subsumptive_from): Renamed from Q_unified_from.
49 (Fchar_feature): Use `Q_subsumptive_from' instead of
51 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
53 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
54 `<-unified' to `<-subsumptive'.
56 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
59 inheritance itself; fix typo; stop recursive search if cyclic
62 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
64 * chartab.c (Q_denotational): New variable.
65 (Q_denotational_from): New variable.
66 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
67 (put_char_attribute): New function.
68 (Fput_char_attribute): Use `put_char_attribute'; regard
69 `->denotational' and `<-denotational' as same as `->unified' and
71 (syms_of_chartab): Add new symbols `->denotational' and
74 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
76 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
77 `Fget_char_attribute'.
78 (Fchar_variants): Likewise.
79 (get_char_table): Likewise.
80 (Fchar_feature): New function.
81 (put_char_composition): Use `Fchar_feature' instead of
82 `Fget_char_attribute'.
83 (Fput_char_attribute): Likewise; don't put the target character
84 into its `->unified' value.
85 (syms_of_chartab): Add new builtin function `char-feature'.
87 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
89 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
90 `Fget_char_attribute'.
91 (char_encode_utf8): Likewise.
93 * chartab.h: Add an EXFUN for `Fchar_feature'.
95 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
97 * chartab.c (Vnext_defined_char_id): New variable.
98 (Fput_char_attribute): Accept characters in `->unified'.
99 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
100 new characters which are not related with builtin char-id ranges.
101 (vars_of_chartab): Add new variable `next-defined-char-id'.
103 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
105 * chartab.c (Q_unified): New variable.
106 (Q_unified_from): New variable.
107 (Fput_char_attribute): Add code for `->unified'.
108 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
111 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * mule-charset.c (decode_ccs_conversion): New function.
114 (decode_defined_char): Use `decode_ccs_conversion'.
115 (decode_builtin_char): Likewise.
117 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
119 * char-ucs.h: Change some charset-ids of private coded-charsets.
121 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
123 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
124 (char_encode_as_entity_reference): Likewise.
125 (decode_coding_big5): Modify for `decode_defined_char' and
127 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
128 avoid compiler warning.
129 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
131 * mule-charset.c (decode_defined_char): Add new argument
132 `without_inheritance'.
133 (Fdecode_char): Add new optional argument `without_inheritance'.
134 (Fdecode_builtin_char): Modify for `Fdecode_char'.
136 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
137 (simplify_char_spec): Likewise.
139 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
142 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
143 (map_char_table): Likewise.
144 (Fdefine_char): Use `Fdecode_char' without inheritance.
145 (Ffind_char): Modify for `Fdecode_char'.
147 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
149 * char-ucs.h (decode_defined_char): Add new argument
150 `without_inheritance'.
151 (DECODE_CHAR): Likewise.
152 (MAKE_CHAR): Modify for `DECODE_CHAR'.
154 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * chartab.c (Vchise_system_db_directory): New variable.
157 (vars_of_chartab): Add new variable `chise-system-db-directory'.
159 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
161 * chartab.c: EXFUN `Fmount_char_attribute_table'.
162 (print_chartab_range): Don't define when `UTF2000' is defined.
163 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
166 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
169 and optional argument `rehash' is specified, call
170 `open_chise_data_source_maybe' before
171 `chise_ds_foreach_char_feature_name' is called.
173 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
175 * chartab.c (char_attribute_list_reset_map_func): New function
176 when HAVE_LIBCHISE is defined.
177 (Fchar_attribute_list): Add new optional argument `rehash' when
178 HAVE_LIBCHISE is defined.
179 (open_chise_data_source_maybe): Use "chise-db" instead of
181 (char_attribute_system_db_file): Likewise.
182 (Fload_char_attribute_table): Use
183 `chise_feature_foreach_char_with_value' instead of
184 `chise_char_feature_value_iterate'.
186 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * chartab.c (Vchise_db_directory): New variable.
189 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
191 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
194 instead of HAVE_CHISE to specify using with libchise.
196 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
198 * chartab.h: Don't use HAVE_CHISE_CLIENT.
200 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
201 defined or HAVE_LIBCHISE_LIBCHISE is defined.
202 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
204 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
205 HAVE_CHISE to specify using with libchise.
206 (syms_of_chartab): Don't define symbol `system-char-id' when
207 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
209 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
211 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
212 specify CHISE DB support.
213 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
214 of `char_attribute_system_db_file' to check feature DB file.
216 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
217 HAVE_CHISE_CLIENT to specify CHISE DB support.
219 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
220 specify CHISE DB support.
221 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
223 (Freset_char_attribute_table): Use `chise_feature_setup_db'
224 instead of `char_attribute_system_db_file' to check feature DB
227 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
229 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
232 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
235 (Fsave_charset_mapping_table): Don't use
236 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
238 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
239 (HAVE_LIBCHISE): New macro.
241 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
243 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
244 (Fsave_char_attribute_table): Don't use
245 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
247 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
249 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
251 (save_uint16_byte_table): Likewise.
252 (save_byte_table): Likewise.
253 (char_table_get_db): Use `chise_ds_load_char_feature_value'
254 instead of `chise_char_load_feature_value'.
255 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
257 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * chartab.h (struct Lisp_Char_Table): Delete member
260 `feature_table' if CHISE is defined.
262 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
263 (Fcopy_char_table): Likewise.
264 (char_table_open_db_maybe): Likewise.
265 (char_table_close_db_maybe): Likewise.
266 (char_table_get_db): Likewise.
267 (Fmount_char_attribute_table): Likewise.
268 (Fload_char_attribute_table): Likewise.
270 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * mule-charset.c (load_char_decoding_entry_maybe): Use
273 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
276 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
279 instead of `chise_open_data_source'.
280 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
283 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
286 instead of `chise_ds_open_feature_table'.
287 (char_table_close_db_maybe): Don't use `chise_ft_close'.
289 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
291 * mule-charset.c (Fsave_charset_mapping_table): Use
292 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
293 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
294 `chise_ccs_sync' instead of `chise_ccst_close'.
295 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
297 * chartab.c (open_chise_data_source_maybe): Modify for
298 `chise_open_data_source'.
299 (char_table_open_db_maybe): Modify for
300 `chise_ds_open_feature_table'.
302 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
304 * mule-charset.c (load_char_decoding_entry_maybe): Use
305 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
308 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
310 * mule-charset.c (Fsave_charset_mapping_table): Use
311 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
312 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
313 `chise_dt_put_char' and `chise_dt_close'.
314 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
315 `chise_ccs_decode' and `chise_ccst_close' instead of
316 `chise_ds_open_decoding_table', `chise_dt_get_char' and
319 * chartab.c (char_table_get_db): Use
320 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
321 (load_char_attribute_table_map_func): Modify for
322 `chise_char_feature_value_iterate'.
323 (Fload_char_attribute_table): Use
324 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
326 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
328 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
330 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
332 * chartab.c (put_char_table): Modify for inherited coded-charsets
335 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
337 * chartab.c (Fput_char_table_map_function): Fixed.
338 (word_boundary_p): Don't check charset in XEmacs CHISE.
340 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
342 * mule-charset.c (Fsave_charset_mapping_table): Use
343 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
344 instead of `chise_open_decoding_table'; refer
345 `default_chise_data_source'; use `chise_dt_close' instead of
346 `chise_close_decoding_table'.
347 (load_char_decoding_entry_maybe): Likewise.
349 * chartab.c (default_chise_data_source): New variable when `CHISE'
351 (Fcopy_char_table): `ct->ds' is deleted.
352 (open_chise_data_source_maybe): New function.
353 (Fclose_char_data_source): New function.
354 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
355 use `chise_ds_open_feature_table' instead of
356 `chise_open_feature_table'.
357 (char_table_close_db_maybe): Use `chise_ft_close' instead of
358 `chise_close_feature_table'; `cit->ds' is deleted.
359 (syms_of_chartab): Add new builtin function
360 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
362 * chartab.h (default_chise_data_source): New extern variable.
363 (open_chise_data_source_maybe): New prototype.
364 (struct Lisp_Char_Table): Delete `ds'.
366 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
368 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
371 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
373 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
374 not defined; add code for non-libchise setting.
375 (char_table_close_db_maybe): Likewise.
376 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
378 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
379 even if `CHISE' is not defined.
380 (Freset_char_attribute_table): Likewise.
381 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
382 `char_table_close_db_maybe' even if `CHISE' is not defined; use
384 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
385 `char_table_close_db_maybe' even if `CHISE' is not defined.
387 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
389 * chartab.c (char_table_open_db_maybe): New function.
390 (char_table_close_db_maybe): New function.
391 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
392 (Freset_char_attribute_table): Likewise.
393 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
394 `char_table_close_db_maybe'.
395 (Fload_char_attribute_table): Likewise.
397 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
399 * chartab.c: Don't include <chise.h> because it is included in
401 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
403 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
405 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
407 (Fclose_char_attribute_table): Close `ct->feature_table' and
408 `ct->ds' when `CHISE' is defined.
409 (Freset_char_attribute_table): Likewise.
410 (load_char_attribute_maybe): Use `cit->ds' and
411 `cit->feature_table' when `CHISE' is defined.
412 (Fload_char_attribute_table): Likewise.
414 * chartab.h: Include <chise.h> when `CHISE' is defined.
415 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
416 when `CHISE' is defined.
418 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
420 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
422 (char_table_description): Likewise.
423 (Fmake_char_table): Likewise.
424 (Fcopy_char_table): Likewise.
425 (Fmount_char_attribute_table): Likewise.
426 (Fclose_char_attribute_table): Likewise.
427 (Freset_char_attribute_table): Likewise.
428 (load_char_attribute_maybe): Likewise.
429 (Fload_char_attribute_table): Likewise.
431 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
434 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
436 * chartab.c (load_char_attribute_table_map_func): New function
437 when CHISE is defined.
438 (Qload_char_attribute_table_map_function): Don't define when CHISE
440 (Fload_char_attribute_table_map_function): Likewise.
441 (Fload_char_attribute_table): Use libchise when `CHISE' is
443 (syms_of_chartab): Don't define
444 `load-char-attribute-table-map-function' when CHISE is defined.
446 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
448 * chartab.c: Include <chise.h> when `CHISE' is defined.
449 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
451 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * mule-charset.c (charset_code_point): Fix problem when searching
454 in mother CCS fails with `defined_only' mode.
456 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
458 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
459 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
460 (put_char_composition): Likewise.
461 (Fput_char_attribute): Likewise.
462 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
464 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
466 * chartab.c (Q_ucs): Deleted.
467 (Fput_char_attribute): Don't refer `->ucs'.
468 (Fdefine_char): Likewise.
469 (Ffind_char): Likewise.
470 (syms_of_chartab): Delete `->ucs'.
472 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
474 * mule-charset.c (Qmap_cns11643_2): Renamed from
475 `Qchinese_cns11643_2'.
476 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
477 `chinese-cns11643-2'.
478 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
481 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
483 * mule-charset.c (Qmap_cns11643_1): Renamed from
484 `Qchinese_cns11643_1'.
485 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
486 `chinese-cns11643-1'.
487 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
490 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
492 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
493 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
495 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
498 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
500 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
501 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
503 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
506 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
508 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
509 (syms_of_mule_charset): Add new symbol `=big5' instead of
511 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
513 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
515 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
516 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
518 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
521 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
523 * mule-charset.c (Qmap_jis_x0212): Renamed from
524 `Qjapanese_jisx0212'.
525 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
527 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
530 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
532 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
533 `Qjapanese_jisx0208'.
534 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
535 of `japanese-jisx0208'.
536 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
539 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
541 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
542 `Qjapanese_jisx0208_1978'.
543 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
544 of `japanese-jisx0208-1978'.
545 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
548 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
550 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
551 only for XEmacs CHISE.
553 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
555 * char-ucs.h: Compact non-ISO-IR charset-ids.
556 (LEADING_BYTE_UCS): Changed to -177.
557 (LEADING_BYTE_CONTROL_1): Changed to -77.
558 (LEADING_BYTE_UCS_BMP): Changed to -176.
559 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
561 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
563 * mule-charset.c (Qiso_ir): New variable.
564 (Fmake_charset): Recognise new property `iso-ir'.
565 (syms_of_mule_charset): Add new symbol `iso-ir'.
567 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
569 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
570 n to -n; charset-id of non ISO-IR sets are changed to positive
573 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
575 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
576 for &MCS-XXXXXXXX; values.
578 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
580 * mule.c (Vxemacs_chise_version): Renamed from
582 (vars_of_mule): Add new variable `xemacs-chise-version'; define
583 `utf-2000-version' as an alias for `xemacs-chise-version'.
585 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
587 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
588 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
591 * config.h.in (CHISE): New macro.
593 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
595 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
597 (Qmap_ucs): New variable.
598 (syms_of_mule_charset): Add new symbol `=ucs'.
599 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
601 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
602 (simplify_char_spec): Likewise.
604 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
606 * char-ucs.h (Qmap_ucs): New extern variable.
608 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
610 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
611 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
612 don't define it when UTF2000 is not defined.
613 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
614 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
615 when UTF2000 is not defined.
616 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
617 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
619 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
621 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
623 * mule-charset.c (Vcharset_ucs_gb): Deleted.
625 (syms_of_mule_charset): Delete `ucs-gb'.
626 (complex_vars_of_mule_charset): Likewise.
628 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
630 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
632 * mule-charset.c (Vcharset_ucs_cns): Deleted.
634 (syms_of_mule_charset): Delete `ucs-cns'.
635 (complex_vars_of_mule_charset): Likewise.
637 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
639 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
641 * mule-charset.c (Vcharset_ucs_jis): Deleted.
643 (syms_of_mule_charset): Delete `ucs-jis'.
644 (complex_vars_of_mule_charset): Likewise.
646 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
648 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
650 * mule-charset.c (Vcharset_ucs_ks): Deleted.
652 (syms_of_mule_charset): Delete `ucs-ks'.
653 (complex_vars_of_mule_charset): Likewise.
655 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
657 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
658 (Qideograph_daikanwa_2): Deleted.
659 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
660 (complex_vars_of_mule_charset): Likewise.
662 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
663 (LEADING_BYTE_DAIKANWA_1): Deleted.
664 (LEADING_BYTE_DAIKANWA_2): Deleted.
665 (MIN_CHAR_DAIKANWA): Deleted.
666 (MAX_CHAR_DAIKANWA): Deleted.
668 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
670 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
671 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
672 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
674 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
675 (Vcharset_ideograph_daikanwa): Deleted.
676 (Qideograph_hanziku_{1..12}): Deleted.
677 (Qideograph_daikanwa): Deleted.
678 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
679 Vcharset_ideograph_daikanwa.
680 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
681 `ideograph-hanziku-{1..12}'.
682 (complex_vars_of_mule_charset): Likewise.
684 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
686 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
688 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
689 (Qideograph_gt_pj_{1..11}): Deleted.
690 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
691 (complex_vars_of_mule_charset): Likewise.
693 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
695 * mule-charset.c (Vcharset_ucs_big5): Deleted.
696 (Vcharset_ideograph_gt): Deleted.
697 (Qucs_big5): Deleted.
698 (Qideograph_gt): Deleted.
699 (syms_of_mule_charset): Delete symbol `ucs-big5' and
701 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
704 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
705 (LEADING_BYTE_GT): Deleted.
706 (MIN_CHAR_GT): Deleted.
707 (MAX_CHAR_GT): Deleted.
709 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
713 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
715 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
716 (save_uint16_byte_table): Likewise.
717 (save_byte_table): Likewise; convert values by it.
718 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
719 for `ideographic-structure'.
720 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
721 as the filter for `ideographic-structure'.
723 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
725 * chartab.c (put_char_composition): New function.
726 (Fput_char_attribute): Use `put_char_composition'; use
727 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
729 * fns.c (simplify_char_spec): New function.
730 (char_ref_simplify_spec): New function.
731 (Fchar_refs_simplify_char_specs): New function.
732 (syms_of_fns): Add new builtin function
733 `char-refs-simplify-char-specs'.
735 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
737 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
738 (Qideograph_cbeta): Deleted.
739 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
740 (complex_vars_of_mule_charset): Likewise.
742 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
743 (MIN_CHAR_CBETA): Comment out.
744 (MAX_CHAR_CBETA): Likewise.
746 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
748 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
749 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
750 CHISE client feature.
752 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
754 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
756 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
758 * mule-charset.c (charset_lookup_description_1): Use
759 `NUM_LEADING_BYTES' in UTF-2000.
761 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
763 * char-ucs.h (GC_CHARSETP): Deleted.
765 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
767 * char-ucs.h (MAX_CHAR_GT): Updated.
769 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
771 * text-coding.c: Sync with XEmacs 21.4.10.
773 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
775 * mule-charset.c (Vcharset_china3_jef): Deleted.
776 (Qchina3_jef): Deleted.
777 (syms_of_mule_charset): Don't define `china3-jef'.
778 (complex_vars_of_mule_charset): Likewise.
780 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
781 (MIN_CHAR_CHINA3_JEF): Comment out.
782 (MAX_CHAR_CHINA3_JEF): Comment out.
784 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
786 * mule-charset.c (Vcharset_ucs_gb): New variable.
787 (Qucs_gb): New variable.
788 (syms_of_mule_charset): Add new symbol `ucs-gb'.
789 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
791 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
793 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
795 * mule-charset.c (charset_code_point): if a coded-charset has a
796 final-byte, don't inherit the builtin range of the mother CCS.
798 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
800 * mule-charset.c (charset_code_point): Fix problem about
803 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
805 * mule-charset.c (decode_builtin_char): Reorganized.
807 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
809 * text-coding.c (char_encode_as_entity_reference): Modify for
810 `charset_code_point'.
811 (char_encode_shift_jis): Likewise.
812 (char_encode_big5): Likewise.
813 (char_encode_utf8): Likewise.
814 (char_encode_iso2022): Likewise.
816 * mule-charset.c (charset_code_point): Add new argument
818 (Fencode_char): Add new optional argument `defined_only'.
820 * chartab.c (put_char_table): Modify for `charset_code_point'.
822 * char-ucs.h (charset_code_point): Add new argument
824 (encode_char_1): Modify for `charset_code_point'.
826 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
828 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
829 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
831 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
833 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
834 (Qjis_x0208): Likewise.
835 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
836 XCHARSET_FINAL(charset).
837 (charset_code_point): Modify condition for final-byte based
839 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
840 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
841 in UTF-2000; specify `=jis-x0208' as the mother of
842 `japanese-jisx0208-1978', `japanese-jisx0208' and
843 `japanese-jisx0208-1990' in UTF-2000.
845 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
847 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
849 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
851 * text-coding.c (decode_coding_utf16): Support UTF-16.
852 (char_encode_utf16): Fixed.
854 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
856 * text-coding.c (Qutf16): New variable in MULE.
857 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
858 (Fcoding_system_type): Add `utf-16' in MULE.
859 (struct detection_state): Add a structure for utf16 in MULE.
860 (detect_coding_type): Setup st->utf16.mask in MULE.
861 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
863 (reset_encoding_stream): Use `char_encode_utf16' and
864 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
865 (detect_coding_utf16): New function [incomplete].
866 (decode_coding_utf16): New function [support only UCS-2].
867 (char_encode_utf16): New function.
868 (char_finish_utf16): New function.
869 (syms_of_file_coding): Add new symbol `utf-16'; setup
870 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
872 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
874 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
875 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
877 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
879 * chartab.c (put_char_table): When a charset is specified as a
880 range in UTF-2000, don't support builtin characters.
882 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
884 * mule-charset.c (decode_defined_char): Don't refer external
885 database if Qunbound or Qnil are found.
886 (Fsave_charset_mapping_table): Don't define it if
887 HAVE_CHISE_CLIENT is not defined.
888 (Freset_charset_mapping_table): New function.
889 (load_char_decoding_entry_maybe): Store Qnil if a character is not
890 found in external database.
891 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
892 if HAVE_CHISE_CLIENT is not defined; add new builtin function
893 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
895 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
897 * text-coding.c (decode_coding_utf8): Check CCS is specified or
900 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
902 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
903 Q_lowercase, Q_uppercase in UTF-2000.
905 * chartab.c (get_char_table): Add special code for the standard
906 case table to use character attribute `->downcase' and
907 `->uppercase' for case operations in UTF-2000.
909 * casetab.c (Qflippedcase): New variable in UTF-2000.
910 (Q_lowercase): Likewise.
911 (Q_uppercase): Likewise.
912 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
913 and `->uppercase' in UTF-2000.
914 (complex_vars_of_casetab): Assign attribute name `downcase' to
915 downcase and CANON table of Vstandard_case_table in UTF-2000;
916 assign attribute name `flippedcase' to upcase and EQV table of
917 Vstandard_case_table in UTF-2000.
919 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * text-coding.c (decode_add_er_char): Support isolated-chars.
922 (char_encode_as_entity_reference): Likewise.
924 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
926 * emacs.c (Vutf_2000_lisp_directory): New variable.
927 (Vconfigure_utf_2000_lisp_directory): Likewise.
928 (complex_vars_of_emacs): Add new variable
929 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
931 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
933 * char-ucs.h (DECODE_CHAR): Delete special code for
934 `chinese-big5-1' and `chinese-big5-2'.
936 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
938 (decode_defined_char): Support CONVERSION_BIG5_1 and
940 (decode_builtin_char): Likewise.
941 (charset_code_point): Likewise.
942 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
943 'conversion in UTF-2000.
944 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
945 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
946 `chinese-big5-2' as children of `chinese-big5'.
948 * char-ucs.h (CONVERSION_BIG5_1): New macro.
949 (CONVERSION_BIG5_2): New macro.
951 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
953 * text-coding.c (char_encode_big5): Support entity-reference.
955 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
957 * text-coding.c (char_encode_as_entity_reference): New function.
958 (char_encode_utf8): Use `char_encode_as_entity_reference'.
960 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
962 * text-coding.c (decode_coding_big5): Support entity-reference
965 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
967 * text-coding.c (allocate_coding_system): Initialize initial
968 charsets for CODESYS_UTF8.
969 (Fmake_coding_system): Accept charset-g0, charset-g1 and
970 charset-g2 for CODESYS_UTF8.
971 (decode_coding_utf8): Use charset-g0.
972 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
973 to force variants to map to UCS.
975 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
977 * text-coding.c (Qutf_8_mcs): New variable.
978 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
979 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
980 instead of `utf-8' in UTF-2000.
982 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
984 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
985 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
986 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
987 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
988 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
989 CONVERSION_96x96x96x96 are introduced.
990 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
991 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
992 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
994 * char-ucs.h (CONVERSION_94): New macro.
995 (CONVERSION_96): New macro.
996 (CONVERSION_94x94): New macro.
997 (CONVERSION_96x96): New macro.
998 (CONVERSION_94x94x94): New macro.
999 (CONVERSION_96x96x96): New macro.
1000 (CONVERSION_94x94x94x60): New macro.
1001 (CONVERSION_94x94x94x94): New macro.
1002 (CONVERSION_96x96x96x96): New macro.
1004 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1006 * chartab.c (Vcharacter_variant_table): Deleted.
1007 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1008 of `Vcharacter_variant_table'.
1009 (Fput_char_attribute): Likewise.
1010 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1011 (complex_vars_of_chartab): Likewise.
1013 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1015 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1017 * fns.c (Qideographic_structure): New variable.
1018 (Qkeyword_char): New variable.
1019 (ids_format_unit): New function.
1020 (Fideographic_structure_to_ids): New function.
1021 (syms_of_fns): Add new symbols `ideographic-structure' and
1022 `:char'; add new builtin function `ideographic-structure-to-ids'.
1024 * data.c (Fchar_ref_p): New function.
1025 (syms_of_data): Add new builtin function `char-ref-p'.
1027 * chartab.h: Add an EXFUN for `Ffind_char'.
1029 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1031 * text-coding.c (Vcharacter_composition_table): Deleted.
1032 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1035 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1037 (Vcharacter_composition_table): Deleted.
1038 (Fget_composite_char): Use the implementation for external-DB
1039 support in every UTF-2000.
1040 (Fput_char_attribute): Likewise.
1041 (char_attribute_system_db_file): Don't define if external-DB
1042 feature is not available.
1043 (Fsave_char_attribute_table): Likewise.
1044 (Fmount_char_attribute_table): Likewise.
1045 (Fclose_char_attribute_table): Likewise.
1046 (Freset_char_attribute_table): Likewise.
1047 (Fload_char_attribute_table): Likewise.
1048 (syms_of_chartab): Don't define `save-char-attribute-table',
1049 `mount-char-attribute-table', `reset-char-attribute-table',
1050 `close-char-attribute-table' and `load-char-attribute-table' if
1051 external-DB feature is not available.
1052 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1054 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1056 * text-coding.c (Qcomposition): Add extern if external-DB feature
1058 (Vcharacter_composition_table): Don't add extern if external-DB
1059 feature is supported.
1060 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1061 character composition rule if external-DB feature is supported.
1063 * chartab.c (Vcharacter_composition_table): Don't define if
1064 external-DB feature is supported.
1065 (Qcomposition): New variable.
1066 (Fget_composite_char): New implementation for external-DB support.
1067 (Fput_char_attribute): Use `composition' property of each
1068 character instead of `Vcharacter_composition_table' to store
1069 character-composition rules if external-DB feature is supported.
1070 (syms_of_chartab): Add new symbol `composition'.
1071 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1072 external-DB feature is supported.
1074 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1076 * chartab.c (Vchar_db_stingy_mode): New variable.
1077 (load_char_attribute_maybe): Close database if
1078 Vchar_db_stingy_mode is not NIL.
1079 (Fload_char_attribute_table_map_function): Use
1080 `get_char_id_table_0' instead of `get_char_id_table'.
1081 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1083 * chartab.h (get_char_id_table_0): New inline function.
1084 (get_char_id_table): Use `get_char_id_table_0'.
1086 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1088 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1089 and `COMPOSE_ADD_CHAR'.
1090 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1092 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1094 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1095 instead of `DECODE_ADD_UCS_CHAR'.
1096 (COMPOSE_ADD_CHAR): Likewise.
1098 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1100 * text-coding.c (decode_flush_er_chars): New inline function.
1101 (decode_add_er_char): New function.
1102 (decode_coding_utf8): Use `decode_flush_er_chars' and
1103 `decode_add_er_char'.
1105 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1107 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1108 done before `decode_output_utf8_partial_char'.
1110 * mule-charset.c (complex_vars_of_mule_charset): Specify
1111 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1112 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1114 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1116 * mule-charset.c (decode_defined_char): New function; search
1118 (decode_builtin_char): Don't search mother if
1119 XCHARSET_MAX_CODE(charset) == 0.
1120 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1121 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1122 (Fdecode_char): Use `decode_defined_char' instead of
1123 `DECODE_DEFINED_CHAR'.
1124 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1125 mother of `Vcharset_ucs_jis'.
1127 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1128 instead of `DECODE_DEFINED_CHAR'.
1130 * char-ucs.h (decode_defined_char): Renamed from
1131 `DECODE_DEFINED_CHAR'; changed to normal function.
1132 (DECODE_CHAR): Use `decode_defined_char' instead of
1133 `DECODE_DEFINED_CHAR'.
1135 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1137 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1139 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1141 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1143 (Quse_entity_reference): New variable.
1147 (coding_system_description): Add description for
1148 `ccs_priority_list'.
1149 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1150 (allocate_coding_system): Initialize `ccs_priority_list' in
1152 (Fmake_coding_system): Add description about
1153 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1155 (Fcoding_system_property): Accept `disable-composition' and
1156 `use-entity-reference' in UTF-2000.
1157 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1159 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1160 (decode_coding_utf8): Decode entity-reference if
1161 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1162 (char_encode_utf8): Encode non-Unicode characters as
1163 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1165 (syms_of_file_coding): Add new symbols `use-entity-reference',
1167 (vars_of_file_coding): Add new variable
1168 `coded-charset-entity-reference-alist'.
1169 (complex_vars_of_file_coding): Declare `disable-composition' and
1170 `use-entity-reference' to be coding-system-properties in UTF-2000.
1172 * file-coding.h (struct Lisp_Coding_System): Add new member
1173 `use_entity_reference' and `ccs_priority_list'.
1174 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1175 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1176 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1178 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1180 * chartab.c (save_uint8_byte_table): Don't clear the table.
1181 (save_uint16_byte_table): Likewise.
1182 (save_byte_table): Likewise.
1183 (Fmount_char_attribute_table): New function.
1184 (syms_of_chartab): Add new builtin function
1185 `mount-char-attribute-table'.
1187 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1189 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1191 (load_char_decoding_entry_maybe): Open database as read-only mode.
1193 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1194 open database as "w+" mode.
1195 (load_char_attribute_maybe): Open database as read-only mode.
1196 (Fload_char_attribute_table): Likewise.
1198 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1200 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1201 (char_table_description): Delete member `db_file'.
1202 (Fmake_char_table): Don't refer `ct->db_file'.
1203 (Fcopy_char_table): Likewise.
1204 (Fsave_char_attribute_table): Likewise.
1205 (Fclose_char_attribute_table): Likewise.
1206 (Freset_char_attribute_table): Likewise.
1207 (load_char_attribute_maybe): Likewise.
1208 (Fload_char_attribute_table): Likewise.
1210 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1212 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1214 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1215 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1217 (load_char_attribute_maybe): Likewise.
1218 (Fload_char_attribute_table): Likewise.
1220 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1222 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1223 `ct->db_file' unconditionally.
1225 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1227 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1229 (char_table_description): Add description for `db_file' and `db'
1231 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1233 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1234 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1235 (Fclose_char_attribute_table): New function.
1236 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1237 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1239 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1240 (syms_of_chartab): Add new builtin function
1241 `Fclose_char_attribute_table'.
1243 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1245 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1247 (load_char_attribute_maybe): Change interface.
1248 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1250 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1254 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1256 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1257 instead of `DECODE_CHAR' for mother; don't use special code for
1258 chinese-big5 to use code space of chinese-big5-1 and
1260 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1261 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1263 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1264 (MAX_CHAR_BIG5_CDP): Revival.
1266 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1268 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1269 the XLFD registry-encoding name of `chinese-big5'.
1271 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1273 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1274 (Qchinese_big5_cdp): Deleted.
1275 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1276 (complex_vars_of_mule_charset): Delete coded-charset
1279 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1280 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1281 `CHARSET_ID_OFFSET - n' for private CCS.
1282 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1283 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1284 of `MIN_LEADING_BYTE'.
1285 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1286 `(CHARSET_ID_OFFSET - 97)'.
1287 (MIN_CHAR_BIG5_CDP): Deleted.
1288 (MAX_CHAR_BIG5_CDP): Deleted.
1290 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1292 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1294 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1296 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1297 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1300 * chartab.c (Vutf_2000_version): Moved to mule.c.
1301 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1303 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1305 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1306 when HAVE_CHISE_CLIENT is not defined.
1308 * mule.c (vars_of_mule): Provide feature `chise' when
1309 HAVE_CHISE_CLIENT is defined.
1311 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1313 * config.h.in (UTF2000): Add comment.
1314 (HAVE_CHISE_CLIENT): New macro.
1316 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1318 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1320 (Fput_char_attribute): Likewise.
1321 (char_attribute_system_db_file): Encode file-name of attribute.
1322 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1325 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1327 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1328 (Fsave_charset_mapping_table): Use
1329 `char_attribute_system_db_file'.
1330 (load_char_decoding_entry_maybe): Likewise.
1332 * chartab.h (Qsystem_char_id): New external variable.
1333 (char_attribute_system_db_file): New prototype.
1335 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1336 (char_attribute_system_db_file): New function.
1337 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1338 (Freset_char_attribute_table): Likewise.
1339 (load_char_attribute_maybe): Likewise.
1340 (Fload_char_attribute_table): Likewise.
1341 (syms_of_chartab): Add new symbol `system-char-id'.
1343 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1345 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1346 `XCHARSET_GRAPHIC(ccs)'.
1348 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1350 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1352 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1354 * chartab.c (Q_ucs_variants): New variable.
1355 (syms_of_chartab): Add new symbol `->ucs-variants'.
1356 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1357 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1358 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1360 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1362 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1363 `HAVE_DATABASE' is defined.
1364 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1365 `HAVE_DATABASE' is defined.
1367 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1369 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1371 (Freset_char_attribute_table): New function.
1372 (syms_of_chartab): Add new builtin function
1373 `reset-char-attribute-table'.
1375 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1377 * chartab.c (load_char_attribute_maybe): Don't make directories.
1379 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1381 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1383 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1386 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1388 * mule-charset.c (Fsave_charset_mapping_table): Use
1389 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1391 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1392 instead of `XCHARSET_CHARS'.
1394 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1396 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1397 (XCHARSET_BYTE_SIZE): Likewise.
1399 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1401 (XCHARSET_BYTE_SIZE): Likewise.
1403 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1405 * chartab.c (Fput_char_attribute): Use exec-directory instead of
1406 data-directory to store database.
1407 (Fsave_char_attribute_table): Likewise.
1408 (load_char_attribute_maybe): Likewise.
1409 (Fload_char_attribute_table): Likewise.
1411 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1413 * mule-charset.c (Fsave_charset_mapping_table): New function.
1414 (syms_of_mule_charset): Add new builtin function
1415 `save-charset-mapping-table'.
1417 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1419 * char-ucs.h (decoding_table_check_elements): Delete prototype.
1420 (get_ccs_octet_table): New inline function.
1421 (put_ccs_octet_table): Likewise.
1422 (decoding_table_put_char): Use `get_ccs_octet_table' and
1423 `put_ccs_octet_table'.
1424 (decoding_table_remove_char): Use `decoding_table_put_char'.
1425 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
1427 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
1428 into encoding_table.
1429 (make_charset): Use Qunbound instead Qnil as initial value of
1432 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1434 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
1435 element is Qunloaded.
1436 (map_over_uint16_byte_table): Likewise.
1437 (map_over_byte_table): Likewise.
1438 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
1439 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
1440 database support, load encoding-table of the specified
1441 coded-charset if it is not loaded yet.
1442 (save_uint8_byte_table): New function of UTF-2000 with external
1444 (save_uint16_byte_table): Likewise.
1445 (save_byte_table): Likewise.
1446 (Fput_char_attribute): Don't store value into external database
1447 even if the external database feature is supported in UTF-2000;
1448 set `attribute' as name of char-table if the external database
1449 feature is supported.
1450 (Fsave_char_attribute_table): New function in UTF-2000.
1451 (syms_of_chartab): Add new builtin function
1452 `save-char-attribute-table' in UTF-2000.
1454 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1456 * chartab.c (char_attribute_table_to_put): New variable in
1458 (Qput_char_table_map_function): Likewise.
1459 (value_to_put): Likewise.
1460 (Fput_char_table_map_function): New function in UTF-2000.
1461 (put_char_table): Use `Fmap_char_attribute' for
1462 CHARTAB_RANGE_CHARSET in UTF-2000.
1463 (Fput_char_attribute): Store symbol instead of string in
1464 `XCHAR_TABLE_NAME (table)'.
1465 (load_char_attribute_maybe): Likewise.
1466 (syms_of_chartab): Add new symbol/function
1467 `put-char-table-map-function'.
1469 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1471 * database.h: Add new EXFUN for `Fmap_database'.
1473 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
1474 (syms_of_database): Likewise.
1476 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
1478 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
1479 (XCHAR_TABLE_UNLOADED): Likewise.
1481 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
1482 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
1483 HAVE_DATABASE is defined.
1484 (char_attribute_table_to_load): New variable of UTF-2000 with
1485 external database support.
1486 (Qload_char_attribute_table_map_function): Likewise.
1487 (Fload_char_attribute_table_map_function): New function of
1488 UTF-2000 with external database support.
1489 (Fload_char_attribute_table): New function of UTF-2000.
1490 (Fmap_char_attribute): Call Fload_char_attribute_table if
1491 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
1492 (syms_of_chartab): Add new symbol and function
1493 `load-char-attribute-table-map-function' in UTF-2000 with external
1494 database support; add new function `load-char-attribute-table' in
1497 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1499 * chartab.h (load_char_attribute_maybe): New prototype for
1500 UTF-2000 with DATABASE support.
1501 (get_char_id_table): Use `load_char_attribute_maybe' if
1502 HAVE_DATABASE is defined.
1504 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
1505 with DATABASE support.
1507 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1509 * chartab.c (Fput_char_attribute): Use S-expression as key of
1512 * chartab.h (get_char_id_table): Use S-expression as key of
1515 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1517 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
1518 if an element is not loaded, load the corresponding attributes
1519 from an external database.
1520 (map_over_uint16_byte_table): Likewise.
1521 (map_over_byte_table): Likewise.
1522 (map_char_table): Modify for `map_over_uint8_byte_table',
1523 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
1524 element is not loaded, load the corresponding attributes from an
1526 (Fput_char_attribute): Change initial values to Qunloaded.
1528 * chartab.h (get_char_id_table): If a character attribute is not
1529 loaded and the attribute value is not found in an external
1530 database, store Qunbound as the attribute value.
1532 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1534 * chartab.c (BT_UINT8_unloaded): New macro.
1535 (UINT8_VALUE_P): Accept Qunloaded.
1536 (UINT8_ENCODE): Likewise.
1537 (UINT8_DECODE): Likewise.
1538 (BT_UINT16_unloaded): New macro.
1539 (UINT16_VALUE_P): Accept Qunloaded.
1540 (UINT16_ENCODE): Likewise.
1541 (UINT16_DECODE): Likewise.
1542 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
1544 (mark_char_table): Mark `ct->name' in UTF-2000.
1545 (char_table_description): Add `name' in UTF-2000.
1546 (Fmake_char_table): Initialize `ct->name'.
1547 (Fcopy_char_table): Copy `ct->name'.
1548 (Fput_char_attribute): Store value into an external database if
1549 HAVE_DATABASE is defined.
1551 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
1553 (CHAR_TABLE_NAME): New macro in UTF-2000.
1554 (XCHAR_TABLE_NAME): New macro in UTF-2000.
1555 (get_char_id_table): Try to read an external database if Qunloaded
1556 is stored in a table.
1558 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
1561 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1563 * database.h: Add EXFUN definitions for Fopen_database,
1564 Fput_database, Fget_database and Fclose_database.
1566 * data.c (Qunloaded): New variable in UTF-2000.
1568 * lisp.h (Qunloaded): New variable in UTF-2000.
1570 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1572 * mule-charset.c (put_char_ccs_code_point): Modify for
1573 `decoding_table_remove_char' and `decoding_table_put_char'.
1574 (remove_char_ccs): Modify for `decoding_table_remove_char'.
1576 * char-ucs.h (decoding_table_remove_char): Change arguments to
1577 hide decoding_table vector.
1578 (decoding_table_put_char): Likewise.
1580 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1582 * mule-charset.c (decoding_table_remove_char): Moved to
1584 (decoding_table_put_char): Likewise.
1586 * char-ucs.h (decoding_table_check_elements): New prototype [moved
1587 from mule-charset.c].
1588 (decoding_table_remove_char): New inline function [moved from
1590 (decoding_table_put_char): Likewise.
1592 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1594 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
1597 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1599 * mule-charset.c (decode_builtin_char): Support mother charsets.
1601 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1603 * mule-charset.c (Q94x94x60): New variable.
1604 (charset_code_point): Support conversion `94x94x60'.
1605 (Fmake_charset): Likewise.
1606 (syms_of_mule_charset): Add new symbol `94x94x60'.
1608 * char-ucs.h (CONVERSION_94x94x60): New macro.
1610 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1612 * mule-charset.c (charset_code_point): Unify code about
1615 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1617 * mule-charset.c (charset_code_point): Merge code about builtin
1618 characters into code about mother charsets; don't use
1619 `range_charset_code_point'.
1620 (range_charset_code_point): Deleted.
1622 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1624 * mule-charset.c (Qcode_offset): New variable.
1625 (Fmake_charset): Use `XUINT' to get value of `min-code' and
1626 `max-code'; accept new property `code-offset'.
1627 (syms_of_mule_charset): Add new symbol `code-offset'.
1629 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1631 * mule-charset.c (range_charset_code_point): Fixed.
1633 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1635 * mule-charset.c (decode_builtin_char): Change semantics of
1636 code-offset of coded-charset.
1637 (charset_code_point): Likewise.
1638 (range_charset_code_point): Likewise.
1639 (complex_vars_of_mule_charset): Modify for the change.
1641 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1643 * mule-charset.c (Fencode_char): Reverse arguments.
1645 * mule-charset.c (charset_code_point): Fixed.
1647 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1649 * mule-charset.c (Vcharset_mojikyo): Deleted.
1650 (Vcharset_mojikyo_2022_1): Deleted.
1651 (Vcharset_mojikyo_pj_{1..21}): Deleted.
1652 (Qmin_code): New variable in UTF-2000.
1653 (Qmax_code): Likewise.
1654 (Qmother): Likewise.
1655 (Qconversion): Likewise.
1657 (Qmojikyo): Deleted.
1658 (Qmojikyo_2022_1): Deleted.
1659 (Qmojikyo_pj_{1..22}): Deleted.
1660 (mark_charset): Mark `cs->mother'.
1661 (charset_description): Add description for `mother'.
1662 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
1663 new arguments `mother' and `conversion'; use
1664 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
1665 (charset_code_point): Moved from char-ucs.h; support `mother'
1667 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
1668 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
1669 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
1670 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
1671 allow 2 as the value of `graphic' in UTF-2000; add new properties
1672 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
1673 require `final' in UTF-2000; modify for `make_charset'.
1674 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
1675 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
1676 (Fcharset_property): Support `mother', `min-code' and `max-code'.
1677 (Fencode_char): New function.
1678 (syms_of_mule_charset): Add new builtin function `encode-char' in
1679 UTF-2000; add new symbols `min-code', `max-code', `mother',
1680 `conversion' and `94x60'; delete symbols `mojikyo',
1681 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
1682 (complex_vars_of_mule_charset): Modify for `make_charset' change;
1683 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
1684 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
1686 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
1687 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
1689 * char-ucs.h (Vcharset_mojikyo): Deleted.
1690 (Vcharset_mojikyo_2022_1): Deleted.
1691 (LEADING_BYTE_MOJIKYO): Deleted.
1692 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
1693 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
1694 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
1695 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
1696 add new member `mother'; add new member `conversion'.
1697 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
1698 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
1699 (CHARSET_MOTHER): New macro.
1700 (CHARSET_CONVERSION): New macro.
1701 (CONVERSION_IDENTICAL): New macro.
1702 (CONVERSION_94x60): New macro.
1703 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
1704 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
1705 (XCHARSET_MOTHER): New macro.
1706 (XCHARSET_CONVERSION): New macro.
1707 (MIN_CHAR_MOJIKYO): Deleted.
1708 (MAX_CHAR_MOJIKYO): Deleted.
1709 (DECODE_MOJIKYO_2022): Deleted.
1710 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
1711 (charset_code_point): Changed to non-inline function.
1712 (encode_char_1): Use `charset_code_point'.
1713 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
1715 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1717 * lread.c (read_compiled_function): Fix prototype.
1718 (read_vector): Likewise.
1720 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1722 * lrecord.h (struct lrecord_header): Delete `older'.
1723 (set_lheader_implementation): Delete code for `older'.
1724 (set_lheader_older_implementation): Deleted.
1725 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
1726 (OLDER_RECORD_P): Deleted.
1727 (OLDER_RECORD_HEADER_P): Deleted.
1728 (alloc_older_lcrecord): Deleted.
1729 (alloc_older_lcrecord_type): Deleted.
1731 * alloc.c (all_older_lcrecords): Deleted.
1732 (alloc_older_lcrecord): Deleted.
1733 (disksave_object_finalization_1): Delete code for older objects.
1734 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
1735 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
1737 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1739 * mule-charset.c (decoding_table_put_char): Use `make_vector'
1740 instead of `make_older_vector'.
1741 (put_char_ccs_code_point): Likewise.
1742 (mark_charset): Mark `cs->decoding_table'.
1743 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
1745 * lisp.h (make_older_vector): Deleted.
1746 (make_vector_newer): Deleted.
1748 * config.h.in (HAVE_GGC): Deleted.
1750 * alloc.c (make_older_vector): Deleted.
1751 (make_vector_newer_1): Deleted.
1752 (make_vector_newer): Deleted.
1754 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1756 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
1757 (Qideograph_daikanwa_2): New variable.
1758 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
1759 (complex_vars_of_mule_charset): Add new coded-charset
1760 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
1761 `LEADING_BYTE_DAIKANWA'.
1763 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
1764 (LEADING_BYTE_DAIKANWA_1): New macro.
1765 (LEADING_BYTE_DAIKANWA_2): New macro.
1766 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
1768 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1770 * mule-charset.c (complex_vars_of_mule_charset): Change
1771 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
1772 the second revised version.
1774 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1776 * mule-charset.c (Vcharset_ucs_smp): New variable.
1777 (Vcharset_ucs_sip): New variable.
1778 (Qucs_smp): New variable.
1779 (Qucs_sip): New variable.
1780 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
1781 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
1782 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
1783 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
1784 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
1785 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
1787 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
1788 (LEADING_BYTE_UCS_SIP): New macro.
1789 (MIN_CHAR_SMP): New macro.
1790 (MAX_CHAR_SMP): New macro.
1791 (MIN_CHAR_SIP): New macro.
1792 (MAX_CHAR_SIP): New macro.
1794 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
1796 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
1799 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1801 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
1802 value; don't store value into `encoding_table' of `Lisp_Charset'.
1803 (mark_charset): `encoding_table' was deleted.
1804 (charset_description): Likewise.
1805 (make_charset): Likewise.
1806 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
1807 `put_char_ccs_code_point'.
1809 * chartab.h (Fput_char_attribute): New EXFUN.
1811 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
1812 is unified with normal symbol space.
1813 (Fget_char_attribute): Likewise.
1814 (Fput_char_attribute): Likewise; behavior of
1815 `put_char_ccs_code_point' is changed.
1817 * char-ucs.h: Include "elhash.h".
1818 (Vchar_attribute_hash_table): New external variable.
1819 (struct Lisp_Charset): Delete `encoding_table'.
1820 (CHARSET_ENCODING_TABLE): New implementation; refer
1821 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
1824 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1826 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
1829 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1831 * text-coding.c (char_encode_big5): Prefer charset-g1 than
1834 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1836 * chartab.c (uint8_byte_table_description): New constant.
1837 (uint8-byte-table): Use `uint8_byte_table_description'.
1838 (uint16_byte_table_description): New constant.
1839 (uint16-byte-table): Use `uint16_byte_table_description'.
1841 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1843 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
1844 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
1846 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1848 * mule-charset.c (Vcharset_ucs_ks): New variable.
1849 (Qucs_ks): New variable.
1850 (syms_of_mule_charset): Add new symbol `ucs-ks'.
1851 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
1853 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
1855 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1857 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
1858 (Fdecode_char): Likewise.
1860 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
1862 (Fdefine_char): Modify for Fdecode_char.
1863 (Ffind_char): Likewise.
1865 * mule-charset.c (Fdecode_char): Add new optional argument
1867 (Fdecode_builtin_char): Modify for `Fdecode_char'.
1869 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1871 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
1872 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
1873 (allocate_coding_system): Initialize initial-charsets of
1874 CODESYS_BIG5 in XEmacs UTF-2000.
1875 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
1876 CODESYS_BIG5 in XEmacs UTF-2000.
1877 (decode_coding_big5): Use initial-charset-g0 and -g1 of
1878 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
1880 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
1882 (Qideograph_hanziku_{1 .. 12}): Likewise.
1883 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
1885 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
1886 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
1887 `ideograph-hanziku-{1 .. 12}'.
1889 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
1890 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
1891 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
1892 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
1893 (DECODE_DEFINED_CHAR): New inline function.
1894 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
1896 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1898 * mule-charset.c (Vcharset_china3_jef): Renamed from
1899 `Vcharset_japanese_jef_china3'.
1900 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
1901 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
1902 `{MIN|MAX}_CHAR_JEF_CHINA3'..
1903 (syms_of_mule_charset): Rename `china3-jef' from
1904 `japanese-jef-china3'.
1905 (complex_vars_of_mule_charset): Likewise; rename
1906 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
1908 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
1909 `LEADING_BYTE_JEF_CHINA3'.
1910 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
1911 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
1913 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1915 * mule-charset.c (encode_builtin_char_1): Comment out special code
1916 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
1918 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
1919 (MAX_CHAR_MOJIKYO_0): Comment out.
1920 (MIN_CHAR_CBETA): Changed to 0x00E20000.
1921 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
1922 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
1923 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
1925 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1927 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
1928 (Qideograph_cbeta): New variable.
1929 (encode_builtin_char_1): Comment out special code for
1930 coded-charset `mojikyo' and `japanese-jef-china3'.
1931 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
1932 (complex_vars_of_mule_charset): Add new coded-charset
1935 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
1936 (MIN_CHAR_CBETA): New macro.
1937 (MAX_CHAR_CBETA): New macro.
1939 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1941 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
1942 (LEADING_BYTE_JEF_CHINA3): New macro.
1943 (MIN_CHAR_JEF_CHINA3): New macro.
1944 (MAX_CHAR_JEF_CHINA3): Likewise.
1945 (DECODE_CHAR): Fixed.
1947 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1949 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
1950 (Qjapanese_jef_china3): New variable.
1951 (encode_builtin_char_1): Support `japanese-jef-china3'.
1952 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
1953 (complex_vars_of_mule_charset): Add new coded-charset
1954 `japanese-jef-china3'.
1956 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1958 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
1959 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
1960 94^4, 96^3, 96^4, 128^n and 256^n set.
1961 (put_char_table): Use `XCHARSET_CELL_RANGE'.
1962 (map_char_table): Likewise.
1964 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1966 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
1969 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1971 * chartab.h (get_char_id_table): New inline function.
1973 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
1976 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1978 * chartab.h (decode_char_table_range): New prototype in XEmacs
1980 (put_char_id_table): New inline function in XEmacs UTF-2000.
1982 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
1984 (decode_char_table_range): Delete static declaration in XEmacs
1987 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1989 * chartab.c (put_char_id_table): Use `put_char_table'.
1991 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1993 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
1994 (map_over_uint16_byte_table): Likewise.
1995 (map_over_byte_table): Likewise.
1996 (map_char_table): Modify for `map_over_uint8_byte_table',
1997 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2000 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2002 * chartab.c (struct map_char_table_for_charset_arg): New
2004 (map_char_table_for_charset_fun): New function.
2005 (map_char_table): Use `map_char_table' for encoding_table of
2008 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2010 * chartab.c (map_char_table): Check a character is found in
2011 range->charset instead of non default value is defined in
2012 char-table when range is CHARTAB_RANGE_ROW.
2014 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2016 * chartab.c (map_char_id_table): Deleted.
2017 (Fmap_char_attribute): Use `map_char_table' instead of
2018 `map_char_id_table'.
2020 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2022 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2024 (update_syntax_table): Deleted in XEmacs UTF-2000.
2026 * syntax.c (find_defun_start): Use `syntax_table' instead of
2027 `mirror_syntax_table' in XEmacs UTF-2000.
2028 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2030 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2032 (Fmatching_paren): Likewise.
2033 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2035 (find_start_of_comment): Likewise.
2036 (find_end_of_comment): Likewise.
2037 (Fforward_comment): Likewise.
2038 (scan_lists): Likewise.
2039 (char_quoted): Likewise.
2040 (Fbackward_prefix_chars): Likewise.
2041 (scan_sexps_forward): Likewise.
2042 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2043 (update_syntax_table): Likewise.
2045 * search.c (skip_chars): Use `syntax_table' instead of
2046 `mirror_syntax_table' in XEmacs UTF-2000.
2047 (wordify): Likewise.
2048 (Freplace_match): Likewise.
2050 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2051 `mirror_syntax_table' in XEmacs UTF-2000.
2052 (WORDCHAR_P_UNSAFE): Likewise.
2053 (re_match_2_internal): Likewise.
2055 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2056 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2058 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2059 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2061 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2064 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2066 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2067 (char_table_description): Delete `mirror_table' in XEmacs
2069 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2071 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2072 (Fcopy_char_table): Likewise.
2073 (put_char_table): Don't call `update_syntax_table' in XEmacs
2076 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2077 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2078 (casify_region_internal): Likewise.
2080 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2082 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2083 `mirror_syntax_table' in XEmacs UTF-2000.
2085 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2086 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2087 (Fexpand_abbrev): Likewise.
2089 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2091 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2093 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2095 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2096 (map_over_uint16_byte_table): Likewise.
2097 (map_over_byte_table): Likewise.
2098 (get_char_id_table): Refer `cit->default_value'.
2099 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2100 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2101 of character-id ranges.
2102 (mark_char_table): Mark `ct->default_value'.
2103 (char_table_description): Add `default_value'.
2104 (fill_char_table): Use `default_value'.
2105 (decode_char_table_range): Decode `nil' as
2106 `CHARTAB_RANGE_DEFAULT'.
2107 (get_char_id_table): Refer `cit->default_value'.
2108 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2109 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2110 temporary hack; check value of char-table is bound or not.
2111 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2113 * chartab.h (struct Lisp_Char_Table): Add new member
2114 `default_value' in XEmacs UTF-2000.
2115 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2116 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2119 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2121 * chartab.h (Lisp_Char_ID_Table): Deleted.
2123 * chartab.c (char_table_description): Fix typo.
2124 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2125 `Lisp_Char_ID_Table'.
2127 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2129 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2132 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2135 * chartab.h (XCHAR_ID_TABLE): Deleted.
2136 (XSETCHAR_ID_TABLE): Deleted.
2137 (CHAR_ID_TABLE_P): Deleted.
2139 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2141 (Fget_composite_char): Likewise.
2142 (put_char_table): Likewise.
2143 (add_char_attribute_alist_mapper): Fixed.
2144 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2146 (Fget_char_attribute): Likewise.
2147 (Fget_char_attribute): Likewise.
2148 (Fmap_char_attribute): Likewise.
2150 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2152 (encode_char_1): Likewise.
2154 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2156 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2159 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2160 instead of `XCHAR_ID_TABLE'.
2161 (remove_char_ccs): Likewise.
2163 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2165 (Fget_composite_char): Likewise.
2166 (Fchar_variants): Likewise.
2167 (put_char_table): Likewise.
2168 (add_char_attribute_alist_mapper): Likewise.
2169 (Fchar_attribute_alist): Likewise.
2170 (Fget_char_attribute): Likewise.
2171 (Fput_char_attribute): Likewise.
2172 (Fmap_char_attribute): Likewise.
2173 (Fmap_char_attribute): Likewise.
2175 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2177 (encode_char_1): Likewise.
2179 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2181 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2182 `Lisp_Char_ID_Table'.
2183 (mark_char_id_table): Deleted.
2184 (print_char_id_table): Likewise.
2185 (char_id_table_equal): Likewise.
2186 (char_id_table_hash): Likewise.
2187 (char_id_table_description): Likewise.
2188 (char_id_table): Likewise.
2189 (make_char_id_table): Use `Fmake_char_table' and
2191 (get_char_id_table): Use `Lisp_Char_Table' instead of
2192 `Lisp_Char_ID_Table'.
2193 (put_char_id_table): Likewise.
2194 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2196 (Fremove_char_attribute): Likewise.
2197 (syms_of_chartab): Don't define type `char-id-table'.
2199 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2200 (char_id_table): Likewise.
2201 (GC_CHAR_ID_TABLE_P): Likewise.
2202 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2203 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2204 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2205 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2206 (get_char_id_table): Use `Lisp_Char_Table' instead of
2207 `Lisp_Char_ID_Table'.
2208 (put_char_id_table_0): Likewise.
2209 (put_char_id_table): Likewise.
2211 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2213 * chartab.h: Lisp_Byte_Table related codes are moved from
2216 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2218 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2220 * chartab.h: Don't include "chartab.h".
2221 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2222 (Lisp_Char_ID_Table): Likewise.
2223 (char_id_table): Likewise.
2224 (XCHAR_ID_TABLE): Likewise.
2225 (XSETCHAR_ID_TABLE): Likewise.
2226 (CHAR_ID_TABLE_P): Likewise.
2227 (GC_CHAR_ID_TABLE_P): Likewise.
2228 (get_char_id_table): Likewise.
2230 * char-ucs.h: Include "chartab.h".
2231 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2232 (Lisp_Char_ID_Table): Likewise.
2233 (char_id_table): Likewise.
2234 (XCHAR_ID_TABLE): Likewise.
2235 (XSETCHAR_ID_TABLE): Likewise.
2236 (CHAR_ID_TABLE_P): Likewise.
2237 (GC_CHAR_ID_TABLE_P): Likewise.
2238 (get_char_id_table): Likewise.
2240 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2242 * chartab.c (copy_uint8_byte_table): New function.
2243 (copy_uint16_byte_table): New function.
2244 (copy_byte_table): New function.
2245 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2247 (map_over_uint16_byte_table): Likewise.
2248 (map_over_byte_table): Likewise.
2249 (get_byte_table): Move prototype to chartab.h.
2250 (put_byte_table): Likewise.
2251 (put_char_id_table_0): Moved to chartab.h.
2252 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2253 (char_table_entry_equal): Likewise.
2254 (char_table_entry_hash): Likewise.
2255 (char_table_entry_description): Likewise.
2256 (char_table_entry): Likewise.
2257 (make_char_table_entry): Likewise.
2258 (copy_char_table_entry): Likewise.
2259 (get_non_ascii_char_table_value): Likewise.
2260 (map_over_charset_ascii): Likewise.
2261 (map_over_charset_control_1): Likewise.
2262 (map_over_charset_row): Likewise.
2263 (map_over_other_charset): Likewise.
2264 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2265 (print_char_table): Likewise.
2266 (char_table_equal): Likewise.
2267 (char_table_hash): Likewise.
2268 (char_table_description): Likewise.
2269 (fill_char_table): Likewise.
2270 (Fcopy_char_table): Likewise.
2271 (get_char_table): Likewise.
2272 (Fget_range_char_table): Likewise.
2273 (put_char_table): Likewise.
2274 (map_char_table): Likewise.
2275 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2278 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2280 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2281 `Vauto_fill_chars' in XEmacs UTF-2000.
2283 * chartab.h (get_byte_table): New prototype [moved from
2285 (put_byte_table): Likewise [moved from chartab.c].
2286 (put_char_id_table_0): New inline function [moved from chartab.c].
2287 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2288 (Lisp_Char_Table_Entry): Likewise.
2289 (char_table_entry): Likewise.
2290 (XCHAR_TABLE_ENTRY): Likewise.
2291 (XSETCHAR_TABLE_ENTRY): Likewise.
2292 (CHAR_TABLE_ENTRYP): Likewise.
2293 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2294 (NUM_ASCII_CHARS): Likewise.
2295 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2296 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2298 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2300 * chartab.c (get_char_id_table): Change interface.
2301 (put_char_id_table_0): New function.
2302 (put_char_id_table): Change interface; new implementation.
2303 (Fget_composite_char): Modify for interface change of
2304 `get_char_id_table'.
2305 (Fchar_variants): Likewise.
2306 (add_char_attribute_alist_mapper): Likewise.
2307 (Fchar_attribute_alist): Likewise.
2308 (Fget_char_attribute): Likewise.
2309 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2310 as same as character as the first argument like `put-char-table';
2311 modify for interface change of `put_char_id_table'.
2312 (Fremove_char_attribute): Modify for interface change of
2313 `put_char_id_table'.
2315 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2317 * text-coding.c: Sync up with XEmacs 21.2.41.
2318 (COMPOSE_ADD_CHAR): Modify for interface change of
2319 `get_char_id_table'.
2321 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2322 change of `put_char_id_table'.
2323 (remove_char_ccs): Likewise.
2325 * chartab.h (put_char_id_table): Change interface.
2327 * char-ucs.h (get_char_id_table): Change interface.
2328 (charset_code_point): Modify for interface change of
2329 `get_char_id_table'.
2330 (encode_char_1): Likewise.
2332 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2334 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2336 (map_over_uint16_byte_table): Likewise.
2337 (map_over_byte_table): Likewise.
2338 (map_char_id_table): Add new argument `range' like
2340 (Fmap_char_attribute): Add new argument `range' like
2343 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2345 * chartab.c (map_over_uint8_byte_table): Change interface of
2346 mapping function to use struct chartab_range instead of Emchar.
2347 (map_over_uint16_byte_table): Likewise.
2348 (map_over_byte_table): Likewise.
2349 (map_char_id_table): Likewise.
2350 (struct slow_map_char_id_table_arg): Deleted.
2351 (slow_map_char_id_table_fun): Deleted.
2352 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2353 function `slow_map_char_table_fun' instead of struct
2354 `slow_map_char_id_table_arg' and function
2355 `slow_map_char_id_table_fun'.
2357 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2359 * mule-charset.c: Move char-it-table related codes to chartab.c.
2360 (Vutf_2000_version): Moved to chartab.c.
2361 (Fdefine_char): Likewise.
2362 (Ffind_char): Likewise.
2363 (syms_of_mule_charset): Move types `uint8-byte-table',
2364 `uint16-byte-table', `byte-table' and `char-id-table' to
2365 chartab.c; move functions `char_attribute_list,
2366 `find_char_attribute_table, `char_attribute_alist,
2367 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2368 `map_char_attribute, `define_char, `find_char, `char_variants and
2369 `get_composite_char to chartab.c; move symbols `=>ucs',
2370 `->decomposition', `compat', `isolated', `initial', `medial',
2371 `final', `vertical', `noBreak', `fraction', `super', `sub',
2372 `circle', `square', `wide', `narrow', `small' and `font' to
2374 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2375 setting codes for `Vcharacter_composition_table' and
2376 `Vcharacter_variant_table' to chartab.c.
2377 (complex_vars_of_mule_charset): Move setting code for
2378 `Vchar_attribute_hash_table' to chartab.c.
2380 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2381 (make_char_id_table): New prototype.
2382 (put_char_id_table): Likewise.
2383 (Fget_char_attribute): Likewise.
2385 * chartab.c: Move char-id-table related code from mule-charset.c.
2386 (Vutf_2000_version): Moved from mule-charset.c.
2388 * char-ucs.h (Qucs): New external variable.
2389 (put_char_ccs_code_point): New prototype.
2390 (remove_char_ccs): Likewise.
2392 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2394 * mule-charset.c (Vcharset_ucs_jis): New variable.
2395 (Qucs_jis): Likewise.
2396 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2397 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2399 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2401 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2403 * mule-charset.c (map_over_uint8_byte_table): New function.
2404 (map_over_uint16_byte_table): Likewise.
2405 (map_over_byte_table): Likewise.
2406 (map_char_id_table): Likewise.
2407 (slow_map_char_id_table_fun): Likewise.
2408 (Fmap_char_attribute): Likewise.
2409 (syms_of_mule_charset): Add new function `map-char-attribute'.
2411 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2413 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
2414 (syms_of_mule_charset): Add new function `find-char'.
2416 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2418 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
2420 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
2421 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
2423 (complex_vars_of_mule_charset): Add new coded-charset
2424 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
2425 `ideograph-gt-pj-*'.
2427 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
2429 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2431 * mule-charset.c (encode_builtin_char_1): Purge codes about
2432 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
2433 {MIN|MAX}_CHAR_HEBREW.
2434 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
2435 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
2437 * char-ucs.h (MIN_CHAR_GREEK): Purged.
2438 (MAX_CHAR_GREEK): Purged.
2439 (MIN_CHAR_CYRILLIC): Purged.
2440 (MAX_CHAR_CYRILLIC): Purged.
2441 (MIN_CHAR_HEBREW): Commented out.
2442 (MAX_CHAR_HEBREW): Likewise.
2444 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2446 * mule-charset.c (Qto_ucs): New variable.
2447 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
2448 (Fdefine_char): Likewise.
2449 (syms_of_mule_charset): Add new symbol `=>ucs'.
2451 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2453 * mule-charset.c (Fdecode_char): Fixed.
2455 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2457 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
2458 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
2461 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2463 * mule-charset.c (Vcharset_ucs_big5): New variable.
2464 (Qucs_big5): Likewise.
2465 (syms_of_mule_charset): Add new symbol `ucs-big5'.
2466 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
2468 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
2470 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2472 * mule-charset.c (decode_builtin_char): Check Big5 code range
2473 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
2475 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2477 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
2478 (Qchinese_gb12345): Likewise.
2479 (Fdecode_builtin_char): Fixed.
2480 (syms_of_mule_charset): Add `chinese-gb12345'.
2481 (complex_vars_of_mule_charset): Add coded-charset
2484 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
2485 (LEADING_BYTE_CHINESE_GB12345): New macro.
2487 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2489 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
2490 and `latin-viscii-upper' for `latin-viscii'.
2492 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2494 * mule-charset.c (Fdecode_builtin_char): Comment out
2495 regularization code for ISO-IR GR representation.
2497 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2499 * mule-charset.c (decode_builtin_char): New function; renamed from
2500 `make_builtin_char'; return -1 instead of signal.
2501 (Fdecode_builtin_char): Use `decode_builtin_char'.
2503 * char-ucs.h (decode_builtin_char): New prototype; renamed from
2504 `make_builtin_char'.
2505 (DECODE_CHAR): Use `decode_builtin_char' instead of
2506 `make_builtin_char'; use mapping table of `chinese-big5' for
2507 `chinese-big5-{1,2}'.
2509 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2511 * text-coding.c (char_encode_big5): New function.
2512 (char_finish_big5): Likewise.
2513 (reset_encoding_stream): Use `char_encode_big5' and
2514 `char_finish_big5' for CODESYS_BIG5.
2515 (mule_encode): Don't use `encode_coding_big5'.
2516 (encode_coding_big5): Deleted.
2518 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2520 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
2521 0x81- in XEmacs UTF-2000.
2522 (detect_coding_big5): Likewise.
2524 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2526 * mule-charset.c (Fdefine_char): Don't use a CCS property to
2527 generate character-id if the CCS property does not have
2528 corresponding predefined character.
2529 (make_builtin_char): Return -1 if corresponding predefined
2530 character is not found.
2531 (Fdecode_char): Return nil if corresponding character is not
2533 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
2534 don't map to builtin ucs space.
2536 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2538 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
2539 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
2541 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2543 * mule-charset.c (Vcharset_ideograph_gt): New variable.
2544 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
2545 (Qideograph_gt): Likewise.
2546 (Qideograph_gt_pj_{1..11}): Likewise.
2547 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
2548 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
2549 `ideograph-gt-pj-11'.
2550 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
2551 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
2552 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
2554 * char-ucs.h (LEADING_BYTE_GT): New macro.
2555 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
2556 (MIN_CHAR_GT): Likewise.
2557 (MAX_CHAR_GT): Likewise.
2559 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2561 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
2562 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
2564 * doprnt.c (unsigned_int_converters): Add `c'.
2565 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
2567 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
2568 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
2570 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
2571 (MAX_CHAR_MOJIKYO_0): New macro.
2572 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
2574 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * mule-charset.c (Fdefine_char): Delete cemented out code.
2577 (encode_builtin_char_1): Modify for new allocation of builtin
2580 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
2582 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2584 * mule-charset.c (Vcharset_ucs_cns): New variable.
2585 (Qucs_cns): New variable.
2586 (syms_of_mule_charset): Add new symbol `ucs-cns'.
2587 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
2589 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2591 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
2593 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2595 * search.c (search_buffer): Make `charset_base_code' as
2596 character-id >> 6 to eliminate the corresponding last byte in
2597 UTF-8 representation [I'm not sure it is right thing].
2598 (boyer_moore): Likewise.
2600 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
2602 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
2603 representation in MULE.
2605 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2607 * text-coding.c (Fmake_coding_system): Use
2608 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
2609 `EXTERNAL_PROPERTY_LIST_LOOP'.
2611 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2613 * text-coding.c (decode_output_utf8_partial_char): New function.
2614 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
2616 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2618 * text-coding.c (decode_coding_utf8): Output original byte
2619 sequence if it is broken; change order of conditions.
2621 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
2624 * mb-multibyte.h (BYTE_ASCII_P):
2625 Use bit ops for char-signedness safety.
2626 (BYTE_C0_P): Use bit ops for char-signedness safety.
2627 (BYTE_C1_P): Use bit ops for char-signedness safety.
2629 * character.h: (XCHAR_OR_CHAR_INT):
2630 Always use inline function.
2631 Remove redundant type checking assert() - XINT will abort quite
2634 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2636 * text-coding.c: (Fencode_shift_jis_char):
2637 (Fencode_big5_char):
2638 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
2639 Replace 0 with '\0' when working with bytes.
2640 Replace initial "(" with "\(" in docstrings.
2642 (Fmake_coding_system):
2643 When type is ccl and value is vector, register it with a proper
2644 symbol. And checks whether the given ccl program is valid.
2645 (mule_decode): When calling ccl_driver, if src indicates
2646 NULL pointer, set an empty string instead.
2647 (mule_encode): Likewise.
2650 (detect_coding_sjis):
2651 (decode_coding_sjis):
2652 (detect_coding_big5):
2653 (decode_coding_big5):
2654 (detect_coding_ucs4):
2655 (decode_coding_ucs4):
2656 (detect_coding_utf8):
2657 (decode_coding_utf8):
2658 (detect_coding_iso2022):
2659 (decode_coding_iso2022):
2660 (decode_coding_no_conversion):
2662 Make all detecting and decoding functions take an Extbyte * arg.
2663 (text_encode_generic):
2664 (encode_coding_big5):
2665 (encode_coding_no_conversion):
2667 Make all encoding functions take a Bufbyte * arg.
2668 Use size_t instead of unsigned int for memory sizes.
2669 Only cast to unsigned char whenever dereferencing Extbyte *.
2671 (struct lrecord_description fcd_description_1): Use countof.
2672 (complex_vars_of_file_coding):
2673 Use countof instead of sizeof.
2674 Use CHECK_NATNUM instead of CHECK_INT.
2676 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2678 * mule-charset.c (Fget_char_attribute): Add new optional argument
2680 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
2681 (remove_char_ccs): Likewise.
2683 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2685 * text-coding.c (char_encode_shift_jis): New implementation in
2687 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
2690 * mule-charset.c (Vcharset_chinese_big5): New variable in
2692 (Qchinese_big5): New variable in UTF-2000.
2693 (BIG5_SAME_ROW): New macro in UTF-2000.
2694 (make_builtin_char): Use builtin characters of
2695 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
2696 characters of `Vcharset_chinese_big5'.
2697 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
2698 (complex_vars_of_mule_charset): Add new coded-charset
2699 `chinese-big5' in UTF-2000.
2701 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
2702 (Vcharset_chinese_big5): New external variable declaration.
2703 (Vcharset_japanese_jisx0208_1990): Likewise.
2705 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2707 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
2709 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
2711 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2713 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
2714 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
2715 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
2718 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2720 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
2722 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2724 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
2727 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2729 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
2730 for `CHARSET_BY_ATTRIBUTES'.
2731 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2732 `CHARSET_BY_ATTRIBUTES'.
2734 * text-coding.c (struct decoding_stream): Rename member `CH' to
2736 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
2737 (decode_coding_sjis): Likewise.
2738 (decode_coding_big5): Likewise.
2739 (decode_coding_ucs4): Likewise.
2740 (decode_coding_utf8): Likewise.
2741 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
2742 `CHARSET_BY_ATTRIBUTES'.
2743 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
2744 `str->counter'; decode 3, 4 bytes sets.
2745 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
2747 (decode_coding_no_conversion): Use `str->cpos' instead of
2750 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
2751 (Qmojikyo_2022_1): New variable.
2752 (make_charset): Don't use `CHARSET_TYPE_*'.
2753 (range_charset_code_point): Support coded-charset
2755 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
2756 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
2757 `CHARSET_BY_ATTRIBUTES'.
2758 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
2759 `CHARSET_BY_ATTRIBUTES'.
2760 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
2761 (complex_vars_of_mule_charset): Add new coded-charset
2764 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
2765 interface; changed to inline function.
2767 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
2768 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
2769 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
2770 (CHARSET_TYPE_94): Deleted.
2771 (CHARSET_TYPE_94X94): Deleted.
2772 (CHARSET_TYPE_96): Deleted.
2773 (CHARSET_TYPE_96X96): Deleted.
2774 (CHARSET_TYPE_128): Deleted.
2775 (CHARSET_TYPE_128X128): Deleted.
2776 (CHARSET_TYPE_256): Deleted.
2777 (CHARSET_TYPE_256X256): Deleted.
2778 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
2780 (DECODE_MOJIKYO_2022): New inline function.
2781 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
2782 `Vcharset_mojikyo_2022_1'.
2784 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2786 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
2788 (put_byte_table): Likewise.
2789 (char_id_table_equal): Use `get_byte_table' [new implementation].
2791 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2793 * mule-charset.c: Include <limits.h> in UTF-2000.
2794 (BT_UINT8_MIN): New macro in UTF-2000.
2795 (BT_UINT8_MAX): New macro in UTF-2000.
2796 (BT_UINT8_t): New macro in UTF-2000.
2797 (BT_UINT8_nil): New macro in UTF-2000.
2798 (BT_UINT8_unbound): New macro in UTF-2000.
2799 (INT_UINT8_P): New inline function in UTF-2000.
2800 (UINT8_VALUE_P): New inline function in UTF-2000.
2801 (UINT8_ENCODE): New inline function in UTF-2000.
2802 (UINT8_DECODE): New inline function in UTF-2000.
2803 (mark_uint8_byte_table): New function in UTF-2000.
2804 (print_uint8_byte_table): New function in UTF-2000.
2805 (uint8_byte_table_equal): New function in UTF-2000.
2806 (uint8_byte_table_hash): New function in UTF-2000.
2807 (make_uint8_byte_table): New function in UTF-2000.
2808 (uint8_byte_table_same_value_p): New function in UTF-2000.
2809 (BT_UINT16_MIN): New macro in UTF-2000.
2810 (BT_UINT16_MAX): New macro in UTF-2000.
2811 (BT_UINT16_t): New macro in UTF-2000.
2812 (BT_UINT16_nil): New macro in UTF-2000.
2813 (BT_UINT16_unbound): New macro in UTF-2000.
2814 (INT_UINT16_P): New inline function in UTF-2000.
2815 (UINT16_VALUE_P): New inline function in UTF-2000.
2816 (UINT16_ENCODE): New inline function in UTF-2000.
2817 (UINT16_DECODE): New inline function in UTF-2000.
2818 (UINT8_TO_UINT16): New inline function in UTF-2000.
2819 (mark_uint16_byte_table): New function in UTF-2000.
2820 (print_uint16_byte_table): New function in UTF-2000.
2821 (uint16_byte_table_equal): New function in UTF-2000.
2822 (uint16_byte_table_hash): New function in UTF-2000.
2823 (make_uint16_byte_table): New function in UTF-2000.
2824 (uint16_byte_table_same_value_p): New function in UTF-2000.
2825 (print_byte_table): New function in UTF-2000.
2826 (byte-table): Use `print_byte_table' as printer.
2827 (make_byte_table): Delete second argument `older'.
2828 (byte_table_same_value_p): New function in UTF-2000.
2829 (copy_byte_table): Deleted.
2830 (get_byte_table): New function in UTF-2000.
2831 (put_byte_table): New function in UTF-2000.
2832 (print_char_id_table): New function in UTF-2000.
2833 (char-id-table): Use `print_char_id_table' as printer.
2834 (make_char_id_table): Delete second argument `older'.
2835 (get_char_id_table): Use `get_byte_table [new implementation].
2836 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
2838 (Ffind_char_attribute_table): New function in UTF-2000.
2839 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
2840 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
2841 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
2842 (syms_of_mule_charset): Add new function
2843 `find-char-attribute-table' in UTF-2000.
2845 * lrecord.h (enum lrecord_type): Add
2846 `lrecord_type_uint16_byte_table' and
2847 `lrecord_type_uint8_byte_table'.
2849 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
2850 (Lisp_Uint8_Byte_Table): New type.
2851 (XUINT8_BYTE_TABLE): New macro.
2852 (XSETUINT8_BYTE_TABLE): New macro.
2853 (UINT8_BYTE_TABLE_P): New macro.
2854 (GC_UINT8_BYTE_TABLE_P): New macro.
2855 (struct Lisp_Uint16_Byte_Table): New structure.
2856 (Lisp_Uint16_Byte_Table): New type.
2857 (XUINT16_BYTE_TABLE): New macro.
2858 (XSETUINT16_BYTE_TABLE): New macro.
2859 (UINT16_BYTE_TABLE_P): New macro.
2860 (GC_UINT16_BYTE_TABLE_P): New macro.
2862 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2864 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
2865 (Vcharacter_ideographic_strokes_table): Deleted.
2866 (Vcharacter_total_strokes_table): Deleted.
2867 (Vcharacter_morohashi_daikanwa_table): Deleted.
2868 (Vcharacter_decomposition_table): Deleted.
2869 (Qname): Deleted because it is duplicated.
2870 (Qideographic_radical): Deleted.
2871 (Qideographic_strokes): Deleted.
2872 (Qtotal_strokes): Deleted.
2873 (Qmorohashi_daikanwa): Deleted.
2874 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
2875 `ideographic-radical', `ideographic-strokes', `total-strokes',
2876 `morohashi-daikanwa' and `->decomposition'.
2877 (Fget_char_attribute): Likewise.
2878 (Fput_char_attribute): Likewise; use `make-vector' instead of
2879 `make_older_vector' for `->decomposition' value.
2880 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
2881 `ideograph-daikanwa'.
2882 (syms_of_mule_charset): Delete builtin symbols `name',
2883 `ideographic-radical', `ideographic-strokes', `total-strokes' and
2884 `morohashi-daikanwa'.
2885 (vars_of_mule_charset): Don't setup
2886 `Vcharacter_ideographic_radical_table',
2887 `Vcharacter_ideographic_strokes_table',
2888 `Vcharacter_total_strokes_table',
2889 `Vcharacter_morohashi_daikanwa_table' and
2890 `Vcharacter_decomposition_table'.
2892 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2894 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
2895 `make_older_vector', `make_vector_newer_1' and
2896 `make_vector_newer'.
2898 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
2899 `make_older_vector' and `make_vector_newer'.
2901 * config.h.in (HAVE_GGC): New macro.
2903 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2905 * mule-charset.c (struct char_attribute_list_closure): New
2906 structure in UTF-2000.
2907 (add_char_attribute_to_list_mapper): New function in UTF-2000.
2908 (Fchar_attribute_list): Likewise.
2909 (Fset_charset_mapping_table): Use `make_vector_newer'.
2910 (Fdecode_builtin_char): New function in UTF-2000.
2911 (syms_of_mule_charset): Add new function `char-attribute-list' and
2912 `decode-builtin-char' in UTF-2000.
2914 * lisp.h (make_vector_newer): New prototype.
2916 * alloc.c (make_vector_newer_1): New function.
2917 (make_vector_newer): New function.
2919 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2921 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
2924 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2926 * mule-charset.c (Vchar_attribute_hash_table): New variable.
2927 (Vcharacter_attribute_table): Deleted.
2928 (Vcharacter_name_table): Deleted.
2929 (put_char_attribute): Deleted.
2930 (remove_char_attribute): Deleted.
2931 (struct char_attribute_alist_closure): New structure.
2932 (add_char_attribute_alist_mapper): New function.
2933 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
2934 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
2935 (Fget_char_attribute): Likewise.
2936 (Fput_char_attribute): Likewise.
2937 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
2938 of `remove_char_attribute'.
2939 (Fdefine_char): Return character.
2940 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
2941 and `Vcharacter_name_table'.
2942 (complex_vars_of_mule_charset): Likewise
2943 `Vchar_attribute_hash_table'.
2945 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2947 * character.h (CHARC_CHARSET): New macro.
2948 (CHARC_CHARSET_ID): New macro.
2949 (CHARC_CODE_POINT): New macro.
2950 (CHARC_COLUMNS): New macro.
2951 (CHARC_TO_CHAR): New inline function.
2952 (CHARC_EQ): New inline function.
2953 (CHARC_ASCII_EQ): New inline function.
2954 (CHARC_IS_SPACE): New inline function.
2955 (ASCII_TO_CHARC): New inline function.
2957 * char-ucs.h (encode_char_2): Deleted.
2958 (ENCODE_CHAR): Use `encode_char_1' again.
2959 (breakup_char_1): Likewise.
2960 (CHAR_TO_CHARC): New inline function.
2962 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
2964 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2966 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
2967 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
2968 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
2969 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
2970 (create_string_text_block): Use `CHARC_ASCII_EQ' and
2972 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
2974 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
2976 (x_output_display_block): Use `CHARC_CHARSET' and
2979 * redisplay-tty.c (tty_output_display_block): Use
2981 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
2983 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
2985 * insdel.c (find_charsets_in_charc_string): Use
2987 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
2988 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
2989 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
2990 (convert_charc_string_into_malloced_string): Likewise.
2992 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2994 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
2995 instead of <Emchar_dynarr *> for buf; use
2996 `convert_bufbyte_string_into_charc_dynarr' instead of
2997 `convert_bufbyte_string_into_emchar_dynarr'; use
2998 `find_charsets_in_charc_string' instead of
2999 `find_charsets_in_emchar_string'.
3002 - Include "character.h".
3003 (struct rune): New member `cglyph'; delete member `chr'.
3005 * redisplay.c (redisplay_text_width_charc_string): New function;
3006 delete `redisplay_text_width_emchar_string'.
3007 (rtw_charc_dynarr): New variable; renamed from
3008 `rtw_emchar_dynarr'.
3009 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3010 `rtw_emchar_dynarr'; use
3011 `convert_bufbyte_string_into_charc_dynarr' instead of
3012 `convert_bufbyte_string_into_emchar_dynarr'; use
3013 `redisplay_text_width_charc_string' instead of
3014 `redisplay_text_width_emchar_string'.
3015 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3016 instead of `rtw_emchar_dynarr'; use
3017 `convert_bufbyte_string_into_charc_dynarr' instead of
3018 `convert_bufbyte_string_into_emchar_dynarr'.
3019 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3020 `redisplay_text_width_charc_string' instead of
3021 `redisplay_text_width_emchar_string'.
3022 (create_text_block): Modify for <struct rune> change.
3023 (generate_formatted_string_db): Likewise.
3024 (create_string_text_block): Likewise.
3025 (pixel_to_glyph_translation): Likewise.
3027 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3028 instead of <const Emchar *>.
3029 (x_text_width): Likewise.
3030 (x_output_display_block): Use <Charc_dynarr *> instead
3031 <Emchar_dynarr *>; modify for <structure rune> change.
3032 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3035 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3036 <const Emchar *>; use `charc_string_displayed_columns' instead of
3037 `emchar_string_displayed_columns'.
3038 (tty_output_display_block): Use <Charc_dynarr *> instead of
3039 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3040 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3041 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3042 `tty_output_emchar_dynarr_dynarr'.
3043 (tty_output_charc_dynarr): New function; delete
3044 `tty_output_charc_dynarr'.
3046 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3047 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3048 <Emchar_dynarr *> for buf; use
3049 `convert_bufbyte_string_into_charc_dynarr' instead of
3050 `convert_bufbyte_string_into_emchar_dynarr'.
3052 * frame.c (title_string_charc_dynarr): New variable; renamed from
3053 `title_string_emchar_dynarr'.
3054 (generate_title_string): Use `title_string_charc_dynarr' instead
3055 of `title_string_emchar_dynarr'; use
3056 `convert_charc_string_into_malloced_string' instead of
3057 `convert_emchar_string_into_malloced_string'.
3058 (init_frame): Use `title_string_charc_dynarr' instead of
3059 `title_string_emchar_dynarr'.
3062 - Include "character.h".
3063 (struct console_methods): Use <const Charc *> instead of <const
3064 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3065 <Emchar_dynarr *> in output_string_method.
3067 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3070 * console-stream.c (stream_text_width): Use <const Charc *>
3071 instead of <const Emchar *>.
3073 * character.h (Charc_dynarr): New type.
3075 * char-ucs.h (structure Charc): New structure; define new type
3078 * char-lb.h (DECODE_CHAR): New inline function.
3079 (encode_char_1): New inline function.
3080 (ENCODE_CHAR): New macro.
3081 (structure Charc): New structure; define new type `Charc'.
3083 * char-1byte.h (Vcharset_control_1): New macro.
3084 (Vcharset_latin_iso8859_1): New macro.
3085 (DECODE_CHAR): New inline function.
3086 (encode_char_1): New inline function.
3087 (ENCODE_CHAR): New macro.
3088 (structure Charc): New structure; define new type `Charc'.
3090 * insdel.c (find_charsets_in_charc_string): New function; delete
3091 `find_charsets_in_emchar_string'.
3092 (charc_string_displayed_columns): New function; delete
3093 `emchar_string_displayed_columns'.
3094 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3095 `convert_bufbyte_string_into_emchar_dynarr'.
3096 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3097 `convert_charc_string_into_bufbyte_dynarr'.
3098 (convert_charc_string_into_malloced_string): New function; delete
3099 `convert_charc_string_into_malloced_string'.
3101 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3102 `find_charsets_in_emchar_string'.
3103 (charc_string_displayed_columns): New prototype; delete
3104 `emchar_string_displayed_columns'.
3105 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3106 `convert_charc_string_into_bufbyte_dynarr'.
3107 (convert_charc_string_into_malloced_string): New prototype; delete
3108 `convert_charc_string_into_malloced_string'.
3110 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3112 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3114 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3116 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3118 * char-ucs.h: Use <short> for <Charset_ID>.
3120 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3123 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3125 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3128 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3130 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3132 (Qmorohashi_daikanwa): New variable.
3133 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3134 for `morohashi-daikanwa' attribute.
3135 (Fget_char_attribute): Likewise.
3136 (Fput_char_attribute): Likewise.
3137 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3138 has the same value of `ideograph-daikanwa'.
3139 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3140 (vars_of_mule_charset): Setup
3141 `Vcharacter_morohashi_daikanwa_table'.
3143 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3145 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3147 (add_charset_to_list_mapper): Add `key' instead of
3148 `XCHARSET_NAME (value)' to return aliases.
3150 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3152 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3154 (Vcharacter_ideographic_strokes_table): New variable.
3155 (Qideographic_radical): New variable.
3156 (Qideographic_strokes): New variable.
3157 (Fchar_attribute_alist): Use
3158 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3159 attribute; use `Vcharacter_ideographic_strokes_table' for
3160 `ideographic-strokes' attribute.
3161 (Fget_char_attribute): Likewise.
3162 (Fput_char_attribute): Likewise.
3163 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3164 `ideographic-strokes'.
3165 (vars_of_mule_charset): Setup
3166 `Vcharacter_ideographic_radical_table' and
3167 `Vcharacter_ideographic_strokes_table'.
3169 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3171 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3172 (Qtotal_strokes): New variable.
3173 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3174 `total-strokes' attribute.
3175 (Fget_char_attribute): Likewise.
3176 (Fput_char_attribute): Likewise.
3177 (syms_of_mule_charset): Add new symbol `total-strokes'.
3178 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3180 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3182 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3183 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3185 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3186 `->decomposition' attribute.
3187 (Fput_char_attribute): Likewise.
3188 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3190 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3192 * mule-charset.c (decoding_table_check_elements): New function.
3193 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3195 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3197 * mule-charset.c (Fset_charset_mapping_table): Use
3198 `put_char_ccs_code_point'.
3200 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3202 * mule-charset.c (decoding_table_put_char): New inline function.
3203 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3205 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3207 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3208 (XCHARSET_BYTE_SIZE): New macro.
3209 (decoding_table_remove_char): New inline function.
3210 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3211 `decoding_table_remove_char'.
3212 (remove_char_ccs): Use `decoding_table_remove_char'.
3213 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3215 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3217 * mule-charset.c (Vcharacter_name_table): New variable.
3218 (Qname): New variable.
3219 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3221 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3222 `Vcharacter_name_table' for `name' attribute.
3223 (Fremove_char_attribute): Use function `remove_char_ccs'.
3224 (put_char_ccs_code_point): New function.
3225 (remove_char_ccs): New function.
3226 (syms_of_mule_charset): Add new symbol `name'.
3227 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3229 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3231 * mule-charset.c (make_byte_table): Add new argument `older'.
3232 (make_char_id_table): Likewise.
3233 (copy_char_id_table): Comment out because it is not used.
3234 (put_char_id_table): Modify for `make_byte_table'.
3235 (Fput_char_attribute): Make encoding_table as older object;
3236 inherit older bit of `Vcharacter_composition_table'.
3237 (mark_charset): Don't mark `cs->encoding_table'.
3238 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3239 normal object; make `Vcharacter_composition_table' as an older
3240 object; delete staticpro for `Vcharacter_composition_table'; make
3241 `Vcharacter_variant_table' as a normal object.
3243 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3244 (mark_object): Don't check older object in UTF-2000.
3246 * lrecord.h (struct lrecord_header): Add new member `older' in
3248 (set_lheader_implementation): Setup `SLI_header->older' in
3250 (set_lheader_older_implementation): New macro in UTF-2000.
3251 (OLDER_RECORD_P): New macro in UTF-2000.
3252 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3253 (alloc_older_lcrecord): New prototype in UTF-2000.
3254 (alloc_older_lcrecord_type): New macro in UTF-2000.
3256 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3258 * mule-charset.c (byte_table_description): Use
3259 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3260 (char_id_table_description): Delete bogus `, 1'.
3261 (Fget_char_attribute): Refer encoding_table of each coded-charset
3262 to get value of coded-charset attribute of a character.
3263 (Fput_char_attribute): Use `make_older_vector' instead of
3264 `make_vector'; use encoding_table of each coded-charset to store
3265 value of coded-charset attribute of a character.
3266 (Fremove_char_attribute): Use encoding_table of each coded-charset
3267 to store value of coded-charset attribute of a character.
3268 (mark_charset): Mark `cs->encoding_table'; don't mark
3269 `cs->decoding_table'.
3270 (charset_description): Add description of new member
3272 (make_charset): Initialize `encoding_table'.
3274 * char-ucs.h (struct Lisp_Charset): Add new member
3276 (CHARSET_ENCODING_TABLE): New macro.
3277 (XCHARSET_ENCODING_TABLE): New macro.
3278 (charset_code_point): New implementation.
3279 (encode_char_1): Likewise.
3281 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3282 (disksave_object_finalization_1): Call finalizers of
3283 `all_older_lcrecords' in UTF-2000.
3284 (make_older_vector): New function in UTF-2000.
3285 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3288 * lisp.h (make_older_vector): New prototype in UTF-2000.
3290 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3292 * lrecord.h (enum lrecord_type): Rename
3293 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3295 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3296 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3297 `get_char_code_table'.
3299 * mule-charset.c (mark_char_id_table): Renamed from
3300 `mark_char_code_table'.
3301 (char_id_table_equal): Renamed from `char_code_table_equal'.
3302 (char_id_table_hash): Renamed from `char_code_table_hash'.
3303 (make_char_id_table): Renamed from `make_char_code_table'.
3304 (copy_char_id_table): Renamed from `copy_char_code_table'.
3305 (get_char_id_table): Renamed from `get_char_code_table'.
3306 (put_char_id_table): Renamed from `put_char_code_table'.
3307 (to_char_id): Renamed from `to_char_code'.
3309 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3310 `Lisp_Char_Code_Table'.
3311 (char_id_table): Renamed from `char_code_table'.
3312 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3313 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3314 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3315 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3316 (get_char_id_table): Renamed from `get_char_code_table'.
3318 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3320 * lrecord.h (enum lrecord_type): Rename
3321 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3323 * mule-charset.c (mark_byte_table): Renamed from
3324 `mark_char_byte_table'.
3325 (byte_table_equal): Renamed from `char_byte_table_equal'.
3326 (byte_table_hash): Renamed from `byte_table_hash'.
3327 (make_byte_table): Renamed from `make_byte_table'.
3328 (copy_byte_table): Renamed from `copy_char_byte_table'.
3330 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3331 `Lisp_Char_Byte_Table'.
3332 (byte_table): Renamed from `char_byte_table'.
3333 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3334 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3335 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3336 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3338 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3340 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3341 (dfc_convert_to_internal_format): Likewise.
3343 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3344 * text-coding.c (Fcoding_system_alias_p): New function.
3345 * text-coding.c (Fcoding_system_aliasee): New function.
3346 * text-coding.c (append_suffix_to_symbol): New function.
3347 * text-coding.c (dangling_coding_system_alias_p): New function.
3348 * text-coding.c (Ffind_coding_system):
3349 * text-coding.c (Fcopy_coding_system):
3350 * text-coding.c (encode_coding_no_conversion):
3351 * text-coding.c (syms_of_file_coding):
3352 * text-coding.c (vars_of_file_coding):
3353 Rewrite coding system alias code.
3354 Allow nested aliases, like symbolic links.
3355 Allow redefinition of coding system aliases.
3356 Prevent existence of dangling coding system aliases.
3357 Eliminate convert_to_external_format.
3358 Eliminate convert_to_internal_format.
3360 * text-coding.c: Change enum eol_type to eol_type_t.
3362 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3364 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3365 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3367 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3368 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3370 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3372 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3373 `ideograph-daikanwa'.
3375 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3376 (Vcharset_ucs_bmp): Likewise.
3377 (Vcharset_mojikyo): Add new extern variable definition.
3378 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3379 (Vcharset_latin_iso8859_3): Likewise.
3380 (Vcharset_latin_iso8859_4): Likewise.
3381 (Vcharset_latin_iso8859_9): Likewise.
3382 (Vcharset_latin_viscii_lower): Likewise.
3383 (Vcharset_latin_viscii_upper): Likewise.
3384 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3385 `mojikyo' code-point is used to decode.
3386 (encode_char_2): New function [to convert `mojikyo' code-point to
3387 Mojikyo font encoding].
3388 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3389 (breakup_char_1): Likewise.
3390 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3392 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3394 * text-coding.c (Fmake_coding_system): Add document about
3395 `disable-composition' property.
3397 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3399 * text-coding.c (Qdisable_composition): New variable; delete
3401 (Fmake_coding_system): Add new property `disable-composite';
3402 delete property `composite'.
3403 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3404 instead of `!CODING_SYSTEM_COMPOSITE'.
3405 (syms_of_file_coding): Add new symbol `disable-composition';
3406 delete symbol `composite'.
3408 * file-coding.h (struct Lisp_Coding_System): Add
3409 `disable_composition'; delete `enable_composition'.
3410 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3411 `CODING_SYSTEM_COMPOSITE'.
3412 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
3413 `XCODING_SYSTEM_COMPOSITE'.
3415 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3417 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3420 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3422 * text-coding.c (Qcomposite): New variable.
3423 (Fmake_coding_system): Add new property `composite'.
3424 (struct decoding_stream): Add `combined_char_count',
3425 `combined_chars' and `combining_table' in UTF-2000.
3426 (COMPOSE_FLUSH_CHARS): New macro.
3427 (COMPOSE_ADD_CHAR): New macro.
3428 (reset_decoding_stream): Reset `str->combined_char_count' and
3429 `str->combining_table' in UTF-2000.
3430 (decode_coding_iso2022): Modify for character-decomposition.
3431 (syms_of_file_coding): Add new symbol `composite'.
3433 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3435 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
3436 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
3437 of `Vcharacter_composition_table' if `->decomposition' property
3439 (Qlatin_tcvn5712): New variable.
3440 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
3441 (complex_vars_of_mule_charset): Add new coded-charset
3444 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
3446 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3448 * file-coding.h (struct Lisp_Coding_System): Add
3449 `enable_composition'.
3450 (CODING_SYSTEM_COMPOSITE): New macro.
3451 (XCODING_SYSTEM_COMPOSITE): New macro.
3453 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
3455 * mule-canna.c (c2mu): Fix problem with UTF-2000.
3457 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
3459 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
3460 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
3462 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
3464 * mule-charset.c (Vcharset_mojikyo): New variable.
3465 (Fdefine_char): Don't use coded-charset which does not have
3466 non-builtin character range to allocate character-id.
3467 (Qmojikyo): New variable.
3468 (syms_of_mule_charset): Add new symbol `mojikyo'.
3469 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
3471 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
3472 (LEADING_BYTE_MOJIKYO): New macro.
3473 (MIN_CHAR_MOJIKYO): New macro.
3474 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
3475 (MAX_CHAR_MOJIKYO): New macro.
3477 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
3479 * mule-charset.c (remove_char_attribute): Fixed.
3481 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
3483 * mule-charset.c (remove_char_attribute): New function.
3484 (Fremove_char_attribute): New function.
3485 (encode_builtin_char_1): Comment out builtin-support for
3486 greek-iso8859-7 and cyrillic-iso8859-5.
3487 (Fdecode_char): Check `code' is an integer.
3488 (syms_of_mule_charset): Add `remove-char-attribute'.
3489 (MIN_CHAR_GREEK): Deleted.
3490 (MAX_CHAR_GREEK): Likewise.
3491 (MIN_CHAR_CYRILLIC): Likewise.
3492 (MAX_CHAR_CYRILLIC): Likewise.
3493 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
3494 MAX_CHAR_GREEK for `greek-iso8859-7'.
3496 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
3497 (MAX_CHAR_GREEK): Likewise.
3498 (MIN_CHAR_CYRILLIC): Likewise.
3499 (MAX_CHAR_CYRILLIC): Likewise.
3501 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
3503 * mule-charset.c (Fdefine_char): Fix problem when new code-point
3504 format is used without `ucs' property.
3505 (Fdecode_char): Fix problem with GR representation.
3506 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
3507 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
3509 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3511 * mule-charset.c (make_builtin_char): New function.
3512 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
3513 (Fset_charset_mapping_table): Modify for new representation of
3515 (Fdecode_char): New function.
3516 (syms_of_mule_charset): Add new builtin function `decode-char' in
3519 * char-ucs.h (make_builtin_char): New prototype.
3520 (DECODE_CHAR): New inline function.
3521 (MAKE_CHAR): Use `DECODE_CHAR'.
3523 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
3525 * text-coding.c (parse_charset_conversion_specs): Use
3526 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
3528 (iso2022_designate): Likewise.
3530 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
3531 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
3533 * mule-charset.c (Vcharset_ucs): New variable.
3534 (print_charset): Change design; use `CHARSET_CHARS' and
3535 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
3536 (make_charset): Change signature to specify `chars' and
3537 `dimension' instead of `type'.
3538 (range_charset_code_point): Modify for 256^n-set.
3539 (encode_builtin_char_1): Encode as `ucs' in default.
3540 (Fmake_charset): Modify for `make_charset'.
3541 (Fmake_reverse_direction_charset): Likewise.
3542 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
3544 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
3547 * char-ucs.h (Vcharset_ucs): New variable.
3548 (LEADING_BYTE_UCS): New macro.
3549 (struct Lisp_Charset): Delete `type'; change type of `dimension'
3550 and `chars' to `unsigned short' from `unsigned int'.
3551 (CHARSET_TYPE): Deleted.
3552 (XCHARSET_TYPE): Deleted.
3554 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
3556 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
3558 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
3559 (ENCODE_CHAR): New macro.
3561 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3563 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3564 to 0.14 (Kawachi-Katakami).
3566 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
3568 * text-coding.c (char_encode_shift_jis): Modify for
3569 `charset_code_point'.
3570 (char_encode_iso2022): Likewise.
3572 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
3573 (integer) instead of list of <Lisp_Object>s (integers) as the
3574 format of code-point of a coded-charset.
3575 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3576 (encode_builtin_char_1): New function; delete
3577 `split_builtin_char'.
3578 (charset_code_point): Return <int> instead of <Lisp_Object>.
3579 (Fsplit_char): Don't use `SPLIT_CHAR'.
3581 * char-ucs.h (encode_builtin_char_1): New prototype; delete
3582 prototype for `split_builtin_char'.
3583 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
3584 (charset_code_point): Likewise.
3585 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
3586 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
3588 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
3590 * mule-charset.c (complex_vars_of_mule_charset): Don't define
3591 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
3593 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3595 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
3597 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
3598 (MAX_CHAR_OBS_94x94): Deleted.
3600 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
3602 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
3604 * char-ucs.h (MAX_CHAR_BMP): New macro.
3606 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
3608 * text-coding.c: Sync with r21-2-24.
3610 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
3612 * file-coding.c: Modify for UTF-2000.
3614 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3616 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3619 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
3621 * mule-charset.c (split_builtin_char): Delete builtin support for
3622 `katakana-jisx0201'.
3623 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
3624 BMP area in builtin representation.
3626 * char-ucs.h (MAKE_CHAR): Delete builtin support for
3627 `Vcharset_katakana_jisx0201'.
3629 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
3631 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
3632 (Qisolated): New variable.
3633 (Qinitial): New variable.
3634 (Qmedial): New variable.
3635 (Qfinal): New variable.
3636 (Qvertical): New variable.
3637 (Qsmall): New variable.
3638 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
3639 `Qvertical' and `Qsmall'.
3640 (Qmojikyo_pj_[1 .. 21]): New variable.
3641 (syms_of_mule_charset): Add new symbols `isolated', `initial',
3642 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
3643 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
3646 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
3648 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
3649 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
3650 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
3652 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
3654 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
3655 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
3657 (Qjapanese_jisx0208_1990): New variable.
3658 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
3659 (complex_vars_of_mule_charset): Add new coded-charset
3660 `japanese-jisx0208-1990'.
3662 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
3663 (MIN_CHAR_JIS_X0208_1990): New macro.
3664 (MAX_CHAR_JIS_X0208_1990): New macro.
3666 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3668 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
3669 coded-charset is not found.
3671 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
3673 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
3674 (Fdefine_char): Use `Fmake_char'.
3676 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3678 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
3679 (Vcharset_hiragana_jisx0208): Deleted.
3680 (Vcharset_katakana_jisx0208): Deleted.
3681 (Qideograph_daikanwa): New variable.
3682 (Qhiragana_jisx0208): Deleted.
3683 (Qkatakana_jisx0208): Deleted.
3684 (split_builtin_char): Split `ideograph-daikanwa'.
3685 (Fsplit_char): New implementation for UTF-2000.
3686 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
3687 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
3688 (complex_vars_of_mule_charset): Add new coded-charset
3689 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
3690 `katakana-jisx0208'.
3692 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
3693 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
3694 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
3695 (MIN_CHAR_DAIKANWA): New macro.
3696 (MAX_CHAR_DAIKANWA): New macro.
3698 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3700 * data.c (Fstring_to_number): Don't recognize floating point if
3703 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
3705 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
3707 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3709 * mule-charset.c (Qsquare): New variable.
3710 (to_char_code): Add `Qsquare'.
3711 (syms_of_mule_charset): Add new symbol `square'.
3713 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3715 * mule-charset.c (Qcircle): New variable.
3716 (to_char_code): Add `Qcircle'.
3717 (syms_of_mule_charset): Add new symbol `circle'.
3719 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3721 * mule-charset.c (Qfont): New variable.
3722 (to_char_code): Add `Qfont'.
3723 (syms_of_mule_charset): Add new symbol `font'.
3725 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3727 * mule-charset.c (Qsub): New variable.
3728 (to_char_code): Add `Qsub'.
3729 (syms_of_mule_charset): Add new symbol `sub'.
3731 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3733 * mule-charset.c (Fput_char_attribute): Convert each element of
3734 VALUE to GL position if ATTRIBUTE is a GR-set,
3736 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
3738 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
3739 coded-charset is a GR-set.
3741 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3743 * mule-charset.c (Fput_char_attribute): Check each element of
3744 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
3746 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
3748 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
3750 (Qethiopic_ucs): New variable in UTF-2000.
3751 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
3752 (complex_vars_of_mule_charset): Add new coded-charset
3753 `ethiopic-ucs' in UTF-2000.
3755 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
3756 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3758 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
3760 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
3762 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
3764 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
3767 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3769 * mule-charset.c (Vcharacter_variant_table): New variable.
3770 (Q_ucs): New variable.
3771 (Fchar_variants): New function.
3772 (Fput_char_attribute): Register `->ucs' value to
3773 `Vcharacter_variant_table'.
3774 (syms_of_mule_charset): Add new function `char-variants' and new
3776 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
3778 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3780 * mule-charset.c (get_char_code_table): Allow negative character
3782 (put_char_code_table): Likewise.
3783 (Vcharacter_composition_table): New variable.
3784 (Q_decomposition): New variable.
3785 (Qwide): New variable.
3786 (Qnarrow): New variable.
3787 (Qcompat): New variable.
3788 (QnoBreak): New variable.
3789 (Qsuper): New variable.
3790 (Qfraction): New variable.
3791 (to_char_code): New function.
3792 (Fget_composite_char): New function.
3793 (Fput_char_attribute): Register `->decomposition' value to
3794 `Vcharacter_composition_table'.
3795 (syms_of_mule_charset): Add new function `get-composite-char', new
3796 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
3797 `super' and `fraction'.
3798 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
3800 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
3802 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
3803 character; copy the return value.
3805 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3807 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
3809 * mule-charset.c (range_charset_code_point): Must use make_int.
3810 (split_builtin_char): New function.
3812 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3814 * mule-charset.c (char_byte_table): Change name from
3815 "char-code-table" to "char-byte-table".
3816 (mark_char_code_table): New function.
3817 (char_code_table_equal): New function.
3818 (char_code_table_hash): New function.
3819 (char_code_table_description): New constant.
3820 (char_code_table): New type.
3821 (make_char_code_table): New function.
3822 (copy_char_code_table): New function.
3823 (get_char_code_table): Modify for `char_code_table' type.
3824 (put_char_code_table): Likewise.
3825 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
3828 * char-ucs.h (char_code_table): New type.
3829 (XCHAR_CODE_TABLE): New macro.
3830 (XSETCHAR_CODE_TABLE): New macro.
3831 (CHAR_CODE_TABLE_P): New macro.
3832 (GC_CHAR_CODE_TABLE_P): New macro.
3833 (struct Lisp_Char_Code_Table): New structure.
3835 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3837 * mule-charset.c (Fmake_charset): Setup byte_offset for
3840 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
3842 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
3845 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3847 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
3850 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
3852 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
3853 charset, it is regarded as a charset.
3854 (put_char_attribute): New function in UTF-2000.
3855 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
3856 charset, mapping-table of the charset is modified.
3857 (Fdefine_char): New function in UTF-2000.
3858 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
3859 `Fput_char_attribute'.
3860 (syms_of_mule_charset): Add new function `define-char' and new
3861 symbol `ucs' in UTF-2000.
3862 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
3864 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3866 * mule-charset.c (Fcharset_name): Define `byte_offset' in
3867 non-UTF-2000 configuration.
3869 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3871 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
3872 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
3874 * mule-charset.c (mark_charset): `cs->encoding_table' has been
3876 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
3877 (Fset_charset_mapping_table): Likewise.
3879 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
3880 (CHARSET_ENCODING_TABLE): Delete.
3881 (XCHARSET_ENCODING_TABLE): Delete.
3882 (charset_code_point): New interface.
3884 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
3886 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
3887 instead of `charset_get_byte1' and `charset_get_byte2'.
3889 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
3890 (charset_get_byte2): Deleted.
3892 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
3894 * char-ucs.h (SPLIT_CHAR): New inline function.
3895 (breakup_char_1): Use `SPLIT_CHAR'.
3897 * mule-charset.c (range_charset_code_point): New function.
3898 (charset_code_point): New function.
3900 * char-ucs.h (range_charset_code_point): New interface.
3901 (breakup_char_1): Use `range_charset_code_point'.
3903 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3905 * mule-charset.c (Fmake_charset): Delete unused local variable
3908 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
3909 (breakup_char_1): Find a charset and code-point in
3910 `Vcharacter_attribute_table'.
3912 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
3914 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3917 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
3919 * mule-charset.c (Vcharacter_attribute_table): New variable.
3920 (Fchar_attribute_alist): New function.
3921 (Fget_char_attribute): New function.
3922 (Fput_char_attribute): New function.
3923 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
3925 (syms_of_mule_charset): Add new function `char-attribute-alist',
3926 `get-char-attribute' and `put-char-attribute'.
3927 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
3929 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
3931 * mule-charset.c (Fmake_charset): Just use
3932 `get_unallocated_leading_byte'.
3934 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
3935 sets; don't use final-byte based number for private sets.
3937 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3939 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
3942 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
3944 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3947 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3949 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
3950 of `CHAR_LEADING_BYTE' in UTF-2000.
3952 * insdel.c (find_charsets_in_bufbyte_string): Use
3953 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3954 (find_charsets_in_emchar_string): Likewise.
3956 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
3957 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
3959 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
3960 (CHAR_CHARSET_ID): New macro.
3962 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3964 * chartab.c (get_char_table): Don't use type `Charset_ID' for
3965 charset-id - MIN_LEADING_BYTE.
3966 (put_char_table): Likewise.
3968 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3970 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
3971 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
3972 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
3973 (CHARSET_ID_OFFSET): New macro.
3974 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
3975 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
3976 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
3977 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3979 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
3981 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
3982 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
3983 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
3984 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
3985 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
3987 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
3989 * mule-charset.c (next_allocated_leading_byte): New variable in
3991 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
3992 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
3993 (get_unallocated_leading_byte): Simply use
3994 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
3995 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
3998 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
3999 (MAX_LEADING_BYTE_PRIVATE): New macro.
4000 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4001 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4003 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4005 * mule-charset.c (Fmake_charset): Allocate final-byte based
4006 charset-id for 94-set, 96-set and 94x94-set.
4008 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4010 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4012 (Fmake_charset): Likewise.
4013 (complex_vars_of_mule_charset): Modify the font registry of
4014 `ucs-bmp' not to match `Ethiopic-Unicode'.
4016 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4018 * mule-charset.c (complex_vars_of_mule_charset): Add font
4019 registory of `ucs-bmp'.
4021 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4023 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4024 coded-charsets in `default-coded-charset-priority-list' when
4025 breaking up a character.
4027 * mule-charset.c (Vcharset_latin_viscii): New variable.
4028 (Qlatin_viscii): New variable.
4029 (make_charset): Don't use `decoding_table'.
4030 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4032 (Fset_charset_mapping_table): New implementation.
4033 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4034 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4035 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4036 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4037 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4038 charset `latin_viscii'.
4040 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4041 (CHARSET_TYPE_94X94): Change to 1 from 2.
4042 (CHARSET_TYPE_96): Change to 2 from 1.
4043 (CHARSET_TYPE_128): New macro.
4044 (CHARSET_TYPE_128X128): Change to 5 from 4.
4045 (CHARSET_TYPE_256): New macro.
4046 (CHARSET_TYPE_256X256): Change to 7 from 5.
4047 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4049 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4051 * text-coding.c (char_encode_shift_jis): Refer
4052 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4053 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4055 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4056 (char_byte_table_equal): New function in UTF-2000.
4057 (char_byte_table_hash): New function in UTF-2000.
4058 (char_byte_table_description): New constant in UTF-2000.
4059 (char_byte_table): New type in UTF-2000.
4060 (make_char_byte_table): New function in UTF-2000.
4061 (copy_char_byte_table): New function in UTF-2000.
4062 (make_char_code_table): New macro in UTF-2000.
4063 (get_char_code_table): New function in UTF-2000.
4064 (put_char_code_table): New function in UTF-2000.
4065 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4066 (charset_description): Add setting in UTF-2000.
4067 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4068 `CHARSET_TO_BYTE1_TABLE(cs)'.
4069 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4070 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4071 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4072 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4073 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4074 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4075 `CHARSET_TO_BYTE2_TABLE(cs)'.
4077 * char-ucs.h (char_byte_table): New type.
4078 (XCHAR_BYTE_TABLE): New macro.
4079 (XSETCHAR_BYTE_TABLE): New macro.
4080 (CHAR_BYTE_TABLE_P): New macro.
4081 (GC_CHAR_BYTE_TABLE_P): New macro.
4082 (struct Lisp_Char_Byte_Table): New structure.
4083 (get_char_code_table): New interface.
4084 (Emchar_to_byte_table): Deleted.
4085 (get_byte_from_character_table): Deleted.
4086 (struct Lisp_Charset): Add `encoding_table'; delete
4087 `to_byte1_table' and `to_byte2_table'.
4088 (CHARSET_ENCODING_TABLE): New macro.
4089 (CHARSET_TO_BYTE1_TABLE): Deleted.
4090 (CHARSET_TO_BYTE2_TABLE): Deleted.
4091 (XCHARSET_ENCODING_TABLE): New macro.
4092 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4093 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4095 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4097 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4098 `vietnamese-viscii-*'.
4100 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4102 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4103 (Qvietnamese_viscii_upper): New variable.
4104 (Fdefine_charset_alias): New function.
4105 (syms_of_mule_charset): Add new function `define-charset-alias'.
4106 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4107 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4110 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4112 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4113 (MAX_CHAR_OBS_94x94): New macro.
4114 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4117 * mule-charset.c (put_byte_from_character_table): Change unit size
4119 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4121 (Fmake_reverse_direction_charset): Modify dummy argument of
4122 `make_charset' for non-UTF-2000 environment.
4124 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4126 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4128 * mule-charset.c (destroy_byte_from_character_table): New macro.
4129 (latin_jisx0201_to_ucs): Deleted.
4130 (latin_iso8859_2_to_ucs): Deleted.
4131 (latin_iso8859_3_to_ucs): Deleted.
4132 (latin_iso8859_4_to_ucs): Deleted.
4133 (latin_iso8859_9_to_ucs): Deleted.
4134 (latin_viscii_lower_to_ucs): Deleted.
4135 (latin_viscii_upper_to_ucs): Deleted.
4136 (mark_charset): Mark `cs->decoding_table'.
4137 (Fcharset_mapping_table): Fix DOC-string.
4138 (Fset_charset_mapping_table): New function.
4139 (syms_of_mule_charset): Add nwe function
4140 `set-charset-mapping-table'.
4141 (complex_vars_of_mule_charset): Don't setup and use
4144 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4146 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4149 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4151 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4152 (Vcharset_katakana_jisx0208): New variable.
4153 (Qhiragana_jisx0208): New variable.
4154 (Qkatakana_jisx0208): New variable.
4155 (make_charset): Add new argument `byte_offset'.
4156 (charset_get_byte1): Modify for new coded-charset definition; use
4157 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4158 `XCHARSET_BYTE_OFFSET'.
4159 (Fmake_charset): Modify for `make_charset'.
4160 (Fmake_reverse_direction_charset): Likewise.
4161 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4162 `katakana-jisx0208'.
4163 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4164 `.' in font registry of charset `katakana-jisx0201',
4165 `latin-jisx0201', `vietnamese-viscii-lower' and
4166 `vietnamese-viscii-upper'; modify DOC-string of charset
4167 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4168 registry of charset `japanese-jisx0208' not to use font for JIS
4169 X0208:1990; add new charset `hiragana-jisx0208' and
4170 `katakana-jisx0208'.
4172 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4173 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4174 (struct Lisp_Charset): Add `byte_offset'.
4175 (CHARSET_BYTE_OFFSET): New macro.
4176 (XCHARSET_UCS_MIN): New macro.
4177 (XCHARSET_UCS_MAX): New macro.
4178 (XCHARSET_CODE_OFFSET): New macro.
4179 (XCHARSET_BYTE_OFFSET): New macro.
4180 (MIN_CHAR_HIRAGANA): New macro.
4181 (MAX_CHAR_HIRAGANA): New macro.
4182 (MIN_CHAR_KATAKANA): New macro.
4183 (MAX_CHAR_KATAKANA): New macro.
4184 (MAKE_CHAR): Modify for new coded-charset definition; use
4185 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4186 `XCHARSET_BYTE_OFFSET'.
4188 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4190 * mule-charset.c (CHAR96): Deleted.
4191 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4193 (latin_iso8859_2_to_ucs): Likewise.
4194 (latin_iso8859_3_to_ucs): Likewise.
4195 (latin_iso8859_4_to_ucs): Likewise.
4196 (latin_iso8859_9_to_ucs): Likewise.
4197 (latin_viscii_lower_to_ucs): Likewise.
4198 (latin_viscii_upper_to_ucs): Likewise.
4199 (latin_tcvn5712_to_ucs): Commented out.
4200 (make_charset): Change type of argument `decoding_table' from
4201 <Emchar*> to <Lisp_Object> [vector of characters].
4202 (Fmake_charset): Modify for `make_charset'.
4203 (Fmake_reverse_direction_charset): Likewise.
4204 (Fcharset_mapping_table): New function in UTF-2000.
4205 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4207 (complex_vars_of_mule_charset): Modify for type change of
4208 `*_to_ucs'; modify for `make_charset'.
4210 * char-ucs.h (struct Lisp_Charset): Change type of
4211 `decoding_table' from <Emchar*> to <Lisp_Object>.
4212 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4214 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4216 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4217 error with non-UTF-2000-Mule.
4219 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4221 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4223 (Vcharset_chinese_cns11643_4): Likewise.
4224 (Vcharset_chinese_cns11643_5): Likewise.
4225 (Vcharset_chinese_cns11643_6): Likewise.
4226 (Vcharset_chinese_cns11643_7): Likewise.
4227 (Qchinese_cns11643_3): Likewise.
4228 (Qchinese_cns11643_4): Likewise.
4229 (Qchinese_cns11643_5): Likewise.
4230 (Qchinese_cns11643_6): Likewise.
4231 (Qchinese_cns11643_7): Likewise.
4232 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4233 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4234 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4235 (complex_vars_of_mule_charset): Likewise.
4237 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4239 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4241 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4242 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4244 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4246 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4248 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4249 (breakup_char_1): Likewise.
4251 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4252 one of them includes the specified character.
4254 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4256 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4258 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4260 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4262 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4264 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4265 definition for non-UTF-2000 Mule.
4266 (latin_iso8859_3_to_ucs): Likewise.
4267 (latin_iso8859_4_to_ucs): Likewise.
4268 (latin_iso8859_9_to_ucs): Likewise.
4269 (latin_jisx0201_to_ucs): Likewise.
4270 (MIN_CHAR_THAI): Likewise.
4271 (MAX_CHAR_THAI): Likewise.
4272 (MIN_CHAR_GREEK): Likewise.
4273 (MAX_CHAR_GREEK): Likewise.
4274 (MIN_CHAR_HEBREW): Likewise.
4275 (MAX_CHAR_HEBREW): Likewise.
4276 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4277 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4278 (MIN_CHAR_CYRILLIC): Likewise.
4279 (MAX_CHAR_CYRILLIC): Likewise.
4281 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4283 * char-ucs.h (breakup_char_1): Use
4284 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4285 thai-tis620 and katakana-jisx0201 area.
4287 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4289 * char-ucs.h (breakup_char_1): Use
4290 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4293 * text-coding.c (reset_encoding_stream): Fixed.
4294 (char_encode_ucs4): Delete `& 255'.
4296 * char-ucs.h (breakup_char_1): Use
4297 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4299 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4301 * file-coding.c (Fmake_coding_system): Don't set up
4302 `codesys->fixed.size'.
4303 (encode_coding_no_conversion): Don't refer
4304 `str->codesys->fixed.size'.
4306 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4308 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4309 (latin_a_char_to_byte1): Deleted.
4310 (latin_a_char_to_byte2): Deleted.
4312 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4314 * mule-charset.c (make_charset): Add new argument `ucs_min',
4315 `ucs_max' and `code_offset'.
4316 (charset_get_byte1): New implementation [delete specific charset
4317 depended implementations].
4318 (Fmake_charset): Modify for `make_charset'.
4319 (Fmake_reverse_direction_charset): Likewise.
4320 (complex_vars_of_mule_charset): Likewise.
4322 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4324 (CHARSET_UCS_MIN): New macro.
4325 (CHARSET_UCS_MAX): New macro.
4326 (CHARSET_CODE_OFFSET): New macro.
4327 (MAKE_CHAR): Delete charset depended definitions [except
4330 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4332 * char-ucs.h (breakup_char_1): Use
4333 `Vdefault_coded_charset_priority_list' for C0-Controls,
4334 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4336 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4338 * char-ucs.h (charset_get_byte1): New function.
4339 (XCHARSET_GET_BYTE1): Deleted.
4340 (charset_get_byte2): New function.
4341 (XCHARSET_GET_BYTE2): Deleted.
4342 (Vdefault_coded_charset_priority_list): New external variable.
4343 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4344 `Vdefault_preferred_coded_charset_list'.
4346 * mule-charset.c (charset_get_byte1): New function.
4347 (charset_get_byte2): New function.
4348 (Vdefault_coded_charset_priority_list): New variable.
4349 (vars_of_mule_charset): Add new variable
4350 `default-coded-charset-priority-list'.
4352 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4354 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4355 (XCHARSET_GET_BYTE2): New inline function.
4356 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4357 `XCHARSET_GET_BYTE2'.
4359 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4361 * mule-charset.c (make_charset): Initialize
4362 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4363 NULL if table is not defined.
4365 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4367 * text-coding.c (char_encode_shift_jis): Use
4368 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4369 `ucs_to_latin_jisx0201'.
4371 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4372 (ucs_to_latin_iso8859_2): Deleted.
4373 (ucs_to_latin_iso8859_3): Deleted.
4374 (ucs_to_latin_iso8859_4): Deleted.
4375 (ucs_to_latin_iso8859_9): Deleted.
4376 (ucs_to_latin_viscii_lower): Deleted.
4377 (ucs_to_latin_viscii_upper): Deleted.
4378 (ucs_to_latin_tcvn5712): Deleted.
4379 (make_charset): Add new argument `decoding_table'; set up
4380 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4381 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4382 `decoding_table' is defined in UTF-2000.
4383 (Fmake_charset): Modify for `make_charset'.
4384 (Fmake_reverse_direction_charset): Likewise.
4385 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4386 and `GENERATE_96_SET'.
4388 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4389 (ucs_to_latin_jisx0201): Deleted.
4390 (latin_iso8859_2_to_ucs): Deleted.
4391 (ucs_to_latin_iso8859_2): Deleted.
4392 (latin_iso8859_3_to_ucs): Deleted.
4393 (ucs_to_latin_iso8859_3): Deleted.
4394 (latin_iso8859_4_to_ucs): Deleted.
4395 (ucs_to_latin_iso8859_4): Deleted.
4396 (latin_iso8859_9_to_ucs): Deleted.
4397 (ucs_to_latin_iso8859_9): Deleted.
4398 (latin_viscii_lower_to_ucs): Deleted.
4399 (ucs_to_latin_viscii_lower): Deleted.
4400 (latin_viscii_upper_to_ucs): Deleted.
4401 (ucs_to_latin_viscii_upper): Deleted.
4402 (struct Lisp_Charset): Renamed `encoding_table' to
4403 `to_byte1_table'; add `to_byte2_table'.
4404 (CHARSET_DECODING_TABLE): New macro.
4405 (CHARSET_TO_BYTE1_TABLE): New macro.
4406 (CHARSET_TO_BYTE2_TABLE): New macro.
4407 (XCHARSET_DECODING_TABLE): New macro.
4408 (XCHARSET_TO_BYTE1_TABLE): New macro.
4409 (XCHARSET_TO_BYTE2_TABLE): New macro.
4410 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
4412 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
4413 don't use `ucs_to_*' tables.
4415 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4417 * text-coding.c (Fmake_coding_system): Don't set up
4418 `codesys->fixed.size'.
4419 (encode_coding_no_conversion): Use `if' instead of `switch'.
4421 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
4423 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4425 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
4426 (Fmake_charset): Modify for `make_charset'.
4427 (Fmake_reverse_direction_charset): Likewise.
4428 (complex_vars_of_mule_charset): Likewise.
4430 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4432 * text-coding.c (char_encode_shift_jis): Use table
4433 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
4435 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4437 * text-coding.c (text_encode_generic): Use `if' instead of
4439 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
4442 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4444 * text-coding.c (encode_coding_sjis): Deleted.
4445 (char_encode_shift_jis): New function.
4446 (char_finish_shift_jis): New function.
4447 (reset_encoding_stream): Set up `encode_char' and `finish' for
4448 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
4449 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
4450 (char_encode_utf8): Treat `eol_type'.
4452 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4454 * file-coding.c (decode_coding_iso2022): Use
4455 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
4457 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4459 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4462 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4464 * char-lb.h (CHAR_COLUMNS): New macro.
4466 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4468 * text-coding.c (char_encode_ucs4): New function.
4469 (char_finish_ucs4): New function.
4470 (encode_coding_ucs4): Deleted.
4471 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
4472 (text_encode_generic): Delete local variable `charset' and `half'.
4473 (ucs_to_mule_table): Deleted.
4474 (mule_to_ucs_table): Deleted.
4475 (Fset_ucs_char): Deleted.
4476 (ucs_to_char): Deleted.
4477 (Fucs_char): Deleted.
4478 (Fset_char_ucs): Deleted.
4479 (Fchar_ucs): Deleted.
4480 (decode_ucs4): Deleted.
4481 (mule_char_to_ucs4): Deleted.
4482 (encode_ucs4): Deleted.
4483 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
4484 (decode_coding_utf8): Likewise.
4485 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
4486 (char_encode_iso2022): Fixed.
4487 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
4488 `Fset_char_ucs' and `Fchar_ucs'.
4489 (complex_vars_of_file_coding): Don't initialize
4490 `ucs_to_mule_table'.
4492 * objects-tty.c (tty_initialize_font_instance): Don't use
4495 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
4498 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
4499 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4501 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
4502 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4503 (emchar_string_displayed_columns): Likewise.
4505 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
4506 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
4507 (string_column_at_point): Likewise.
4508 (Fmove_to_column): Likewise.
4510 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
4511 `encoding_table' and `decoding_table'.
4512 (CHARSET_REP_BYTES): Deleted.
4513 (XCHARSET_REP_BYTES): Deleted.
4514 (XCHARSET_COLUMNS): Deleted.
4515 (CHAR_COLUMNS): New macro.
4516 (lookup_composite_char): Deleted unconditionally.
4517 (composite_char_string): Likewise.
4519 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4521 * char-ucs.h (Emchar_to_byte_table): New type.
4522 (get_byte_from_character_table): New function interface.
4523 (Vcharset_latin_jisx0201): New variable.
4524 (latin_jisx0201_to_ucs): New variable.
4525 (ucs_to_latin_jisx0201): New variable.
4526 (Vcharset_latin_iso8859_2): New variable.
4527 (latin_iso8859_2_to_ucs): New variable.
4528 (ucs_to_latin_iso8859_2): New variable.
4529 (Vcharset_latin_iso8859_3): New variable.
4530 (latin_iso8859_3_to_ucs): New variable.
4531 (ucs_to_latin_iso8859_3): New variable.
4532 (Vcharset_latin_iso8859_4): New variable.
4533 (latin_iso8859_4_to_ucs): New variable.
4534 (ucs_to_latin_iso8859_4): New variable.
4535 (Vcharset_latin_iso8859_9): New variable.
4536 (latin_iso8859_9_to_ucs): New variable.
4537 (ucs_to_latin_iso8859_9): New variable.
4538 (Vcharset_latin_viscii_lower): New variable.
4539 (latin_viscii_lower_to_ucs): New variable.
4540 (ucs_to_latin_viscii_lower): New variable.
4541 (Vcharset_latin_viscii_upper): New variable.
4542 (latin_viscii_upper_to_ucs): New variable.
4543 (ucs_to_latin_viscii_upper): New variable.
4544 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
4545 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
4546 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
4547 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
4548 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
4549 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
4550 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
4551 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
4552 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
4553 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
4555 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
4556 (Vcharset_latin_viscii_upper): New variable.
4557 (make_byte_from_character_table): New function.
4558 (put_byte_from_character_table): New function.
4559 (get_byte_from_character_table): New function.
4560 (CHAR96): New macro.
4561 (ucs_to_latin_jisx0201): New variable.
4562 (latin_jisx0201_to_ucs): New variable.
4563 (ucs_to_latin_iso8859_2): New variable.
4564 (latin_iso8859_2_to_ucs): New variable.
4565 (ucs_to_latin_iso8859_3): New variable.
4566 (latin_iso8859_3_to_ucs): New variable.
4567 (ucs_to_latin_iso8859_4): New variable.
4568 (latin_iso8859_4_to_ucs): New variable.
4569 (ucs_to_latin_iso8859_9): New variable.
4570 (latin_iso8859_9_to_ucs): New variable.
4571 (ucs_to_latin_viscii_lower): New variable.
4572 (latin_viscii_lower_to_ucs): New variable.
4573 (ucs_to_latin_viscii_upper): New variable.
4574 (latin_viscii_upper_to_ucs): New variable.
4575 (ucs_to_latin_tcvn5712): New variable.
4576 (latin_tcvn5712_to_ucs): New variable.
4577 (Qlatin_viscii_lower): New variable.
4578 (Qlatin_viscii_upper): New variable.
4579 (syms_of_mule_charset): Set up new symbol
4580 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
4581 (complex_vars_of_mule_charset): Set up new charset
4582 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
4583 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
4584 `ucs_to_<CHARSET>' tables.
4586 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4588 * text-coding.c: New file.
4590 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4592 * mule-charset.c (Fmake_char): Fix problem of 256-set.
4594 * char-ucs.h (Vcharset_ucs_bmp): New variable.
4595 (MAKE_CHAR): Modify for `ucs-bmp'.
4596 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
4597 non-MULE characters of BMP.
4599 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
4601 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4604 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
4607 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
4608 - Include character.h for `CHAR_ASCII_P'.
4610 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
4612 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
4613 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
4615 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
4616 (BYTE_C0_P): Likewise.
4617 (BYTE_C1_P): Likewise.
4618 (Lstream_get_emchar_1): Likewise.
4619 (Lstream_fput_emchar): Likewise.
4620 (Lstream_funget_emchar): Likewise.
4621 (copy_internal_to_external): Likewise.
4622 (copy_external_to_internal): Likewise.
4624 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
4625 (BYTE_C0_P): Likewise.
4626 (BYTE_C1_P): Likewise.
4627 (Lstream_get_emchar_1): Likewise.
4628 (Lstream_fput_emchar): Likewise.
4629 (Lstream_funget_emchar): Likewise.
4630 (copy_internal_to_external): Likewise.
4631 (copy_external_to_internal): Likewise.
4633 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
4634 (REP_BYTES_BY_FIRST_BYTE): Likewise.
4636 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
4637 (BYTE_ASCII_P): Moved to mb-1byte.h.
4639 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
4641 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
4643 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
4644 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
4645 (VALID_CHARPTR_P): Moved to mb-*byte.h.
4646 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4647 (VALIDATE_CHARPTR_FORWARD): Likewise.
4648 (simple_charptr_emchar): Moved to mb-multibyte.h.
4649 (simple_set_charptr_emchar): Likewise.
4650 (simple_charptr_copy_char): Likewise.
4651 (non_ascii_charptr_emchar): Likewise.
4652 (non_ascii_set_charptr_emchar): Likewise.
4653 (non_ascii_charptr_copy_char): Likewise.
4654 (charptr_emchar): Moved to mb-*byte.h.
4655 (set_charptr_emchar): Likewise.
4656 (charptr_copy_char): Likewise.
4658 * mb-1byte.h, mb-multibyte.h: New files.
4660 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4662 * mb-utf-8.h (MULTIBYTE): New macro.
4663 (MAX_EMCHAR_LEN): Moved from buffer.h.
4664 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
4666 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
4668 * mb-lb.h, multibyte.h: New files.
4670 * char-1byte.h (Charset_ID): Moved from buffer.h.
4671 (MIN_LEADING_BYTE): Likewise.
4672 (LEADING_BYTE_ASCII): Likewise.
4673 (NUM_LEADING_BYTES): Likewise.
4674 (CHARSETP): Likewise.
4675 (CHARSET_BY_LEADING_BYTE): Likewise.
4676 (XCHARSET_LEADING_BYTE): Likewise.
4677 (XCHARSET_GRAPHIC): Likewise.
4678 (XCHARSET_COLUMNS): Likewise.
4679 (XCHARSET_DIMENSION): Likewise.
4680 (CHAR_CHARSET): Likewise.
4681 (CHAR_LEADING_BYTE): Likewise.
4682 (BREAKUP_CHAR): Likewise.
4683 (Vcharset_ascii): Likewise.
4685 * buffer.h: Include multibyte.h unconditionally.
4686 (VALID_CHARPTR_P): Moved to multibyte.h.
4687 (ASSERT_VALID_CHARPTR): Likewise.
4688 (REAL_INC_CHARPTR): Likewise.
4689 (REAL_INC_CHARBYTIND): Likewise.
4690 (REAL_DEC_CHARPTR): Likewise.
4691 (INC_CHARPTR): Likewise.
4692 (INC_CHARBYTIND): Likewise.
4693 (DEC_CHARPTR): Likewise.
4694 (VALIDATE_CHARPTR_BACKWARD): Likewise.
4695 (VALIDATE_CHARPTR_FORWARD): Likewise.
4696 (charptr_n_addr): Likewise.
4697 (MAX_EMCHAR_LEN): Moved to mb-*.h.
4698 (simple_charptr_emchar): Moved to multibyte.h.
4699 (simple_set_charptr_emchar): Likewise.
4700 (simple_charptr_copy_char): Likewise.
4701 (non_ascii_charptr_emchar): Likewise.
4702 (non_ascii_set_charptr_emchar): Likewise.
4703 (non_ascii_charptr_copy_char): Likewise.
4704 (charptr_emchar): Likewise.
4705 (set_charptr_emchar): Likewise.
4706 (charptr_copy_char): Likewise.
4707 (charptr_emchar_n): Likewise.
4708 (Charset_ID): Moved to char-1byte.h.
4709 (Vcharset_ascii): Likewise.
4710 (CHAR_CHARSET): Likewise.
4711 (CHAR_LEADING_BYTE): Likewise.
4712 (LEADING_BYTE_ASCII): Likewise.
4713 (NUM_LEADING_BYTES): Likewise.
4714 (MIN_LEADING_BYTE): Likewise.
4715 (CHARSETP): Likewise.
4716 (CHARSET_BY_LEADING_BYTE): Likewise.
4717 (XCHARSET_LEADING_BYTE): Likewise.
4718 (XCHARSET_GRAPHIC): Likewise.
4719 (XCHARSET_COLUMNS): Likewise.
4720 (XCHARSET_DIMENSION): Likewise.
4721 (BREAKUP_CHAR): Likewise.
4723 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4725 * character.h: Add document about interface for characters.
4727 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
4728 (MAKE_CHAR): Delete comment about
4729 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
4730 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
4731 (BREAKUP_CHAR): Modify name of arguments.
4732 (CHAR_CHARSET): Modify name of argument.
4734 * buffer.h: Delete document about Emchar accessors.
4736 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4738 * character.h (CHAR_INTP): Moved from buffer.h
4739 (CHAR_OR_CHAR_INTP): Likewise.
4740 (XCHAR_OR_CHAR_INT): Likewise.
4741 (CHECK_CHAR_COERCE_INT): Likewise.
4743 * buffer.h (CHAR_INTP): Moved to character.h
4744 (CHAR_OR_CHAR_INTP): Likewise.
4745 (XCHAR_OR_CHAR_INT): Likewise.
4746 (CHECK_CHAR_COERCE_INT): Likewise.
4748 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4751 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
4752 - Include char-1byte.h, char-lb.h or char-ucs.h.
4754 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
4756 * buffer.h: Include character unconditionally.
4757 (valid_char_p): Moved to char-*.h.
4758 (non_ascii_valid_char_p): Moved to char-lb.h.
4760 * char-1byte.h, char-lb.h, char-ucs.h: New files.
4762 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
4764 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
4765 in UTF-2000 because it is not ported yet and not to use
4766 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
4767 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
4768 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
4770 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
4771 (CHAR_ASCII_P): Moved from character.h.
4773 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
4774 (CHAR_ASCII_P): Likewise.
4775 (CHAR_FIELD1_MASK): Deleted.
4776 (CHAR_FIELD2_MASK): Deleted.
4777 (CHAR_FIELD3_MASK): Deleted.
4778 (MAX_CHAR_BASIC_LATIN): New macro.
4779 (CHAR_FIELD1): Deleted.
4780 (CHAR_FIELD2_INTERNAL): Deleted.
4781 (CHAR_FIELD3_INTERNAL): Deleted.
4782 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
4783 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
4784 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
4785 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
4786 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
4787 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
4788 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
4789 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
4790 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
4791 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
4792 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
4793 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
4794 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
4795 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
4796 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
4797 (MIN_CHAR_COMPOSITION): Deleted.
4798 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
4799 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
4801 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
4803 * buffer.h: Include mb-utf-8.h in UTF-2000.
4805 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
4807 * mb-utf-8.h: New file.
4809 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
4811 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
4814 * mule-charset.h, buffer.h (Charset_ID): New type.
4816 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4818 * mule-canna.c (c2mu): Use `MAKE_CHAR',
4819 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
4820 instead of `MULE_CHAR_PRIVATE_OFFSET',
4821 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
4822 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
4823 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
4825 * character.h (Vcharset_japanese_jisx0212): New variable
4828 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
4830 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
4831 (charset_by_attributes): Delete array about direction.
4832 (latin_a_char_to_charset): New variable in UTF-2000.
4833 (latin_a_char_to_byte1): New variable in UTF-2000.
4834 (latin_a_char_to_byte2): New variable in UTF-2000.
4835 (Qucs_bmp): New variable.
4836 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
4838 (next_allocated_2_byte_leading_byte): Likewise.
4839 (non_ascii_set_charptr_emchar): Likewise.
4840 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
4841 `CHARSET_TYPE_256X256' in UTF-2000; modify for
4842 `charset_by_attributes'.
4843 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
4844 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
4845 and `CHARSET_BY_LEADING_BYTE'.
4846 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
4847 `utf-2000-version' to `vars_of_mule_charset'.
4848 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
4849 define `leading-code-private-11' in UTF-2000; move setting of
4850 `utf-2000-version' from `syms_of_mule_charset'.
4851 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
4854 * character.h (Charset_ID): New type.
4855 (LEADING_BYTE_UCS_BMP): New macro.
4856 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
4857 (CHARSET_ID_OFFSET_94): New macro.
4858 (MIN_CHARSET_ID_PRIVATE_94): New macro.
4859 (MAX_CHARSET_ID_PRIVATE_94): New macro.
4860 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
4862 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
4863 (LEADING_BYTE_LATIN_JISX0201): Likewise.
4864 (CHARSET_ID_OFFSET_96): New macro.
4865 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
4866 CHARSET_ID_OFFSET_96 and final-byte.
4867 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
4868 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
4869 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
4870 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
4871 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
4872 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
4873 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
4874 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
4875 (LEADING_BYTE_THAI_TIS620): Likewise.
4876 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
4877 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
4878 (CHARSET_ID_OFFSET_94x94): New macro.
4879 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
4880 CHARSET_ID_OFFSET_94x94 and final-byte.
4881 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
4882 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
4883 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
4884 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
4885 (LEADING_BYTE_CHINESE_GB2312): Likewise.
4886 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
4887 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
4888 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
4889 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
4890 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
4891 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
4892 (CHARSET_TYPE_128X128): New macro.
4893 (CHARSET_TYPE_256X256): New macro.
4894 (XCHARSET_PRIVATE_P): Delete unconditionally.
4895 (charset_by_attributes): Delete array about direction.
4896 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
4897 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
4898 (MIN_CHAR_94): New macro.
4899 (MAX_CHAR_94): New macro.
4900 (MIN_CHAR_96): New macro.
4901 (MAX_CHAR_96): New macro.
4902 (MIN_CHAR_94x94): New macro.
4903 (MAX_CHAR_94x94): New macro.
4904 (MIN_CHAR_96x96): New macro.
4905 (MAX_CHAR_96x96): New macro.
4906 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
4907 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4908 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
4910 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
4911 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
4912 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
4913 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
4914 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
4915 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
4916 `XCHARSET_LEADING_BYTE' to make code-point.
4917 (latin_a_char_to_charset): New variable.
4918 (latin_a_char_to_byte1): New variable.
4919 (latin_a_char_to_byte2): New variable.
4920 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
4921 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
4922 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
4924 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
4925 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
4926 (find_charsets_in_emchar_string): Likewise.
4927 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
4929 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
4931 (decode_coding_iso2022): Likewise.
4933 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
4936 * redisplay.c (redisplay_text_width_emchar_string): Use
4937 `Charset_ID' instead of `unsigned char'.
4938 (redisplay_frame_text_width_string): Likewise.
4940 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
4943 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
4944 instead of `unsigned char'.
4945 (face_cachel_charset_font_metric_info): Likewise.
4947 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
4948 (get_non_ascii_char_table_value): Likewise.
4949 (get_char_table): Likewise.
4950 (put_char_table): Likewise.
4951 (map_over_other_charset): Likewise.
4952 (map_char_table): Likewise.
4954 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
4955 instead of `unsigned char'.
4957 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
4959 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
4960 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
4962 * mule-charset.c (leading_code_private_11): Don't define in
4965 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
4966 in UTF-2000 because it is not ported yet and not to use
4967 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
4969 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
4971 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
4973 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4975 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
4978 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
4979 of unsigned char to store leading-byte.
4981 * chartab.c (get_non_ascii_char_table_value): Don't use
4982 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
4984 * file-coding.c (encode_coding_big5): Delete bogus implementation
4987 * character.h (LEADING_BYTE_*): Delete definition for
4989 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
4990 (LEADING_BYTE_PREFIX_P): Deleted.
4991 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
4992 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
4993 (BUFBYTE_LEADING_BYTE_P): Deleted.
4994 (CHARSET_PRIVATE_P): Deleted unconditionally.
4995 (rep_bytes_by_first_byte): Deleted unconditionally.
4996 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
4997 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
4998 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
4999 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5000 (CHAR_FIELD2): Deleted.
5001 (CHAR_FIELD3): Deleted.
5002 (MAKE_CHAR): Delete definition for non-UTF-2000.
5003 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5004 (breakup_char_1): New implementation.
5005 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5006 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5008 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5010 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5013 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5015 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5016 (CHARSET_PRIVATE_P): Likewise.
5017 (XCHARSET_PRIVATE_P): Likewise.
5018 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5020 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5022 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5024 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5026 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5027 (NUM_LEADING_BYTES): Changed from 128 to 256.
5028 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5029 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5031 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5033 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5035 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5036 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5037 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5038 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5039 (Qchinese_cns11643_3): New variable in UTF2000.
5040 (Qchinese_cns11643_4): New variable in UTF2000.
5041 (Qchinese_cns11643_5): New variable in UTF2000.
5042 (Qchinese_cns11643_6): New variable in UTF2000.
5043 (Qchinese_cns11643_7): New variable in UTF2000.
5044 (syms_of_mule_charset): Define `chinese-cns11643-3',
5045 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5046 and `chinese-cns11643-7' in UTF2000.
5047 (vars_of_mule_charset): Initialize
5048 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5050 (complex_vars_of_mule_charset): Setup charset
5051 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5052 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5054 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5056 * mule-charset.c: Move setting for `leading-code-private-11' from
5057 `syms_of_mule_charset' to `vars_of_mule_charset'.
5059 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5061 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5062 and `NUM_LEADING_BYTES' in assert.
5064 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5066 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5068 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5069 `NUM_LEADING_BYTES' instead of 128.
5071 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5073 * mule-charset.h (charset_by_leading_byte): Use
5074 `NUM_LEADING_BYTES' instead of 128.
5075 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5077 * mule-charset.c (charset_by_leading_byte): Use
5078 `NUM_LEADING_BYTES' instead of 128.
5079 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5081 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5084 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5086 * mule-charset.c (syms_of_mule_charset): Update to
5089 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5091 * file-coding.c (encode_coding_sjis): New implementation for
5092 UTF2000. (decode_coding_sjis): Ditto.
5094 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5096 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5097 Don't define in UTF2000.
5099 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5102 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5103 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5106 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5108 * config.h.in (CHAR_IS_UCS4): New macro.
5110 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5111 conventional MULE representation.
5112 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5114 * mule-charset.h: Reverted to original.
5116 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5117 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5118 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5120 * character.h: New file.
5122 * file-coding.c (Fmake_coding_system): Set 1 to
5123 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5125 (encode_coding_no_conversion): New implementation for UTF2000.
5127 * file-coding.h (struct Lisp_Coding_System): Add new member
5130 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5132 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5133 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5134 (encode_coding_iso2022): New implementation for UTF2000.
5136 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5138 * mule-canna.c (c2mu): New implementation for UTF2000.
5141 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5143 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5145 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5147 * file-coding.c (reset_encoding_stream): Set 0 to
5148 `str->iso2022.current_char_boundary' in UTF2000.
5149 (encode_utf8): Don't define in UTF2000.
5150 (encode_coding_utf8): New implementation for UTF-8 representation
5152 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5154 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5156 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5158 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5160 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5162 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5164 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5165 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5166 as UTF-8 in UTF2000.
5167 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5168 (non_ascii_valid_char_p): Don't define in UTF2000.
5169 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5170 (Lstream_get_emchar_1): Likewise.
5171 (utf-2000-version): New variable in UTF2000.
5173 * lread.c (read_escape): Add new reader `u'.
5175 * insdel.c (three_to_one_table): Don't define in UTF2000.
5176 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5177 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5179 (bytind_to_bufpos_func): Likewise.
5180 (buffer_mule_signal_inserted_region): Likewise.
5181 (vars_of_insdel): Don't initialize `three_to_one_table'.
5182 (init_buffer_text): Use `buf->text->mule_size' instead of
5183 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5186 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5187 UTF-8 representation in UTF2000.
5188 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5189 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5190 (decode_coding_iso2022): Don't define local variable `lb' in
5191 UTF2000; don't use LEADING_BYTE in UTF2000; use
5192 `DECODE_ADD_UCS_CHAR' in UTF2000.
5193 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5195 * config.h.in (UTF2000): New macro.
5197 * buffer.h (struct buffer_text): Add new member `mule_size' and
5198 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5199 (valid_char_p): Return always 1 in UTF2000.
5200 (MAX_EMCHAR_LEN): 6 in UTF2000.
5201 (three_to_one_table): Don't define in UTF2000.
5202 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5204 (real_bytind_to_bufpos): Likewise.
5206 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5208 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5210 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5211 representation change.
5212 (Vutf_2000_version): New variable.
5213 (leading_code_private_11): New variable.
5214 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5215 `leading-code-private-11'.
5217 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5218 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5219 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5220 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5221 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5222 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5223 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5224 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5225 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5226 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5227 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5228 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5229 (MIN_CHAR_GREEK): New macro.
5230 (MAX_CHAR_GREEK): New macro.
5231 (MIN_CHAR_CYRILLIC): New macro.
5232 (MAX_CHAR_CYRILLIC): New macro.
5233 (MIN_CHAR_HEBREW): New macro.
5234 (MAX_CHAR_HEBREW): New macro.
5235 (MIN_CHAR_THAI): New macro.
5236 (MAX_CHAR_THAI): New macro.
5237 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5238 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5239 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5240 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5241 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5242 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5243 (CHAR_FIELD2): New inline function.
5244 (CHAR_FIELD3): New inline function.
5245 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5246 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5247 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5248 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5249 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5250 (MIN_CHAR_COMPOSITION): Likewise.
5251 (CHAR_LEADING_BYTE): Modified for character representation change.
5252 (MAKE_CHAR): Likewise.
5254 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5255 (Vcharset_greek_iso8859_7): Likewise.
5256 (Vcharset_cyrillic_iso8859_5): Likewise.
5257 (Vcharset_hebrew_iso8859_8): Likewise.
5258 (Vcharset_thai_tis620): Likewise.
5259 (Vcharset_katakana_jisx0201): Likewise.
5261 2003-09-03 Vin Shelton <acs@xemacs.org>
5263 * XEmacs 21.4.14 is released
5265 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
5267 * config.h.in (REGEX_MALLOC): Make it configure'able.
5269 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
5271 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
5273 * sysdll.c (dll_init):
5274 * sysdll.c (dll_open):
5275 * sysdll.c (dll_close):
5276 * sysdll.c (dll_function):
5277 * sysdll.c (dll_variable):
5278 * sysdll.c (dll_error):
5279 Add support for loading bundles using Darwin/MacOSX
5282 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
5284 * process.c (start-process-internal): Document coding systems.
5286 2003-07-30 Jerry James <james@xemacs.org>
5288 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
5290 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
5292 * event-msw.c (mswindows_enqueue_mouse_button_event):
5293 * event-msw.c (mswindows_wnd_proc):
5294 enqueue button event when scrollwheel event isn't handled by
5295 mswindows_handle_mousewheel_event, such as when the scrollbars
5298 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
5300 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
5302 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
5304 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
5306 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
5308 * regex.c (re_match_2_internal): Fix matching degenerate word
5311 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
5313 * XEmacs 21.4.13 is released
5315 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
5317 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
5318 * lisp.h (<inttypes.h>):
5319 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
5322 2003-03-15 Martin Buchholz <martin@xemacs.org>
5324 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
5325 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
5326 Result: "temacs can only be run in -batch mode."
5327 Fix: Check xemacs executable candidate for directory-ness.
5329 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
5331 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
5332 they conflict with <sys/types.h>.
5334 2003-02-14 Martin Buchholz <martin@xemacs.org>
5336 * database.c: Berkeley DB wants __STDC__ to be defined.
5338 2003-02-13 Martin Buchholz <martin@xemacs.org>
5340 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
5342 2003-02-01 Martin Buchholz <martin@xemacs.org>
5344 * process-unix.c (unix_send_process): Fix C++ compile error.
5346 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
5348 * Added .dylib as an acceptable shared library file extension
5349 * to support MacOSX.
5351 2003-02-01 Martin Buchholz <martin@xemacs.org>
5353 * EmacsFrameP.h (EmacsFramePart):
5354 Kludge to allow compiling with Motif1, but linking with Motif2.
5356 2003-01-28 Martin Buchholz <martin@xemacs.org>
5358 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
5361 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
5363 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
5365 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
5367 * sysdll.c: Included lisp.h to define needed alloca_array.
5369 2003-02-13 Martin Buchholz <martin@xemacs.org>
5371 Make XEmacs redisplay 10 times faster.
5372 If, that is, you're using a slow X connection and MoveOpaque.
5373 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
5374 Use compress_motion = TRUE.
5375 * EmacsFrame.c (emacsFrameClassRec):
5376 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
5377 * EmacsManager.c (emacsManagerClassRec):
5378 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
5380 2003-01-30 Vin Shelton <acs@xemacs.org>
5382 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
5384 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
5386 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
5387 Patch by Martin Buchholz.
5389 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
5391 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
5392 Thanks to icc for warning and Martin Buchholz for reporting.
5394 2003-01-29 Vin Shelton <acs@xemacs.org>
5396 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
5398 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
5399 remember to multiply by the element size.
5401 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
5403 * XEmacs 21.4.12 "Portable Code" is released.
5405 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
5407 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
5408 * s/cygwin.sc: new linker file.
5410 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
5412 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
5414 * redisplay-x.c (x_output_string): Use X11-specified types.
5415 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
5416 * emacs.c (__free_hook): Use typeof with Intel compiler.
5417 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
5419 2003-01-08 Andy Piper <andy@xemacs.org>
5421 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
5422 reserve size during unexec().
5424 2003-01-07 Daiki Ueno <daiki@xemacs.org>
5426 * process-unix.c (unix_create_process): Don't let outchannel block.
5428 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
5430 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
5431 Needed for IsBadReadPtr().
5433 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
5435 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
5437 2002-12-14 Ben Wing <ben@xemacs.org>
5439 * callint.c: Declaration error.
5441 * dumper.c (pdump_load): Warning fix.
5442 * process.c: GCPRO error.
5443 * glyphs.c (unmap_subwindow):
5444 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
5445 * event-stream.c (maybe_kbd_translate): Wrong argument to
5446 character_to_event().
5448 * alloc.c (garbage_collect_1):
5450 * emacs.c (debug_can_access_memory):
5451 * emacs.c (fatal_error_signal):
5452 * emacs.c (mswindows_handle_hardware_exceptions):
5455 * emacs.c (assert_failed):
5456 * emacs.c (syms_of_emacs):
5459 * print.c (std_handle_out_va):
5460 * print.c (write_string_to_stdio_stream):
5461 * print.c (write_fmt_string):
5462 * print.c (printing_badness):
5463 * print.c (printing_major_badness):
5464 * print.c (print_internal):
5465 * print.c (debug_print_no_newline):
5466 * print.c (debug_backtrace):
5467 Be more defensive in handling bad values when printing. Add code
5468 from trunk involving inhibit_non_essential_printing_operations.
5469 When going down or in debug_print(), don't do external conversion
5470 and such and try really, really hard when printing to avoid core
5471 dumping. Add force-debugging-signal, debug_break().
5473 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
5475 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
5476 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
5478 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
5480 * database.c: Fix open_database. Berkeley DB API has changed in
5481 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
5483 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
5485 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
5487 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
5489 * event-Xt.c (Xt_timeout):
5490 (Xt_timeout_callback):
5491 (emacs_Xt_add_timeout):
5492 (emacs_Xt_remove_timeout):
5493 (Xt_timeout_to_emacs_event):
5494 Turn completed_timeouts from a stack into a queue. Fixes
5495 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
5497 2002-11-07 Wolfram Gloger <wg@malloc.de>
5499 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
5500 * emacs.c (main): Assert that mmap'd allocation is disabled.
5502 2002-10-14 Andy Piper <andy@xemacs.org>
5504 * glyphs-widget.c (layout_query_geometry): add in fiddle
5505 factor. Include border text in width layout calculation.
5506 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
5508 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
5510 * XEmacs 21.4.10 "Military Intelligence" is released.
5512 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
5514 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
5515 using the NAS private array SoundFileInfo that no longer exists in
5516 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
5517 and earlier. This is broken for some versions between 1.5a and
5520 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
5522 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
5524 * emacs.c (shut_down_emacs): Improve crash message.
5526 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
5528 * file-coding.c (determine_real_coding_system): Check for coding
5529 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
5530 shebangs and Python PEP 263.
5532 2002-10-08 Andy Piper <andy@xemacs.org>
5534 * glyphs-widget.c (layout_query_geometry): only resize dynamically
5535 if static sizes haven't been set.
5537 2002-08-30 Mike Alexander <mta@arbortext.com>
5539 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
5542 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
5544 * callproc.c (child_setup): 21.4 doesn't have retry_close.
5546 2002-09-20 Mike Sperber <mike@xemacs.org>
5548 (This partially gets back my patch from 2002-07-20 without the
5550 * callproc.c (child_setup): Remove Ben's comment noting confusion
5551 over the file descriptors >= 3: close_process_descs() doesn't
5552 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
5553 * process-unix.c (unix_create_process): Call
5554 begin_dont_check_for_quit to inhibit unwanted interaction (and
5555 thus breaking of X event synchronicity) in the child.
5557 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
5559 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
5562 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
5564 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
5565 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
5566 the xemacs process did not exit, but looped infinitely here. This
5569 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
5571 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
5572 (find_context): Improve comments.
5574 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
5575 (re_match_2): An XCHAR_TABLE operation was missing.
5577 Many of the following changes were inspired by Andy Piper's (now
5578 obsolete) patch to make syntax-table text property lookup optional.
5582 * syntax.h (top level): Document semantics of syntax flags.
5583 * syntax.c (comstr_start, Fforward_comment): Improve comments.
5584 * syntax.c, syntax.h (top level): Document syntax cache better in
5587 [Instrument syntax caching (temporary change)]
5589 * syntax.h (enum syntax_cache_statistics_functions, struct
5590 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
5591 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
5592 * syntax.c (scan_words, Fforward_comment, scan_lists,
5593 Fbackward_prefix_characters):
5594 * font-lock.c (find_context):
5595 Use them to instrument syntax caching.
5596 * syntax.c (struct syntax_cache_statistics, scs_statistics,
5597 syntax_cache_statistics_function_names): New type and variables.
5598 * syntax.c (update_syntax_cache): Update and report statistics.
5600 [Major syntax cache optimizations]
5602 syntax.c (lookup_syntax_properties): Default off.
5604 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
5605 * syntax.c (update_syntax_cache):
5606 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
5608 [Minor syntax cache optimizations and code clarifications]
5610 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
5611 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
5612 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
5613 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
5614 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
5615 (Code clarification.)
5617 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
5618 scan_lists): Compute code from syncode, use Boolean macros instead
5619 of redundant masking operations. (Code clarification; any decent
5620 compiler can do this optimization.)
5622 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
5625 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
5626 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
5627 use F*_single_property_change instead of F*_extent_change.
5628 Currently F*_single_property_change is _much_ less efficient.
5630 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
5631 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
5632 syntax_cache.object properly, don't leave Qt or Qnil.
5633 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
5634 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
5635 tests for Qt or Qnil.
5637 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
5639 * redisplay.c (point_in_line_start_cache):
5640 * extents.c (print_extent_1):
5643 * extents.c (Fset_extent_property): Document `syntax-table' property.
5645 * extents.h (Fnext_single_property_change): EXFUN it.
5647 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5649 * search.c (clear_unused_search_regs): New static function.
5653 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
5654 Minor clarifications in comments.
5656 * regex.c (re_match_2_internal): Ensure no stale submatches.
5658 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
5660 * event-Xt.c (enqueue_focus_event): Add missing prototype.
5662 2002-08-29 Jerry James <james@xemacs.org>
5664 * lisp.h: structrures -> structures.
5666 2002-06-03 Andy Piper <andy@xemacs.org>
5668 * frame.c (frame_conversion_internal): add conversion appropriate
5669 for setting frame dimensions in pixels.
5671 * console.h (struct console_methods): add device-specific widget
5674 * emacs.c (main_1): initialize glyph vars.
5676 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
5677 (handle_focus_event_2): new function. Allow focus to
5678 be set to a particular window and widget.
5679 (enqueue_focus_event): new function. Create a
5680 synthetic focus event.
5681 (emacs_Xt_handle_magic_event): call
5682 handle_focus_event_2.
5684 * frame.c (Fset_frame_pixel_height): new function. Allow
5685 pixel-based sizing. Does the right thing on character-oriented
5687 (Fset_frame_pixel_width): ditto.
5688 (Fset_frame_pixel_size): ditto.
5689 (syms_of_frame): declare.
5691 * general-slots.h: add :vertically-justify and
5692 :horizontally-justify.
5694 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
5695 (mswindows_widget_border_width): new function.
5696 (mswindows_combo_box_instantiate): set border widths.
5697 (console_type_create_glyphs_mswindows): declare.
5700 (check_valid_justification): allow vertical and horizontal
5702 (widget_border_width): new function. Call device methods.
5703 (widget_instance_border_width): ditto.
5704 (logical_unit_height): new function. Determine the height of a
5705 logical-unit. Logical units are intended to provide grid-like
5706 layout for subcontrols in a layout. If the layout is
5707 :vertically-justify top then subcontrols will be positioned on
5708 logical-unit boundaries, thus allowing adjacent subcontrols to
5710 (widget_logical_unit_height): ditto for widgets.
5711 (redisplay_widget): misc cleanup.
5712 (widget_spacing): new function. Call device specific
5713 methods. Intended to be the default gap between adjacent widgets.
5714 (widget_query_geometry): use new spacing functions to determine
5715 appropriate geometry.
5716 (initialize_widget_image_instance): initialize horizontal and
5717 vertical justification.
5718 (widget_instantiate): use logica-units where appropriate for
5719 sizing large widgets.
5720 (button_query_geometry): use widget_instance_border_width.
5721 (tree_view_query_geometry): ditto.
5722 (tab_control_query_geometry): ditto.
5723 (edit_field_query_geometry): new function.
5724 (layout_update): pick up :justify, :horizontally-justify and
5725 :vertically-justify none of which worked previously. :justify is
5726 used as a fallback for both horizontal and vertical justification.
5727 (layout_query_geometry): use logical units to size appropriately.
5728 (layout_layout): ditto.
5729 (Fwidget_logical_to_character_width): new function. Allow users to
5730 convert from logical units to characters so that frame sizes can
5731 be set appropriately.
5732 (Fwidget_logical_to_character_height): ditto.
5733 (syms_of_glyphs_widget): declare.
5734 (image_instantiator_edit_fields): add edit_field_query_geometry.
5735 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
5736 :horizontally-justify.
5737 (specifier_vars_of_glyphs_widget): new function. Declare
5738 Vwidget_border_width which is not yet used.
5740 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
5741 (x_widget_border_width): new function.
5742 (x_widget_instantiate): create a sensible name for widgets.
5743 (console_type_create_glyphs_x): declare x_widget_border_width.
5745 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
5746 (struct Lisp_Image_Instance): add :vertically-justify and
5747 :horizontally-justify.
5748 (LAYOUT_JUSTIFY_TOP): new.
5749 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
5750 (ROUND_UP): new macro. Round argument up to next integral
5753 * redisplay-output.c (redisplay_output_layout): misc formatting.
5755 * symsinit.h: declare specifier_vars_of_glyphs_widget.
5757 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
5759 * XEmacs 21.4.9 "Informed Management" is released.
5761 2002-08-19 Andy Piper <andy@xemacs.org>
5763 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
5766 * realpath.c (xrealpath): normalize drive spec also so that dir
5767 sep chars are not mixed on cygwin.
5769 2002-08-06 Jerry James <james@xemacs.org>
5771 * window.c (Fsplit_window): Count only half of the divider width
5772 against the left window when splitting horizontally.
5774 2002-06-24 Andy Piper <andy@xemacs.org>
5776 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
5777 toolbar was cleared.
5779 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
5780 function. Split out from mswindows_output_frame_toolbars.
5781 (mswindows_output_frame_toolbars): move clear pieces to
5782 mswindows_output_frame_toolbars.
5784 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
5785 out from gtk_output_frame_toolbars.
5786 (gtk_output_frame_toolbars): move clear pieces to
5787 gtk_clear_frame_toolbars.
5789 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
5790 the frame is cleared. How this ever worked before is a mystery.
5791 (x_output_frame_toolbars): Only output toolbars.
5792 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
5794 * gutter.c (update_gutter_geometry):
5795 Mark frame layout changed.
5796 (update_frame_gutter_geometry, update_frame_gutters):
5797 Respect frame_layout_changed.
5799 * console.h (struct console_methods): add
5800 clear_frame_toolbars_method.
5802 * redisplay.c (redisplay_frame): call
5803 update_frame_toolbars_geometry and re-order update_frame_toolbars.
5805 * toolbar.h: declare update_frame_toolbars_geometry.
5807 * toolbar.c (update_frame_toolbars_geometry): new function. Split
5808 out from update_frame_toolbars. Call clear_frame_toolbars.
5809 (update_frame_toolbars): only output, do not change geometry.
5811 * redisplay.c: add frame_layout_changed.
5813 * redisplay.h: add frame_layout_changed.
5814 (CLASS_RESET_CHANGED_FLAGS): set it.
5815 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
5816 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
5817 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
5819 * device.h (struct device): add frame_layout_changed.
5820 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
5822 * frame.h (struct frame): add frame_layout_changed.
5823 (MARK_FRAME_LAYOUT_CHANGED): new.
5825 2002-06-30 Mike Alexander <mta@arbortext.com>
5827 * event-msw.c (mswindows_need_event): Don't wait for a new message
5828 if the queue is not empty. Suggested by Paul Moore.
5830 2002-06-12 Andy Piper <andy@xemacs.org>
5832 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
5833 for printing on accurately.
5835 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
5837 * event-msw.c (mswindows_wnd_proc): Add a handler for the
5838 WM_ACTIVATE message. Make sure that the frame is visible if the
5839 window is visible. This seemss to fix the problem where XEmacs
5840 appears to freeze after switching desktops with certain virtual
5842 (debug_output_mswin_message): Added code to output message
5843 parameters for WM_WINDOWPOSCHANGED,
5844 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
5846 2002-05-25 Andy Piper <andy@xemacs.org>
5848 * select-x.c (vars_of_select_x): Fix docstring of
5849 x-selection-strict-motif-ownership
5851 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5853 * keymap.c (get_keymap):
5854 Add comment about do_autoload GCPROs own args.
5856 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5858 * bytecode.c (execute_optimized_program): check_opcode ifdef
5859 ERROR_CHECK_BYTE_CODE.
5861 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5863 Thanks to Ben Wing and Michael Sperber.
5865 * eval.c (Fcommand_execute):
5868 (Fmacroexpand_internal):
5869 (function_argcount):
5870 callint.c (Fcall_interactively):
5871 Add comment about do_autoload GCPROs own args.
5873 * (do_autoload): GCPRO both args as well as local Lisp_Object.
5875 * eval.c (Ffuncall): Extra braces to placate GCC.
5877 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
5879 * backtrace.h (grow_specpdl):
5881 * EmacsFrame.c (EmacsFrameSetValues):
5882 * eval.c (grow_specpdl):
5883 * ExternalShell.c (hack_event_masks_1):
5884 * glyphs-x.c (convert_EImage_to_XImage):
5885 (x_finalize_image_instance):
5886 * ralloc.c (page_size):
5888 * xgccache.c (gc_cache_hash):
5889 Fix unsigned comparison warnings.
5891 2002-07-29 Jerry James <james@xemacs.org>
5893 * lread.c (locate_file): Any nonnegative return value indicates
5894 success if MODE is nonnegative.
5896 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
5898 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
5901 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
5903 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
5905 * dumper.c (pdump_get_indirect_count):
5906 (pdump_scan_by_alignment):
5907 (pdump_dump_root_struct_ptrs):
5908 (pdump_dump_rtables):
5909 (pdump_dump_root_objects):
5911 * nas.c (WaveOpenDataForReading):
5912 * fns.c (print_bit_vector):
5913 * font-lock.c (SINGLE_SYNTAX_STYLE):
5914 * glyphs.c (check_for_ignored_expose):
5915 (find_matching_subwindow):
5917 * imgproc.c (get_histogram):
5918 * redisplay.c (point_in_line_start_cache):
5919 * redisplay-output.c (redisplay_unmap_subwindows):
5920 * symbols.c (defsymbol_massage_name_1):
5921 (defkeyword_massage_name):
5922 (deferror_massage_name_and_message):
5923 * redisplay-x.c (x_output_string):
5924 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
5925 * frame.h (struct frame):
5926 * filelock.c (current_lock_owner):
5927 * doprnt.c (emacs_doprnt_1):
5928 * lisp.h (struct Lisp_Bit_Vector):
5932 2002-02-13 Ben Wing <ben@xemacs.org>
5934 * event-stream.c (reset_key_echo):
5935 * event-stream.c (reset_this_command_keys):
5936 * event-stream.c (execute_command_event):
5937 If console is dead as a result of C-x 5 0, then post-command stuff
5938 needs to be careful and do only non-console-specific stuff.
5940 2002-07-01 Mike Sperber <mike@xemacs.org>
5942 * process-unix.c (unix_send_process): Mark coding_outstream as
5943 non-open upon SIGPIPE.
5945 * event-stream.c (Fnext_event): Reorder switch cases to something
5948 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
5950 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
5951 Don't bogusly reinitialize ascii_character property.
5953 2002-07-08 Mike Sperber <mike@xemacs.org>
5955 * process.c (Fstart_process_internal): Do error checking before we
5956 fork off the child, so the child can't muck with the state of the
5959 2002-07-08 Mike Sperber <mike@xemacs.org>
5961 * ralloc.c (init_ralloc): Allocate properly for pdump.
5963 2002-06-12 Andy Piper <andy@xemacs.org>
5965 * glyphs.c (query_string_geometry): check the string.
5967 * glyphs-widget.c (widget_logical_unit_height): cope with nil
5970 2002-06-17 Jerry James <james@xemacs.org>
5972 * sysdll.c: Remove RTLD_GLOBAL initialization.
5973 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
5975 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
5977 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
5979 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
5981 * sysdep.c (sys_rename): Make sys_rename work for the case where
5982 Windows rename sets errno to EACCES if target file exists.
5984 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
5986 * device-msw.c (mswindows_handle_page_setup_dialog_box):
5987 Fix detection of metric units to work on Win95
5989 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
5991 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
5993 2002-04-25 Andy Piper <andy@xemacs.org>
5995 * redisplay.c (create_text_block): Remove extra comment trailer.
5997 2002-04-24 Andy Piper <andy@xemacs.org>
5999 * redisplay.c (create_text_block): Don't actually add propagation
6000 data if the line ends after we have added a glyph.
6002 2002-04-22 Andy Piper <andy@xemacs.org>
6004 * extents.c (extent_fragment_update): check for glyphs we have
6005 previously displayed.
6006 * extents.c (print_extent_1): warning removal.
6007 * extents.h: change prototype.
6008 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
6009 widths correctly for wide glyphs.
6010 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
6011 * redisplay.c (prop_type): add PROP_GLYPH.
6012 * redisplay.c (struct prop_block): add glyph type
6013 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
6014 to the propagation data.
6015 * redisplay.c (create_text_block): if there is a glyph in the
6016 propagation data use it to salt extent_fragment_update.
6017 * redisplay.c (create_string_text_block): ditto.
6019 2002-04-13 Nix <nix@esperi.demon.co.uk>
6021 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
6022 * redisplay-output.c (compare_runes): Compare them.
6023 * redisplay.c: Update copyright date.
6024 * redisplay.c (pos_data): Add need_baseline_computation field.
6025 * redisplay.c (add_glyph_rune): Update ascent, descent, and
6026 need_baseline_computation; zero yoffset. Set max_pixmap_height
6027 for all pixmaps, not just automatically positioned ones.
6028 * redisplay.c (calculate_yoffset): New, compute yoffset values.
6029 * redisplay.c (calculate_baseline): New, compute textual baseline.
6030 * redisplay.c (add_glyph_rune): Call them.
6031 * redisplay.c (create_text_block): Likewise.
6032 * redisplay.c (create_overlay_glyph_block): Likewise.
6033 * redisplay.c (add_margin_runes): Likewise.
6034 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
6036 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
6037 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
6038 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
6039 * redisplay-msw.c (mswindows_output_string): Likewise.
6040 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
6041 * redisplay-gtk.c (gtk_output_display_block): Likewise.
6042 * redisplay-x.c (x_output_display_block): Likewise.
6044 2002-03-28 Ben Wing <ben@xemacs.org>
6046 * redisplay.c: Fixed bug in redisplay
6047 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
6048 and down of the lines, since they're bigger than the line
6049 size. (It was seen most obviously when there's a horizontal scroll
6050 bar, e.g. do C-h a glyph or something like that.) The problem was
6051 that the glyph-contrib-p setting on glyphs was ignored even if it
6052 was set properly, which it wasn't until now.
6054 2002-04-24 Andy Piper <andy@xemacs.org>
6056 * lisp.h (Dynarr_end): Fix definition.
6058 2002-02-06 Adrian Aichner <adrian@xemacs.org>
6060 * redisplay.c (mark_redisplay): Remove call to
6061 update_frame_window_mirror.
6063 2001-11-15 Andy Piper <andy@xemacs.org>
6065 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
6068 2002-02-13 Andy Piper <andy@xemacs.org>
6070 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
6071 we did in fact enqueue the XM_MAPFRAME event.
6073 2002-01-15 Adrian Aichner <adrian@xemacs.org>
6075 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
6076 to fix problem switching between virtual desktops under virtuawin
6077 virtual window manager.
6079 2001-07-30 Adrian Aichner <adrian@xemacs.org>
6081 * event-msw.c: Typo fix.
6082 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
6083 magic XM_MAPFRAME event has been sent.
6085 2001-11-23 Andy Piper <andy@xemacs.org>
6087 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
6089 2001-11-21 Andy Piper <andy@xemacs.org>
6091 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
6092 mouse events outside the frame.
6094 2002-03-20 Andy Piper <andy@xemacs.org>
6096 * menubar-msw.c (mswindows_popup_menu): warning removal.
6097 * dialog-msw.c (dialog_popped_down): ditto.
6099 2001-12-11 Andy Piper <andy@xemacs.org>
6101 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
6102 * dialog-msw.c (mswindows_make_dialog_box_internal): set
6104 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
6105 * menubar-msw.c (mswindows_handle_wm_command): ditto.
6106 * menubar-msw.c (mswindows_popup_menu): ditto.
6108 2001-10-29 Andy Piper <andy@xemacs.org>
6110 * dialog-msw.c (handle_directory_dialog_box): quit if the user
6113 2002-01-03 Andy Piper <andy@xemacs.org>
6115 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
6119 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
6121 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
6122 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
6123 * device-msw.c (mswindows_handle_page_setup_dialog_box):
6124 Detect and handle case where machine is set up for metric units
6126 2002-04-02 Andy Piper <andy@xemacs.org>
6128 * dired-msw.c (mswindows_get_files):
6129 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
6130 completely handled by XEmacs. Suggested by Thomas Vogler
6131 <mail@thomas-vogler.de>.
6133 2001-11-14 Andy Piper <andy@xemacs.org>
6135 * nt.c (REG_ROOT): change registry key to XEmacs.
6137 2002-04-27 Andy Piper <andy@xemacs.org>
6139 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
6141 2002-04-26 Andy Piper <andy@xemacs.org>
6143 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
6146 2002-03-14 Mike Alexander <mta@arbortext.com>
6148 * event-msw.c (mswindows_unwait_process): New, remove process from
6150 * process-nt.c (nt_finalize_process_data): Call
6151 mswindows_unwait_process
6152 * console-msw.h: Declare mswindows_unwait_process
6154 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
6156 * editfns.c (Fdecode_time):
6157 (Fformat_time_string):
6158 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
6159 (make_time): Warning elimination (change arg name).
6161 2001-11-24 Andy Piper <andy@xemacs.org>
6163 * window.c (Fsplit_window): Doc return type.
6165 2002-04-01 Andy Piper <andy@xemacs.org>
6167 * emacs.c (Fkill_emacs): Only output message box in interactive
6170 2002-04-26 Andy Piper <andy@xemacs.org>
6172 * config.h.in: pull in 21.5.x change to stop alloca warnings under
6175 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
6177 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
6180 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
6182 * XEmacs 21.4.8 "Honest Recruiter" is released.
6184 2002-05-07 Nix <nix@esperi.demon.co.uk>
6186 Supersedes 2002-04-17 patch.
6188 * process.h (PROCESS_LIVE_P): Use the process status as
6189 evidence of health, not the state of the input stream.
6190 (PROCESS_READABLE_P): Say if the process is readable
6191 from. (It may be dead nonetheless.)
6192 (CHECK_READABLE_PROCESS): Test for that condition.
6194 * process.c (create_process): Use PROCESS_READABLE_P.
6195 (read_process_output, set_process_filter): Likewise.
6197 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
6198 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
6200 This code is #if 0'd, this is not the time to add new functions:
6202 * process.c (Fprocess_readable_p): Report readability status.
6203 * process.c (Qprocess_readable_p): New, associated symbol...
6204 * process.c (syms_of_process): ... initialize it.
6206 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
6208 * XEmacs 21.4.7 "Economic Science" is released.
6210 2002-04-17 Nix <nix@esperi.demon.co.uk>
6212 * process.h (PROCESS_LIVE_P): Use the process status as
6213 evidence of health, not the state of the input stream.
6215 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
6217 * sysdep.c (sys_siglist): change "signum" to "signal"
6219 2001-04-21 Martin Buchholz <martin@xemacs.org>
6221 * s/darwin.h: New file.
6222 Thanks to Greg Parker <gparker@cs.stanford.edu>.
6224 2002-04-23 Andreas Jaeger <aj@suse.de>
6226 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
6227 which use lib64 for 64-bit libs.
6228 (START_FILES): Likewise.
6230 2002-02-11 Mike Sperber <mike@xemacs.org>
6233 (x_IO_error_handler):
6234 (x_init_device): Temporarily keep device in static variable
6235 `device_being_initialized' so we can recover gracefully from
6236 internal XOpenDevice failure. (XOpenDevice is documented to
6237 return NULL on failure, but sometimes calls the IO error handler
6240 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
6242 * dired.c (Ffile_name_all_completions): Change documentation --
6243 remove reference to completion-ignored-extensions.
6244 * dired.c (vars_of_dired): Change documentation for
6245 completion-ignored-extensions -- remove reference to
6246 file-name-all-completions.
6248 2002-03-06 Jerry James <james@xemacs.org>
6250 * emodules.c (emodules_load): Fix multiple loading of same module.
6252 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
6253 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
6254 RTLD_LAZY to avoid incorrect symbol binding when using nested
6255 shared libraries on Solaris.
6257 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
6259 * fileio.c (Ffind_file_name_handler): Improve docstring.
6261 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
6263 * fns.c (Fmapconcat): Improve docstring.
6265 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
6267 * device-gtk.c: Add prototype for
6268 emacs_gtk_selection_clear_event_handle.
6269 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
6270 selection. Setup signal handler for "selection_clear_event"
6271 (emacs_gtk_selection_clear_event_handle).
6273 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
6274 other applications owning the clipboard (based on
6275 x_handle_selection_clear).
6277 2001-12-23 William M. Perry <wmperry@gnu.org>
6279 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
6281 2002-01-04 Martin Buchholz <martin@xemacs.org>
6283 * keymap.c (define_key_alternate_name): Parenthesize EQ.
6285 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
6287 * XEmacs 21.4.6 "Common Lisp" is released.
6289 2001-12-16 Torsten Duwe <duwe@caldera.de>
6291 * search.c (Freplace_match): Add missing sub-expression functionality.
6293 * buffer.c (decode_buffer): Add a check for pointer type to
6294 decode_buffer, before gcc's CSE optimization reorders a
6295 dereference in front of the allow_string test.
6297 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
6299 * window.c (window_loop): Fix bug that sometimes prevented
6300 window_loop() from iterating across multiple devices. Also, at
6301 Ben's request, changed infloop-detecting code to abort() instead
6302 of silently terminating window_loop().
6304 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
6306 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
6307 * editfns.c (make_time): New function.
6308 (Fencode_time): Use it instead of wasteful_word_to_lisp.
6309 * lisp.h (make_time): Prototype and comment it.
6310 * dired.c (wasteful_word_to_lisp): Deprecate.
6311 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
6313 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
6315 * fileio.c (auto_save_1): Use current coding system, not
6318 2001-11-13 Ben Wing <ben@xemacs.org>
6321 * window.c (window_truncation_on):
6322 * window.c (syms_of_window):
6323 truncate-partial-width-windows should respect the buffer being
6324 displayed, like other redisplay vars.
6326 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
6328 * event-stream.c (Fread_key_sequence): save current buffer.
6330 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6332 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
6334 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
6336 * alloc.c (lcrecord_stats): Add space for types defined in modules.
6338 2001-10-26 Mike Alexander <mta@arbortext.com>
6340 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
6342 2001-10-25 Andy Piper <andy@xemacs.org>
6345 * dialog-msw.c (handle_directory_proc): new function.
6346 (handle_directory_dialog_box): new fucntion.
6347 (handle_file_dialog_box): use new directory dialog support.
6348 (mswindows_make_dialog_box_internal): ditto.
6349 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
6351 (mswindows_find_frame): make global.
6352 * fileio.c (Fexpand_file_name): build fix.
6353 * general-slots.h: add Qdirectory.
6354 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
6356 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
6357 cygwin not leaving win32 paths unchanged.
6358 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
6359 cygwin runtime to do path conversion.
6360 (Fmswindows_shell_execute): fix cygwin handling of URLs.
6361 (syms_of_win32): add new function.
6362 * window.c (window_loop): build fix.
6364 2001-10-15 Andy Piper <andy@xemacs.org>
6366 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
6368 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
6370 * XEmacs 21.4.5 "Civil Service" is released.
6372 2001-04-08 Danny Colascione <qtmstr@optonline.net>
6374 * glyphs-x.c: Force buffer-tab highlight update when moving the
6375 buffer, avoiding an ugly black border, used for keyboard focus
6376 indication, on a widget that can never have keyboard focus, the
6379 2001-08-30 Daiki Ueno <ueno@unixuser.org>
6381 * process-unix.c (unix_open_multicast_group): Remove too much
6382 conversion between host and network byte order.
6384 2001-09-10 Nix <nix@esperi.demon.co.uk>
6386 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
6387 before replacing them.
6389 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
6392 * src/window.c (undedicate_windows): Use it.
6393 * src/window.h: Add prototype.
6395 2001-09-17 Ben Wing <ben@xemacs.org>
6397 * fileio.c (normalize_filename):
6398 * fileio.c (Fexpand_file_name):
6399 Fix various C++ compile errors in Andy's recent code.
6401 * callint.c (Fcall_interactively):
6402 * editfns.c (Ftemp_directory):
6403 * editfns.c (Fuser_full_name):
6404 * emacs.c (argmatch):
6405 * lread.c (locate_file_map_suffixes):
6406 * redisplay-x.c (x_ring_bell):
6407 Fix sign-compare warnings.
6409 2001-09-08 Andy Piper <andy@xemacs.org>
6411 * fileio.c (normalize_filename): copied from nt.c
6412 * (Ffile_name_directory): enable win32 paths under cygwin.
6413 * (Ffile_name_nondirectory): ditto.
6414 * (directory_file_name): ditto.
6415 * (Fexpand_file_name): ditto.
6416 * (Ffile_truename): ditto.
6417 * (Fsubstitute_in_file_name): ditto.
6418 * (Ffile_name_absolute_p): ditto.
6419 * (Ffile_readable_p): ditto.
6421 2001-09-08 Andy Piper <andy@xemacs.org>
6423 * device-msw.c (mswindows_finish_init_device): remove dde
6425 * device-msw.c (mswindows_init_dde): factor out from
6426 mswindows_finish_init_device()
6427 * device-msw.c (init_mswindows_very_early): new function
6428 initialize but don't enable dde.
6429 * emacs.c (main_1): call init_mswindows_very_early.
6431 * event-msw.c (mswindows_dde_callback): only execute when we are
6433 * symsinit.h: declare init_mswindows_very_early.
6435 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6437 [sjt: This has been in 21.5 for months with no complaints.]
6439 * console.h (struct console_methods): Added flags member.
6440 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
6441 (CONMETH_IMPL_FLAG):
6442 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
6443 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6445 * device.c (window_system_pixelated_geometry): Use the above macros.
6447 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
6448 implememntation flag.
6449 * device.h (DEVICE_DISPLAY_P): Use it.
6451 * frame.c (delete_frame_internal): Use the above macro.
6453 * redisplay.c (redisplay_device): Use it.
6454 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
6455 (redisplay_frame): Ditto.
6457 * device-msw.c (mswindows_device_implementation_flags): Removed.
6458 (msprinter_device_implementation_flags): Removed.
6459 (console_type_create_device_mswindows): Removed references to
6460 implementation_flags methods, set implementation flags here.
6461 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
6463 * device-gtk.c (gtk_device_implementation_flags): Removed method.
6464 (console_type_create_device_gtk): Removed method declaration.
6465 Added commented out statement which semantically matches the
6466 commented out statement in the above removed method.
6468 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
6470 The attached patch fixes a few warnings.
6472 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
6473 * src/frame-gtk.c: guard against GNOME calls in GTK only
6474 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
6475 * src/select-gtk.c: prototype lisp_to_time
6477 2001-06-08 Ben Wing <ben@xemacs.org>
6479 ------ gc-in-window-procedure fixes ------
6482 * alloc.c (struct post_gc_action):
6483 * alloc.c (register_post_gc_action):
6484 * alloc.c (run_post_gc_actions):
6485 * alloc.c (garbage_collect_1):
6486 Create "post-gc actions", to avoid those dreaded "GC during window
6487 procedure" problems.
6490 Abort, clean and simple, when GC in window procedure. We want
6491 to flush these puppies out.
6494 * glyphs-msw.c (finalize_destroy_window):
6495 * glyphs-msw.c (mswindows_finalize_image_instance):
6496 Use a post-gc action when destroying subwindows.
6499 Declare register_post_gc_action().
6502 * scrollbar-msw.c (unshow_that_mofo):
6503 Use a post-gc action when unshowing scrollbar windows, if in gc.
6505 * redisplay.c (mark_redisplay):
6506 Add comment about the utter evilness of what's going down here.
6508 ------ cygwin setitimer fixes ------
6510 * Makefile.in.in (sheap_objs):
6511 * Makefile.in.in (profile_objs):
6512 * Makefile.in.in (objs):
6513 Compile profile.c only when HAVE_SETITIMER.
6515 * nt.c (mswindows_sigset):
6516 * nt.c (mswindows_sighold):
6517 * nt.c (mswindows_sigrelse):
6518 * nt.c (mswindows_sigpause):
6519 * nt.c (mswindows_raise):
6520 * nt.c (close_file_data):
6524 Move setitimer() emulation to win32.c, because Cygwin needs it too.
6527 * profile.c (Fstart_profiling):
6528 * profile.c (Fstop_profiling):
6529 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
6530 instead of just plain setitimer().
6533 * signal.c (set_one_shot_timer):
6535 Define qxe_setitimer() as an encapsulation around setitimer() --
6536 call setitimer() directly unless Cygwin or MS Win, in which case
6537 we use our simulated version in win32.c.
6540 * systime.h (struct itimerval):
6541 * systime.h (ITIMER_REAL):
6542 Prototype mswindows_setitimer() and qxe_setitimer(). Long
6543 comment about "qxe" and the policy regarding encapsulation.
6546 * win32.c (setitimer_helper_proc):
6547 * win32.c (setitimer_helper_period):
6548 * win32.c (setitimer_helper):
6549 * win32.c (mswindows_setitimer):
6550 Move setitimer() emulation here, so Cygwin can use it.
6551 Rename a couple of functions and variables to be longer and more
6552 descriptive. In setitimer_helper_proc(), send the signal
6553 using either mswindows_raise() or (on Cygwin) kill(). If for
6554 some reason we are still getting lockups, we'll change the kill()
6555 to directly invoke the signal handlers.
6557 ------ windows shell fixes ------
6561 Comments about how these two files must die.
6563 * callproc.c (init_callproc):
6564 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
6565 not just COMSPEC. (more correct and closer to FSF.) Don't
6566 force a value for SHELL into the environment. (Comments added
6567 to explain why not.)
6569 * nt.c (init_user_info):
6570 Don't shove a fabricated SHELL into the environment. See above.
6572 2001-06-01 Ben Wing <ben@xemacs.org>
6574 * Makefile.in.in (ldflags):
6575 eliminate that pesky "defaulting to 00401000" warning.
6579 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
6581 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
6582 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
6584 2001-04-24 Jerry James <james@xemacs.org>
6586 * faces.h: pass parameters to Fadd_spec_to_specifier in the
6589 2001-06-01 Ben Wing <ben@xemacs.org>
6591 * event-msw.c (debug_mswin_messages):
6592 conditionalize the messages that were causing compile errors.
6593 (if only macros could generate #ifdef statements ...)
6595 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
6597 * XEmacs 21.4.4 "Artificial Intelligence" is released.
6599 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6601 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
6603 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
6605 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
6606 * process-unix.c (unix_canonicalize_host_name):
6607 sysdep.c (init_system_name):
6608 Use it to conditionally support IPv6 canonicalization.
6610 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
6613 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
6615 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
6617 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
6618 attempt is made to scroll when no scroll bar is available.
6620 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6622 * input-method-motif.c (XIM_delete_frame): New callback.
6623 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
6624 got deleted from 21.4.3.)
6626 2001-06-01 Ben Wing <ben@xemacs.org>
6628 * nt.c (mswindows_utime):
6629 * nt.c (close_file_data):
6630 fix off-by-one-indirection error.
6632 2001-05-29 Adrian Aichner <adrian@xemacs.org>
6634 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
6635 because set_file_times() now takes Lisp_Object path, instead of
6637 * nt.c: Include buffer.h.
6638 * nt.c (convert_from_time_t): New.
6639 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
6640 not set mtime correctly.
6641 * nt.h: Declare mswindows_utime().
6642 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
6643 path, instead of char*.
6644 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
6646 2001-05-30 Ben Wing <ben@xemacs.org>
6650 (Stephen, just take all event-msw.c patches. This includes
6651 the "iconify" fix below.)
6654 * event-msw.c (mswindows_dequeue_dispatch_event):
6655 * event-msw.c (assert):
6656 * event-msw.c (emacs_mswindows_quit_p):
6657 * event-msw.c (debug_mswin_messages):
6658 * event-msw.c (debug_output_mswin_message):
6659 * event-msw.c (vars_of_event_mswindows):
6660 Fix yet more problems with C-g handling.
6661 Implement debug-mswindows-events.
6663 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
6665 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
6667 2001-05-23 Ben Wing <ben@xemacs.org>
6669 * event-msw.c (winsock_writer):
6670 * event-msw.c (winsock_closer):
6671 prior kludgy code was clobbering the buffer, thinking it was
6672 "unused" space to store an unneeded return value; instead, use
6673 the variable we've already got staring us in the face.
6675 2001-05-17 Andy Piper <andy@xemacs.org>
6677 * sysfile.h: don't assume that file attributes are boolean
6679 2001-05-23 Ben Wing <ben@xemacs.org>
6681 * device-msw.c (msprinter_init_device):
6682 signal an error rather than crash with an unavailable network
6683 printer (from Mike Alexander).
6686 * event-msw.c (struct winsock_stream):
6687 * event-msw.c (winsock_writer):
6688 * event-msw.c (winsock_closer):
6689 * event-msw.c (make_winsock_stream_1):
6690 cleanup headers. fix (hopefully) an error with data corruption
6691 when sending to a network connection.
6693 * fileio.c (Fexpand_file_name): Fix evil code that attempts
6694 to handle the ~user prefix by (a) always assuming we're referencing
6695 ourselves and not even verifying the user -- hence any file with
6696 a tilde as its first char is invalid! (b) if there wasn't a slash
6697 following the filename, the pointer was set *past* the end of
6698 file and we started reading from uninitialized memory. Now we
6699 simply treat these as files, always.
6701 * buffer.c (common_init_complex_vars_of_buffer): comment change.
6703 2001-05-19 Ben Wing <ben@xemacs.org>
6705 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
6708 * process-nt.c (vars_of_process_nt):
6709 remove unused mswindows-quote-process-args. rec for 21.4.
6711 2001-05-12 Ben Wing <ben@xemacs.org>
6713 * event-msw.c (mswindows_dde_callback):
6714 * event-msw.c (mswindows_wnd_proc):
6715 eliminate cygwin warnings.
6717 2001-05-06 Ben Wing <ben@xemacs.org>
6721 * device-msw.c (print_dialog_worker):
6722 * device-msw.c (mswindows_handle_print_dialog_box):
6723 * device-msw.c (syms_of_device_mswindows):
6724 * dialog-msw.c (mswindows_make_dialog_box_internal):
6726 implement printing the selection when it's selected.
6728 2001-05-20 Drazen Kacar <dave@arsdigita.com>
6730 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
6732 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
6734 * lisp.h (EMACS_INT_MAX): This should be one bit less since
6735 EMACS_INT is signed.
6737 2001-04-15 Michael Lausch <mla@1012surf.net>
6739 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
6740 gtk_widget_request_size() to give scrollbar >0 width for
6743 2001-05-30 William M. Perry <wmperry@gnu.org>
6745 * event-gtk.c: Check for buttons as modifier keys.
6747 2001-05-25 Craig Lanning <CraigL@Knology.net>
6750 Properly find MinGW's <process.h> inside Cygwin's restructured
6751 include directories. Don't try to include <cygwin/version.h>
6752 since we are dropping support for MinGW in versions of Cygwin
6755 Drop support for MinGW in versions of Cygwin before b21.
6757 Properly find MinGW's <process.h> inside Cygwin's restructured
6758 include directories.
6760 Drop support for MinGW in versions of Cygwin before b21.
6762 Even though a.out.h is no longer detected by configure, allow
6763 MinGW to use it until we figure out how to do the job with Win32.
6765 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
6767 * syntax.c (find_start_of_comment):
6768 Fix `unbalanced parentheses' bug when dealing with mixed comment
6769 styles in c++/java/etc. mode
6771 2001-05-29 Mike Alexander <mta@arbortext.com>
6773 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
6774 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
6776 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
6778 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
6780 2001-03-31 Mike Sperber <mike@xemacs.org>
6782 * search.c (Freplace_match): Support FSF-style specification of
6783 match subexpression when applied to a buffer.
6785 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6787 * event-stream.c (is_scrollbar_event): add missing semicolon
6789 2001-05-22 Isaac Hollander <ysh@mindspring.com>
6791 * Makefile.in.in: Use TAR macro instead of hardcoding
6792 tar. Allows use of GNU tar instead of system tar
6794 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
6796 * event-stream.c (is_scrollbar_event): add missing semicolon
6798 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6800 * XEmacs 21.4.3 "Academic Rigor" is released.
6802 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
6804 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
6806 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
6808 * buffer.c (Vcase_fold_search): Remove obsolete
6809 comment about non ASCII case-fold-search. This
6810 bug has been fixed by case-table changes.
6812 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
6814 * event-msw.c: Restore include of events-mod.h.
6816 2001-04-22 zhaoway <zw@debian.org>
6818 * event-stream.c (is_scrollbar_event): Noop returning 0 if
6821 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
6823 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
6825 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
6827 * mule-charset.c (Fmake_charset): Add missing else.
6829 2001-04-23 Ben Wing <ben@xemacs.org>
6831 * event-msw.c (FAKE_MOD_QUIT):
6832 * event-msw.c (mswindows_dequeue_dispatch_event):
6833 * event-msw.c (mswindows_wnd_proc):
6834 * event-msw.c (emacs_mswindows_quit_p):
6835 Get critical quit working.
6837 2001-05-05 Ben Wing <ben@xemacs.org>
6841 * device-msw.c (mswindows_get_default_margin):
6842 * frame-msw.c (mswindows_size_frame_internal):
6843 * frame-msw.c (msprinter_init_frame_1):
6844 * frame-msw.c (vars_of_frame_mswindows):
6845 Change top/bottom margin defaults to 0.5 inches.
6847 2001-05-01 Martin Buchholz <martin@xemacs.org>
6849 Fix link error with gcc 3.0 on Linux.
6850 * terminfo.c (UP): Remove.
6851 * terminfo.c (BC): Remove.
6852 * terminfo.c (PC): Remove.
6853 They weren't used, and in any case, these symbols should be
6854 defined in the *library*.
6856 2001-05-03 Martin Buchholz <martin@xemacs.org>
6858 * s/aix4.h: Fix crash with xlc -O3.
6859 Improve comment explaining how -O3 works.
6861 2001-04-15 Ben Wing <ben@xemacs.org>
6864 * event-stream.c (Fnext_event):
6865 * event-stream.c (is_scrollbar_event):
6866 * event-stream.c (execute_command_event):
6867 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
6868 crash' problem. His fix introduces other problems. We filter
6869 out scrollbar events specifically, making them somewhat invisible
6870 to command-building, and not appearing in `this-command-keys'.
6871 More work is still needed (see comments in event-stream.c), but
6872 this fixes all the major problems.
6874 2001-04-20 Ben Wing <ben@xemacs.org>
6876 * .cvsignore: Added stuff for Windows.
6878 2001-04-28 Ben Wing <ben@xemacs.org>
6880 * buffer.c (Ferase_buffer):
6881 * editfns.c (buffer_insert1):
6882 * editfns.c (Finsert_before_markers):
6883 * editfns.c (Finsert_string):
6884 * editfns.c (Finsert_char):
6885 * editfns.c (Fdelete_region):
6886 * editfns.c (Fwiden):
6887 * editfns.c (Fnarrow_to_region):
6888 remove bogus lines setting zmacs_region_stays to 0.
6890 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
6892 * process-unix.c (unix_open_network_stream): If connect() fails
6893 invalidate file descriptor after closing it.
6895 2001-03-08 Mike Alexander <mta@arbortext.com>
6897 * event-msw.c (mswindows_need_event_in_modal_loop):
6898 Don't dispatch a message if we didn't get one.
6899 (mswindows_need_event):
6900 Terminate the correct process when one exits instead of the first
6901 one on Vprocess_list and look for process termination when in
6902 mswindows_protect_modal_loop.
6904 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
6906 * XEmacs 21.4.1 "Copyleft" is released.
6908 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
6910 * input-method-motif.c (XIM_delete_frame): New callback.
6911 (XIM_init_frame): Register it.
6913 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6915 * XEmacs 21.4.0 "Solid Vapor" is released.
6917 2001-04-15 Ben Wing <ben@xemacs.org>
6919 * cmdloop.c (call_command_loop):
6920 Fix braino in bit-rotting code.
6922 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
6924 * extents.c (Fset_extent_endpoints): Force creation of extent info
6925 in buffer_or_string.
6927 * extents.c (process_extents_for_insertion_mapper): Correctly
6928 check for open-open zero-length extents.
6930 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
6932 * lisp.h: New typedefs Memory_count, Element_count.
6935 Sign-compare warning elimination: several unsigned -> signed.
6936 Based on work by Ben Wing <ben@xemacs.org>.
6938 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
6940 * XEmacs 21.2.47 "Zephir" is released.
6942 2001-04-02 Jan Vroonhof <jan@xemacs.org>
6944 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
6946 2001-04-03 Mike Sperber <mike@xemacs.org>
6948 * search.c: Revert previous patch due because of release.
6950 2001-03-30 Ben Wing <ben@xemacs.org>
6953 Add missing killpg prototype.
6956 Add a comment about fixing problems when a new entry is added
6959 * frame-msw.c (mswindows_init_frame_1):
6960 Fix compile warnings.
6962 * menubar.c (vars_of_menubar):
6963 Provide `menu-accelerator-support' to indicate that we properly
6964 support %_ in menu specifications, so that package code can
6965 conditionalize on this (and remove %_ from menu specifications
6970 * scrollbar-msw.c (can_scroll):
6972 Fix handling of mouse wheel under Windows to follow standards --
6973 now scrolls window under pointer, not selected window.
6975 2001-03-31 Mike Sperber <mike@xemacs.org>
6977 * search.c (Freplace_match): Support FSF-style specification of
6978 match subexpression when applied to a buffer.
6980 2001-03-15 Martin Buchholz <martin@xemacs.org>
6982 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
6983 function to modify KEYMAP, so map over a copy of the hash table.
6985 2001-03-21 Martin Buchholz <martin@xemacs.org>
6987 * XEmacs 21.2.46 "Urania" is released.
6989 2001-03-20 Dan Holmsand <dan@eyebee.com>
6991 * realpath.c (xrealpath): Make file-truename work with symlinks to
6992 /cygdrive paths on cygwin. Always lowercase drive-letters on
6994 (cygwin_readlink): Don't try to find canonical filename unless
6997 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
6999 * ChangeLog: Log GTK merge.
7005 Revert gratuitous whitespace changes from GTK merge.
7007 * emacs.c: Document end of complex #ifdef @ l. 1495.
7010 2001-03-12 Andy Piper <andy@xemacs.org>
7012 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
7013 have to do likewise.
7015 2001-03-12 Andy Piper <andy@xemacs.org>
7017 * sysdep.c: we only support mingw now.
7019 2001-03-09 Andy Piper <andy@xemacs.org>
7021 * unexcw.c (copy_executable_and_dump_data_section): making approx
7022 overrun a warning only.
7024 2001-03-10 William M. Perry <wmperry@aventail.com>
7026 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
7027 satisfy Stephen's identical-after-cpp plea.
7029 2001-03-02 Ben Wing <ben@xemacs.org>
7032 * cmds.c (Fforward_char):
7036 Augment documentation of the most common motion commands to make
7037 note of the shifted-motion support.
7039 2001-03-02 Ben Wing <ben@xemacs.org>
7041 * nt.c (mswindows_fstat):
7042 * nt.c (mswindows_stat):
7043 * search.c (boyer_moore):
7044 Fix compile warnings under Windows.
7046 * sysdep.c (sys_readdir):
7047 Fix buggy filename-conversion code under Mule.
7049 2001-03-09 William M. Perry <wmperry@aventail.com>
7071 * redisplay-output.c:
7077 The Great GTK Merge.
7084 * emacs-widget-accessors.c:
7098 * native-gtk-toolbar.c:
7109 The Great GTK Merge: new files.
7111 2001-02-26 Ben Wing <ben@xemacs.org>
7113 Reapplied Lstream change.
7115 2001-02-26 Ben Wing <ben@xemacs.org>
7117 Undid the last change, since it is more controversial than I
7118 thought. It should be back in at some point soon.
7120 2001-02-25 Ben Wing <ben@xemacs.org>
7123 * callproc.c (Fold_call_process_internal):
7124 * event-msw.c (ntpipe_slurp_reader):
7125 * event-msw.c (ntpipe_shove_writer):
7126 * event-msw.c (winsock_reader):
7127 * event-msw.c (winsock_writer):
7129 * file-coding.c (detect_eol_type):
7130 * file-coding.c (detect_coding_type):
7131 * file-coding.c (determine_real_coding_system):
7132 * file-coding.c (Fdetect_coding_region):
7133 * file-coding.c (decoding_reader):
7134 * file-coding.c (decoding_writer):
7135 * file-coding.c (mule_decode):
7136 * file-coding.c (Fdecode_coding_region):
7137 * file-coding.c (encoding_reader):
7138 * file-coding.c (encoding_writer):
7139 * file-coding.c (mule_encode):
7140 * file-coding.c (Fencode_coding_region):
7141 * file-coding.c (detect_coding_sjis):
7142 * file-coding.c (decode_coding_sjis):
7143 * file-coding.c (encode_coding_sjis):
7144 * file-coding.c (detect_coding_big5):
7145 * file-coding.c (decode_coding_big5):
7146 * file-coding.c (encode_coding_big5):
7147 * file-coding.c (detect_coding_ucs4):
7148 * file-coding.c (decode_coding_ucs4):
7149 * file-coding.c (encode_coding_ucs4):
7150 * file-coding.c (detect_coding_utf8):
7151 * file-coding.c (decode_coding_utf8):
7152 * file-coding.c (encode_coding_utf8):
7153 * file-coding.c (detect_coding_iso2022):
7154 * file-coding.c (decode_coding_iso2022):
7155 * file-coding.c (encode_coding_iso2022):
7156 * file-coding.c (decode_coding_no_conversion):
7157 * file-coding.c (encode_coding_no_conversion):
7158 * glyphs-x.c (write_lisp_string_to_temp_file):
7159 * gpmevent.c (tty_get_foreign_selection):
7162 * lstream.c (Lstream_flush_out):
7163 * lstream.c (Lstream_adding):
7164 * lstream.c (Lstream_write_1):
7165 * lstream.c (Lstream_write):
7166 * lstream.c (Lstream_raw_read):
7167 * lstream.c (Lstream_read_more):
7168 * lstream.c (Lstream_read):
7169 * lstream.c (Lstream_unread):
7170 * lstream.c (Lstream_fputc):
7171 * lstream.c (stdio_reader):
7172 * lstream.c (stdio_writer):
7173 * lstream.c (filedesc_reader):
7174 * lstream.c (filedesc_writer):
7175 * lstream.c (lisp_string_reader):
7176 * lstream.c (struct fixed_buffer_stream):
7177 * lstream.c (make_fixed_buffer_input_stream):
7178 * lstream.c (make_fixed_buffer_output_stream):
7179 * lstream.c (fixed_buffer_reader):
7180 * lstream.c (fixed_buffer_writer):
7181 * lstream.c (struct resizing_buffer_stream):
7182 * lstream.c (resizing_buffer_writer):
7183 * lstream.c (dynarr_writer):
7184 * lstream.c (lisp_buffer_reader):
7185 * lstream.c (lisp_buffer_writer):
7187 * lstream.h (lstream_implementation):
7188 * lstream.h (struct lstream):
7190 * process-nt.c (nt_send_process):
7191 * process-unix.c (unix_send_process):
7193 Correct Lstream lossage due to mixing of signed and unsigned
7194 quantities. All Lstream uses of size_t and ssize_t are now a
7195 single signed data type Lstream_data_count. This fixes problems
7196 under Windows with sending large quantities of data to a process,
7197 and may well fix other subtle bugs.
7199 2001-02-23 Martin Buchholz <martin@xemacs.org>
7201 * XEmacs 21.2.45 "Thelxepeia" is released.
7203 2001-02-21 Martin Buchholz <martin@xemacs.org>
7205 * lisp-union.h (XSETINT):
7208 Reverse previous change of 2001-02-06.
7210 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
7212 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
7214 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7215 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
7216 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
7217 * regex.c (POS_AS_IN_BUFFER): removed
7218 * regex.c (re_search_2):
7219 * regex.c (re_match_2):
7220 Don't use an offset of 1 when calculating buffer positions, since
7221 `BI_BUF_BEGV' does it already.
7223 2001-02-18 Wim Dumon <wim@easics.be>
7225 * insdel.c (prepare_to_modify_buffer): Also check for
7226 supersession when clash-detection is enabled.
7228 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
7230 * regex.c (re_match_2_internal):
7231 Convert temp characters from 'const unsigned char' to 're_char'.
7232 Fix crashing bug with extended characters under mule.
7233 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
7234 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
7235 font-lock, pdump, and new syntax-table code.
7236 * syntax.c (find_start_of_comment):
7237 (find_end_of_comment):
7239 Fix crashing bugs involving moving beyond end of buffer.
7240 * syntax.c (find_start_of_comment):
7241 Fixed logic to allow proper detection of cases where the same
7242 character is used to end both a two-char comment start and a
7243 two-char comment end sequence. Fixes `(forward-comment -1)'.
7244 * syntax.c (find_start_of_comment):
7245 Return position just past last comment-end character for all cases
7246 (previously was only done for two-char comment-end sequences).
7247 * syntax.c (forward-comment):
7248 Take value returned from `find_end_of_comment', rather than
7250 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
7251 Properly deal with BUFFERP (syntax_cache.object)
7253 2001-02-17 Martin Buchholz <martin@xemacs.org>
7255 * alloc.c (Fgarbage_collect):
7256 * alloc.c (make_bit_vector_from_byte_vector):
7257 -Wsign-compare-correctness.
7259 2001-02-16 Martin Buchholz <martin@xemacs.org>
7261 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
7262 (XSETCHAR): Likewise.
7263 (XSETOBJ): Likewise.
7265 2001-02-15 Martin Buchholz <martin@xemacs.org>
7267 * mule-canna.c (canna-func-delete_previous):
7268 Rename to canna-func-delete-previous.
7270 2001-02-14 Martin Buchholz <martin@xemacs.org>
7272 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
7274 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
7276 * font-lock.c (find_context): Fix C++ compile errors introduced by
7279 2001-02-13 Martin Buchholz <martin@xemacs.org>
7281 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
7282 pragma, but earlier ones barf on the same pragma.
7284 2001-02-06 Mike Sperber <mike@xemacs.org>
7286 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
7287 `configure-mule-lisp-directory'.
7289 2001-02-12 Martin Buchholz <martin@xemacs.org>
7291 Make sure dump-id.c is compiled in the same way as other .c's.
7292 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
7293 * dump-id.h: Remove.
7294 * emacs.c: Move dump-id.h into dumper.h.
7295 * dumper.h: Move dump-id.h into dumper.h.
7297 Use standard .c.o rule for building dump-id.o.
7298 Remove preprocessor flags from link command.
7299 Add dump-id.o to ${otherobjs} if PDUMP.
7301 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
7303 Port FSF 20.7 syntax table improvements.
7307 Fixups for new syntax table stuff.
7308 * dired.c: Include syntax.c.
7309 (Fdirectory_files): Initialize regex_match_object and
7311 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
7312 and Fget_char_property.
7314 Use ported FSF 20.7 syntax table improvements.
7319 2001-02-09 Martin Buchholz <martin@xemacs.org>
7321 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
7322 Unixware's enum boolean from sys/types.h.
7324 2001-02-10 Martin Buchholz <martin@xemacs.org>
7326 Fix support for building with latest Purify.
7327 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
7328 (PURIFY_FLAGS): Likewise.
7330 2001-02-09 Martin Buchholz <martin@xemacs.org>
7332 * fileio.c (lisp_string_set_file_times): New.
7333 * fileio.c (Fcopy_file): Use it.
7335 (copy-file filename non-ascii-filename t t)
7336 ==> No such file or directory, non-ascii-filename
7338 2001-02-10 Martin Buchholz <martin@xemacs.org>
7340 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
7341 USHRT_MAX seems clearer than ~0 anyways.
7343 2001-02-09 Martin Buchholz <martin@xemacs.org>
7345 dumper improvements. Inspired by Olivier.
7346 * dumper.c (pdump_max_align): New.
7347 * dumper.c (pdump_add_entry): Use pdump_max_align.
7348 * dumper.c (pdump_get_entry_list): Likewise.
7349 * dumper.c (pdump_scan_by_alignment): Likewise.
7350 Don't iterate through unnecessary alignments.
7351 * dumper.c (pdump_file_get): No need to align result of malloc().
7352 * dumper.c (pdump_mallocadr): Remove.
7353 The result of malloc() is guaranteed to be maximally aligned.
7354 * dumper.c: s/elmt/elt/g;
7355 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
7356 * dumper.c (pdump_alert_undump_object): Likewise.
7357 * dumper.c (pdump_align_table):
7358 Don't support alignments > 64.
7359 Store ALIGNOF's, not shift counts, in table.
7361 2001-02-09 Martin Buchholz <martin@xemacs.org>
7363 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
7364 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
7365 * systime.h: Use HAVE_UTIME.
7366 * sysdep.c (struct utimbuf): Remove.
7367 * sysdep.c (set_file_times): Prefer utime() to utimes().
7368 * config.h.in (HAVE_UTIME): New.
7369 * config.h.in (HAVE_UTIME_H): Remove.
7370 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
7372 2001-02-09 Martin Buchholz <martin@xemacs.org>
7374 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
7376 2001-02-08 Martin Buchholz <martin@xemacs.org>
7378 * s/irix6-0.h: Use the standard system memmove, not bcopy.
7380 2001-02-08 Martin Buchholz <martin@xemacs.org>
7382 * XEmacs 21.2.44 "Thalia" is released.
7384 2001-02-06 Martin Buchholz <martin@xemacs.org>
7386 Fixes crashes in kill-emacs on some systems.
7387 * process-unix.c (unix_kill_child_process):
7388 It's OK for kill() to fail with ESRCH.
7390 2001-02-07 Martin Buchholz <martin@xemacs.org>
7392 Contortions to make .gdbinit tricks work on most systems.
7393 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
7394 * alloc.c (dbg_valmask): Make non-const.
7395 * alloc.c (dbg_typemask): Make non-const.
7396 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
7397 * alloc.c (dbg_valbits): Make non-const.
7398 * alloc.c (dbg_gctypebits): Make non-const.
7399 * .gdbinit (decode_object): Make it work with AIX cc.
7401 2001-02-06 Martin Buchholz <martin@xemacs.org>
7403 * elhash.c (make_general_lisp_hash_table):
7404 Use simpler and more efficient calloc to clear entries.
7406 2001-02-07 Martin Buchholz <martin@xemacs.org>
7408 * window.c (window_scroll): Work around an AIX C compiler bug.
7409 Fixes 'scroll-up' does nothing problem with xlC.
7411 2001-02-05 Martin Buchholz <martin@xemacs.org>
7413 * .gdbinit: Remove obsolete comment.
7415 2001-01-31 Mike Alexander <mta@arbortext.com>
7417 * select.c (Fown_selection_internal): Set owned_p for device
7420 2001-02-01 Martin Buchholz <martin@xemacs.org>
7423 "not" cannot be used as a macro name as it is an operator in C++
7424 * config.h.in: Stop #defining `not'.
7425 * chartab.c (check_category_char): not ==> not_p
7426 * chartab.h: Likewise.
7427 * regex.c (re_match_2_internal): Likewise.
7429 2001-02-02 Martin Buchholz <martin@xemacs.org>
7431 * lisp-disunion.h: Fix up comments.
7433 2001-01-31 Martin Buchholz <martin@xemacs.org>
7435 * keymap.c (define_key_check_and_coerce_keysym):
7437 Support mouse-6 and mouse-7 bindings in the obvious way.
7439 2001-02-01 Martin Buchholz <martin@xemacs.org>
7441 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
7443 2001-01-30 Martin Buchholz <martin@xemacs.org>
7445 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
7446 Previous patch missed DEFVAR_INT_MAGIC.
7447 Make sure future DEFVAR_foo use correct types.
7448 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
7449 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
7450 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
7451 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
7452 * (DEFVAR_INT): Likewise.
7453 * redisplay.c (vertical_clip): Should be of type Fixnum.
7454 * redisplay.c (horizontal_clip): Likewise.
7455 * lisp.h (dump_add_opaque_int): New.
7456 (dump_add_opaque_fixnum): New.
7458 2001-01-29 Andy Piper <andy@xemacs.org>
7460 * glyphs-widget.c (check_valid_int_or_function): allow symbols
7461 since they can be eval'ed
7463 2001-01-29 Martin Buchholz <martin@xemacs.org>
7465 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
7466 Oops, XEmacs redefines `class'. Use `typename' instead.
7468 2001-01-28 Martin Buchholz <martin@xemacs.org>
7470 * dumper.c: Fix C++ compile errors.
7472 2001-01-29 Martin Buchholz <martin@xemacs.org>
7474 * tparam.c: Use correct prototypes.
7476 2001-01-28 Martin Buchholz <martin@xemacs.org>
7478 * sysproc.h: #include util.h for NetBSD's openpty.
7480 2001-01-27 Martin Buchholz <martin@xemacs.org>
7482 More 64-bit correctness.
7483 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
7484 Use a typedef `fixnum' for the type used for DEFVAR_INT.
7486 This finally finishes the 64-bit SGI port.
7487 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
7488 * symbols.c: Fix up comments and type casts.
7489 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
7490 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
7491 * symeval.h (Fixnum): New type.
7492 * symeval.h (symbol_value_type): Fix up comment.
7508 * mule-canna.c: A million DEFVAR_INTs here...
7509 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
7522 s/int/Fixnum/g in DEFVAR_INT declarations.
7524 2001-01-26 Martin Buchholz <martin@xemacs.org>
7526 Port pdump to SGI alignment-sensitive environment.
7527 Lisp Object sizeof methods now return aligned sizes. Rely on that.
7528 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
7530 Define and use aligned reading and writing macros.
7531 Use buffered stdio instead of posix i/o for faster dumping.
7532 Eliminate kludgy 256 byte space for header.
7533 Read and write from dump file using structs for alignment safety.
7534 * dumper.c (pdump_align_stream): New.
7535 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
7536 * dumper.c (PDUMP_READ_ALIGNED): New.
7537 * dumper.c (PDUMP_WRITE_ALIGNED): New.
7538 * dumper.c (pdump_static_Lisp_Object): New struct.
7539 * dumper.c (pdump_static_pointer): New struct.
7540 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
7541 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
7542 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
7543 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
7545 * dumper.c (pdump_backtrace):
7546 * dumper.c (pdump_get_indirect_count):
7547 * dumper.c (pdump_register_object):
7548 * dumper.c (pdump_register_struct):
7549 * dumper.c (pdump_reloc_one):
7550 * dumper.c (pdump_scan_by_alignment):
7551 * dumper.c (pdump_dump_from_root_struct_ptrs):
7552 * dumper.c (pdump_dump_opaques):
7553 * dumper.c (pdump_dump_rtables):
7554 * dumper.c (pdump_dump_from_root_objects):
7556 * dumper.c (pdump_load_finish):
7557 Use aligned reading and writing.
7559 * dumper.c (pdump_free): Make static.
7560 * dumper.c (pdump_hFile): Likewise.
7561 * dumper.c (pdump_hMap): Likewise.
7563 2001-01-26 Martin Buchholz <martin@xemacs.org>
7565 * XEmacs 21.2.43 "Terspichore" is released.
7567 2001-01-25 Martin Buchholz <martin@xemacs.org>
7569 Type fiddling for window_config.saved_windows_count
7570 * window.c (struct window_config):
7571 Make saved_windows_count member unsigned.
7572 * window.c (sizeof_window_config_for_n_windows):
7573 Make parameter unsigned.
7574 * window.c (mark_window_config):
7575 * window.c (window_config_equal):
7576 * window.c (free_window_configuration):
7577 * window.c (Fset_window_configuration):
7578 * window.c (count_windows):
7579 * window.c (Fcurrent_window_configuration):
7580 * window.c (reinit_vars_of_window):
7581 Update all callers and users.
7583 2001-01-25 Martin Buchholz <martin@xemacs.org>
7585 Alignment correctness for flexible arrays.
7586 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
7587 Make alignment-correct. Add interesting comments.
7588 * alloc.c (size_vector):
7589 * alloc.c (make_vector_internal):
7590 * alloc.c (make_bit_vector_internal):
7591 * alloc.c (sweep_bit_vectors_1):
7592 * fns.c (size_bit_vector):
7593 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
7594 * window.c (sizeof_window_config_for_n_windows):
7595 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
7597 2001-01-24 Martin Buchholz <martin@xemacs.org>
7599 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
7601 2001-01-23 Andy Piper <andy@xemacs.org>
7603 * select.c (Fown_selection_internal): pass owned_p
7605 * select-msw.c (mswindows_own_selection): New Signature.
7607 * console.h (struct console_methods): add owned_p to
7610 * select-x.c (x_own_selection): pass owned_p
7611 (hack_motif_clipboard_selection): use owned_p
7612 (vars_of_select_x): new variable -
7613 x_selection_strict_motif_ownership.
7615 2001-01-23 Martin Buchholz <martin@xemacs.org>
7617 * specifier.h (specifier_data_offset): Remove pointless parens.
7618 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
7620 2001-01-24 Martin Buchholz <martin@xemacs.org>
7622 Make Lisp_Object sizeof methods be alignment-correct.
7623 pdump must restore objects to the same alignment as the C compiler
7624 assumes. It really matters on SGIs.
7625 * lstream.c (aligned_sizeof_lstream): New.
7626 (sizeof_lstream): Use aligned_sizeof_lstream.
7627 (Lstream_new): Likewise.
7628 * opaque.c (aligned_sizeof_opaque): New.
7629 (sizeof_opaque): Use aligned_sizeof_opaque.
7630 (make_opaque): Likewise.
7631 * specifier.c (aligned_sizeof_specifier): New.
7632 (sizeof_specifier): Use aligned_sizeof_specifier.
7633 (make_specifier_internal): Likewise.
7635 2001-01-23 Martin Buchholz <martin@xemacs.org>
7637 * lstream.h (struct lstream): Use max_align_t for trailing data.
7638 * specifier.h (struct Lisp_Specifier): Likewise.
7640 2001-01-22 Martin Buchholz <martin@xemacs.org>
7642 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
7643 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
7644 (CCL_SUSPEND): Likewise.
7645 (CCL_INVALID_CMD): Likewise.
7646 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
7647 (ccl_driver): Likewise.
7648 (CCL_WRITE_CHAR): Macro hygiene.
7649 (CCL_WRITE_STRING): Macro hygiene.
7651 2001-01-22 Martin Buchholz <martin@xemacs.org>
7653 Port "portable" dumper to SunOS 4 and HP-UX.
7654 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
7655 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
7656 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
7658 2001-01-22 Martin Buchholz <martin@xemacs.org>
7660 * lisp.h (ALIGNOF): A better definition for C++.
7662 2001-01-20 Martin Buchholz <martin@xemacs.org>
7665 Fix printf warnings: int format, long int arg.
7666 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
7667 (PUSH_FAILURE_POINT): Use correct printf formats.
7668 (POP_FAILURE_POINT): Use correct printf formats.
7669 Use do {...} while (0)
7671 2001-01-20 Martin Buchholz <martin@xemacs.org>
7673 * XEmacs 21.2.42 "Poseidon" is released.
7675 2001-01-20 Martin Buchholz <martin@xemacs.org>
7677 * console-x.h: typo fix du jour. Remove #if 0'ed code.
7679 2001-01-19 Martin Buchholz <martin@xemacs.org>
7681 De-kludgify FIXED_TYPE free list frobbing.
7682 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
7683 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
7684 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
7685 * alloc.c (Lisp_Free): New pseudo lisp object definition.
7686 * alloc.c (LRECORD_FREE_P): New.
7687 * alloc.c (MARK_LRECORD_AS_FREE): New.
7688 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
7689 * alloc.c (STRUCT_FREE_P): Deleted.
7690 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
7691 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
7692 * alloc.c (STRING_CHARS_FREE_P): New.
7693 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
7694 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
7695 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
7696 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
7697 * alloc.c (resize_string): Use new definitions.
7698 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
7699 * alloc.c (verify_string_chars_integrity): Use new definitions.
7700 * alloc.c (compact_string_chars): Use new definitions.
7701 * alloc.c: Update monster comments.
7702 * lrecord.h (lrecord_type): Add some new lrecord types for
7705 2001-01-18 Martin Buchholz <martin@xemacs.org>
7707 Improve alignment hackery.
7708 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
7709 (max_align_t): Moved from opaque.h - general purpose.
7710 (ALIGN_PTR): Use size_t, not long.
7711 * opaque.h (max_align_t): Move to lisp.h.
7713 2001-01-18 Norbert Koch <nk@LF.net>
7715 * gui.h: Fix and add prototypes to fix build problems.
7717 2001-01-18 Martin Buchholz <martin@xemacs.org>
7719 temacs is going away, so `dump-temacs' is now a bad name.
7720 * .dbxrc (dump-temacs): Rename to `dmp'.
7721 * .gdbinit (dump-temacs): Rename to `dmp'.
7723 2001-01-17 Andy Piper <andy@xemacs.org>
7725 * glyphs.c (print_image_instance): comment to make martin happy.
7727 * glyphs-x.c (x_redisplay_widget): update faces after a frame
7730 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
7732 (mswindows_tab_control_redisplay): warning suppression.
7734 * glyphs-widget.c (widget_update): re-write to cope with updated
7736 (widget_instantiate): use new gui_item functions.
7737 (tab_control_update): deleted.
7738 (progress_gauge_update): deleted.
7739 (image_instantiator_progress_guage): take out update reference.
7740 (image_instantiator_tree_view): ditto.
7741 (image_instantiator_tab_control): ditto.
7743 * gui.c (widget_gui_parse_item_keywords): new function. Do things
7745 (gui_item_add_keyval_pair): re-write to cope with descriptors and
7746 return whether anything was changed.
7747 (update_gui_item_keywords): as it sounds.
7749 * gui.h: declare widget_gui_parse_item_keywords.
7751 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
7752 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
7754 2001-01-17 Martin Buchholz <martin@xemacs.org>
7756 * XEmacs 21.2.41 "Polyhymnia" is released.
7758 2001-01-16 Didier Verna <didier@xemacs.org>
7760 * glyphs.c (image_instantiate): don't use fallbacks when
7761 instantiating a face's background pixmap by inheritance.
7763 2001-01-14 Mike Sperber <mike@xemacs.org>
7765 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
7766 Conditionalize accordingly.
7768 2001-01-16 Martin Buchholz <martin@xemacs.org>
7770 * dumper.c (pdump_file_get): Fix a compiler warning.
7772 2001-01-15 Martin Buchholz <martin@xemacs.org>
7774 Make Purify happy when pdumping.
7775 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
7776 iniitalizing all bits of new lisp object memory.
7777 * symbols.c (Fmake_local_variable): Likewise.
7778 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
7779 * symbols.c (Fdefvaralias): Likewise.
7780 * mule-charset.c (vars_of_mule_charset): Likewise.
7782 2001-01-15 Martin Buchholz <martin@xemacs.org>
7783 Add the `-nd' flag when running pre-dump operations under the debugger.
7784 * .dbxrc (run-temacs): Add `-nd'.
7785 * .dbxrc (update-elc): Likewise.
7786 * .dbxrc (dump-temacs): Likewise.
7787 * .gdbinit (run-temacs): Likewise.
7788 * .gdbinit (check-temacs): Likewise.
7789 * .gdbinit (update-elc): Likewise.
7790 * .gdbinit (dump-temacs): Likewise.
7792 2001-01-14 Martin Buchholz <martin@xemacs.org>
7794 Allow building 64-bit executables on AIX with GNU malloc, e.g.
7795 export OBJECT_MODE=64
7796 configure --pdump --use-union-type=no
7797 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
7798 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
7800 * miscplay.c (sndcnv8U_2mono):
7801 Avoid two uses of `++' in the same expression.
7802 Suppresses a GCC warning.
7804 2001-01-13 Martin Buchholz <martin@xemacs.org>
7806 Make sure future compilers don't miscompile alloc.c.
7808 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
7809 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
7811 2001-01-12 Martin Buchholz <martin@xemacs.org>
7813 * dumper.c: A little post-pdump-rename comment fixup.
7815 2001-01-09 Jerry James <james@eecs.ku.edu>
7817 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
7819 2001-01-13 Martin Buchholz <martin@xemacs.org>
7821 * *.[ch]: Globally rename symbols using the following `pdump-rename'
7825 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
7828 replace_symbol pdump_wire_lists pdump_weak_object_chains
7829 replace_symbol pdump_wire_list dump_add_weak_object_chain
7831 replace_symbol pdump_wires pdump_root_objects
7832 replace_symbol pdump_wire dump_add_root_object
7834 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
7835 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
7837 replace_symbol dumpstructinfos pdump_root_struct_ptrs
7838 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
7839 replace_symbol dumpstructinfo pdump_root_struct_ptr
7840 replace_symbol dumpstruct dump_add_root_struct_ptr
7842 replace_symbol dumpopaque dump_add_opaque
7843 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
7844 replace_symbol dumpopaqueinfos pdump_opaques
7845 replace_symbol dumpopaqueinfo pdump_opaque
7847 replace_symbol nb_structdump nb_root_struct_ptrs
7848 replace_symbol nb_opaquedump nb_opaques
7850 replace_symbol align_table pdump_align_table
7851 replace_symbol dump_header pdump_header
7853 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
7854 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
7857 2001-01-12 Martin Buchholz <martin@xemacs.org>
7859 * s/aix4.h: Keep the C for AIX compiler from overaggressively
7860 optimizing bytecount_to_charcount().
7862 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7865 (HAVE_DLFCN_H): Removed.
7866 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
7868 2001-01-06 Martin Buchholz <martin@xemacs.org>
7870 Portable dumper maintainability improvements.
7871 * alloc.c (staticpro):
7872 * alloc.c (staticpro_nodump):
7873 * alloc.c (garbage_collect_1):
7874 * alloc.c (reinit_alloc_once_early):
7875 * alloc.c (init_alloc_once_early):
7876 * alloc.c: Move dumper functions to alloc.c.
7877 * dumper.c (pdump_backtrace):
7878 * dumper.c (pdump_dump_structs):
7879 * dumper.c (pdump_dump_opaques):
7880 * dumper.c (pdump_dump_rtables):
7881 * dumper.c (pdump_dump_wired):
7883 * dumper.c (pdump_load_check):
7884 * dumper.c (pdump_load_finish):
7885 * dumper.c (pdump_file_unmap):
7886 * dumper.c (pdump_file_get):
7887 * dumper.c (pdump_resource_free):
7888 * dumper.c (pdump_resource_get):
7889 * dumper.c (pdump_file_free):
7890 * dumper.c (pdump_file_try):
7891 * dumper.c (pdump_load):
7892 Remove fixed size limits on staticpro(), staticpro_nodump(),
7893 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
7894 Remove custom code for dumping lrecord_implementations_table - use
7896 Remove (most of the) custom code for dumping staticpros - dump it
7897 like any other dynarr.
7899 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
7900 * dumper.c: Moved functions from alloc.c.
7901 * alloc.c (dumpstruct): Moved to dumper.c.
7902 * alloc.c (dumpopaque): Likewise.
7903 * alloc.c (pdump_wire): Likewise.
7904 * alloc.c (pdump_wire_list): Likewise.
7906 * lisp.h (Dynarr_sizeof): New.
7907 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
7908 * lisp.h (Dynarr_end): New. Very slightly C++oid.
7909 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
7911 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
7912 * lisp.h (dumpopaque): ditto.
7913 * lisp.h (pdump_wire): ditto.
7914 * lisp.h (pdump_wire_list): ditto.
7916 2001-01-09 Martin Buchholz <martin@xemacs.org>
7918 * make-src-depend (PrintPatternDeps):
7919 Use `sort' to make output independent of perl version.
7921 2001-01-08 Martin Buchholz <martin@xemacs.org>
7924 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
7925 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
7927 2001-01-03 Didier Verna <didier@xemacs.org>
7929 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
7930 that `focus_frame' is alive before thinking of calling
7931 `redisplay_redraw_cursor' on it.
7933 2001-01-08 Martin Buchholz <martin@xemacs.org>
7935 * XEmacs 21.2.40 is released.
7937 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
7939 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
7941 2001-01-06 Martin Buchholz <martin@xemacs.org>
7943 * alloc.c (dbg_valmask): Make const.
7944 * alloc.c (dbg_typemask): Make const.
7945 * alloc.c (dbg_USE_UNION_TYPE): Make const.
7946 * alloc.c (dbg_valbits): Make const.
7947 * alloc.c (dbg_gctypebits): Make const.
7949 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
7951 * redisplay-x.c (x_bevel_area):
7952 redisplay.h (struct rune):
7953 Typo fixes in comments.
7955 2001-01-05 Andy Piper <andy@xemacs.org>
7957 * glyphs-x.c (x_redisplay_widget): use size changed for offset
7960 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
7962 2001-01-05 Martin Buchholz <martin@xemacs.org>
7964 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
7966 * mule-ccl.c (stack_idx_of_map_multiple):
7967 Non const global data must not be initialized!
7968 Found by MIYASHITA Hisashi.
7970 2001-01-02 Andy Piper <andy@xemacs.org>
7972 * frame.c (change_frame_size): make sure frame size is always
7975 * glyphs.c (image_instance_layout): minor code reuse.
7977 * window.c (Fcurrent_window_configuration): revert previous
7980 2001-01-02 Martin Buchholz <martin@xemacs.org>
7983 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
7985 2000-12-31 Andy Piper <andy@xemacs.org>
7987 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
7988 when widget gets unmapped.
7990 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
7991 function. Make sure widgets losing focus don't just drop it.
7992 (handle_focus_event_1): record the widget with focus.
7994 2000-12-31 Andy Piper <andy@xemacs.org>
7996 * window.c (allocate_window): use
7997 make_image_instance_cache_hash_table.
7998 (make_dummy_parent): ditto.
7999 (Fset_window_configuration): ditto.
8001 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
8003 * glyphs.c (process_image_string_instantiator): use
8005 (get_image_instantiator_governing_domain): ditto.
8006 (normalize_image_instantiator): ditto.
8007 (instantiate_image_instantiator): ditto.
8008 (make_image_instance_1): ditto.
8009 (image_instantiate): ditto. Key on glyph *and* instantiator type.
8010 (instantiator_eq_equal): new function for use with instance hash
8012 (instantiator_eq_hash): ditto.
8013 (make_image_instance_cache_hash_table): create a suitable hash
8014 table for storing image instances.
8016 * elhash.h (hash_table_weakness): new internal weakness type
8017 HASH_TABLE_KEY_CAR_VALUE_WEAK.
8018 declare new functions.
8020 * elhash.c (finish_marking_weak_hash_tables): introduce yet
8021 another weakness type for glyphs.
8022 (make_standard_lisp_hash_table): new function split out from
8023 make_general_lisp_hash_table.
8024 (make_lisp_hash_table): call make_standard_lisp_hash_table.
8025 (hash_table_instantiate): ditto.
8026 (Fmake_hash_table): ditto.
8028 2000-12-31 Martin Buchholz <martin@xemacs.org>
8030 * XEmacs 21.2.39 is released.
8032 2000-12-29 Andy Piper <andy@xemacs.org>
8034 * menubar.c (menubar_visible_p_changed): signal the frame changed.
8036 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
8037 the frame has changed so that we pick up geometry changes such as
8040 2000-12-28 Andy Piper <andy@xemacs.org>
8042 * lastfile.c (my_ebss): make a char array so we can pad the
8043 bss. Fixes cygwin unexec.
8045 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
8047 2000-12-26 Andy Piper <andy@xemacs.org>
8049 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
8050 comments and try and be more precise about a non-/SIGIO world.
8051 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
8054 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
8055 we don't normalize to zero width or height.
8057 2000-12-24 Andy Piper <andy@xemacs.org>
8059 * Makefile.in.in (ldflags): add -mwindows when appropriate.
8061 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
8063 * s/sco5.h: SCO 5 has pty support.
8065 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
8067 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
8068 input-method-xlib.c contains whole contents of input-method-xfs.c,
8069 so we can use input-method-xlib.c's code for USE_XFONTSET
8071 * input-method-xfs.c: removed.
8073 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
8075 * file-coding.h (enum coding_category_type): reorder enumerators to
8076 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
8077 (now one greater than largest real coding_category_type enumerator).
8078 * file-coding.c (coding_category_symbol, coding_category_by_priority,
8079 coding_category_system, fcd_descriptihon_1, decode_coding_category,
8080 Fcoding_category_list, Fset_coding_priority_list,
8081 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
8082 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
8084 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8086 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
8087 * redisplay-output.c (redisplay_output_window): Clear top of window
8088 when face is changed.
8089 * redisplay-x.c (x_redraw_exposed_window): Call
8090 redisplay_clear_top_of_window.
8091 * redisplay.h: Publish redisplay_clear_top_of_window.
8093 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
8095 * buffer.c (Fkill_buffer): Map over all devices.
8096 * window.c (window_loop): Remove UNSHOW_BUFFER code.
8097 (list_windows): New function.
8098 (list_all_windows): Ditto.
8099 (Freplace_buffer_in_windows): Use them.
8101 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
8103 * database.c (berkdb_subtype): Recognize new subtype `queue'.
8104 (Fopen_database): Use `db_create' instead of `db_open'.
8105 (syms_of_database): Initialize Qqueue.
8107 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8109 * buffer.c (common_init_complex_vars_of_buffer): Initialize
8110 buffer_local_face_property.
8111 * buffer.h (struct buffer): New member buffer_local_face_property.
8112 * window.c (Fset_window_buffer): Mark window's face as changed
8113 when buffer has buffer local face.
8114 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
8115 * objects.c (color_after_change): Set buffer_local_face_property
8116 when locale of face specifier is buffer.
8117 * objects.c (font_after_change): Ditto.
8118 * objects.c (face_boolean_after_change): Ditto.
8119 * glyphs.c (image_after_change): Ditto.
8121 2000-12-09 Dan Holmsand <dan@eyebee.com>
8123 * nt.c (mswindows_fstat): Report file permissions, volume serial
8124 number, etc. Code adapted from FSF Emacs 20.7.
8126 2000-12-09 Dan Holmsand <dan@eyebee.com>
8128 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
8129 of stat when we don't have symbolic links, to make sure
8130 mswindows_stat is called on mswindows.
8132 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
8134 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
8136 2000-12-12 Martin Buchholz <martin@xemacs.org>
8138 * doprnt.c (emacs_doprnt_1): More printing fixes.
8139 Make printing of numbers compatible with libc and FSF Emacs.
8140 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
8141 Use the system printf to do most of the hard work of formatting,
8142 instead of doprnt_1().
8143 Calculate memory to allocate for format string.
8144 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
8145 (doprnt_1): Cleaner code and documentation.
8147 2000-12-01 Jerry James <james@eecs.ukans.edu>
8149 * Makefile.in.in: Use the loop variable to install headers.
8151 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8153 * window.c (Fsplit_window): Don't invalidate face cache.
8155 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8157 * minibuf.c (Fall_completions): Undo the previous change
8158 which removed checking elements start with space.
8160 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8162 * mule-canna.c: Didier suppression.
8164 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
8166 * mule-canna.c: rename static unsigned char buf[] to key_buffer
8167 (warning suppression). Add English comment translations.
8169 2000-12-05 Martin Buchholz <martin@xemacs.org>
8171 * unexelfsgi.c (unexec): Better test for mmap failure.
8173 2000-12-05 Martin Buchholz <martin@xemacs.org>
8175 * XEmacs 21.2.38 is released.
8177 2000-12-05 Martin Buchholz <martin@xemacs.org>
8179 * redisplay.c (bar-cursor): Make a user variable.
8181 * symsinit.h: Add init_postgresql_from_environment.
8183 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
8185 * regex.c: Convert to clean C.
8187 2000-12-05 Dan Holmsand <dan@eyebee.com>
8190 Don't #include sysfile.h. Revert to duplicating PATH_MAX
8192 (sys_readlink): renamed to system_readlink to avoid conflict with
8193 the other sys_readlink.
8195 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
8197 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
8199 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
8201 * postgresql.c (init_postgresql_from_environment): new function.
8202 (vars_of_postgresql): Move code initializing Lisp variables out and
8203 into init_postgresql_from_environment.
8204 emacs.c (main_1): Call init_postgresql_from_environment if and only
8205 if running a dumped XEmacs.
8207 2000-08-31 Dan Holmsand <dan@eyebee.com>
8209 * buffer.c: Make find-file-compare-truenames default to true on
8212 * realpath.c (win32_abs_start):
8214 (win32_readlink): New functions.
8215 (xrealpath): Return really real filenames on windows.
8217 * fileio.c (Ffile_truename): Make file-truename work on windows.
8219 2000-11-29 Didier Verna <didier@xemacs.org>
8221 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
8222 * faces.c (update_face_cachel_data): use it.
8223 * faces.c (add_face_cachel): use it. Complete background pixmap
8224 frobbing in face cache if `update_face_cachel_data' has not done so.
8226 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
8228 * search.c (string_match_1): Don't set last_thing_searched
8231 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
8233 * buffer.c: Include casetab.h
8234 (common_init_complex_vars_of_buffer): Use new case-table object.
8235 * buffer.h: Include casetab.h
8236 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
8237 (DOWNCASE_TABLE_OF): Ditto.
8238 * bufslots.h: Remove char-tables and add case-table.
8239 * casetab.c: Include casetab.h
8240 (CASE_TABLE_P): Removed.
8241 (mark_case_table): New function.
8242 (allocate_case_table): New function.
8243 (Fcase_table_p): Use new case-table.
8244 (case_table_char): New function.
8245 (Fget_case_table): Ditto.
8246 (Fput_case_table): Ditto.
8247 (Fput_case_table_pair): Ditto.
8248 (Fcopy_case_table): Ditto.
8249 (Fcurrent_case_table): Return case-table.
8250 (Fstandard_case_table): Return case-table.
8251 (Fset_case_table): Fix doc-string.
8252 (set_case_table): Use case-table
8253 (syms_of_casetab): DEFSUBR new functions.
8254 (complex_vars_of_casetab): Set up standard case-table.
8255 * casetab.h: New file.
8256 * editfns.c: Include casetab.h
8257 (Fcompare_buffer_substrings): Use case-table.
8258 * inline.c: Include casetab.h
8259 * lisp.h: Remove bogus extern.
8260 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
8261 * search.c: Include casetab.h
8262 (TRANSLATE_ASCII): Removed.
8263 (TRANSLATE): Unconditionally translate character.
8264 (looking_at_1): Use case-table.
8265 (string_match_1): Ditto.
8266 (fast_string_match): Ditto.
8267 (search_command): Ditto.
8268 (search_buffer): Separate boyer_moore. Check whether
8269 boyer_moore is possible.
8270 (simple_search): New function.
8271 (boyer_moore): Separated from search_buffer. Translate char.
8273 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
8275 * regex.c (RE_TR_ASCII): Removed.
8276 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
8277 (PATFETCH): Call PATFETCH_RAW.
8278 (PATFETCH_RAW): Fetch Emchar.
8279 (PATUNFETCH): Decrement charptr.
8280 (GET_BUFFER_SPACE): Rename b to buf_end.
8282 (BUF_PUSH_2): Ditto.
8283 (BUF_PUSH_3): Ditto.
8284 (EXTEND_BUFFER): Ditto.
8285 (SET_LIST_BIT): Ditto.
8286 (regex_compile): Ditto. Translate non ASCII char.
8287 (compile_range): Ditto.
8288 (re_search_2): Ditto.
8289 (re_match_2_internal): Compare Emchar.
8290 (bcmp_translate): Ditto.
8292 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
8294 * lisp.h (basic char/int typedefs): comment improvement.
8296 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
8298 * emacs.c (main_1): unconditional pdump unstomping; don't save and
8299 unstomp inhibit_site_lisp. Improve comments.
8301 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
8303 * mule-charset.c (Fcharset_property): improve type checking, comments.
8305 2000-11-28 Andy Piper <andy@xemacs.org>
8307 * redisplay-output.c (redisplay_output_subwindow): make sure we do
8308 clipped display for windows in the gutter also.
8309 (redisplay_display_boxes_in_window_p): change semantics of return
8310 codes to be more intuitive.
8312 * gutter.h: declare display_boxes_in_gutter_p.
8314 * gutter.c (display_boxes_in_gutter_p): new function for
8317 2000-11-22 Andy Piper <andy@xemacs.org>
8319 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
8322 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
8324 * callproc.c (Fold_call_process_internal):
8325 * gpm.c (Freceive_gpm_event):
8326 (tty_get_foreign_selection): Might be just warning supression.
8327 * fileio.c (Fwrite_region_internal):
8328 (Fset_visited_file_modtime):
8329 * keymap.c (event_matches_key_specifier_p):
8330 Initialize GCPROed variable.
8332 * menubar-x.c (command_builder_find_menu_accelerator):
8333 Initialize before use.
8335 2000-11-23 Andy Piper <andy@xemacs.org>
8337 * unexcw.c (unexec): make the resulting executable executable.
8339 2000-11-21 Martin Buchholz <martin@xemacs.org>
8341 * doc.c (get_doc_string):
8342 Use size_t, not int, for result of XSTRING_LENGTH.
8344 * cmds.c (Fdelete_char):
8345 * cmds.c (Fpoint_at_eol):
8346 * cmds.c (Fself_insert_command):
8347 Use EMACS_INT, not int, for result of XINT.
8348 Someday, someone will want to insert more than 2**31 identical characters.
8350 * cmds.c (Fdelete_char):
8351 * cmds.c (Fdelete_backward_char):
8352 * syntax.c (Fforward_word):
8353 * syntax.c (Fforward_comment):
8354 Make COUNT argument optional, for consistency with forward-char et al.
8356 2000-11-22 Martin Buchholz <martin@xemacs.org>
8359 * print.c (long_to_string):
8360 Return a useful value: the pointer at end of data written.
8363 Use `static const char * const' for constant strings.
8364 (union printf_arg): Delete `i', `ui' members.
8367 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
8368 Do all printf-ing via the `l' specifier.
8369 Use EMACS_INT instead of int.
8372 2000-11-20 Didier Verna <didier@xemacs.org>
8374 * faces.c (update_face_cachel_data): don't frob the background
8375 pixmap when the window is being created. The face is needed but
8378 2000-11-20 Andy Piper <andy@xemacs.org>
8380 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
8381 messing with a debug environment.
8383 2000-11-20 Martin Buchholz <martin@xemacs.org>
8385 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
8387 2000-11-20 Martin Buchholz <martin@xemacs.org>
8389 * casetab.c (Fcase_table_p): Fix compile error and crash.
8391 2000-11-18 Philip Aston <philipa@mail.com>
8393 * s/cygwin32.h: Cygwin has SVR4-like pty support.
8395 2000-11-18 Martin Buchholz <martin@xemacs.org>
8397 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
8398 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
8400 2000-11-17 Martin Buchholz <martin@xemacs.org>
8402 * config.h.in: Define HAVE_ELF_H if elf.h exists.
8403 * unexelf.c: Use HAVE_ELF_H.
8404 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
8405 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
8406 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
8407 Greg Harrington <greg_harrington@hotmail.com> provided a machine
8409 So this is an unexelfsgi.c from a different line of development.
8411 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8413 * regex.c (RE_TR_ASCII): New function.
8414 (RE_TRANSLATE): Call it.
8416 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
8418 * buffer.h (TRT_TABLE_OF): Remove assert.
8419 (IN_TRT_TABLE_DOMAIN): Removed.
8421 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
8423 * free-hook.c (log_gcpro):
8424 (show_gcprohist): Add support for GCPRO5.
8426 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
8428 * emacs.c (main_1): Improve -sd error message when --pdump=no.
8430 2000-11-16 Olivier Galibert <galibert@xemacs.org>
8432 * symeval.h: Declare flush_all_buffer_local_cache.
8434 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
8435 (flush_buffer_local_cache): Added.
8436 (flush_all_buffer_local_cache): Added.
8438 * lrecord.h: Remove unused XD_LO_RESET_NIL.
8440 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
8441 (pdump_dump_data): Ditto.
8442 (pdump_reloc_one): Ditto.
8443 (pdump): Remove unused pdump_qnil. Flush buffer local caches
8447 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8449 * buffer.c: Remove if 0'ed entry.
8450 * buffer.h: Rewrite TRT to use char-table.
8451 * bufslots.h: Remove mirror tables.
8452 * casetab.c: Remove mirror tables.
8453 (CASE_TABLE_P): New macro.
8454 (Fcase_table_p): Element of a case table is string or char-table.
8455 (make_mirror_trt_table): Removed.
8456 (set_case_table): Setup char-table from strings for backward
8458 * dired.c (Fdirectory_files):
8459 * dired-msw.c: (mswindows_get_files):
8460 * lisp.h: Change prototype of re_pattern_buffer.
8461 * regex.c: (RE_TRANSLATE): New macro.
8462 (TRANSLATE_P): Ditto.
8463 Change translate to type RE_TRANSLATE_TYPE.
8464 * regex.h: Define RE_TRANSLATE_TYPE
8465 * search.c (TRANSLATE): New macro.
8466 (TRANSLATE_ASCII): New macro.
8467 Translate table is changed to Lisp_Object.
8468 (signal_failure): Inhibit return.
8470 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
8477 Do UNGCPRO before return.
8479 2000-11-14 Martin Buchholz <martin@xemacs.org>
8481 * XEmacs 21.2.37 is released.
8483 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
8485 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
8486 Add comments about discarded return value.
8488 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
8491 * event-stream.c: Fix comments. Remove some #if 0'ed part.
8493 2000-10-27 Andy Piper <andy@xemacs.org>
8495 * gutter.c (Fset_default_gutter_position): default left and right
8497 (calculate_gutter_size): calculate resonable heuristic for left
8498 and right gutter sizes.
8499 (specifier_vars_of_gutter): change left and right gutter sizes to
8501 (calculate_gutter_size_from_display_lines): new function.
8502 (output_gutter): check for resizing on left and right gutters.
8503 (clear_gutter): don't special case top and left gutters.
8504 (specifier_vars_of_gutter): use new signature for
8505 set_specifier_caching.
8507 * glyphs-x.c (x_redisplay_widget): spelling fix.
8508 * glyphs.c (specifier_vars_of_glyphs):
8509 * menubar.c (specifier_vars_of_menubar):
8510 * redisplay.c (specifier_vars_of_redisplay):
8511 * toolbar.c (specifier_vars_of_toolbar):
8512 * window.c (specifier_vars_of_window):
8513 * scrollbar.c (specifier_vars_of_scrollbar):
8514 (complex_vars_of_scrollbar): use new signature for
8515 set_specifier_caching.
8517 * specifier.c (set_specifier_caching): include recompute flag.
8518 (recompute_one_cached_specifier_in_window): always recompute if
8520 (recompute_one_cached_specifier_in_frame): ditto.
8522 * specifier.h (struct specifier_caching): add recompute flag.
8524 2000-10-24 Andy Piper <andy@xemacs.org>
8526 * unexcw.c (copy_executable_and_dump_data_section): add new
8527 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
8530 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8532 * console-x.h (x_device): New member modifier_release_time.
8533 * event-Xt.c (x_handle_sticky_modifiers):
8534 Bound interval modifier keys are sticky.
8535 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
8536 * events.h: extern it.
8538 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8540 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
8542 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
8544 * event-stream.c (execute_command_event): Preserve current_events
8545 and the like when event is misc-user-event.
8546 Inhibit quit during the call to maybe_echo_keys.
8548 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
8550 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
8551 symlink when buffer is killed.
8552 (inhibit_clash_detection): New variable.
8554 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8556 * console.c (Fset_input_method): Trigger redisplay on tty.
8558 2000-11-07 Martin Buchholz <martin@xemacs.org>
8560 * process.c (Fprocess_status): Revert to previous behavior:
8561 (process-status "nosuchprocess") ==> nil
8563 2000-11-06 Martin Buchholz <martin@xemacs.org>
8565 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
8566 Work around another GCC 2.95.2 optimizer bug.
8568 2000-11-02 Martin Buchholz <martin@xemacs.org>
8570 * process.c (Fget_process): Use LIST_LOOP_2.
8571 (kill_buffer_processes): Use LIST_LOOP_2.
8573 * minibuf.c (Fall_completions):
8574 Delete old non-functional code for FSF fourth argument.
8576 * frame.c (frame_matches_frame_spec):
8577 Renamed from `frame_matches_frametype'. Update all callers.
8578 (device_matches_device_spec):
8579 Renamed from 'device_matches_console_spec'. Update all callers.
8581 * doc.c (Fsubstitute_command_keys):
8582 Remove buffer overflow crash. Small code cleanups.
8584 * casetab.c (check_case_table): Simpler code.
8586 * window.c (Freplace_buffer_in_windows):
8587 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
8588 (and similar implementation) as Fdelete_windows_on.
8591 * alloc.c (Fmake_list):
8592 * alloc.c (make_vector):
8593 * alloc.c (Fmake_vector):
8594 * alloc.c (make_bit_vector):
8595 * alloc.c (Fmake_bit_vector):
8596 * alloc.c (Fbit_vector):
8597 * alloc.c (Fmake_string):
8598 * alloc.c (Fpurecopy):
8599 * alloc.c (Fmemory_limit):
8601 * buffer.c (Fget_buffer):
8602 * buffer.c (Fkill_buffer):
8603 * buffer.c (complex_vars_of_buffer):
8604 * bytecode.c (Fcompiled_function_stack_depth):
8605 * callint.c (Fprefix_numeric_value):
8607 * event-stream.c (Fread_key_sequence):
8609 * casetab.c (Fcase_table_p):
8610 * casetab.c (check_case_table):
8611 * casetab.c (Fset_case_table):
8612 * casetab.c (Fset_standard_case_table):
8614 * chartab.c (Fchar_table_type):
8615 * chartab.c (Freset_char_table):
8616 * chartab.c (Fget_char_table):
8617 * chartab.c (Fget_range_char_table):
8618 * chartab.c (Fput_char_table):
8619 * chartab.c (Fmap_char_table):
8620 * chartab.c (Fcategory_table_p):
8621 * chartab.c (Fcheck_category_at):
8622 * chartab.c (Fchar_in_category_p):
8623 * chartab.c (Fcategory_table):
8624 * chartab.c (Fcopy_category_table):
8625 * chartab.c (Fset_category_table):
8626 * chartab.c (Fcategory_designator_p):
8627 * chartab.c (Fcategory_table_value_p):
8628 * cmds.c (Fdelete_char):
8629 * cmds.c (Fdelete_backward_char):
8630 * cmds.c (Fself_insert_command):
8631 * cmds.c (Fself_insert_internal):
8632 * console.c (Fvalid_console_type_p):
8633 * console.c (Fcdfw_console):
8634 * console.c (Fconsole_type):
8635 * console.c (Fconsole_name):
8636 * console.c (Fconsole_device_list):
8637 * console.c (Fconsole_on_window_system_p):
8641 * data.c (Fsubr_interactive):
8642 * data.c (Fchar_to_int):
8643 * data.c (Fint_to_char):
8646 * data.c (Fnumber_to_string):
8647 * data.c (Fstring_to_number):
8649 * database.c (mark_database):
8650 * database.c (finalize_database):
8651 * database.c (Fdatabase_live_p):
8652 * database.c (Fdatabasep):
8653 * device-x.c (Fx_get_resource):
8654 * device.c (Fdfw_device):
8656 * dired.c (Ffile_name_completion):
8657 * dired.c (Ffile_name_all_completions):
8658 * dired.c (Fuser_name_completion):
8659 * dired.c (Fuser_name_completion_1):
8660 * dired.c (Fuser_name_all_completions):
8661 * doc.c (Fdocumentation):
8662 * doc.c (Fdocumentation_property):
8663 * doc.c (Fsubstitute_command_keys):
8665 * editfns.c (Fchar_to_string):
8666 * editfns.c (Fstring_to_char):
8667 * editfns.c (Ftemp_directory):
8668 * editfns.c (Finsert_char):
8669 * editfns.c (Fbuffer_substring_no_properties):
8670 * editfns.c (Fnarrow_to_region):
8671 * editfns.c (Fchar_equal):
8672 * editfns.c (Fchar_Equal):
8673 * editfns.c (Ftranspose_regions):
8674 * emacs.c (Fdump_emacs):
8676 * eval.c (Fcommand_execute):
8677 * eval.c (Fautoload):
8678 * eval.c (Fbacktrace):
8679 * eval.c (Fbacktrace_frame):
8681 * events.c (Fcopy_event):
8682 * events.c (Fcharacter_to_event):
8683 * events.c (Fevent_button):
8684 * events.c (Fevent_process):
8686 * extents.c (Fnext_extent_change):
8687 * extents.c (Fextent_property):
8689 * faces.c (Fmake_face):
8691 * file-coding.c (Fencode_shift_jis_char):
8692 * file-coding.c (Fencode_big5_char):
8693 * fileio.c (Ffile_name_directory):
8694 * fileio.c (Ffile_name_nondirectory):
8695 * fileio.c (Ffile_name_as_directory):
8696 * fileio.c (Fdirectory_file_name):
8697 * fileio.c (Ffile_truename):
8698 * fileio.c (Fsubstitute_in_file_name):
8699 * fileio.c (Ffile_modes):
8700 * fileio.c (Fset_file_modes):
8701 * fileio.c (Fset_default_file_modes):
8702 * fileio.c (Fverify_visited_file_modtime):
8703 * floatfns.c (Facos):
8704 * floatfns.c (Fasin):
8705 * floatfns.c (Fatan):
8706 * floatfns.c (Fcos):
8707 * floatfns.c (Fsin):
8708 * floatfns.c (Ftan):
8709 * floatfns.c (Fbessel_j0):
8710 * floatfns.c (Fbessel_j1):
8711 * floatfns.c (Fbessel_jn):
8712 * floatfns.c (Fbessel_y0):
8713 * floatfns.c (Fbessel_y1):
8714 * floatfns.c (Fbessel_yn):
8715 * floatfns.c (Ferf):
8716 * floatfns.c (Ferfc):
8717 * floatfns.c (Flog_gamma):
8718 * floatfns.c (Fexp):
8719 * floatfns.c (Fexpt):
8720 * floatfns.c (Flog):
8721 * floatfns.c (Flog10):
8722 * floatfns.c (Fsqrt):
8723 * floatfns.c (Fcube_root):
8724 * floatfns.c (Facosh):
8725 * floatfns.c (Fasinh):
8726 * floatfns.c (Fatanh):
8727 * floatfns.c (Fcosh):
8728 * floatfns.c (Fsinh):
8729 * floatfns.c (Ftanh):
8730 * floatfns.c (Fabs):
8731 * floatfns.c (Ffloat):
8732 * floatfns.c (Flogb):
8733 * floatfns.c (Fceiling):
8734 * floatfns.c (Ffloor):
8735 * floatfns.c (Fround):
8736 * floatfns.c (Ftruncate):
8737 * floatfns.c (Ffceiling):
8738 * floatfns.c (Fffloor):
8739 * floatfns.c (Ffround):
8740 * floatfns.c (Fftruncate):
8741 * fns.c (Fstring_equal):
8742 * fns.c (Fstring_lessp):
8747 * fns.c (Fsubstring):
8749 * fns.c (Fold_assoc):
8750 * fns.c (assoc_no_quit):
8752 * fns.c (Fold_assq):
8753 * fns.c (assq_no_quit):
8755 * fns.c (Fold_rassoc):
8757 * fns.c (Fold_rassq):
8758 * fns.c (rassq_no_quit):
8759 * fns.c (Fremassoc):
8760 * fns.c (remassoc_no_quit):
8762 * fns.c (remassq_no_quit):
8763 * fns.c (Fremrassoc):
8764 * fns.c (Fremrassq):
8765 * fns.c (remrassq_no_quit):
8767 * fns.c (Fplist_get):
8768 * fns.c (Fplist_put):
8769 * fns.c (Fplist_remprop):
8770 * fns.c (Fplist_member):
8771 * fns.c (Flax_plist_get):
8772 * fns.c (Flax_plist_put):
8773 * fns.c (Flax_plist_remprop):
8774 * fns.c (Flax_plist_member):
8776 * fns.c (Fold_equal):
8778 * fns.c (Fbase64_encode_region):
8779 * fns.c (Fbase64_encode_string):
8780 * fns.c (Fbase64_decode_region):
8782 * frame.c (frame_matches_frame_spec):
8783 * frame.c (device_matches_device_spec):
8784 * frame.c (next_frame):
8785 * frame.c (previous_frame):
8786 * frame.c (Fnext_frame):
8787 * frame.c (Fprevious_frame):
8788 * frame.c (Fframe_property):
8789 * frame.c (Fset_frame_height):
8790 * frame.c (Fset_frame_size):
8794 * glyphs.c (decode_error_behavior_flag):
8795 * glyphs.c (Fmake_image_instance):
8796 * indent.c (Findent_to):
8797 * intl.c (Fignore_defer_gettext):
8798 * keymap.c (Fkeymapp):
8799 * keymap.c (Flookup_key):
8801 * lread.c (Fload_internal):
8802 * lread.c (Feval_buffer):
8803 * lread.c (Feval_region):
8804 * macros.c (Fexecute_kbd_macro):
8805 * marker.c (set_marker_internal):
8806 * marker.c (Fset_marker):
8807 * marker.c (set_marker_restricted):
8808 * marker.c (Fcopy_marker):
8809 * marker.c (noseeum_copy_marker):
8811 * menubar.c (Fpopup_menu):
8813 * mule-charset.c (Fcharset_name):
8814 * mule-charset.c (Fchar_charset):
8815 * mule-charset.c (Fchar_octet):
8816 * mule-charset.c (Fsplit_char):
8817 * mule-wnnfns.c (Fwnn_open):
8818 * mule-wnnfns.c (Fwnn_dict_comment):
8819 * mule-wnnfns.c (Fwnn_quit_henkan):
8820 * mule-wnnfns.c (Fwnn_word_toroku):
8821 * mule-wnnfns.c (Fwnn_word_sakujo):
8822 * mule-wnnfns.c (Fwnn_word_use):
8823 * mule-wnnfns.c (Fwnn_hindo_set):
8825 * objects.c (Fmake_color_instance):
8826 * objects.c (Fmake_font_instance):
8827 * print.c (Fwrite_char):
8829 * process.c (mark_process):
8830 * process.c (print_process):
8831 * process.c (get_process_from_usid):
8832 * process.c (Fprocessp):
8833 * process.c (Fprocess_live_p):
8834 * process.c (Fget_process):
8835 * process.c (Fget_buffer_process):
8836 * process.c (get_process):
8837 * process.c (Fprocess_id):
8838 * process.c (Fprocess_name):
8839 * process.c (Fprocess_command):
8840 * process.c (init_process_io_handles):
8841 * process.c (start_process_unwind):
8842 * process.c (Fstart_process_internal):
8843 * process.c (Fopen_multicast_group_internal):
8844 * process.c (Fset_process_window_size):
8845 * process.c (read_process_output):
8846 * process.c (send_process):
8847 * process.c (Fprocess_tty_name):
8848 * process.c (Fset_process_buffer):
8849 * process.c (Fprocess_buffer):
8850 * process.c (Fprocess_mark):
8851 * process.c (set_process_filter):
8852 * process.c (Fset_process_filter):
8853 * process.c (Fprocess_filter):
8854 * process.c (Fprocess_send_region):
8855 * process.c (Fprocess_send_string):
8856 * process.c (exec_sentinel):
8857 * process.c (Fset_process_sentinel):
8858 * process.c (Fprocess_sentinel):
8859 * process.c (status_notify):
8860 * process.c (Fprocess_status):
8861 * process.c (Fprocess_exit_status):
8862 * process.c (process_send_signal):
8863 * process.c (Fprocess_send_eof):
8864 * process.c (deactivate_process):
8865 * process.c (remove_process):
8866 * process.c (Fdelete_process):
8867 * process.c (kill_buffer_processes):
8868 * process.c (Fprocess_kill_without_query):
8869 * process.c (Fprocess_kill_without_query_p):
8871 * rangetab.c (Fget_range_table):
8872 * rangetab.c (Fput_range_table):
8873 * rangetab.c (Fremove_range_table):
8874 * rangetab.c (Fclear_range_table):
8876 * search.c (Fskip_chars_forward):
8877 * search.c (Fskip_chars_backward):
8878 * search.c (Fskip_syntax_forward):
8879 * search.c (Fskip_syntax_backward):
8880 * search.c (search_command):
8881 * search.c (Freplace_match):
8882 * search.c (Fregexp_quote):
8883 * select.c (Fown_selection_internal):
8884 * select.c (Fselection_owner_p):
8885 * select.c (Fselection_exists_p):
8886 * select.c (Fget_selection_internal):
8889 * symbols.c (Fintern):
8890 * symbols.c (Fintern_soft):
8891 * symbols.c (Funintern):
8892 * symbols.c (Fapropos_internal):
8893 * symbols.c (Fset_default):
8895 * syntax.c (Fsyntax_table_p):
8896 * syntax.c (Fcopy_syntax_table):
8897 * syntax.c (Fset_syntax_table):
8898 * syntax.c (Fchar_syntax):
8899 * syntax.c (syntax_match):
8900 * syntax.c (Fmatching_paren):
8901 * syntax.c (Fforward_word):
8902 * syntax.c (scan_lists):
8903 * syntax.c (Fscan_lists):
8904 * syntax.c (Fscan_sexps):
8905 * syntax.c (Fparse_partial_sexp):
8906 * toolbar.c (Fcheck_toolbar_button_syntax):
8909 * window.c (Fwindowp):
8910 * window.c (Fwindow_live_p):
8911 * window.c (Fwindow_point):
8912 * window.c (Fdelete_window):
8913 * window.c (Fnext_window):
8914 * window.c (Fprevious_window):
8915 * window.c (Fother_window):
8916 * window.c (window_loop):
8917 * window.c (Fget_lru_window):
8918 * window.c (Fsplit_window):
8919 * window.c (Fenlarge_window):
8920 * window.c (Fenlarge_window_pixels):
8921 * window.c (Fshrink_window):
8922 * window.c (Fshrink_window_pixels):
8923 * window.c (change_window_height):
8924 * window.c (Fwindow_configuration_p):
8925 * window.c (Fcurrent_window_configuration):
8927 * casefiddle.c (casify_object):
8928 * casefiddle.c (Fupcase):
8929 * casefiddle.c (Fdowncase):
8930 * casefiddle.c (Fcapitalize):
8931 * casefiddle.c (Fupcase_initials):
8932 * casefiddle.c (casify_region_internal):
8933 * casefiddle.c (casify_region):
8934 * casefiddle.c (Fupcase_region):
8935 * casefiddle.c (Fdowncase_region):
8936 * casefiddle.c (Fcapitalize_region):
8937 * casefiddle.c (Fupcase_initials_region):
8938 * casefiddle.c (Fupcase_word):
8939 * casefiddle.c (Fdowncase_word):
8940 * casefiddle.c (Fcapitalize_word):
8941 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
8942 Replace 0 with '\0' when working with bytes.
8943 Replace initial "(" with "\(" in docstrings.
8945 2000-11-01 Martin Buchholz <martin@xemacs.org>
8947 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
8949 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
8951 2000-10-31 Martin Buchholz <martin@xemacs.org>
8953 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
8955 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8957 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
8960 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
8962 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
8963 (inhibit_auto_save_session): New variable.
8964 (vars_of_fileio): Declare and initialize them.
8965 * fileio.c (Fdo_auto_save): Don't create session file if
8966 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
8968 2000-10-31 Martin Buchholz <martin@xemacs.org>
8970 * sgiplay.c (play_internal): C++ compilability.
8971 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
8972 * callproc.c (Fold_call_process_internal):
8973 Remove unused vars `env', `first'.
8974 * scrollbar.c (update_scrollbar_instance):
8975 #### unused var `current_window'.
8976 * redisplay-tty.c: Put currently unused vars insert_mode_on,
8977 etc. within #ifdef NOT_YET.
8978 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
8979 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
8980 * specifier.c (specifier_instance):
8981 #### unused var `tag'.
8982 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
8984 2000-10-27 Martin Buchholz <martin@xemacs.org>
8987 * fns.c (list_sort):
8988 * fns.c (Ffillarray):
8989 * fns.c (bytecode_nconc2):
8992 * fns.c (Fmapconcat):
8993 Be pedantically 64-bit correct. For the time when someone will
8994 want to have a list with length > 2**32.
8996 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
8997 Work around MIPSpro compiler bug.
8999 * process-unix.c (unix_kill_child_process): Add snarky comment.
9000 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
9002 * config.h.in: Oops, _getpt ==> _getpty
9004 2000-10-26 Martin Buchholz <martin@xemacs.org>
9008 Use void*, not char*, as return type of alloca().
9010 * alloc.c (free_marker): Side effect inside assert expression!
9012 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
9014 * mule-charset.c (Fset_charset_ccl_program): To check
9015 if the given ccl program is valid, use setup_ccl_program()
9016 instead of CHECK_VECTOR().
9017 (Fmake_charset): Likewise.
9019 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
9021 * faces.c (get_extent_fragment_face_cache_index):
9022 Fix cachel.merged_faces memory leak.
9024 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
9026 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
9027 Reset MSB of octets obtained by DECODE_SJIS
9028 because of the incompatibility with Emacs.
9029 (ccl_driver)<CCL_ENCODE_SJIS>:
9030 Set MSB of octets before passing them to
9031 ENCODE_SJIS because of the incompatibility
9034 2000-10-18 Daiki Ueno <ueno@unixuser.org>
9036 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
9037 (DECLARE_LRECORD): Undo the last change.
9038 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
9040 2000-10-17 Daiki Ueno <ueno@unixuser.org>
9042 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
9043 the implementation to lrecord_implementations_table.
9045 2000-10-14 Daiki Ueno <ueno@unixuser.org>
9047 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
9048 initial value of `lrecord_type_##c_name' and
9049 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
9050 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
9051 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
9052 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
9053 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
9055 2000-10-17 Martin Buchholz <martin@xemacs.org>
9057 * miscplay.c (sndcnv8S_2mono):
9058 (sndcnv2monounsigned):
9059 (sndcnvULaw_2linear):
9061 Remove implementation-defined behavior.
9063 2000-10-12 Martin Buchholz <martin@xemacs.org>
9065 * input-method-xlib.c: Warning suppression.
9067 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
9069 * mule-ccl.c: Sync up with Emacs 21.0.90.
9070 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
9072 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
9074 (ccl_driver[WriteMultibyteChar2]): Bug fix.
9075 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
9076 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
9077 leading char belongs to official 2-dimensional charset.
9078 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
9079 write the given character as is. Otherwise,
9080 if it is a multibyte char, convert it by
9081 non_ascii_set_charptr_emchar, then write it.
9082 (CCL_WRITE_STRING): Likewise.
9083 (ccl_get_compiled_code): New function.
9084 (setup_ccl_program): When ccl_prog is invalid,
9086 (Fregister_code_conversion_map): New function.
9087 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
9089 * mule-ccl.h: Sync up with Emacs 21.0.90.
9090 (Fregister_ccl_program): export it.
9092 * redisplay-msw.c (separate_textual_runs):
9093 If ccl program is not valid, don't do ccl conversion.
9095 * redisplay-x.c (separate_textual_runs): Ditto.
9097 * file-coding.c (Fmake_coding_system):
9098 When type is ccl and value is vector, register it
9099 with a proper symbol. And checks whether the
9100 given ccl program is valid.
9101 (mule_decode): When calling ccl_driver, if src indicates
9102 NULL pointer, set an empty string instead.
9103 (mule_encode): Likewise.
9105 2000-10-11 Martin Buchholz <martin@xemacs.org>
9107 The following large batch of changes gets us back to a state of
9108 C++ compilability. Extbyte is now a char, which means that
9109 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
9111 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
9113 * sound.c (Fplay_sound): Type correctness.
9115 * select-x.c (hack_motif_clipboard_selection): Type correctness.
9116 (x_get_window_property): Type correctness.
9117 (receive_incremental_selection): unsigned char ==> Extbyte
9118 (selection_data_to_lisp_data): unsigned char ==> Extbyte
9119 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
9120 (Fx_store_cutbuffer_internal): Type correctness.
9122 * process-unix.c (try_to_initialize_subtty): Type correctness.
9124 * objects-x.c (x_print_color_instance): Type correctness.
9125 (x_print_font_instance): Type correctness.
9126 (x_list_fonts): SExtbyte ==> Extbyte.
9127 (valid_x_font_name_p): SExtbyte ==> Extbyte.
9128 (x_find_charset_font): SExtbyte ==> Extbyte.
9129 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
9130 (truename_via_XListFonts): SExtbyte ==> Extbyte.
9131 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
9134 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
9135 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
9136 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
9137 (BYTE_C0_P): Use bit ops for char-signedness safety.
9138 (BYTE_C1_P): Use bit ops for char-signedness safety.
9139 (CHARSET_BY_LEADING_BYTE):
9140 (CHARSET_BY_ATTRIBUTES):
9141 Always use inline function.
9142 Use type_checking_assert.
9145 * mule-charset.c (non_ascii_charptr_copy_char):
9146 Modify to work with both ASCII and non-ASCII characters.
9147 Improve docs and variable names.
9148 Replace over-clever fall-through switch with a simple loop.
9149 (Lstream_get_emchar_1):
9150 Replace over-clever fall-through switch with a simple loop.
9152 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9153 Warning suppression.
9155 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
9156 the return value of Lstream_getc, which could be EOF as well.
9158 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
9160 * lisp.h: Make Extbyte a char, not unsigned char, so that external
9161 APIs can be used on Extbytes without casts. Risky!
9165 * input-method-xlib.c (XIM_init_device):
9166 Use Xlib.h instead of IntrinsicP.h.
9167 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
9168 which will break in X11R7.
9169 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
9170 to call XRegisterIMInstantiateCallback with correct types.
9172 * gui-x.c (button_item_to_widget_value): Type correctness.
9174 * glyphs.c (bitmap_to_lisp_data): Type correctness.
9176 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
9177 (xbm_instantiate_1): Type correctness.
9178 (BUILD_GLYPH_INST): Type correctness.
9180 * fileio.c (Fsubstitute_in_file_name): Type correctness.
9183 (decode_coding_sjis):
9184 (decode_coding_big5):
9185 (decode_coding_ucs4):
9186 (decode_coding_utf8):
9187 (decode_coding_iso2022):
9188 (decode_coding_no_conversion):
9189 Make all decoding functions take an Extbyte * arg.
9190 (encode_coding_sjis):
9191 (encode_coding_big5):
9192 (encode_coding_ucs4):
9193 (encode_coding_utf8):
9194 (encode_coding_iso2022):
9195 (encode_coding_no_conversion):
9196 Make all encoding functions take a Bufbyte * arg.
9197 Use size_t instead of unsigned int for memory sizes.
9198 Only cast to unsigned char whenever dereferencing Extbyte *.
9200 * doc.c (unparesseuxify_doc_string): Type correctness.
9202 * console-x.c (split_up_display_spec):
9203 Rewrite without using details of internal string representation.
9204 (x_semi_canonicalize_device_connection): Type correctness.
9207 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
9208 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
9209 (HAVE_XFREE386): Removed.
9211 * buffer.h (DEC_CHARPTR): `const' correctness.
9212 (bufbyte_strcmp): New.
9213 (bufbyte_memcmp): New.
9215 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
9217 * buffer.h (XCHAR_OR_CHAR_INT):
9218 Always use inline function.
9219 Remove redundant type checking assert() - XINT will abort quite nicely.
9221 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
9223 * search.c (Freplace_match): Set newtext to an empty string.
9225 2000-10-10 Martin Buchholz <martin@xemacs.org>
9227 * s/decosf1-3.h: Remove #include of stropts.h
9228 * s/ptx.h: Remove #include of stropts.h
9229 * s/usg5-4.h: Remove #include of stropts.h
9232 Use stropts.h, not sys/stropts.h.
9233 Use strtio.h, not sys/strtio.h.
9235 2000-10-04 Martin Buchholz <martin@xemacs.org>
9237 * XEmacs 21.2.36 is released.
9239 2000-09-21 Andy Piper <andy@xemacs.org>
9241 * glyphs-x.c (x_redisplay_widget): make sure non-structural
9242 changes still involve copying the widget tree.
9243 (update_widget_face): make sure a change is register in the widget
9244 tree. Call update_tab_widget_face appropriately.
9245 (update_tab_widget_face): ditto.
9246 (x_tab_control_redisplay): make sure non-structural changes still
9247 involve copying the widget tree.
9249 2000-08-31 Daiki Ueno <ueno@unixuser.org>
9251 * lread.c (locate_file): Check the path element is non-nil.
9253 2000-10-02 Martin Buchholz <martin@xemacs.org>
9255 * lisp.h: Warning suppression for SCO compilers.
9257 * redisplay-tty.c (reset_tty_modes): Fix crash.
9258 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
9260 2000-09-27 Martin Buchholz <martin@xemacs.org>
9262 Big signal/process handling overhaul. Bugs fixed:
9263 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
9264 M-x comint-kill-subjob should work for both values nil and t of
9265 process-connection-type. It was broken on most platforms.
9266 Testing on Irix and Cygwin still needed. Other plaforms tested.
9267 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
9268 * process-unix.c: Signal/Process handling overhaul.
9269 (pty_name): make 64 bytes, as `expect' does, for paranoia.
9270 (allocate_pty): Use all available modern methods of allocating
9271 ptys, falling back to old style BSD allocation as a last resort.
9272 Use allegedly more secure Unix98 pty allocation by default.
9273 (allocate_pty_the_old_fashioned_way): New. the last resort.
9274 (unix_create_process): Push ptem, ldterm, ttcompat where
9275 available. Autoconfiscate.
9276 (try_to_initialize_subtty): New.
9277 (unix_kill_child_process): Proper signal handling for ptys on most
9278 platforms, using special knowledge of AIX, BSD, etc...
9279 (unix_create_process): Always disconnect_controlling_terminal() for
9280 subprocesses, whether using ptys or not.
9281 * process.h: Remove old getpt-dependent PTY code.
9282 * process.c (Fprocess_send_signal): New, obvious generic function.
9283 (decode_signal): New.
9284 (Finterrupt_process):
9288 (Fcontinue_process):
9289 (Fsignal_process): Use decode_signal.
9290 (process_send_signal):
9291 Many docstring corrections.
9292 Allow any signal to be sent to a process object.
9293 * config.h.in: Add symbols for big signal/process overhaul.
9294 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
9295 * sysproc.h: Include process-related headers, where available:
9296 sys/stropts.h sys/strtio.h pty.h libutil.h
9304 Remove old S&M pty stuff.
9305 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
9306 * systty.h: Simplify cpp hackery, improve comments.
9307 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
9309 * editfns.c (Fformat_time_string):
9310 Be a little more paranoid with the return value of ctime.
9312 * fileio.c (check_executable):
9314 Use symbolic constants X_OK, W_OK.
9316 * console-x.c (split_up_display_spec): Fix a warning.
9318 2000-10-02 Martin Buchholz <martin@xemacs.org>
9320 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
9321 * ntproc.c (sys_spawnve): make_string ==> build_string
9322 Small clarity improvements.
9324 2000-09-30 Martin Buchholz <martin@xemacs.org>
9326 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
9328 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
9330 * config.h.in (HAVE_STRCASECMP): Remove.
9332 2000-09-29 Martin Buchholz <martin@xemacs.org>
9334 * redisplay-output.c (redisplay_output_pixmap):
9335 Cleaner and possibly more 64-bit correct code.
9337 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
9339 * dumper.c (pdump_load_finish): move restoration of
9340 `noninteractive1' to emacs.c (main_1).
9341 * emacs.c (main_1): protect LISP-visible command-line flags
9344 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
9346 * Makefile.in.in (versionclean): Use EXE_TARGET and
9347 DUMP_TARGET instead of literal program names.
9349 2000-09-20 Martin Buchholz <martin@xemacs.org>
9351 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
9353 2000-09-19 Martin Buchholz <martin@xemacs.org>
9355 * *: Spelling mega-patch
9357 2000-09-19 Martin Buchholz <martin@xemacs.org>
9359 * fns.c (bad_bad_turtle):
9360 Delete "Eek!" comment, since we fixed the bug to which it refers.
9362 2000-09-16 Martin Buchholz <martin@xemacs.org>
9364 * alloca.c: Replace REGISTER with register.
9366 2000-09-16 Daiki Ueno <ueno@unixuser.org>
9368 * file-coding.c (ucs_to_char): Use countof.
9370 2000-09-16 Martin Buchholz <martin@xemacs.org>
9372 * file-coding.c: (ucs_to_char):
9373 (complex_vars_of_file_coding):
9374 Use countof instead of sizeof.
9375 Use CHECK_NATNUM instead of CHECK_INT.
9377 * sysdep.c (strcasecmp): Remove.
9378 * device-x.c (ascii_strcasecmp): New.
9379 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
9380 Avoid using non-standard non-portable strcasecmp.
9382 2000-09-16 Martin Buchholz <martin@xemacs.org>
9384 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
9385 * font-lock.c: remove reference to emacsfns.h.
9386 * search.c: small doc improvement.
9387 * event-Xt.c: correct file names in comments.
9388 * console-x.h Correct file names in comments.
9389 * frame.c: Correct file names in comments.
9390 * event-stream.c: remove Energize from comments.
9392 2000-09-15 Martin Buchholz <martin@xemacs.org>
9394 * symeval.h (DEFERROR_STANDARD):
9397 (DEFSYMBOL_NO_DUMP):
9398 (DEFSYMBOL_MULTIWORD_PREDICATE):
9399 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
9401 The construct &##name is not sensible C.
9402 Fixes compilation errors with Unixware native compiler.
9404 2000-09-14 Martin Buchholz <martin@xemacs.org>
9406 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
9407 (next_frame_internal): Removed. We now just have next_frame.
9409 Write a simpler and cleaner one-pass algorithm.
9410 Remove called_from_delete_device arg and #ifdefed-out code.
9412 Renamed from prev_frame. Update callers.
9413 Cleaned up to have an analogous implementation to next_frame.
9414 (other_visible_frames_internal): Remove the
9415 called_from_delete_device bogus arg, and hence, remove this
9416 function. Just use other_visible_frames().
9418 * window.c (Fnext_window):
9420 Since next_frame() is guaranteed to return a frame, remove check
9421 for nil inserted in previous patch.
9424 Make code look more like Fnext_window.
9426 Respect the `console' arg when iterating through windows.
9427 Fixes bug: (get-buffer-window buffer t device) not respecting
9429 This function needs more work, as others have pointed out.
9431 * frame.h: Rename prev_frame to previous_frame.
9432 device_matches_console_spec no longer takes a `frame' arg.
9437 Use EMACS_BLOCK_SIGNAL instead of sigblock.
9438 From "Golubev I. N." <gin@mo.msk.ru>.
9440 * make-src-depend: Fix typo.
9442 2000-09-13 Martin Buchholz <martin@xemacs.org>
9444 * window.c (Fnext_window):
9445 next_frame() might return nil, not a frame.
9447 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9449 * frame.c (next_frame_internal):
9450 We've passed a frame if we've passed its device.
9452 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
9453 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
9455 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
9457 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
9458 Allow option to suppress accelerators in menu/dialog items.
9459 (populate_or_checksum_helper): Pass dialog title through above.
9461 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
9463 * event-msw.c (mswindows_key_to_emacs_keysym):
9464 Add "pause" key, fix "menu" key.
9466 2000-09-09 Martin Buchholz <martin@xemacs.org>
9468 * eval.c (reinit_vars_of_eval):
9469 Increase max_lisp_eval_depth to 1000,
9470 required for thai-xtis.el to byte-compile under some circumstances.
9472 2000-09-04 Martin Buchholz <martin@xemacs.org>
9474 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
9477 2000-09-01 Martin Buchholz <martin@xemacs.org>
9479 * make-src-depend: Make the generated Makefiles smaller.
9481 * s/hpux.h (SETUP_SLAVE_PTY):
9482 Provide a %d in the format string for the errno argument.
9484 * editfns.c (Ftemp_directory):
9486 Avoid buffer overrun on very long file name.
9488 * input-method-xlib.c (XIM_init_device):
9489 6th parameter of XRegisterIMInstantiateCallback has different
9490 pointer types on different OSes, so simply cast to (void *).
9492 * unexhp9k800.c: Warning fixes. Fiddly changes.
9494 * sysdll.c (dll_open):
9495 shl_load will hang hard if passed a NULL filename.
9496 Simply return NULL for compatibility with dlopen.
9497 * sysdll.c: Conform to XEmacs coding standards.
9499 * sysdep.c (get_pty_max_bytes):
9500 Support pty input lines longer than 512 bytes on HP-UX 10.20.
9502 2000-08-31 Martin Buchholz <martin@xemacs.org>
9504 * tooltalk.c: Add #include <syssignal.h>
9506 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
9508 * s/hpux.h: Don't use undefined function sigunblock().
9510 2000-08-31 Martin Buchholz <martin@xemacs.org>
9512 * config.h.in: Add HAVE_BALLOON_HELP.
9513 * emacs.c: Use HAVE_BALLOON_HELP.
9514 * Makefile.in.in (x_objs):
9515 Make Balloon Help conditional on finding shape.h.
9517 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
9519 * syntax.c (regex_emacs_buffer_p): New variable.
9520 * syntax.h (regex_emacs_buffer_p): extern.
9521 * search.c (looking_at_1):
9523 (fast_string_match):
9524 (search_buffer): Set regex_emacs_buffer_p.
9525 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
9526 when before_dot, at_dot, after_dot.
9528 2000-08-23 Andy Piper <andy@xemacs.org>
9530 * gui-x.c (popup_selection_callback): Only set action_occurred
9531 when we really have an image instance.
9532 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
9534 2000-08-23 Andy Piper <andy@xemacs.org>
9536 * gui-msw.c (mswindows_handle_gui_wm_command): set
9538 * gui-x.c (popup_selection_callback): ditto.
9540 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
9541 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
9542 (struct Lisp_Image_Instance): add action_occurred flag.
9544 * glyphs.c (redisplay_subwindow): use action_occurred flag.
9545 (image_instance_changed): ditto.
9546 (reset_frame_subwindow_instance_cache): only unmap windows - do
9547 not remove them from the cache also.
9549 * glyphs-widget.c (tab_control_update): better debug.
9550 (progress_gauge_update): ditto.
9551 (layout_update): ditto.
9552 (layout_instantiate): ditto.
9553 (tab_control_order_only_changed): cope with null pending items.
9555 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
9556 debug. Force selection of an item when an action occurred. Cope
9557 with null pending_items.
9558 (mswindows_progress_gauge_redisplay): better debug.
9559 * glyphs-x.c (x_tab_control_redisplay): ditto.
9561 * redisplay.c (redisplay_frame): reset the frame cache if the
9564 * window.c (Fset_window_configuration): potentially re-enable
9566 (window_unmap_subwindows): need to finalize instances here since
9567 it is only used in mark_window_as_deleted.
9569 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
9571 * nas.c (SndOpenDataForReading):
9572 nas.c (WaveOpenDataForReading):
9573 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
9574 Somehow escaped from the 2000-08-14 patch.
9576 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
9578 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
9579 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
9581 2000-08-21 Andy Piper <andy@xemacs.org>
9583 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
9584 window if it is not already displayed.
9586 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
9587 it is not already displayed.
9589 * window.c (Fset_window_configuration): don't reset the frame
9592 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
9593 instances from the frame cache if we are actually finalizing them.
9594 (reset_frame_subwindow_instance_cache): reset frame cache only
9595 after unmapping everything.
9596 (map_subwindow): set displayed flag after mapping.
9598 2000-08-21 Martin Buchholz <martin@xemacs.org>
9600 * data.c (indirect_function):
9601 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
9603 * eval.c (function_argcount):
9604 Use original function when signaling errors.
9606 2000-08-18 Andy Piper <andy@xemacs.org>
9608 * frame.c (delete_frame_internal): use new
9609 free_frame_subwindow_instances name.
9611 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
9612 (add_tab_item): make return type correct.
9613 (mswindows_tab_control_instantiate): assert index of tab.
9614 (mswindows_tab_control_redisplay): Re-code to use
9615 gui_item_equal_sans_selected and gui_item_list_find_selected.
9617 * glyphs-widget.c (tab_control_update): Correct comment.
9619 * window.c (window_unmap_subwindows): use new
9620 unmap_subwindow_instance_cache_mapper.
9621 (window_unmap_subwindows_cache_mapper): deleted.
9622 (Fset_window_configuration): comparisons should now be with
9623 EQ. Preserve the subwindow instance cache across configuration
9625 (allocate_window): ditto.
9626 (make_dummy_parent): ditto.
9628 * glyphs.c (free_frame_subwindow_instances): rename from
9629 free_frame_subwindow_instance_cache. finalize all instances rather
9630 than just those in the display cache.
9631 (finalize_all_subwindow_instances): walk windows unmapping and
9632 finalizing subwindows.
9633 (unmap_subwindow_instance_cache_mapper): moved from
9634 window.c. Allow finalization as well as unmapping.
9636 * gui.c (gui_item_list_find_selected): new function.
9638 * gui.h (gui_item_list_find_selected): declare.
9640 * glyphs-x.c (x_tab_control_redisplay): pick tab
9641 explicitly. Re-code to use gui_item_equal_sans_selected and
9642 gui_item_list_find_selected.
9644 * glyphs-x.h: add lwlib-utils.h
9646 * buffer.c (Frecord_buffer): undo previous change.
9648 2000-08-09 Vin Shelton <acs@xemacs.org>
9650 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
9651 possible. Create temporary files more securely. The patch was
9652 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
9653 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
9654 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
9657 2000-08-07 Ben Wing <ben@xemacs.org>
9659 * getloadavg.c: remove duplicate (and windows-breaking)
9660 includes of fcntl.h and sys/file.h.
9662 * nt.c: remove duplicate getloadavg() definition.
9664 * sysdll.h (Qdll_filename_encoding): add missing stand-in
9667 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
9669 * eval.c (function_argcount): If function needs to be autoloaded
9670 actually use the loaded definition.
9673 2000-08-05 Ben Wing <ben@xemacs.org>
9675 * getloadavg.c: add prototype for getloadavg(). remove
9676 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
9677 of the code). remove duplicate header includes.
9679 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
9681 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
9682 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
9683 useful load average.
9685 * alloc.c (reinit_alloc_once_early): removed references to
9686 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
9687 the lisp vars are the only things referencing the malloc_sbrk_*
9688 vars, and they were already if 0'd out. these vars only exist
9689 in the older malloc.c, which is basically unused, and they're
9690 only for informational purposes.
9692 * m\*.h: removed useless VIRT_ADDR_VARIES.
9694 * m\powerpc.h: removed stray NO_ARG_ARRAY.
9696 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
9698 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
9699 color if the image is a mono pixmap.
9701 2000-07-30 Ben Wing <ben@xemacs.org>
9703 * Makefile.in.in (release):
9706 * buffer.c (directory_is_current_directory):
9707 * dired-msw.c (mswindows_get_files):
9709 * dired.c (Fdirectory_files):
9710 * dired.c (file_name_completion_stat):
9711 * dired.c (Ffile_attributes):
9712 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
9713 preprocessor tricks, to avoid problems on some machines
9716 * callproc.c (egetenv): GC docs.
9719 * console-msw.h (struct mswindows_dialog_id):
9720 * lrecord.h (lrecord_type):
9721 New object for use with MSW dialogs.
9723 * console.h (struct console_methods):
9724 New enable/disable frame methods, for proper modal dialogs.
9726 * device-msw.c (msprinter_default_printer): Fix to follow
9727 proper Mule conventions.
9730 * device-msw.c (signal_open_printer_error):
9731 * device-msw.c (msprinter_init_device):
9732 * device-msw.c (ensure_not_printing):
9733 * device-msw.c (plist_get_margin):
9734 * device-msw.c (Fmsprinter_select_settings):
9735 * device-msw.c (finalize_devmode):
9736 * device-msw.c (Fmsprinter_settings_despecialize):
9737 * device-msw.c (signal_enum_priner_error):
9738 * extents.c (decode_extent):
9739 * extents.c (decode_map_extents_flags):
9740 * extents.c (decode_extent_at_flag):
9741 * extents.c (Fextent_at):
9742 * extents.c (Fextents_at):
9743 * extents.c (symbol_to_glyph_layout):
9744 [[[[2]]]] Use structured errors.
9747 * dialog-msw.c (mswindows_is_dialog_msg):
9748 * dialog-msw.c (mark_mswindows_dialog_id):
9749 * dialog-msw.c (dialog_proc):
9750 * dialog-msw.c (handle_question_dialog_box):
9751 * dialog-msw.c (syms_of_dialog_mswindows):
9752 Define new object to clean up marking; use it as a dialog identifier.
9753 Call new delete-dialog-box-hook.
9755 * dialog-x.c (dbox_selection_callback):
9756 * dialog-x.c (dbox_descriptor_to_widget_value):
9757 * dialog-x.c (x_make_dialog_box_internal):
9758 Call new delete-dialog-box-hook.
9762 * dialog.c (syms_of_dialog):
9763 * dialog.c (vars_of_dialog):
9764 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
9767 * eval.c (signal_call_debugger):
9768 when noninteractive, output stack traces on the console instead
9769 of in a (never-seen) buffer.
9771 * eval.c (signal_type_error):
9772 * eval.c (invalid_argument_2):
9774 new funs for use w/structured errors.
9777 * event-Xt.c (x_to_emacs_keysym):
9778 * event-Xt.c (describe_event):
9779 * event-Xt.c (emacs_Xt_event_handler):
9780 * event-Xt.c (vars_of_event_Xt):
9782 * event-msw.c (mswindows_wnd_proc):
9783 * event-msw.c (vars_of_event_mswindows):
9784 rename {x,mswindows}-debug-events to debug-{}-events for
9785 consistency with other debug-foo variables.
9788 document next-event more clearly.
9790 * fileio.c (Ffile_name_directory):
9791 * fileio.c (Ffile_name_nondirectory):
9792 * fileio.c (Funhandled_file_name_directory):
9793 * fileio.c (file_name_as_directory):
9794 * fileio.c (Ffile_name_as_directory):
9795 * fileio.c (directory_file_name):
9796 * fileio.c (Fdirectory_file_name):
9797 * fileio.c (Fmake_temp_name):
9798 * fileio.c (Ffile_truename):
9799 * fileio.c (Fsubstitute_in_file_name):
9800 * fileio.c (expand_and_dir_to_file):
9801 * fileio.c (barf_or_query_if_file_exists):
9802 * fileio.c (check_executable):
9803 * fileio.c (Ffile_exists_p):
9804 * fileio.c (Ffile_writable_p):
9805 * fileio.c (Ffile_directory_p):
9806 * fileio.c (Ffile_regular_p):
9807 * fileio.c (Ffile_modes):
9808 * fileio.c (Ffile_newer_than_file_p):
9809 * fileio.c (Fverify_visited_file_modtime):
9810 * fileio.c (Fset_visited_file_modtime):
9811 * fileio.c (auto_save_1):
9816 * frame-msw.c (mswindows_init_frame_1):
9817 * frame-msw.c (mswindows_enable_frame):
9818 * frame-msw.c (error_frame_unsizable):
9819 * frame-msw.c (msprinter_init_frame_1):
9820 * frame-msw.c (msprinter_init_frame_3):
9821 * frame-msw.c (console_type_create_frame_mswindows):
9823 implement new enable/disable frame methods.
9826 * frame-x.c (x_enable_frame):
9827 * frame-x.c (console_type_create_frame_x):
9828 implement new enable/disable frame methods.
9831 * frame.c (Fdisable_frame):
9832 * frame.c (syms_of_frame):
9833 * frame.h (struct frame):
9834 implement new enable/disable frame methods/functions.
9839 * glyphs-msw.c (mswindows_widget_instantiate):
9840 comment that initial-focus should be implemented.
9843 * glyphs-widget.c (check_valid_instantiator):
9844 * glyphs-widget.c (check_valid_orientation):
9845 * glyphs-widget.c (check_valid_tab_orientation):
9846 * glyphs-widget.c (check_valid_justification):
9847 * glyphs-widget.c (check_valid_border):
9848 * glyphs-widget.c (check_valid_callback):
9849 * glyphs-widget.c (check_valid_int_or_function):
9850 * glyphs-widget.c (check_valid_string_or_vector):
9851 * glyphs-widget.c (check_valid_item_list_1):
9852 * glyphs-widget.c (widget_validate):
9853 * glyphs-widget.c (combo_box_validate):
9854 * glyphs-widget.c (widget_instantiate):
9855 * glyphs-widget.c (syms_of_glyphs_widget):
9856 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
9857 * glyphs-widget.c (image_instantiator_combo_box):
9858 * glyphs-widget.c (image_instantiator_scrollbar):
9859 * glyphs-widget.c (image_instantiator_tab_control):
9860 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
9862 support (unimplemented) keyword initial-focus.
9863 reindent long macros.
9865 * glyphs-x.c (x_redisplay_widget):
9866 * glyphs-x.c (x_button_instantiate):
9867 * glyphs-x.c (x_button_redisplay):
9868 * glyphs-x.c (x_progress_gauge_instantiate):
9869 * glyphs-x.c (x_edit_field_instantiate):
9870 * glyphs-x.c (x_combo_box_instantiate):
9871 * glyphs-x.c (x_tab_control_instantiate):
9872 * glyphs-x.c (x_label_instantiate):
9874 * gui-x.c (button_item_to_widget_value):
9875 * gui-x.c (gui_items_to_widget_values_1):
9876 * gui-x.c (gui_item_children_to_widget_values):
9877 * gui-x.c (gui_items_to_widget_values):
9879 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
9880 add new flag to gui-parsing routines to indicate whether
9881 accelerator specs should be supported.
9883 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
9885 * glyphs.h (struct Lisp_Image_Instance):
9886 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
9887 add initial-focus flag.
9890 * gui.c (syms_of_gui):
9891 * gui.c (vars_of_gui):
9892 clean up menu-no-selection-hook.
9895 support delete-dialog-box-hook.
9897 * lread.c (Fload_internal):
9898 * lread.c (locate_file_in_directory_mapper):
9902 * lrecord.h (struct toolbar_button):
9903 * lrecord.h (syms_of_toolbar):
9904 document how to create a new object.
9906 * menubar-msw.c (mswindows_char_is_accelerator):
9907 may be called on frames w/o menus.
9909 * menubar.c (vars_of_menubar):
9910 clean up :filter docs.
9917 * process-nt.c (validate_signal_number):
9918 * process-nt.c (signal_cannot_launch):
9919 * process-nt.c (nt_create_process):
9920 * process-nt.c (nt_send_process):
9921 * process-nt.c (nt_kill_child_process):
9922 * process-nt.c (nt_open_network_stream):
9923 * process-nt.c (syms_of_process_nt):
9925 delete quote-handling. call new lisp code that does it better.
9927 * process-unix.c (connect_to_file_descriptor):
9928 * process-unix.c (allocate_pty):
9929 * process-unix.c (unix_send_process):
9930 * process-unix.c (unix_kill_child_process):
9931 * process-unix.c (unix_open_network_stream):
9932 * process-unix.c (unix_open_multicast_group):
9936 * process.c (Fstart_process_internal):
9937 (2). need to canonicalize process path even if absolute.
9939 * select-msw.c (symbol_to_ms_cf):
9940 * select-msw.c (ms_cf_to_symbol):
9941 * select-msw.c (cf_is_autofreed):
9942 * select-msw.c (mswindows_destroy_selection):
9944 * select.c (syms_of_select):
9946 support dibv5, fix bugs. (from Mike Alexander)
9948 * select.c (Fget_selection_internal):
9949 * select.c (select_convert_out):
9952 * sysdep.c (xemacs_stat):
9957 but keep original stat() here because we provide encapsulation
9961 * sysfile.h (fstat):
9962 remove stat garbage.
9966 don't include tchar.h. it's inappropriate because it makes
9967 compile-time distinctions when we want runtime distinctions.
9968 (we provide our own tchar replacements)
9971 use default object printer for toolbar-button.
9974 make sure we don't encapsulate.
9976 * window.c (vars_of_window):
9977 emphasize that temp-buffer-show-hook is obsolete.
9979 2000-08-05 Martin Buchholz <martin@xemacs.org>
9981 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
9982 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
9984 * events.c (Fevent_timestamp_lessp):
9985 Not 64-bit clean. Use EMACS_INT, not int.
9987 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
9989 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
9990 unsigned int and changed the last enum to
9991 lrecord_type_last_built_in_type.
9992 (lrecord_implementations_table): changed prototype to know how
9993 long the array is supposed to be.
9994 (lrecord_type_count): new unsigned int to keep track of the
9995 current number of lisp lrecord types.
9996 (DEFINE_EXTERNAL_LRECORD):
9997 (DECLARE_EXTERNAL_LRECORD): Added these two for external
9998 dynamic-modules to declare new lisp types. They are the same
9999 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
10000 int for each new type, and increment lrecord_type_count by 1.
10002 * alloc.c (lrecord_implementations_table): Changed to reference
10003 lrecord_type_last_built_in_type for the size of the array.
10004 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
10006 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10008 * glyphs.h (check_valid_item_list): Renamed from
10009 check_valid_item_list_1.
10011 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
10013 * select.c (Qselect_coerce): New.
10014 * select.c (Vselection_coercion_alist): New.
10015 * select.c (syms_of_select): Declare.
10016 * select.c (get-selection-internal): Use it.
10017 Use the new select-coerce functionality.
10019 * select.c (select_coerce): New.
10020 * select.h (select_coerce): Declare.
10021 New function to coerce one type of data into another.
10023 2000-08-03 Martin Buchholz <martin@xemacs.org>
10025 * callproc.c (Fcall_process_internal):
10026 (Fcall_process_internal):
10027 * process-unix.c (unix_create_process):
10028 Save and restore the value of errno, so that error messages are accurate.
10030 2000-08-01 Martin Buchholz <martin@xemacs.org>
10032 * elhash.c (print_hash_table):
10033 Fix printing of hash tables to also use `key-and-value' instead of `t'.
10034 Prettify docstrings and indentation.
10036 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10038 * window.c (Fwindow_pixel_edges): Subtract frame border and
10041 2000-07-31 Andy Piper <andy@xemacs.org>
10043 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
10044 will acknowledge the change.
10046 * glyphs.h: declare tab_control_order_only_changed.
10048 * glyphs-x.c (x_tab_control_redisplay): use
10049 tab_control_order_only_changed.
10051 * glyphs-widget.c (tab_control_order_only_changed): new function.
10053 * glyphs-msw.c (mswindows_tab_control_redisplay): use
10054 tab_control_order_only_changed.
10056 * gui.c (gui_item_equal_sans_selected): new function.
10057 (gui_item_equal): use it.
10059 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
10060 :properties in favor of :items..
10062 * glyphs-widget.c (check_valid_item_list): rename from
10063 check_valid_item_list_1.
10064 (check_valid_item_list_1): renamed.
10065 (combo_box_validate): deprecate :properties in favor of :items.
10066 (widget_instantiate): ditto.
10067 (tab_control_update): ditto.
10068 (image_instantiator_combo_box): ditto.
10069 (image_instantiator_tree_view): ditto.
10070 (image_instantiator_tab_control): ditto.
10071 (layout_post_instantiate): remove dead code.
10073 * print.c (debug_print_no_newline): only write to debugger if in
10076 * elhash.c (Fmake_hash_table): update doc string.
10078 * event-msw.c (mswindows_wnd_proc): don't allow processing of
10079 messages whilst in GC. This at least stops XEmacs crashing but has
10080 the potential for wierd behaviour.
10082 2000-07-31 Martin Buchholz <martin@xemacs.org>
10085 Make existence of s&m files optional.
10087 * s/bsd386.h: Remove HAVE_GETLOADAVG.
10088 * s/freebsd.h: Remove HAVE_GETLOADAVG.
10089 * s/gnu.h: Remove HAVE_GETLOADAVG.
10090 * s/netbsd.h: Remove HAVE_GETLOADAVG.
10091 * s/sol2.h: Remove HAVE_GETLOADAVG.
10092 * lisp.h: Remove getloadavg() declaration.
10094 Include <sys/loadavg.h> if available.
10095 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
10096 * config.h.in: Group together getloadavg()-related macros.
10097 Use only configure-time tests to detect getloadavg().
10099 2000-07-30 Martin Buchholz <martin@xemacs.org>
10101 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
10103 2000-07-25 Andy Piper <andy@xemacs.org>
10105 * syswindows.h: add tchar.h for native builds.
10107 * frame.c (syms_of_frame): remove set-glyph-image.
10109 * general-slots.h: add Qset_glyph_image.
10111 * glyphs-widget.c (layout_update): add domain arg to
10113 (syms_of_glyphs_widget): remove set-glyph-image.
10115 2000-07-23 Ben Wing <ben@xemacs.org>
10117 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
10120 2000-07-22 Andy Piper <andy@xemacs.org>
10122 * symsinit.h: add syms_of_win32().
10124 * gui-msw.c (syms_of_gui_mswindows): remove
10125 Fmswindows_shell_execute.
10126 (Fmswindows_shell_execute): moved to win32.c.
10128 * emacs.c (main_1): add syms_of_win32 ().
10130 * win32.c (init_potentially_nonexistent_functions): rewrite in
10131 compiler-friendly terms.
10132 (Fmswindows_shell_execute): move here from gui-msw.c.
10133 (syms_of_win32): new.
10135 * device-msw.c (Fmswindows_printer_list): clean up args to
10137 Don't include tchar under cygwin or mingw.
10138 (msprinter_default_printer): make cygwin-friendly.
10140 2000-07-21 Andy Piper <andy@xemacs.org>
10142 * glyphs-widget.c (image_instantiator_tree_view): use tab
10143 control's update function.
10144 (layout_property): new function. Retrieve items.
10146 * glyphs-msw.c (mswindows_tree_view_redisplay): new
10147 function. Re-populate the tree view from the pending items.
10149 * glyphs.c (instantiate_image_instantiator): Make sure the domain
10150 is designated the parent if the domain is an image instance. This
10151 is needed so that dirtiness can be cascade up the hierarchy and
10152 thus for layout children to be redisplayed correctly.
10153 (allocate_image_instance): rename glyph -> parent.
10155 * redisplay.h: change redisplay_output_layout signature.
10157 * redisplay-msw.c (mswindows_output_display_block): use domain
10160 * redisplay-x.c (x_output_display_block): use domain arg.
10162 2000-07-10 Andy Piper <andy@xemacs.org>
10164 * window.c (Fset_window_configuration): add comment.
10166 * redisplay-output.c (compare_runes):
10167 (redisplay_output_subwindow): redisplay rather than update subwindow.
10168 (redisplay_output_layout): ditto.
10170 * redisplay-msw.c (mswindows_frame_output_end):
10171 (mswindows_frame_output_end): make defer window pos optional.
10173 * lisp.h: add Flast.
10175 * glyphs.h (struct image_instantiator_methods): add dest_mask top
10176 normalize method. Change update method to be for changed
10177 instantiators. Add redisplay method. Change signature of layout
10179 (struct Lisp_Image_Instance): add instantiator.
10180 (IMAGE_INSTANCE_INSTANTIATOR): new.
10181 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
10182 (XIMAGE_INSTANCE_INSTANTIATOR): new.
10183 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
10186 (find_instantiator_differences): new function.
10187 (Fset_instantiator_property): new convenience function.
10188 (check_image_instance_structure): strictly check for vector
10190 (normalize_image_instantiator): make non-static.
10191 (instantiate_image_instantiator): pass on dest_mask and use new
10192 signatures for image_instance_layout and friends.
10193 (mark_image_instance): mark the instantiator. Mark the subwindow
10194 face not the widget face.
10195 (image_instance_equal): add instantiator.
10196 (image_instance_hash): ditto.
10197 (allocate_image_instance): ditto.
10198 (Fset_image_instance_property): removed.
10199 (Fimage_instance_file_name): ditto.
10200 (Fcolorize_image_instance): ditto.
10201 (image_instance_layout): add offsets to be set.
10202 (update_image_instance): new function. update an image instance
10203 from its changed instantiator.
10204 (inherit_normalize): add dest_mask.
10205 (xbm_normalize): ditto.
10206 (xface_normalize): ditto.
10207 (xpm_normalize): ditto.
10208 (text_update): set_property -> update.
10209 (image_instantiate): use the glyph identity as a hash key, not the
10211 (glyph_width): use new image_instance_layout signature.
10212 (glyph_ascent): ditto.
10213 (glyph_descent): ditto.
10214 (glyph_height): ditto.
10215 (glyph_query_geometry): ressurrect.
10216 (glyph_layout): ditto.
10217 (redisplay_subwindow): update -> redisplay.
10218 (syms_of_glyphs): add Fset_instantiator_property.
10219 (image_instantiator_format_create): set_property -> update.
10222 (autodetect_normalize): add dest_maks to signature.
10223 (x_redisplay_subwindow): update -> redisplay.
10224 (x_redisplay_widget): ditto.
10225 (x_button_redisplay): ditto.
10226 (x_progress_gauge_redisplay): ditto.
10227 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
10229 (console_type_create_glyphs_x): update -> redisplay.
10230 (image_instantiator_format_create_glyphs_x): ditto.
10233 (check_valid_instantiator): disallow glyphs in the instantiator,
10234 they must now be vectors.
10235 (check_valid_instantiator_list): ditto.
10236 (glyph_instantiator_to_glyph): use internal symbol rather than
10238 (widget_update): renamed from widget_set_property. Call cascaded
10240 (redisplay_widget): renamed from update_widget.
10241 (widget_layout): image_instance_layout now takes position as well
10243 (widget_normalize): ditto.
10244 (widget_instantiate): ditto.
10245 (tab_control_query_geometry) ditto.:
10246 (tab_control_update): renamed from tab_control_set_property.
10247 (progress_gauge_update): set_property -> update.
10248 (layout_normalize): rewrite so that child instantiators are
10250 (layout_update): new function. Create glyphs from the normalized
10251 children and cope with any other layout keywords. We do not
10252 instantiate children here that will be take care of by
10253 redisplay_output_layout.
10254 (layout_instantiate): call layout_update and not much else.
10255 (layout_post_instantiate): not sure whether this is needed
10257 (layout_query_geometry): query glyph geometry rather than
10258 image_instance geometry.
10259 (layout_layout): set offsets from pass in parameters. Use glyph
10260 geometry and layout functions rather than image instance ones.
10261 (native_layout_layout): ditto.
10262 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
10263 (image_instantiator_widget): set_property -> update.
10264 (image_instantiator_buttons): ditto.
10265 (image_instantiator_progress_guage): ditto.
10266 (image_instantiator_tab_control): ditto.
10267 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
10268 (image_instantiator_layout): add update method.
10270 * glyphs-msw.c (bmp_normalize):
10271 (mswindows_resource_normalize): add dest_mask so that it can be
10272 proprogated by layout_normalize.
10273 (begin_defer_window_pos): make optional because it may not be the
10274 right thing to do and it introduces differences with X.
10275 (mswindows_unmap_subwindow): ditto.
10276 (mswindows_map_subwindow): ditto.
10277 (mswindows_redisplay_subwindow): renamed from
10278 mswindows_update_subwindow.
10279 (mswindows_redisplay_widget): ditto.
10280 (mswindows_button_redisplay): renamed from
10281 mswindows_button_update. Update is now what the instantiation
10282 function does for a changed instantiator.
10283 (mswindows_progress_gauge_instantiate): set the progress value
10284 here if appropriate.
10285 (mswindows_tab_control_redisplay): cope with re-ordering of the
10286 members of the tab widget by simply selecting the new top
10287 widget. This makes things appear ok if you click on a tab.
10288 (mswindows_combo_box_instantiate): image_instance_layout now takes
10289 position as well as size.
10290 (mswindows_progress_gauge_redisplay): renamed from
10291 mswindows_progress_gauge_update.
10292 (console_type_create_glyphs_mswindows): fix update -> redisplay.
10293 (image_instantiator_format_create_glyphs_mswindows): ditto.
10295 * glyphs-eimage.c (jpeg_normalize):
10298 (tiff_normalize): add dest_mask so that it can be proprogated by
10302 (print_hash_table):
10303 (hash_table_weakness_validate):
10304 (decode_hash_table_weakness):
10305 (Fhash_table_weakness):
10306 (Fhash_table_type):
10307 (syms_of_elhash): use Ben's naming scheme for hashtable types..
10309 * console.h (struct console_methods): move update_* to
10312 2000-07-20 Ben Wing <ben@xemacs.org>
10314 * *.[ch] (XSETOBJ): remove unused middle argument.
10315 lisp-disunion.h: correct wrap_object() to one argument.
10317 2000-07-15 Ben Wing <ben@xemacs.org>
10320 * s/cygwin32.h (CYGWIN_CONV_PATH):
10321 Add missing logb prototype for v1.1.
10322 Use post-b20 names and alias to pre-b20 names when pre-b20.
10324 * s/windowsnt.h: [5].
10326 2000-07-15 Ben Wing <ben@xemacs.org>
10328 * Makefile.in.in (x_objs):
10329 * Makefile.in.in (sheap_objs):
10330 * Makefile.in.in (objs):
10331 added win32.o, cosmetic cleanups.
10333 * alloc.c (Fmake_byte_code):
10334 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
10335 etc. macros which declare their own args now.
10337 * alloc.c (syms_of_alloc):
10338 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
10341 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
10343 * buffer.c (Fget_file_buffer):
10344 Fixed GCPRO problem.
10346 * buffer.c (get_truename_buffer):
10347 Fixed comment about GC checking.
10349 * buffer.c (syms_of_buffer):
10350 Undeclared those dedicated frame funs.
10354 Define convenience macros for internal/external conversions.
10355 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
10356 and Qenvironment_variable_encoding for cleaner code.
10359 Remove dedicated-frame; in lisp.
10361 * bytecode.c (funcall_compiled_function):
10364 * bytecode.c (syms_of_bytecode):
10368 * console-msw.c (mswindows_show_console): Rewrote.
10370 * console-msw.c (Fmswindows_debugging_output): New.
10371 Sends to OutputDebugString (special MSWin debugger interface).
10373 * console-msw.c (Fmswindows_message_box):
10374 Fixed stupid bugs so it works when called from kill-emacs.
10376 * console-msw.c (syms_of_console_mswindows):
10377 Declare Fmswindows_debugging_output.
10380 New MSWin prototypes.
10382 * console-msw.h (struct mswindows_frame):
10383 New entry last-click-mods for improved button-modifier support.
10385 * console-msw.h (FRAME_MSWINDOWS_POPUP):
10386 New struct entry `popup' with corresponding accessor.
10389 * console-x.c (split_up_display_spec):
10390 * console-x.c (get_display_arg_connection):
10391 * console-x.c (x_semi_canonicalize_console_connection):
10392 * console-x.c (x_canonicalize_device_connection):
10393 [[[6]]]: Change char to more specific type.
10394 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
10396 * console-x.c (x_semi_canonicalize_console_connection):
10397 * console-x.c (x_canonicalize_device_connection):
10398 [[[9]]]: Fix up error signalling to use new structured error system.
10401 [[[4]]]: Define codesys aliases:
10402 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
10403 Qx_color_name_encoding, Qx_display_name_encoding.
10405 * console.h (struct console_methods):
10406 New method make_dialog_box_internal supersedes older
10407 popup_dialog_box method.
10410 Define many new errors, part of new structured errors.
10412 * data.c (init_errors_once_early):
10413 * data.c (syms_of_data):
10416 * device-msw.c (mswindows_init_device):
10417 [[[5]]]: Cleanup to support NT 3.51.
10419 * device-msw.c (decode_devmode): Cleanup.
10421 * device-msw.c (mswindows_handle_print_setup_dialog_box):
10422 * device-msw.c (mswindows_handle_print_dialog_box):
10423 * device-msw.c (mswindows_handle_page_setup_dialog_box):
10424 * device-msw.c (syms_of_device_mswindows):
10425 Delete the dialog box primitives recently introduced by Kirill and
10426 instead interface to general dialog box interface.
10429 * device-x.c (compute_x_app_name):
10430 * device-x.c (x_init_device):
10431 * device-x.c (Fx_valid_keysym_name_p):
10432 * device-x.c (Fx_set_font_path):
10436 * device.h (wrap_device): New.
10437 First of its kind; meant to replace XSETDEVICE.
10439 * dialog-msw.c: Many file-dialog symbols.
10441 * dialog-msw.c (mswindows_register_popup_frame): New.
10442 * dialog-msw.c (mswindows_is_dialog_msg): New.
10443 For supporting kbd traversal in dialog boxes.
10445 * dialog-msw.c (dialog_proc):
10446 Support hitting ESC in dialogs.
10448 * dialog-msw.c (struct):
10449 Common dialog box errors.
10451 * dialog-msw.c (handle_file_dialog_box): New.
10452 Add file dialog code.
10454 * dialog-msw.c (handle_question_dialog_box):
10455 Redo existing code to support new question dialog syntax.
10457 * dialog-msw.c (console_type_create_dialog_mswindows):
10458 We support new dialog console method.
10460 * dialog-msw.c (syms_of_dialog_mswindows):
10461 * dialog-msw.c (vars_of_dialog_mswindows):
10462 New file dialog symbols, vars.
10465 * dialog-x.c (maybe_run_dbox_text_callback):
10466 * dialog-x.c (dbox_descriptor_to_widget_value):
10467 * dialog-x.c (x_make_dialog_box_internal):
10468 * dialog-x.c (console_type_create_dialog_x):
10469 Mule-ize entire file.
10470 Redo to support question dialog syntax.
10474 * dialog.c (Fmake_dialog_box_internal):
10475 * dialog.c (syms_of_dialog):
10476 Kill old popup-dialog-box, replace with new primitive.
10477 Just call device method or signal error.
10479 * eldap.c (Fldap_open):
10480 * eldap.c (Fldap_search_basic):
10481 * eldap.c (Fldap_add):
10482 * eldap.c (Fldap_modify):
10487 * emacs.c (make_arg_list_1):
10488 * emacs.c (make_arg_list):
10489 Mule-ize call to dll_init().
10493 * emacs.c (make_argc_argv):
10494 * emacs.c (free_argc_argv):
10495 * emacs.c (init_cmdargs):
10496 * emacs.c (main_1):
10497 * emacs.c (Fkill_emacs):
10498 * emacs.c (Fdump_emacs):
10499 Update comments about what can be used in syms_* etc.
10500 Call init_win32() when necessary.
10501 Fix up MS Win dialog box in kill-buffer to actually work right.
10512 * eval.c (condition_case_3):
10514 * eval.c (function_argcount):
10515 * eval.c (funcall_lambda):
10518 * eval.c (type_error): New.
10519 * eval.c (maybe_type_error): New.
10520 * eval.c (continuable_type_error): New.
10521 * eval.c (maybe_continuable_type_error): New.
10522 * eval.c (type_error_with_frob): New.
10523 * eval.c (maybe_type_error_with_frob): New.
10524 * eval.c (continuable_type_error_with_frob): New.
10525 * eval.c (maybe_continuable_type_error_with_frob): New.
10526 New functions for use with structured errors.
10529 * event-Xt.c (x_event_to_emacs_event):
10530 Buttons are now modifiers too.
10532 * event-Xt.c (emacs_Xt_current_event_timestamp):
10533 Implement new event method.
10534 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
10537 * event-msw.c (ntpipe_shove_writer): [5].
10538 * event-msw.c (mswindows_enqueue_mouse_button_event):
10539 * event-msw.c (mswindows_drain_windows_queue):
10540 * event-msw.c (mswindows_wnd_proc): [7].
10541 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
10542 * event-msw.c (mswindows_modifier_state):
10543 Throughout: support new button modifiers.
10545 * event-msw.c (emacs_mswindows_current_event_timestamp):
10546 Implement new event method.
10547 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
10550 * event-stream.c (event_stream_current_event_timestamp): New.
10551 * event-stream.c (maybe_kbd_translate): New functionality.
10552 * event-stream.c (vars_of_event_stream):
10553 Document new kbd-translate-table functionality.
10555 * event-stream.c (Fcurrent_event_timestamp): New.
10556 New primitive for use in fabricated events.
10557 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
10559 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
10562 * events.c (Fmake_event):
10563 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
10567 * events.c (format_event_object): fix gcc warnings.
10569 * events.c (Fevent_timestamp): Document new primitives.
10571 * events.c (TIMESTAMP_HALFSPACE): New.
10573 * events.c (Fevent_timestamp_lessp): New. New primitive for
10574 comparing timestamps correctly (half-space algorithm).
10576 * events.c (Fevent_modifier_bits): Doc fix.
10578 * events.c (Fevent_modifiers): Major doc addition.
10579 * events.c (event_x_y_pixel_internal): Typo fix.
10580 * events.c (syms_of_events): Declare new primitives.
10583 Update long comment for button modifiers, timestamps.
10585 * events.h (struct event_stream):
10586 New current_event_timestamp method.
10589 * extents.c (extent_in_region_p):
10590 * extents.c (decode_extent):
10591 * extents.c (Fset_extent_parent):
10592 * extents.c (decode_map_extents_flags):
10596 * extents.c (struct extent_at_arg):
10597 * extents.c (decode_extent_at_flag):
10598 * extents.c (extent_at_mapper):
10599 * extents.c (extent_at_bytind):
10600 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
10601 * extents.c (Fextents_at): New primitive. [9].
10602 * extents.c (symbol_to_glyph_layout): [9].
10603 Support new primitive `extents-at'.
10606 * extents.c (get_text_property_bytind):
10607 extent_at_bytind has another arg.
10610 * extents.c (syms_of_extents): New primitive.
10612 * file-coding.c (Fmake_coding_system): [1].
10613 * file-coding.c (subsidiary_coding_system): fix gcc warning
10614 * file-coding.c (syms_of_file_coding): [2].
10616 * fileio.c (Fexpand_file_name):
10617 * fileio.c (Fsysnetunam):
10618 * fileio.c (Ffile_exists_p):
10619 * fileio.c (Ffile_executable_p):
10620 * fileio.c (Fverify_visited_file_modtime):
10623 * fileio.c (syms_of_fileio): [2].
10625 * filelock.c (lock_file_1):
10626 * filelock.c (current_lock_owner):
10627 * filelock.c (lock_if_free):
10628 * filelock.c (lock_file):
10629 * filelock.c (unlock_file):
10632 * fns.c (concat): Fix gcc warning.
10635 * fns.c (Fold_member):
10637 * fns.c (Fold_memq):
10638 * fns.c (memq_no_quit):
10640 * fns.c (Fold_assoc):
10642 * fns.c (Fold_assq):
10643 * fns.c (assq_no_quit):
10645 * fns.c (Fold_rassoc):
10647 * fns.c (Fold_rassq):
10648 * fns.c (rassq_no_quit):
10650 * fns.c (Fold_delete):
10652 * fns.c (Fold_delq):
10653 * fns.c (delq_no_quit):
10654 * fns.c (Fremassoc):
10655 * fns.c (Fremassq):
10656 * fns.c (remassq_no_quit):
10657 * fns.c (Fremrassoc):
10658 * fns.c (Fremrassq):
10659 * fns.c (remrassq_no_quit):
10660 * fns.c (Freverse):
10664 * frame-msw.c (mswindows_init_frame_1):
10665 * frame-msw.c (mswindows_delete_frame):
10666 Register popups with dialog code so keyboard traversing works.
10668 * frame-tty.c (tty_raise_frame_no_select): [1].
10671 * frame-x.c (x_set_frame_text_value):
10672 * frame-x.c (x_set_frame_properties):
10673 * frame-x.c (x_create_widgets):
10677 * frame.c (Fmouse_pixel_position): Minor doc fixes.
10679 * frame.h (wrap_frame): New.
10680 Macro like wrap_device.
10683 * general.c (SYMBOL):
10684 * general.c (syms_of_general):
10685 Major reorg. This is now just a wrapper and symbols themselves
10686 are listed in general-slots.h.
10688 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
10689 * glyphs-msw.c (mswindows_resource_instantiate): [5].
10691 * glyphs-msw.c (mswindows_native_layout_instantiate):
10692 Add DS_CONTROL so keyboard traversal will work.
10695 * glyphs-widget.c (syms_of_glyphs_widget):
10696 Move some symbols to general-slots.h.
10699 * glyphs-x.c (xbm_instantiate_1):
10700 * glyphs-x.c (x_xbm_instantiate):
10701 * glyphs-x.c (x_xface_instantiate):
10702 * glyphs-x.c (autodetect_instantiate):
10703 * glyphs-x.c (cursor_font_instantiate):
10704 * glyphs-x.c (x_update_widget):
10705 * glyphs-x.c (x_widget_instantiate):
10706 * glyphs.c (bitmap_to_lisp_data):
10707 * glyphs.c (pixmap_to_lisp_data):
10710 * glyphs.c (syms_of_glyphs):
10714 * gui-x.c (print_widget_value):
10715 * gui-x.c (menu_separator_style_and_to_external):
10716 * gui-x.c (add_accel_and_to_external):
10717 * gui-x.c (button_item_to_widget_value):
10718 * gui-x.c (gui_items_to_widget_values_1):
10719 * gui-x.c (gui_items_to_widget_values):
10720 * gui-x.c (syms_of_gui_x):
10721 * gui-x.c (vars_of_gui_x):
10722 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
10726 Muleize, prototype changes matching gui-x.c.
10729 * gui.c (separator_string_p):
10730 * gui.c (gui_item_add_keyval_pair):
10731 * gui.c (make_gui_item_from_keywords_internal):
10732 * gui.c (signal_too_long_error):
10733 * gui.c (parse_gui_item_tree_item):
10734 * gui.c (syms_of_gui):
10735 * gui.c (vars_of_gui):
10737 menu-no-selection-hook moved here (used by MSWin).
10738 Move some symbols to general-slots.h.
10742 * insdel.c (get_buffer_pos_char):
10743 * insdel.c (get_buffer_range_char):
10746 * keymap.c (keymap_lookup_directly):
10747 * keymap.c (keymap_store):
10748 * keymap.c (ensure_meta_prefix_char_keymapp):
10749 * keymap.c (describe_map):
10751 Support new button modifiers.
10753 * lisp-disunion.h (wrap_object):
10754 * lisp-disunion.h (XSETOBJ):
10755 Rename make_obj to wrap_object.
10758 * lisp-union.h (make_int):
10759 * lisp-union.h (make_char):
10760 Support wrap_object.
10763 * lisp.h (LIST_LOOP):
10764 * lisp.h (EXTERNAL_LIST_LOOP):
10765 * lisp.h (LIST_LOOP_2):
10766 * lisp.h (EXTERNAL_LIST_LOOP_1):
10767 * lisp.h (EXTERNAL_LIST_LOOP_2):
10768 * lisp.h (EXTERNAL_LIST_LOOP_3):
10769 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
10770 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10771 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
10772 * lisp.h (EXTERNAL_ALIST_LOOP_5):
10773 * lisp.h (EXTERNAL_ALIST_LOOP_6):
10774 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
10775 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
10776 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
10777 * lisp.h (struct Lisp_Symbol):
10778 * lisp.h (maybe_continuable_error_with_frob):
10779 Fix up section comments.
10780 Add new types for char to indicate usage.
10781 Delete symbols auto-generated from general-slots.h.
10782 Add prototypes for structured error functions.
10783 Add long comments describing looping macros and change interface
10784 so that lvalues are automatically declared.
10785 Add NO_DECLARE macro in case callers want to declare lvalues
10788 * lread.c (read_syntax_error):
10789 * lread.c (continuable_read_syntax_error):
10790 * lread.c (read_structure):
10791 * lread.c (sequence_reader):
10792 * lread.c (read_list_conser):
10793 * lread.c (read_compiled_function):
10794 Rename syntax_error and continuable_syntax_error to avoid clash
10795 with same-named structured error functions.
10797 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10798 * menubar-msw.c (populate_menu_add_item):
10799 * menubar-msw.c (populate_or_checksum_helper):
10804 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10805 Mule-ize whole file.
10807 * menubar.c (Fnormalize_menu_item_name): Add optimization.
10809 * mule-charset.c (Fmake_charset):
10810 * mule-wnnfns.c (Fwnn_set_param):
10813 * ntproc.c (create_child):
10814 * ntproc.c (Fwin32_set_current_locale):
10815 Add comments portending doom.
10818 * objects-msw.c (old_font_enum_callback_2):
10819 * objects-msw.c (font_enum_callback_1):
10820 * objects-msw.c (mswindows_enumerate_fonts):
10824 * objects-x.c (allocate_nearest_color):
10825 * objects-x.c (x_parse_nearest_color):
10826 * objects-x.c (x_initialize_color_instance):
10827 * objects-x.c (x_print_color_instance):
10828 * objects-x.c (x_finalize_color_instance):
10829 * objects-x.c (x_valid_color_name_p):
10830 * objects-x.c (x_initialize_font_instance):
10831 * objects-x.c (x_print_font_instance):
10832 * objects-x.c (valid_x_font_name_p):
10833 * objects-x.c (truename_via_FONT_prop):
10834 * objects-x.c (truename_via_random_props):
10835 * objects-x.c (truename_via_XListFonts):
10836 * objects-x.c (x_font_truename):
10837 * objects-x.c (x_font_instance_truename):
10838 * objects-x.c (x_font_instance_properties):
10839 * objects-x.c (x_list_fonts):
10840 * objects-x.c (x_find_charset_font):
10841 Mule-ize entire file.
10848 * print.c (std_handle_out_external):
10849 * print.c (debug_print_no_newline):
10850 * print.c (syms_of_print):
10851 Output to all debugger kinds in debug-print.
10852 Fix console-output code under MSWin to actually work.
10854 * process-nt.c (send_signal):
10855 * process-nt.c (nt_create_process):
10856 Use newer Unicode macros.
10858 * process-unix.c (unix_create_process):
10859 * process-unix.c (unix_canonicalize_host_name):
10860 * process-unix.c (unix_open_network_stream):
10866 * search.c (syms_of_search):
10869 * select-msw.c (mswindows_destroy_selection):
10872 * select-x.c (symbol_to_x_atom):
10875 * select.c (syms_of_select):
10878 * sound.c (Fplay_sound_file):
10882 * specifier.c (decode_specifier_type):
10883 * specifier.c (Fvalid_specifier_locale_type_p):
10884 * specifier.c (check_valid_locale_or_locale_type):
10885 * specifier.c (decode_locale):
10886 * specifier.c (decode_locale_type):
10887 * specifier.c (decode_locale_list):
10888 * specifier.c (check_valid_domain):
10889 * specifier.c (decode_specifier_tag_set):
10890 * specifier.c (Fcanonicalize_tag_set):
10891 * specifier.c (Fdefine_specifier_tag):
10892 * specifier.c (Fspecifier_tag_predicate):
10893 * specifier.c (check_valid_inst_list):
10894 * specifier.c (check_valid_spec_list):
10895 * specifier.c (decode_how_to_add_specification):
10896 * specifier.c (check_modifiable_specifier):
10897 * specifier.c (specifier_add_spec):
10898 * specifier.c (boolean_validate):
10899 * specifier.c (display_table_validate):
10902 * specifier.c (syms_of_specifier):
10903 Move some symbols to general-slots.h.
10907 * symbols.c (Fmapatoms):
10908 * symbols.c (Fapropos_internal):
10911 * symbols.c (set_default_buffer_slot_variable):
10912 * symbols.c (set_default_console_slot_variable):
10915 * symbols.c (defsymbol_massage_name_1):
10916 * symbols.c (defkeyword_massage_name):
10917 * symbols.c (deferror_1):
10918 * symbols.c (deferror):
10919 * symbols.c (deferror_massage_name_and_message):
10921 * symeval.h (DEFSYMBOL):
10922 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
10924 * symbols.c (syms_of_symbols):
10928 * symsinit.h (init_win32): New.
10929 Also new is syms_of_dialog_mswindows.
10932 Add new Unicode macros, missing Cygwin wide-char functions,
10933 convenience conversion macros for Qmswindows_tstr, macros for
10934 encapsulating required MSWin <-> Cygwin filename conversions,
10935 prototype for dynamically-extracted (not in NT 3.51) functions.
10940 * tooltalk.c (Fadd_tooltalk_message_arg):
10941 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
10942 * tooltalk.c (Fadd_tooltalk_pattern_arg):
10945 * tooltalk.c (syms_of_tooltalk):
10949 * unexnt.c (unexec):
10950 Fix up headers, declaration of unexec() to be more standard.
10952 2000-07-20 Martin Buchholz <martin@xemacs.org>
10954 * offix.h: Revert change to guard macros - they're used in offix.c!
10956 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10958 * lisp.h: Defsubred Fdelete.
10960 * console-msw.h: (msprinter_default_printer): Added.
10962 * console-msw.c (msprinter_canonicalize_console_connection):
10963 (msprinter_canonicalize_device_connection): Added.
10965 * device-msw.c (msprinter_default_printer):
10966 (Fmswingows_get_default_printer):
10967 (signal_enum_priner_error):
10968 (Fmswingows_printer_list): Added.
10970 2000-07-19 Martin Buchholz <martin@xemacs.org>
10972 * XEmacs 21.2.35 is released.
10974 2000-07-19 Martin Buchholz <martin@xemacs.org>
10976 * select-x.c (x_handle_selection_request):
10977 Text selected in xemacs and pasted into xterm failed to appear.
10978 Spelling fixes and cosmetic changes.
10980 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
10982 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
10983 XEmacs frame (fix for doubling chars in dialog boxes).
10985 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
10987 * select.c (select_convert_in, select_convert_out):
10988 Don't call intern() every time.
10990 * select.c (Qselect_convert_in, Qselect_convert_out): New.
10991 * select.c (vars_of_select): Initialise them.
10993 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
10995 * select.c (selection-coercible-types): New.
10997 * select.c (own-selection-internal):
10998 * select.c (get-selection-internal):
10999 MULE bug fix - these should default to COMPOUND_TEXT and not
11000 STRING for MULE. I think.
11002 * select.c (select_convert_out): Use selection-coercible-types
11003 to find types that we can attempt to perform coercions on.
11005 2000-07-18 Martin Buchholz <martin@xemacs.org>
11009 Add coding: cookie to identify encoding.
11011 * mule-canna.c (CANNA_mode_keys): make static.
11012 Use proper prototypes, even for functions of no arguments.
11013 Remove external prototype for Fding().
11015 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
11017 * select.c (syms_of_select): Add missing DEFSUBR.
11019 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
11021 * select.c (get_selection_internal, own_selection_internal):
11022 Make the type default to STRING, rather than placing a nil type
11023 into Vselection_alist.
11025 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
11027 * gpmevent.c (tty_selection_exists_p):
11028 * gpmevent.c (tty_own_selection):
11029 Updated parameter lists.
11031 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
11033 * select.h (selection-alist): Removed declaration.
11035 * select.h (get_local_selection):
11036 * select.c (get_local_selection):
11039 * select.h (convert_selection): Removed declaration.
11040 * select.c (convert_selection): Removed.
11041 This function belongs in Lisp.
11043 * select.h (select_convert_in): Declare.
11044 * select.h (select_convert_out): Declare.
11045 * select.c (select_convert_in): New.
11046 * select.c (select_convert_out): New.
11047 New conversion functions for other files to call.
11049 * select.h (select_notify_buffer_kill): Declare.
11050 * select.c (select_notify_buffer_kill): New.
11051 New functions that get called from kill-buffer.
11053 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
11054 X-specific lisp code.
11056 * select.h: Declare some of the lisp-visible functions for
11059 * select.c (clean_local_selection_data): Removed. This was
11060 a disgusting function, and previously should have been in
11061 select-x.c in any case. The functionality is now provided
11062 in select-convert-from-integer (select.el).
11064 * select.c (available-selection-types): Fixed stupidity where
11065 INTEGER and ATOM got added twice. Also add STRING when we see an
11068 * select.c (get-selection-internal): Removed symbol stripping. No
11069 longer causes conversion when data comes from the internal cache.
11071 * select.c (syms_of_select): Added new functions.
11073 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
11074 error checking - previously this called abort!
11076 * select-x.c (x_own_selection): Changed comment.
11078 * select-x.c (x_handle_selection_request): Use select_convert_out.
11079 Don't mess with selection-alist; it's an internal variable of select.c.
11081 * select-x.c (x_get_foreign_selection): Use select_convert_in.
11083 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
11084 rather than messing with selection-alist.
11086 * select-msw.c (mswindows_get_foreign_selection):
11087 Use TO_INTERNAL_FORMAT rather than hacking.
11089 2000-07-14 Martin Buchholz <martin@xemacs.org>
11091 * process-unix.c (unix_open_multicast_group):
11092 (unix_open_multicast_group): Remove useless casts.
11094 2000-07-13 Martin Buchholz <martin@xemacs.org>
11096 * sound.c (Fplay_sound): Fix `unused variable' warning.
11098 * emacs.c (main): Use correct type for _environ on SCO5.
11100 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
11102 * console.h (own_selection_method):
11103 * console.h (selection_exists_p_method):
11104 * console.h (available_selection_types_method): New.
11105 * console.h (register_selection_data_type_method): New.
11106 * console.h (selection_data_type_name): New.
11108 * console-msw.h (mswindows_destroy_selection): Declare it. New
11109 function & alist to track GlobalAlloc()'d handles that need
11110 releasing when the clipboard data gets replaced or emptied.
11112 * event-msw.c (mswindows_wnd_proc): Call it.
11114 * lisp.h, general.c (Qappend): New symbol representing a
11117 * select.c (own-selection-internal):
11118 * select.c (selection-exists-p):
11119 * select.c (available-selection-types): New.
11120 * select.c (register-selection-data-type): New.
11121 * select.c (selection-data-type-name): New. New functions to deal
11122 with device-specific selection data formats.
11123 * select.c (selection-converter-out-alist): Renamed.
11124 * select.c (selection-converter-in-alist): New.
11125 * select.c (selection-appender-alist): New. Added new alists.
11126 * select.c (syms_of_select, vars_of_select): Added new symbols &
11128 * select.c (get_local_selection): Split.
11129 * select.c: Removed spurious type checking - selections may now be
11130 of any type, not just strings.
11131 * select.c (own-selection-internal):
11133 * select.h, select.c (convert_selection): New. Created
11134 convert_selection() function based on get_local_selection().
11135 * select.h, select.c (QCF_*): New symbols representing mswindows
11137 * select.h, select.c (Qreplace_all, Qreplace_existing): New
11138 symbols representing `how-to-add' modes.
11140 * select-msw.c (x_sym_p): New.
11141 * select-msw.c (symbol_to_ms_cf): New.
11142 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
11143 symbols & clipboard formats. Can also handle string names.
11144 * select-msw.c (mswindows_own_selection):
11145 * select-msw.c (mswindows_selection_exists_p):
11146 Added `data-type' parameter. Use it.
11147 * select-msw.c (mswindows_available_selection_types): New.
11148 * select-msw.c (mswindows_register_selection_data_type): New.
11149 * select-msw.c (mswindows_selection_data_type_name): New.
11150 * select-msw.c (mswindows_own_selection):
11151 * select-msw.c (mswindows_get_foreign_selection):
11152 * select-msw.c (mswindows_selection_exists_p): Rewrote.
11153 * select-msw.c (console_create_select_mswindows): Added new methods.
11154 * select-msw.c (mswindows_destroy_selection): New.
11155 * select-msw.c (Vhandle_alist): New list.
11156 * select-msw.c (mswindows_own_selection):
11158 * select-x.c (x_own_selection):
11159 * select-x.c (x_selection_exists_p):
11160 * select-x.c: Added some comments about maybe using new
11162 * select-x.c (x_own_selection):
11164 * specifier.c: Remove definition of Qappend (now in general.c)
11165 * specifier.c (syms_of_specifier): Remove Qappend.
11167 2000-07-12 Martin Buchholz <martin@xemacs.org>
11169 * config.h.in: Add socklen_t.
11171 * s/decosf4-0.h: No special compiler flags needed or desired.
11172 In particular, undefine _BSD for DEC OSF 4.0.
11174 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11176 * redisplay-msw.c (msprinter_frame_output_end): Added.
11177 (console_type_create_redisplay_mswindows): Referred the above.
11179 * frame.c (setup_frame_without_minibuffer): Do not create a
11180 default minibuffer frame on a printer device.
11182 * frame-msw.c (apply_dc_geometry): Added.
11183 (msprinter_start_page):
11184 (msprinter_init_frame_3):
11185 (msprinter_eject_page): Use it.
11187 * console-msw.h (struct msprinter_frame): Added pix_left and top,
11188 and removed residual duplex and orientation properties.
11190 2000-07-11 Martin Buchholz <martin@xemacs.org>
11192 * eval.c (function_argcount): Work around a DEC CC compiler bug.
11194 * unexalpha.c: Remove system prototypes from C sources!
11196 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
11198 * eval.c: Remove references to M-x edit-options in DEFUNs for
11199 `defvar' and `defconst'.
11201 2000-07-09 Martin Buchholz <martin@xemacs.org>
11203 * config.h.in: Remove SMART_INCLUDE hackery.
11205 PostgreSQL hacking:
11206 * config.h.in: Don't use SMART_INCLUDE.
11208 * postgresql.h: Include libpq-fe.h here. Fix typo.
11209 * inline.c: Simply #include "postgresql.h"
11211 - Don't use SMART_INCLUDE
11212 - Use simply "const".
11213 - Use standard doc string conventions.
11214 - Use correct type for result of PQstatus.
11216 2000-07-09 Martin Buchholz <martin@xemacs.org>
11218 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
11220 C++ compilation changes.
11221 * config.h.in (EXTERN_C): Define.
11222 * config.h.in (not): This is also a C++ keyword.
11223 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
11224 * cm.c: Use EXTERN_C.
11225 * redisplay-tty.c: Use EXTERN_C.
11226 * sysdep.c: Use EXTERN_C. Remove Gould support.
11228 2000-07-09 Martin Buchholz <martin@xemacs.org>
11230 * general.c: Remove duplicate definition for Qfunction.
11232 2000-07-08 Ben Wing <ben@xemacs.org>
11234 * device-msw.c (msprinter_init_device):
11235 * device-msw.c (sync_printer_with_devmode):
11236 * device-msw.c (handle_devmode_changes):
11237 * device-msw.c (print_dialog_worker):
11238 * device-msw.c (Fmsprinter_apply_settings):
11239 * device-msw.c (hash_devmode):
11240 * device-msw.c (Fmsprinter_settings_despecialize):
11241 use Qmswindows_tstr, not Qctext.
11243 * vm-limit.c (check_memory_limits):
11244 avoid infinite loop printing warning messages.
11246 2000-07-05 Craig Lanning <lanning@scra.org>
11248 * Makefile.in.in: Add support for including the Windows resources
11249 when building with the cygwin and mingw targets.
11251 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
11252 not set or not correct.
11253 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
11254 (init_initial_directory): Don't try to use $PWD on the
11255 WIN32_NATIVE target.
11258 [[Add -mwindows to eliminate console window.]] not required --ben
11259 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11260 (MAIL_USE_POP): removed; now handled by configure.
11262 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
11263 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
11264 (HAVE_NATIVE_SOUND): removed; now handled by configure.
11265 (MAIL_USE_POP): removed; now handled by configure.
11266 (ENCAPSULATE_STAT): from Dan Holmsand, added.
11267 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
11268 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
11270 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
11271 up from <winsock.h> via systime.h.
11272 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
11273 (getpagesize): from Dan Holmsand, added.
11274 Added #endif which was left dangling by Ben's mega patch; added
11275 comment to help prevent this in the future.
11277 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
11279 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
11281 * console-msw.h (struct mswindows_device): Removed unnecessary
11282 cached device geometry values.
11283 Added update_tick and an accessor macro.
11284 (Lisp_Devmode): Added lrecord declaration.
11285 (struct msprinter_device): Contain devmode as a Lisp object.
11286 Added mswindows_get_selected_frame_hwnd();
11288 * console.h (struct console_methods): Indentation nitpicking.
11290 * device-msw.c (mswindows_init_device): Do not initialize geometry
11291 cache. Initialize update tick.
11292 (mswindows_device_system_metrics): Ask the device for its geometry.
11293 (global_free_2_maybe):
11294 (devmode_to_hglobal):
11295 (handle_printer_changes):
11296 (ensure_not_printing):
11297 (print_dialog_worker):
11298 (Fmsprinter_print_setup_dialog):
11299 (Fmsprinter_print_dialog):
11300 (plist_get_margin):
11301 (plist_set_margin):
11302 (Fmsprinter_page_setup_dialog): Added functions.
11303 (sync_printer_with_devmode):
11304 (handle_devmode_changes):
11305 (Fmsprinter_get_settings):
11306 (Fmsprinter_select_settings):
11307 (Fmsprinter_apply_settings):
11308 (allocate_devmode):
11309 (Fmsprinter_settings_copy):
11310 (Fmsprinter_settings_despecialize):
11312 (finalize_devmode):
11314 (hash_devmode): Added functions
11315 (syms_of_device_mswindows): Init devmode lrecord class.
11317 * device.h: Added an exfun for find-device.
11319 * event-msw.c (mswindows_wnd_proc): Do not update the cached
11320 geometry; although, recreate the device compatible DC.
11322 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
11323 (msprinter_init_frame_3):
11324 (msprinter_frame_property):
11325 (msprinter_internal_frame_property_p):
11326 (msprinter_frame_properties):
11327 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
11328 print job properties (will move to device settings).
11330 * lisp.h: Added symbols.
11332 * general.c (syms_of_general): Declared them.
11334 * hash.c (string_hash): Added.
11336 * lrecord.h (lrecord_type): Added devmode lrecord type.
11338 2000-07-02 Mike Sperber <mike@xemacs.org>
11340 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
11343 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
11345 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
11348 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
11350 * data.c (Fstring_to_number): Don't recognize floating point if
11353 2000-06-22 Martin Buchholz <martin@xemacs.org>
11355 * glyphs-widget.c (tab_control_query_geometry):
11356 (widget_query_geometry):
11357 (button_query_geometry):
11358 * glyphs.c (text_query_geometry):
11359 Enforce type correctness.
11361 2000-06-18 Martin Buchholz <martin@xemacs.org>
11363 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
11364 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
11366 2000-06-17 Martin Buchholz <martin@xemacs.org>
11368 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
11369 conflicts with gcc's fixincluded version of FOO.h.
11371 * glyphs.h (image_instance_geometry): Remove trailing `,'
11373 2000-06-08 Mike Alexander <mta@arbortext.com>
11375 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
11376 (shove_thread): Don't write the same output twice
11377 (make_ntpipe_output_stream): Increase priority of shove thread
11378 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
11380 (ntpipe_shove_closer): Don't delete the pipe until we're done with
11383 2000-06-12 Ben Wing <ben@xemacs.org>
11385 * s\mingw32.h (sigset):
11386 * s\windowsnt.h (sigset):
11387 rename msw_ to mswindows_ for consistency with general convention.
11389 2000-06-12 Ben Wing <ben@xemacs.org>
11392 * console-msw.c (mswindows_get_console_hwnd):
11393 * console-msw.c (mswindows_ensure_console_allocated):
11394 * console-msw.c (mswindows_hide_console):
11395 * console-msw.c (mswindows_show_console):
11396 * console-msw.c (mswindows_ensure_console_buffered):
11397 * console-msw.c (mswindows_output_console_string):
11398 * console-msw.c (mswindows_windows9x_p):
11400 * device-msw.c (mswindows_get_workspace_coords):
11401 * device-msw.c (mswindows_device_system_metrics):
11402 * dialog-msw.c (mswindows_popup_dialog_box):
11403 * event-msw.c (mswindows_wnd_proc):
11404 * frame-msw.c (mswindows_size_frame_internal):
11405 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11406 * menubar-msw.c (displayable_menu_item):
11407 * menubar-msw.c (mswindows_char_is_accelerator):
11409 * nt.c (mswindows_sigset):
11410 * nt.c (mswindows_sigrelse):
11411 * nt.c (mswindows_sigpause):
11412 * nt.c (mswindows_raise):
11413 * nt.c (timer_proc):
11415 * ntproc.c (find_child_console):
11416 * ntproc.c (sys_kill):
11418 * print.c (std_handle_out_external):
11419 * process-nt.c (find_child_console):
11420 * process-nt.c (send_signal_the_95_way):
11421 * process-nt.c (ensure_console_window_exists):
11422 * process-nt.c (nt_create_process):
11424 rename msw_ to mswindows_ for consistency with general convention.
11428 include nt.h, not syswindows.h.
11430 * nt.c (mswindows_fstat):
11431 * nt.c (mswindows_stat):
11432 prefix mswindows_ instead of attempting to directly override the
11433 library functions. fix declarations.
11436 include syswindows.h. move some sysdep.h stuff here.
11439 include syswindows.h, not <windows.h>.
11447 * sysdep.c (sys_fstat):
11448 * sysdep.c (sys_stat):
11449 call mswindows versions when appropriate.
11452 move mswin decls to nt.h.
11455 add long comment describing appropriate use of the various windows
11458 2000-06-11 Ben Wing <ben@xemacs.org>
11460 * device-x.c: Correct doc string for sixth arg of x-get-resource.
11462 2000-06-10 Ben Wing <ben@xemacs.org>
11464 * Makefile.in.in (release):
11465 Correction to make sure xemacs.exe always dumped when correct.
11469 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
11471 * buffer.c (set_buffer_internal):
11472 [[[[2]]]]: Remove HAVE_FEP code.
11474 * buffer.c (init_initial_directory):
11478 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
11482 * callproc.c (call_process_cleanup):
11483 * callproc.c (Fold_call_process_internal):
11484 * callproc.c (child_setup):
11485 * callproc.c (getenv_internal):
11486 * callproc.c (init_callproc):
11487 * callproc.c (vars_of_callproc):
11488 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
11489 __CYGWIN32__ -> CYGWIN.
11490 DOS_NT -> WIN32_NATIVE.
11491 Remove MSDOS support/references, converting to WIN32_NATIVE
11493 __MINGW32__ -> MINGW.
11494 Fix windows.h includes.
11495 Remove bogus HAVE_NTGUI.
11501 mswindows_message_outputted added for use in allowing startup
11502 errors on the console to be seen.
11504 * console-msw.c (msw_ensure_console_allocated):
11505 * console-msw.c (msw_output_console_string):
11506 * console-msw.c (DHEADER):
11507 * console-msw.c (DOPAQUE_DATA):
11508 * console-msw.c (DEVENT):
11509 * console-msw.c (DCONS):
11510 * console-msw.c (DCONSCDR):
11511 * console-msw.c (DSTRING):
11512 * console-msw.c (DVECTOR):
11513 * console-msw.c (DSYMBOL):
11514 * console-msw.c (DSYMNAME):
11517 * console-stream.c (stream_init_console):
11518 Fix text/binary problems.
11521 * device-msw.c (mswindows_finish_init_device):
11522 * device-msw.c (mswindows_delete_device):
11525 * device.c (handle_asynch_device_change):
11529 * dgif_lib.c (DGifOpenFileName):
11530 * dgif_lib.c (DGifOpenFileHandle):
11531 * dgif_lib.c (DGifGetLine):
11532 * dgif_lib.c (DGifGetPixel):
11533 Added config.h/lisp.h, fix up includes.
11540 * dired.c (file_name_completion):
11541 * dired.c (Ffile_attributes):
11542 * dired.c (syms_of_dired):
11546 * dumper.c (pdump_file_unmap):
11547 * dumper.c (pdump_load):
11551 * editfns.c (Ftemp_directory):
11552 * editfns.c (user_login_name):
11553 * editfns.c (Fuser_real_login_name):
11554 * editfns.c (get_home_directory):
11557 * elhash.c (finish_marking_weak_hash_tables):
11558 [[[[5]]]]: Fix GCC warnings.
11561 * emacs.c (mswindows_handle_hardware_exceptions):
11562 * emacs.c (make_arg_list_1):
11563 * emacs.c (main_1):
11564 * emacs.c (Fkill_emacs):
11565 * emacs.c (Fdump_emacs):
11567 Fix problems with nested crashes, add long comment.
11569 * event-Xt.c (init_event_Xt_late):
11573 * event-msw.c (mswindows_dde_callback):
11574 * event-msw.c (mswindows_handle_sticky_modifiers):
11575 * event-msw.c (mswindows_wnd_proc):
11579 * events.c (character_to_event):
11583 * fileio.c (Ffile_name_directory):
11584 * fileio.c (Ffile_name_nondirectory):
11585 * fileio.c (directory_file_name):
11586 * fileio.c (Fexpand_file_name):
11587 * fileio.c (Fsubstitute_in_file_name):
11588 * fileio.c (Ffile_name_absolute_p):
11589 * fileio.c (check_executable):
11590 * fileio.c (Ffile_readable_p):
11591 * fileio.c (Ffile_accessible_directory_p):
11592 * fileio.c (Ffile_modes):
11593 * fileio.c (Funix_sync):
11594 * fileio.c (vars_of_fileio):
11597 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
11599 Expand getdefdir defn.
11600 Fix bogus rename() comment.
11602 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
11603 to use standard XEmacs include files, e.g. sysfile.h, rather
11604 than system-specific includes.
11610 * frame.c (vars_of_frame):
11614 * getloadavg.c (getloadavg):
11616 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
11617 (We don't use it elsewhere in the code; just add a comment.)
11624 * glyphs-msw.c (mswindows_resource_instantiate):
11627 * glyphs-x.c (x_native_layout_instantiate):
11630 * gui-msw.c (Fmswindows_shell_execute):
11639 * lread.c (locate_file_in_directory_mapper):
11646 * mem-limits.h (get_lim_data):
11658 * nt.c (rva_to_section):
11659 * nt.c (mswindows_executable_type):
11661 Fix closedir() defn.
11664 [[[[8]]]]: *_OK defs moved to sysfile.h.
11673 * print.c (std_handle_out_external):
11677 * process-nt.c (nt_create_process):
11679 try to fix process quoting somewhat.
11681 * process-unix.c (unix_create_process):
11685 * process.c (vars_of_process):
11692 * realpath.c (xrealpath):
11695 * redisplay-tty.c (init_tty_for_redisplay):
11705 * sheap.c (more_static_core):
11706 * sheap.c (report_sheap_usage):
11710 * signal.c (alarm_signal):
11717 * strftime.c (zone_name):
11720 * symsinit.h (init_sunpro):
11724 commctrl.h not in Cygwin b20.1.
11727 * sysdep.c (endif):
11728 * sysdep.c (sys_subshell):
11729 * sysdep.c (init_baud_rate):
11730 * sysdep.c (emacs_get_tty):
11731 * sysdep.c (emacs_set_tty):
11732 * sysdep.c (tty_init_sys_modes_on_device):
11733 * sysdep.c (init_system_name):
11734 * sysdep.c (sys_open):
11735 * sysdep.c (interruptible_open):
11736 * sysdep.c (sys_fopen):
11737 * sysdep.c (sys_mkdir):
11738 * sysdep.c (sys_rename):
11739 * sysdep.c (get_process_times_1):
11746 * sysdir.h (DIRENTRY_NONEMPTY):
11749 * sysdll.c (dll_init):
11755 added text/binary defs.
11761 * sysproc.h (EDESTADDRREQ):
11762 * sysproc.h (poll_fds_for_input):
11779 Always define WIN32_LEAN_AND_MEAN.
11781 * unexcw.c (unexec):
11785 * unexec.c (copy_text_and_data):
11786 * unexec.c (adjust_lnnoptrs):
11790 * unexnt.c (_start):
11793 2000-06-07 Ben Wing <ben@xemacs.org>
11795 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
11796 was used only as a model. We've long since extracted any useful
11797 logic or code out of this. (I just did an exhaustive search.)
11799 * s\msdos.h: Removed.
11801 * s\windows95.h: Removed.
11803 2000-06-10 Ben Wing <ben@xemacs.org>
11807 Don't use extern with fun defs.
11811 Remove nt\inc include.
11812 Remove getdisk, getdefdir. (The former is unused, the latter
11813 expanded in fileio.h.)
11816 * s\windowsnt.h (WIN32_NATIVE):
11817 * s\windowsnt.h (HAVE_STRCASECMP):
11819 Add long comment about preprocessor changes.
11820 Remove getdisk, getdefdir. (The former is unused, the latter
11821 expanded in fileio.h.)
11823 2000-06-10 Ben Wing <ben@xemacs.org>
11832 Remove bogus/unused NO_SOCK_SIGIO.
11834 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
11836 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
11839 2000-06-04 Mike Sperber <mike@xemacs.org>
11841 * casetab.c (set_case_table): For `set-standard-case-table',
11842 actually deposit the new case tables where the rest of XEmacs can
11845 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
11847 * data.c (Faset): Don't cast XCHAR() to unsigned char.
11849 2000-06-05 Ben Wing <ben@xemacs.org>
11851 * callproc.c (child_setup): Don't do close_load_descs() under
11852 MS Windows. Put in a comment explaining why.
11854 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
11856 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
11857 Toolkit shell" which breaks `kill-compilation' on Windows NT
11858 native, retaining STDERR handling improvements.
11860 2000-06-01 Andreas Jaeger <aj@suse.de>
11862 * s/s390.h: Support for S390, based on a patch by Martin
11863 Schwidefsky <schwidefsky@de.ibm.com>.
11865 2000-05-30 Andy Piper <andy@xemacs.org>
11867 * window.c (allocate_window):
11868 (make_dummy_parent):
11869 (Fset_window_configuration): use new hashtable type.
11871 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
11872 (struct image_instantiator_methods):
11873 (struct Lisp_Image_Instance): make instance geometry signed.
11875 * glyphs.c (instantiate_image_instantiator):
11876 (image_instance_query_geometry):
11877 (image_instance_layout):
11878 (image_instance_layout):
11879 (query_string_geometry):
11880 (text_query_geometry):
11881 (image_instantiate):
11882 (image_instantiate):
11883 (cache_subwindow_instance_in_frame_maybe):
11884 (subwindow_query_geometry): make instance geometry signed.
11886 * glyphs-widget.c (widget_query_geometry):
11888 (button_query_geometry):
11889 (tree_view_query_geometry):
11890 (tab_control_query_geometry):
11891 (layout_query_geometry):
11893 (native_layout_layout): make instance geometry signed.
11895 2000-05-29 Olivier Galibert <galibert@pobox.com>
11897 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
11900 * general.c (syms_of_general): Add Qfull_assoc symbol.
11902 * data.c (finish_marking_weak_lists): Mark full-assoc lists
11904 (decode_weak_list_type): Decode full-assoc type.
11905 (encode_weak_list_type): Encode full-assoc type.
11906 (Fmake_weak_list): Update doc string.
11908 2000-05-30 Andy Piper <andy@xemacs.org>
11910 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
11912 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
11913 (decode_hash_table_weakness): ditto.
11914 (Fhash_table_weakness): ditto.
11915 (Fhash_table_type): ditto.
11916 (finish_marking_weak_hash_tables): ditto.
11917 (hash_table_weakness_validate): ditto.
11918 (syms_of_elhash): ditto.
11920 2000-05-28 Martin Buchholz <martin@xemacs.org>
11922 * XEmacs 21.2.34 is released.
11924 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11926 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
11928 (updating_line_start_cache): Gone.
11929 (regenerate_window): Replace resetting of VERTICAL_CLIP by
11930 generic code to force a minimum of 1 line laid out in the
11933 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
11935 * glyphs.c (instantiate_image_instantiator): Check for initialized
11936 height & width no longer special cases IMAGE_NOTHING.
11937 (nothing_instantiate): Set height and width of instance.
11939 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
11941 * unexelf.c (unexec): Search for ".data" section.
11942 Initialize new_data2_offset from old_data_index.
11943 Remove redundant check for ElfW.
11945 2000-05-23 Andy Piper <andy@xemacs.org>
11947 * glyphs.c (get_image_instantiator_governing_domain): allow more
11948 specific domains as the governing domain rather than expecting an
11949 exact match. This fixes problems with layouts.
11951 2000-05-22 Andy Piper <andy@xemacs.org>
11953 * redisplay-output.c (compare_runes): check for non-images
11955 * glyphs.c (set_glyph_dirty_p): ditto.
11956 (update_glyph_cachel_data): ditto.
11958 * glyphs-widget.c (layout_post_instantiate): ditto.
11959 (layout_post_instantiate): ditto.
11961 * event-msw.c (mswindows_wnd_proc): warning removal.
11963 2000-05-12 Craig Lanning <CraigL@DyCon.com>
11965 * s\mingw32.h: Added #undef for CLASH_DETECTION.
11967 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
11969 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
11971 * nt.c (rva_to_section): mingw32 needs rva_to_section.
11972 (mswindows_executable_type): mingw32 now has enough headers for
11975 2000-05-20 Andy Piper <andy@xemacs.org>
11977 * console-msw.c (mswindows_output_last_error): ; -> ,
11979 2000-05-12 Andy Piper <andy@xemacs.org>
11981 * console-msw.c (FROB): compare ints with ints.
11983 2000-05-11 Andy Piper <andy@xemacs.org>
11985 * glyphs-x.c (x_finalize_image_instance): make minimal build
11988 2000-05-20 Ben Wing <ben@xemacs.org>
11991 * event-Xt.c (vars_of_event_Xt):
11992 move modifier-keys-are-sticky to event-stream.c.
11995 * event-msw.c (mswindows_enqueue_mouse_button_event):
11996 * event-msw.c (key_needs_default_processing_p):
11997 * event-msw.c (XEMSW_LCONTROL):
11998 * event-msw.c (mswindows_handle_sticky_modifiers):
11999 * event-msw.c (FROB):
12000 * event-msw.c (clear_sticky_modifiers):
12001 * event-msw.c (output_modifier_keyboard_state):
12002 * event-msw.c (output_alt_keyboard_state):
12003 * event-msw.c (mswindows_wnd_proc):
12004 * event-msw.c (mswindows_modifier_state):
12005 * event-msw.c (emacs_mswindows_handle_magic_event):
12006 implement sticky modifiers.
12009 * event-stream.c (vars_of_event_stream):
12010 move modifier-keys-are-sticky here.
12013 add CHECK_FUNCTION.
12016 implement map-range-table.
12019 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
12021 * redisplay-tty.c (reset_tty_modes):
12022 (tty_redisplay_shutdown): Adjust argument type to
12023 tty_frame_output_end.
12025 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12027 * eval.c (Fbacktrace): Don't output a line with only right
12030 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
12032 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
12033 (Fpq_reset_poll): Ditto.
12035 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
12037 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
12039 2000-05-16 Ben Wing <ben@xemacs.org>
12042 * buffer.c (dfc_convert_to/from_internal_format):
12043 * buffer.c (reinit_vars_of_buffer):
12044 Fix conversion functions to allow reentrancy.
12047 * console-msw.c (mswindows_output_last_error):
12048 New fun, generally useful -- output a human-readable
12049 version of GetLastError() on the console.
12052 * console-msw.h (struct mswindows_frame):
12053 Changes for DeferWindowPos. Declare mswindows_output_last_error().
12055 * console-stream.c (stream_output_begin):
12056 * console-stream.c (stream_output_end):
12057 * console-stream.c (stream_output_vertical_divider):
12058 * console-stream.c (stream_clear_region):
12059 * console-stream.c (stream_flash):
12060 * console-stream.c (console_type_create_stream):
12061 Delete blank stream methods, not needed.
12063 * console.h (struct console_methods):
12064 Split begin/end methods into window and frame.
12067 * event-msw.c (mswindows_handle_paint):
12068 * event-msw.c (output_alt_keyboard_state):
12069 * event-msw.c (mswindows_wnd_proc):
12070 * event-msw.c (vars_of_event_mswindows):
12071 Comment about problems with ignored-expose.
12072 Define mswindows-debug-events; not really implemented.
12074 * frame-msw.c (mswindows_init_frame_1):
12078 * glyphs-msw.c (begin_defer_window_pos):
12079 * glyphs-msw.c (mswindows_unmap_subwindow):
12080 * glyphs-msw.c (mswindows_map_subwindow):
12081 * glyphs-msw.c (mswindows_resize_subwindow):
12082 Use DeferWindowPos to reduce flashing when mapping/unmapping.
12084 * glyphs.c (make_image_instance_1):
12087 * gutter.c (Fredisplay_gutter_area):
12088 Use new begin/end methods.
12090 * lisp.h (Dynarr_new2):
12094 * redisplay-msw.c (mswindows_frame_output_begin):
12095 * redisplay-msw.c (mswindows_frame_output_end):
12096 * redisplay-msw.c (console_type_create_redisplay_mswindows):
12097 New begin/end methods -- handle DeferWindowPos.
12099 * redisplay-output.c (redisplay_move_cursor):
12100 * redisplay-output.c (redraw_cursor_in_window):
12101 * redisplay-output.c (redisplay_update_line):
12102 * redisplay-output.c (redisplay_output_window):
12103 New begin/end methods.
12106 * redisplay-tty.c (tty_frame_output_begin):
12107 * redisplay-tty.c (tty_frame_output_end):
12108 * redisplay-tty.c (console_type_create_redisplay_tty):
12109 New begin/end methods.
12112 * redisplay-x.c (x_window_output_begin):
12113 * redisplay-x.c (x_window_output_end):
12114 * redisplay-x.c (console_type_create_redisplay_x):
12115 New begin/end methods.
12117 * redisplay.c (redisplay_frame):
12118 * redisplay.c (Fredisplay_echo_area):
12119 New begin/end methods.
12120 use MAYBE_DEVMETH for clear_frame; it may not exist.
12122 * window.h (WINDOW_XFRAME):
12123 WINDOW_XFOO macros -- get locale and decode struct pointer.
12126 2000-05-12 Ben Wing <ben@xemacs.org>
12129 * emacs.c (ensure_no_quitting_from_now_on):
12130 * emacs.c (fatal_error_signal):
12131 * emacs.c (mswindows_handle_hardware_exceptions):
12133 * emacs.c (Fkill_emacs):
12134 * emacs.c (shut_down_emacs):
12135 * emacs.c (assert_failed):
12136 various improvements in fatal error handling.
12139 move preparing_for_armageddon to emacs.c.
12142 declare fatal_error_in_progress.
12145 * print.c (std_handle_out_external):
12146 * print.c (std_handle_out_va):
12147 * print.c (stderr_out):
12148 * print.c (stdout_out):
12149 use console under mswin when no standard output.
12150 don't do code conversion during fatal error.
12152 * scrollbar.c (Fscrollbar_page_up):
12153 * scrollbar.c (Fscrollbar_page_down):
12154 fix missing else. reindent.
12156 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
12160 * glyphs.h (GLYPH_CACHEL_DESCENT):
12161 (GLYPH_CACHEL_DESCENT):
12162 (GLYPH_CACHEL_DESCENT):
12163 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
12164 used in case these are inline functions.
12165 Use more absurd values to error check.
12167 include window.h for error check functions.
12169 2000-05-11 Ben Wing <ben@xemacs.org>
12171 * cmdloop.c (Freally_early_error_handler):
12172 Display message box under windows; otherwise, message will disappear
12173 before it can be viewed.
12176 * console-msw.c (Fmswindows_message_box):
12177 * console-msw.c (FROB):
12178 * console-msw.c (syms_of_console_mswindows):
12179 Define new fun `mswindows-message-box'.
12180 #### I will merge this into `popup-dialog-box'; just give me
12184 * general.c (syms_of_general):
12185 Some new symbols used in `mswindows-message-box'.
12188 * glyphs.c (Fset_image_instance_property):
12189 put warning in this fun.
12192 * glyphs.h (GLYPH_CACHEL_WIDTH):
12193 * glyphs.h (GLYPH_CACHEL_ASCENT):
12194 * glyphs.h (GLYPH_CACHEL):
12195 * glyphs.h (GLYPH_CACHEL_GLYPH):
12196 define error-checking versions to try to catch a bug i've seen --
12197 redisplay gets in an infinite loop because the glyph width of the
12198 continuation glyph is 65535.
12201 Extern message-box stuff.
12203 * window.c (allocate_window):
12204 * window.c (make_dummy_parent):
12205 * window.c (Fset_window_configuration):
12206 Use EQUAL not EQ for subwindow caches to make them work a bit
12207 better. (Something is still very broken.)
12210 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
12212 * glyphs.c (image_instantiate): Suppress gcc warnings.
12213 (Fmake_image_instance): Fix doc string.
12214 * specifier.c (Fmake_specifier): Ditto.
12216 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
12218 * paths.h.in (PATH_LOCK): Removed.
12219 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
12220 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
12222 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
12224 * fns.c (Ffeaturep): Update e-mail address in doc-string.
12225 Document (featurep '(and xemacs 21.02)).
12227 2000-05-09 Ben Wing <ben@xemacs.org>
12229 * buffer.c (complex_vars_of_buffer):
12230 update modeline-format doc.
12233 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
12236 timeline of all released versions of Emacs, for use in creating
12237 authorship comments and in synching up.
12239 * glyphs-widget.c (image_instantiator_buttons):
12240 * glyphs-widget.c (image_instantiator_edit_fields):
12241 * glyphs-widget.c (image_instantiator_combo_box):
12242 * glyphs-widget.c (image_instantiator_scrollbar):
12243 * glyphs-widget.c (image_instantiator_progress_guage):
12244 * glyphs-widget.c (image_instantiator_tree_view):
12245 * glyphs-widget.c (image_instantiator_tab_control):
12246 * glyphs-widget.c (image_instantiator_labels):
12247 * glyphs-widget.c (image_instantiator_layout):
12248 * glyphs-widget.c (image_instantiator_native_layout):
12249 rename decode_domain method to governing_domain.
12252 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
12253 * glyphs.c (add_entry_to_device_ii_format_list):
12254 make sure we don't put an entry more than once into the list.
12255 * glyphs.c (check_instance_cache_mapper):
12256 *************************************************************
12257 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12259 *************************************************************
12260 * glyphs.c (get_image_instantiator_governing_domain):
12261 clean up, expand on new concept of governing domain.
12262 * glyphs.c (instantiate_image_instantiator):
12263 * glyphs.c (allocate_image_instance):
12264 use governing_domain instead of cache_domain in naming.
12265 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
12266 * glyphs.c (make_image_instance_1):
12267 * glyphs.c (Fmake_image_instance):
12268 allow for any domain (not just device), and process the
12269 governing domain correctly. very big doc fix.
12270 * glyphs.c (Fimage_instance_domain):
12271 new primitive, to retrieve the governing domain of an image instance.
12272 * glyphs.c (image_instantiate):
12273 use new governing_domain stuff. this fixes a crash you could get
12274 by instantiating certain widget glyphs in frame locales. (should
12275 signal an error instead of crashing.)
12276 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
12277 * glyphs.c (Fglyphp): clean up doc.
12278 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
12279 * glyphs.c (syms_of_glyphs):
12280 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
12281 * glyphs.c (image_instantiator_format_create): add some comments about
12283 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
12284 for current-display-table. (Apparently Hrjove implemented in 1998 a
12285 design I wrote up in 1996, but didn't update the doc string.)
12287 * glyphs.h: clean up a doc string.
12288 * glyphs.h (governing_domain):
12289 * glyphs.h (struct image_instantiator_methods):
12290 changes for governing_domain stuff.
12293 * gutter.c (Fgutter_specifier_p):
12294 * gutter.c (Fgutter_size_specifier_p):
12295 * gutter.c (Fgutter_visible_specifier_p):
12297 * objects.c (Fcolor_specifier_p):
12298 * objects.c (Ffont_specifier_p):
12299 * objects.c (Fface_boolean_specifier_p):
12300 doc strings moved to make-*-specifier.
12302 * redisplay.c (add_disp_table_entry_runes_1):
12303 * redisplay.c (generate_fstring_runes):
12304 * redisplay.c (screen):
12305 add random comments and doc strings.
12308 * specifier.c (Fmake_specifier):
12309 major overhaul of this doc string.
12311 * specifier.c (Fvalid_specifier_domain_p):
12312 comment about the bogosity of image instances being domains.
12313 * specifier.c (decode_domain):
12314 now non-static, used in glyphs.c.
12315 * specifier.c (specifier_instance):
12316 comment about the bogosity of image instances being domains.
12317 * specifier.c (Fgeneric_specifier_p):
12318 move doc string to make-generic-specifier.
12319 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
12323 * specifier.h (DOMAIN_FRAME):
12324 * specifier.h (DOMAIN_LIVE_P):
12325 * specifier.h (DOMAIN_XDEVICE):
12327 add comments about problems with these macros.
12328 prototype for decode_domain.
12331 * toolbar.c (Ftoolbar_specifier_p):
12332 move doc string to `make-toolbar-specifier'.
12334 * window.c (window_unmap_subwindows_cache_mapper):
12335 *************************************************************
12336 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
12338 *************************************************************
12340 2000-05-09 Andy Piper <andy@xemacs.org>
12342 * glyphs.h: declare reset_frame_subwindow_instance_cache.
12344 * window.c (Fset_window_configuration): reset the frame subwindow
12345 cache and re-initialize the window subwindow caches.
12347 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
12349 2000-05-09 Ben Wing <ben@xemacs.org>
12351 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
12354 2000-04-26 Mike Woolley <mike@bulsara.com>
12356 * ntheap.c: Changed recreate_heap to limit the amount reserved
12357 for the heap to that which is actually available. Also now
12358 displays a message box (with some dignostics) in the event that
12359 it still can't start.
12361 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
12363 * callproc.c (Fold_call_process_internal): GCPRO path
12365 2000-05-08 Jan Vroonhof <jan@xemacs.org>
12367 Patch by Bill Perry.
12369 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
12370 back data instead of #ifdef.
12371 (Fscrollbar_page_down): ditto.
12373 2000-05-07 Ben Wing <ben@xemacs.org>
12376 Kludge for defining Qmswindows_tstr.
12379 * nt.c (open_input_file):
12380 * nt.c (open_output_file):
12381 * nt.c (rva_to_section):
12382 * nt.c (mswindows_executable_type):
12383 Move all memory-mapped-file routines here (some were in unexnt.c,
12384 which is bad because they are used by process-nt.c, and unexnt
12385 won't be around when portable dumping). Synched the above routines
12389 Removed ifdef'd out bogus code.
12390 Fixed some prototypes.
12392 * nt.h (file_data):
12393 * nt.h (OFFSET_TO_RVA):
12394 * nt.h (RVA_TO_OFFSET):
12395 * nt.h (RVA_TO_PTR):
12396 Moved the memory-mapped-file structures, macros and prototypes
12397 here, to parallel nt.c. ntheap.h should really be removed
12398 entirely, and it's a non-portable-dumper specific file.
12400 * ntheap.h (round_to_next):
12401 Moved the memory-mapped-file structures, macros and prototypes
12404 * ntproc.c (compare_env):
12405 Moved rva_to_section and mswindows_executable_type to nt.c.
12406 Moved compare_env to process-nt.c.
12407 ntproc.c will die, one day.
12409 * ntproc.c (sys_spawnve):
12410 Account for win32_ -> mswindows_.
12413 * process-nt.c (struct nt_process_data):
12414 * process-nt.c (ensure_console_window_exists):
12415 * process-nt.c (compare_env):
12416 * process-nt.c (nt_create_process):
12417 * process-nt.c (nt_kill_process_by_pid):
12418 * process-nt.c (syms_of_process_nt):
12419 * process-nt.c (vars_of_process_nt):
12420 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
12421 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
12422 changes). Eliminate our old `nt-quote-process-args' mechanism.
12423 Synch up nt_create_process with FSF 20.6 sys_spawnve.
12424 Move compare_env here from ntproc.c.
12426 * process.c (Fprocess_send_region):
12427 Takes an optional fourth argument, BUFFER, which should fix some
12428 problems with call-process.
12431 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
12434 Move ICC_BAR_CLASSES to syscommctrl.h.
12435 Add preliminary macros for MSWindows/Mule. More to come.
12438 * unexnt.c (unexec):
12439 open_output_file moved to nt.c.
12442 2000-05-05 Andy Piper <andy@xemacs.org>
12444 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
12445 instance from the frame cache also since GC may catch up too late
12446 to make frame deletion sane.
12448 2000-05-04 Andy Piper <andy@xemacs.org>
12450 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
12451 (x_finalize_image_instance): ungcpro on deletion.
12453 * glyphs.c (image_instantiator_format_create): give pointers a
12454 query geometry method so that the geometry is at least set.
12456 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
12457 initialize layouts if using widgets.
12459 2000-05-03 Andy Piper <andy@xemacs.org>
12461 * nt.c: remove bogus reference to sysmmsystem.h
12463 * gui-x.c (popup_selection_callback): fix no selection abort.
12465 2000-05-02 Andy Piper <andy@xemacs.org>
12467 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
12468 (mswindows_widget_instantiate): ditto.
12470 * glyphs-widget.c (initialize_widget_image_instance): initialize
12471 children correctly.
12472 (widget_instantiate): cope with children and items in the same
12475 * glyphs.c (mark_image_instance): cope with children as a first
12477 (image_instance_equal): ditto.
12478 (image_instance_hash): ditto.
12479 (image_instance_changed): ditto.
12481 2000-04-30 Andy Piper <andy@xemacs.org>
12483 * glyphs.c (subwindow_query_geometry): new function. Return some
12485 (subwindow_instantiate): don't assign dimensions if none have been
12487 (image_instantiator_format_create): add subwindow_query_geometry.
12488 (print_image_instance): cope with layouts as widgets.
12490 2000-04-29 Andy Piper <andy@xemacs.org>
12492 * frame.c (delete_frame_internal): call
12493 free_frame_subwindow_instance_cache so that all subwindows are
12494 finalized before their parent.
12495 (mark_frame): remove subwindow_cachels.
12496 (Fmake_frame): remove subwindow_cachel manipulation.
12497 (allocate_frame_core): subwindow_instance_cache is a weak list.
12498 (delete_frame_internal): set subwindow_instance_cache to nil.
12500 * glyphs-msw.c (mswindows_finalize_image_instance): make double
12502 (mswindows_finalize_image_instance): use the device
12503 not the domain as the domain may have died already.
12505 * glyphs-x.c (x_finalize_image_instance): ditto.
12506 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
12509 * redisplay-output.c (redisplay_unmap_subwindows): update for
12510 subwindow instance cache as a weak list.
12511 (redisplay_unmap_subwindows_maybe): ditto.
12512 (redisplay_unmap_subwindows_except_us): ditto.
12514 * glyphs.c (unmap_subwindow): error checking will check the domain
12515 so don't deal with it here. Don't use cachels anymore.
12516 (map_subwindow): ditto.
12517 (update_subwindow_cachel_data): remove old accessor names.
12518 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
12519 (Fresize_subwindow): don't update cachel.
12520 (mark_subwindow_cachels):
12521 (update_subwindow_cachel_data):
12522 (add_subwindow_cachel):
12523 (get_subwindow_cachel_index):
12524 (update_subwindow_cachel):
12525 (reset_subwindow_cachels):
12526 (mark_subwindow_cachels_as_not_updated): deleted.
12527 (cache_subwindow_instance_in_frame_maybe): new function. Add a
12528 subwindow instance to the frame cache.
12529 (find_matching_subwindow): update for subwindow instance cache as
12531 (update_widget_instances): ditto.
12532 (image_instance_type_to_mask):inlined.
12533 (free_frame_subwindow_instance_cache): new function. finalize all
12534 subwindows that are instantiated.
12536 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
12537 of cachel information.
12538 (IMAGE_INSTANCE_DISPLAY_X):
12539 (IMAGE_INSTANCE_DISPLAY_Y):
12540 (IMAGE_INSTANCE_DISPLAY_WIDTH):
12541 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
12542 (XIMAGE_INSTANCE_DISPLAY_X):
12543 (XIMAGE_INSTANCE_DISPLAY_Y):
12544 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
12545 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
12546 remove subwindow_cachel structure and function references.
12547 (image_instance_type_to_mask): inline from glyphs.c
12549 * redisplay.c (redisplay_frame): remove subwindow_cachel
12552 * frame.h (struct frame): remove subwindow_cachels.
12553 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
12555 * frameslots.h: add subwindow_instance_cache.
12557 * window.c (replace_window): check subwindow cache of replacement.
12558 (window_unmap_subwindows_cache_mapper):
12559 (window_unmap_subwindows): new functions. Unmap all subwindows
12560 cached on this window.
12561 (mark_window_as_deleted): unmap all subwindows.
12563 2000-04-27 Andy Piper <andy@xemacs.org>
12565 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
12567 * glyphs-widget.c (widget_layout): return something.
12568 (layout_layout): return something. Fail if not initialized.
12569 (layout_query_geometry): ditto.
12570 (image_instantiator_native_layout): new function. Initialized the
12571 native layout type.
12572 (widget_instantiate): don't do layout stuff here.
12574 * glyphs.c (instantiate_image_instantiator): reorded calling or
12575 instantiate and post_instantiate with layout in between.
12576 (image_instance_layout): be more selective about deciding whether
12577 the layout has been done or not.
12579 * glyphs.h (struct image_instantiator_methods): return a value
12580 from layout_method.
12582 2000-04-26 Andy Piper <andy@xemacs.org>
12584 * glyphs.c (allocate_image_instance): make initial width and
12585 height unspecified. Set initialized to 0.
12587 * syscommctrl.h new file. Encapsulates commctrl.h.
12589 * syswindows.h new file. Encapsulates windows.h.
12591 * ntplay.c: use new syswindows.h and syscommctrl.h header.
12593 * console-msw.h: ditto.
12595 * redisplay-tty.c (tty_output_display_block): remove layout references.
12597 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
12598 window handle rather than just the frame.
12600 * glyphs.c (mark_image_instance): remove layout references.
12601 (print_image_instance): ditto.
12602 (image_instance_equal): ditto.
12603 (image_instance_hash): ditto.
12604 (decode_image_instance_type): ditto.
12605 (encode_image_instance_type): ditto.
12606 (image_instantiate): ditto.
12607 (allocate_glyph): ditto.
12608 (Fimage_instance_height): ditto.
12609 (Fimage_instance_width): ditto.
12610 (update_subwindow): ditto.
12612 * redisplay-x.c (x_output_display_block): recode for layouts as
12615 * redisplay-output.c (redisplay_output_layout): recode for layouts
12617 (compare_runes): remove layout references.
12619 * redisplay-msw.c (mswindows_output_display_block): recode for
12620 layouts as widgets.
12622 * glyphs-widget.c (image_instantiator_layout): remove
12623 layout_possible_dest_types.
12624 (layout_possible_dest_types): deleted.
12626 * glyphs.h (image_instance_type): remove layout references.
12627 (struct Lisp_Image_Instance): ditto. Add initialized flag.
12628 (IMAGE_INSTANCE_INITIALIZED): new accessor.
12629 (XIMAGE_INSTANCE_INITIALIZED): ditto.
12631 2000-04-25 Andy Piper <andy@xemacs.org>
12633 * glyphs-widget.c (image_instantiator_buttons):
12634 (image_instantiator_edit_fields):
12635 (image_instantiator_combo_box):
12636 (image_instantiator_scrollbar):
12637 (image_instantiator_progress_guage):
12638 (image_instantiator_tree_view):
12639 (image_instantiator_tab_control):
12640 (image_instantiator_labels):
12641 (image_instantiator_layout): call default post_instantiate method.
12642 (widget_post_instantiate): new function. Simply lays out the
12645 * glyphs.h (struct image_instantiator_methods): add
12646 post_instantiate method.
12648 * glyphs.c (instantiate_image_instantiator): add post_instantiate
12651 2000-04-23 Andy Piper <andy@xemacs.org>
12653 * glyphs.h (struct image_instantiator_methods): add
12654 decode_domain_method.
12655 (struct Lisp_Image_Instance): remove subwindow frame - it can be
12656 derived from the domain.
12657 (IMAGE_INSTANCE_FRAME): new accessor.
12658 (XIMAGE_INSTANCE_FRAME): ditto.
12660 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
12661 instead of _SUBWINDOW_FRAME.
12662 (finalize_image_instance): ditto.
12663 (Fimage_instance_foreground): ditto.
12664 (Fimage_instance_background): ditto.
12665 (image_instantiate): ditto.
12666 (update_subwindow_cachel): ditto.
12667 (update_subwindow): ditto.
12668 (unmap_subwindow): ditto.
12669 (map_subwindow): ditto
12670 (subwindow_instantiate): ditto.
12671 * glyphs-msw.c (mswindows_update_widget): ditto.
12672 (mswindows_progress_gauge_instantiate): ditto.
12673 (mswindows_tab_control_update): ditto.
12674 * glyphs-x.c (x_update_widget): ditto.
12675 (x_widget_instantiate): ditto.
12676 (x_tab_control_instantiate): ditto.
12677 (x_tab_control_update): ditto.
12678 * event-msw.c (mswindows_wnd_proc): ditto
12680 * glyphs-widget.c (image_instantiator_layout): use
12681 subwindow_decode_domain.
12682 (image_instantiator_buttons): ditto.
12683 (image_instantiator_edit_fields): ditto.
12684 (image_instantiator_combo_box): ditto.
12685 (image_instantiator_scrollbar): ditto.
12686 (image_instantiator_progress_guage): ditto.
12687 (image_instantiator_tree_view): ditto.
12688 (image_instantiator_tab_control): ditto.
12689 (image_instantiator_labels): ditto.
12690 (image_instantiator_layout): ditto.
12692 * glyphs.c: add instance error checking to many functions.
12693 (instantiate_image_instantiator): decode device from cache_domain.
12694 (image_instantiate): partially rewrite by using
12695 decode_image_instantiator_domain to determine what domain the
12696 instance needs to be cached in.
12697 (decode_image_instantiator_domain): new function. Determine what
12698 domain the image needs to be cached in.
12699 (check_window_subwindow_cache): new error checking function.
12700 (check_instance_cache_mapper): ditto.
12701 (check_image_instance_structure): ditto.
12702 (subwindow_decode_domain): new function. Encodes a window as a
12703 subwindow's cache domain.
12704 (image_instantiator_format_create): use it for text and
12707 2000-04-21 Andy Piper <andy@xemacs.org>
12709 * glyphs.c (image_instance_device): new function.
12710 (image_instance_frame): new function.
12711 (image_instance_window): new function.
12712 (image_instance_live_p): new function.
12714 * window.c (mark_window_as_deleted): reset the subwindow_instance_
12717 * glyphs.h (struct Lisp_Image_Instance): device->domain.
12718 (IMAGE_INSTANCE_DOMAIN): new accessor.
12719 (XIMAGE_INSTANCE_DOMAIN): ditto.
12721 * glyphs-x.c (x_finalize_image_instance): device->domain.
12723 * glyphs-msw.c (init_image_instance_geometry): device->domain.
12724 (mswindows_finalize_image_instance): ditto.
12726 * glyphs-eimage.c (jpeg_instantiate): device->domain.
12727 (gif_instantiate): ditto.
12728 (png_instantiate): ditto.
12729 (tiff_instantiate): ditto.
12731 * glyphs.c (instantiate_image_instantiator): use domain rather
12733 (mark_image_instance): device -> domain.
12734 (print_image_instance): ditto.
12735 (finalize_image_instance): ditto.
12736 (image_instance_equal): ditto.
12737 (allocate_image_instance): ditto.
12738 (Fcolorize_image_instance): ditto.
12739 (query_string_geometry): ditto.
12740 (image_instantiate): ditto
12741 (query_string_font): ditto.
12742 (image_instantiate): ditto.
12743 (update_subwindow): ditto.
12744 (unmap_subwindow): ditto.
12745 (map_subwindow): ditto.
12746 (subwindow_instantiate): ditto.
12748 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
12749 (DOMAIN_FRAME): ditto.
12750 (DOMAIN_WINDOW): ditto.
12751 (DOMAIN_LIVE_P): ditto.
12752 (XDOMAIN_DEVICE): ditto.
12753 (XDOMAIN_FRAME): ditto.
12754 (XDOMAIN_WINDOW): ditto.
12756 * specifier.c (Fvalid_specifier_domain_p): add image instances as
12757 a valid specifier domain.
12759 2000-04-19 Andy Piper <andy@xemacs.org>
12761 * glyphs-widget.c (syms_of_glyphs_widget): remove
12762 widget-callback-current-channel.
12763 (vars_of_glyphs_widget): ditto.
12766 * gui.c (get_gui_callback): revert to previous behaviour.
12768 2000-04-18 Andy Piper <andy@xemacs.org>
12770 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
12771 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
12772 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
12774 * glyphs.c (image_instance_equal): add margin_width.
12775 (image_instance_hash): ditto.
12777 * glyphs-widget.c (widget_instantiate): deal with margin-width.
12778 (layout_query_geometry): ditto.
12779 (layout_layout): ditto.
12780 (syms_of_glyphs_widget): add margin-width.
12781 (image_instantiator_layout): allow margin-width.
12783 * glyphs.c (update_widget_instances): make a normal function.
12784 (syms_of_glyphs): remove Qupdate_widget_instances.
12787 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
12788 so that we don't corrupt ideas about the last event or
12789 command. Remove widget-callback-current-channel fiddling.
12790 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
12792 2000-05-01 Martin Buchholz <martin@xemacs.org>
12794 * XEmacs 21.2.33 is released.
12796 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
12798 * make-src-depend: Allow dots in header file name.
12800 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
12802 * mule-charset.h (struct charset_lookup): Add
12803 next_allocated_1_byte_leading_byte and
12804 next_allocated_2_byte_leading_byte.
12805 * mule-charset.c: Move above two variables so that those values
12808 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
12810 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
12811 when string length is zero.
12812 (find_charsets_in_emchar_string): Ditto.
12814 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
12816 * lisp.h: extern Qdialog and Qmenubar.
12818 * gui-x.c: added events.h.
12819 also fixed typo which made the file uncompilable.
12821 * general.c: Added Qmenubar and Qdialog
12823 2000-04-28 Ben Wing <ben@xemacs.org>
12825 * frame-msw.c (mswindows_init_frame_1):
12826 * frame-msw.c (mswindows_mark_frame):
12827 * event-msw.c (mswindows_enqueue_dispatch_event):
12829 * console-msw.h (struct mswindows_frame):
12830 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
12831 there are now three hash tables for callbacks.
12832 mswindows_enqueue_dispatch_event is no longer static.
12834 * dialog-x.c (maybe_run_dbox_text_callback):
12835 * dialog-x.c (dbox_descriptor_to_widget_value):
12836 switch to new cons3 form for callbacks.
12838 * glyphs-msw.c (mswindows_register_gui_item):
12839 * glyphs-msw.c (mswindows_widget_instantiate):
12840 * glyphs-msw.c (add_tree_item):
12841 * glyphs-msw.c (add_tab_item):
12842 new image instance parameter, so it can be passed to callback-ex.
12843 respect :callback-ex as well as :callback.
12845 * glyphs-widget.c (VALID_GUI_KEYWORDS):
12848 * glyphs.c (print_image_instance):
12849 prettify, e.g. now prints widget type.
12852 certain funs have new image instance parameter.
12855 * gui.c (get_gui_callback):
12856 * gui.c (gui_item_add_keyval_pair):
12857 * gui.c (gui_item_init):
12858 * gui.c (gui_add_item_keywords_to_plist):
12859 * gui.c (mark_gui_item):
12860 * gui.c (gui_item_hash):
12861 * gui.c (gui_item_equal):
12862 * gui.c (copy_gui_item):
12863 * gui.c (syms_of_gui):
12864 recognize callback-ex in a number of places.
12865 also, fix the annoying "can't get out of yes-no dialog" bug.
12868 * gui.h (struct Lisp_Gui_Item):
12869 recognize callback-ex in a number of places.
12871 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12872 new parameter in button_item_to_widget_value.
12874 * glyphs-x.c (x_update_widget):
12875 * glyphs-x.c (x_button_instantiate):
12876 * glyphs-x.c (x_button_update):
12877 * glyphs-x.c (x_progress_gauge_instantiate):
12878 * glyphs-x.c (x_edit_field_instantiate):
12879 * glyphs-x.c (x_combo_box_instantiate):
12880 * glyphs-x.c (x_tab_control_instantiate):
12881 * glyphs-x.c (x_label_instantiate):
12882 new image instance parameter in various places.
12885 * event-Xt.c (enqueue_Xt_dispatch_event):
12886 this fun gets exported.
12889 * gui-msw.c (mswindows_handle_gui_wm_command):
12890 handle both :callback and :callback-ex, and generate our own
12891 event because it's one of the callback-ex arguments.
12894 * gui-x.c (popup_selection_callback):
12895 handle both :callback and :callback-ex, and generate our own
12896 event because it's one of the callback-ex arguments.
12897 * gui-x.c (button_item_to_widget_value):
12898 * gui-x.c (gui_items_to_widget_values_1):
12899 * gui-x.c (gui_item_children_to_widget_values):
12900 * gui-x.c (gui_items_to_widget_values):
12901 new image instance parameter in various places.
12903 * fns.c (Freplace_list):
12904 fix small typo in doc string.
12907 declare enqueue_Xt_dispatch_event.
12909 2000-04-28 Ben Wing <ben@xemacs.org>
12912 * buffer.c (Frecord_buffer):
12913 * buffer.c (syms_of_buffer):
12914 delete record-buffer-hook.
12917 * fns.c (Freplace_list):
12918 * fns.c (syms_of_fns):
12919 new primitive replace-list.
12922 slot for old buffer-alist.
12925 exfun replace-list.
12928 * redisplay.c (redisplay_frame):
12929 * redisplay.c (syms_of_redisplay):
12930 * redisplay.c (vars_of_redisplay):
12931 new hook buffer-list-changed-hook.
12934 2000-04-27 Ben Wing <ben@xemacs.org>
12936 * extents.h: extern in_modeline_generation.
12938 * redisplay.c (generate_formatted_string_db): set
12939 in_modeline_generation.
12941 * extents.c (extent_changed_for_redisplay): don't mark redisplay
12942 flags if in modeline generation. otherwise frame-modified-tick
12943 is ticked far too often.
12944 Declare in_modeline_generation.
12946 2000-04-26 Ben Wing <ben@xemacs.org>
12948 * emacs.c (vars_of_emacs): document quick-build "error-checking"
12950 (vars_of_emacs): add quick-build as an error-checking option.
12951 A bit kludgy, but there doesn't seem much point in creating
12952 a real var for this.
12954 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
12956 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
12958 * redisplay.h (struct display_line): Add a new variable,
12961 * redisplay.c (create_text_block): Set dl->line_continuation if
12962 the line continues.
12963 (create_string_text_block): Ditto.
12964 (regenerate_window_incrementally): Use line_continuation instead
12965 of searching continuation glyph.
12966 (add_margin_runes): Call add_glyph_rune.
12967 (add_glyph_rune): Handle margin glyph.
12969 2000-04-20 Martin Buchholz <martin@xemacs.org>
12971 * filelock.c (fill_in_lock_file_name):
12973 Check for IS_ANY_SEP instead of '/'.
12975 Avoid generating gratuitous garbage. Call user_login_name() directly.
12976 Never check errno without first seeing that system call failed.
12977 (unlock_file): Add GCPRO.
12978 (Flock_buffer): Fix docstring.
12979 (Ffile_locked_p): Fix docstring. Add GCPRO.
12981 2000-04-19 Martin Buchholz <martin@xemacs.org>
12983 * sysdep.c (get_pty_max_bytes):
12984 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
12985 strings longer than 252 bytes.
12987 * md5.c: Unconditionally include ANSI header <limits.h>
12989 * glyphs-x.c (convert_EImage_to_XImage):
12990 * lisp-union.h (union Lisp_Object):
12991 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
12993 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
12995 * filelock.c (current_lock_owner): Remove unused variable o, p.
12997 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
12999 * callint.c: Remove multiply defined symbol Qlet
13000 (syms_of_callint): ditto.
13002 2000-04-14 Andy Piper <andy@xemacs.org>
13004 * general.c (syms_of_general): add last-command, this-command, let
13007 * lisp.h: declare various symbols.
13009 * glyphs.h: declare Qwidget_callback_current_channel;
13011 * glyphs-widget.c (syms_of_glyphs_widget): add
13012 Qgui_callback_current_channel.
13013 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
13015 * gui-msw.c (mswindows_handle_gui_wm_command): bind
13016 widget-callback-current-channel when invoking the interactive
13017 arg. Also bind last-command and next-command when invoking the
13019 * gui-x.c (popup_selection_callback): ditto.
13021 * gui.c (get_gui_callback): massage args so that we are always
13022 calling eval. This allows us to add our own variable bindings
13025 * glyphs-x.c (x_button_instantiate): use
13026 gui_items_to_widget_values since this is GC safe.
13027 (x_progress_gauge_instantiate): ditto.
13028 (x_edit_field_instantiate): ditto.
13029 (x_label_instantiate): ditto.
13031 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
13032 (emacs_Xt_event_widget_focus_out): new function
13033 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
13035 (emacs_Xt_event_add_widget_actions): new function. add focus
13036 functions as actions.
13037 (init_event_Xt_late): use it.
13039 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
13041 * event-stream.c (Fdispatch_event): Doc fix.
13043 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
13045 * postgresql.c: Remove all references to PQsetenv*.
13047 * postgresql.h: Remove references to PGsetenvHandler object.
13048 * lrecord.h (lrecord_type): Ditto.
13050 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13052 * glyphs-msw.h (struct mswindows_image_instance_data): Added
13053 real_heigh and real_width members, and accessor macros for these.
13055 * glyphs-msw.c (init_image_instance_geometry): New function.
13056 (init_image_instance_from_dibitmap): Use it.
13057 (mswindows_resource_instantiate): Use it.
13058 (init_image_instance_from_xbm_inline): Use it.
13059 (mswindows_initialize_image_instance_mask): Use real bitmap
13061 (mswindows_create_resized_bitmap): Ditto.
13062 (mswindows_create_resized_mask): Ditto.
13064 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
13065 and bitmap to their surface size.
13067 2000-04-11 Jan Vroonhof <jan@xemacs.org>
13069 * process-unix.c (unix_send_process): Guard against process MIA
13070 after Faccept_process_output.
13072 2000-04-11 Ben Wing <ben@xemacs.org>
13074 * eval.c (unbind_to_hairy): fix brokenness introduced by
13075 nanosecond speed improvements.
13077 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
13079 * sunplay.c (init_device): To play sounds correctly, the device
13080 apparently needs to be initialized at least once by XEmacs. Make
13083 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
13085 * redisplay.c (add_margin_runes): Add text image glyph
13088 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
13090 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
13091 gcc is newer than 2.5.
13093 2000-04-06 Colin Rafferty <colin@xemacs.org>
13095 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
13097 * fns.c (size_bit_vector):
13098 * alloc.c (size_vector):
13099 (make_vector_internal):
13100 (make_bit_vector_internal):
13101 (sweep_bit_vectors_1):
13102 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
13104 2000-04-06 Andy Piper <andy@xemacs.org>
13106 * gmalloc.c (malloc): undo previous change.
13111 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
13113 * line-number.c (buffer_line_number): Revert to former version.
13115 2000-04-06 Andy Piper <andy@xemacs.org>
13117 * gmalloc.c (malloc): add error checking.
13122 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
13123 button_item_to_widget_value arg.
13125 * glyphs-x.c (x_button_instantiate): add extra
13126 button_item_to_widget_value arg.
13127 (x_progress_gauge_instantiate): ditto.
13128 (x_edit_field_instantiate): ditto.
13129 (x_label_instantiate): ditto.
13131 * gui-x.c (gui_items_to_widget_values_1): add extra
13132 button_item_to_widget_value arg.
13133 (button_item_to_widget_value): add extra menu_item_p arg.
13135 * gui-x.h: change signature of button_item_to_widget_value.
13137 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
13138 button_item_to_widget_value arg.
13140 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
13142 * buffer.h (struct buffer): auto_save_modified should be long.
13144 2000-04-05 Andy Piper <andy@xemacs.org>
13146 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
13148 (button_query_geometry): give a little more room so that athena
13151 2000-04-05 Andy Piper <andy@xemacs.org>
13153 * faces.c (complex_vars_of_faces): The widget face should inherit
13154 the font of the gui-element face.
13156 2000-04-04 Andy Piper <andy@xemacs.org>
13158 * glyphs-x.c (x_button_update): new function. unconditionally
13159 update a button's state when the instance is dirty.
13160 (image_instantiator_format_create_glyphs_x): add x_button_update.
13161 (x_widget_instantiate): remove old resize cruft.
13163 2000-04-02 Andy Piper <andy@xemacs.org>
13165 * frame.c (change_frame_size_1): The introduction of gutters means
13166 that we need to allow 0 as a potential frame dimension.
13168 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
13170 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
13171 image glyph if allow_cursor.
13172 (add_hscroll_rune): Don't allow cursor to border glyph.
13173 (create_text_block): Ditto.
13175 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
13176 text not in buffer.
13177 (redisplay_output_layout): Call ensure_face_cachel_complete for
13181 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
13183 * redisplay.c (add_glyph_rune): Adding text image as text runes.
13185 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
13188 * redisplay-tty.c (tty_output_display_block): Delete the routine
13189 for text image glyph
13190 * redisplay-x.c (x_output_display_block): ditto
13191 * redisplay-msw.c (mswindows_output_display_block): ditto
13193 2000-02-02 Mike Alexander <mta@arbortext.com>
13195 Note: Some of these were committed by accident as part of other
13198 * regex.c (regex_compile): Avoid compiler warnings.
13200 * ntproc.c (sys_spawnve): Avoid compiler warnings.
13202 * nt.h: Declare term_ntproc correctly.
13204 * nt.c: Remove incorrect declaration of get_home_directory which
13205 is declared correctly in lisp.h.
13207 * keymap.c (get_keyelt): Avoid compiler warnings.
13208 (raw_lookup_key_mapper): Avoid compiler warnings.
13210 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
13212 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
13214 * filemode.c (mode_string): Avoid compiler warnings.
13216 * file-coding.c (Fcoding_system_aliasee): Add return statement to
13219 * events-mod.h: Undef some things that winuser.h defines differently.
13221 * data.c (Faset): Avoid compiler warnings.
13223 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
13225 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13227 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
13228 Fall through to simple beep on error.
13229 Replace "extern" by real header file.
13231 * linuxplay.c: Use nativesound.h
13232 (play_sound_data): Return error code. Be less verbose on error.
13234 * sunplay.c: Use nativesound.h
13235 (play_sound_data): Return error code. Be less verbose on error.
13237 * ntplay.c: Use nativesound.h
13238 (play_sound_data): Return fake error code
13240 * sgiplay.c: Use nativesound.h
13241 (play_sound_data): Return error code
13243 * hpplay.c: Use nativesound.h, partially implement
13244 new error code. Break compilation until finished.
13245 (play_sound_data): error code.
13247 * nativesound.h (play_sound_file):
13248 (play_sound_data): Prototype in new header.
13250 2000-03-31 Andy Piper <andy@xemacs.org>
13252 * glyphs-widget.c: (button_query_geometry): new function. Adjust
13253 for toggle and radio buttons.
13254 (image_instantiator_buttons): use it.
13256 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
13258 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
13259 (x_update_horizontal_scrollbar_callback): Return if no mirror was
13260 found. Scrollbar event probably belonged to some old config.
13262 2000-03-31 Andy Piper <andy@xemacs.org>
13264 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
13266 (initialize_widget_image_instance): default layout to
13267 LAYOUT_HORIZONTAL rather than 0.
13268 (widget_instantiate): reverse the item list at the end rather than
13270 (layout_layout): re-code for the border text at the front of the
13271 item list rather than at the end.
13272 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
13273 provided by the user.
13274 (widget_query_geometry): comment.
13276 2000-03-30 Andy Piper <andy@xemacs.org>
13278 * glyphs-widget.c (image_instantiator_layout): allow standard
13279 widget keywords in layouts.
13281 * gutter.c (output_gutter): cope with nil gutter contents.
13283 * frame.c (Fset_frame_properties): add gutter docs.
13285 2000-03-29 Andy Piper <andy@xemacs.org>
13287 * toolbar-msw.c (TBSTYLE_FLAT): add.
13288 (mswindows_output_toolbar): minor fiddling.
13290 2000-03-29 Andy Piper <andy@xemacs.org>
13292 * gutter.c (output_gutter): force gutter size recalculation if
13293 what we are trying to display won't fit.
13294 (update_gutter_geometry): new function. A per-gutter version of
13295 update_frame_gutter_geometry.
13296 (update_frame_gutter_geometry): use it.
13297 (redraw_exposed_gutter): add extra debugging output.
13299 2000-03-28 Mike Alexander <mta@arbortext.com>
13301 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
13302 (pdump_file_unmap): Implement it on Windows
13303 (pdump_file_get): Save alocated handles for pdump_file_unmap
13305 2000-03-28 Andy Piper <andy@xemacs.org>
13307 * gui.c (get_gui_callback): treat Quit specially.
13309 2000-03-27 Andy Piper <andy@xemacs.org>
13311 * glyphs.c (image_instantiate): be careful to check in the same
13314 2000-03-27 Didier Verna <didier@xemacs.org>
13316 * config.h.in: define the proper SMART_INCLUDE macro.
13317 handle renaming of `foo_h_path' to `foo_h_file'.
13319 * database.c: ditto.
13323 * linuxplay.c: ditto.
13325 * terminfo.c: ditto.
13327 * tooltalk.h: ditto.
13329 2000-03-27 Andy Piper <andy@xemacs.org>
13331 * glyphs-msw.c (mswindows_update_widget): make sure the widget
13332 gets updated whenever the face might have changed.
13334 2000-03-26 Mike Alexander <mta@arbortext.com>
13336 * dumper.c (pdump_resource_free): Fix the comment.
13338 2000-03-21 Olivier Galibert <galibert@pobox.com>
13340 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
13342 2000-03-22 Mike Alexander <mta@arbortext.com>
13344 * dumper.c: Include Windows headers on Windows
13345 (pdump_resource_free): Add a body to the function
13346 (pdump_load): exe_name -> exe_path and add some comments.
13348 2000-03-25 Mike Alexander <mta@arbortext.com>
13350 * gui.c (copy_gui_item_tree): Return a value in all cases
13352 2000-03-21 Didier Verna <didier@xemacs.org>
13354 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
13356 (SMART_INCLUDE): new macro.
13357 (POSTGRES_INCLUDE): new macro to include postgresql headers from
13358 the proper location.
13360 * postgresql.c: use it.
13364 2000-03-24 Andy Piper <andy@xemacs.org>
13366 * gutter.c (redraw_exposed_gutters): must be "in display" when we
13369 2000-03-24 Andy Piper <andy@xemacs.org>
13371 * redisplay-output.c (compare_runes): use image_instance_changed
13372 to detect changes. Do not depend on glyphs_changed, only depend on
13374 (redisplay_output_layout): add debug messages.
13375 (compare_runes): ditto.
13377 * glyphs.h: declare new functions.
13378 (struct Lisp_Image_Instance): remove percent and associated
13381 * gui.h: declare new copying functions.
13383 * gui.c (copy_gui_item_tree): new function.
13384 (copy_gui_item): new function.
13385 (gui_item_id_hash): revert to standard hash.
13386 (gui_item_hash): ditto.
13387 (gui_item_hash_internal): deleted.
13388 (mark_gui_item): mark value.
13389 (gui_item_add_keyval_pair): add value.
13390 (gui_item_init): ditto.
13391 (gui_add_item_keywords_to_plist): ditto.
13392 (gui_item_equal): ditto.
13393 (syms_of_gui): add Q_value.
13395 * glyphs-x.c (x_progress_gauge_update): use pending items and
13396 value for setting the state.
13397 (x_update_widget): don't set items from pending here.
13399 * glyphs-widget.c (update_widget): update items here.
13400 (progress_gauge_set_property): use items for storing value. Put
13401 new value in pending items.
13403 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
13404 items for new value. Convert percent -> value.
13405 (mswindows_tab_control_update): don't update items here.
13407 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
13408 (update_subwindow): ditto.
13409 (image_instance_changed): new function. Compare hash values and
13410 past and present widget items.
13411 (image_instantiate): We more careful about where we instantiate
13413 (image_instantiate): add error checking.
13415 * gutter.c (syms_of_gutter): use -hook.
13417 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
13419 * console-tty.c (Fset_console_tty_input_coding_system): Use
13421 (Fset_console_tty_output_coding_system): Use Qterminal.
13422 (tty_init_console): Use Qkeyboard and Qterminal.
13424 2000-03-21 Ben Wing <ben@xemacs.org>
13426 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
13427 From Mike Alexander <mta@arbortext.com>.
13429 2000-03-21 Ben Wing <ben@xemacs.org>
13431 * event-msw.c (mswindows_need_event): Horrible kludge to fix
13432 process brokenness. Proper implementation to come.
13434 Rename call-process-internal to old-call-process-internal.
13435 New impl. in process.el.
13437 2000-03-21 Martin Buchholz <martin@xemacs.org>
13439 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
13441 2000-03-20 Andy Piper <andy@xemacs.org>
13443 * glyphs.c (full_list_hash): make hashes of the same elements in
13444 different orders return different values.
13446 2000-03-20 Martin Buchholz <martin@xemacs.org>
13448 * XEmacs 21.2.32 is released.
13450 2000-03-20 Martin Buchholz <martin@xemacs.org>
13452 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
13453 (DFC_MALLOC_USE_CONVERTED_DATA):
13454 Add aliasing-safe casts to allow use with char* or unsigned char*
13457 * eldap.c (Fldap_open):
13458 (Fldap_search_basic):
13461 Make C++-compilable.
13462 Make sure GCPRO'ed variables are initialized.
13463 Use temp variables to avoid repeated calls to Flength.
13465 2000-03-16 Martin Buchholz <martin@xemacs.org>
13468 Make sure PATH_MAX is always defined.
13469 Include limits.h for PATH_MAX.
13470 Deprecate use of MAXPATHLEN.
13472 2000-03-10 Martin Buchholz <martin@xemacs.org>
13474 * emacs.c: Add reinit_vars_of_fileio.
13475 * symsinit.h: Add reinit_vars_of_fileio.
13476 * fileio.c (reinit_vars_of_fileio): New.
13477 * fileio.c (Fmake_temp_name):
13478 Initialize temp_name random number from microseconds to make
13479 collisions even less likely. Initialize always at process startup
13480 time. (make-temp-name) used to return the same file name twice in
13482 Random stylistic fiddling.
13485 2000-03-20 Andy Piper <andy@xemacs.org>
13487 * glyphs.c (image_instantiate): allow text glyphs to be
13488 instantiated in the minibuffer window.
13490 2000-03-19 Andy Piper <andy@xemacs.org>
13492 * glyphs.c (image_instance_hash): be careful about which items we
13495 * glyphs-widget.c (tab_control_set_property): record into pending
13496 items rather than the actual items.
13498 * glyphs-x.c (x_update_widget): use pending items to update with.
13500 * glyphs-msw.c (mswindows_tab_control_update): use pending items
13503 * glyphs.c (mark_image_instance): mark pending items.
13505 * window.c (Fset_window_configuration): record the buffer.
13506 (Fselect_window): totally revert previous change which breaks many
13509 2000-03-18 Andy Piper <andy@xemacs.org>
13511 * glyphs-msw.c (mswindows_tab_control_update): force selected
13514 * glyphs.c (image_instantiate): don't allow the minibuffer as a
13515 window domain cache, otherwise we get inconsistencies at
13516 startup. There is something fishy at startup which can lead to the
13517 minibuffer being the selected window when the gutter content is
13520 * gui.c (parse_gui_item_tree_list): add probably unnecessary
13522 (parse_gui_item_tree_children): ditto.
13523 (parse_gui_item_tree_item): ditto.
13525 * glyphs.c (Fupdate_widget_instances): return something.
13527 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
13529 * window.c (Fselect_window): Undo 2000-03-17 change.
13531 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
13533 * postgresql.c (Fpq_setenv): Remove this turkey when linking
13534 against v7.0 libraries. Insta-coredump city until the postgres
13537 2000-03-17 Andy Piper <andy@xemacs.org>
13539 * faces.c (complex_vars_of_faces): don't give the widget face an
13540 inherited background pixmap.
13542 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
13545 * event-stream.c (Fdispatch_non_command_events): return something.
13547 * gutter.c (output_gutter): use widget face.
13548 (clear_gutter): ditto.
13550 * NEWS: adjust again.
13552 * window.c (Fselect_window): make sure this runs to completion to
13553 avoid oddities with Fset_window_configuration.
13554 (Fcurrent_window_configuration): in general do not save the
13555 minibuffer as the selected window.
13557 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
13559 2000-03-16 Olivier Galibert <galibert@pobox.com>
13561 * emacs.c (Frunning_temacs_p): Revert previous patch.
13562 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
13564 2000-03-16 Andy Piper <andy@xemacs.org>
13566 * glyphs-x.c (x_tab_control_update): if no widget values then
13569 * NEWS: update for new features.
13571 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
13572 synthetic event to the native system.
13573 (reinit_vars_of_event_Xt): set force_event_pending to
13574 emacs_Xt_force_event_pending.
13576 * events.h (struct event_stream): add force_event_pending.
13578 * specifier.c (recompute_one_cached_specifier_in_window): add
13581 * redisplay.c (redisplay_frame): don't call
13582 update_frame_subwindows. Reset subwindow cachels when
13583 subwindows_changed, removing this was an optimization too far.
13585 * redisplay-output.c (compare_runes): reorganize so that we catch
13586 glyph changes when we want them. Set optimize_output when this
13587 would help layouts.
13588 (redisplay_output_layout): remove frame_really_changed, use
13589 optimize_output instead.
13591 * redisplay-msw.c (mswindows_output_display_block): reset
13592 optimize_output after outputting a glyph.
13593 * redisplay-x.c (x_output_display_block): ditto.
13594 * redisplay-tty.c (tty_output_display_block): ditto.
13596 * gutter.c: (specifier_vars_of_gutter): use new spec changed
13598 (gutter_specs_changed): do specific gutter positions.
13599 (top_gutter_specs_changed): new function. Only update the
13600 specified gutter specs.
13601 (bottom_gutter_specs_changed): ditto.
13602 (left_gutter_specs_changed): ditto.
13603 (right_gutter_specs_changed): ditto.
13605 * gui.c (gui_item_hash_internal): new function, does a real hash.
13606 (gui_item_id_hash): use it.
13607 (gui_item_hash): hash the eval'ed gui_item.
13609 * gui-x.c (popup_selection_callback): send an eval event to call
13610 Fupdate_widget_instances.
13612 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
13613 to call Fupdate_widget_instances.
13615 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
13616 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
13618 * glyphs.c: (update_frame_subwindows): deleted.
13619 (Fupdate_widget_instances): new function for updating the dirty
13620 state of widgets that might have changed.
13621 (syms_of_glyphs): add Qupdate_widget_instances.
13622 (full_list_hash): hash a list completely.
13623 (image_instance_hash): use it for items and properties.
13625 * frame-msw.c (mswindows_size_frame_internal): remove unused
13628 * faces.h (struct face_cachel): fix comment.
13630 * event-stream.c (Fdispatch_non_command_events): new
13631 function. Process non-command events, forcing an event cycle
13633 (syms_of_event_stream): declare.
13634 (event_stream_force_event_pending): new function. Force an event
13635 on the native event queue so that an event cycle will occur next
13639 (struct ntpipe_shove_stream):
13640 (mswindows_enqueue_dispatch_event):
13641 (mswindows_dequeue_dispatch_event):
13642 (mswindows_cancel_dispatch_event):
13643 (mswindows_pump_outstanding_events):
13644 (mswindows_drain_windows_queue):
13645 (mswindows_handle_paint):
13646 (mswindows_wnd_proc):
13647 (mswindows_key_to_emacs_keysym):
13648 (get_process_input_waitable):
13649 (emacs_mswindows_delete_stream_pair): re-indent file.
13650 (mswindows_need_event): do not process further fds if the windows
13651 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
13652 fixes the 100% cpu problem.
13653 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
13655 2000-03-15 Olivier Galibert <galibert@pobox.com>
13661 * emacs.c: Moved dump file searching to dumper.c.
13662 (Frunning_temacs_p): Fixed.
13664 * alloc.c: Moved everything pdump-related to dumper.c. Removed
13665 last_lrecord_type_index_assigned.
13667 2000-02-20 Olivier Galibert <galibert@pobox.com>
13669 * symsinit.h: Added reinit parameter to init_console_stream
13672 * lisp.h: Added file parameter to pdump_load declaration.
13674 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
13675 support. Added dump file searching.
13677 * config.h.in: Added EMACS_PROGNAME.
13679 * console-stream.c (init_console_stream): Fix reinitialisation
13680 when running from temacs.
13682 * alloc.c (pdump): Add id support.
13683 (pdump_load): Add file parameter and signature/id support.
13685 * Makefile.in.in: Add full pdump support.
13687 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
13689 * postgresql.c: Update documentation to reflect latest code
13691 (print_result): Show tuple counts in printed representation when
13693 (Fpq_put_nbytes): MULE-ize.
13694 (Fpq_get_line_async): Ditto.
13696 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13698 * postgresql.c (Fpq_lo_import): Fix return value.
13699 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
13701 2000-03-13 Ben Wing <ben@xemacs.org>
13703 * alloc.c (pdump_load):
13704 Fix compile warning under mswin.
13706 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
13708 * postgresql.c: Mule-ization, bug fixes.
13709 Use PG_CODING to encapsulate coding system name changes.
13710 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
13711 (pg-coding-system): Create.
13713 (Fpq_conn_defaults): Mule-ize.
13714 (Fpq_connectdb): Mule-ize & bug fix.
13715 (Fpq_connect_start): Mule-ize.
13716 (Fpq_set_client_encoding): Mule-ize.
13717 (Fpq_finish): Document `DEAD' connection status.
13718 (Fpq_clear): Ditto.
13719 (Fpq_pgconn): Mule-ize.
13720 (Fpq_exec): Mule-ize & bug fix.
13721 (Fpq_send_query): Ditto.
13722 (Fpq_get_result): Ditto.
13723 (Fpq_res_status): Mule-ize.
13724 (Fpq_result_error_message): Mule-ize.
13725 (Fpq_ntuples): fix comments.
13726 (Fpq_fname): Mule-ize.
13727 (Fpq_fnumber): Mule-ize.
13728 (Fpq_ftype): fix comments.
13729 (Fpq_get_value): Mule-ize.
13730 (Fpq_cmd_status): Ditto.
13731 (Fpq_cmd_tuples): Ditto.
13732 (Fpq_oid_value): Ditto.
13733 (Fpq_notifies): Ditto.
13734 (Fpq_lo_import): Ditto.
13735 (Fpq_lo_export): Ditto.
13736 (Fpq_get_line): Ditto.
13737 (Fpq_put_line): Mule-ize and bug fix.
13738 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
13740 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
13742 * postgresql.c (vars_of_postgresql): Mule-ize.
13743 (Fpq_conn_defaults): Ditto.
13745 2000-03-12 Ben Wing <ben@xemacs.org>
13747 * alloc.c (Fmake_byte_code):
13748 * alloc.c (debug_string_purity_print):
13749 * alloc.c (pdump_backtrace):
13750 * alloc.c (pdump_get_indirect_count):
13751 * alloc.c (pdump_register_sub):
13752 * alloc.c (pdump_register_object):
13753 * alloc.c (pdump_register_struct):
13754 * alloc.c (pdump_dump_data):
13755 * alloc.c (pdump_reloc_one):
13759 * console-msw.c (GetConsoleHwnd):
13760 * console-msw.c (msw_hide_console):
13761 * console-msw.c (msw_show_console):
13762 * console-msw.c (msw_ensure_console_buffered):
13763 * console-msw.c (msw_output_console_string):
13764 * console-msw.c (console_type_create_mswindows):
13766 a) Added functions to manipulate the console window for use with
13769 b) Added support for writing text to the console, which is now
13770 used under Windows when xemacs is not being run non-interactively,
13771 to write text that would otherwise be destined for stdout because
13772 under these circumstances, text written to stdout tends to
13773 disappear and not be seen.
13777 * event-Xt.c (x_event_to_emacs_event):
13778 * event-Xt.c (describe_event_window):
13779 * events-mod.h (XEMACS_MOD_CONTROL):
13781 * events.c (Fmake_event):
13782 * events.c (character_to_event):
13783 * events.c (event_to_character):
13784 * events.c (format_event_object):
13785 * events.c (Fevent_modifiers):
13787 * events.h (struct key_data):
13788 * events.h (struct button_data):
13789 * events.h (struct misc_user_data):
13790 * frame-x.c (Fcde_start_drag_internal):
13791 * frame-x.c (Foffix_start_drag_internal):
13792 * gpmevent.c (Freceive_gpm_event):
13794 * keymap.c (bucky_sym_to_bucky_bit):
13795 * keymap.c (control_meta_superify):
13796 * keymap.c (make_key_description):
13797 * keymap.c (keymap_lookup_directly):
13798 * keymap.c (create_bucky_submap):
13799 * keymap.c (keymap_store):
13800 * keymap.c (define_key_check_and_coerce_keysym):
13801 * keymap.c (define_key_parser):
13802 * keymap.c (define_key_alternate_name):
13803 * keymap.c (Fdefine_key):
13804 * keymap.c (raw_lookup_key_mapper):
13805 * keymap.c (struct map_keymap_unsorted_closure):
13806 * keymap.c (map_keymap_unsorted_mapper):
13807 * keymap.c (map_keymap_sort_predicate):
13808 * keymap.c (map_keymap_sorted):
13809 * keymap.c (accessible_keymaps_mapper_1):
13810 * keymap.c (where_is_recursive_mapper):
13811 * keymap.c (describe_map_mapper):
13812 * keymap.c (describe_map_sort_predicate):
13813 * keymap.c (describe_map):
13814 * keymap.c (complex_vars_of_keymap):
13815 And a number of other files, the key modifier preprocessor
13816 constants that xemacs uses have names that conflict with constants
13817 defined under MS Windows for other purposes, so they were renamed
13818 to begin with the prefix XEMACS_. The variables that hold such
13819 modifiers were changed to consistently be of type int to fix
13820 various compile warnings.
13822 * console.c (complex_vars_of_console):
13825 * device-msw.c (mswindows_finish_init_device):
13826 * device-msw.c (msw_get_workspace_coords):
13827 * device-msw.c (mswindows_device_system_metrics):
13828 and various other files, added support for a new
13829 device property called offset-workspace which returns the position
13830 of the upper left corner of the workspace area and goes along with
13831 the existing size-workspace property.
13834 * dialog-msw.c (push_bufbyte_string_as_unicode):
13835 * dialog-msw.c (mswindows_popup_dialog_box):
13836 Added support for XEmacs-style accelerator specifications in
13837 button text. Note: I didn't add support for this under X Windows,
13838 and somebody needs to do this.
13841 * dialog.c (Fpopup_dialog_box):
13842 Documented the support for accelerators that was just mentioned.
13844 editfns.c (get_home_directory): Changed behavior under Windows
13845 when HOME not defined; former behavior was irretrievably broken.
13848 * emacs.c (main_1):
13850 * minibuf.c (clear_echo_area_internal):
13851 * minibuf.c (echo_area_append):
13853 * print.c (std_handle_out_external):
13854 * print.c (std_handle_out_va):
13856 * print.c (write_string_to_stdio_stream):
13857 * print.c (output_string):
13858 * print.c (debug_print):
13859 * print.c (debug_backtrace):
13860 * print.c (debug_short_backtrace):
13861 Cleaned up the code that prints text to stdout so that this can be
13862 changed to output into a console window instead under MS Windows,
13863 as described above.
13866 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
13867 * eval.c (internal_catch):
13868 * eval.c (unwind_to_catch):
13869 * eval.c (throw_or_bomb_out):
13870 * eval.c (condition_case_1):
13871 * eval.c (signal_1):
13872 * eval.c (check_error_state_sanity):
13873 * eval.c (call_with_suspended_errors_1):
13874 * eval.c (call_with_suspended_errors):
13875 * eval.c (reinit_vars_of_eval):
13876 Added code to catch throw loops and check for a pesky bug that may
13880 * event-msw.c (key_needs_default_processing_p):
13881 * event-msw.c (mswindows_wnd_proc):
13882 * event-msw.c (mswindows_modifier_state):
13883 * event-msw.c (emacs_mswindows_quit_p):
13884 * event-msw.c (vars_of_event_mswindows):
13885 a) Added support for using the alt key to select menu items as is
13886 standard under MS Windows. This is controlled using the variable
13887 menu-accelerator-enabled, just like under X Windows. There is an
13888 option on the options menu to turn this support on. I really
13889 think that it should be on by default under Windows, but I'm not
13890 going to make this change yet.
13892 b) Added support for dynamic display size changes under Windows.
13895 * event-stream.c (maybe_echo_keys):
13896 * event-stream.c (Fnext_event):
13897 * event-stream.c (command_builder_find_leaf):
13898 * event-stream.c (lookup_command_event):
13899 * event-stream.c (execute_command_event):
13900 * event-stream.c (pre_command_hook):
13901 * event-stream.c (post_command_hook):
13902 * event-stream.c (syms_of_event_stream):
13903 * event-stream.c (vars_of_event_stream):
13904 * event-stream.c (complex_vars_of_event_stream):
13905 * events.h (struct command_builder):
13907 a) Tried to clean up a little bit the horribly written x-specific
13908 accelerator code that crept into this file. I moved this code
13909 into menubar-x.c where it belongs. I also needed to move the
13910 command builder structure into the file events.h because it is
13911 accessed directly by this accelerator code. What I didn't do, but
13912 which should be done at some point, is to properly abstract this
13913 code using device methods instead of the kludgy way that it
13914 currently hooks into the event code.
13916 b) Added the lisp variables this-command-properties and
13917 last-command- properties, which should be used to synchronize two
13918 adjacent commands in preference to playing games with the variable
13919 this-command, which is typically what happens.
13921 c) Added some slightly nasty code to hook into the lisp support
13922 for shifted- motion-key selection. This is actually necessary for
13923 somewhat complicated reasons, which are described in
13924 simple.el. (NB: I think the proper thing would be to have the code
13925 that calls the pre and post command hooks also call out to generic
13926 lisp functions in simple.el, where all built-in stuff could be
13927 added. I will think about this more.)
13929 * event-unixoid.c (poll_fds_for_input):
13930 * lread.c (readchar):
13931 * redisplay-tty.c (tty_clear_frame):
13932 * redisplay-x.c (x_get_gc):
13933 * signal.c (interrupt_signal):
13934 And a whole bunch of other files: fixed up places that printed
13935 directly to stderr to instead call the function stderr_out so that
13936 the changes I made under Windows work correctly.
13938 * filemode.c (mode_string):
13942 * frame-msw.c (mswindows_size_frame_internal):
13943 Fixed the computation of frame size and position to keep the frame
13944 within the workspace area, rather than within the physical
13945 dimensions of the screen, so that the frame doesn't overlap window
13946 manager decorations, such as the start menu and toolbar, typically
13947 at the bottom of the screen.
13949 * frame.c (vars_of_frame):
13950 Changed the default frame title format under MS Windows to consist
13951 of buffername-XEmacs, which is standard under MS Windows. I think
13952 it might be a good idea to change this everywhere because I think
13953 it is superior to the current frame title format, but this is the
13954 kind of change that is likely to cause some people to get annoyed,
13955 so I'm not making it.
13957 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
13959 * gui-msw.c (mswindows_handle_gui_wm_command):
13960 Fixed compile warnings.
13963 * gui-x.c (strdup_and_add_accel):
13964 * gui-x.c (button_item_to_widget_value):
13966 Added code to automatically put an accelerator onto the beginning
13967 of menu items that don't have one as is now the standard, and is
13968 described more later. Also fixed things so that the menu item
13969 name can be an evaluated expression, again a new standard.
13972 * gui.c (gui_item_add_keyval_pair):
13973 * gui.c (make_gui_item_from_keywords_internal):
13974 * gui.c (gui_add_item_keywords_to_plist):
13975 * gui.c (gui_item_accelerator):
13976 * gui.c (gui_name_accelerator):
13977 * gui.c (gui_item_included_p):
13978 * gui.c (gui_item_display_flush_left):
13979 * gui.c (gui_item_display_flush_right):
13980 * gui.c (parse_gui_item_tree_item):
13981 * gui.c (parse_gui_item_tree_children):
13982 * gui.c (parse_gui_item_tree_list):
13983 Mule-ized. Cleanup. GCPRO addition.
13985 * line-number.c (buffer_line_number):
13987 * lisp.h (EMACS_INT_MAX):
13988 Added the manifest constant EMACS_INT_MIN corresponding to the
13989 existing constant EMACS_INT_MAX. This is partially to fix compile
13990 warnings under Windows, and partly for cleanliness.
13993 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
13994 * menubar-msw.c (msw_translate_menu_or_dialog_item):
13995 * menubar-msw.c (displayable_menu_item):
13996 * menubar-msw.c (populate_menu_add_item):
13997 * menubar-msw.c (populate_or_checksum_helper):
13998 * menubar-msw.c (populate_menu):
13999 * menubar-msw.c (update_frame_menubar_maybe):
14000 * menubar-msw.c (prune_menubar):
14001 * menubar-msw.c (msw_char_is_accelerator):
14002 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
14003 * menubar-msw.c (mswindows_handle_wm_command):
14004 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
14005 * menubar-msw.c (mswindows_handle_wm_initmenu):
14006 * menubar-msw.c (mswindows_update_frame_menubars):
14007 * menubar-msw.c (mswindows_free_frame_menubars):
14008 * menubar-msw.c (mswindows_popup_menu):
14009 Fixed a bug in handling accelerators where an extra character
14010 would be displayed in the menu item. Also generalized the
14011 function displayable_menu_item because it is now used by the
14012 dialog box code as well. And finally, added code in the functions
14013 that create the menubar to extract a list of accelerators for the
14014 top level menubar, which is used in the event code to determine
14015 whether a particular alt-key combination should be used to invoke
14016 a menu item, or should be passed through to access the standard
14017 XEmacs keymap binding for this key combination.
14019 Much needed GCPROing.
14022 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14023 * menubar-x.c (menu_item_descriptor_to_widget_value):
14024 * menubar-x.c (restore_in_menu_callback):
14025 * menubar-x.c (x_popup_menu):
14026 * menubar-x.c (menu_move_up):
14027 * menubar-x.c (menu_move_down):
14028 * menubar-x.c (menu_move_left):
14029 * menubar-x.c (menu_move_right):
14030 * menubar-x.c (menu_select_item):
14031 * menubar-x.c (command_builder_operate_menu_accelerator):
14032 * menubar-x.c (menu_accelerator_junk_on_error):
14033 * menubar-x.c (command_builder_find_menu_accelerator):
14034 * menubar-x.c (Faccelerate_menu):
14036 Moved a whole bunch of code here that was previously in
14037 event-stream.c as described above. There is also code connected
14038 to the new standard of adding an accelerator to the beginning of
14039 menu items that don't have one as described above and below.
14042 * menubar.c (menu_parse_submenu_keywords):
14043 * menubar.c (Fmenu_find_real_submenu):
14044 * menubar.c (Fnormalize_menu_item_name):
14045 * menubar.c (syms_of_menubar):
14046 * menubar.c (vars_of_menubar):
14047 * menubar.c (complex_vars_of_menubar):
14049 a) Cleaned up a bunch of documentation and improved it.
14051 b) XEmacs now automatically adds an accelerator onto the beginning
14052 of any menu items that don't have one. I did this because there
14053 will inevitably be some menu items on the main menubar that don't
14054 have accelerators on them because the package that adds that
14055 particular menu item hasn't yet been fixed up to have accelerators
14056 in them and it looked rather strange to have some items with and
14057 some items without accelerators, especially since even in items
14058 without accelerators, you can, at least under windows, still
14059 access the item through an accelerator corresponding to the first
14060 character in the item's name. If people don't like this behavior,
14061 I can add a variable to turn it off optionally, but I'm not sure
14062 this is a good idea because we really do need to have accelerators
14063 on all of the menu items, and if a package doesn't like the
14064 accelerators being put on the first character, then it should put
14065 the accelerators where they belong.
14067 c) I made a behavior change, which is that the descriptor that
14068 specifies the text of the menu item, which formerly was just a
14069 string, can now also be an evaluated expression. This makes this
14070 descriptor parallel with all of the others, which could also be
14071 evaluated expressions. This also obviates the need for the
14072 keyword :label, which was previously listed in the documentation
14073 as unimplemented, and which was for the same purpose.
14078 * ntproc.c (new_child):
14079 * ntproc.c (sys_spawnve):
14080 * ntproc.c (find_child_console):
14081 * ntproc.c (sys_kill):
14082 Fixed compile warnings. By the way, this file should really go
14083 away entirely, and this will happen as soon as Kirill makes his
14084 final round of process cleanups, which affect the function
14088 * process-nt.c (struct nt_process_data):
14089 * process-nt.c (find_process_from_pid):
14090 * process-nt.c (send_signal_the_nt_way):
14091 * process-nt.c (enable_child_signals):
14092 * process-nt.c (find_child_console):
14093 * process-nt.c (send_signal_the_95_way):
14094 * process-nt.c (nt_finalize_process_data):
14095 * process-nt.c (ensure_console_window_exists):
14096 * process-nt.c (nt_create_process):
14097 * process-nt.c (nt_kill_child_process):
14098 * process-nt.c (nt_kill_process_by_pid):
14099 * process-nt.c (nt_open_network_stream):
14100 * process-nt.c (vars_of_process_nt):
14101 Copied over code from Emacs 20.5 to correctly send signals to sub-
14102 processes under Windows 95. Also added code to automatically
14103 create and hide console window when a sub-process is created under
14104 Windows 95, which obviates the need for the separate runemacs.exe
14105 executable, and finally implemented some variables that were
14106 implemented in Emacs 20.5, but previously not in XEmacs. These
14107 include mswindows- start-process-share-console and
14108 mswindows-start-process-inherit-error-mode. (Both of these only
14109 apply to Windows 95.)
14111 * regex.c (regex_compile): Fixed a compile warning.
14114 * select-msw.c (mswindows_own_selection):
14115 * select-msw.c (mswindows_get_foreign_selection):
14116 * select-msw.c (mswindows_disown_selection):
14117 * select-msw.c (console_type_create_select_mswindows):
14118 * select-msw.c (syms_of_select_mswindows):
14119 Cleaned up the file and implemented the device method
14120 selection_exists_p, which had accidentally been left out. Also
14121 removed four lisp functions that were remnants from before the
14122 time when the selection code was properly device abstracted.
14123 These functions are no longer needed because there are generic
14124 equivalents, and because they were added recently and don't exist
14125 in FSF Emacs, I don't think there's any problem with just deleting
14129 * sysdep.c (sys_subshell):
14130 Fixed a compile warning, although in this case there's probably
14131 something wrong with this code, and it ought to be looked into
14132 more thoroughly by somebody who understands it.
14135 * window.c (Fwindow_text_area_height):
14136 * window.c (Fwindow_width):
14137 * window.c (Fwindow_full_width):
14138 * window.c (Fwindow_pixel_width):
14139 * window.c (debug_print_window):
14140 * window.c (syms_of_window):
14141 Added functions window-text-area-height and window-full-width,
14142 which are functions for returning various width and height
14143 characteristics of a window. (One of these functions is necessary
14144 for making the file dialog box work correctly, and the other one
14145 was added for completeness.) Also added a table to the
14146 documentation for window-height which describes the entire scheme
14147 for accessing width and height characteristics of a window.
14149 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14151 * nt.c (fstat): Added a comment for another problem with
14152 non-encapsulated [f]stat(), reported by Adrian Aichner
14153 <aichner@ecf.teradyne.com>.
14155 2000-03-11 Andy Piper <andy@xemacs.org>
14157 * window.c (make_dummy_parent): initialize subwindow instance
14159 (Fset_window_configuration): zero extent_modiff.
14161 2000-03-10 Andy Piper <andy@xemacs.org>
14163 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
14164 more changes can be triggered.
14165 (Fredisplay_frame): ditto.
14166 (Fredraw_device): ditto.
14167 (Fredisplay_device): ditto.
14168 (redisplay_frame): make non-static.
14169 (redisplay_frame): call update_frame_gutter_geometry outside of
14172 * gutter.h: declare update_frame_gutter_geometry.
14174 * redisplay.h: declare redisplay_frame.
14176 * gutter.c (update_frame_gutter_geometry): move geometry changes
14177 in update_frame_gutters here. Geometry changes can only occur
14178 outside of redisplay.
14179 (update_frame_gutters): remove geometry change code.
14180 (Fredisplay_gutter_area): make sure that we are in display when we
14181 update and that we have flushed any size changes.
14183 2000-03-11 Andy Piper <andy@xemacs.org>
14185 * alloc.c (pdump_dump_data): remove i & count shadows.
14187 2000-02-27 Mike Alexander <mta@arbortext.com>
14189 * sysdep.h: Declare pdump_read_file
14191 * sysdep.c (pdump_read_file): New function
14193 * alloc.c (pdump_load): Call pdump_read_file to get the portable
14196 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
14198 * lrecord.h: add `lrecord_type_pgsetenv'.
14200 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
14202 * symsinit.h: declare (vars|syms)_of* functions.
14203 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
14205 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
14207 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
14209 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
14212 * emacs.c (main_1): Call postgres initialization code.
14214 * postgresql.h: New file. PostgreSQL RDBMS support.
14215 * postgresql.c: New file.
14217 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14219 * redisplay-output.c (redisplay_output_display_block): Disable
14222 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14224 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
14225 (Fcanna_henkan_next): Ditto.
14226 (Fcanna_bunsetu_henkou): Ditto.
14227 (Fcanna_henkan_kakutei): Ditto.
14228 (Fcanna_henkan_end): Ditto.
14229 (Fcanna_henkan_quit): Ditto.
14230 (Fcanna_henkan_next): Set retun value correctly.
14231 (c2mu): Use unsigned char instead of signed char.
14233 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14235 * emacs.c (main_1): Always call syms_of_gui.
14236 * inline.c: include gui.h
14238 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
14240 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
14241 converted to Lisp_Object.
14242 (Qtop_bottom): New variable.
14243 (syms_of_redisplay): Initialize it.
14244 * redisplay.h (Vvisible_bell): Ditto.
14245 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
14246 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
14247 only flash top and bottom.
14249 2000-03-08 Andy Piper <andy@xemacs.org>
14251 * buffer.c (Frename_buffer): record new buffer name the right way.
14253 2000-03-08 Andy Piper <andy@xemacs.org>
14255 * glyphs.c (update_subwindow): increase hash depth so that widget
14256 items get picked up properly.
14258 * redisplay-output.c (compare_runes): increase hash depth so that
14259 widget items get picked up properly.
14261 2000-03-08 Andy Piper <andy@xemacs.org>
14263 * gutter.c (output_gutter): add some debug.
14265 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
14266 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
14267 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
14269 * redisplay-output.c (compare_runes): use display_hash to
14270 determine if glyphs really are not the same.
14272 * glyphs.c (update_subwindow): check display_hash to see if
14273 anything really needs to be updated. If not then do
14274 nothing. Record the display_hash after updating.
14275 (image_instance_equal): compare the image_instance face also.
14277 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
14279 * redisplay.h: Fix comment style.
14281 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
14283 * consle-msw.h (struct mswindows_frame):
14284 Added new member paint_pending to indicate whether a WM_PAINT
14285 magic event has been queued for this frame.
14287 * event-msw.c (mswindows_drain_windows_queue):
14288 Don't queue a WM_PAINT magic event if one is already queued.
14289 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
14291 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
14293 2000-03-07 Didier Verna <didier@xemacs.org>
14295 * dired.c: #include `regex.h' after `sysfile.h'.
14297 2000-03-06 Martin Buchholz <martin@xemacs.org>
14299 * sound.c (init_nas_sound): Fix compiler warning.
14301 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
14303 (MARK_STRUCT_AS_FREE):
14304 (MARK_STRUCT_AS_NOT_FREE):
14305 Make `gcc -fstrict-aliasing' work properly.
14307 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
14309 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
14310 (mswindows_delete_device): Call CoUnnitialize().
14312 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
14314 2000-02-25 <CraigL@DyCon.com>
14316 * process-nt.c: MinGW now has <shellapi.h>, but still needs
14319 * sysdep.c: This extern declaration for environ prevents MinGW
14320 from finding the variable in CRTDLL.DLL.
14322 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
14324 (SHGFI_EXETYPE): ..
14325 (WM_MOUSEWHEEL): ..
14326 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
14328 (MMRESULT): Removed, now defined in cygwin's windows headers.
14330 (uid_t,gid_t,pid_t,ssize_t): ..
14331 (_timeb): Removed, MinGW defines both _timeb and timeb.
14332 (HAVE_H_ERRNO): Added.
14333 (HAVE_TZNAME): Added, configure is not detecting this.
14335 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
14337 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
14338 * syntax.c (syntax_match): Use it.
14340 * cmds.c: Import auto-fill-chars from FSF Emacs.
14341 (Vauto_fill_chars): New variables.
14342 (internal_self_insert): Check Vauto_fill_chars.
14344 Declare auto-fill-chars as a Lisp variable and initialize it.
14346 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14348 * fileio.c (Fmake_symbolic_link):
14350 Run handlers even if local machine doesn't have symlinks.
14352 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
14354 * event-msw.c (mswindows_drain_windows_queue):
14355 Don't generate paint magic events for non-XEmacs frames.
14357 2000-03-05 Andy Piper <andy@xemacs.org>
14359 * redisplay.c (redisplay_frame): generate_displayable_area and
14360 friends assumes that we are not in GC, we therefore have to make
14361 sure that this doesn't happen.
14363 * gutter.c (calculate_gutter_size): generate_displayable_area
14364 assumes that we are not in GC, we therefore have to make sure that
14365 this doesn't happen.
14367 2000-03-05 Martin Buchholz <martin@xemacs.org>
14369 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
14371 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14373 * redisplay.c (regenerate_window): Make sure we set a sane value
14374 for end_pos even if we jump out of the loop.
14375 (regenerate_window): Answer Ben's question :-).
14376 (start_end_of_last_line): Add may_error argument.
14377 (start_of_last_line):
14378 (end_of_last_line): Pass may_error = 0.
14379 (end_of_last_line_may_error): New function.
14380 (pixel_to_glyph_translation): Use it, so we don't crash in
14383 2000-03-04 Andy Piper <andy@xemacs.org>
14385 * window.h (struct window): add gutter_extent_modiff.
14387 * window.c (allocate_window): zero out gutter_extent_modiff.
14389 * redisplay.h: declare sync_display_line_structs.
14391 * redisplay.c (add_glyph_rune): add a better comment.
14393 * redisplay-output.c (sync_display_line_structs): made non-static.
14394 (compare_runes): remove unneccesary glyph cachel access.
14396 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
14398 * gutter.c (output_gutter): don't output the gutter if extent
14399 changes only involve extents in buffers. use 4 sets of display
14401 (gutter_extent_signal_changed_region_maybe): new function. Mark
14402 extents in gutters as changed.
14403 (update_frame_gutters): use 4 sets of display lines.
14404 (reset_gutter_display_lines): ditto.
14405 (free_frame_gutters): ditto.
14406 (redraw_exposed_gutter): force output of gutters.
14408 * frame.h (struct frame): add 4 sets of gutter display lines.
14410 * extents.c: (extent_changed_for_redisplay): signal changes to
14411 extents in strings in the gutter as well as extents in buffers.
14413 2000-03-02 Andy Piper <andy@xemacs.org>
14415 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
14417 * frame.c (Fmake_frame): make sure the gutters get initialized
14418 after the frame is visible.
14419 (set_frame_selected_window): re-arrange compilation macros a
14421 (change_frame_size_1): mark gutters changed.
14423 * device.c (Fset_device_class): mark gutters changed.
14425 2000-03-01 Andy Piper <andy@xemacs.org>
14427 * window.c (window_top_frame_gutter_height): deleted.
14428 (window_bottom_frame_gutter_height): ditto.
14429 (window_left_frame_gutter_height): ditto.
14430 (window_right_frame_gutter_height): ditto.
14431 (window_top_gutter_height): don't use them.
14432 (window_bottom_gutter_height): ditto.
14433 (window_left_gutter_width): ditto.
14434 (window_right_gutter_width): ditto.
14435 (Fsplit_window): ditto.
14436 (Fwindow_pixel_edges): don't use border dimensions here.
14438 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
14439 (update_scrollbar_instance): ditto.
14441 * redisplay.c (generate_modeline): don't take gutters into account.
14442 (generate_modeline): ditto.
14443 (redisplay_frame): small gutter display optimization.
14445 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
14447 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
14448 gutters into account.
14450 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
14451 for window position and type.
14453 * gutter.c (get_gutter_coords): fix for frame gutters.
14454 (update_frame_gutters): update frame geometry if the gutters have
14456 (init_frame_gutters): record current gutter geometries.
14458 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
14460 (mswindows_widget_instantiate): ditto.
14462 * frame.h (struct frame): add current_gutter_bounds.
14464 * frame.c (change_frame_size_1): position window and minibuffer
14465 appropriately taking into account the frame gutters.
14467 * frame-x.c: (x_initialize_frame_size): take into account the
14470 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14472 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
14474 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
14476 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
14478 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14480 * file-coding.c (reset_decoding_stream): Clear previous
14481 detection state when autodetect.
14483 2000-02-29 Didier Verna <didier@xemacs.org>
14485 * extents.c (set_extent_glyph_1): don't require extents to be
14488 2000-02-27 Andy Piper <andy@xemacs.org>
14490 * gutter.c (Fset_default_gutter_position): don't default left and
14491 right gutter visibility to t.
14492 (Fset_default_gutter_position): run
14493 default-gutter-position-changed-hook.
14494 (syms_of_gutter): add default-gutter-position-changed-hook.
14496 2000-02-26 Andy Piper <andy@xemacs.org>
14498 * specifier.c (Fmake_specifier): add gutter references.
14500 * gutter.h (RAW_WINDOW_GUTTER): new macro.
14502 * lisp.h: declare Fvalid_plist_p.
14504 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
14506 (default_gutter_visible_p_changed_in_window): invalidate gutter as
14507 well as its visibility so that it gets reconstructed.
14508 (construct_window_gutter_spec): new function. Construct a string
14509 to be displayed in the gutter from a plist of strings. Take care
14510 to only use elements that are declared as visible.
14511 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
14513 (gutter_validate): allow plists of strings in the specifier.
14514 (gutter_specs_changed): construct the real_gutter from the gutter
14515 specs using construct_window_gutter_spec.
14516 (gutter_visible_validate): gutter-visible is a new specifier type.
14517 (Fgutter_visible_specifier_p): new function for the new specifier.
14518 (syms_of_gutter): declare gutter-visible and
14519 Fgutter_visible_specifier_p.
14520 (specifier_type_create_gutter): intitalize new gutter-visible
14522 (reinit_specifier_type_create_gutter): ditto.
14523 (specifier_vars_of_gutter): use new specifier type for gutter
14525 (init_frame_gutters): construct real_gutter correctly.
14526 (Fgutter_specifier_p): beef up documentation.
14527 (Fgutter_size_specifier_p): ditto.
14529 * winslots.h: add real_gutter slots.
14531 2000-02-25 Andy Piper <andy@xemacs.org>
14533 * device-msw.c: Be kind to older cygwin versions. From Raymond
14534 Toy <toy@rtp.ericsson.se>.
14536 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
14537 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
14539 2000-02-25 Martin Buchholz <martin@xemacs.org>
14541 * elhash.c (MARK_OBJ): Practice macro hygiene.
14543 2000-02-24 Martin Buchholz <martin@xemacs.org>
14545 * miscplay.c: s/__inline__/inline/g;
14546 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
14547 (get_device_compdc): INLINE ==> static inline
14548 * *.[ch]: Change INLINE to INLINE_HEADER globally.
14549 find -name '*.h' | \
14550 xargs global-replace \
14551 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
14553 2000-02-25 Andy Piper <andy@xemacs.org>
14555 * window.c (window_top_frame_gutter_height): new function.
14556 (window_top_window_gutter_height): ditto.
14557 (window_top_gutter_height): use them.
14558 (window_bottom_frame_gutter_height): new function.
14559 (window_bottom_window_gutter_height): ditto.
14560 (window_bottom_gutter_height): use them.
14561 (window_left_window_gutter_width): new function.
14562 (window_left_frame_gutter_width): ditto.
14563 (window_left_gutter_width): use them.
14564 (window_right_window_gutter_width): new function.
14565 (window_right_frame_gutter_width): ditto.
14566 (window_right_gutter_width): use them.
14567 (window_pixel_height): new function. calulate window pixel height
14568 with frame gutter involvement.
14569 (Fsplit_window): calculate new sizes taking frame gutters into
14571 (window_char_height_to_pixel_height): don't include frame gutters.
14572 (window_char_height): use window_pixel_height.
14573 (window_pixheight): rename from window_pixel_height.
14574 (change_window_height): use it.
14575 (window_pixel_height_to_char_height): don't include frame gutters.
14576 (window_char_width_to_pixel_width): ditto.
14578 2000-02-25 Andy Piper <andy@xemacs.org>
14580 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
14583 2000-02-24 Martin Buchholz <martin@xemacs.org>
14585 * alloc.c (staticpro):
14586 (staticpro_nodump):
14591 (compact_string_chars):
14592 (pdump_dump_wired):
14593 Convert: if (foo) abort(); ==> assert (! foo);
14595 * eldap.c (Fldap_search_basic):
14599 Fix compiler warnings, and possible crashes if (random) return
14600 value were to be used.
14602 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14604 * device-msw.c: Workaround ResetDC failure.
14606 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
14607 applying a devmode.
14609 * redisplay-msw.c (get_frame_dc): Added start_page_p.
14610 (mswindows_text_width): Do not start printer page.
14612 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
14614 * glyphs-msw.c: Added image methods to msprinter console and
14615 msprinter-specific image instantiation.
14617 2000-02-20 Mike Alexander <mta@arbortext.com>
14619 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
14620 to avoid crashes when selection-sets-clipboard is on
14621 (mswindows_own_selection): ditto
14623 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14626 * redisplay-msw.c (get_frame_dc):
14627 (get_frame_compdc):
14629 * device-msw.c (mswindows_init_device):
14630 (mswindows_delete_device):
14631 (msprinter_init_device):
14632 (msprinter_delete_device):
14633 * frame-msw.c (mswindows_init_frame_1):
14634 (mswindows_delete_frame):
14635 (msprinter_init_frame_3):
14636 (msprinter_delete_frame): Move compatible DC to device object from
14637 frame object, for both mswindows and msprinter. Only one at a time
14638 is needed, it is a real waste to have one per frame!
14640 2000-02-23 Andy Piper <andy@xemacs.org>
14642 * glyphs.c: add dynamic width and height elements.
14643 (image_instance_equal): ditto.
14645 * glyphs-widget.c (widget_query_geometry): calculate width and
14646 height dynamically if required.
14647 (initialize_widget_image_instance): initialize dynamic dimensions.
14648 (widget_instantiate): pick-up dynamic dimensions.
14650 * glyphs.h (struct Lisp_Image_Instance): add width and height for
14651 dynamic determination. Add appropriate macros.
14653 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
14655 (WINDOW_GUTTER_SIZE): ditto.
14656 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
14658 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
14660 (get_frame_dc): ditto.
14662 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
14665 2000-02-23 Martin Buchholz <martin@xemacs.org>
14667 * XEmacs 21.2.31 is released.
14669 2000-02-22 Ben Wing <ben@xemacs.org>
14671 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
14673 2000-02-22 Andy Piper <andy@xemacs.org>
14675 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
14677 2000-02-21 Mike Sperber <mike@xemacs.org>
14681 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
14684 2000-02-21 Mike Sperber <mike@xemacs.org>
14686 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
14688 2000-02-21 Martin Buchholz <martin@xemacs.org>
14690 * XEmacs 21.2.30 is released.
14692 2000-02-20 Martin Buchholz <martin@xemacs.org>
14694 Performance hacking.
14696 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
14697 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
14698 * emacs.c (main_1):
14700 * console.c (DEFVAR_CONSOLE_LOCAL_1):
14701 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
14702 * symeval.h (DEFVAR_SYMVAL_FWD):
14703 * symbols.c (guts_of_unbound_marker):
14704 Make all c_readonly objects also lisp_readonly and marked for life.
14705 * lrecord.h (struct lrecord_implementation):
14706 Document flags better.
14707 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
14708 * lrecord.h (DECLARE_LRECORD):
14709 * lrecord.h (XSETRECORD):
14710 * lrecord.h (RECORDP):
14711 * lrecord.h (RECORD_TYPEP):
14712 * lrecord.h (RECORD_MARKER): New.
14713 * lrecord.h (error_check_*):
14714 * lrecord.h (CONCHECK_NONRECORD):
14715 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
14716 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
14717 * lrecord.h (set_lheader_implementation):
14718 * lrecord.h (enum lrecord_type): New.
14719 * symeval.h (SYMBOL_VALUE_MAGIC_P):
14720 * alloc.c (disksave_object_finalization_1):
14721 * alloc.c (mark_object):
14722 * alloc.c (lrecord_type_index):
14723 * alloc.c (tick_lcrecord_stats):
14724 * alloc.c (Fgarbage_collect):
14725 * alloc.c (init_alloc_once_early):
14726 * alloc.c (pdump_load):
14727 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
14728 * alloc.c (lrecord_type_index): Delete.
14729 Make lisp object type indexes be constant.
14730 Makes (byte-compile) 5% faster.
14731 Put all marker functions into their own array.
14732 Makes (garbage-collect) 5% faster.
14733 Optimize SYMBOL_VALUE_MAGIC_P.
14734 Makes (byte-compile) 2-3% faster.
14735 * config.h.in (gc_checking_assert): New.
14736 * alloc.c: Use gc_checking_assert().
14737 * .dbxrc: Make compatible with new object type implementation.
14738 * .gdbinit: Make compatible with new object type implementation.
14739 * alloc.c: Delete all symbols defined only for debugging, such as
14740 Lisp_Type_Vector and lrecord_charset.
14742 2000-02-21 Andy Piper <andy@xemacs.org>
14744 * gui-msw.c (Fmswindows_shell_execute): fix file location
14747 * buffer.c (Fkill_buffer): remove buffer from alist buffer
14748 unshowing so that set_window_buffer doesn't undo
14749 kill_buffer_hook's hard work.
14751 * glyphs-widget.c (tab_control_query_geometry): don't count the
14752 first item when calculating geometry.
14754 * glyphs.c (map_subwindow): remove redundant code.
14755 (update_frame_subwindows): be more circumspect about when to
14758 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
14759 when items haven't changed. Update faces if faces have changed as
14760 well as just the widget face.
14761 (x_tab_control_update): Update faces if faces have changed as well
14762 as just the widget face.
14764 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14766 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
14768 (build_syscolor_string): Use mswindows_color_to_string to try to
14770 (mswindows_device_system_metrics): Reverse the foreground and
14771 background colors so that they match the documentation.
14773 * objects-msw.c: (mswindows_X_color_map): tweak some values so
14774 they match the default Windows palette.
14775 (mswindows_color_to_string): New function.
14777 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
14779 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
14781 2000-02-18 Olivier Galibert <galibert@pobox.com>
14783 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
14784 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
14786 * symbols.c (init_symbols_once_early): Removed obsolete
14787 DATA_SEG_BITS related kludge.
14788 (defvar_magic): Ditto.
14790 * malloc.c: Removed obsolete DATA_SEG_BITS
14792 * mem-limits.h: Ditto.
14794 * Makefile.in.in: Removed obsolete HAVE_SHM
14797 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14799 * device-msw.c (mswindows_delete_device): Free DDE string
14802 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14804 * keymap.c (get_keyelt):
14805 * unexnt.c (unexec):
14806 * vm-limit.c (memory_warnings):
14807 * ntheap.c (recreate_heap):
14808 * ntheap.h (UNINIT_PTR):
14809 * select-msw.c (Fmswindows_get_clipboard):
14810 (Fmswindows_set_clipboard):
14811 * objects-msw.h (MSWINDOWS_BAD_HFONT):
14813 * menubar-msw.c (displayable_menu_item):
14815 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
14816 * sysdep.c (sys_subshell):
14817 * process-nt.c (nt_create_process):
14818 * nt.c (normalize_filename):
14819 (dostounix_filename):
14820 (unixtodos_filename):
14821 * ntproc.c (win32_executable_type):
14822 * ntplay.c (play_sound_data_1):
14824 * editfns.c (get_home_directory):
14825 * event-msw.c (struct winsock_stream):
14826 (mswindows_dde_callback):
14827 * device-msw.c (msprinter_init_device):
14828 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
14830 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
14831 mswindows_clear_toolbar were swapped!
14833 * objects-msw.c:(colormap_t):
14835 * emacs.c (struct standard_args): Fixed const jumble.
14837 * glyphs-widget.c (update_widget): Fixed comparison notation.
14839 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
14841 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
14842 __declspec(noreturn) syntax.
14844 2000-02-19 Martin Buchholz <martin@xemacs.org>
14846 * eldap.c (Fldap_open):
14847 (Fldap_search_basic):
14850 Use new coding system conversion macros.
14852 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
14854 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
14856 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
14858 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
14859 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14861 * eldap.c (Qadd, Qreplace): New constant symbols
14862 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
14863 interruptions by XEmacs signals
14864 Remove unnecessary calls to slow_down_interrupts and
14865 speed_up_interrupts
14866 (Fldap_search_basic): Renamed from Fldap_search_internal
14867 Added new optional parameter VERBOSE that triggers the
14868 display of progress messages
14869 Remove unnecessary calls to slow_down_interrupts and
14870 speed_up_interrupts
14871 LDAP result code analysis rewritten
14872 (Fldap_add, Fldap_modify, Fldap_delete): New functions
14873 (syms_of_eldap): Define the new symbols and functions
14876 2000-02-17 Martin Buchholz <martin@xemacs.org>
14878 * realpath.c: Determine PATH_MAX maximally portably.
14880 * insdel.c (bytecount_to_charcount): Optimize.
14881 The function used to be optimized for entirely ASCII sequences.
14882 Now it is optimized for successive characters from the same
14883 charset. This also wins big for _mostly_ ASCII sequences.
14885 * fileio.c (Ffile_truename): convert return from realpath() using
14886 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
14887 - Rewrite GCPROing slightly.
14889 * sysdep.c (sys_open): Do filename conversion, like all other
14890 sys_* functions. Fixes bug:
14891 (let ((file-name-coding-system 'iso-8859-2))
14892 (write-region x y latin2-name))
14893 ==> writes filename using internal encoding.
14895 2000-02-18 Martin Buchholz <martin@xemacs.org>
14897 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
14898 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
14899 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
14900 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
14901 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
14902 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
14903 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
14904 (CONST_IF_NOT_DEBUG): Delete.
14905 * alloc.c (this_one_is_unmarkable): Delete.
14906 (mark_object): Don't check for this_one_is_unmarkable. Use the
14907 c_readonly flag instead.
14908 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
14910 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
14912 * event-msw.c (mswindows_drain_windows_queue):
14913 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
14914 away redundant repaint events.
14916 2000-02-17 Andy Piper <andy@xemacs.org>
14918 * redisplay.h: declare mark_redisplay_structs.
14920 * redisplay.c (redisplay_window):
14921 (redisplay_frame): don't check subwindows_state_changed.
14922 (mark_redisplay): mark gutters here.
14924 * glyphs.c: (instantiate_image_instantiator): always layout if we
14925 haven't done so already.
14926 (allocate_image_instance): don't mark as dirty.
14927 (update_subwindow): bind inhibit_quit.
14929 * gutter.c (mark_gutters): new function.
14931 * glyphs-x.c (x_update_widget): Always resize to get round a
14934 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
14935 breaking absolutely everything.
14937 * gutter.h: declare mark_gutters.
14939 2000-02-16 Martin Buchholz <martin@xemacs.org>
14941 * XEmacs 21.2.29 is released.
14943 2000-02-15 Olivier Galibert <galibert@pobox.com>
14945 * fns.c (size_bit_vector): Fix computation of the size.
14947 2000-02-15 Martin Buchholz <martin@xemacs.org>
14949 * *.[ch]: Change CONST to const globally.
14950 find -name '*.[ch]' | \
14951 xargs global-replace \
14952 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
14953 - Remove vestigial references to CONST_IS_LOSING
14955 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14957 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
14958 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
14959 events instead of dispatching them directly.
14960 (mswindows_handle_paint): New function to do repainting.
14961 (mswindows_wnd_proc):
14962 (emacs_mswindows_handle_magic_event): Call above function.
14964 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
14966 * objects-msw.c (mswindows_create_font_variant): Return the new
14968 (initialize_font_instance): Get font metrics from the underlined
14969 variant of the font to cope with the case where the underlined
14970 font has a bigger descent.
14972 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
14974 * gui.c (gui_item_accelerator): Return the first underlined
14975 character in item name.
14977 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14979 * lisp.h: Added Qprinter.
14981 * general.c (syms_of_general): Initialized it.
14983 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
14985 (get_frame_compdc): Made inline.
14987 * console.h (struct console_methods): Added eject_page method.
14989 * frame.h: Added FRAME_DISPLAY_P and friends.
14990 Aligned backslahes in many macros in more readable fashion.
14991 Added page_number to struct frame, and an accessor macro
14994 * defice.h: Added DEVICE_DISPLAY_P and friends.
14996 * device.c (Fdevice_printer_p): Used these.
14998 * frame.c (allocate_frame_core): Initialize page number.
14999 (Fprint_job_page_number):
15000 (Fprint_job_eject_page): Implemented.
15002 * frame-msw.c (msprinter_eject_page): Added method.
15003 (msprinter_start_page): Added.
15005 * window.c (Fwindow_truncated_p): Fixed docstring.
15006 (Fwindow_last_line_visible_height): Implemented.
15008 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15010 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
15012 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15014 * syntax.c (scan_words): Always advance at least one character.
15016 2000-02-13 Andy Piper <andy@xemacs.org>
15018 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
15019 to make sure the glyph is in the cachels.
15021 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
15022 global image instance flag.
15023 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
15024 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
15026 * glyphs.c (allocate_image_instance): set dirty bits correctly.
15027 (Fset_image_instance_property): mark layout as changed.
15028 (invalidate_glyph_geometry_maybe): mark layout as changed.
15029 (glyph_width): use new NEEDS_LAYOUT macro.
15030 (glyph_ascent): ditto.
15031 (glyph_descent): ditto.
15032 (glyph_height): ditto.
15033 (image_instance_layout): mark layout as clean after laying out.
15034 (update_subwindow): don't mark layout as clean here.
15036 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
15037 should no longer be needed.
15039 * glyphs-x.c (x_update_widget): sanitize asserts.
15040 (x_finalize_image_instance): sanitize assignment to widgets.
15042 * glyphs-widget.c (widget_instantiate): don't need to clear the
15045 2000-02-13 Martin Buchholz <martin@xemacs.org>
15047 * sysdep.c (getcwd): Use standard prototype.
15048 * sysdep.h (getcwd): Use standard prototype.
15050 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
15051 (sequence, start, end).
15052 Remove redundant type checking.
15053 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
15054 view of `caller-protects') to avoid a crash where the real fix was
15057 2000-02-12 Martin Buchholz <martin@xemacs.org>
15059 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
15061 * s/sol2.h: Remove feature macro initialization.
15063 * alloc.c (alloc_lcrecord): Add more type checking assertions.
15064 (vector_hash): New. Code from internal_hash.
15066 Fix up allocation subsystem comments.
15068 * config.h.in: Add __EXTENSIONS__ for Solaris.
15070 * systime.h (EMACS_GETTIMEOFDAY): New.
15071 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
15072 Remove Solaris-specific code.
15073 Use void* for the (ignored) second arg for gettimeofday().
15075 * elhash.c (hash_table_hash): Implement it, finally.
15076 * elhash.c: Use hashcode_t.
15078 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
15079 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
15081 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
15082 * fns.c (size_bit_vector):
15083 * alloc.c (size_vector):
15084 (make_vector_internal):
15085 (make_bit_vector_internal):
15086 (sweep_bit_vectors_1):
15087 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
15089 2000-02-10 Martin Buchholz <martin@xemacs.org>
15091 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
15092 Include strings.h to avoid warnings for bzero and strcasecmp.
15094 2000-02-10 Olivier Galibert <galibert@pobox.com>
15096 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
15097 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
15099 * fns.c (size_bit_vector): New. Declare bit vectors as a
15102 2000-02-10 Olivier Galibert <galibert@pobox.com>
15104 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
15105 use a value field instead.
15106 (symbol_value_forward_forward): Use value field.
15107 (DEFVAR_SYMVAL_FWD): Use value field.
15108 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
15109 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
15110 (DEFVAR_CONST_INT): Ditto.
15111 (DEFVAR_BOOL): Ditto.
15112 (DEFVAR_CONST_BOOL): Ditto.
15113 (DEFVAR_INT_MAGIC): Ditto.
15114 (DEFVAR_BOOL_MAGIC): Ditto.
15116 * symbols.c (guts_of_unbound_marker): Use value field.
15117 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
15118 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
15120 * lisp.h: Declare dumpopaque and noninteractive1.
15122 * alloc.c (dumpopaque): Added.
15123 (pdump_dump_opaquevec): Added.
15124 (pdump): Call pdump_dump_opaquevec to dump opaque data.
15125 (pdump_load): Reload opaque data. Sync noninteractive1 with
15128 2000-02-10 Andy Piper <andy@xemacs.org>
15130 * glyphs.c (image_instance_layout): if the size changes, mark it
15133 * redisplay-output.c (redisplay_output_layout): Update the
15135 (redisplay_output_subwindow): ditto.
15137 * glyphs.c (update_subwindow): make sure we reset flags for
15138 layouts as well as everything else.
15140 * glyphs-widget.c (layout_layout): don't need to set the instances
15143 2000-02-09 Martin Buchholz <martin@xemacs.org>
15145 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
15146 not HAVE_DLOPEN, which is a lower-level thing.
15148 * .cvsignore: Ignore gmon.out
15150 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
15152 * .cvsignore: Ignore portable dumper xemacs.dmp file
15154 2000-02-09 Andy Piper <andy@xemacs.org>
15156 * redisplay-output.c (redisplay_output_layout): be more clever
15157 about when we output based on the changed flags.
15159 * glyphs.h (struct image_instantiator_methods): add update_method.
15160 (struct Lisp_Image_Instance): add changed flags. Declare new
15161 macros for manipulating them.
15163 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
15164 (image_instance_parent_glyph): find an image_instance's parent
15165 glyph or image_instance.
15166 (image_instance_layout): mark the size as changed.
15167 (set_image_instance_dirty_p): new function. mark an image
15168 instance, plus all of its parents, as dirty.
15169 (Fset_image_instance_property): use it.
15170 (Fglyph_animated_timeout_handler): use it.
15171 (update_subwindow): call update_widget and device methods for
15172 update_subwindow. Mark all changed flags as clean.
15173 (Fresize_subwindow): mark size as changed.
15175 * glyphs-x.c (x_finalize_image_instance): try and detect gc
15177 (x_update_subwindow): only resize subwindows here.
15178 (x_update_widget): new function. Update all changed properties of
15180 (x_resize_subwindow): deleted.
15181 (x_widget_set_property): deleted.
15182 (x_progress_gauge_set_property): deleted.
15183 (x_progress_gauge_update): new function. Implement recorded
15185 (x_tab_control_update): ditto.
15186 (x_tab_control_set_property): deleted.
15187 (console_type_create_glyphs_x): declare new functions.
15188 (image_instantiator_format_create_glyphs_x): ditto.
15190 * glyphs-widget.c (widget_set_property): mark text changed.
15191 (update_widget): new function. Update properties of a widget.
15192 (widget_instantiate): for layouts make sure we set their
15193 children's parent correctly.
15194 (tab_control_set_property): new function. Record changes that will
15195 take place under redisplay's control.
15196 (progress_gauge_set_property): ditto.
15197 (image_instantiator_progress_guage): declare new functions.
15198 (image_instantiator_tab_control): ditto.
15200 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
15202 (mswindows_update_widget): new function. Update all properties on
15203 a widget that have changed.
15204 (mswindows_button_update): new function. Update a button's set
15206 (mswindows_tab_control_update): new function. Update the items in
15208 (mswindows_tab_control_set_property): deleted.
15209 (mswindows_progress_gauge_update): new function. Update the
15210 progress gauge's progress.
15211 (mswindows_widget_set_property): deleted. This is all done
15212 asynchronously now.
15213 (mswindows_progress_gauge_set_property): ditto.
15214 (console_type_create_glyphs_mswindows): declare new methods.
15215 (image_instantiator_format_create_glyphs_mswindows): ditto.
15217 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
15218 (msprinter_set_frame_properties): ditto.
15220 * console.h (struct console_methods): Add update_widget_method.
15222 2000-02-09 Andy Piper <andy@xemacs.org>
15224 * gui-msw.c (Fmswindows_shell_execute): Make
15225 mswindows-shell-execute industrial strength.
15227 2000-02-08 Martin Buchholz <martin@xemacs.org>
15229 * lrecord.h: Make macro argument `props' match member function `plist'.
15232 * fns.c (Fremprop):
15233 * fns.c (Fobject_plist):
15236 Object property list frobbing cleanup.
15237 - Allow any lisp object (compared with `eq'), not just symbols, as
15238 keys in object plists.
15239 - Move symbol plist frobbing into symbols.c, where it belongs.
15240 - Move string plist frobbing into alloc.c, where it belongs.
15241 - Everything's an lrecord now, so no need to test for symbolp, etc.
15242 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
15244 * extents.c: Reorder code to remove declarations.
15246 * frame.h (store_in_alist): Remove useless declaration.
15248 2000-02-07 Martin Buchholz <martin@xemacs.org>
15250 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
15251 * config.h.in: Add HAVE_XCONVERTCASE.
15253 2000-02-07 Andy Piper <andy@xemacs.org>
15255 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
15256 it breaks many things.
15258 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
15260 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
15261 actually can start a common comment type.
15262 * src/syntax.h (SYNTAX_END_P): ditto for end.
15264 2000-02-07 Martin Buchholz <martin@xemacs.org>
15266 * XEmacs 21.2.28 is released.
15268 2000-02-06 Martin Buchholz <martin@xemacs.org>
15270 * event-Xt.c (x_keysym_to_character): New.
15271 (maybe_define_x_key_as_self_inserting_character): New.
15272 (x_has_keysym): New.
15273 Auto-define all keys on the keyboard as self-insert-key.
15275 2000-02-02 Martin Buchholz <martin@xemacs.org>
15277 * menubar.c (vars_of_menubar): A small code simplification.
15279 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
15282 * ExternalClient.c:
15283 * EmacsShell-sub.c:
15286 Use consistent style for specifying X resources.
15288 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
15289 This makes (dontusethis-set-symbol-value-handler) actually usable.
15291 * lrecord.h (lrecord_decription_type):
15292 * alloc.c (pdump_register_sub):
15295 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
15296 Comply with XEmacs coding style.
15297 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
15298 args, and XD_LISP_OBJECT_ARRAY with 3 args.
15300 * keymap.c (Faccessible_keymaps):
15301 Make (accessible-keymaps map "\C-h") do the Right Thing.
15302 Make (accessible-keymaps map []) do the Right Thing.
15303 Make (accessible-keymaps map "") do the Right Thing.
15304 (check_keymap_definition_loop): New function.
15305 (keymap_store_internal): Keep luser from shooting self in foot,
15306 via (define-key ctl-x-4-map "p" global-map).
15307 Remove fullness slot from struct Lisp_Keymap, since hash tables
15309 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
15311 2000-01-30 Martin Buchholz <martin@xemacs.org>
15313 * redisplay.c (init_redisplay): Fix small memory leak.
15315 * elhash.c (pdump_reorganize_hash_table):
15316 Rename from reorganize_hash_table. Change prototype.
15317 Reuse the original memory for hentries. Save 100k.
15318 * alloc.c (PDUMP_READ): new macro.
15319 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
15320 * alloc.c: No need to #ifndef before #undef.
15322 * print.c: Allow debug_print() to print readably by modifying
15323 debug_print_readably. Use consistent variable names.
15325 * .dbxrc: Try to get things to work even if stopped in a function
15326 without source available by explicitly specifying source files.
15327 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15329 * unexnt.c (_start): Removed bogus code which caused loading heap
15330 from differrent executable file.
15331 Removed bogus assignment to _fmode, which caused inconsistencies.
15333 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15335 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
15336 Have spawnve encapsulation regard DONT_ENCAPSULATE.
15337 Do not preliminary `#define signal sigset'.
15339 * systime.h: Do not prototype environ on windows nt and cygwin,
15340 this conflicts with system header.
15342 * syssignal.h: Use correct define for WINDOWSNT
15344 * sysdep.h: Do not prototype environ on windows nt, this conflicts
15345 with system header.
15347 * sysdep.c (near start of file): Fixed commentary and rearranged
15348 ifdefs in readable order.
15349 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
15352 (end_of_data): Do not compile in if using PDUMP.
15354 * symsinit.h: Prototyped vars_of_nt().
15356 * ntproc.c (windows9x_p): Added, instead of os_subtype.
15357 (find_child_console): Use it.
15358 (sys_kill): Use it.
15360 * ntheap.h: Do not extern os_subtype.
15362 * ntheap.c (cache_system_info): Do not cache unneeded:
15363 nt_major_version, nt_minor_version and os_subtype.
15364 (recreate_heap): Do not compile in when PDUMPing.
15366 * nt.c (geteuid and friends): Use the new varibale
15367 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
15368 (init_user_info): Removed the above mentioned hackery.
15369 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
15370 stat has been fixed in the C runtime.
15371 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
15373 * file-coding.c (struct file_coding_dump): Do not define
15374 ucs_to_mule_table in the struct if not MULE.
15375 (struct struct lrecord_description fcd_description_1): Do not dump
15378 * emacs.c (main_1): Call vars_of_nt().
15379 (right before Fdump_emacs_data): Don't need lastfile if using both
15380 portabe dumper and system malloc.
15382 * alloc.c (Fmemory_limit): Conditionalized out.
15383 (pdump): Use OPEN_BINARY for the portable dump file.
15384 (pdump_load): Ditto.
15386 2000-02-02 Mike Alexander <mta@arbortext.com>
15388 * nt.c (convert_time): Set tm_isdst before calling mktime and
15389 avoid calling it at all if the compiler supports 64 bit integers.
15390 Also initialize utc_base_ft before using it.
15392 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
15394 * frame.c (change_frame_size_1): Take f->internal_border_width
15395 into consideration when calculating the width of the frame.
15397 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15399 * window.c (frame_min_height):
15400 (frame_size_valid_p):
15401 (frame_pixsize_valid_p): Added.
15402 (check_frame_size): Generalized.
15404 * window.h: Prototyped the above.
15407 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
15408 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
15409 Deleted Vwin32_* and Vbinary_process_* unused variables.
15411 * device-msw.c (msprinter_init_device): Do not get printer font
15412 list; Added DEVMODE functions.
15414 * frame-msw.c: Added lots of printer code.
15416 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
15419 * console-msw.h: Added more msprinter device private slots.
15421 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15423 * event-msw.c (key_needs_default_processing_p): Added.
15424 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
15426 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15428 * glyphs.c (image_instance_layout): Mark image instance as clean
15430 (glyph_dirty_p): Removed redundant function.
15431 (invalidate_glyph_geometry_maybe): Added.
15432 (update_glyph_cachel_data): Call it.
15434 * glyphs.h: Prototyped it.
15436 * redisplay.c (add_glyph_rune): Call it.
15437 (redisplay_window): Reset glyphs cachels when frame faces have
15438 changed, thus forcing recomputation of built-in border glyphs.
15440 2000-01-30 Martin Buchholz <martin@xemacs.org>
15442 * Makefile.in.in: Make portable dumper and purify play well together.
15443 Add imperfect, but better than nothing, support for pdump.
15444 Remove xemacs.dmp when temacs is re-generated.
15445 Don't ignore errors when dumping xemacs.
15447 * symbols.c (maybe_call_magic_handler): Remove one magic number.
15449 2000-01-28 Andy Piper <andy@xemacs.org>
15451 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
15452 (setup_normal_frame): ditto.
15453 (setup_frame_without_minibuffer): ditto.
15454 (setup_minibuffer_frame): ditto.
15455 (delete_frame_internal): ditto.
15456 (Fmake_frame_invisible): ditto.
15457 (Ficonify_frame): ditto.
15459 * window.h: change Fset_window_buffer signature.
15461 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
15462 (Fset_window_buffer): allow recording of buffer if the window is
15463 the selected window.
15464 (window_loop): Use new Fset_window signature.
15466 2000-01-23 Daniel Pittman <daniel@danann.net>
15468 * config.h.in: Added template for `HAVE_ATHENA_3D'
15470 2000-01-29 Andy Piper <andy@xemacs.org>
15472 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
15474 * gutter.c (output_gutter): Don't output if the window isn't live.
15476 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15478 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
15479 of 01/12/00: Moved SetFocus back here where it belongs.
15481 2000-01-23 Andy Piper <andy@xemacs.org>
15483 * s/cygwin32.h: declare printer things.
15485 2000-01-26 Andy Piper <andy@xemacs.org>
15487 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
15490 2000-01-24 Andy Piper <andy@xemacs.org>
15492 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
15493 (mswindows_button_instantiate): Make sure glyph is a pixmap.
15495 * glyphs-widget.c (widget_instantiate): Avoid shadows.
15497 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
15499 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
15501 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
15502 (mswindows_output_display_block): Avoid local shadows.
15504 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
15505 (mswindows_enqueue_mouse_button_event): ditto.
15506 (mswindows_handle_gui_wm_command): remove declaration.
15508 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
15511 * console-msw.h: Avoid shadows.
15512 (mswindows_get_toolbar_button_text):
15513 (emacs_mswindows_create_stream_pair):
15514 (emacs_mswindows_delete_stream_pair):
15515 (mswindows_handle_toolbar_wm_command): declare.
15517 * device-msw.c (build_syscolor_string): Avoid shadows.
15519 2000-01-23 Andy Piper <andy@xemacs.org>
15521 * glyphs-widget.c (widget_instantiate): reverse the items for
15522 layouts so that children are in the expected order.
15524 2000-01-28 Martin Buchholz <martin@xemacs.org>
15526 * ralloc.c: safe_bcopy ==> memmove
15527 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
15528 * s/msdos.h: Remove BCOPY macros.
15529 * insdel.c (gap_right): Remove BCOPY conditional code.
15530 * insdel.c (gap_left): Remove BCOPY conditional code.
15531 XEmacs demands a working ANSI C compiler - hence memmove.
15533 * regex.c (regex_compile): Remove accidental use of trigraphs.
15535 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15537 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
15540 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15542 * event-msw.c (mswindows_drain_windows_queue): Added the
15544 (mswindows_need_event): Commented the call to
15545 mswindows_drain_windows_queue().
15546 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
15549 * console-msw.h: Moved a few function prototypes here from
15552 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
15553 parameter from unsigned short to unsigned long.
15554 (Fmswindows_shell_execute): Added return value.
15556 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15558 * sysdep.c (init_system_name):
15559 process-unix.c (unix_canonicalized_host_name):
15560 Don't call freeaddrinfo() if getaddrinfo() fails.
15562 * process-unix.c (unix_open_unix_network_stream):
15563 Moved the code to get a port # into address loop.
15565 2000-01-27 Martin Buchholz <martin@xemacs.org>
15567 * buffer.c (reinit_vars_of_buffer):
15568 The right place to initialize conversion_in_dynarr and
15569 conversion_out_dynarr.
15571 * alloc.c (pdump): Use the real open() till sys_open() is functional.
15573 * process-unix.c (unix_canonicalize_host_name): Muleize.
15574 (unix_open_network_stream): Muleize.
15576 * buffer.h: Fix up prototypes for ralloc.c functions.
15578 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
15579 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
15580 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
15581 instead of gethostbyname()
15582 * process-unix.c: In unix_canonicalize_host_name() and
15583 unix_open_network_stream(), add code to use getaddrinfo()
15584 instead of gethostbyname().
15586 2000-01-27 Daniel Pittman <daniel@danann.net>
15588 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
15589 libs when built with flat Athena.
15591 2000-01-27 Martin Buchholz <martin@xemacs.org>
15593 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
15594 Use coding standards for function prototypes.
15596 2000-01-25 Martin Buchholz <martin@xemacs.org>
15598 * dialog-msw.c (push_lisp_string_as_unicode):
15599 * doc.c (unparesseuxify_doc_string):
15600 * dired.c (Fuser_name_completion_1):
15601 * dired.c (Fuser_name_all_completions):
15602 * dired.c (free_user_cache):
15603 * dired.c (user_name_completion):
15604 * console-x.c (get_display_arg_connection):
15605 * minibuf.c (clear_echo_area_internal):
15606 * minibuf.c (echo_area_append):
15607 * eldap.c (Fldap_open):
15608 * eldap.c (Fldap_search_internal):
15609 * frame-x.c (x_set_frame_text_value):
15610 * frame-x.c (x_set_frame_properties):
15611 * frame-x.c (x_create_widgets):
15612 * redisplay-tty.c (term_get_fkeys_1):
15613 * objects-x.c (x_parse_nearest_color):
15614 * objects-x.c (x_valid_color_name_p):
15615 * objects-x.c (x_initialize_font_instance):
15616 * objects-x.c (x_list_fonts):
15617 * objects-x.c (x_find_charset_font):
15618 * tooltalk.c (Fadd_tooltalk_message_arg):
15619 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
15620 * tooltalk.c (Fadd_tooltalk_pattern_arg):
15621 * process-unix.c (unix_create_process):
15622 * ntproc.c (sys_spawnve):
15623 * sound.c (Fplay_sound_file):
15624 * sound.c (Fplay_sound):
15625 * buffer.c (init_initial_directory):
15626 * buffer.c (init_buffer):
15627 * editfns.c (init_editfns):
15628 * editfns.c (Ftemp_directory):
15629 * editfns.c (Fuser_full_name):
15630 * editfns.c (uncache_home_directory):
15631 * editfns.c (get_home_directory):
15632 * editfns.c (Fuser_home_directory):
15633 * editfns.c (Fformat_time_string):
15634 * editfns.c (Fcurrent_time_string):
15635 * gui-x.c (button_item_to_widget_value):
15636 * database.c (Fopen_database):
15637 * event-Xt.c (x_to_emacs_keysym):
15638 * event-Xt.c (x_event_to_emacs_event):
15639 * event-Xt.c (describe_event_window):
15640 * event-msw.c (mswindows_wnd_proc):
15641 * glyphs-eimage.c (jpeg_instantiate):
15642 * glyphs-eimage.c (gif_instantiate):
15643 * glyphs-eimage.c (png_instantiate):
15644 * glyphs-eimage.c (tiff_instantiate):
15645 * glyphs-x.c (xbm_instantiate_1):
15646 * glyphs-x.c (x_xbm_instantiate):
15647 * glyphs-x.c (x_xface_instantiate):
15648 * glyphs-x.c (autodetect_instantiate):
15649 * glyphs-x.c (cursor_font_instantiate):
15650 * glyphs-x.c (x_widget_instantiate):
15651 * glyphs-x.c (x_widget_set_property):
15652 * glyphs-x.c (x_widget_property):
15653 * glyphs-x.c (BUILD_GLYPH_INST):
15654 * print.c (write_string_to_stdio_stream):
15655 * print.c (output_string):
15656 * print.c (Falternate_debugging_output):
15657 * print.c (Fexternal_debugging_output):
15658 * glyphs-msw.c (extract_xpm_color_names):
15659 * glyphs-msw.c (mswindows_xpm_instantiate):
15660 * glyphs-msw.c (bmp_instantiate):
15661 * glyphs-msw.c (resource_name_to_resource):
15662 * glyphs-msw.c (mswindows_resource_instantiate):
15663 * glyphs-msw.c (xbm_instantiate_1):
15664 * glyphs-msw.c (mswindows_xbm_instantiate):
15665 * glyphs-msw.c (mswindows_xface_instantiate):
15666 * glyphs-msw.c (mswindows_widget_instantiate):
15667 * glyphs-msw.c (add_tree_item):
15668 * glyphs-msw.c (add_tab_item):
15669 * glyphs-msw.c (mswindows_combo_box_instantiate):
15670 * glyphs-msw.c (mswindows_widget_property):
15671 * glyphs-msw.c (mswindows_combo_box_property):
15672 * glyphs-msw.c (mswindows_widget_set_property):
15673 * console.c (stuff_buffered_input):
15674 * objects-msw.c (mswindows_initialize_color_instance):
15675 * objects-msw.c (mswindows_valid_color_name_p):
15676 * objects-msw.c (mswindows_list_fonts):
15677 * objects-msw.c (mswindows_font_instance_truename):
15678 * bytecode.c (optimize_compiled_function):
15679 * select-x.c (symbol_to_x_atom):
15680 * select-x.c (x_atom_to_symbol):
15681 * select-x.c (hack_motif_clipboard_selection):
15682 * select-x.c (selection_data_to_lisp_data):
15683 * select-x.c (lisp_data_to_selection_data):
15684 * select-x.c (Fx_get_cutbuffer_internal):
15685 * select-x.c (Fx_store_cutbuffer_internal):
15686 * buffer.h (TO_EXTERNAL_FORMAT): New function.
15687 * buffer.h (TO_INTERNAL_FORMAT): New function.
15688 * emacs.c (make_arg_list_1):
15689 * emacs.c (make_argc_argv):
15690 * emacs.c (main_1):
15691 * emacs.c (Fdump_emacs):
15692 * emacs.c (split_string_by_emchar_1):
15697 * device-x.c (x_init_device):
15698 * device-x.c (Fx_valid_keysym_name_p):
15699 * device-x.c (Fx_get_font_path):
15700 * device-x.c (Fx_set_font_path):
15701 * glyphs.c (bitmap_to_lisp_data):
15702 * glyphs.c (pixmap_to_lisp_data):
15703 * alloc.c (make_ext_string): Use coding system arguments. Update
15705 * alloc.c (build_string):
15706 * callproc.c (child_setup):
15707 * callproc.c (init_callproc):
15708 * fileio.c (lisp_strerror):
15709 * fileio.c (directory_file_name):
15710 * fileio.c (Fexpand_file_name):
15711 * fileio.c (Ffile_truename):
15712 * fileio.c (Fsysnetunam):
15713 * fileio.c (Fdo_auto_save):
15714 * sysdep.c (sys_readdir):
15715 * tests.c: New file. Allow adding C tests.
15716 Replace GET_* macros with a more comprehensible and flexible
15717 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
15719 Any coding system can be used to do format conversion.
15720 Eliminate enum external_data_format.
15721 Eliminate convert_to_external_format.
15722 Eliminate convert_to_internal_format.
15723 Make sure file-name, keyboard, terminal, and ctext are always
15724 defined as coding systems or aliases. Make
15725 file-name-coding-system, terminal-coding-system, and
15726 keyboard-coding-system magical variables that are equivalent to
15727 defining the corresponding coding system aliases.
15729 * file-coding.c (Fcoding_system_canonical_name_p): New function.
15730 * file-coding.c (Fcoding_system_alias_p): New function.
15731 * file-coding.c (Fcoding_system_aliasee): New function.
15732 * file-coding.c (append_suffix_to_symbol): New function.
15733 * file-coding.c (dangling_coding_system_alias_p): New function.
15734 * file-coding.c (Ffind_coding_system):
15735 * file-coding.c (Fcopy_coding_system):
15736 * file-coding.c (encode_coding_no_conversion):
15737 * file-coding.c (syms_of_file_coding):
15738 * file-coding.c (vars_of_file_coding):
15739 Rewrite coding system alias code.
15740 Allow nested aliases, like symbolic links.
15741 Allow redefinition of coding system aliases.
15742 Prevent existence of dangling coding system aliases.
15744 * dired.c (Fuser_name_completion_1):
15745 * dired.c (Fuser_name_all_completions):
15746 A crash would happen if user did QUIT in the middle of building
15747 user_name_cache. Remove redundant code in mainline and unwind_protect.
15750 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
15752 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
15753 an unsigned char *. Update all callers.
15755 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15757 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
15759 2000-01-25 Martin Buchholz <martin@xemacs.org>
15761 * elhash.c (hentry_description): Use more portable definition.
15762 (resize_hash_table): Initialize new hentries using
15763 xnew_array_and_zero, thereby simplifying the code.
15765 * mule-charset.c (make_charset): Make sure entire object is
15766 initialized, to avoid Purify warnings.
15768 * alloc.c (resize_string): Fix unlikely crash with big strings.
15770 2000-01-24 Martin Buchholz <martin@xemacs.org>
15772 * realpath.c (xrealpath):
15773 Don't call getwd().
15775 2000-01-25 Martin Buchholz <martin@xemacs.org>
15777 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
15779 1999-12-28 Max Matveev <max@melbourne.sgi.com>
15781 * unexelfsgi.c (unexec): Change the way we decide which segment
15782 should be extended.
15784 Assumption that .bss section should be outside the PT_LOADable
15785 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
15786 it's present) is inside the 'data' segment. This would fail the
15787 test which was used to find a segment to grow and cover new
15788 heap. Instead of this assumption, I created another one - on IRIX
15789 the segment to grow should start below .bss and it's address
15790 should extent above the end of .bss. Once this segment is
15791 identified, it's grown to accommodate the new heap and new
15792 zero-length .bss section is added at the end of .data2.
15794 2000-01-25 Martin Buchholz <martin@xemacs.org>
15796 * eval.c (Feval): Wrong number of arguments should use original
15797 function, not the indirect_function version of it.
15799 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
15801 * glyphs-x.c (x_button_instantiate): Don't add image if
15802 it is not a pixmap.
15803 (x_locate_pixmap_file): Call Fexpand_file_name when file name
15806 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
15808 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
15810 (DEFVAR_INT_MAGIC): Ditto.
15811 (DEFVAR_BOOL_MAGIC): Ditto.
15812 * glyphs.h: Reindent backslash.
15814 2000-01-24 Martin Buchholz <martin@xemacs.org>
15816 * glyphs-widget.c (layout_query_geometry):
15817 (layout_layout): Use correct types for gheight, gwidth.
15819 2000-01-24 Martin Buchholz <martin@xemacs.org>
15821 * EmacsManager.c (QueryGeometry): Purified.
15823 2000-01-23 Martin Buchholz <martin@xemacs.org>
15825 * alloc.c (make_float): Make sure entire object is initialized, to
15826 avoid Purify warnings.
15827 (pdump_register_sub): Remove useless assignment.
15828 (pdump): Use xmalloc, not malloc.
15829 (pdump_load): Use xmalloc, not malloc.
15831 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15838 * sysdep.c: Removed redundant #include <windows.h>
15840 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15842 * frame.c (delete_frame_internal): Do not delete device when its
15843 implementation so declares.
15844 (delete_frame_internal): Set device selected frame to nil when
15845 last frame goes away.
15847 * device-msw.c (msprinter_device_system_metrics): Implemented.
15848 (mswindows_device_system_metrics): Added 'device-dpi property.
15850 * device.c: (Fdevice_printer_p): Added.
15851 Added 'offset-workspace device metric.
15853 * console.h (device_metrics): Declared DM_offset_workspace.
15855 2000-01-23 Martin Buchholz <martin@xemacs.org>
15857 * fileio.c (Ffile_truename): Remove pointless and confusing
15858 initialization of elen.
15860 * glyphs-widget.c: Compiler warning fixes.
15862 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
15864 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
15865 instead of a Lisp_Object as argument to make it consistent with
15866 the other LIVE_P macros.
15867 (CHECK_LIVE_PROCESS): New macro.
15869 * process.c: Declare Qprocess_live_p.
15870 (Fprocess_live_p): New function.
15871 (create_process): Use PROCESS_LIVE_P.
15872 (read_process_output): Ditto.
15873 (set_process_filter): Ditto.
15874 (Fdelete_process): Ditto.
15875 (kill_buffer_processes): Ditto
15876 (process_send_signal): Use CHECK_LIVE_PROCESS.
15877 (Fprocess_input_coding_system): Check whether process is still
15878 alive (fix PR#1061).
15879 (Fprocess_output_coding_system): Ditto.
15880 (Fprocess_coding_system): Ditto.
15881 (Fset_process_input_coding_system): Ditto.
15882 (Fset_process_output_coding_system): Ditto.
15884 2000-01-23 Andy Piper <andy@xemacs.org>
15886 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
15889 * glyphs.c (mark_image_instance): take into account changed
15890 image_instance format.
15891 (image_instance_equal): ditto.
15892 (image_instance_hash): ditto.
15894 * glyphs-widget.c (widget_instantiate): Incorporate layout
15895 instantiation here. Delay layout of the layout until later.
15896 (layout_instantiate): deleted.
15897 (layout_query_geometry): new function. get the geometry of a
15899 (layout_layout): layout a layout dynamically.
15900 (image_instantiator_widget): New function - splitting up
15901 image_instantiator_format_create_glyphs_widget for netwinder
15903 (image_instantiator_buttons):
15904 (image_instantiator_edit_fields):
15905 (image_instantiator_combo_box):
15906 (image_instantiator_scrollbar):
15907 (image_instantiator_progress_guage):
15908 (image_instantiator_tree_view):
15909 (image_instantiator_tab_control):
15910 (image_instantiator_labels):
15911 (image_instantiator_layout): ditto.
15912 (image_instantiator_format_create_glyphs_widget): Call preceding
15915 2000-01-22 Martin Buchholz <martin@xemacs.org>
15917 * process.c (Fset_process_coding_system):
15918 * device-x.c (Fx_keysym_hash_table):
15921 * lstream.c (Lstream_write): Return documented value, not 0.
15923 * fileio.c (directory_file_name):
15924 (Fsubstitute_in_file_name):
15925 (Fsubstitute_insert_file_contents_internal):
15926 (Fwrite_region_internal):
15931 Remove vestigial APOLLO-conditional code.
15933 2000-01-21 Martin Buchholz <martin@xemacs.org>
15935 * getpagesize.h: Add guard macros.
15936 * libsst.h: Add guard macros.
15937 * libst.h: Add guard macros.
15938 * line-number.h: Add guard macros.
15939 * ndir.h: Add guard macros.
15940 * sysfloat.h: Add guard macros.
15941 * sysfile.h: Add guard macros.
15942 * sysproc.h: Add guard macros.
15943 * syswait.h: Add guard macros.
15944 * xintrinsic.h: Add guard macros.
15945 * xintrinsicp.h: Add guard macros.
15946 * xmmanager.h: Add guard macros.
15947 * xmmanagerp.h: Add guard macros.
15948 * xmprimitive.h: Add guard macros.
15949 * xmu.h: Add guard macros.
15950 * gpmevent.h: Add copyright statement. Add guard macros.
15951 * miscplay.h: Add guard macros.
15952 * *.h: Use consistent C-standards-approved guard macro names.
15954 * opaque.c (make_opaque): Switch parameter order.
15955 * opaque.h (make_opaque): Switch parameter order.
15956 Update all callers.
15957 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
15959 * config.h.in (type_checking_assert): Added.
15960 (bufpos_checking_assert): Added.
15962 2000-01-21 Martin Buchholz <martin@xemacs.org>
15964 * alloc.c: Harmless pdump changes.
15966 - spell alignment correctly.
15967 * sysdep.c: Use countof()
15969 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15971 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
15972 initially_selected_for_input() console method, default to 0.
15973 (semi_canonicalize_console_connection): Try to delegate to
15974 canonicalize_console_connection if no such console method.
15975 (canonicalize_console_connection): Vice versa.
15976 (print_console): Do not print nil connection.
15978 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
15979 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
15980 (XDEVIMPF_FRAMELESS_OK): Added.
15981 (CONSOLE_INHERITS_METHOD): Added.
15983 * console-msw.c (mswindows_canonicalize_console_connection):
15985 (mswindows_canonicalize_device_connection): Added.
15987 * console-msw.h (struct msprinter_device): Added this struct and
15989 (mswindows_device): Made fontlist a lisp object.
15991 * device.c (semi_canonicalize_device_connection): Try to delegate
15992 to canonicalize_device_connection if no such console method.
15993 (canonicalize_device_connection): Vice versa.
15994 (print_device): Do not print nil connection.
15996 * device-msw.c (mswindows_init_device): Call InitCommonControls
15998 (mswindows_delete_device): Removed fontlist deallocation.
15999 (mswindows_mark_device): Added.
16001 * events.c (event_equal): Added abort() at unreached code.
16002 (event_hash): Ditto.
16004 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
16005 fallback tags of Windows devices.
16007 * general.c (syms_of_general): Initialized Qmsprinter.
16009 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
16010 of fallback tags of Windows devices.
16012 * lisp.h: Declared Qmsprinter.
16014 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
16016 (mswindows_list_fonts): Ditto.
16017 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
16018 that it can be used by both mswindows and msprinter devices.
16019 (initialize_font_instance): Added.
16020 (mswindows_initialize_font_instance): Use it.
16021 (msprinter_initialize_font_instance): Added.
16023 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
16024 and implementation flags check.
16025 (redisplay_without_hooks): Changed the call to the above.
16026 (Fredraw_device): Ditto.
16027 (Fredisplay_device): Ditto.
16029 * redisplay-msw.c (get_frame_dc): Implemented.
16030 (get_frame_compdc): Implemented.
16031 (many functions): Use the two functions above to get device
16032 contexts, ether for a window or a printer.
16034 2000-01-21 Olivier Galibert <galibert@pobox.com>
16036 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
16037 initialization here.
16038 (init_symbols_once_early): Call it.
16039 * emacs.c (main_1): Call it.
16040 * symsinit.h: Declare it.
16042 2000-01-19 Olivier Galibert <galibert@pobox.com>
16044 * alloc.c: Use a lrecord_header * in the backtrace instead of a
16046 (pdump_backtrace): Ditto.
16047 (pdump_register_object): Ditto. Cleanup use of the pointers.
16048 (pdump_get_entry): Abort if trying to register a null pointer.
16049 (pdump_dump_data): Cleanup types when relocating.
16050 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
16051 (pdump_dump_rtables): Remove bad casts.
16052 (pdump_load): Cleanup relocation w.r.t union type. Use a
16053 Lisp_Object instead of a EMACS_INT for the hashtable
16056 2000-01-20 Martin Buchholz <martin@xemacs.org>
16058 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
16060 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
16062 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
16064 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
16066 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16068 * faces.h (FACE_STRIKETHRU_P): Added.
16070 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
16073 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
16074 (mswindows_set_dc_font): New function, aware of font variants,
16075 separated from mswindows_update_dc.
16077 * objects-msw.h (struct mswindows_font_instance_data): Added
16080 * objects-msw.c (mswindows_finalize_font_instance): Delete all
16081 cached fonts and the data structure.
16082 (mswindows_initialize_font_instance): Added creation of font data
16084 (mswindows_print_font_instance): Print at least something.
16085 (mswindows_create_font_variant): Implemented.
16086 (mswindows_get_hfont): Implemented.
16088 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
16090 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
16091 prototyping problem with msvc.
16093 * emacs.c (main_1): added syms_of_gui_mswindows() call
16095 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
16096 syms_of_gui_mswindows() function
16098 * symsinit.h: added the prototype for syms_of_gui_mswindows()
16100 2000-01-18 Martin Buchholz <martin@xemacs.org>
16102 * XEmacs 21.2.27 is released.
16104 2000-01-18 Martin Buchholz <martin@xemacs.org>
16106 * glyphs-eimage.c (struct tiff_error_struct):
16108 (tiff_warning_func):
16109 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
16114 * unexec.c: Remove vestigial Lucid C code.
16118 * libsst.c: Ansify.
16119 Remove declarations of errno and strerror().
16121 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
16123 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
16125 2000-01-16 Martin Buchholz <martin@xemacs.org>
16127 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
16130 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16135 Change enum eol_type to eol_type_t.
16137 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16139 * gui.c (get_gui_callback): Check cons before accessing car.
16141 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16143 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
16144 (XSETSPECIFIER_TYPE): Ditto.
16146 2000-01-17 Didier Verna <didier@xemacs.org>
16148 * redisplay.c (generate_fstring_runes): compute string size in
16149 characters, not bytes.
16151 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16153 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
16155 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
16157 * print.c (print_error_message): Call print_prepare().
16159 2000-01-14 Martin Buchholz <martin@xemacs.org>
16161 * .dbxrc: Renamed from dbxrc.
16163 * events.c (event_to_character):
16164 Use `assert (foo)' instead of `if (!foo) abort()'
16166 * .gdbinit (xtype): Add documentation.
16167 * .gdbinit (check-temacs): New function.
16168 * .gdbinit (check-xemacs): New function.
16169 * dbxrc (check-xemacs): New function.
16170 * dbxrc (check-xemacs): New function.
16172 2000-01-14 Andy Piper <andy@xemacs.org>
16174 * glyphs-widget.c (widget_query_geometry): Make sure that we
16175 calculate default dimensions correctly.
16177 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16179 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
16181 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
16182 pdump_wire'd variable.
16184 * emacs.c: (main_1): Conditionalized calls to
16185 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
16187 2000-01-13 Martin Buchholz <martin@xemacs.org>
16189 * window.c (Fset_window_configuration):
16190 * sysdep.c (_start):
16191 * input-method-motif.c (res):
16192 * event-Xt.c (Xt_process_to_emacs_event):
16193 Simple compiler warning fixes.
16195 * bytecode.c (funcall_compiled_function): Use the original
16196 function symbol on the backtrace list in preference to the
16197 compiled_function object in error messages.
16199 2000-01-13 Andy Piper <andy@xemacs.org>
16201 * glyphs-x.c (update_widget_face): Make sure we update the widget
16202 background as well as foreground.
16204 2000-01-13 Andy Piper <andy@xemacs.org>
16206 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
16207 fields to subwindow.
16208 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
16209 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
16210 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16211 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
16213 * glyphs-widget.c (check_valid_tab_orientation): new function.
16214 (initialize_widget_image_instance): zero orientation and
16216 (widget_instantiate): pick up orientation.
16217 (tab_control_query_geometry): return appropriate values for
16220 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
16221 appropriate creation flags for left, right and bottom tabs.
16223 * s/cygwin32.h: add tab definitions.
16225 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16227 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
16228 frame upon hiding a subwindow.
16229 (mswindows_button_instantiate): Changed the push button style to
16231 (mswindows_button_instantiate): Removed button BS_NOTIFY
16233 (mswindows_button_instantiate): Removed redundant check for
16234 a disabled gui item.
16235 (mswindows_button_instantiate): Made use of WS_TABSTOP
16236 consistent: "operable" controls (edit, button, tree, scroll) have
16237 this style, "display-only" ones (static, progress gauge) do
16238 not. This style is currently ignored by XEmacs though. Also,
16239 removed the WS_EX_CONTROLPARENT style - it is not for children,
16240 it is for their parents!
16241 (mswindows_edit_field_instantiate): Ditto.
16242 (mswindows_progress_gauge_instantiate): Ditto.
16243 (mswindows_tree_view_instantiate): Ditto.
16244 (mswindows_tab_control_instantiate): Ditto.
16245 (mswindows_scrollbar_instantiate): Ditto.
16246 (mswindows_combo_box_instantiate): Ditto.
16247 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
16248 style to the "clip" window.
16249 (mswindows_button_instantiate): Removed compilation warning by
16250 equally typing terms of the ?: operator.
16252 2000-01-12 Didier Verna <didier@xemacs.org>
16254 * redisplay.c (generate_fstring_runes): new parameter holding the
16255 last modeline-format extent.
16256 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
16257 extent, fill the glyph block with it.
16258 (generate_fstring_runes): handle these parameters.
16259 (generate_formatted_string_db): ditto.
16261 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
16262 glyphs'extents in the modeline.
16264 1999-01-11 Mike Woolley <mike@bulsara.com>
16266 * ntheap.c: Reduced the reserved heap space from 1Gb down to
16267 256Mb, as a workaround for the non-starting problem many people
16270 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16272 * console-tty.c (Fset_console_tty_output_coding_system):
16273 Force redrawing tty frame.
16275 2000-01-10 Didier Verna <didier@xemacs.org>
16277 * redisplay.c (generate_fstring_runes): fix size computation bug.
16279 2000-01-09 William M. Perry <wmperry@aventail.com>
16281 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
16283 2000-01-09 Andy Piper <andy@xemacs.org>
16285 * glyphs-msw.c: index -> i to avoid shadows.
16286 (xbm_create_bitmap_from_data): make static.
16287 (check_valid_string_or_int): deleted.
16288 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
16290 * glyphs-x.c (x_update_subwindow): remove unused args.
16292 * glyphs.c (glyph_image_instance): return the thing. Don't set the
16293 back pointer - this is done in allocate_image_instance.
16294 (query_string_font): return Qnil to make the compiler happy.
16295 (unmap_subwindow): set to ~0 to make the compiler happy.
16296 (glyph_query_geometry): comment out until used.
16297 (glyph_layout): ditto.
16299 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
16301 * insdel.c (signal_after_change): Remove extraneous unbind_to().